efficient-storefront-blocks 0.109.0 → 0.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/chunks/EditorPreviewCheckout-C42GCC3T.js +4 -0
  3. package/dist/chunks/{SiteEditorProvider-KN5FKGBX.js → SiteEditorProvider-P4HVFXUX.js} +1 -1
  4. package/dist/chunks/chunk-CPAF23MT.js +1 -0
  5. package/dist/chunks/chunk-FRCI3FAV.js +80 -0
  6. package/dist/chunks/{chunk-SUX7QH3R.js → chunk-GB6OHYUY.js} +1 -1
  7. package/dist/chunks/{chunk-X3ERHC7Y.js → chunk-MVJVIU2F.js} +1 -1
  8. package/dist/chunks/chunk-RFFTWKCU.js +340 -0
  9. package/dist/chunks/{fitment-data-Z3FDYFU6.js → fitment-data-EGBXHTFW.js} +1 -1
  10. package/dist/contract.js +8 -2
  11. package/dist/editor/components/BlogSource.d.ts +1 -1
  12. package/dist/editor/components/BlogSource.js +1 -1
  13. package/dist/editor/lib/efficient-backend.js +1 -1
  14. package/dist/index.js +32 -32
  15. package/dist/links.js +1 -1
  16. package/dist/render/built-with.json +1 -1
  17. package/dist/render/components/CartContext.d.ts +3 -0
  18. package/dist/render/components/CartContext.js +1 -1
  19. package/dist/render/components/Events.d.ts +2 -1
  20. package/dist/render/components/Events.js +1 -1
  21. package/dist/render/components/cart/drawer-parts.js +1 -1
  22. package/dist/render/components/checkout/CheckoutPageClient.js +1 -1
  23. package/dist/render/components/checkout/checkout-parts.d.ts +11 -0
  24. package/dist/render/components/checkout/checkout-parts.js +1 -1
  25. package/dist/render/components/checkout/checkout-state.d.ts +5 -0
  26. package/dist/render/components/checkout/checkout-state.js +3 -3
  27. package/dist/render/lib/checkout/checkout-memory.d.ts +62 -0
  28. package/dist/render/lib/checkout/checkout-memory.js +1 -0
  29. package/dist/render/lib/checkout/wallet-return.d.ts +3 -0
  30. package/dist/render/lib/checkout/wallet-return.js +1 -1
  31. package/dist/render/lib/content/event-post.d.ts +5 -0
  32. package/dist/render/lib/content/event-post.js +1 -0
  33. package/dist/render/lib/document/blocks/service/Events/render.js +1 -1
  34. package/dist/render/lib/wheels/price-display.d.ts +2 -0
  35. package/dist/render/lib/wheels/price-display.js +1 -1
  36. package/dist/words.d.ts +1 -0
  37. package/dist/words.js +1 -1
  38. package/package.json +3 -3
  39. package/dist/chunks/EditorPreviewCheckout-IVYEDVVN.js +0 -4
  40. package/dist/chunks/chunk-5VN7IA5L.js +0 -1
  41. package/dist/chunks/chunk-G5XZ736Y.js +0 -339
  42. package/dist/chunks/chunk-UBOGEIFX.js +0 -74
  43. /package/dist/chunks/{chunk-G5XZ736Y.js.LEGAL.txt → chunk-RFFTWKCU.js.LEGAL.txt} +0 -0
@@ -64,6 +64,9 @@ declare function useCheckoutState({ site, logo, preview }: CheckoutProps): {
64
64
  } | null;
65
65
  grand: number;
66
66
  repricing: boolean;
67
+ quoted: boolean;
68
+ serverSubtotal: number | null;
69
+ quoteFailed: boolean;
67
70
  currency: import("../../lib/api/index.js").Currency;
68
71
  };
69
72
  coupon: import("../CartContext.js").AppliedCoupon | null;
@@ -178,6 +181,8 @@ declare function useCheckoutState({ site, logo, preview }: CheckoutProps): {
178
181
  couponCode?: string | null;
179
182
  } | null;
180
183
  orderLocked: boolean;
184
+ formLocked: boolean;
185
+ restoredPrices: "waiting" | "changed" | "same" | null;
181
186
  payNote: string | null;
182
187
  afterpayConfirming: boolean;
183
188
  gocardlessConfirming: boolean;
@@ -1,3 +1,3 @@
1
- "use client";import{jsx as T}from"react/jsx-runtime";import{createContext as zn,useContext as Dn,useEffect as y,useMemo as qt,useRef as f,useState as o}from"react";import{isOrderable as Gt,useCart as qn}from"../CartContext.js";import{useCurrency as Gn}from"../CurrencyContext.js";import{getClickIds as Jn}from"../../lib/click-ids.js";import{adConsentForOrder as Wn}from"../../lib/consent/choice.js";import{trackBeginCheckout as Xn,trackPurchase as Zn}from"../../lib/google-tag.js";import{trackMetaPurchase as jn}from"../../lib/meta-pixel.js";import{ApiError as Te,api as ie,products as N}from"../../lib/api/index.js";import{uuid as ue}from"../../lib/uuid.js";import{orderLinesForSets as Qn}from"../../lib/commerce.js";import{canPersist as Vn,safeSessionStorage as v}from"efficient-web-builder/format/lib/safe-storage";import{AFTERPAY_CONTEXT_KEY as er,AFTERPAY_RETURN as tr,GOCARDLESS_CONTEXT_KEY as Ge,KLARNA_CONTEXT_KEY as Je,ZIP_CONTEXT_KEY as nr,ZIP_RETURN as rr,runWalletReturn as Jt}from"../../lib/checkout/wallet-return.js";import{matchSubdivision as or}from"../../lib/checkout/match-subdivision.js";import{checkoutGone as We,checkoutWaiting as Wt,BANK_WAITING as cr,DROPPABLE_INTENT as ar,NOT_CHECKED as Xe,LOST_CHANGE as Xt,PAY_FIRST_FLOW as Zt,paysFirst as sr,readIntentStatus as ir,releaseHeldCheckout as jt,CHECKOUT_COMMITTED as ur,goodsShapeOf as lr,refusedForGood as Qt,settlePayFirst as dr}from"../../lib/checkout/pay-first.js";import{couponCodeForOrder as Vt,couponRefusedByOrder as pr}from"../../lib/cart/coupon-preview.js";function en(c){const m=c.indexOf(`
2
- `);return m===-1?[c,""]:[c.slice(0,m),c.slice(m+1)]}function tn(c,{canParkContext:m}={canParkContext:!0}){const p=c.paymentMethods,i=[];return p.includes("card")&&i.push({key:"card",title:"Card",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"VISA · MC · AMEX"})}),p.includes("paypal")&&c.paypalClientId&&i.push({key:"paypal",title:"PayPal",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAYPAL · CARDS"})}),p.includes("afterpay")&&i.push({key:"afterpay",title:"Afterpay",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"4 × INTEREST-FREE"})}),p.includes("square")&&c.squareApplicationId&&c.squareLocationId&&i.push({key:"square",title:"Card (Square)",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"VISA · MC · AMEX"})}),p.includes("gocardless")&&m&&i.push({key:"gocardless",title:"Bank Direct Debit",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY BY BANK"})}),p.includes("zip")&&i.push({key:"zip",title:"Zip",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY IN 4"})}),p.includes("klarna")&&m&&i.push({key:"klarna",title:"Klarna",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY LATER"})}),p.includes("bank")&&i.push({key:"bank",title:"Bank transfer",body:null,price:T("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Invoiced"})}),i}const Tr="This shop does not take payment online yet. Please contact the shop to order.";class Ie extends Error{}function nn(c,m){if(!c.orderNumber&&We(m))return m.message;const p=m instanceof Te?` (${m.message})`:"";return c.orderNumber?`Your order ${c.orderNumber} is saved, but the payment did not start${p}. Try the payment again — your order will not be placed twice.`:`Your items are held under ${c.checkoutNumber}, but the payment did not start${p}. Try the payment again — you will not be charged twice.`}const rn=new Set(["paypal","square","afterpay","gocardless","zip","klarna"]),z=c=>JSON.parse(c),Ir="Shipping cannot be calculated right now. Please try again.";function _r(c){return`Your order is saved, so its contact, address, delivery and discount can't change here. To change any of them, contact the shop and quote ${c}.`}function fr({site:c,logo:m,preview:p=!1}){const{items:i,totals:I,coupon:D,refuseCoupon:cn,deliveryOptions:Ze,shippingMethodId:le,setShippingMethodId:an,setQuoteDestination:de,courier:sn,requote:un,identify:je,clearCapturedCart:q,replaceItems:Qe,removeCoupon:Ve}=qn(),ln=Ze.find(e=>e.id===le)?.pickupLocation??null,{country:et,countries:Q,activeCountry:tt,formatMoney:dn}=Gn(),[w,pe]=o(()=>tn(c)[0]?.key??null),[nt,pn]=o(!0);y(()=>{pn(Vn(v))},[]);const[fe,S]=o(!1),[V,_e]=o(""),[L,Me]=o(""),[ee,Re]=o(""),[Le,rt]=o(""),[me,ye]=o(""),[$e,he]=o(""),[G,we]=o(""),[$,ge]=o(""),[te,ke]=o(""),[l,Ce]=o(()=>et||Q[0]?.code||""),[_,Ne]=o(""),[ne,ot]=o([]),[Fe,Ye]=o(null),[be,re]=o(null),ct=qt(()=>Q.find(e=>e.code===l)??tt,[Q,l,tt]),fn=ct?.postalLabel||"Postal Code",mn=ne[0]?.divisionType||"State / Province";y(()=>{if(!l){ot([]),Ye(l);return}Ye(null);let e=!1;return N.listCountrySubdivisions(l).then(t=>{e||(ot(t),Ye(l),Ne(""))}),()=>{e=!0}},[l]);const at=me.trim()!==""&&G.trim()!==""&&$.trim()!==""&&Fe===l&&(ne.length===0||_!=="")?$.trim():"";y(()=>{de(l?{country:l,subdivision:_,postcode:at}:null)},[l,_,at,de]),y(()=>()=>de(null),[de]);const yn=sn?.status==="unavailable",hn=un,[Pe,st]=o(null),[wn,it]=o([]),[ut,Be]=o("new"),[lt,dt]=o(!1),[Ue,gn]=o("Home"),[kn,pt]=o(null),[Cn,ft]=o(null),[oe,Se]=o(()=>ue()),mt=f(null),[yt,A]=o(null),[Nn,b]=o(null),[ht,Ae]=o(null),[wt,bn]=o(!1),[gt,Pn]=o(!1),[M,J]=o(null),[Sn,W]=o(!1),[g,x]=o(null),An=!!g?.orderNumber,[vn,K]=o(null),[xn,Kn]=o(!1),[On,kt]=o(!1),[En,Tn]=o(!1),[In,Ct]=o(!1),[Nt,_n]=o(!1),[Mn,He]=o(!1),[ze,bt]=o(null),F=f(null),ce=f(i),Y=f(null),X=f(null),Pt=!!(yt||ze&&ze.kind!=="processing"||Nt||wt||gt||ht&&M?.orderNumber);y(()=>{Pt&&(Qe([]),Ve())},[Pt,Qe,Ve]);const St=f(!1);y(()=>{p||St.current||!i.some(Gt)||(St.current=!0,Xn({lines:i,currency:I.currency,value:I.subtotal-I.discount,coupon:D?.valid?D.code:void 0}))},[i,I,D,p]),y(()=>{je(V,L.trim()||void 0)},[V,L,je]);const At=f(null),[ve,Rn]=o(null);y(()=>{const e=At.current;if(!ve||!e)return;const t=()=>e.style.setProperty("--sf-checkout-header-h",`${ve.offsetHeight}px`);t();const n=new ResizeObserver(t);return n.observe(ve),()=>n.disconnect()},[ve]),y(()=>{const e=n=>({setConfirming:n,land:A,markPaid:()=>W(!0),note:K,fail:b,clearCart:q}),t={search:window.location.search,storage:v,scrubQuery:()=>window.history.replaceState(null,"",window.location.pathname)};Jt(tr,{...t,capture:N.captureAfterpayPayment,page:e(Kn)}),Jt(rr,{...t,capture:N.captureZipPayment,page:e(Tn)})},[]),y(()=>{const t=new URLSearchParams(window.location.search).get("gocardless");if(t!=="confirm"&&t!=="cancel")return;const n=v.getItem(Ge);if(v.removeItem(Ge),window.history.replaceState(null,"",window.location.pathname),!n)return;let a;try{a=JSON.parse(n)}catch{return}if(q(),t==="cancel"){K("The direct debit was not set up — our team will follow up on payment."),A(a.confirmation);return}kt(!0),N.completeGocardlessPayment({idempotencyKey:a.idempotencyKey}).then(r=>{r.status==="paid"?W(!0):r.status==="declined"?K("The direct debit was declined — our team will follow up on payment."):K("Your direct debit is set up — the payment is collecting and will clear in a few days.")}).catch(()=>{K("We could not confirm the direct debit — our team will follow up on payment.")}).finally(()=>{A(a.confirmation),kt(!1)})},[]),y(()=>{const e=new URLSearchParams(window.location.search),t=e.get("klarna");if(t!=="confirm"&&t!=="cancel")return;const n=v.getItem(Je);v.removeItem(Je);const a=e.get("authorization_token");if(window.history.replaceState(null,"",window.location.pathname),!n)return;let r;try{r=JSON.parse(n)}catch{return}if(q(),t==="cancel"||!a){K("The Klarna payment was not completed — our team will follow up on payment."),A(r.confirmation);return}Ct(!0),N.captureKlarnaPayment({idempotencyKey:r.idempotencyKey,authorizationToken:a}).then(u=>{u.status==="paid"?W(!0):u.status==="declined"?K("Klarna declined the payment — our team will follow up on payment."):K("Your Klarna payment is being reviewed — we'll confirm the outcome shortly.")}).catch(()=>{K("We could not confirm the Klarna payment — our team will follow up on payment.")}).finally(()=>{A(r.confirmation),Ct(!1)})},[]);function vt(e){const[t,n]=en(e.address);ye(t),he(n),we(e.city),ge(e.zip_code),e.country&&Ce(e.country),e.phone&&ke(e.phone),re({country:e.country||null,state:e.state??""})}y(()=>{if(be){if((be.country||l)!==l){re(null);return}Fe===l&&(Ne(or(l,be.state,ne)),re(null))}},[be,l,Fe,ne]),y(()=>{let e=!1;return(async()=>{try{const[t,n,a]=await Promise.all([ie.me(),ie.myProfile().catch(()=>null),ie.myAddresses().catch(()=>[])]);if(e)return;st(t);const r=a.filter(d=>d.is_active);it(r),_e(t.email);const u=(n?.contact_name??"").split(/\s+/);Me(t.first_name||u[0]||""),Re(t.last_name||u.slice(1).join(" "));const s=t.phone||n?.phone;s&&ke(s);const k=r.find(d=>d.id===t.default_delivery_location)??r[0];if(k)Be(k.id),vt(k);else if(n){const[d,C]=en(n.address??"");ye(d),he(C),we(n.city??""),ge(n.zip_code??""),n.country&&Ce(n.country),re({country:n.country||null,state:n.state??""})}}catch{}})(),()=>{e=!0}},[]);function Ln(){ie.logout(),st(null),it([]),Be("new"),dt(!1),_e(""),Me(""),Re(""),rt(""),ye(""),he(""),we(""),ge(""),ke(""),Ce(et||Q[0]?.code||""),Ne(""),re(null)}const Z=qt(()=>tn(c,{canParkContext:nt}),[c,nt]);y(()=>{Z.some(e=>e.key===w)||pe(Z[0]?.key??null)},[Z,w]);const $n=Z.length===0,xe=$e.trim()?`${me}
3
- ${$e.trim()}`:me,Fn=lr({email:V,firstName:L,lastName:ee,company:Le.trim(),phone:te,address:xe,city:G,subdivision:_,postcode:$,country:l,lines:i.map(e=>[e.id,e.qty]),shippingMethodId:le,couponCode:Vt(D),currency:I.currency,shopperId:Pe?.id??null}),h=JSON.stringify([Fn,w]),R=f(null),De=f(null),Ke=f(!1),O=f(!1),j=f(null),Oe=f(!1),P=f(h);P.current=h;const xt=f(fe);xt.current=fe;const Kt=()=>O.current&&P.current!==R.current,B=f(null);y(()=>{xt.current||(h!==B.current&&(B.current=null),!(!O.current||!g||g.orderNumber)&&(h===R.current||h===B.current||Ee(g)))},[h,g]);async function Ee(e){if(Oe.current)return null;Oe.current=!0,S(!0);try{const t=j.current?await ir(j.current):"none";if(t==="succeeded"||t==="processing")return O.current=!1,x(null),E("card"),t==="succeeded"?await U(void 0,e):$t(e),null;if(t===void 0||!ar.has(t))return B.current=P.current,x(e),b(t==="requires_action"?cr:Xe),null;const n=await jt(oe);if(n==="committed")return O.current=!1,x(null),E("card"),await U(void 0,e),null;if(n!=="released")return B.current=P.current,x(e),b(Xe),null;O.current=!1,j.current=null,B.current=null,b(null),x(null);const a=ue();return Se(a),a}finally{Oe.current=!1,S(!1)}}async function Yn(){if(!(p||fe||Oe.current)){if(g){if((O.current?h!==R.current:ae())&&!g.orderNumber){const a=await Ee(g);a&&P.current===h&&await Ot(a);return}S(!0),b(null),Ke.current=!1,await qe();const t=z(P.current)[1],n=g.orderNumber?t:"card";if(n&&rn.has(n)&&ae()&&z(P.current)[0]!==De.current){Et(g);return}E(n),n!==w&&pe(n),await Ft(g,n,!g.orderNumber);return}await Ot(oe)}}async function Ot(e){if(i.length===0||I.repricing||!w||!Z.some(s=>s.key===w))return;const t=i.filter(Gt).flatMap(s=>Qn(s.components,s.qty));if(t.length===0){b("Pick a size on each wheel's product page before checking out.");return}S(!0),b(null);let n,a=e,r=w,u=!1;try{const s=Pe?N.createOrderAuthed:N.createOrder,k=Wn(),d={customer:{email:V,name:`${L} ${ee}`.trim(),phone:te.trim()||void 0,companyName:Le.trim()||void 0,address:xe,city:G,state:_||void 0,zipCode:$,country:l},items:t,currency:I.currency,idempotencyKey:e,shippingMethodId:le??void 0,couponCode:Vt(D),...k==="denied"?{}:Jn(),...k?{adConsent:k}:{},...sr(w)?{checkoutFlow:Zt}:{}};F.current=()=>s(d),ft(null),De.current=null,Ke.current=!1,j.current=null,O.current=!1,B.current=null,R.current=h,ce.current=i;const C=Y.current,Ut=C?.key===d.idempotencyKey&&(C.shape!==h&&(!!d.checkoutFlow||!!C.method||!!C.plainMethod)||!!d.checkoutFlow&&!!C.plainMethod);Ut&&(X.current=d.idempotencyKey);const Ht=Mt(d,s),zt=Ut||!d.checkoutFlow&&X.current===d.idempotencyKey,Dt=!Ht&&!zt&&!d.checkoutFlow&&!!C&&!C.method;Dt&&(C.plainMethod=w,C.plainLines=i,C.plainShape=h);const H=await(zt?It(d,s):s(d).then(se=>({answer:se,request:d})).catch(se=>(Ht?Tt(se,d.idempotencyKey):Dt&&Qt(se)&&(C.plainMethod=""),Bn(se,d,s))));if(!H)return;n=H.answer,a=H.request.idempotencyKey,r=H.method??r,E(r),u=ae()||r!==z(P.current)[1],H.method&&H.method!==w&&pe(H.method),n.orderNumber&&(Rt(n),q()),await qe()}catch(s){const k=pr(s);k?(cn(k),b(`${k} Your order has not been placed. Place it again to continue without the code.`)):s instanceof Ie?b(Xe):b(s instanceof Te?s.message:"Could not place the order. Please try again."),S(!1);return}if(r&&rn.has(r)&&(u||ae())){Et(n);return}await Ft(n,r,!1,a)}function Et(e){De.current=z(P.current)[0],b(`${nn(e,null)} ${Xt}`),x(e),S(!1)}function Tt(e,t){Qt(e)&&!Wt(e)&&Y.current?.key===t&&(Y.current=null)}async function Bn(e,t,n){if(We(e))return _t(t,n);if(!Wt(e))throw e;return X.current=t.idempotencyKey,It(t,n,!0)}async function It(e,t,n=!1){const a=await jt(e.idempotencyKey);if(a==="released")return P.current===h?_t(e,t):(Se(ue()),S(!1),null);if(a!=="committed")throw new Ie;const r=Y.current?.key===e.idempotencyKey?Y.current:null;if(ce.current=r?.lines??i,r?.method&&!n){X.current=null,F.current=r.send;const k=await r.send().catch(()=>{throw new Ie});return R.current=r.shape,{answer:k,request:e,method:r.method}}const u=r&&!r.method?r.send:()=>t({...e,checkoutFlow:Zt});F.current=u;const s=await u().catch(()=>null);if(!s&&r?.plainMethod)throw new Ie;return s?.orderNumber&&s.status!==ur?(X.current=null,r?.plainMethod&&(ce.current=r.plainLines),r&&(R.current=r.plainMethod?r.plainShape:r.shape),{answer:s,request:e,method:r?.plainMethod||void 0}):(S(!1),r&&(R.current=r.shape),E("card"),await Lt("",s?async()=>s:()=>Promise.reject(new Error("The order request did not answer."))),await qe(),null)}function ae(){const e=R.current;return e!==null&&z(e)[0]!==z(P.current)[0]}function E(e){e!==z(P.current)[1]&&(Ke.current=!0),ft(Ke.current||ae()?Xt:null)}async function _t(e,t){const n={...e,idempotencyKey:ue()};X.current=null,Se(n.idempotencyKey),F.current=()=>t(n),Mt(n,t);try{return{answer:await t(n),request:n}}catch(a){throw Tt(a,n.idempotencyKey),a}}function Mt(e,t){return Y.current?.key===e.idempotencyKey?!1:(Y.current={key:e.idempotencyKey,send:()=>t(e),lines:i,shape:h,method:e.checkoutFlow?"":w??"",plainMethod:"",plainLines:i,plainShape:h},!0)}function Rt(e){Zn({confirmation:e,lines:ce.current,adsSendTo:c.googleAdsId&&c.googleAdsConversionLabel?`${c.googleAdsId}/${c.googleAdsConversionLabel}`:null}),jn({confirmation:e,lines:ce.current})}async function U(e,t=M){if(!t)return;const n=e?async()=>e:F.current;if(t.orderNumber||!n){W(!0),A(t);return}await Lt(t.checkoutNumber,n)}async function Lt(e,t){q(),await dr({checkoutNumber:e,resend:t,page:{setConfirming:_n,land:A,markPaid:()=>W(!0),track:Rt,unplaced:bt}})}function $t(e=M){if(e){if(e.orderNumber){A(e);return}q(),bt({kind:"processing",checkoutNumber:e.checkoutNumber})}}async function qe(){const e=JSON.stringify([Ue.trim(),L,ee,te.trim(),xe,G,_,$,l]);if(!(!Pe||!lt||ut!=="new"||mt.current===e))try{await ie.createAddress({label:Ue.trim()||"Home",contact_name:`${L} ${ee}`.trim(),phone:te.trim(),address:xe,city:G,zip_code:$,state:_,country:l}),mt.current=e,pt("Address saved to your account.")}catch{pt("We couldn't save the address to your account — you can add it under Account → Addresses.")}}async function Ft(e,t=w,n=!1,a=oe){x(null);try{if(t==="card"&&c.paymentMethods.includes("card")){const r=await N.createPaymentIntent({idempotencyKey:a});if(j.current=r,n&&Kt()){await Ee(e);return}let u=e;if(n){const s=await F.current?.().catch(()=>null);if(s?.orderNumber){E("card"),await U(s,e);return}if(u=Yt(e,s)??{...e,expiresAt:null},Kt()){await Ee(e);return}}E("card"),J(u),He(!1),Ae(r)}else if(t==="paypal"&&c.paymentMethods.includes("paypal"))J(e),bn(!0);else if(t==="afterpay"&&c.paymentMethods.includes("afterpay")){const r=window.location.origin,u=await N.createAfterpayCheckout({idempotencyKey:a,confirmUrl:`${r}/checkout?afterpay=confirm`,cancelUrl:`${r}/checkout?afterpay=cancel`}),s={idempotencyKey:a,confirmation:e};v.setItem(er,JSON.stringify(s)),window.location.assign(u.redirectCheckoutUrl);return}else if(t==="square"&&c.paymentMethods.includes("square"))J(e),Pn(!0);else if(t==="gocardless"&&c.paymentMethods.includes("gocardless")){const r=window.location.origin,u=await N.createGocardlessBillingRequest({idempotencyKey:a,confirmUrl:`${r}/checkout?gocardless=confirm`,cancelUrl:`${r}/checkout?gocardless=cancel`}),s={idempotencyKey:a,confirmation:e};v.setItem(Ge,JSON.stringify(s)),window.location.assign(u.authorisationUrl);return}else if(t==="zip"&&c.paymentMethods.includes("zip")){const r=window.location.origin,u=await N.createZipCheckout({idempotencyKey:a,redirectUrl:`${r}/checkout?zip=return`}),s={idempotencyKey:a,confirmation:e};v.setItem(nr,JSON.stringify(s)),window.location.assign(u.redirectUrl);return}else if(t==="klarna"&&c.paymentMethods.includes("klarna")){const r=window.location.origin,u=await N.createKlarnaCheckout({idempotencyKey:a,confirmUrl:`${r}/checkout?klarna=confirm`,cancelUrl:`${r}/checkout?klarna=cancel`}),s={idempotencyKey:a,confirmation:e};v.setItem(Je,JSON.stringify(s)),window.location.assign(u.redirectUrl);return}else E(t),A(e)}catch(r){if((n||t==="card")&&r instanceof Te&&r.status===409){E(t),await U(void 0,e);return}Bt(e,r),S(!1)}}function Yt(e,t){return t&&!t.orderNumber&&t.status==="open"&&t.checkoutNumber===e.checkoutNumber?t:null}function Bt(e,t){b(nn(e,t)),!e.orderNumber&&We(t)?(O.current=!1,Se(ue())):x(e)}async function Un(e){if(!M)return;const t=M;try{const n=await N.createPaymentIntent({idempotencyKey:oe}),a=await F.current?.().catch(()=>null);if(a?.orderNumber){await U(a);return}const r=Yt(t,a);J(r??{...t,expiresAt:null}),He(e&&r!==null),j.current=n,Ae(n)}catch(n){if(n instanceof Te&&n.status===409){await U();return}Ae(null),J(null),Bt(t,n),S(!1)}}function Hn(){M&&(O.current=!0,x(M),Ae(null),J(null),He(!1),S(!1))}return{site:c,logo:m,items:i,totals:I,coupon:D,deliveryOptions:Ze,courierUnavailable:yn,retryCourier:hn,shippingMethodId:le,setShippingMethodId:an,pickupLocation:ln,servedCountries:Q,formatMoney:dn,payChoice:w,setPayChoice:pe,placing:fe,email:V,setEmail:_e,firstName:L,setFirstName:Me,lastName:ee,setLastName:Re,company:Le,setCompany:rt,address1:me,setAddress1:ye,address2:$e,setAddress2:he,city:G,setCity:we,postcode:$,setPostcode:ge,phone:te,setPhone:ke,country:l,setCountry:Ce,subdivision:_,setSubdivision:Ne,subdivisions:ne,destination:ct,postcodeLabel:fn,subdivisionLabel:mn,me:Pe,savedAddresses:wn,selectedAddressId:ut,setSelectedAddressId:Be,saveAddress:lt,setSaveAddress:dt,saveLabel:Ue,setSaveLabel:gn,addressSaveNote:kn,lostChangeNote:Cn,idemKey:oe,confirmation:yt,setConfirmation:A,orderError:Nn,payment:ht,paypalStep:wt,squareStep:gt,pendingConf:M,paid:Sn,setPaid:W,unpaidOrder:g,orderLocked:An,payNote:vn,afterpayConfirming:xn,gocardlessConfirming:On,zipConfirming:En,klarnaConfirming:In,cardConfirming:Nt,checkoutResult:ze,confirmCardPayment:U,cardStillProcessing:$t,renewCardPayment:Un,holdRenewed:Mn,leaveCardPayment:Hn,checkoutRootRef:At,setCheckoutHeaderEl:Rn,fillFromAddress:vt,checkoutSignOut:Ln,payOptions:Z,noPaymentMethod:$n,placeOrder:Yn}}const on=zn(null);function Mr({children:c,...m}){const p=fr(m);return T(on.Provider,{value:p,children:c})}function Rr(){const c=Dn(on);if(!c)throw new Error("useCheckout must be used inside CheckoutStateProvider");return c}export{Mr as CheckoutStateProvider,Tr as NO_PAYMENT_METHOD_NOTE,Ir as SHIPPING_RETRY_NOTE,tn as buildPayOptions,nn as paymentNotStartedMessage,_r as placedOrderLockNote,Rr as useCheckout};
1
+ "use client";import{jsx as x}from"react/jsx-runtime";import{createContext as Cr,useContext as br,useEffect as f,useMemo as gn,useRef as d,useState as s}from"react";import{isOrderable as wn,useCart as Nr}from"../CartContext.js";import{useCurrency as Pr}from"../CurrencyContext.js";import{getClickIds as Sr}from"../../lib/click-ids.js";import{adConsentForOrder as Ar}from"../../lib/consent/choice.js";import{trackBeginCheckout as vr,trackPurchase as Or}from"../../lib/google-tag.js";import{trackMetaPurchase as Er}from"../../lib/meta-pixel.js";import{ApiError as De,api as Ne,products as k}from"../../lib/api/index.js";import{uuid as We}from"../../lib/uuid.js";import{orderLinesForSets as Kr}from"../../lib/commerce.js";import{canPersist as Mr,safeSessionStorage as X}from"efficient-web-builder/format/lib/safe-storage";import{AFTERPAY_CONTEXT_KEY as Tr,AFTERPAY_RETURN as xr,GOCARDLESS_CONTEXT_KEY as ft,KLARNA_CONTEXT_KEY as mt,ZIP_CONTEXT_KEY as Lr,ZIP_RETURN as Ir,parkedLostChange as kn,runWalletReturn as Cn}from"../../lib/checkout/wallet-return.js";import{matchSubdivision as Rr}from"../../lib/checkout/match-subdivision.js";import{clearCheckoutMemory as _r,holdsPress as Fr,parkCheckoutMemory as qr,parkForm as $r,parkOrder as Br,parkRequest as bn,readCheckoutMemory as Yr,sendableRequest as Ur}from"../../lib/checkout/checkout-memory.js";import{checkoutGone as yt,checkoutWaiting as Nn,BANK_WAITING as Hr,DROPPABLE_INTENT as Gr,NOT_CHECKED as ht,LOST_CHANGE as Pe,PAY_FIRST_FLOW as Je,paysFirst as zr,readIntentStatus as Dr,releaseHeldCheckout as Pn,CHECKOUT_COMMITTED as Wr,goodsShapeOf as Jr,refusedForGood as Sn,settlePayFirst as Xr}from"../../lib/checkout/pay-first.js";import{couponCodeForOrder as An,couponRefusedByOrder as Zr}from"../../lib/cart/coupon-preview.js";function vn(c){const g=c.indexOf(`
2
+ `);return g===-1?[c,""]:[c.slice(0,g),c.slice(g+1)]}function On(c,{canParkContext:g}={canParkContext:!0}){const m=c.paymentMethods,a=[];return m.includes("card")&&a.push({key:"card",title:"Card",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"VISA · MC · AMEX"})}),m.includes("paypal")&&c.paypalClientId&&a.push({key:"paypal",title:"PayPal",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAYPAL · CARDS"})}),m.includes("afterpay")&&a.push({key:"afterpay",title:"Afterpay",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"4 × INTEREST-FREE"})}),m.includes("square")&&c.squareApplicationId&&c.squareLocationId&&a.push({key:"square",title:"Card (Square)",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"VISA · MC · AMEX"})}),m.includes("gocardless")&&g&&a.push({key:"gocardless",title:"Bank Direct Debit",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY BY BANK"})}),m.includes("zip")&&a.push({key:"zip",title:"Zip",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY IN 4"})}),m.includes("klarna")&&g&&a.push({key:"klarna",title:"Klarna",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-accent",children:"PAY LATER"})}),m.includes("bank")&&a.push({key:"bank",title:"Bank transfer",body:null,price:x("span",{className:"font-mono text-[12px] uppercase tracking-[0.2em] text-fg-dim",children:"Invoiced"})}),a}const ko="This shop does not take payment online yet. Please contact the shop to order.";class Xe extends Error{}function En(c,g){if(!c.orderNumber&&yt(g))return g.message;const m=g instanceof De?` (${g.message})`:"";return c.orderNumber?`Your order ${c.orderNumber} is saved, but the payment did not start${m}. Try the payment again — your order will not be placed twice.`:`Your items are held under ${c.checkoutNumber}, but the payment did not start${m}. Try the payment again — you will not be charged twice.`}const jr=3e3,Qr=.005,Kn=new Set(["paypal","square","afterpay","gocardless","zip","klarna"]);function Mn(){const c=Ar();return{...c==="denied"?{}:Sr(),...c?{adConsent:c}:{}}}const O=c=>JSON.parse(c),Co="Shipping cannot be calculated right now. Please try again.";function bo(c){return`Your order is saved, so its contact, address, delivery and discount can't change here. To change any of them, contact the shop and quote ${c}.`}function Vr({site:c,logo:g,preview:m=!1}){const{items:a,totals:C,coupon:L,refuseCoupon:xn,deliveryOptions:gt,shippingMethodId:ce,setShippingMethodId:wt,setQuoteDestination:Se,courier:Ln,requote:Ze,identify:kt,clearCapturedCart:Z,replaceItems:je,removeCoupon:Ct,applyCoupon:In}=Nr(),Rn=gt.find(e=>e.id===ce)?.pickupLocation??null,{country:bt,countries:se,activeCountry:Nt,formatMoney:_n}=Pr(),[w,Ae]=s(()=>On(c)[0]?.key??null),[Pt,Fn]=s(!0);f(()=>{Fn(Mr(X))},[]);const[I,Qe]=s(!1),[Y,ve]=s(""),[R,Oe]=s(""),[j,Ee]=s(""),[Ke,Ve]=s(""),[ae,ie]=s(""),[Me,ue]=s(""),[U,le]=s(""),[_,de]=s(""),[Q,pe]=s(""),[p,fe]=s(()=>bt||se[0]?.code||""),[E,Te]=s(""),[me,St]=s([]),[et,tt]=s(null),[xe,V]=s(null),At=gn(()=>se.find(e=>e.code===p)??Nt,[se,p,Nt]),qn=At?.postalLabel||"Postal Code",$n=me[0]?.divisionType||"State / Province";f(()=>{if(!p){St([]),tt(p);return}tt(null);let e=!1;return k.listCountrySubdivisions(p).then(t=>{e||(St(t),tt(p),Te(""))}),()=>{e=!0}},[p]);const vt=ae.trim()!==""&&U.trim()!==""&&_.trim()!==""&&et===p&&(me.length===0||E!=="")?_.trim():"";f(()=>{Se(p?{country:p,subdivision:E,postcode:vt}:null)},[p,E,vt,Se]),f(()=>()=>Se(null),[Se]);const Bn=Ln?.status==="unavailable",Yn=Ze,[ye,Ot]=s(null),[Un,Et]=s([]),[nt,Le]=s("new"),[Kt,Mt]=s(!1),[rt,Hn]=s("Home"),[Gn,Tt]=s(null),[zn,he]=s(null),[H,Ie]=s(()=>We()),xt=d(null),[ot,S]=s(null),[Dn,N]=s(null),[Lt,Re]=s(null),[It,Wn]=s(!1),[Rt,Jn]=s(!1),[F,ee]=s(null),[Xn,te]=s(!1),[y,P]=s(null),_t=!!y?.orderNumber,Zn=_t||I,[jn,K]=s(null),[Qn,Vn]=s(!1),[er,Ft]=s(!1),[tr,nr]=s(!1),[rr,qt]=s(!1),[$t,or]=s(!1),[cr,ct]=s(!1),[ge,Bt]=s(null),q=d(null),G=d(null),st=d(!1),z=d(a),M=d(null),$=d(null),Yt=!!(ot||ge&&ge.kind!=="processing"||$t||It||Rt||Lt&&F?.orderNumber);f(()=>{Yt&&(je([]),Ct())},[Yt,je,Ct]);const Ut=d(!1);f(()=>{m||Ut.current||!a.some(wn)||(Ut.current=!0,vr({lines:a,currency:C.currency,value:C.subtotal-C.discount,coupon:L?.valid?L.code:void 0}))},[a,C,L,m]),f(()=>{kt(Y,R.trim()||void 0)},[Y,R,kt]);const Ht=d(null),[_e,sr]=s(null);f(()=>{const e=Ht.current;if(!_e||!e)return;const t=()=>e.style.setProperty("--sf-checkout-header-h",`${_e.offsetHeight}px`);t();const n=new ResizeObserver(t);return n.observe(_e),()=>n.disconnect()},[_e]),f(()=>{const e=n=>({setConfirming:n,land:S,markPaid:()=>te(!0),note:K,fail:N,clearCart:Z,lostChange:()=>he(Pe)}),t={search:window.location.search,storage:X,scrubQuery:()=>window.history.replaceState(null,"",window.location.pathname)};Cn(xr,{...t,capture:k.captureAfterpayPayment,page:e(Vn)}),Cn(Ir,{...t,capture:k.captureZipPayment,page:e(nr)})},[]),f(()=>{const t=new URLSearchParams(window.location.search).get("gocardless");if(t!=="confirm"&&t!=="cancel")return;const n=X.getItem(ft);if(X.removeItem(ft),window.history.replaceState(null,"",window.location.pathname),!n)return;let o;try{o=JSON.parse(n)}catch{return}if(Z(),kn(o)&&he(Pe),t==="cancel"){K("The direct debit was not set up — our team will follow up on payment."),S(o.confirmation);return}Ft(!0),k.completeGocardlessPayment({idempotencyKey:o.idempotencyKey}).then(r=>{r.status==="paid"?te(!0):r.status==="declined"?K("The direct debit was declined — our team will follow up on payment."):K("Your direct debit is set up — the payment is collecting and will clear in a few days.")}).catch(()=>{K("We could not confirm the direct debit — our team will follow up on payment.")}).finally(()=>{S(o.confirmation),Ft(!1)})},[]),f(()=>{const e=new URLSearchParams(window.location.search),t=e.get("klarna");if(t!=="confirm"&&t!=="cancel")return;const n=X.getItem(mt);X.removeItem(mt);const o=e.get("authorization_token");if(window.history.replaceState(null,"",window.location.pathname),!n)return;let r;try{r=JSON.parse(n)}catch{return}if(Z(),kn(r)&&he(Pe),t==="cancel"||!o){K("The Klarna payment was not completed — our team will follow up on payment."),S(r.confirmation);return}qt(!0),k.captureKlarnaPayment({idempotencyKey:r.idempotencyKey,authorizationToken:o}).then(u=>{u.status==="paid"?te(!0):u.status==="declined"?K("Klarna declined the payment — our team will follow up on payment."):K("Your Klarna payment is being reviewed — we'll confirm the outcome shortly.")}).catch(()=>{K("We could not confirm the Klarna payment — our team will follow up on payment.")}).finally(()=>{S(r.confirmation),qt(!1)})},[]);function Gt(e){const[t,n]=vn(e.address);ie(t),ue(n),le(e.city),de(e.zip_code),e.country&&fe(e.country),e.phone&&pe(e.phone),V({country:e.country||null,state:e.state??""})}f(()=>{if(xe){if((xe.country||p)!==p){V(null);return}et===p&&(Te(Rr(p,xe.state,me)),V(null))}},[xe,p,et,me]),f(()=>{let e=!1;return(async()=>{try{const[t,n,o]=await Promise.all([Ne.me(),Ne.myProfile().catch(()=>null),Ne.myAddresses().catch(()=>[])]);if(e)return;Ot(t);const r=o.filter(h=>h.is_active);Et(r),ve(t.email);const u=(n?.contact_name??"").split(/\s+/);Oe(t.first_name||u[0]||""),Ee(t.last_name||u.slice(1).join(" "));const i=t.phone||n?.phone;i&&pe(i);const l=r.find(h=>h.id===t.default_delivery_location)??r[0];if(l)Le(l.id),Gt(l);else if(n){const[h,ze]=vn(n.address??"");ie(h),ue(ze),le(n.city??""),de(n.zip_code??""),n.country&&fe(n.country),V({country:n.country||null,state:n.state??""})}He.current&&Qt(He.current,!1)}catch{}})(),()=>{e=!0}},[]);function ar(){Ne.logout(),we.current=!0,He.current=null,Ue.current=null,ke(),Ot(null),Et([]),Le("new"),Mt(!1),ve(""),Oe(""),Ee(""),Ve(""),ie(""),ue(""),le(""),de(""),pe(""),fe(bt||se[0]?.code||""),Te(""),V(null)}const ne=gn(()=>On(c,{canParkContext:Pt}),[c,Pt]);f(()=>{ne.some(e=>e.key===w)||Ae(ne[0]?.key??null)},[ne,w]);const ir=ne.length===0,Fe=Me.trim()?`${ae}
3
+ ${Me.trim()}`:ae,ur=Jr({email:Y,firstName:R,lastName:j,company:Ke.trim(),phone:Q,address:Fe,city:U,subdivision:E,postcode:_,country:p,lines:a.map(e=>[e.id,e.qty]),shippingMethodId:ce,couponCode:An(L),currency:C.currency,shopperId:ye?.id??null}),b=JSON.stringify([ur,w]),A=d(null),at=d(null),qe=d(!1),B=d(!1),re=d(null),$e=d(!1),v=d(b);v.current=b;const zt=d(I);zt.current=I;const Be=d(null);f(()=>{const e=()=>{const t=Be.current;t&&(Be.current=null,P(t),Qe(!1))};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[]);function Ye(e,t,n,o){const r={idempotencyKey:t,confirmation:n};on()&&(r.lostChange=!0),X.setItem(e,JSON.stringify(r)),window.location.assign(o),Be.current=n}async function Dt(e){Qe(!0);try{await e()}finally{Be.current||Qe(!1)}}const Wt=d(!1),Jt=!!(ot||ge&&ge.kind!=="processing");f(()=>{Jt&&(Wt.current=!0,ke())},[Jt]);const Ue=d(null),we=d(!1),it=d(null);function ke(){it.current=null,_r()}const He=d(null),[oe,lr]=s(!1);function ut(e){if(Wt.current||m||we.current)return;const t=M.current,n={key:e,authed:st.current,parkedAt:it.current??=Date.now(),lastPress:t&&{key:t.key,request:bn(t.request),lines:t.lines,goods:O(t.shape)[0],plainPressed:!!t.plainMethod,plainLines:t.plainLines,plainGoods:O(t.plainShape)[0]},keptCardKey:$.current,placedGoods:A.current===null?null:O(A.current)[0],unpaidOrder:Ge.current&&Br(Ge.current),placedRequest:G.current&&bn(G.current),lines:a.length>0?a:z.current,form:$r({email:Y,firstName:R,lastName:j,company:Ke,address1:ae,address2:Me,city:U,postcode:_,phone:Q,country:p,subdivision:E,selectedAddressId:nt,shippingMethodId:ce,couponCode:L?.valid?L.code:null})};Fr(n)?qr(n):ke()}const Ge=d(y);Ge.current=y;const Xt=d(w);Xt.current=w;function lt(e){return{...Ur(e),...Mn(),...e.payFirst?{checkoutFlow:Je}:{}}}function dr(e,t){let n=e.request.payFirst?"":null,o=e.plainPressed?null:"";const r=()=>Xt.current??"";return{key:e.key,send:()=>t(lt(e.request)),request:lt(e.request),lines:e.lines,shape:JSON.stringify([e.goods,null]),get method(){return n??r()},set method(u){n=u},get plainMethod(){return o??r()},set plainMethod(u){o=u},plainLines:e.plainLines,plainShape:JSON.stringify([e.plainGoods,null])}}const[pr,fr]=s(!1),Zt=pr?!C.quoted||C.serverSubtotal===null?"waiting":Math.abs(C.serverSubtotal-C.subtotal)<Qr?"same":"changed":null,dt=!y&&Zt==="waiting",mr=dt?{...C,repricing:!0}:C,jt=dt&&C.quoteFailed;f(()=>{if(!jt)return;const e=setInterval(Ze,jr);return()=>clearInterval(e)},[jt,Ze]);function Qt(e,t=!0){ve(e.email),Oe(e.firstName),Ee(e.lastName),Ve(e.company),ie(e.address1),ue(e.address2),le(e.city),de(e.postcode),pe(e.phone),e.country&&fe(e.country),V({country:e.country||null,state:e.subdivision}),Le(e.selectedAddressId),e.shippingMethodId&&wt(e.shippingMethodId),t&&(Ue.current=e.couponCode)}f(()=>{let e=m?null:Yr();if(e&&a.length>0&&(ke(),e=null),e){const t=e.authed?k.createOrderAuthed:k.createOrder;Ie(e.key),it.current=e.parkedAt,M.current=e.lastPress&&dr(e.lastPress,t),$.current=e.keptCardKey,A.current=e.placedGoods===null?null:JSON.stringify([e.placedGoods,null]),st.current=e.authed;const n=e.placedRequest&&lt(e.placedRequest);G.current=n,q.current=n?()=>t(n):null,e.unpaidOrder&&P(e.unpaidOrder),e.lines.length>0&&(je(e.lines),z.current=e.lines,fr(!0)),e.form&&(He.current=e.form,Qt(e.form))}lr(!0)},[]),f(()=>{!oe||a.length>0||Ge.current||I||(we.current=!0,ke())},[oe,a.length]),f(()=>{const e=Ue.current;!oe||!e||a.length===0||(Ue.current=null,In(e,Y||void 0))},[oe,a.length]),f(()=>{!oe||I||ut(H)},[oe,I,H,y]);const D=d(null);f(()=>{zt.current||(b!==D.current&&(D.current=null),!(!B.current||!y||y.orderNumber)&&(b===A.current||b===D.current||Dt(()=>Vt(y))))},[b,y]);async function Vt(e){if($e.current)return null;$e.current=!0;try{const t=re.current?await Dr(re.current):"none";if(t==="succeeded"||t==="processing")return B.current=!1,P(null),T("card"),t==="succeeded"?await W(void 0,e):ln(e),null;if(t===void 0||!Gr.has(t))return D.current=v.current,P(e),N(t==="requires_action"?Hr:ht),null;const n=await Pn(H);if(n==="committed")return B.current=!1,P(null),T("card"),await W(void 0,e),null;if(n!=="released")return D.current=v.current,P(e),N(ht),null;B.current=!1,re.current=null,D.current=null,N(null),P(null);const o=We();return Ie(o),o}finally{$e.current=!1}}async function yr(){m||I||$e.current||await Dt(hr)}async function hr(){if(y){if((B.current?b!==A.current:Ce())&&!y.orderNumber){const o=await Vt(y);o&&v.current===b&&await en(o);return}N(null),qe.current=!1,await pt();const t=O(v.current)[1],n=y.orderNumber?t:"card";if(n&&Kn.has(n)&&Ce()&&O(v.current)[0]!==at.current){tn(y);return}T(n),n!==w&&Ae(n),await dn(y,n,!y.orderNumber);return}await en(H)}async function en(e){if(a.length===0||C.repricing||dt||!w||!ne.some(i=>i.key===w))return;const t=a.filter(wn).flatMap(i=>Kr(i.components,i.qty));if(t.length===0){N("Pick a size on each wheel's product page before checking out.");return}N(null);let n,o=e,r=w,u=!1;try{const i=ye?k.createOrderAuthed:k.createOrder,l={customer:{email:Y,name:`${R} ${j}`.trim(),phone:Q.trim()||void 0,companyName:Ke.trim()||void 0,address:Fe,city:U,state:E||void 0,zipCode:_,country:p},items:t,currency:C.currency,idempotencyKey:e,shippingMethodId:ce??void 0,couponCode:An(L),...Mn(),...zr(w)?{checkoutFlow:Je}:{}};q.current=()=>i(l),G.current=l,st.current=!!ye,we.current=!1,he(null),at.current=null,qe.current=!1,re.current=null,B.current=!1,D.current=null,A.current=b,z.current=a;const h=M.current,ze=h?.key===l.idempotencyKey&&(h.shape!==b&&(!!l.checkoutFlow||!!h.method||!!h.plainMethod)||!!l.checkoutFlow&&!!h.plainMethod);ze&&($.current=l.idempotencyKey);const mn=sn(l,i),yn=ze||!l.checkoutFlow&&$.current===l.idempotencyKey,hn=!mn&&!yn&&!l.checkoutFlow&&!!h&&!h.method;hn&&(h.plainMethod=w,h.plainLines=a,h.plainShape=b,ut(l.idempotencyKey));const J=await(yn?rn(l,i):i(l).then(be=>({answer:be,request:l})).catch(be=>(mn?nn(be,l.idempotencyKey):hn&&Sn(be)&&(h.plainMethod=""),gr(be,l,i))));if(!J)return;n=J.answer,o=J.request.idempotencyKey,r=J.method??r,T(r),u=Ce()||r!==O(v.current)[1],J.method&&J.method!==w&&Ae(J.method),n.orderNumber&&(an(n),Z()),await pt()}catch(i){const l=Zr(i);l?(xn(l),N(`${l} Your order has not been placed. Place it again to continue without the code.`)):i instanceof Xe?N(ht):N(i instanceof De?i.message:"Could not place the order. Please try again.");return}if(r&&Kn.has(r)&&(u||Ce())){tn(n);return}await dn(n,r,!1,o)}function tn(e){at.current=O(v.current)[0],N(`${En(e,null)} ${Pe}`),P(e)}function nn(e,t){Sn(e)&&!Nn(e)&&M.current?.key===t&&(M.current=null)}async function gr(e,t,n){if(yt(e))return cn(t,n);if(!Nn(e))throw e;return $.current=t.idempotencyKey,rn(t,n,!0)}async function rn(e,t,n=!1){const o=await Pn(e.idempotencyKey);if(o==="released")return cn(e,t);if(o!=="committed")throw new Xe;const r=M.current?.key===e.idempotencyKey?M.current:null;if(z.current=r?.lines??a,r?.method&&!n){$.current=null,q.current=r.send,G.current=r.request;const l=await r.send().catch(()=>{throw new Xe});return A.current=r.shape,{answer:l,request:e,method:r.method}}const u=r&&!r.method?r.send:()=>t({...e,checkoutFlow:Je});q.current=u,G.current=r&&!r.method?r.request:{...e,checkoutFlow:Je};const i=await u().catch(()=>null);if(!i&&r?.plainMethod)throw new Xe;return i?.orderNumber&&i.status!==Wr?($.current=null,r?.plainMethod&&(z.current=r.plainLines),r&&(A.current=r.plainMethod?r.plainShape:r.shape),{answer:i,request:e,method:r?.plainMethod||void 0}):(r&&(A.current=r.shape),T("card"),await un("",i?async()=>i:()=>Promise.reject(new Error("The order request did not answer."))),await pt(),null)}function Ce(){const e=A.current;return e!==null&&O(e)[0]!==O(v.current)[0]}function T(e){e!==O(v.current)[1]&&(qe.current=!0),he(on()?Pe:null)}function on(){return qe.current||Ce()}async function cn(e,t){const n={...e,idempotencyKey:We()};$.current=null,Ie(n.idempotencyKey),q.current=()=>t(n),G.current=n,sn(n,t);try{return{answer:await t(n),request:n}}catch(o){throw nn(o,n.idempotencyKey),o}}function sn(e,t){return M.current?.key===e.idempotencyKey?!1:(M.current={key:e.idempotencyKey,send:()=>t(e),request:e,lines:a,shape:b,method:e.checkoutFlow?"":w??"",plainMethod:"",plainLines:a,plainShape:b},we.current=!1,ut(e.idempotencyKey),!0)}function an(e){Or({confirmation:e,lines:z.current,adsSendTo:c.googleAdsId&&c.googleAdsConversionLabel?`${c.googleAdsId}/${c.googleAdsConversionLabel}`:null}),Er({confirmation:e,lines:z.current})}async function W(e,t=F){if(!t)return;const n=e?async()=>e:q.current;if(t.orderNumber||!n){te(!0),S(t);return}await un(t.checkoutNumber,n)}async function un(e,t){Z(),await Xr({checkoutNumber:e,resend:t,page:{setConfirming:or,land:S,markPaid:()=>te(!0),track:an,unplaced:Bt}})}function ln(e=F){if(e){if(e.orderNumber){S(e);return}Z(),Bt({kind:"processing",checkoutNumber:e.checkoutNumber})}}async function pt(){const e=JSON.stringify([rt.trim(),R,j,Q.trim(),Fe,U,E,_,p]);if(!(!ye||!Kt||nt!=="new"||xt.current===e))try{await Ne.createAddress({label:rt.trim()||"Home",contact_name:`${R} ${j}`.trim(),phone:Q.trim(),address:Fe,city:U,zip_code:_,state:E,country:p}),xt.current=e,Tt("Address saved to your account.")}catch{Tt("We couldn't save the address to your account — you can add it under Account → Addresses.")}}async function dn(e,t=w,n=!1,o=H){P(null);try{if(t==="card"&&c.paymentMethods.includes("card")){const r=await k.createPaymentIntent({idempotencyKey:o});re.current=r;let u=e;if(n){const i=await q.current?.().catch(()=>null);if(i?.orderNumber){T("card"),await W(i,e);return}u=pn(e,i)??{...e,expiresAt:null}}T("card"),ee(u),ct(!1),Re(r)}else if(t==="paypal"&&c.paymentMethods.includes("paypal"))ee(e),Wn(!0);else if(t==="afterpay"&&c.paymentMethods.includes("afterpay")){const r=window.location.origin,u=await k.createAfterpayCheckout({idempotencyKey:o,confirmUrl:`${r}/checkout?afterpay=confirm`,cancelUrl:`${r}/checkout?afterpay=cancel`});Ye(Tr,o,e,u.redirectCheckoutUrl);return}else if(t==="square"&&c.paymentMethods.includes("square"))ee(e),Jn(!0);else if(t==="gocardless"&&c.paymentMethods.includes("gocardless")){const r=window.location.origin,u=await k.createGocardlessBillingRequest({idempotencyKey:o,confirmUrl:`${r}/checkout?gocardless=confirm`,cancelUrl:`${r}/checkout?gocardless=cancel`});Ye(ft,o,e,u.authorisationUrl);return}else if(t==="zip"&&c.paymentMethods.includes("zip")){const r=window.location.origin,u=await k.createZipCheckout({idempotencyKey:o,redirectUrl:`${r}/checkout?zip=return`});Ye(Lr,o,e,u.redirectUrl);return}else if(t==="klarna"&&c.paymentMethods.includes("klarna")){const r=window.location.origin,u=await k.createKlarnaCheckout({idempotencyKey:o,confirmUrl:`${r}/checkout?klarna=confirm`,cancelUrl:`${r}/checkout?klarna=cancel`});Ye(mt,o,e,u.redirectUrl);return}else T(t),S(e)}catch(r){if((n||t==="card")&&r instanceof De&&r.status===409){T(t),await W(void 0,e);return}fn(e,r)}}function pn(e,t){return t&&!t.orderNumber&&t.status==="open"&&t.checkoutNumber===e.checkoutNumber?t:null}function fn(e,t){N(En(e,t)),!e.orderNumber&&yt(t)?(B.current=!1,Ie(We())):P(e)}async function wr(e){if(!F)return;const t=F;try{const n=await k.createPaymentIntent({idempotencyKey:H}),o=await q.current?.().catch(()=>null);if(o?.orderNumber){await W(o);return}const r=pn(t,o);ee(r??{...t,expiresAt:null}),ct(e&&r!==null),re.current=n,Re(n)}catch(n){if(n instanceof De&&n.status===409){await W();return}Re(null),ee(null),fn(t,n)}}function kr(){F&&(B.current=!0,P(F),Re(null),ee(null),ct(!1))}return{site:c,logo:g,items:a,totals:mr,coupon:L,deliveryOptions:gt,courierUnavailable:Bn,retryCourier:Yn,shippingMethodId:ce,setShippingMethodId:wt,pickupLocation:Rn,servedCountries:se,formatMoney:_n,payChoice:w,setPayChoice:Ae,placing:I,email:Y,setEmail:ve,firstName:R,setFirstName:Oe,lastName:j,setLastName:Ee,company:Ke,setCompany:Ve,address1:ae,setAddress1:ie,address2:Me,setAddress2:ue,city:U,setCity:le,postcode:_,setPostcode:de,phone:Q,setPhone:pe,country:p,setCountry:fe,subdivision:E,setSubdivision:Te,subdivisions:me,destination:At,postcodeLabel:qn,subdivisionLabel:$n,me:ye,savedAddresses:Un,selectedAddressId:nt,setSelectedAddressId:Le,saveAddress:Kt,setSaveAddress:Mt,saveLabel:rt,setSaveLabel:Hn,addressSaveNote:Gn,lostChangeNote:zn,idemKey:H,confirmation:ot,setConfirmation:S,orderError:Dn,payment:Lt,paypalStep:It,squareStep:Rt,pendingConf:F,paid:Xn,setPaid:te,unpaidOrder:y,orderLocked:_t,formLocked:Zn,restoredPrices:Zt,payNote:jn,afterpayConfirming:Qn,gocardlessConfirming:er,zipConfirming:tr,klarnaConfirming:rr,cardConfirming:$t,checkoutResult:ge,confirmCardPayment:W,cardStillProcessing:ln,renewCardPayment:wr,holdRenewed:cr,leaveCardPayment:kr,checkoutRootRef:Ht,setCheckoutHeaderEl:sr,fillFromAddress:Gt,checkoutSignOut:ar,payOptions:ne,noPaymentMethod:ir,placeOrder:yr}}const Tn=Cr(null);function No({children:c,...g}){const m=Vr(g);return x(Tn.Provider,{value:m,children:c})}function Po(){const c=br(Tn);if(!c)throw new Error("useCheckout must be used inside CheckoutStateProvider");return c}export{No as CheckoutStateProvider,ko as NO_PAYMENT_METHOD_NOTE,Co as SHIPPING_RETRY_NOTE,On as buildPayOptions,En as paymentNotStartedMessage,bo as placedOrderLockNote,Po as useCheckout};
@@ -0,0 +1,62 @@
1
+ import type { CartLine } from "../../components/CartContext.js";
2
+ import type { OrderConfirmation, OrderRequest } from "../api/index.js";
3
+ export declare const CHECKOUT_MEMORY_KEY = "checkout-memory-context";
4
+ export declare const PRICES_REQUOTED = "Prices have changed since this checkout started. The total shows today's prices.";
5
+ export declare const CHECKOUT_MEMORY_LIFE_MS: number;
6
+ export declare function parkLine(line: CartLine): CartLine;
7
+ export interface ParkedRequest {
8
+ customer: OrderRequest["customer"];
9
+ items: OrderRequest["items"];
10
+ currency?: OrderRequest["currency"];
11
+ idempotencyKey: string;
12
+ shippingMethodId?: string;
13
+ couponCode?: string;
14
+ payFirst: boolean;
15
+ }
16
+ type Sendable = Omit<ParkedRequest, "payFirst">;
17
+ export declare function parkRequest(request: OrderRequest): ParkedRequest;
18
+ export declare function sendableRequest(parked: ParkedRequest): Sendable;
19
+ export interface ParkedPress {
20
+ key: string;
21
+ request: ParkedRequest;
22
+ lines: CartLine[];
23
+ goods: string;
24
+ plainPressed: boolean;
25
+ plainLines: CartLine[];
26
+ plainGoods: string;
27
+ }
28
+ interface ParkedForm {
29
+ email: string;
30
+ firstName: string;
31
+ lastName: string;
32
+ company: string;
33
+ address1: string;
34
+ address2: string;
35
+ city: string;
36
+ postcode: string;
37
+ phone: string;
38
+ country: string;
39
+ subdivision: string;
40
+ selectedAddressId: string;
41
+ shippingMethodId: string | null;
42
+ couponCode: string | null;
43
+ }
44
+ export interface CheckoutMemory {
45
+ key: string;
46
+ authed: boolean;
47
+ parkedAt: number;
48
+ lastPress: ParkedPress | null;
49
+ keptCardKey: string | null;
50
+ placedGoods: string | null;
51
+ unpaidOrder: OrderConfirmation | null;
52
+ placedRequest: ParkedRequest | null;
53
+ lines: CartLine[];
54
+ form: ParkedForm | null;
55
+ }
56
+ export declare function parkForm(form: ParkedForm): ParkedForm;
57
+ export declare function parkOrder(order: OrderConfirmation): OrderConfirmation;
58
+ export declare function holdsPress(memory: Pick<CheckoutMemory, "lastPress" | "unpaidOrder" | "keptCardKey">): boolean;
59
+ export declare function parkCheckoutMemory(memory: CheckoutMemory): void;
60
+ export declare function readCheckoutMemory(): CheckoutMemory | null;
61
+ export declare function clearCheckoutMemory(): void;
62
+ export {};
@@ -0,0 +1 @@
1
+ import{safeSessionStorage as a}from"efficient-web-builder/format/lib/safe-storage";import{orderLinesForSets as l}from"../commerce.js";const i="checkout-memory-context",C="Prices have changed since this checkout started. The total shows today's prices.",c=2,y=3600*1e3;function h(e){return{id:e.id,slug:e.slug,name:{lead:e.name?.lead,accent:e.name?.accent},process:e.process,positionNo:e.positionNo,config:(e.config??[]).map(t=>({label:t.label,gold:t.gold})),finishName:e.finishName,size:e.size,qty:e.qty,href:e.href,kind:e.kind,sku:e.sku,components:e.components.map(t=>({partNumber:t.partNumber,wheels:t.wheels,prices:{...t.prices},hand:t.hand}))}}const r=e=>e.map(h);function u(e){const t=e.customer;return{customer:{email:t.email,name:t.name,phone:t.phone,companyName:t.companyName,address:t.address,city:t.city,state:t.state,zipCode:t.zipCode,country:t.country},items:e.items.flatMap(n=>l([{partNumber:n.partNumber,wheels:n.quantity,prices:{}}],1)),currency:e.currency,idempotencyKey:e.idempotencyKey,shippingMethodId:e.shippingMethodId,couponCode:e.couponCode}}function O(e){return{...u(e),payFirst:!!e.checkoutFlow}}function x(e){return u(e)}function m(e){const t=n=>typeof n=="string"?n:"";return{email:t(e.email),firstName:t(e.firstName),lastName:t(e.lastName),company:t(e.company),address1:t(e.address1),address2:t(e.address2),city:t(e.city),postcode:t(e.postcode),phone:t(e.phone),country:t(e.country),subdivision:t(e.subdivision),selectedAddressId:t(e.selectedAddressId),shippingMethodId:typeof e.shippingMethodId=="string"?e.shippingMethodId:null,couponCode:typeof e.couponCode=="string"?e.couponCode:null}}function f(e){return{orderNumber:e.orderNumber,checkoutNumber:e.checkoutNumber,expiresAt:e.expiresAt,status:e.status,total:e.total,currency:e.currency,freightCharge:e.freightCharge,discountAmount:e.discountAmount,grandTotal:e.grandTotal,shippingMethod:e.shippingMethod,couponCode:e.couponCode}}function g(e){return e.lastPress!==null||e.unpaidOrder!==null||e.keptCardKey!==null}function k(e){const t=e.parkedAt+y,n=e.unpaidOrder&&!e.unpaidOrder.orderNumber?e.unpaidOrder.expiresAt:null,s=n?Date.parse(n):NaN;return Number.isNaN(s)?t:Math.min(t,s)}function M(e){try{const t=e.lastPress,n={...e,lines:r(e.lines),lastPress:t&&{...t,lines:r(t.lines),plainLines:r(t.plainLines)}};a.setItem(i,JSON.stringify({v:c,...n}))}catch{}}const o=e=>!!e&&typeof e=="object"&&!Array.isArray(e),d=e=>o(e)&&typeof e.idempotencyKey=="string"&&Array.isArray(e.items)&&e.items.every(t=>o(t)&&typeof t.partNumber=="string"&&typeof t.quantity=="number")&&o(e.customer)&&typeof e.payFirst=="boolean",p=e=>o(e)&&typeof e.id=="string"&&typeof e.qty=="number"&&Array.isArray(e.components);function I(){let e;try{e=a.getItem(i)}catch{return null}if(!e)return null;try{const t=JSON.parse(e);if(t.v!==c||typeof t.key!="string"||!t.key||!Array.isArray(t.lines)||!t.lines.every(p)||typeof t.parkedAt!="number")return null;const n=t.lastPress,s={key:t.key,authed:t.authed===!0,parkedAt:t.parkedAt,lastPress:o(n)&&typeof n.key=="string"&&d(n.request)&&Array.isArray(n.lines)&&n.lines.every(p)&&Array.isArray(n.plainLines)&&n.plainLines.every(p)?{...n,lines:r(n.lines),plainLines:r(n.plainLines)}:null,keptCardKey:typeof t.keptCardKey=="string"?t.keptCardKey:null,placedGoods:typeof t.placedGoods=="string"?t.placedGoods:null,unpaidOrder:t.unpaidOrder&&typeof t.unpaidOrder=="object"?f(t.unpaidOrder):null,placedRequest:d(t.placedRequest)?t.placedRequest:null,lines:r(t.lines),form:t.form&&typeof t.form=="object"?m(t.form):null};return Date.now()>=k(s)?(N(),null):g(s)?s:null}catch{return null}}function N(){try{a.removeItem(i)}catch{}}export{i as CHECKOUT_MEMORY_KEY,y as CHECKOUT_MEMORY_LIFE_MS,C as PRICES_REQUOTED,N as clearCheckoutMemory,g as holdsPress,M as parkCheckoutMemory,m as parkForm,h as parkLine,f as parkOrder,O as parkRequest,I as readCheckoutMemory,x as sendableRequest};
@@ -7,7 +7,9 @@ export declare const KLARNA_CONTEXT_KEY = "checkout-klarna-context";
7
7
  export interface WalletContext {
8
8
  idempotencyKey: string;
9
9
  confirmation: OrderConfirmation;
10
+ lostChange?: true;
10
11
  }
12
+ export declare function parkedLostChange(context: WalletContext | null): boolean;
11
13
  export type LandingOrder = Pick<OrderConfirmation, "orderNumber"> & Partial<Pick<OrderConfirmation, "currency" | "grandTotal" | "freightCharge" | "discountAmount" | "shippingMethod" | "couponCode">>;
12
14
  export type WalletReturn<C> = {
13
15
  action: "ignore";
@@ -41,6 +43,7 @@ export interface WalletReturnPage {
41
43
  note(message: string): void;
42
44
  fail(message: string): void;
43
45
  clearCart(): void;
46
+ lostChange(): void;
44
47
  }
45
48
  export interface WalletReturnDeps<Request> {
46
49
  search: string;
@@ -1 +1 @@
1
- const i="checkout-afterpay-context",g="checkout-gocardless-context",l="checkout-zip-context",p="checkout-klarna-context";function m({evidence:t,parked:e}){return t?{action:"capture",evidence:t,parked:e}:e?{action:"settle",parked:e}:{action:"ignore"}}function s(t,e){const r=t.getItem(e);if(t.removeItem(e),!r)return null;try{return JSON.parse(r)}catch{return null}}const f={name:"Afterpay",legParam:"afterpay",legValues:["confirm","cancel"],storageKey:i,evidenceFrom(t,e){return e==="cancel"||(t.get("status")??"").toUpperCase()==="CANCELLED"?null:t.get("orderToken")},requestFrom:t=>({token:t})},y={name:"Zip",legParam:"zip",legValues:["return"],storageKey:l,evidenceFrom(t){const e=(t.get("result")??"").toLowerCase();return e==="cancelled"||e==="declined"?null:t.get("checkoutId")},requestFrom:t=>({checkoutId:t})};async function E(t,e){const r=new URLSearchParams(e.search),o=r.get(t.legParam);if(!o||!t.legValues.includes(o))return;const c=s(e.storage,t.storageKey),u=t.evidenceFrom(r,o);e.scrubQuery();const n=m({evidence:u,parked:c});if(n.action!=="ignore"){if(e.page.clearCart(),n.action==="settle"){e.page.note(`The ${t.name} payment was not completed — our team will follow up on payment.`),e.page.land(n.parked.confirmation);return}e.page.setConfirming(!0);try{const a=await e.capture(t.requestFrom(n.evidence));a.status==="paid"?e.page.markPaid():e.page.note(`${t.name} declined the payment — our team will follow up on payment.`),e.page.land(n.parked?.confirmation??a)}catch{n.parked?(e.page.note(`We could not confirm the ${t.name} payment — our team will follow up on payment.`),e.page.land(n.parked.confirmation)):e.page.fail(`We could not confirm your ${t.name} payment. Please contact us before trying again — your payment may already have been taken.`)}finally{e.page.setConfirming(!1)}}}export{i as AFTERPAY_CONTEXT_KEY,f as AFTERPAY_RETURN,g as GOCARDLESS_CONTEXT_KEY,p as KLARNA_CONTEXT_KEY,l as ZIP_CONTEXT_KEY,y as ZIP_RETURN,s as readParked,m as resolveWalletReturn,E as runWalletReturn};
1
+ const i="checkout-afterpay-context",p="checkout-gocardless-context",l="checkout-zip-context",f="checkout-klarna-context";function m(t){return t?.lostChange===!0}function g({evidence:t,parked:e}){return t?{action:"capture",evidence:t,parked:e}:e?{action:"settle",parked:e}:{action:"ignore"}}function s(t,e){const r=t.getItem(e);if(t.removeItem(e),!r)return null;try{return JSON.parse(r)}catch{return null}}const y={name:"Afterpay",legParam:"afterpay",legValues:["confirm","cancel"],storageKey:i,evidenceFrom(t,e){return e==="cancel"||(t.get("status")??"").toUpperCase()==="CANCELLED"?null:t.get("orderToken")},requestFrom:t=>({token:t})},h={name:"Zip",legParam:"zip",legValues:["return"],storageKey:l,evidenceFrom(t){const e=(t.get("result")??"").toLowerCase();return e==="cancelled"||e==="declined"?null:t.get("checkoutId")},requestFrom:t=>({checkoutId:t})};async function d(t,e){const r=new URLSearchParams(e.search),o=r.get(t.legParam);if(!o||!t.legValues.includes(o))return;const c=s(e.storage,t.storageKey),u=t.evidenceFrom(r,o);e.scrubQuery();const n=g({evidence:u,parked:c});if(n.action!=="ignore"){if(e.page.clearCart(),m(n.parked)&&e.page.lostChange(),n.action==="settle"){e.page.note(`The ${t.name} payment was not completed — our team will follow up on payment.`),e.page.land(n.parked.confirmation);return}e.page.setConfirming(!0);try{const a=await e.capture(t.requestFrom(n.evidence));a.status==="paid"?e.page.markPaid():e.page.note(`${t.name} declined the payment — our team will follow up on payment.`),e.page.land(n.parked?.confirmation??a)}catch{n.parked?(e.page.note(`We could not confirm the ${t.name} payment — our team will follow up on payment.`),e.page.land(n.parked.confirmation)):e.page.fail(`We could not confirm your ${t.name} payment. Please contact us before trying again — your payment may already have been taken.`)}finally{e.page.setConfirming(!1)}}}export{i as AFTERPAY_CONTEXT_KEY,y as AFTERPAY_RETURN,p as GOCARDLESS_CONTEXT_KEY,f as KLARNA_CONTEXT_KEY,l as ZIP_CONTEXT_KEY,h as ZIP_RETURN,m as parkedLostChange,s as readParked,g as resolveWalletReturn,d as runWalletReturn};
@@ -0,0 +1,5 @@
1
+ import type { EventPost } from "efficient-web-builder/render/components/PostCard";
2
+ import type { BlogPostRow } from "efficient-web-builder/format/lib/web-backend";
3
+ import type { AdminBlogPost } from "../api/index.js";
4
+ export declare function blogPostRowOfAdmin(post: AdminBlogPost): BlogPostRow;
5
+ export declare function eventPostOf(row: BlogPostRow): EventPost;
@@ -0,0 +1 @@
1
+ import{absolutizeApiUrl as r}from"efficient-web-builder/render/lib/media";import{postDateLabel as i}from"efficient-web-builder/format/lib/content/post-date";import{postPath as l}from"efficient-web-builder/format/lib/links/page-link-rules";function u(e){return{slug:e.slug,title:e.title,excerpt:e.excerpt,category:e.category,coverImage:e.cover_image?r(e.cover_image)??"":"",publishedAt:e.published_at,href:l(e.slug)}}function g(e){const t=e.category.trim();return{slug:e.slug,title:e.title,excerpt:e.excerpt,cover:e.coverImage,meta:t||void 0,dateLabel:i(e.publishedAt)||void 0}}export{u as blogPostRowOfAdmin,g as eventPostOf};
@@ -1 +1 @@
1
- import{jsx as f}from"react/jsx-runtime";import{phoneKey as h}from"efficient-easel/draw";import g,{readFacets as x,readTags as k}from"../../../../../components/Events.js";import{declaredBlockSource as b,sourcedRows as v}from"efficient-web-builder/format/lib/content/block-sources";import{servedListOf as y,servedRowLists as E}from"../../../../content/served-lists.js";import{hidableText as S}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as A}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as r}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{bandPadProps as P}from"../../../../sections/band-padding.js";import{EventsMeta as F,EVENTS_PH as m}from"./meta.js";const H=()=>[{key:"sample-1",title:a("First card"),excerpt:a("A line about it appears here.")},{key:"sample-2",title:a("Second card"),excerpt:a("A line about it appears here.")},{key:"sample-3",title:a("Third card"),excerpt:a("A line about it appears here.")},{key:"sample-4",title:a("Fourth card"),excerpt:a("A line about it appears here.")}],o=(e,i,t)=>({slug:e.key||`card-${i}`,title:e.title??"",excerpt:e.excerpt??"",cover:e.cover??"",meta:e.meta||void 0,dateLabel:e.dateLabel||void 0,href:e.href||"#",...t?.facets?{facets:t.facets}:{},...t?.tags?{tags:t.tags}:{}}),L=e=>E(e,i=>({facets:x(i.facets),tags:k(i.tags)})),N={...F,render:e=>{const i=A(e.headPlacement)==="own-box",t=l=>i?void 0:l,s=r(e.linkText,m.link,e.editor),n=b(e)!==""?v(e,!!e.editor?.isEditing,H()):null,c=n&&!n.sample?L(e):null,u=n?n.sample?[]:n.rows.map((l,d)=>o(l,d,y(c,l,d))):e.posts;return f(g,{num:t(r(e.num,m.num,e.editor)),title:t(r(e.title,m.title,e.editor)),link:t(s?{text:s,href:S(e.linkHref)||"/journal"}:void 0),omitHead:i,posts:u,sample:n?.sample?n.rows.map((l,d)=>o(l,d)):void 0,columns:e.columns,limit:e.limit,showAll:e.showAll,layout:e.layout,featuredWidth:e.featuredWidth,listCover:e.listCover,featuredDarken:e.featuredDarken,cardImage:e.cardImage,gap:e.gap,gapPhone:e[h("gap")],nameFilter:e.nameFilter===!0,pads:P(e),editing:e.editor?.isEditing,template:e.template,ownerId:String(e.id??"")})}};export{N as EventsRender};
1
+ import{jsx as f}from"react/jsx-runtime";import{phoneKey as g}from"efficient-easel/draw";import h,{readFacets as x,readTags as k}from"../../../../../components/Events.js";import{declaredBlockSource as v,sourcedRows as y}from"efficient-web-builder/format/lib/content/block-sources";import{servedListOf as b,servedRowLists as E}from"../../../../content/served-lists.js";import{hidableText as S}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as A}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as l}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{bandPadProps as P}from"../../../../sections/band-padding.js";import{EventsMeta as C,EVENTS_PH as m}from"./meta.js";const F=()=>[{key:"sample-1",title:a("First card"),excerpt:a("A line about it appears here.")},{key:"sample-2",title:a("Second card"),excerpt:a("A line about it appears here.")},{key:"sample-3",title:a("Third card"),excerpt:a("A line about it appears here.")},{key:"sample-4",title:a("Fourth card"),excerpt:a("A line about it appears here.")}],o=(e,i,t)=>({slug:e.key||`card-${i}`,title:e.title??"",excerpt:e.excerpt??"",cover:e.cover??"",meta:e.meta||void 0,dateLabel:e.dateLabel||void 0,href:e.href||"#",...t?.facets?{facets:t.facets}:{},...t?.tags?{tags:t.tags}:{}}),H=e=>E(e,i=>({facets:x(i.facets),tags:k(i.tags)})),N={...C,render:e=>{const i=A(e.headPlacement)==="own-box",t=r=>i?void 0:r,s=l(e.linkText,m.link,e.editor),n=v(e)!==""?y(e,!!e.editor?.isEditing,F()):null,c=n&&!n.sample?H(e):null,u=n?n.sample?[]:n.rows.map((r,d)=>o(r,d,b(c,r,d))):e.posts;return f(h,{num:t(l(e.num,m.num,e.editor)),title:t(l(e.title,m.title,e.editor)),link:t(s?{text:s,href:S(e.linkHref)||"/journal"}:void 0),omitHead:i,posts:u,servedCategory:e.servedCategory,sample:n?.sample?n.rows.map((r,d)=>o(r,d)):void 0,columns:e.columns,limit:e.limit,showAll:e.showAll,layout:e.layout,featuredWidth:e.featuredWidth,listCover:e.listCover,featuredDarken:e.featuredDarken,cardImage:e.cardImage,gap:e.gap,gapPhone:e[g("gap")],nameFilter:e.nameFilter===!0,pads:P(e),editing:e.editor?.isEditing,template:e.template,ownerId:String(e.id??"")})}};export{N as EventsRender};
@@ -6,6 +6,8 @@ export declare const FROM_PREFIX = "from ";
6
6
  export declare const FROM_PREFIX_START = "From ";
7
7
  export declare const EACH_UNIT = "each";
8
8
  export declare const FREE_PRICE = "Free";
9
+ export declare const FIGURE_TO_COME = "\u2026";
10
+ export declare const FIGURE_UPDATING = "Updating";
9
11
  export declare function isPriced(amount: number | null | undefined): amount is number;
10
12
  export declare function priceIn(prices: Record<string, number | null> | undefined, currency: string): number | null;
11
13
  export declare function comparePrice(a: Record<string, number | null> | undefined, b: Record<string, number | null> | undefined, currency: string, direction: "asc" | "desc"): number;
@@ -1 +1 @@
1
- import{formatPrice as s,setPrice as P,WHEELS_PER_SET as m}from"../commerce.js";const c="Price on request",E="Request a quote",f="from ",R="From ",h="each",_="Free";function i(t){return typeof t=="number"&&Number.isFinite(t)&&t>0}function a(t,e){const n=t?.[e];return i(n)?n:null}function I(t,e,n,l){const r=a(t,n),o=a(e,n);return r===null&&o===null?0:r===null?1:o===null?-1:l==="asc"?r-o:o-r}function L(t,e,n,l){if(n==null&&l==null)return!0;const r=a(t,e);return!(r===null||n!=null&&r<n||l!=null&&r>l)}const T={priced:!1,unit:null,was:null,onSale:!1,setTotal:null};function x(t,e,n){if(!i(t))return T;const l=i(e)&&e>t?e:null;return{priced:!0,unit:t,was:l,onSale:l!==null,setTotal:n!=null?t*n:null}}function g(t,e,n=""){return!t.priced||t.unit==null?c:`${n}${s(t.unit,e)}`}function C(t,e){return t.was==null?null:s(t.was,e)}function S(t,e,n=1){const l=P(t,e);if(l===null)return{priced:!1,unit:null,isFrom:!1,setTotal:null};const r=t.reduce((u,p)=>u+p.wheels,0),o=Math.min(...t.map(u=>u.prices[e]));return{priced:!0,unit:o,isFrom:o*r!==l,setTotal:l*n}}const F={priced:!1,unit:null,isFrom:!1,was:null,onSale:!1,setTotal:null};function N(t,e,n,l=1){const r=x(t.prices[n],t.msrpPrices?.[n],m),o=r.setTotal==null?null:r.setTotal*l;if(!e)return{priced:r.priced,unit:r.unit,isFrom:!0,was:r.was,onSale:r.onSale,setTotal:null,fromSetTotal:o};const u=S(e.components,n,l);return u.priced?{priced:!0,unit:u.unit,isFrom:u.isFrom,was:null,onSale:!1,setTotal:u.setTotal,fromSetTotal:o}:{...F,fromSetTotal:o}}function d(t,e){return!t.priced||t.unit==null?c:`${t.isFrom?f:""}${s(t.unit,e)}`}function W(t,e){return t.was==null?null:s(t.was,e)}function $(t,e){return!t.priced||t.unit==null?E:d(t,e)}function v(t,e){const n=t.savings[e];if(n===void 0||t.components.length===0)return null;let l=0;for(const o of t.components){const u=o.prices?.[e];if(typeof u!="number")return null;l+=u*o.quantity}const r=s(l-n,e);return{was:s(l,e),amount:t.savingIsFrom?`${f}${r}`:r}}export{h as EACH_UNIT,_ as FREE_PRICE,f as FROM_PREFIX,R as FROM_PREFIX_START,E as SET_QUOTE_LABEL,c as UNPRICED_LABEL,v as bundlePrice,I as comparePrice,d as formatSelectionPrice,W as formatSelectionWasPrice,g as formatWheelPrice,C as formatWheelWasPrice,i as isPriced,a as priceIn,N as resolveSelectionPrice,S as resolveSetPrice,x as resolveWheelPrice,$ as setPriceLabel,L as withinPriceRange};
1
+ import{formatPrice as s,setPrice as P,WHEELS_PER_SET as m}from"../commerce.js";const c="Price on request",E="Request a quote",f="from ",_="From ",w="each",I="Free",h="…",U="Updating";function i(t){return typeof t=="number"&&Number.isFinite(t)&&t>0}function a(t,e){const n=t?.[e];return i(n)?n:null}function g(t,e,n,l){const r=a(t,n),o=a(e,n);return r===null&&o===null?0:r===null?1:o===null?-1:l==="asc"?r-o:o-r}function C(t,e,n,l){if(n==null&&l==null)return!0;const r=a(t,e);return!(r===null||n!=null&&r<n||l!=null&&r>l)}const T={priced:!1,unit:null,was:null,onSale:!1,setTotal:null};function x(t,e,n){if(!i(t))return T;const l=i(e)&&e>t?e:null;return{priced:!0,unit:t,was:l,onSale:l!==null,setTotal:n!=null?t*n:null}}function L(t,e,n=""){return!t.priced||t.unit==null?c:`${n}${s(t.unit,e)}`}function N(t,e){return t.was==null?null:s(t.was,e)}function F(t,e,n=1){const l=P(t,e);if(l===null)return{priced:!1,unit:null,isFrom:!1,setTotal:null};const r=t.reduce((u,p)=>u+p.wheels,0),o=Math.min(...t.map(u=>u.prices[e]));return{priced:!0,unit:o,isFrom:o*r!==l,setTotal:l*n}}const S={priced:!1,unit:null,isFrom:!1,was:null,onSale:!1,setTotal:null};function O(t,e,n,l=1){const r=x(t.prices[n],t.msrpPrices?.[n],m),o=r.setTotal==null?null:r.setTotal*l;if(!e)return{priced:r.priced,unit:r.unit,isFrom:!0,was:r.was,onSale:r.onSale,setTotal:null,fromSetTotal:o};const u=F(e.components,n,l);return u.priced?{priced:!0,unit:u.unit,isFrom:u.isFrom,was:null,onSale:!1,setTotal:u.setTotal,fromSetTotal:o}:{...S,fromSetTotal:o}}function d(t,e){return!t.priced||t.unit==null?c:`${t.isFrom?f:""}${s(t.unit,e)}`}function W(t,e){return t.was==null?null:s(t.was,e)}function $(t,e){return!t.priced||t.unit==null?E:d(t,e)}function v(t,e){const n=t.savings[e];if(n===void 0||t.components.length===0)return null;let l=0;for(const o of t.components){const u=o.prices?.[e];if(typeof u!="number")return null;l+=u*o.quantity}const r=s(l-n,e);return{was:s(l,e),amount:t.savingIsFrom?`${f}${r}`:r}}export{w as EACH_UNIT,h as FIGURE_TO_COME,U as FIGURE_UPDATING,I as FREE_PRICE,f as FROM_PREFIX,_ as FROM_PREFIX_START,E as SET_QUOTE_LABEL,c as UNPRICED_LABEL,v as bundlePrice,g as comparePrice,d as formatSelectionPrice,W as formatSelectionWasPrice,L as formatWheelPrice,N as formatWheelWasPrice,i as isPriced,a as priceIn,O as resolveSelectionPrice,F as resolveSetPrice,x as resolveWheelPrice,$ as setPriceLabel,C as withinPriceRange};
package/dist/words.d.ts CHANGED
@@ -301,6 +301,7 @@ export type WebBuilderPhrase =
301
301
  | "Check it with Preview. Press Publish to put it live."
302
302
  | "Checkout & ordering"
303
303
  | "Chip label"
304
+ | "Chips"
304
305
  | "Choose a page"
305
306
  | "Choose a popup"
306
307
  | "Choose a post"
package/dist/words.js CHANGED
@@ -1,5 +1,5 @@
1
1
  var a={"$ efficient \u2026":"$ efficient \u2026","0 min":"0 min","0 min read":"0 min read","01 / Section":"01 / Section","100s":"100s","1st rendering":"1st rendering","2nd rendering":"2nd rendering","30-day returns":"30-day returns","3rd rendering":"3rd rendering","4th rendering":"4th rendering","5th rendering":"5th rendering","A 'Show us yours.' headline with a photo-submission form.":"A 'Show us yours.' headline with a photo-submission form.","A big headline beside a stack of call-to-action buttons.":"A big headline beside a stack of call-to-action buttons.","A bold brand statement beside a full-height image, with a stat strip.":"A bold brand statement beside a full-height image, with a stat strip.","A call-to-action button.":"A call-to-action button.","A card per city, grouped by region: address, phone, hours and a map.":"A card per city, grouped by region: address, phone, hours and a map.","A card's opening picture \u2014 a card pinned to a finish keeps its own.":"A card's opening picture \u2014 a card pinned to a finish keeps its own.","A centered 'ready to order?' headline with the checkout button.":"A centered 'ready to order?' headline with the checkout button.","A change waiting to go live could not be saved.":"A change waiting to go live could not be saved.","A chat bubble on every page":"A chat bubble on every page","A corner would need a diagonal ramp, which this overlay does not draw.":"A corner would need a diagonal ramp, which this overlay does not draw.","A detail line":"A detail line","A display order-summary panel \u2014 items, totals and a note.":"A display order-summary panel \u2014 items, totals and a note.","A document header \u2014 headline, metadata and standfirst.":"A document header \u2014 headline, metadata and standfirst.","A featured article \u2014 big cover image beside a headline and dek.":"A featured article \u2014 big cover image beside a headline and dek.","A few numbers that matter to us.":"A few numbers that matter to us.","A fitment table \u2014 per-size bolt patterns, offsets and load ratings, filterable by diameter.":"A fitment table \u2014 per-size bolt patterns, offsets and load ratings, filterable by diameter.","A frame is made from this video when you save the page.":"A frame is made from this video when you save the page.","A frequently-asked-questions accordion with a header.":"A frequently-asked-questions accordion with a header.","A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.":"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.","A heading over a grid of free-text title-and-blurb cards.":"A heading over a grid of free-text title-and-blurb cards.","A heading over columns, or alternating rows, of image, title, blurb and specs.":"A heading over columns, or alternating rows, of image, title, blurb and specs.","A headline beside a stylized product-UI mockup card \u2014 spec sheet, fitment, portal, kanban and more.":"A headline beside a stylized product-UI mockup card \u2014 spec sheet, fitment, portal, kanban and more.","A horizontal year track of milestones \u2014 company history or roadmap.":"A horizontal year track of milestones \u2014 company history or roadmap.","A journal issue header with a lead statement and contents.":"A journal issue header with a lead statement and contents.","A line across the blocks, with a dot on each.":"A line across the blocks, with a dot on each.","A line or two of supporting copy.":"A line or two of supporting copy.","A long-form article spread with a pull-quote and cover image.":"A long-form article spread with a pull-quote and cover image.","A marquee cannot run diagonally, so the corners are not answers.":"A marquee cannot run diagonally, so the corners are not answers.","A milestone still to come.":"A milestone still to come.","A newsletter signup beside a list of recent issues.":"A newsletter signup beside a list of recent issues.","A newsletter signup beside your latest blog posts, pulled live.":"A newsletter signup beside your latest blog posts, pulled live.","A numbered section title with optional link.":"A numbered section title with optional link.","A page header: eyebrow, title, details and a deck.":"A page header: eyebrow, title, details and a deck.","A paragraph of body copy.":"A paragraph of body copy.","A payment-methods trust strip with reassurance lines.":"A payment-methods trust strip with reassurance lines.","A picture worth\n*a thousand rows.*":`A picture worth
2
- *a thousand rows.*`,"A plain editorial text section \u2014 eyebrow, heading and body copy.":"A plain editorial text section \u2014 eyebrow, heading and body copy.","A product hero \u2014 image beside price, bullets and a buy button.":"A product hero \u2014 image beside price, bullets and a buy button.","A row of partner or brand logos.":"A row of partner or brand logos.","A scrolling marquee of short phrases, full width.":"A scrolling marquee of short phrases, full width.","A second customer quote \u2014 what they loved, in a sentence or two.":"A second customer quote \u2014 what they loved, in a sentence or two.","A section heading over a grid of column cards.":"A section heading over a grid of column cards.","A sentence or two of supporting copy.":"A sentence or two of supporting copy.","A shared section":"A shared section","A short customer quote goes here \u2014 replace it with a real testimonial from your customers.":"A short customer quote goes here \u2014 replace it with a real testimonial from your customers.","A short customer quote goes here.":"A short customer quote goes here.","A short description of this recurring column.":"A short description of this recurring column.","A short lead paragraph introducing this section \u2014 a sentence or two about its theme.":"A short lead paragraph introducing this section \u2014 a sentence or two about its theme.","A short line about this card.":"A short line about this card.","A short line about this milestone.":"A short line about this milestone.","A short pull quote.":"A short pull quote.","A short reassurance note under the total.":"A short reassurance note under the total.","A short summary of the article goes here.":"A short summary of the article goes here.","A short summary of the featured article \u2014 one or two sentences that draw the reader in.":"A short summary of the featured article \u2014 one or two sentences that draw the reader in.","A short summary of the post \u2014 one or two sentences.":"A short summary of the post \u2014 one or two sentences.","A single heading line.":"A single heading line.","A slim trail showing where the reader is (Home / Journal\u2026).":"A slim trail showing where the reader is (Home / Journal\u2026).","A spec sheet \u2014 labeled rows of product specifications.":"A spec sheet \u2014 labeled rows of product specifications.","A standalone image, at the width you set.":"A standalone image, at the width you set.","A sticky row of category tabs with counts and links.":"A sticky row of category tabs with counts and links.","A sticky tab bar that marks the page you are on.":"A sticky tab bar that marks the page you are on.","A sticky tab bar to switch between documents.":"A sticky tab bar to switch between documents.","A template is a blueprint \u2014 it has no website of its own, so there is nothing here to change.":"A template is a blueprint \u2014 it has no website of its own, so there is nothing here to change.","A theme-color chip and heading over a grid of short feature labels.":"A theme-color chip and heading over a grid of short feature labels.","A thin horizontal rule between sections.":"A thin horizontal rule between sections.","A thin one-line spec strip \u2014 small-caps items spread across the width, as a dark band or a bare hairline row.":"A thin one-line spec strip \u2014 small-caps items spread across the width, as a dark band or a bare hairline row.","A third short quote to round out the row.":"A third short quote to round out the row.","A three-up meta strip for the foot of a document.":"A three-up meta strip for the foot of a document.","A titled chart \u2014 bars, line or donut \u2014 drawn from your own labeled data points.":"A titled chart \u2014 bars, line or donut \u2014 drawn from your own labeled data points.","A vehicle picker \u2014 make, model, year and trim resolve the OEM stock fitment live.":"A vehicle picker \u2014 make, model, year and trim resolve the OEM stock fitment live.","A wall of city photos, grouped by region. Each photo links to its city's card.":"A wall of city photos, grouped by region. Each photo links to its city's card.","A wall of your photos or your products' pictures, with a click-to-open lightbox.":"A wall of your photos or your products' pictures, with a click-to-open lightbox.","A world map of your locations with a legend \u2014 designed here, sold worldwide.":"A world map of your locations with a legend \u2014 designed here, sold worldwide.","A write-a-review form \u2014 submissions wait for your approval before they show.":"A write-a-review form \u2014 submissions wait for your approval before they show.","AV1 file":"AV1 file","About & brand story":"About & brand story",Accessories:"Accessories",Accordion:"Accordion",Account:"Account","Active tab":"Active tab",Add:"Add","Add a *headline* for this post.":"Add a *headline* for this post.","Add a *headline* for this story.":"Add a *headline* for this story.","Add a page":"Add a page","Add a sentence or two introducing this document.":"Add a sentence or two introducing this document.","Add a sentence or two of supporting copy.":"Add a sentence or two of supporting copy.","Add a short heading.":"Add a short heading.","Add a short statement here \u2014 a sentence or two is plenty.":"Add a short statement here \u2014 a sentence or two is plenty.","Add an anchor":"Add an anchor","Add an office in the inspector":"Add an office in the inspector","Add another question":"Add another question","Add city":"Add city","Add group":"Add group","Add new theme":"Add new theme","Add office coordinates to plot the map":"Add office coordinates to plot the map","Add page":"Add page","Add slide":"Add slide","Add this section's copy here.":"Add this section's copy here.","Add this section's copy here. A blank line starts a new paragraph.":"Add this section's copy here. A blank line starts a new paragraph.","Add your answer here \u2014 a sentence or two is plenty.":"Add your answer here \u2014 a sentence or two is plenty.","Add your answer here.":"Add your answer here.","Add your answer here. Keep it clear and concise so it stays easy to scan.":"Add your answer here. Keep it clear and concise so it stays easy to scan.","Add your first question":"Add your first question","Add your numbers.":"Add your numbers.",Address:"Address",After:"After",All:"All","Alt text":"Alt text",Alternating:"Alternating","Alternating (zig-zag)":"Alternating (zig-zag)",Always:"Always",Amount:"Amount","An editorial aside beside a rail-marked timeline of dated entries.":"An editorial aside beside a rail-marked timeline of dated entries.","An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.":"An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.","An editorial text panel with a stat strip and founders' note.":"An editorial text panel with a stat strip and founders' note.","An empty section. Add whatever you want inside.":"An empty section. Add whatever you want inside.",Anchor:"Anchor",Angle:"Angle",Animation:"Animation","Another group already uses this heading \u2014 pick a different one.":"Another group already uses this heading \u2014 pick a different one.",Answer:"Answer",App:"App","App chips":"App chips","App name":"App name",Appearance:"Appearance","Appearance settings belong to a website.":"Appearance settings belong to a website.","Applied to {n} card":"Applied to {n} card","Applied to {n} cards":"Applied to {n} cards","Apply to all cards":"Apply to all cards","Approved customer reviews in a star-rated card grid, pulled live.":"Approved customer reviews in a star-rated card grid, pulled live.",Arrangement:"Arrangement",Arrows:"Arrows","Arrows placement":"Arrows placement","Arrows shape":"Arrows shape",Article:"Article","Article *headline* goes here.":"Article *headline* goes here.","Article Body":"Article Body","Article Text":"Article Text","Article headline":"Article headline","Article title":"Article title","As shot":"As shot","As uploaded":"As uploaded","Aspect ratio":"Aspect ratio","At zero":"At zero",Attribution:"Attribution",Auto:"Auto","Auto contrast":"Auto contrast","Auto-advance slides":"Auto-advance slides","Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.":"Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.","Auto-slide":"Auto-slide","Avg rating":"Avg rating","Avg. weight saving":"Avg. weight saving",Background:"Background","Background color":"Background color","Background image":"Background image","Background images":"Background images","Background width":"Background width",Badge:"Badge","Bank transfer":"Bank transfer",Banner:"Banner","Banner headline":"Banner headline",Bar:"Bar",Bare:"Bare",Bars:"Bars","Bars (comparison / funnel)":"Bars (comparison / funnel)","Bars heading":"Bars heading",Basics:"Basics",Before:"Before","Begin reading":"Begin reading",Below:"Below","Below picture":"Below picture","Big first":"Big first","Big left":"Big left","Big right":"Big right","Big stat":"Big stat","Black and white":"Black and white","Black and white logos":"Black and white logos",Block:"Block","Block gap":"Block gap","Block spacing":"Block spacing","Block widths":"Block widths","Blog & journal":"Blog & journal","Blog post":"Blog post","Blog post source":"Blog post source",Body:"Body",Bold:"Bold","Bold word":"Bold word","Booking Form":"Booking Form",Border:"Border","Border bottom":"Border bottom","Border color":"Border color","Border left":"Border left","Border right":"Border right","Border style":"Border style","Border top":"Border top","Border width":"Border width",Borders:"Borders",Bottom:"Bottom","Bottom center":"Bottom center","Bottom left":"Bottom left","Bottom right":"Bottom right",Bounce:"Bounce",Box:"Box","Box name":"Box name","Box shape":"Box shape","Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.":"Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.","Brand Text":"Brand Text","Brand name":"Brand name",Breadcrumb:"Breadcrumb",Brick:"Brick","Browser mock":"Browser mock","Browser shop":"Browser shop","Browser storefront (hero + tiles)":"Browser storefront (hero + tiles)","Build this footer out of Boxes and blocks, like a page: the same menus, signup, social links and logo, with the copyright as a Legal Line. Your current footer is kept.":"Build this footer out of Boxes and blocks, like a page: the same menus, signup, social links and logo, with the copyright as a Legal Line. Your current footer is kept.","Bundle Products":"Bundle Products",Button:"Button","Button Right Text":"Button Right Text","Button color":"Button color","Button label":"Button label","Button link":"Button link","Button text color":"Button text color",Buttons:"Buttons","Buy button":"Buy button","By the *numbers*":"By the *numbers*","By the numbers":"By the numbers","Call-to-Action Heading":"Call-to-Action Heading",Cancel:"Cancel",Caption:"Caption",Card:"Card","Card body":"Card body","Card button":"Card button","Card content":"Card content","Card header strip":"Card header strip","Card height":"Card height","Card image":"Card image","Card layout":"Card layout","Card link":"Card link","Card list":"Card list","Card number":"Card number","Card outline":"Card outline","Card shadow":"Card shadow","Card style":"Card style","Card subtitle":"Card subtitle","Card template":"Card template","Card title":"Card title","Card title one":"Card title one","Card title three":"Card title three","Card title two":"Card title two","Card type":"Card type","Card {n}":"Card {n}",Cards:"Cards","Cards 1, 3, 5 draw the other way round":"Cards 1, 3, 5 draw the other way round","Cards 2, 4, 6 draw the other way round":"Cards 2, 4, 6 draw the other way round",Cart:"Cart",Cash:"Cash","Catalog Filter Bar":"Catalog Filter Bar",Category:"Category","Category Bar":"Category Bar","Category bar":"Category bar","Cell size":"Cell size","Cell width":"Cell width",Center:"Center","Changed on every page":"Changed on every page","Changes not live yet":"Changes not live yet",Chart:"Chart","Chart style":"Chart style","Chat with us":"Chat with us","Check it with Preview. Press Publish to put it live.":"Check it with Preview. Press Publish to put it live.","Checkout & ordering":"Checkout & ordering","Chip label":"Chip label","Choose a page":"Choose a page","Choose a popup":"Choose a popup","Choose a post":"Choose a post","Choose a product":"Choose a product","Choose a section":"Choose a section","Choose an image":"Choose an image","Cities in this group":"Cities in this group",City:"City","City maps":"City maps","City pictures":"City pictures","City strip":"City strip","City \xB7 state \xB7 postcode":"City \xB7 state \xB7 postcode","Claims bars":"Claims bars","Claims panel":"Claims panel","Claims panel (rows + defect bars)":"Claims panel (rows + defect bars)","Clear colors":"Clear colors","Clear this site\u2019s colors?":"Clear this site\u2019s colors?","Click to play":"Click to play",Collapse:"Collapse","Collapse {name}":"Collapse {name}",Collections:"Collections",Color:"Color","Column *title.*":"Column *title.*","Column 1 cards":"Column 1 cards","Column 1 title":"Column 1 title","Column 2 cards":"Column 2 cards","Column 2 title":"Column 2 title","Column 3 cards":"Column 3 cards","Column 3 title":"Column 3 title","Column 4 cards":"Column 4 cards","Column 4 title":"Column 4 title","Column {n}":"Column {n}",Columns:"Columns","Compatible Tyres":"Compatible Tyres","Connect to a live number":"Connect to a live number","Contact / Locations":"Contact / Locations","Contact Form":"Contact Form","Contact, FAQ & forms":"Contact, FAQ & forms",Contain:"Contain",Content:"Content","Content cannot be wider than the background.":"Content cannot be wider than the background.","Content position":"Content position","Content width":"Content width",Contents:"Contents","Contents heading":"Contents heading","Contents label":"Contents label",Coordinates:"Coordinates","Copy above image":"Copy above image","Copy over image":"Copy over image","Copying\u2026":"Copying\u2026","Corner note":"Corner note",Corners:"Corners","Couldn\u2019t add the page \u2014 please retry.":"Couldn\u2019t add the page \u2014 please retry.","Couldn\u2019t add the popup \u2014 please retry.":"Couldn\u2019t add the popup \u2014 please retry.","Couldn\u2019t delete the page \u2014 please retry.":"Couldn\u2019t delete the page \u2014 please retry.","Couldn\u2019t duplicate the section \u2014 please retry":"Couldn\u2019t duplicate the section \u2014 please retry","Couldn\u2019t load pages":"Couldn\u2019t load pages","Couldn\u2019t open this section.":"Couldn\u2019t open this section.","Couldn\u2019t reach {place}.":"Couldn\u2019t reach {place}.",Count:"Count",Countdown:"Countdown",Country:"Country","Country Switch":"Country Switch",Cover:"Cover","Cover image":"Cover image",Covers:"Covers","Cross \u2715":"Cross \u2715",Crumbs:"Crumbs","Current page":"Current page",Custom:"Custom","Custom HTML":"Custom HTML","Custom URL":"Custom URL","Custom color":"Custom color","Custom: the width of each block in %, the last block left out":"Custom: the width of each block in %, the last block left out","Customer Photo Grid":"Customer Photo Grid","Customer name":"Customer name","Customer photos in a card grid with a click-to-open lightbox.":"Customer photos in a card grid with a click-to-open lightbox.","Customer quotes in a grid \u2014 the quote, a name and a role.":"Customer quotes in a grid \u2014 the quote, a name and a role.",Dark:"Dark","Dark band":"Dark band",Darken:"Darken","Darken on hover":"Darken on hover","Darken style":"Darken style",Dashed:"Dashed","Data points":"Data points",Date:"Date","Dealer name":"Dealer name",Dealers:"Dealers","Dealers are not available on this website":"Dealers are not available on this website","Deck / standfirst":"Deck / standfirst",Default:"Default","Defect rate by product":"Defect rate by product",Dek:"Dek",Delay:"Delay","Delete city":"Delete city","Delete group ({n} cities)":"Delete group ({n} cities)","Delete group ({n} city)":"Delete group ({n} city)","Delete {label} group ({n} cities)":"Delete {label} group ({n} cities)","Delete {label} group ({n} city)":"Delete {label} group ({n} city)","Delete {name}":"Delete {name}","Delete \u201C{name}\u201D":"Delete \u201C{name}\u201D","Deleted \u201C{name}\u201D":"Deleted \u201C{name}\u201D",Delivery:"Delivery","Delivery Options":"Delivery Options","Delivery tiers as cards \u2014 name, window and price, one highlighted.":"Delivery tiers as cards \u2014 name, window and price, one highlighted.","Describe this section in a sentence or two.":"Describe this section in a sentence or two.","Describe this step in a sentence or two.":"Describe this step in a sentence or two.","Describe what happened, in a sentence or two.":"Describe what happened, in a sentence or two.",Design:"Design",Desktop:"Desktop",Detail:"Detail","Detail line":"Detail line",Direction:"Direction","Directions link":"Directions link","Dismiss link":"Dismiss link",Display:"Display",Distance:"Distance","Distance from top":"Distance from top",Divider:"Divider","Document Detail Cards":"Document Detail Cards","Document Header":"Document Header","Document Tabs":"Document Tabs","Document Text":"Document Text","Document body":"Document body","Document masthead":"Document masthead","Document tabs":"Document tabs",Done:"Done",Donut:"Donut","Donut (split of a whole)":"Donut (split of a whole)","Dot \u25CF":"Dot \u25CF",Dots:"Dots",Dotted:"Dotted",Down:"Down","Draft before restore":"Draft before restore","Drop in your own sanitized HTML.":"Drop in your own sanitized HTML.","Duplicate section":"Duplicate section","Duplicate to another page":"Duplicate to another page","Duplicate to page":"Duplicate to page","Duplicate \u201C{name}\u201D":"Duplicate \u201C{name}\u201D","Duplicated to \u201C{name}\u201D":"Duplicated to \u201C{name}\u201D",Duration:"Duration",Dynamic:"Dynamic","Dynamic Pages":"Dynamic Pages","EU Tyre Label":"EU Tyre Label","Each block":"Each block","Each row":"Each row","Each side":"Each side","Each website created from this template sets its own appearance afterwards.":"Each website created from this template sets its own appearance afterwards.","Each website created from this template sets its own header afterwards.":"Each website created from this template sets its own header afterwards.","Each website created from this template sets its own live chat afterwards.":"Each website created from this template sets its own live chat afterwards.","Each website created from this template sets its own social link afterwards.":"Each website created from this template sets its own social link afterwards.","Each website created from this template sets its own {what} afterwards.":"Each website created from this template sets its own {what} afterwards.","Easy to read":"Easy to read",Edit:"Edit","Edit colors":"Edit colors","Edit colors for {name}":"Edit colors for {name}","Edit {name}":"Edit {name}","Editing {name} changes it everywhere.":"Editing {name} changes it everywhere.","Editor only \u2014 not shown live":"Editor only \u2014 not shown live",Editorial:"Editorial","Editorial Text":"Editorial Text",Effect:"Effect",Email:"Email","Email Form":"Email Form","Email address":"Email address","Email signup":"Email signup",Emphasis:"Emphasis",Empty:"Empty",Ends:"Ends","Enter by hand":"Enter by hand",Entrance:"Entrance",Entries:"Entries","Entries count":"Entries count",Equal:"Equal",Essay:"Essay",Even:"Even","Even cards":"Even cards","Every Publish keeps a copy of the whole website: pages, menus and site styles.":"Every Publish keeps a copy of the whole website: pages, menus and site styles.","Every text on the site that follows {style} changes to look like this one. This text\u2019s own changes are cleared, and it keeps following {style}.":"Every text on the site that follows {style} changes to look like this one. This text\u2019s own changes are cleared, and it keeps following {style}.","Every {part} in this section follows it. The face and the size change; the letter case is the section\u2019s own and stays as it is.":"Every {part} in this section follows it. The face and the size change; the letter case is the section\u2019s own and stays as it is.","Everything else on this block comes from the linked post. Unlink it to edit by hand.":"Everything else on this block comes from the linked post. Unlink it to edit by hand.","Everything is live":"Everything is live",Excerpt:"Excerpt","Extra large \u2014 64px":"Extra large \u2014 64px",Eyebrow:"Eyebrow","Eyebrow style":"Eyebrow style",Facebook:"Facebook",Fade:"Fade","Fade in":"Fade in","Fade out":"Fade out",Feature:"Feature","Feature Banner":"Feature Banner","Feature Rows":"Feature Rows","Feature label":"Feature label","Feature label five":"Feature label five","Feature label four":"Feature label four","Feature label one":"Feature label one","Feature label six":"Feature label six","Feature label three":"Feature label three","Feature label two":"Feature label two","Feature story":"Feature story",Featured:"Featured","Featured *image*":"Featured *image*","Featured cover":"Featured cover",Features:"Features",Feedback:"Feedback","Field label":"Field label","Field notes":"Field notes",Fill:"Fill","Fill color":"Fill color","Fill content":"Fill content","Fill row":"Fill row",Filled:"Filled","Filters the collection grids below it \u2014 a sticky row of Pills (the default), or Columns, one per filter you switch on.":"Filters the collection grids below it \u2014 a sticky row of Pills (the default), or Columns, one per filter you switch on.","Find from the address":"Find from the address","Find from the address (OpenStreetMap)":"Find from the address (OpenStreetMap)","Finding\u2026":"Finding\u2026","Fine print":"Fine print","Finish steps":"Finish steps","Finish swatches":"Finish swatches","Finish \xB7 Size \xB7 \xD71":"Finish \xB7 Size \xB7 \xD71","First group":"First group","First item":"First item","First section":"First section","Fit content":"Fit content","Fitment Form":"Fitment Form","Fitment Table":"Fitment Table",Fixed:"Fixed","Fixed size \u2014 the site\u2019s Text setting doesn\u2019t resize this.":"Fixed size \u2014 the site\u2019s Text setting doesn\u2019t resize this.",Flat:"Flat",Flip:"Flip","Follow the page":"Follow the page","Follow the slideshow":"Follow the slideshow","Follows Desktop":"Follows Desktop","Follows Styles \u25B8 Basics \u25B8 Corners until you set a number here.":"Follows Styles \u25B8 Basics \u25B8 Corners until you set a number here.","Follows the section's Corners until you set a number here.":"Follows the section's Corners until you set a number here.","Follows the site":"Follows the site","Footer Box":"Footer Box",Footnote:"Footnote",Form:"Form","Form eyebrow":"Form eyebrow","Form heading":"Form heading","Form intro":"Form intro","Formatting \u2014 click a row first":"Formatting \u2014 click a row first","Formatting \u2014 row {n}":"Formatting \u2014 row {n}",Founders:"Founders","Founders heading":"Founders heading","Founders statement":"Founders statement","Four across":"Four across","Four stagger":"Four stagger",Frequency:"Frequency","Frequently *asked.*":"Frequently *asked.*",From:"From","From the bottom":"From the bottom",Full:"Full","Full width":"Full width","Full-bleed intro image the next section scrolls over.":"Full-bleed intro image the next section scrolls over.","Full-screen image or video with a headline.":"Full-screen image or video with a headline.","Full-screen opener with rotating slides.":"Full-screen opener with rotating slides.",Gallery:"Gallery",Gap:"Gap","Gap only":"Gap only","Give the new template page a name. It starts blank \u2014 add sections once it opens.":"Give the new template page a name. It starts blank \u2014 add sections once it opens.","Gives the other card this card's Corners.":"Gives the other card this card's Corners.","Gives the other {n} cards this card's Corners.":"Gives the other {n} cards this card's Corners.",Glide:"Glide",Good:"Good","Greeting message":"Greeting message",Grid:"Grid",Group:"Group","Group heading":"Group heading","Group name":"Group name",Gutter:"Gutter",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",HQ:"HQ",HTML:"HTML","HTML tag":"HTML tag",Hairline:"Hairline","Hairline borders":"Hairline borders",Half:"Half","Hand-picked products in a tidy grid.":"Hand-picked products in a tidy grid.","Hard to read":"Hard to read",Header:"Header","Header and footer not live yet":"Header and footer not live yet","Header badge":"Header badge","Header settings belong to a website.":"Header settings belong to a website.",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading font size":"Heading font size",Headings:"Headings",Headquarters:"Headquarters",Height:"Height",Hero:"Hero","Hero & intros":"Hero & intros","Hero Single":"Hero Single","Hero Slide":"Hero Slide","Hero button":"Hero button","Hero line":"Hero line","Hidden on the page":"Hidden on the page",Hide:"Hide","Hide {label} on the slide":"Hide {label} on the slide",Highlight:"Highlight","Highlight badge":"Highlight badge","Highlight key numbers \u2014 years, designs.":"Highlight key numbers \u2014 years, designs.","Highlight line":"Highlight line","Highlight when a link jumps here":"Highlight when a link jumps here","Highlighted card":"Highlighted card",Hint:"Hint","Hold video":"Hold video",Home:"Home","Host part":"Host part","Hours, minutes and seconds to a set date and time, then one line.":"Hours, minutes and seconds to a set date and time, then one line.",Hover:"Hover","Hover effect":"Hover effect",Icon:"Icon","Icon after text":"Icon after text","Icon at the far end":"Icon at the far end","Icon before text":"Icon before text","Icon only":"Icon only","Icon position":"Icon position","Illustrative example":"Illustrative example",Image:"Image","Image & Text Columns":"Image & Text Columns","Image & Text Split":"Image & Text Split","Image 2":"Image 2","Image background":"Image background","Image caption":"Image caption","Image column":"Image column","Image content":"Image content","Image date":"Image date","Image fit":"Image fit","Image focus":"Image focus","Image label":"Image label","Image left":"Image left","Image meta":"Image meta","Image overlay":"Image overlay","Image right":"Image right","Image side":"Image side","Image stage":"Image stage","Image tag":"Image tag","Image tint":"Image tint","Image width":"Image width","Image \u2014 set a path":"Image \u2014 set a path","In its own box":"In its own box","In progress (main)":"In progress (main)","In the card":"In the card","In the product":"In the product","In this issue":"In this issue","In this section":"In this section","In your own time zone. Every visitor counts down to the same moment.":"In your own time zone. Every visitor counts down to the same moment.",Instagram:"Instagram",Integrations:"Integrations","Integrations Grid":"Integrations Grid",Interview:"Interview",Intro:"Intro","Introduce your company in a paragraph or two.":"Introduce your company in a paragraph or two.","Issue Header":"Issue Header","Issue lines":"Issue lines","Issue meta lines":"Issue meta lines",Item:"Item","Item content":"Item content",Items:"Items","Its own":"Its own","Its size follows Styles \u25B8 {follows} \u2014 {px}px right now.":"Its size follows Styles \u25B8 {follows} \u2014 {px}px right now.","Its size follows Styles \u25B8 {follows}.":"Its size follows Styles \u25B8 {follows}.","Job card label":"Job card label",Join:"Join","Join our email list":"Join our email list","Jumps to a section on that page.":"Jumps to a section on that page.","Kanban board":"Kanban board","Kanban board (job columns)":"Kanban board (job columns)","Kanban columns":"Kanban columns","Keep this section's own built-in size":"Keep this section's own built-in size","Key *features.*":"Key *features.*","Key Features":"Key Features",Kind:"Kind",LINE:"LINE",LIVE:"LIVE",Label:"Label","Label color":"Label color","Label only":"Label only",Labels:"Labels",Ladder:"Ladder","Landscape 4:3":"Landscape 4:3",Large:"Large","Large tabs":"Large tabs","Large text only":"Large text only","Large \u2014 56px":"Large \u2014 56px","Latest Posts":"Latest Posts","Latest journal posts in a three-card row.":"Latest journal posts in a three-card row.",Latitude:"Latitude","Latitude, longitude":"Latitude, longitude",Layout:"Layout","Layout & structure":"Layout & structure","Layout's own":"Layout's own","Layout, structure & embeds":"Layout, structure & embeds",Layouts:"Layouts",Lead:"Lead","Lead Text":"Lead Text","Learn more":"Learn more","Leave a blank line between paragraphs to start a new one.":"Leave a blank line between paragraphs to start a new one.","Leave a field blank to use the built-in wording.":"Leave a field blank to use the built-in wording.",Left:"Left","Left of the copy":"Left of the copy","Legal & documents":"Legal & documents","Legal Line":"Legal Line",Length:"Length",Level:"Level","Lifestyle photos":"Lifestyle photos",Lift:"Lift",Lifted:"Lifted",Light:"Light",Lightbox:"Lightbox","Limited release":"Limited release",Line:"Line","Line (trend)":"Line (trend)",Link:"Link","Link from":"Link from","Link to":"Link to","Linked to a blog post. This editor has no blog to pick another from; choose \u201CNone (manual)\u201D to author the section yourself.":"Linked to a blog post. This editor has no blog to pick another from; choose \u201CNone (manual)\u201D to author the section yourself.","Linked to \u201C{name}\u201D":"Linked to \u201C{name}\u201D",LinkedIn:"LinkedIn",Links:"Links","Links to":"Links to",List:"List","List search":"List search",Live:"Live","Live chat":"Live chat","Live chat settings belong to a website.":"Live chat settings belong to a website.","Live number":"Live number","Live numbers":"Live numbers","Loading versions":"Loading versions","Loading\u2026":"Loading\u2026","Location content":"Location content","Location name":"Location name",Locations:"Locations","Locations Map":"Locations Map",Logo:"Logo","Logo alt text":"Logo alt text","Logo color":"Logo color","Logo content":"Logo content","Logo description":"Logo description","Logo five":"Logo five","Logo four":"Logo four","Logo height":"Logo height","Logo image":"Logo image","Logo one":"Logo one","Logo style":"Logo style","Logo three":"Logo three","Logo two":"Logo two",Logos:"Logos","Long read":"Long read","Long-form document body with an 'On this page' contents list.":"Long-form document body with an 'On this page' contents list.",Longitude:"Longitude",Look:"Look","Lookup busy \u2014 try again in a moment.":"Lookup busy \u2014 try again in a moment.",Loop:"Loop","Los Angeles \xB7 Fort Lauderdale \xB7 Bewdley \xB7 Drachten \xB7 Mumbai \xB7 Selangor \xB7 Ho Chi Minh \xB7 Sydney. Three continents covered from one California design studio.":"Los Angeles \xB7 Fort Lauderdale \xB7 Bewdley \xB7 Drachten \xB7 Mumbai \xB7 Selangor \xB7 Ho Chi Minh \xB7 Sydney. Three continents covered from one California design studio.",Main:"Main","Main Pages":"Main Pages","Main color":"Main color","Main heading":"Main heading","Main heading\n*Highlight line*":`Main heading
2
+ *a thousand rows.*`,"A plain editorial text section \u2014 eyebrow, heading and body copy.":"A plain editorial text section \u2014 eyebrow, heading and body copy.","A product hero \u2014 image beside price, bullets and a buy button.":"A product hero \u2014 image beside price, bullets and a buy button.","A row of partner or brand logos.":"A row of partner or brand logos.","A scrolling marquee of short phrases, full width.":"A scrolling marquee of short phrases, full width.","A second customer quote \u2014 what they loved, in a sentence or two.":"A second customer quote \u2014 what they loved, in a sentence or two.","A section heading over a grid of column cards.":"A section heading over a grid of column cards.","A sentence or two of supporting copy.":"A sentence or two of supporting copy.","A shared section":"A shared section","A short customer quote goes here \u2014 replace it with a real testimonial from your customers.":"A short customer quote goes here \u2014 replace it with a real testimonial from your customers.","A short customer quote goes here.":"A short customer quote goes here.","A short description of this recurring column.":"A short description of this recurring column.","A short lead paragraph introducing this section \u2014 a sentence or two about its theme.":"A short lead paragraph introducing this section \u2014 a sentence or two about its theme.","A short line about this card.":"A short line about this card.","A short line about this milestone.":"A short line about this milestone.","A short pull quote.":"A short pull quote.","A short reassurance note under the total.":"A short reassurance note under the total.","A short summary of the article goes here.":"A short summary of the article goes here.","A short summary of the featured article \u2014 one or two sentences that draw the reader in.":"A short summary of the featured article \u2014 one or two sentences that draw the reader in.","A short summary of the post \u2014 one or two sentences.":"A short summary of the post \u2014 one or two sentences.","A single heading line.":"A single heading line.","A slim trail showing where the reader is (Home / Journal\u2026).":"A slim trail showing where the reader is (Home / Journal\u2026).","A spec sheet \u2014 labeled rows of product specifications.":"A spec sheet \u2014 labeled rows of product specifications.","A standalone image, at the width you set.":"A standalone image, at the width you set.","A sticky row of category tabs with counts and links.":"A sticky row of category tabs with counts and links.","A sticky tab bar that marks the page you are on.":"A sticky tab bar that marks the page you are on.","A sticky tab bar to switch between documents.":"A sticky tab bar to switch between documents.","A template is a blueprint \u2014 it has no website of its own, so there is nothing here to change.":"A template is a blueprint \u2014 it has no website of its own, so there is nothing here to change.","A theme-color chip and heading over a grid of short feature labels.":"A theme-color chip and heading over a grid of short feature labels.","A thin horizontal rule between sections.":"A thin horizontal rule between sections.","A thin one-line spec strip \u2014 small-caps items spread across the width, as a dark band or a bare hairline row.":"A thin one-line spec strip \u2014 small-caps items spread across the width, as a dark band or a bare hairline row.","A third short quote to round out the row.":"A third short quote to round out the row.","A three-up meta strip for the foot of a document.":"A three-up meta strip for the foot of a document.","A titled chart \u2014 bars, line or donut \u2014 drawn from your own labeled data points.":"A titled chart \u2014 bars, line or donut \u2014 drawn from your own labeled data points.","A vehicle picker \u2014 make, model, year and trim resolve the OEM stock fitment live.":"A vehicle picker \u2014 make, model, year and trim resolve the OEM stock fitment live.","A wall of city photos, grouped by region. Each photo links to its city's card.":"A wall of city photos, grouped by region. Each photo links to its city's card.","A wall of your photos or your products' pictures, with a click-to-open lightbox.":"A wall of your photos or your products' pictures, with a click-to-open lightbox.","A world map of your locations with a legend \u2014 designed here, sold worldwide.":"A world map of your locations with a legend \u2014 designed here, sold worldwide.","A write-a-review form \u2014 submissions wait for your approval before they show.":"A write-a-review form \u2014 submissions wait for your approval before they show.","AV1 file":"AV1 file","About & brand story":"About & brand story",Accessories:"Accessories",Accordion:"Accordion",Account:"Account","Active tab":"Active tab",Add:"Add","Add a *headline* for this post.":"Add a *headline* for this post.","Add a *headline* for this story.":"Add a *headline* for this story.","Add a page":"Add a page","Add a sentence or two introducing this document.":"Add a sentence or two introducing this document.","Add a sentence or two of supporting copy.":"Add a sentence or two of supporting copy.","Add a short heading.":"Add a short heading.","Add a short statement here \u2014 a sentence or two is plenty.":"Add a short statement here \u2014 a sentence or two is plenty.","Add an anchor":"Add an anchor","Add an office in the inspector":"Add an office in the inspector","Add another question":"Add another question","Add city":"Add city","Add group":"Add group","Add new theme":"Add new theme","Add office coordinates to plot the map":"Add office coordinates to plot the map","Add page":"Add page","Add slide":"Add slide","Add this section's copy here.":"Add this section's copy here.","Add this section's copy here. A blank line starts a new paragraph.":"Add this section's copy here. A blank line starts a new paragraph.","Add your answer here \u2014 a sentence or two is plenty.":"Add your answer here \u2014 a sentence or two is plenty.","Add your answer here.":"Add your answer here.","Add your answer here. Keep it clear and concise so it stays easy to scan.":"Add your answer here. Keep it clear and concise so it stays easy to scan.","Add your first question":"Add your first question","Add your numbers.":"Add your numbers.",Address:"Address",After:"After",All:"All","Alt text":"Alt text",Alternating:"Alternating","Alternating (zig-zag)":"Alternating (zig-zag)",Always:"Always",Amount:"Amount","An editorial aside beside a rail-marked timeline of dated entries.":"An editorial aside beside a rail-marked timeline of dated entries.","An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.":"An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.","An editorial text panel with a stat strip and founders' note.":"An editorial text panel with a stat strip and founders' note.","An empty section. Add whatever you want inside.":"An empty section. Add whatever you want inside.",Anchor:"Anchor",Angle:"Angle",Animation:"Animation","Another group already uses this heading \u2014 pick a different one.":"Another group already uses this heading \u2014 pick a different one.",Answer:"Answer",App:"App","App chips":"App chips","App name":"App name",Appearance:"Appearance","Appearance settings belong to a website.":"Appearance settings belong to a website.","Applied to {n} card":"Applied to {n} card","Applied to {n} cards":"Applied to {n} cards","Apply to all cards":"Apply to all cards","Approved customer reviews in a star-rated card grid, pulled live.":"Approved customer reviews in a star-rated card grid, pulled live.",Arrangement:"Arrangement",Arrows:"Arrows","Arrows placement":"Arrows placement","Arrows shape":"Arrows shape",Article:"Article","Article *headline* goes here.":"Article *headline* goes here.","Article Body":"Article Body","Article Text":"Article Text","Article headline":"Article headline","Article title":"Article title","As shot":"As shot","As uploaded":"As uploaded","Aspect ratio":"Aspect ratio","At zero":"At zero",Attribution:"Attribution",Auto:"Auto","Auto contrast":"Auto contrast","Auto-advance slides":"Auto-advance slides","Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.":"Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.","Auto-slide":"Auto-slide","Avg rating":"Avg rating","Avg. weight saving":"Avg. weight saving",Background:"Background","Background color":"Background color","Background image":"Background image","Background images":"Background images","Background width":"Background width",Badge:"Badge","Bank transfer":"Bank transfer",Banner:"Banner","Banner headline":"Banner headline",Bar:"Bar",Bare:"Bare",Bars:"Bars","Bars (comparison / funnel)":"Bars (comparison / funnel)","Bars heading":"Bars heading",Basics:"Basics",Before:"Before","Begin reading":"Begin reading",Below:"Below","Below picture":"Below picture","Big first":"Big first","Big left":"Big left","Big right":"Big right","Big stat":"Big stat","Black and white":"Black and white","Black and white logos":"Black and white logos",Block:"Block","Block gap":"Block gap","Block spacing":"Block spacing","Block widths":"Block widths","Blog & journal":"Blog & journal","Blog post":"Blog post","Blog post source":"Blog post source",Body:"Body",Bold:"Bold","Bold word":"Bold word","Booking Form":"Booking Form",Border:"Border","Border bottom":"Border bottom","Border color":"Border color","Border left":"Border left","Border right":"Border right","Border style":"Border style","Border top":"Border top","Border width":"Border width",Borders:"Borders",Bottom:"Bottom","Bottom center":"Bottom center","Bottom left":"Bottom left","Bottom right":"Bottom right",Bounce:"Bounce",Box:"Box","Box name":"Box name","Box shape":"Box shape","Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.":"Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.","Brand Text":"Brand Text","Brand name":"Brand name",Breadcrumb:"Breadcrumb",Brick:"Brick","Browser mock":"Browser mock","Browser shop":"Browser shop","Browser storefront (hero + tiles)":"Browser storefront (hero + tiles)","Build this footer out of Boxes and blocks, like a page: the same menus, signup, social links and logo, with the copyright as a Legal Line. Your current footer is kept.":"Build this footer out of Boxes and blocks, like a page: the same menus, signup, social links and logo, with the copyright as a Legal Line. Your current footer is kept.","Bundle Products":"Bundle Products",Button:"Button","Button Right Text":"Button Right Text","Button color":"Button color","Button label":"Button label","Button link":"Button link","Button text color":"Button text color",Buttons:"Buttons","Buy button":"Buy button","By the *numbers*":"By the *numbers*","By the numbers":"By the numbers","Call-to-Action Heading":"Call-to-Action Heading",Cancel:"Cancel",Caption:"Caption",Card:"Card","Card body":"Card body","Card button":"Card button","Card content":"Card content","Card header strip":"Card header strip","Card height":"Card height","Card image":"Card image","Card layout":"Card layout","Card link":"Card link","Card list":"Card list","Card number":"Card number","Card outline":"Card outline","Card shadow":"Card shadow","Card style":"Card style","Card subtitle":"Card subtitle","Card template":"Card template","Card title":"Card title","Card title one":"Card title one","Card title three":"Card title three","Card title two":"Card title two","Card type":"Card type","Card {n}":"Card {n}",Cards:"Cards","Cards 1, 3, 5 draw the other way round":"Cards 1, 3, 5 draw the other way round","Cards 2, 4, 6 draw the other way round":"Cards 2, 4, 6 draw the other way round",Cart:"Cart",Cash:"Cash","Catalog Filter Bar":"Catalog Filter Bar",Category:"Category","Category Bar":"Category Bar","Category bar":"Category bar","Cell size":"Cell size","Cell width":"Cell width",Center:"Center","Changed on every page":"Changed on every page","Changes not live yet":"Changes not live yet",Chart:"Chart","Chart style":"Chart style","Chat with us":"Chat with us","Check it with Preview. Press Publish to put it live.":"Check it with Preview. Press Publish to put it live.","Checkout & ordering":"Checkout & ordering","Chip label":"Chip label",Chips:"Chips","Choose a page":"Choose a page","Choose a popup":"Choose a popup","Choose a post":"Choose a post","Choose a product":"Choose a product","Choose a section":"Choose a section","Choose an image":"Choose an image","Cities in this group":"Cities in this group",City:"City","City maps":"City maps","City pictures":"City pictures","City strip":"City strip","City \xB7 state \xB7 postcode":"City \xB7 state \xB7 postcode","Claims bars":"Claims bars","Claims panel":"Claims panel","Claims panel (rows + defect bars)":"Claims panel (rows + defect bars)","Clear colors":"Clear colors","Clear this site\u2019s colors?":"Clear this site\u2019s colors?","Click to play":"Click to play",Collapse:"Collapse","Collapse {name}":"Collapse {name}",Collections:"Collections",Color:"Color","Column *title.*":"Column *title.*","Column 1 cards":"Column 1 cards","Column 1 title":"Column 1 title","Column 2 cards":"Column 2 cards","Column 2 title":"Column 2 title","Column 3 cards":"Column 3 cards","Column 3 title":"Column 3 title","Column 4 cards":"Column 4 cards","Column 4 title":"Column 4 title","Column {n}":"Column {n}",Columns:"Columns","Compatible Tyres":"Compatible Tyres","Connect to a live number":"Connect to a live number","Contact / Locations":"Contact / Locations","Contact Form":"Contact Form","Contact, FAQ & forms":"Contact, FAQ & forms",Contain:"Contain",Content:"Content","Content cannot be wider than the background.":"Content cannot be wider than the background.","Content position":"Content position","Content width":"Content width",Contents:"Contents","Contents heading":"Contents heading","Contents label":"Contents label",Coordinates:"Coordinates","Copy above image":"Copy above image","Copy over image":"Copy over image","Copying\u2026":"Copying\u2026","Corner note":"Corner note",Corners:"Corners","Couldn\u2019t add the page \u2014 please retry.":"Couldn\u2019t add the page \u2014 please retry.","Couldn\u2019t add the popup \u2014 please retry.":"Couldn\u2019t add the popup \u2014 please retry.","Couldn\u2019t delete the page \u2014 please retry.":"Couldn\u2019t delete the page \u2014 please retry.","Couldn\u2019t duplicate the section \u2014 please retry":"Couldn\u2019t duplicate the section \u2014 please retry","Couldn\u2019t load pages":"Couldn\u2019t load pages","Couldn\u2019t open this section.":"Couldn\u2019t open this section.","Couldn\u2019t reach {place}.":"Couldn\u2019t reach {place}.",Count:"Count",Countdown:"Countdown",Country:"Country","Country Switch":"Country Switch",Cover:"Cover","Cover image":"Cover image",Covers:"Covers","Cross \u2715":"Cross \u2715",Crumbs:"Crumbs","Current page":"Current page",Custom:"Custom","Custom HTML":"Custom HTML","Custom URL":"Custom URL","Custom color":"Custom color","Custom: the width of each block in %, the last block left out":"Custom: the width of each block in %, the last block left out","Customer Photo Grid":"Customer Photo Grid","Customer name":"Customer name","Customer photos in a card grid with a click-to-open lightbox.":"Customer photos in a card grid with a click-to-open lightbox.","Customer quotes in a grid \u2014 the quote, a name and a role.":"Customer quotes in a grid \u2014 the quote, a name and a role.",Dark:"Dark","Dark band":"Dark band",Darken:"Darken","Darken on hover":"Darken on hover","Darken style":"Darken style",Dashed:"Dashed","Data points":"Data points",Date:"Date","Dealer name":"Dealer name",Dealers:"Dealers","Dealers are not available on this website":"Dealers are not available on this website","Deck / standfirst":"Deck / standfirst",Default:"Default","Defect rate by product":"Defect rate by product",Dek:"Dek",Delay:"Delay","Delete city":"Delete city","Delete group ({n} cities)":"Delete group ({n} cities)","Delete group ({n} city)":"Delete group ({n} city)","Delete {label} group ({n} cities)":"Delete {label} group ({n} cities)","Delete {label} group ({n} city)":"Delete {label} group ({n} city)","Delete {name}":"Delete {name}","Delete \u201C{name}\u201D":"Delete \u201C{name}\u201D","Deleted \u201C{name}\u201D":"Deleted \u201C{name}\u201D",Delivery:"Delivery","Delivery Options":"Delivery Options","Delivery tiers as cards \u2014 name, window and price, one highlighted.":"Delivery tiers as cards \u2014 name, window and price, one highlighted.","Describe this section in a sentence or two.":"Describe this section in a sentence or two.","Describe this step in a sentence or two.":"Describe this step in a sentence or two.","Describe what happened, in a sentence or two.":"Describe what happened, in a sentence or two.",Design:"Design",Desktop:"Desktop",Detail:"Detail","Detail line":"Detail line",Direction:"Direction","Directions link":"Directions link","Dismiss link":"Dismiss link",Display:"Display",Distance:"Distance","Distance from top":"Distance from top",Divider:"Divider","Document Detail Cards":"Document Detail Cards","Document Header":"Document Header","Document Tabs":"Document Tabs","Document Text":"Document Text","Document body":"Document body","Document masthead":"Document masthead","Document tabs":"Document tabs",Done:"Done",Donut:"Donut","Donut (split of a whole)":"Donut (split of a whole)","Dot \u25CF":"Dot \u25CF",Dots:"Dots",Dotted:"Dotted",Down:"Down","Draft before restore":"Draft before restore","Drop in your own sanitized HTML.":"Drop in your own sanitized HTML.","Duplicate section":"Duplicate section","Duplicate to another page":"Duplicate to another page","Duplicate to page":"Duplicate to page","Duplicate \u201C{name}\u201D":"Duplicate \u201C{name}\u201D","Duplicated to \u201C{name}\u201D":"Duplicated to \u201C{name}\u201D",Duration:"Duration",Dynamic:"Dynamic","Dynamic Pages":"Dynamic Pages","EU Tyre Label":"EU Tyre Label","Each block":"Each block","Each row":"Each row","Each side":"Each side","Each website created from this template sets its own appearance afterwards.":"Each website created from this template sets its own appearance afterwards.","Each website created from this template sets its own header afterwards.":"Each website created from this template sets its own header afterwards.","Each website created from this template sets its own live chat afterwards.":"Each website created from this template sets its own live chat afterwards.","Each website created from this template sets its own social link afterwards.":"Each website created from this template sets its own social link afterwards.","Each website created from this template sets its own {what} afterwards.":"Each website created from this template sets its own {what} afterwards.","Easy to read":"Easy to read",Edit:"Edit","Edit colors":"Edit colors","Edit colors for {name}":"Edit colors for {name}","Edit {name}":"Edit {name}","Editing {name} changes it everywhere.":"Editing {name} changes it everywhere.","Editor only \u2014 not shown live":"Editor only \u2014 not shown live",Editorial:"Editorial","Editorial Text":"Editorial Text",Effect:"Effect",Email:"Email","Email Form":"Email Form","Email address":"Email address","Email signup":"Email signup",Emphasis:"Emphasis",Empty:"Empty",Ends:"Ends","Enter by hand":"Enter by hand",Entrance:"Entrance",Entries:"Entries","Entries count":"Entries count",Equal:"Equal",Essay:"Essay",Even:"Even","Even cards":"Even cards","Every Publish keeps a copy of the whole website: pages, menus and site styles.":"Every Publish keeps a copy of the whole website: pages, menus and site styles.","Every text on the site that follows {style} changes to look like this one. This text\u2019s own changes are cleared, and it keeps following {style}.":"Every text on the site that follows {style} changes to look like this one. This text\u2019s own changes are cleared, and it keeps following {style}.","Every {part} in this section follows it. The face and the size change; the letter case is the section\u2019s own and stays as it is.":"Every {part} in this section follows it. The face and the size change; the letter case is the section\u2019s own and stays as it is.","Everything else on this block comes from the linked post. Unlink it to edit by hand.":"Everything else on this block comes from the linked post. Unlink it to edit by hand.","Everything is live":"Everything is live",Excerpt:"Excerpt","Extra large \u2014 64px":"Extra large \u2014 64px",Eyebrow:"Eyebrow","Eyebrow style":"Eyebrow style",Facebook:"Facebook",Fade:"Fade","Fade in":"Fade in","Fade out":"Fade out",Feature:"Feature","Feature Banner":"Feature Banner","Feature Rows":"Feature Rows","Feature label":"Feature label","Feature label five":"Feature label five","Feature label four":"Feature label four","Feature label one":"Feature label one","Feature label six":"Feature label six","Feature label three":"Feature label three","Feature label two":"Feature label two","Feature story":"Feature story",Featured:"Featured","Featured *image*":"Featured *image*","Featured cover":"Featured cover",Features:"Features",Feedback:"Feedback","Field label":"Field label","Field notes":"Field notes",Fill:"Fill","Fill color":"Fill color","Fill content":"Fill content","Fill row":"Fill row",Filled:"Filled","Filters the collection grids below it \u2014 a sticky row of Pills (the default), or Columns, one per filter you switch on.":"Filters the collection grids below it \u2014 a sticky row of Pills (the default), or Columns, one per filter you switch on.","Find from the address":"Find from the address","Find from the address (OpenStreetMap)":"Find from the address (OpenStreetMap)","Finding\u2026":"Finding\u2026","Fine print":"Fine print","Finish steps":"Finish steps","Finish swatches":"Finish swatches","Finish \xB7 Size \xB7 \xD71":"Finish \xB7 Size \xB7 \xD71","First group":"First group","First item":"First item","First section":"First section","Fit content":"Fit content","Fitment Form":"Fitment Form","Fitment Table":"Fitment Table",Fixed:"Fixed","Fixed size \u2014 the site\u2019s Text setting doesn\u2019t resize this.":"Fixed size \u2014 the site\u2019s Text setting doesn\u2019t resize this.",Flat:"Flat",Flip:"Flip","Follow the page":"Follow the page","Follow the slideshow":"Follow the slideshow","Follows Desktop":"Follows Desktop","Follows Styles \u25B8 Basics \u25B8 Corners until you set a number here.":"Follows Styles \u25B8 Basics \u25B8 Corners until you set a number here.","Follows the section's Corners until you set a number here.":"Follows the section's Corners until you set a number here.","Follows the site":"Follows the site","Footer Box":"Footer Box",Footnote:"Footnote",Form:"Form","Form eyebrow":"Form eyebrow","Form heading":"Form heading","Form intro":"Form intro","Formatting \u2014 click a row first":"Formatting \u2014 click a row first","Formatting \u2014 row {n}":"Formatting \u2014 row {n}",Founders:"Founders","Founders heading":"Founders heading","Founders statement":"Founders statement","Four across":"Four across","Four stagger":"Four stagger",Frequency:"Frequency","Frequently *asked.*":"Frequently *asked.*",From:"From","From the bottom":"From the bottom",Full:"Full","Full width":"Full width","Full-bleed intro image the next section scrolls over.":"Full-bleed intro image the next section scrolls over.","Full-screen image or video with a headline.":"Full-screen image or video with a headline.","Full-screen opener with rotating slides.":"Full-screen opener with rotating slides.",Gallery:"Gallery",Gap:"Gap","Gap only":"Gap only","Give the new template page a name. It starts blank \u2014 add sections once it opens.":"Give the new template page a name. It starts blank \u2014 add sections once it opens.","Gives the other card this card's Corners.":"Gives the other card this card's Corners.","Gives the other {n} cards this card's Corners.":"Gives the other {n} cards this card's Corners.",Glide:"Glide",Good:"Good","Greeting message":"Greeting message",Grid:"Grid",Group:"Group","Group heading":"Group heading","Group name":"Group name",Gutter:"Gutter",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",HQ:"HQ",HTML:"HTML","HTML tag":"HTML tag",Hairline:"Hairline","Hairline borders":"Hairline borders",Half:"Half","Hand-picked products in a tidy grid.":"Hand-picked products in a tidy grid.","Hard to read":"Hard to read",Header:"Header","Header and footer not live yet":"Header and footer not live yet","Header badge":"Header badge","Header settings belong to a website.":"Header settings belong to a website.",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading font size":"Heading font size",Headings:"Headings",Headquarters:"Headquarters",Height:"Height",Hero:"Hero","Hero & intros":"Hero & intros","Hero Single":"Hero Single","Hero Slide":"Hero Slide","Hero button":"Hero button","Hero line":"Hero line","Hidden on the page":"Hidden on the page",Hide:"Hide","Hide {label} on the slide":"Hide {label} on the slide",Highlight:"Highlight","Highlight badge":"Highlight badge","Highlight key numbers \u2014 years, designs.":"Highlight key numbers \u2014 years, designs.","Highlight line":"Highlight line","Highlight when a link jumps here":"Highlight when a link jumps here","Highlighted card":"Highlighted card",Hint:"Hint","Hold video":"Hold video",Home:"Home","Host part":"Host part","Hours, minutes and seconds to a set date and time, then one line.":"Hours, minutes and seconds to a set date and time, then one line.",Hover:"Hover","Hover effect":"Hover effect",Icon:"Icon","Icon after text":"Icon after text","Icon at the far end":"Icon at the far end","Icon before text":"Icon before text","Icon only":"Icon only","Icon position":"Icon position","Illustrative example":"Illustrative example",Image:"Image","Image & Text Columns":"Image & Text Columns","Image & Text Split":"Image & Text Split","Image 2":"Image 2","Image background":"Image background","Image caption":"Image caption","Image column":"Image column","Image content":"Image content","Image date":"Image date","Image fit":"Image fit","Image focus":"Image focus","Image label":"Image label","Image left":"Image left","Image meta":"Image meta","Image overlay":"Image overlay","Image right":"Image right","Image side":"Image side","Image stage":"Image stage","Image tag":"Image tag","Image tint":"Image tint","Image width":"Image width","Image \u2014 set a path":"Image \u2014 set a path","In its own box":"In its own box","In progress (main)":"In progress (main)","In the card":"In the card","In the product":"In the product","In this issue":"In this issue","In this section":"In this section","In your own time zone. Every visitor counts down to the same moment.":"In your own time zone. Every visitor counts down to the same moment.",Instagram:"Instagram",Integrations:"Integrations","Integrations Grid":"Integrations Grid",Interview:"Interview",Intro:"Intro","Introduce your company in a paragraph or two.":"Introduce your company in a paragraph or two.","Issue Header":"Issue Header","Issue lines":"Issue lines","Issue meta lines":"Issue meta lines",Item:"Item","Item content":"Item content",Items:"Items","Its own":"Its own","Its size follows Styles \u25B8 {follows} \u2014 {px}px right now.":"Its size follows Styles \u25B8 {follows} \u2014 {px}px right now.","Its size follows Styles \u25B8 {follows}.":"Its size follows Styles \u25B8 {follows}.","Job card label":"Job card label",Join:"Join","Join our email list":"Join our email list","Jumps to a section on that page.":"Jumps to a section on that page.","Kanban board":"Kanban board","Kanban board (job columns)":"Kanban board (job columns)","Kanban columns":"Kanban columns","Keep this section's own built-in size":"Keep this section's own built-in size","Key *features.*":"Key *features.*","Key Features":"Key Features",Kind:"Kind",LINE:"LINE",LIVE:"LIVE",Label:"Label","Label color":"Label color","Label only":"Label only",Labels:"Labels",Ladder:"Ladder","Landscape 4:3":"Landscape 4:3",Large:"Large","Large tabs":"Large tabs","Large text only":"Large text only","Large \u2014 56px":"Large \u2014 56px","Latest Posts":"Latest Posts","Latest journal posts in a three-card row.":"Latest journal posts in a three-card row.",Latitude:"Latitude","Latitude, longitude":"Latitude, longitude",Layout:"Layout","Layout & structure":"Layout & structure","Layout's own":"Layout's own","Layout, structure & embeds":"Layout, structure & embeds",Layouts:"Layouts",Lead:"Lead","Lead Text":"Lead Text","Learn more":"Learn more","Leave a blank line between paragraphs to start a new one.":"Leave a blank line between paragraphs to start a new one.","Leave a field blank to use the built-in wording.":"Leave a field blank to use the built-in wording.",Left:"Left","Left of the copy":"Left of the copy","Legal & documents":"Legal & documents","Legal Line":"Legal Line",Length:"Length",Level:"Level","Lifestyle photos":"Lifestyle photos",Lift:"Lift",Lifted:"Lifted",Light:"Light",Lightbox:"Lightbox","Limited release":"Limited release",Line:"Line","Line (trend)":"Line (trend)",Link:"Link","Link from":"Link from","Link to":"Link to","Linked to a blog post. This editor has no blog to pick another from; choose \u201CNone (manual)\u201D to author the section yourself.":"Linked to a blog post. This editor has no blog to pick another from; choose \u201CNone (manual)\u201D to author the section yourself.","Linked to \u201C{name}\u201D":"Linked to \u201C{name}\u201D",LinkedIn:"LinkedIn",Links:"Links","Links to":"Links to",List:"List","List search":"List search",Live:"Live","Live chat":"Live chat","Live chat settings belong to a website.":"Live chat settings belong to a website.","Live number":"Live number","Live numbers":"Live numbers","Loading versions":"Loading versions","Loading\u2026":"Loading\u2026","Location content":"Location content","Location name":"Location name",Locations:"Locations","Locations Map":"Locations Map",Logo:"Logo","Logo alt text":"Logo alt text","Logo color":"Logo color","Logo content":"Logo content","Logo description":"Logo description","Logo five":"Logo five","Logo four":"Logo four","Logo height":"Logo height","Logo image":"Logo image","Logo one":"Logo one","Logo style":"Logo style","Logo three":"Logo three","Logo two":"Logo two",Logos:"Logos","Long read":"Long read","Long-form document body with an 'On this page' contents list.":"Long-form document body with an 'On this page' contents list.",Longitude:"Longitude",Look:"Look","Lookup busy \u2014 try again in a moment.":"Lookup busy \u2014 try again in a moment.",Loop:"Loop","Los Angeles \xB7 Fort Lauderdale \xB7 Bewdley \xB7 Drachten \xB7 Mumbai \xB7 Selangor \xB7 Ho Chi Minh \xB7 Sydney. Three continents covered from one California design studio.":"Los Angeles \xB7 Fort Lauderdale \xB7 Bewdley \xB7 Drachten \xB7 Mumbai \xB7 Selangor \xB7 Ho Chi Minh \xB7 Sydney. Three continents covered from one California design studio.",Main:"Main","Main Pages":"Main Pages","Main color":"Main color","Main heading":"Main heading","Main heading\n*Highlight line*":`Main heading
3
3
  *Highlight line*`,Manual:"Manual",Map:"Map","Map & Theme":"Map & Theme","Map theme":"Map theme",Marks:"Marks",Marquee:"Marquee","Match / done (green)":"Match / done (green)",Media:"Media",Medium:"Medium","Medium \u2014 48px":"Medium \u2014 48px",Menu:"Menu",Message:"Message","Meta line":"Meta line",Metadata:"Metadata","Metadata rows":"Metadata rows",Middle:"Middle","Middle meta":"Middle meta",Milestone:"Milestone","Milestone Timeline":"Milestone Timeline","Milestone title.":"Milestone title.",Milestones:"Milestones","Mirror cards":"Mirror cards","Mockup Card":"Mockup Card","Mockup card":"Mockup card","Mockup position":"Mockup position",Mono:"Mono","Month DD, YYYY":"Month DD, YYYY",More:"More","Most popular":"Most popular","Move down":"Move down","Move up":"Move up","Multi-column container for blocks.":"Multi-column container for blocks.",Muted:"Muted",Name:"Name","Name / alt":"Name / alt","Name this version":"Name this version","Named versions are always kept. Leave it empty to take the name away.":"Named versions are always kept. Leave it empty to take the name away.","Narrows below":"Narrows below",Natural:"Natural","Navigation & wayfinding":"Navigation & wayfinding","Never published":"Never published","New page":"New page","New popup":"New popup","Next slide":"Next slide","No fill":"No fill","No frame could be made from this video. It is tried again the next time you save the page. The slide shows its background colour while the video loads.":"No frame could be made from this video. It is tried again the next time you save the page. The slide shows its background colour while the video loads.","No image yet. The slide shows its background colour until you choose one.":"No image yet. The slide shows its background colour until you choose one.","No image yet. The slide shows the video's frame until you choose one.":"No image yet. The slide shows the video's frame until you choose one.","No locations yet.":"No locations yet.","No match":"No match","No match (gray \u2715)":"No match (gray \u2715)","No other pages":"No other pages","No pages match your search":"No pages match your search","No pages yet. Add one with + above.":"No pages yet. Add one with + above.","No place found. Try another postcode.":"No place found. Try another postcode.","No question matches your search.":"No question matches your search.","No section anchors yet":"No section anchors yet","No style":"No style","No versions yet. Every Publish from now on keeps one.":"No versions yet. Every Publish from now on keeps one.","No. 1":"No. 1",None:"None","None (manual)":"None (manual)",Normal:"Normal","Not changed":"Not changed","Not chosen":"Not chosen","Not published":"Not published","Not saved. Reload the page.":"Not saved. Reload the page.","Not saved. Try again.":"Not saved. Try again.","Not set":"Not set","Not shown on the page":"Not shown on the page",Note:"Note","Note label":"Note label","Note value":"Note value",Nothing:"Nothing",Nudge:"Nudge",Number:"Number","Number style":"Number style",Numbered:"Numbered",Numbers:"Numbers","N\xB001, N\xB002":"N\xB001, N\xB002","Odd cards":"Odd cards",Off:"Off",Office:"Office","Office content":"Office content",Offices:"Offices","Offset tall":"Offset tall","On 1 page":"On 1 page","On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.":"On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.","On a phone":"On a phone","On card hover":"On card hover","On every blog post.":"On every blog post.","On every page":"On every page","On every page \xB7 old style":"On every page \xB7 old style","On other pages":"On other pages","On picture":"On picture","On the top line":"On the top line","On this page":"On this page","On {count} pages":"On {count} pages","On: the pinned box stays on top, and the sections after it scroll under it.":"On: the pinned box stays on top, and the sections after it scroll under it.",One:"One","One across":"One across","One colour from top to bottom":"One colour from top to bottom","One line":"One line","One line, ends with ...":"One line, ends with ...","One row":"One row","One then four":"One then four","One third":"One third","Only the size follows a site style. This section sets its own font, weight and letter case.":"Only the size follows a site style. This section sets its own font, weight and letter case.",Open:"Open","Open first answer":"Open first answer","Open the {name} in a new tab":"Open the {name} in a new tab","Open your saved draft in a new tab. Visitors don't see it.":"Open your saved draft in a new tab. Visitors don't see it.","Opening hours":"Opening hours","Operating footprint":"Operating footprint",Option:"Option",Order:"Order","Order Table":"Order Table","Order content":"Order content","Order summary":"Order summary",Others:"Others",Outline:"Outline",Outlined:"Outlined",Overlay:"Overlay","Overlay - ConsentBanner":"Overlay - ConsentBanner","Overlay button":"Overlay button","Overlay button link":"Overlay button link","Overlay color":"Overlay color","Overlay position":"Overlay position",Padding:"Padding","Padding bottom":"Padding bottom","Padding left":"Padding left","Padding right":"Padding right","Padding top":"Padding top",Page:"Page","Page Header":"Page Header","Page button":"Page button","Page name":"Page name","Page settings for \u201C{name}\u201D":"Page settings for \u201C{name}\u201D","Page width":"Page width",Pages:"Pages","Panel heading":"Panel heading","Panels & cards":"Panels & cards","Panels and cards":"Panels and cards","Panorama 21:9":"Panorama 21:9",Paragraph:"Paragraph","Paragraph size \u2014 13px":"Paragraph size \u2014 13px",Parallax:"Parallax","Part of {name}":"Part of {name}","Paste a link to each profile. A platform left empty shows nothing on the site.":"Paste a link to each profile. A platform left empty shows nothing on the site.","Payment Logos":"Payment Logos","Payment Methods":"Payment Methods","Payment content":"Payment content","Payment methods":"Payment methods",Phone:"Phone","Phone link":"Phone link","Photo Submission Form":"Photo Submission Form","Photo behind the words":"Photo behind the words",Photography:"Photography","Photos in a row":"Photos in a row","Pick a color to see how it reads.":"Pick a color to see how it reads.","Pick a post from {place} to auto-fill this section, or keep \u201CNone (manual)\u201D to author it yourself below.":"Pick a post from {place} to auto-fill this section, or keep \u201CNone (manual)\u201D to author it yourself below.","Pick who to reach, then a form that routes the message.":"Pick who to reach, then a form that routes the message.",Picture:"Picture","Picture first":"Picture first","Pin stops at":"Pin stops at","Pin while scrolling":"Pin while scrolling",Pinterest:"Pinterest",Place:"Place",Placement:"Placement",Plain:"Plain","Play video":"Play video",Playback:"Playback","Playback speed":"Playback speed","Plays well with\n*your favourite apps.*":`Plays well with
4
4
  *your favourite apps.*`,Popup:"Popup","Portal card":"Portal card","Portal card (stock + button + orders)":"Portal card (stock + button + orders)","Portrait 4:5":"Portrait 4:5",Position:"Position",Positions:"Positions","Post Card":"Post Card","Poster 2:3":"Poster 2:3",Prefix:"Prefix",Preview:"Preview","Preview hover state":"Preview hover state","Preview the live site (opens in a new tab)":"Preview the live site (opens in a new tab)","Preview the live site in a new tab":"Preview the live site in a new tab","Preview your saved draft in a new tab":"Preview your saved draft in a new tab","Previous slide":"Previous slide",Price:"Price","Privately held since day one. Same two founders.":"Privately held since day one. Same two founders.",Product:"Product","Product Grid":"Product Grid","Product Hero":"Product Hero","Product badge":"Product badge","Product collections in a tidy grid.":"Product collections in a tidy grid.","Product name":"Product name","Product page":"Product page","Product photos":"Product photos","Product record":"Product record","Product record (spec tiles)":"Product record (spec tiles)","Product renderings":"Product renderings","Product tiles":"Product tiles","Products, prices and forms always show as they are now.":"Products, prices and forms always show as they are now.","Promotions & sign-ups":"Promotions & sign-ups",Publish:"Publish",Published:"Published","Pull quote":"Pull quote","Put these drafts back":"Put these drafts back","Put this page on your site":"Put this page on your site","Put your changes on your site":"Put your changes on your site","Put your drafts back?":"Put your drafts back?","Q&A":"Q&A",Question:"Question",Questions:"Questions",Quiet:"Quiet",Quote:"Quote",Quotes:"Quotes",Rating:"Rating",Ratio:"Ratio","Read out in place of the picture, and shown if it can\u2019t load.":"Read out in place of the picture, and shown if it can\u2019t load.","Read the story":"Read the story","Read time":"Read time","Reads in":"Reads in","Ready-to-Order Banner":"Ready-to-Order Banner","Reassurance lines":"Reassurance lines","Record type":"Record type","Recurring Columns":"Recurring Columns","Reel label":"Reel label","Refresh now":"Refresh now","Region \xB7 country":"Region \xB7 country","Related Products":"Related Products","Remove section":"Remove section",Renderings:"Renderings","Repeating full-width rows \u2014 eyebrow, title and copy beside a numbered close-up image, alternating sides each row.":"Repeating full-width rows \u2014 eyebrow, title and copy beside a numbered close-up image, alternating sides each row.","Reset color":"Reset color","Reset {name} to the preset":"Reset {name} to the preset",Rest:"Rest",Restore:"Restore","Restore as draft":"Restore as draft","Restore one page only":"Restore one page only","Restore version {n}?":"Restore version {n}?","Restore whole website":"Restore whole website","Restore {page} from version {n}?":"Restore {page} from version {n}?","Result / order rows":"Result / order rows",Reveal:"Reveal","Review Form":"Review Form",Reviews:"Reviews",Right:"Right","Right Top Text":"Right Top Text","Right links":"Right links","Right of the copy":"Right of the copy",Rigs:"Rigs","Rigs fitted":"Rigs fitted",Rise:"Rise",Role:"Role","Role \xB7 Location":"Role \xB7 Location","Role \xB7 location":"Role \xB7 location",Rotate:"Rotate","Rounds the picture. Left alone it stays square.":"Rounds the picture. Left alone it stays square.","Rounds the picture. The card's own corner is in Styles.":"Rounds the picture. The card's own corner is in Styles.",Row:"Row","Row columns":"Row columns","Row style":"Row style",Rows:"Rows","Rows tall":"Rows tall","Rows, first image on the left":"Rows, first image on the left","Rows, first image on the right":"Rows, first image on the right","Same finish":"Same finish","Same finish shows the photos of the finish the card shows, else the first group.":"Same finish shows the photos of the finish the card shows, else the first group.",Sans:"Sans",Save:"Save","Save as Template":"Save as Template","Save this website as a platform template":"Save this website as a platform template","Save your page changes first":"Save your page changes first",Scale:"Scale",Screen:"Screen","Screen 16:10":"Screen 16:10","Screen top":"Screen top",Screens:"Screens",Scroll:"Scroll","Scroll-Over Text":"Scroll-Over Text","Scrolling Bar":"Scrolling Bar",Search:"Search","Search all pages":"Search all pages","Search all pages\u2026":"Search all pages\u2026","Search questions":"Search questions",Season:"Season","Second item":"Second item","Second section":"Second section","Second surface":"Second surface",Section:"Section","Section *heading.*":"Section *heading.*","Section *title*":"Section *title*","Section Header":"Section Header","Section above":"Section above","Section band":"Section band","Section below":"Section below","Section header":"Section header","Section heading":"Section heading","Section heading\n*Highlight line*":`Section heading
5
5
  *Highlight line*`,"Section heading *here.*":"Section heading *here.*","Section headline\n*Highlight line*":`Section headline