efficient-storefront-blocks 0.122.0 → 0.123.1

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 (60) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/chunks/{EditorPreviewCheckout-HGXPPOPY.js → EditorPreviewCheckout-GKVO7FIF.js} +1 -1
  3. package/dist/chunks/SiteEditorProvider-INLF7RK2.js +1 -0
  4. package/dist/chunks/chunk-3UESM7IL.js +1 -0
  5. package/dist/chunks/{chunk-7OV26TMN.js → chunk-A4GCH4L7.js} +1 -1
  6. package/dist/chunks/{chunk-PNXEY4EH.js → chunk-ABH43N7O.js} +1 -1
  7. package/dist/chunks/chunk-HG7XPHVS.js +34 -0
  8. package/dist/chunks/chunk-HG7XPHVS.js.LEGAL.txt +31 -0
  9. package/dist/chunks/chunk-JRGIFGZA.js +1 -0
  10. package/dist/chunks/chunk-MFXGST7A.js +342 -0
  11. package/dist/chunks/{fitment-data-QP4XEFXC.js → fitment-data-6YOZL3W4.js} +1 -1
  12. package/dist/chunks/section-css-style-TIXCQNGX.js +1 -0
  13. package/dist/editor/components/CategorySource.d.ts +5 -2
  14. package/dist/editor/components/CategorySource.js +1 -1
  15. package/dist/editor/lib/document/blocks/commerce/AlloyWheelsListing/fields.js +1 -1
  16. package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
  17. package/dist/editor/lib/storefront-editor-words.d.ts +2 -0
  18. package/dist/editor/lib/storefront-editor-words.js +1 -1
  19. package/dist/index.js +33 -65
  20. package/dist/render/built-with.json +1 -1
  21. package/dist/render/components/BoxHeaderBar.js +1 -1
  22. package/dist/render/components/FinishSwatches.js +2 -2
  23. package/dist/render/components/FooterLogo.js +1 -1
  24. package/dist/render/components/FooterMenu.js +1 -1
  25. package/dist/render/components/FooterSection.js +1 -1
  26. package/dist/render/components/FooterSocial.js +1 -1
  27. package/dist/render/components/GridCardTemplate.js +1 -1
  28. package/dist/render/components/HeaderNavItem.js +1 -1
  29. package/dist/render/components/LegalLine.js +1 -1
  30. package/dist/render/components/MenuLinkBlock.js +1 -1
  31. package/dist/render/components/ProductGridSection.js +1 -1
  32. package/dist/render/components/SectionGroupBody.js +1 -1
  33. package/dist/render/components/card-pieces/CardBuyButton.js +1 -1
  34. package/dist/render/components/card-pieces/CardEyebrow.js +1 -1
  35. package/dist/render/components/card-pieces/CardName.js +1 -1
  36. package/dist/render/components/card-pieces/CardPicture.js +1 -1
  37. package/dist/render/components/card-pieces/CardPrice.js +1 -1
  38. package/dist/render/components/card-pieces/CardProductBadge.js +1 -1
  39. package/dist/render/components/card-pieces/CardProductPicture.js +1 -1
  40. package/dist/render/components/card-pieces/CardSizes.js +1 -1
  41. package/dist/render/components/card-pieces/CardSpecs.js +1 -1
  42. package/dist/render/components/card-pieces/CardSurfaceFrame.js +1 -1
  43. package/dist/render/components/card-pieces/card-row.js +1 -1
  44. package/dist/render/components/wheels-plp/AlloyWheelsListing.d.ts +3 -1
  45. package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
  46. package/dist/render/lib/block-parts.d.ts +5 -0
  47. package/dist/render/lib/block-parts.js +1 -0
  48. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.d.ts +3 -3
  49. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
  50. package/dist/render/lib/document/blocks/commerce/FilterBlock/meta.d.ts +4 -4
  51. package/dist/render/lib/document/blocks/commerce/FilterChipsBlock/meta.d.ts +1 -1
  52. package/dist/render/lib/document/blocks/service/ContactRouting/meta.d.ts +3 -3
  53. package/dist/words.d.ts +4 -0
  54. package/dist/words.js +2 -2
  55. package/package.json +3 -3
  56. package/dist/chunks/SiteEditorProvider-R3ZNQPAI.js +0 -1
  57. package/dist/chunks/chunk-NYZMVYQ4.js +0 -1
  58. package/dist/chunks/chunk-TAV4GVJC.js +0 -342
  59. /package/dist/chunks/{chunk-TAV4GVJC.js.LEGAL.txt → chunk-MFXGST7A.js.LEGAL.txt} +0 -0
  60. /package/dist/chunks/{chunk-IJC4EEZC.js → chunk-PGKDGGEE.js} +0 -0
@@ -1 +1 @@
1
- "use client";import{jsx as t,Fragment as n}from"react/jsx-runtime";import{createContext as o,useContext as i}from"react";import{HideTaker as a}from"efficient-web-builder/render/components/ViewHideRoot";const u={headingSmall1:"text-[length:var(--size-headingSmall,22px)]",headingSmall2:"text-[length:var(--size-headingSmall,30px)]",labelSmall:"text-[length:var(--size-label,11px)]",label:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"},x=o("catalog");function s(){return i(x)==="catalog"}function l({children:e}){const r=s();return t(n,{children:e??(r?t(a,{"aria-hidden":!0}):null)})}function m({children:e}){return t(l,{children:e?t(a,{children:e}):null})}function p({children:e}){return t(l,{children:e?t(a,{className:"[.sf-card-rows>*>&]:self-end",children:e}):null})}export{u as CARD_TEXT_SIZE,p as CardButtonRow,m as CardControlRow,x as CardLookContext,l as CardRow,s as useCatalogCard};
1
+ "use client";import{jsx as t,Fragment as n}from"react/jsx-runtime";import{createContext as o,useContext as i}from"react";import{HideTaker as r}from"efficient-web-builder/render/components/ViewHideRoot";import{blockParts as s}from"../../lib/block-parts.js";const x=s("ProductCard")("buy"),h={headingSmall1:"text-[length:var(--size-headingSmall,22px)]",headingSmall2:"text-[length:var(--size-headingSmall,30px)]",labelSmall:"text-[length:var(--size-label,11px)]",label:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"},c=o("catalog");function d(){return i(c)==="catalog"}function a({children:e}){const l=d();return t(n,{children:e??(l?t(r,{"aria-hidden":!0}):null)})}function C({children:e}){return t(a,{children:e?t(r,{children:e}):null})}function f({children:e}){return t(a,{children:e?t(r,{className:"[.sf-card-rows>*>&]:self-end",...x,children:e}):null})}export{h as CARD_TEXT_SIZE,f as CardButtonRow,C as CardControlRow,c as CardLookContext,a as CardRow,d as useCatalogCard};
@@ -4,6 +4,7 @@ import { type FieldUsageAnswer } from "../../lib/content/field-usage.js";
4
4
  import type { ProductSummary, WheelSummary } from "../../lib/api/index.js";
5
5
  import { type PlpColumns } from "../../lib/wheels/plp-grid.js";
6
6
  import { type PlpFacetKey, type PlpSortKey } from "../../lib/wheels/plp-filters.js";
7
+ import { type GridSource } from "../../lib/wheels/grid-source.js";
7
8
  export interface AlloyWheelsListingProps {
8
9
  filterLook?: unknown;
9
10
  filterLookPhone?: unknown;
@@ -22,6 +23,7 @@ export interface AlloyWheelsListingProps {
22
23
  showPrice?: boolean;
23
24
  showInStock?: boolean;
24
25
  kinds?: string[];
26
+ source?: GridSource | null;
25
27
  products?: ProductSummary[];
26
28
  addressQuery?: string;
27
29
  wheels?: WheelSummary[];
@@ -38,4 +40,4 @@ export declare const PLP_GATE_DEFAULTS: {
38
40
  readonly heading: "Let's find wheels that fit your car.";
39
41
  readonly 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.";
40
42
  };
41
- export default function AlloyWheelsListing({ heading, intro, askForCar, gateHeading, gateIntro, perPage, columns, defaultSort, hiddenFacets, fieldUsage, showPrice, showInStock, kinds, products, wheels, addressQuery, editing, ownerId, template, facetTemplate, railTemplate, railHeadTemplate, hover, titleLevel, omitHead, cellLook, filterLook, filterLookPhone, }: AlloyWheelsListingProps): import("react").JSX.Element | null;
43
+ export default function AlloyWheelsListing({ heading, intro, askForCar, gateHeading, gateIntro, perPage, columns, defaultSort, hiddenFacets, fieldUsage, showPrice, showInStock, kinds, source, products, wheels, addressQuery, editing, ownerId, template, facetTemplate, railTemplate, railHeadTemplate, hover, titleLevel, omitHead, cellLook, filterLook, filterLookPhone, }: AlloyWheelsListingProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- "use client";import{jsx as o,jsxs as l,Fragment as ae}from"react/jsx-runtime";import{useScopeClass as rt}from"../../lib/use-scope-class.js";import{useCallback as d,useEffect as nt,useMemo as s,useRef as it,useState as st}from"react";import{cardHoverOf as lt}from"efficient-web-builder/format/lib/animation/hover";import{pageTitleTag as ct}from"efficient-web-builder/format/lib/document/one-h1";import{SHARED_ROWS_LIST_CLASS as at}from"efficient-web-builder/render/lib/content/box-shared-columns";import{NO_FIELD_ANSWERS as pt,answersForKind as pe}from"../../lib/content/field-usage.js";import{useCurrency as dt}from"../CurrencyContext.js";import mt from"../NoCurrencyNote.js";import{usePreviewDevice as ut}from"efficient-easel/screen/components/PreviewDeviceContext";import{renderGold as ht,renderHeadline as ft}from"efficient-web-builder/render/components/goldPhrases";import{useUnifiedProductCatalog as gt}from"../useProductCatalog.js";import{scrollBehavior as yt}from"efficient-web-builder/render/components/useReducedMotion";import{normalizePlpColumns as St,PLP_GRID_GAP_VAR as de,plpGridVars as xt}from"../../lib/wheels/plp-grid.js";import{plpCardImageSizes as bt}from"../../lib/sections/card-image-sizes.js";import{CARD_ROWS_GRID_CLASS as wt,cardRowsGridStyle as vt}from"../WheelCardFrame.js";import{applyPlpFilters as kt,buildPlpFacets as Pt,buildPlpTypeOptions as Nt,buildTyreSizeBoxes as Ct,EMPTY_PLP_FILTERS as me,hasActivePlpFilters as Tt,paginatePlp as _t,pickTyreSize as At,plpTyreSizeBoxesShown as Lt,plpInStockCount as zt,plpOpeningSort as Ft,plpPriceBounds as Ot,plpShownKinds as Vt,plpSortKeysFor as It,PLP_SORT_LABELS as Mt}from"../../lib/wheels/plp-filters.js";import{itemKind as z,itemSlug as Gt,itemTyreSizes as Rt,plpBrandVaries as Et,plpProcessVaries as jt,plpItemsOfKinds as Bt,plpKindNoun as ue,resolvePlpKinds as Kt}from"../../lib/catalog/plp-item.js";import{plpGateWords as Dt,plpVehicleCopy as Wt}from"../../lib/catalog/plp-vehicle-copy.js";import{oemBadgeSize as $t,oemTyreSizes as Ht}from"../../lib/tyres/tyre-vehicle-fitment.js";import{wheelsFittingVehicle as Yt}from"../../lib/wheels/plp-fitment-match.js";import qt from"./PlpActiveChips.js";import{GridCardProvider as Jt,GridMixedCards as Qt,gridIndexCss as Ut,LISTING_CARD_RULES as Xt}from"../GridCardTemplate.js";import{wheelCardEyebrowShows as Zt}from"../ProductCardEyebrow.js";import eo from"./PlpPagination.js";import to from"./PlpSidebar.js";import oo from"./PlpFilterButton.js";import{plpFilterViews as ro}from"../../lib/sections/shopper-filters.js";import{PlpResultRange as no,PlpToolbar as io}from"./PlpToolbar.js";import so from"../catalog/SortSelect.js";import lo from"./PlpVehicleBar.js";import co from"./PlpVehicleGate.js";import{useVehicleCatalog as ao}from"./useVehicleCatalog.js";import{useVehicleFit as po}from"../fitment/useVehicleFit.js";import{usePlpFiltersInUrl as mo}from"./usePlpFiltersInUrl.js";import{say as j}from"efficient-web-builder/format/lib/editor-words";import{ALLOY_WHEELS_LISTING_TYPE as he}from"../../lib/document/document-nodes.js";const Zo={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 uo({level:v,className:k,children:P}){const F=ct(v);return o(F,{className:k,children:P})}const ho=lt({},he);function fo({heading:v="",intro:k="",askForCar:P=!0,gateHeading:F="",gateIntro:fe="",perPage:B=24,columns:ge,defaultSort:ye="recommended",hiddenFacets:Se=[],fieldUsage:f=pt,showPrice:K=!0,showInStock:xe=!0,kinds:be,products:we,wheels:ve,addressQuery:ke,editing:m=!1,ownerId:D="",template:Pe,facetTemplate:Ne,railTemplate:Ce,railHeadTemplate:Te,hover:_e=ho,titleLevel:Ae,omitHead:W=!1,cellLook:$,filterLook:Le,filterLookPhone:ze}){const{currency:a}=dt(),u=Kt(be),H=ut(),Y=St(ge),Fe=xt(Y,m?H:null),Oe=bt(Y,m?H:null),q=rt("plp"),Ve=Ut(q),Ie=gt(),J=we??ve??Ie??[],Q=s(()=>Bt(J,u),[J,u.join(",")]),r=po({editing:m,enabled:P,autoApply:!0}),[Me,O]=st(!1),Ge=Ft(ye,u),g=r.applied?.vehicle??null,[e,x]=mo({editing:m,openingSort:Ge,appliedVehicle:g,vehicleRestored:r.restored,addressQuery:ke}),p=Vt(u,e.kind),n=d(t=>x(t),[x]),U=d((t,h)=>{const c=e[t],tt=c.map(String).includes(h)?c.filter(ot=>String(ot)!==h):[...c,t==="diameters"?Number(h):h];n({...e,[t]:tt,page:1})},[e,n]),X=d(t=>n({...e,priceMin:t,page:1}),[e,n]),Z=d(t=>n({...e,priceMax:t,page:1}),[e,n]),ee=d(t=>n({...e,inStockOnly:t,page:1}),[e,n]),te=d(t=>n({...me,kind:t,inStockOnly:e.inStockOnly,priceMin:e.priceMin,priceMax:e.priceMax,sort:e.sort}),[e.inStockOnly,e.priceMin,e.priceMax,e.sort,n]),Re=d(t=>n({...e,sort:t,page:1}),[e,n]),Ee=d(t=>{n({...e,page:t}),typeof window<"u"&&window.scrollTo({top:0,behavior:yt()})},[e,n]),oe=d(()=>n({...me,sort:e.sort}),[e.sort,n]),{clear:T}=r,re=d(()=>{T(),O(!0),x(t=>({...t,page:1}))},[T]),je=d(()=>{T(),O(!1),x(t=>({...t,page:1}))},[T]),_=g?[g.make,g.model,g.year,g.modification].join("|"):"",A=it(null);nt(()=>{if(r.restored){if(A.current===null){A.current=_;return}A.current!==_&&(A.current=_,x(t=>t.page===1?t:{...t,page:1}))}},[r.restored,_,x]);const{items:L,failed:ne,retry:Be}=ao({catalog:Q,shownKinds:u,vehicle:g,editing:m}),i=s(()=>{if(!r.fit)return L;const t=L.filter(c=>z(c)==="alloy-wheel"),h=new Set(Yt(t,r.fit).map(c=>c.slug));return L.filter(c=>z(c)!=="alloy-wheel"||h.has(Gt(c)))},[L,r.fit]),b=Se.join(","),Ke=s(()=>{const t=new Set(b?b.split(","):[]);return Pt(i,e,a,p,f).filter(h=>!t.has(h.key))},[i,e,a,b,p.join(","),f]),y=s(()=>kt(i,e,a),[i,e,a]),De=p.length>1,ie=s(()=>pe(f,"alloy-wheel"),[f]),We=s(()=>pe(f,"tyre"),[f]),V=s(()=>Et(y),[y]),I=s(()=>jt(y),[y]),M=De?ue(["alloy-wheel"]).one:null,$e=s(()=>({kindLabel:M,brand:V,process:I}),[M,V,I]),He=Zt({kind:!!M,brand:V,process:I},ie),Ye=s(()=>K?Ot(i,a):null,[i,a,K]),qe=s(()=>zt(i,e,a),[i,e,a]),Je=s(()=>Nt(i,u,e,a),[i,u.join(","),e,a]),Qe=d((t,h)=>{const c=At(i.flatMap(Rt),e.tyreSizes[0]??"",t,h);n({...e,tyreSizes:c?[c]:[],page:1})},[i,e,n]),Ue=s(()=>{const t=new Set(b?b.split(","):[]);return!Lt(i,p)||t.has("tyreSizes")?null:Ct(i,e,a)},[i,e,a,b,p.join(","),f]),S=s(()=>_t(y,e.page,B),[y,e.page,B]),w=ue(p),G=Wt(p),se=Dt(F,fe,p,u),le=p.length===1&&p[0]==="tyre",ce=r.applied?.stock??null,N=s(()=>Ht(ce),[ce]),Xe=s(()=>i.filter(t=>p.includes(z(t))).length,[i,p.join(",")]),R=Q.length===0,Ze=!R&&i.length===0,et=P&&!m&&!r.applied&&!Me;if(u.length===0)return null;const E=o(to,{facets:Ke,filters:e,typeOptions:Je,sizeBoxes:Ue,sizeMatches:e.tyreSizes.length>0?y.length:null,noun:w,priceBounds:Ye,inStockCount:xe?qe:null,onToggle:U,onPickType:te,onPickSize:Qe,onPriceMin:X,onPriceMax:Z,onInStockOnly:ee,onClearAll:oe,owner:{id:D,facetTemplate:Ne,railTemplate:Ce,railHeadTemplate:Te},editing:m}),C=ro(Le,ze);return l("section",{children:[P&&o(lo,{cascade:r.cascade,appliedName:r.appliedName,fit:r.fit,fitSummary:le&&N.length>0?`Takes ${N.join(" · ")}`:null,resolving:r.resolving,unresolved:le?!!r.applied&&!r.resolving&&N.length===0:r.unresolved,matchCount:Xe,copy:G,onAmend:je,onClear:re,cellLook:$}),et&&o(co,{cascade:r.cascade,heading:se.heading,intro:se.intro,ready:r.restored,copy:G,onSkip:()=>O(!0),cellLook:$}),l("div",{className:W?void 0:"px-5 py-10 md:px-[max(2.5rem,calc((100%_-_var(--sf-content-cap,100%))/2_+_2.5rem))]",children:[!W&&(v||k)&&l("header",{className:"mb-6",children:[v&&o(uo,{level:Ae,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:ft(v,!1)}),k&&o("p",{className:"mt-2 max-w-[60ch] text-[15px] text-fg-dim",children:ht(k)})]}),l("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-start",children:[C.rail===""?E:C.rail!==null&&o("div",{className:C.rail,children:E}),l("div",{className:"min-w-0 flex-1",children:[o(io,{className:"mb-4",start:l(ae,{children:[o(no,{total:S.total,range:{from:S.from,to:S.to},noun:w}),o(qt,{filters:e,onToggle:U,onPriceMin:X,onPriceMax:Z,onInStockOnly:ee,onPickType:te})]}),end:l(ae,{children:[C.button!==null&&o("div",{className:C.button||void 0,children:o(oo,{filters:e,editing:m,children:E})}),o(so,{value:e.sort,keys:It(u),labels:Mt,onChange:Re})]})}),ne&&!R&&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:Be,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"})]}),R?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:m?w.many==="wheels"?j("No wheels in this website's catalog yet — curate products to see them here."):w.many==="tyres"?j("No tyres in this website's catalog yet — curate products to see them here."):j("No products in this website's catalog yet — curate products to see them here."):"Our catalog is being updated. Please check back shortly."})}):Ze?ne?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:G.nothingFits}),l("button",{type:"button",onClick:re,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 ",w.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 ",w.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."}),Tt(e)&&o("button",{type:"button",onClick:oe,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(Jt,{value:{ownerId:D,ownerType:he,Template:Pe,hover:_e,imageSizes:Oe,fieldUsage:ie,tyreFieldUsage:We,reserveEyebrow:He,editing:m,eyebrow:$e,fit:r.fit,colours:e.finishes,setGridGap:`var(${de})`,rules:Xt},children:[o("style",{children:Ve}),o("div",{className:`plp-card-grid ${q} ${wt} ${at}`,style:{...Fe,...vt(`var(${de})`)},children:o(Qt,{items:S.items,tyreOf:t=>z(t)==="tyre"?t:null,tyreFit:t=>N.length>0?$t(t.sizes,N):null})})]}),o(eo,{page:S.page,pageCount:S.pageCount,onPage:Ee}),o(mt,{editing:m})]})]})]})]})}export{Zo as PLP_GATE_DEFAULTS,fo as default};
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};
@@ -0,0 +1,5 @@
1
+ import { PART_NAMES, type PartAttr } from "efficient-web-builder/format/lib/content/part-names";
2
+ export type PartRow = keyof typeof PART_NAMES;
3
+ export type PartOf<R extends PartRow> = (typeof PART_NAMES)[R][number];
4
+ export type { PartAttr };
5
+ export declare function blockParts<R extends PartRow>(row: R): (name: PartOf<R>) => PartAttr;
@@ -0,0 +1 @@
1
+ import{partAttr as t}from"efficient-web-builder/format/lib/content/part-names";function i(r){return t}export{i as blockParts};
@@ -6,15 +6,15 @@ export declare const AlloyWheelsListingSlots: {
6
6
  };
7
7
  facetTemplate: {
8
8
  type: "slot";
9
- allow: ("Flex" | "Text" | "ImageBlock")[];
9
+ allow: ("Flex" | "ImageBlock" | "Text")[];
10
10
  };
11
11
  railTemplate: {
12
12
  type: "slot";
13
- allow: ("Flex" | "Text" | "ImageBlock")[];
13
+ allow: ("Flex" | "ImageBlock" | "Text")[];
14
14
  };
15
15
  railHeadTemplate: {
16
16
  type: "slot";
17
- allow: ("Flex" | "Text" | "ImageBlock")[];
17
+ allow: ("Flex" | "ImageBlock" | "Text")[];
18
18
  };
19
19
  };
20
20
  export declare const ALLOYWHEELSLISTING_PH: {
@@ -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 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 c}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 s,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 k}from"../../../document-nodes.js";const B={...S,render:e=>{const t=c(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[O],railTemplate:e[A],railHeadTemplate:e[s],hover:I(e,k),cellLook:e[l],filterLook:L(e[o]),filterLookPhone:f(e[T(o)]),hiddenFacets:_(e),showPrice:e.showPrice,showInStock:e.showInStock!==!1,kinds:e.kinds,products:e.products,wheels:e.wheels,fieldUsage:e.fieldUsage,editing:e.editor?.isEditing})}};export{B as AlloyWheelsListingRender};
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};
@@ -2,19 +2,19 @@ import type { BlockRender } from "efficient-web-builder/format/lib/document/bloc
2
2
  export declare const FilterBlockSlots: {
3
3
  template: {
4
4
  type: "slot";
5
- allow: ("Flex" | "Text" | "ImageBlock" | "CardList")[];
5
+ allow: ("Flex" | "ImageBlock" | "Text" | "CardList")[];
6
6
  };
7
7
  facetTemplate: {
8
8
  type: "slot";
9
- allow: ("Flex" | "Text" | "ImageBlock")[];
9
+ allow: ("Flex" | "ImageBlock" | "Text")[];
10
10
  };
11
11
  railTemplate: {
12
12
  type: "slot";
13
- allow: ("Flex" | "Text" | "ImageBlock")[];
13
+ allow: ("Flex" | "ImageBlock" | "Text")[];
14
14
  };
15
15
  railHeadTemplate: {
16
16
  type: "slot";
17
- allow: ("Flex" | "Text" | "ImageBlock")[];
17
+ allow: ("Flex" | "ImageBlock" | "Text")[];
18
18
  };
19
19
  };
20
20
  export declare const FilterBlockMeta: Omit<BlockRender, "render">;
@@ -2,7 +2,7 @@ import type { BlockRender } from "efficient-web-builder/format/lib/document/bloc
2
2
  export declare const FilterChipsBlockSlots: {
3
3
  template: {
4
4
  type: "slot";
5
- allow: ("Flex" | "Text" | "ImageBlock")[];
5
+ allow: ("Flex" | "ImageBlock" | "Text")[];
6
6
  };
7
7
  };
8
8
  export declare const FilterChipsBlockMeta: Omit<BlockRender, "render">;
@@ -2,15 +2,15 @@ import type { BlockRender } from "efficient-web-builder/format/lib/document/bloc
2
2
  export declare const ContactRoutingSlots: {
3
3
  template: {
4
4
  type: "slot";
5
- allow: ("Flex" | "Text" | "ImageBlock")[];
5
+ allow: ("Flex" | "ImageBlock" | "Text")[];
6
6
  };
7
7
  reasonTemplate: {
8
8
  type: "slot";
9
- allow: ("Flex" | "Text" | "ImageBlock")[];
9
+ allow: ("Flex" | "ImageBlock" | "Text")[];
10
10
  };
11
11
  channelTemplate: {
12
12
  type: "slot";
13
- allow: ("Flex" | "Text" | "ImageBlock")[];
13
+ allow: ("Flex" | "ImageBlock" | "Text")[];
14
14
  };
15
15
  };
16
16
  export declare const ContactRoutingMeta: Omit<BlockRender, "render">;
package/dist/words.d.ts CHANGED
@@ -137,6 +137,7 @@ export type WebBuilderPhrase =
137
137
  | "Add your numbers."
138
138
  | "Add “{name}”"
139
139
  | "Address"
140
+ | "Advanced"
140
141
  | "After"
141
142
  | "All"
142
143
  | "All pages"
@@ -378,6 +379,7 @@ export type WebBuilderPhrase =
378
379
  | "Crumbs"
379
380
  | "Current page"
380
381
  | "Custom"
382
+ | "Custom CSS"
381
383
  | "Custom HTML"
382
384
  | "Custom URL"
383
385
  | "Custom W:H"
@@ -1669,6 +1671,7 @@ export type StorefrontBlocksPhrase =
1669
1671
  | "Choose a form in the inspector, under Form — until then this form is hidden on the live page and nothing can be submitted."
1670
1672
  | "Choose a form in the inspector, under Form."
1671
1673
  | "Choose a form in the inspector, under Message form — until then this column is hidden on the live page and no message can be sent."
1674
+ | "Choose “All products” or a category from {place}."
1672
1675
  | "Chosen"
1673
1676
  | "Chosen pages"
1674
1677
  | "Clear all"
@@ -2174,6 +2177,7 @@ export type StorefrontBlocksPhrase =
2174
2177
  | "Shown only while the site serves no countries — otherwise the site's default country is stated"
2175
2178
  | "Shows the last word in italic, in the accent color."
2176
2179
  | "Shows the product's badge after the words."
2180
+ | "Shows this source’s products as they are now, here and on the live page."
2177
2181
  | "Shows this source’s products as they are now, here and on the live page. Set how many appear with “Items to display”."
2178
2182
  | "Side rail"
2179
2183
  | "Sign-up"