1import{d as V,o as l,h as Q,w as P,a as e,p as v,k as t,t as C,l as D,e as R,y as de,z as $e,L as He,c as n,F as k,b as B,j as W,s as ee,r as H,f as O,n as j,g as y,J as Le,R as Be,m as Y,H as Re,_ as ye,B as ie,O as ce,q as Ee}from"./app-qVgGo6Vb.js";import{_ as ze}from"./AppLayout.vue_vue_type_script_setup_true_lang-D1ENKbyj.js";import{k as b,l as Fe,g as we,e as Me,m as M,s as N,d as Pe,o as se,q as ue,j as je,t as De,v as f}from"./FlashBanner.vue_vue_type_script_setup_true_lang-CpBz9_7G.js";import{_ as pe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{u as Ve,_ as Xe}from"./NewArrivals.vue_vue_type_script_setup_true_lang-Cw8YUyXA.js";import{_ as Ne}from"./ReviewsSection.vue_vue_type_script_setup_true_lang-Dp7h0w8_.js";import{_ as re}from"./ProductCard.vue_vue_type_script_setup_true_lang-DQfb_uFq.js";import{_ as be}from"./CardFavouriteButton.vue_vue_type_script_setup_true_lang-MRUVPkms.js";import{_ as Oe}from"./NewsletterSection.vue_vue_type_script_setup_true_lang-Df_evMbH.js";import"./ImpersonationBanner.vue_vue_type_script_setup_true_lang-zZbUOISe.js";import"./AccountDrawer.vue_vue_type_script_setup_true_lang-CEayDMCn.js";import"./CarouselNav.vue_vue_type_script_setup_true_lang-DcaaizPk.js";import"./ReviewCard.vue_vue_type_script_setup_true_lang-rR0Vxlgk.js";const Qe=["src","alt"],Ue=V({__name:"CategoryCard",props:{category:{},variant:{default:"wide"}},setup(s){const a=s,o=R(()=>a.variant==="wide"?{w:b.wideW,h:b.wideH,imgW:b.wideImgW,imgH:b.wideImgH,imgLeft:b.wideImgLeft,imgTop:b.wideImgTop}:{w:b.tallW,h:b.tallH,imgW:b.tallImgW,imgH:b.tallImgH,imgLeft:b.tallImgLeft,imgTop:b.tallImgTop});return(_,T)=>(l(),Q(t(D),{href:`/antiques/${s.category.slug}`,class:"category-card block flex flex-col items-center gap-[30px] relative overflow-hidden px-[20px] pt-[20px] pb-[10px] transition-colors duration-200",style:v({width:`${o.value.w}px`,height:`${o.value.h}px`,borderRadius:`${t(b).radius}px`,boxShadow:t(b).shadow,backgroundColor:t(b).bg,"--category-hover-bg":t(b).hoverBg})},{default:P(()=>[e("p",{class:"category-card-title flex text-wrap font-display text-center whitespace-nowrap transition-colors duration-200",style:v({fontWeight:t(b).titleWeight,fontSize:`${t(b).titleSize}px`,lineHeight:`${t(b).titleLh}px`,color:t(b).titleColor})},C(s.category.name),5),e("div",{class:"overflow-hidden rounded",style:v({width:`${o.value.imgW}px`,height:`${o.value.imgH}px`})},[e("img",{src:s.category.image,alt:s.category.name,class:"w-full h-full object-cover",loading:"lazy"},null,8,Qe)],4)]),_:1},8,["href","style"]))}}),Ge=pe(Ue,[["__scopeId","data-v-4742fc7e"]]),Ye={class:"font-sans text-navy"},Je={class:"max-h-[280px] overflow-y-auto px-5 pb-4"},Ke={key:0,class:"text-[14px] font-normal text-navy/40","aria-live":"polite"},Ze={key:1,class:"text-[14px] font-normal text-navy/40","aria-live":"polite"},et={key:2,class:"list-none p-0 m-0 space-y-4"},tt={key:0,class:"space-y-2"},lt={class:"list-none p-0 m-0 space-y-1.5"},ot=["onClick"],nt={class:"min-w-0"},at={class:"block"},st={key:0,class:"mt-0.5 block text-[12px] text-navy/45"},rt=["onClick"],it=["onClick"],ct={class:"min-w-0 flex-1 line-clamp-2"},ut={key:0,class:"shrink-0 whitespace-nowrap text-[13px] text-navy/55"},dt={class:"max-h-[280px] overflow-y-auto px-5 pb-4"},pt={key:0,class:"text-[14px] font-normal text-navy/40","aria-live":"polite"},ft={key:1,class:"list-none p-0 m-0 space-y-3"},gt=["onClick"],ht={class:"min-w-0 text-[14px] font-normal leading-[1.35] line-clamp-2"},mt={key:2,class:"text-[14px] font-normal text-navy/40"},xt=V({__name:"HeroSearchPanel",props:{query:{},open:{type:Boolean}},setup(s){const a=s,o=H([]),_=H([]),T=H([]),S=H(!1),g=H(!1),m=R(()=>a.query.trim().length>=2),x=R(()=>a.query.trim()),i=R(()=>Fe(o.value)),E=R(()=>_.value.length>0||i.value.length>0);let A=0,z=null;async function te(c){const d=c.trim();if(d.length<2){o.value=[],_.value=[],S.value=!1;return}const h=++A;S.value=!0;try{const L=await fetch(`/search/suggest?q=${encodeURIComponent(d)}`,{headers:{Accept:"application/json"}});if(!L.ok)throw new Error(`HTTP ${L.status}`);const q=await L.json();if(h!==A)return;o.value=q.suggestions??[],_.value=q.categories??[]}catch{h===A&&(o.value=[],_.value=[])}finally{h===A&&(S.value=!1)}}async function J(){g.value=!0;try{const c=await fetch("/recommendations/for-you",{headers:{Accept:"application/json"}});if(!c.ok)throw new Error(`HTTP ${c.status}`);const d=await c.json();T.value=d.recommendations??[]}catch{T.value=[]}finally{g.value=!1}}de(()=>a.query,c=>{z&&clearTimeout(z),z=setTimeout(()=>te(c),180)},{immediate:!0}),de(()=>a.open,c=>{c&&!m.value&&J()},{immediate:!0});function K(c){if(c.slug){O.get(`/antique/${c.slug}`);return}O.get("/search",{q:c.title})}function X(c){O.get(c.href)}function Z(c){if(!c.category){O.get("/search",{q:a.query.trim()});return}O.get(`/antiques/${c.category.slug}`,{q:a.query.trim()})}function le(c){O.get(`/antique/${c.slug}`)}function w(){const c=x.value;c!==""&&O.get("/search",{q:c},{preserveScroll:!1})}return(c,d)=>$e((l(),n("div",Ye,[d[10]||(d[10]=e("hr",{class:"mx-[20px]"},null,-1)),m.value?(l(),n(k,{key:0},[d[8]||(d[8]=e("h3",{class:"px-5 pb-3 pt-4 text-[16px] text-left font-medium uppercase tracking-[0.12em] text-navy"}," Your Results ",-1)),e("div",Je,[S.value&&!E.value?(l(),n("p",Ke," Searching⦠")):!S.value&&!E.value?(l(),n("p",Ze," No quick matches for â"
1+C(x.value)+"â. ",1)):B("",!0),E.value?(l(),n("ul",et,[_.value.length?(l(),n("li",tt,[d[6]||(d[6]=e("p",{class:"text-[11px] font-medium uppercase tracking-[0.12em] text-navy/40"}," Categories ",-1)),e("ul",lt,[(l(!0),n(k,null,W(_.value,h=>(l(),n("li",{key:h.slug},[e("button",{type:"button",class:"flex w-full items-center gap-2.5 text-left text-[15px] font-normal transition-opacity hover:opacity-80",onMousedown:d[0]||(d[0]=ee(()=>{},["prevent"])),onClick:L=>X(h)},[d[5]||(d[5]=e("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",class:"shrink-0 opacity-70"},[e("path",{d:"M3.5 5.5H16.5",stroke:"currentColor","stroke-linecap":"round"}),e("path",{d:"M3.5 10H16.5",stroke:"currentColor","stroke-linecap":"round"}),e("path",{d:"M3.5 14.5H12.5",stroke:"currentColor","stroke-linecap":"round"})],-1)),e("span",nt,[e("span",at,C(h.label),1),h.parent_name?(l(),n("span",st," Browse category ")):B("",!0)])],40,ot)]))),128))])])):B("",!0),(l(!0),n(k,null,W(i.value,h=>{var L;return l(),n("li",{key:((L=h.category)==null?void 0:L.slug)??"uncategorized"},[h.category?(l(),n("button",{key:0,type:"button",class:"flex w-full items-center gap-2.5 text-left text-[15px] font-normal transition-opacity hover:opacity-80",onMousedown:d[1]||(d[1]=ee(()=>{},["prevent"])),onClick:q=>Z(h)},[d[7]||(d[7]=e("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",class:"shrink-0 opacity-70"},[e("path",{d:"M17.7846 17.7827L14.168 14.166",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",null,C(h.category.name),1)],40,rt)):B("",!0),e("ul",{class:j(["list-none p-0 m-0 space-y-1",h.category?"mt-1.5 pl-[6px] ml-5":""])},[(l(!0),n(k,null,W(h.products,(q,F)=>(l(),n("li",{key:(q.slug??q.title)+F},[e("button",{type:"button",class:"flex w-full items-center gap-3 text-left text-[14px] font-normal text-navy/40 transition-opacity hover:opacity-80",onMousedown:d[2]||(d[2]=ee(()=>{},["prevent"])),onClick:oe=>K(q)},[y(we,{src:q.image,size:44,"rounded-class":"rounded-[3px]"},null,8,["src"]),e("span",ct,C(q.title),1),q.formatted_price?(l(),n("span",ut,C(q.formatted_price),1)):B("",!0)],40,it)]))),128))],2)])}),128))])):B("",!0),e("button",{type:"button",class:"mt-4 text-left text-[14px] font-medium text-navy underline decoration-navy/40 underline-offset-[3px] transition-opacity hover:opacity-80",onMousedown:d[3]||(d[3]=ee(()=>{},["prevent"])),onClick:w}," Search all "+C(x.value),33)])],64)):(l(),n(k,{key:1},[d[9]||(d[9]=e("h3",{class:"px-5 pb-3 pt-4 lg:pt-8 text-[16px] text-left font-medium uppercase tracking-[0.12em] text-navy"}," Recommended For You ",-1)),e("div",dt,[g.value&&T.value.length===0?(l(),n("p",pt," Loading recommendations⦠")):T.value.length?(l(),n("ul",ft,[(l(!0),n(k,null,W(T.value,h=>(l(),n("li",{key:h.slug},[e("button",{type:"button",class:"flex w-full items-center gap-3 text-left transition-opacity hover:opacity-80",onMousedown:d[4]||(d[4]=ee(()=>{},["prevent"])),onClick:L=>le(h)},[y(we,{src:h.image,size:44,"rounded-class":"rounded-[3px]"},null,8,["src"]),e("span",ht,C(h.title),1)],40,gt)]))),128))])):(l(),n("p",mt," Browse a few items to see personalised picks here. "))])],64))],512)),[[He,s.open]])}}),vt={class:"mx-auto flex w-full flex-1 flex-col justify-center lg:flex-none"},yt={class:"absolute pointer-events-none h-full w-[50px] flex justify-center items-center"},wt=["placeholder","aria-expanded"],bt={class:"overflow-hidden h-full"},kt=["inert","aria-hidden"],_t={class:"relative pt-[150px] pb-[70px]"},$t={class:"flex justify-center overflow-hidden md:overflow-visible"},St=165,ke=339,Ct=45,Tt=V({__name:"HeroSection",props:{categories:{},heroImage:{}},setup(s){let a=null,o=null;async function _(){if(a&&o)return!0;const r=await ye(()=>import("./index-Bvu9zNsI.js"),[]);a=r.gsap??r.default;const u=await ye(()=>import("./ScrollTrigger-7Zy99s9Q.js"),[]),p=u.default;return o=u.ScrollTrigger??(p==null?void 0:p.ScrollTrigger)??p,!a||!o?!1:(a.registerPlugin(o),!0)}const T=s,S=H(""),g=H(!1);function m(){const r=S.value.trim();O.get("/search",r?{q:r}:{},{preserveScroll:!1})}const x=["wide","tall","tall","wide","tall","tall","wide","tall"],i=R(()=>(T.categories&&T.categories.length>0?T.categories.map((u,p)=>({name:je(u.name),slug:u.slug,image:u.image&&u.image!==""?u.image:`https://picsum.photos/seed/${u.slug||`cat-${p}`}/500/700`})):De).map((u,p)=>({...u,variant:x[p%x.length]}))),E=R(()=>[...i.value,...i.value]),A=H(null);let z=null;const te=H(null),J=H(null),K=H(null),X=H(null),Z=H(null),le=H(null);let w=null,c=null;const d=[];let h=null,L=0,q=!1,F=null,oe=!1;
1function ne(){return[J.value,K.value,X.value].filter(Boolean)}function fe(){const r=te.value;return r?Array.from(r.children).slice(0,i.value.length):[]}function ge(){if(!a)return;q=!0,d.forEach(u=>u.disable(!1,!1));const r=ne();a.killTweensOf(r),a.set(r,{autoAlpha:1,y:0})}function Se(){q=!1,d.forEach(r=>r.enable()),o==null||o.refresh()}function Ce(r){var p;oe=!0,F&&clearTimeout(F),ge(),g.value=!0,r.target.closest("input")&&document.activeElement!==Z.value&&(r.preventDefault(),(p=Z.value)==null||p.focus({preventScroll:!0}))}function he(){requestAnimationFrame(()=>{oe=!1})}function Te(){F&&clearTimeout(F),g.value=!0,ge()}function We(r){F&&clearTimeout(F),F=setTimeout(()=>{var I,$,U;if(oe){(I=Z.value)==null||I.focus({preventScroll:!0});return}const u=document.activeElement;if(u&&(($=X.value)!=null&&$.contains(u)))return;const p=r.relatedTarget;p&&((U=X.value)!=null&&U.contains(p))||(g.value=!1,Se())},120)}function ae(){if(!a)return;const r=te.value;if(!r)return;const u=r.children;if(u.length<=i.value.length)return;const p=u[0],$=u[i.value.length].offsetLeft-p.offsetLeft;if($<=0)return;const G=(Number(a.getProperty(r,"x"))||0)%-$,Ie=(w==null?void 0:w.paused())??!1;w==null||w.kill(),a.set(r,{x:G}),w=a.fromTo(r,{x:G},{x:G-$,duration:$/Ct,ease:"none",repeat:-1}),Ie&&w.pause()}function me(){if(!a)return;const r=A.value;if(!r||window.innerWidth>=1024)return;const u=r.children;if(u.length<=ue.length)return;const p=u[0],$=u[ue.length].offsetLeft-p.offsetLeft;if($<=0)return;const G=(Number(a.getProperty(r,"x"))||0)%-$;z==null||z.kill(),a.set(r,{x:G}),z=a.fromTo(r,{x:G},{x:G-$,duration:$/35,ease:"none",repeat:-1})}function xe(){w==null||w.pause()}function ve(){w==null||w.play()}function Ae(){if(!a||!le.value)return;const r=ne(),p=a.to(r,{autoAlpha:0,y:-40,ease:"none",scrollTrigger:{trigger:le.value,start:"160 top",end:"+=55%",scrub:.4,invalidateOnRefresh:!0}});p.scrollTrigger&&d.push(p.scrollTrigger)}function qe(){if(!a)return;const r=fe(),u=ne();c==null||c.kill(),c=a.timeline({defaults:{ease:"expo.out",force3D:!0},onComplete:()=>{a==null||a.set([...u,...r],{willChange:"auto"}),ae(),Ae()}}),c.to(u,{autoAlpha:1,y:0,duration:1.6,stagger:.22},0),r.length&&c.to(r,{autoAlpha:1,y:0,duration:1.4,stagger:{each:.08,from:"start"}},"-=0.85")}return Le(async()=>{var U;if(!await _()||!a||!o)return;o.config({ignoreMobileResize:!0});const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches,p=ne(),I=fe();if(L=window.innerWidth,u){a.set([...p,...I],{autoAlpha:1,y:0,willChange:"auto"}),requestAnimationFrame(()=>requestAnimationFrame(ae)),h=()=>{window.innerWidth!==L&&(L=window.innerWidth,(!c||c.progress()===1)&&ae())},window.addEventListener("resize",h);return}J.value&&a.set(J.value,{autoAlpha:0,y:26,force3D:!0}),K.value&&a.set(K.value,{autoAlpha:0,y:20,force3D:!0}),X.value&&a.set(X.value,{autoAlpha:0,y:20,force3D:!0}),I.length&&a.set(I,{autoAlpha:0,y:80,force3D:!0}),(((U=document.fonts)==null?void 0:U.ready)??Promise.resolve()).then(()=>{requestAnimationFrame(()=>requestAnimationFrame(qe)),requestAnimationFrame(()=>requestAnimationFrame(me))}),h=()=>{q||window.innerWidth!==L&&(L=window.innerWidth,(!c||c.progress()===1)&&(ae(),me()),o==null||o.refresh())},window.addEventListener("resize",h)}),Be(()=>{w==null||w.kill(),w=null,c==null||c.kill(),c=null,z==null||z.kill(),z=null,d.forEach(r=>r.kill()),d.length=0,h&&window.removeEventListener("resize",h),F&&clearTimeout(F)}),(r,u)=>(l(),n("section",{ref_key:"heroSection",ref:le,class:"relative isolate bg-navy text-white"},[e("div",{class:"pointer-events-none sticky top-0 h-[100svh] w-full -z-10 bg-navy bg-cover bg-center bg-no-repeat",style:v({marginBottom:"-100svh",backgroundColor:t(Me).navy,backgroundImage:s.heroImage?`linear-gradient(rgba(31, 38, 50, 0.55), rgba(31, 38, 50, 0.55)), url('${s.heroImage}')`:void 0}),"aria-hidden":"true"},null,4),e("div",{class:"hero-stage mx-auto flex flex-col px-6 text-center lg:justify-center lg:px-[95px]",style:v({"--hero-stage-h":`calc(100svh - ${St}px)`,"--hero-nav-offset":`calc(${t(se).navHeight}px + env(safe-area-inset-top, 0px))`,minHeight:"var(--hero-stage-h)",paddingTop:"var(--hero-nav-offset)",maxWidth:`${t(se).containerW}px`})},[e("div",vt,[e("h1",{ref_key:"heroH1",ref:J,class:"hero-intro-item font-display lowercase mx-auto text-[35px] lg:text-[70px]",style:v({maxWidth:`${t(M).h1MaxW}
1px`,fontWeight:t(M).h1Weight,lineHeight:t(M).h1Lh,color:t(M).h1Color})},[...u[1]||(u[1]=[e("span",{class:"capitalize"},"The",-1),Y(" home of",-1),e("br",{class:"lg:hidden"},null,-1),Y(" genuine",-1),e("br",{class:"hidden lg:inline"},null,-1),Y(" antiques",-1),e("br",{class:"lg:hidden"},null,-1),Y(" online, since 2002 ",-1)])],4),e("p",{ref_key:"heroSub",ref:K,class:"hero-intro-item font-sans mx-auto mt-[28px] xl:whitespace-nowrap",style:v({fontWeight:t(M).subWeight,fontSize:`${t(M).subSize}px`,lineHeight:t(M).subLh,letterSpacing:`${t(M).subTracking}px`})}," Explore thousands of unique antiques for sale, from a global community of trusted sellers. ",4),e("form",{ref_key:"heroSearch",ref:X,class:"hero-intro-item relative mx-auto mt-[36px] z-20 w-full max-w-[477px]",style:v({height:`${t(N).h}px`}),role:"search",onSubmit:ee(m,["prevent"]),onPointerdown:Ce,onPointerup:he,onPointercancel:he},[e("div",{class:"absolute left-0 right-0 top-0 z-30 overflow-hidden border border-navy/40 bg-white",style:v({borderRadius:`${t(N).radius}px`,boxShadow:g.value?"0 8px 32px rgba(31, 38, 50, 0.14)":void 0})},[e("div",{class:"relative",style:v({height:`${t(N).h}px`})},[e("div",yt,[y(Pe,{name:"search",class:"h-[17px] w-[17px] text-navy-40"})]),$e(e("input",{ref_key:"heroSearchInput",ref:Z,"onUpdate:modelValue":u[0]||(u[0]=p=>S.value=p),type:"text",name:"q",autocomplete:"off",autocorrect:"off",spellcheck:"false",enterkeyhint:"search",placeholder:t(N).placeholderText,"aria-label":"Search antiques and vintage","aria-expanded":g.value,"aria-controls":"hero-search-panel",onFocus:Te,onBlur:We,class:"absolute pl-0 inset-y-0 border-0 outline-none appearance-none bg-transparent font-sans text-navy placeholder:text-navy-40 focus:outline-none focus:ring-0 [&::-webkit-search-cancel-button]:appearance-none",style:v({left:`${t(N).placeholderLeft}px`,right:"12px",fontWeight:t(N).placeholderWeight,fontSize:`${t(N).placeholderSize}px`,letterSpacing:`${t(N).placeholderTracking}px`})},null,44,wt),[[Re,S.value]]),u[2]||(u[2]=e("button",{type:"submit",class:"sr-only"},"Search",-1))],4),y(xt,{id:"hero-search-panel",query:S.value,open:g.value},null,8,["query","open"])],4)],36)])],4),e("div",{class:"relative",role:"region","aria-label":"Browse categories",style:v({height:`${ke}px`}),onMouseenter:xe,onMouseleave:ve,onFocusin:xe,onFocusout:ve},[e("div",bt,[e("ul",{ref_key:"rail",ref:te,class:"flex items-start gap-5 list-none m-0 p-0 will-change-transform",style:v({height:`${ke}px`,paddingLeft:`${t(se).gutter}px`})},[(l(!0),n(k,null,W(E.value,(p,I)=>(l(),n("li",{key:I,class:j({"hero-intro-item":I<i.value.length}),style:v({marginTop:p.variant==="wide"?"43.5px":void 0}),inert:I>=i.value.length?!0:void 0,"aria-hidden":I>=i.value.length?"true":void 0},[y(Ge,{category:p,variant:p.variant},null,8,["category","variant"])],14,kt))),128))],4)])],36),e("div",_t,[e("div",$t,[e("ul",{ref_key:"statsRail",ref:A,class:"flex w-max list-none m-0 items-center gap-12 md:w-full md:grid md:grid-cols-[1fr_1fr_1fr] md:gap-0 px-6 lg:px-[98px] font-sans will-change-transform",style:v({maxWidth:`${t(se).containerW}px`,fontWeight:t(M).statsWeight,fontSize:`${t(M).statsSize}px`,lineHeight:`${t(M).statsLh}px`})},[(l(),n(k,null,W(2,p=>(l(),n(k,{key:p},[(l(!0),n(k,null,W(t(ue),(I,$)=>(l(),n("li",{key:`${p}-${$}`,class:j(["shrink-0 whitespace-nowrap",[$===0?"text-left":"",$===1?"text-left md:text-center":"",$===2?"text-left md:text-right":"",p===2?"md:hidden":""]])},C(I),3))),128))],64))),64))],4)])])],512))}}),Wt=pe(Tt,[["__scopeId","data-v-b0d62b72"]]),At={class:"bg-white"},qt={class:"px-6 py-[60px] lg:px-0 lg:pt-[108px] lg:pb-[108px]"},It={class:"mx-auto max-w-[1440px]"},Ht=V({__name:"BrandStatement",setup(s){return(a,o)=>(l(),n("section",At,[e("div",qt,[e("div",It,[o[1]||(o[1]=e("h2",{class:"font-display text-[28px] lg:text-[40px] font-normal leading-[1.1] lg:leading-[44px] text-navy w-full max-w-[400px] lg:ml-[calc(50%-333px)]"}," Where history continues with you ",-1)),o[2]||(o[2]=e("p",{class:"font-sans text-[14px] lg:text-[16px] font-normal leading-[22px] lg:leading-6 tracking-[-0.3125px] text-navy mt-5 w-full max-w-[556px] lg:ml-[calc(50%-283px)]"}," Antiques.co.uk is the trusted home for genuine antiques online. Since 2002 we have served as the steady hand between buyer and seller, making it effortless to find, buy or sell unique antiques and collectibles. ",-1)),y(t(D),{href:a.route("about.show"),class:"font-sans text-[14px] lg:text-[16
1px] font-extrabold leading-[22px] lg:leading-6 tracking-[-0.3125px] text-navy mt-4 flex items-center gap-2 hover:opacity-70 transition-opacity lg:ml-[calc(50%-286px)]"},{default:P(()=>[...o[0]||(o[0]=[Y(" About us ",-1),e("svg",{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none","aria-hidden":"true"},[e("path",{d:"M7 1l4 4-4 4M11 5H1",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),_:1},8,["href"])])])]))}}),Lt={class:"mx-auto max-w-[1440px] lg:relative lg:h-[900px]"},Bt={class:"lg:hidden flex flex-col gap-5 overflow-hidden"},Rt={class:"absolute left-4 top-4 right-4 h-[270px] overflow-hidden"},Et=["src","alt"],zt={class:"absolute left-0 right-0 bottom-5 text-center font-display font-normal text-[22px] leading-[26px] text-white px-4"},Ft={class:"hidden lg:block relative mx-auto h-[900px]"},Mt=["src","alt"],Pt=["src","alt"],jt=V({__name:"FeaturedCollections",props:{collections:{}},setup(s){const a=s,o=R(()=>[...a.collections,...a.collections]),_=[{pad:"pl-6",anim:"fc-mobile-track--ltr"},{pad:"pl-10",anim:"fc-mobile-track--rtl"}];return(T,S)=>s.collections.length>0?(l(),n("section",{key:0,class:"relative w-full overflow-hidden py-12 lg:py-0 lg:h-[900px]",style:v({background:t(f).bg})},[e("div",Lt,[S[0]||(S[0]=e("header",{class:"text-center lg:text-left px-6 mb-8 lg:absolute lg:left-[94px] lg:top-[397px] lg:mb-0 lg:px-0"},[e("h2",{class:"font-display font-normal text-[28px] lg:text-[40px] leading-normal text-white"}," Featured Collections "),e("p",{class:"font-sans font-normal text-[14px] lg:text-[16px] leading-[22px] lg:leading-6 tracking-[-0.3125px] text-white mt-1"}," Exquisite pieces, curated by our experts ")],-1)),e("div",Bt,[(l(),n(k,null,W(_,(g,m)=>e("div",{key:m,class:j(["overflow-hidden",g.pad])},[e("div",{class:j(["fc-mobile-track flex",g.anim])},[(l(!0),n(k,null,W(o.value,(x,i)=>(l(),Q(ce(x.href?t(D):"article"),ie({key:`${m}-${i}`},{ref_for:!0},x.href?{href:x.href}:{},{class:"fc-mobile-card relative shrink-0 w-[260px] h-[350px] bg-orange rounded-[5px] shadow-card mr-5 no-underline"}),{default:P(()=>[e("div",Rt,[e("img",{src:x.image,alt:x.name,class:"w-full h-full object-cover",loading:"lazy",draggable:"false"},null,8,Et)]),e("h3",zt,C(x.name),1)]),_:2},1040))),128))],2)],2)),64))]),e("div",Ft,[e("div",{class:"absolute top-0 overflow-hidden h-full",style:v({left:`${t(f).leftColLeft}px`,width:`${t(f).colW}px`})},[e("div",{class:"fc-track fc-track--down",style:v({top:`${t(f).leftTrackTop}px`})},[(l(!0),n(k,null,W(o.value,(g,m)=>(l(),Q(ce(g.href?t(D):"article"),ie({key:`l-${m}`},{ref_for:!0},g.href?{href:g.href}:{},{class:"fc-card no-underline",style:{width:`${t(f).cardW}px`,height:`${t(f).cardH}px`,background:t(f).cardBg,borderRadius:`${t(f).cardRadius}px`,boxShadow:t(f).cardShadow,marginBottom:`${t(f).cardCycle-t(f).cardH}px`}}),{default:P(()=>[e("div",{class:"rounded-card absolute overflow-hidden",style:v({left:`${t(f).cardImgInset}px`,top:`${t(f).cardImgInset}px`,width:`${t(f).cardImgW}px`,height:`${t(f).cardImgH}px`})},[e("img",{src:g.image,alt:g.name,class:"w-full h-full object-cover",loading:"lazy",draggable:"false"},null,8,Mt)],4),e("h3",{class:"absolute font-display text-center whitespace-nowrap font-normal text-[30px] leading-[30px]",style:v({top:`${t(f).cardTitleTop}px`,left:"50%",transform:"translateX(-50%)",color:t(f).cardTitleColor})},C(g.name),5)]),_:2},1040,["style"]))),128))],4)],4),e("div",{class:"absolute top-0 overflow-hidden h-full",style:v({left:`${t(f).rightColLeft}px`,width:`${t(f).colW}px`})},[e("div",{class:"fc-track fc-track--up",style:v({top:`${t(f).rightTrackTop}px`})},[(l(!0),n(k,null,W(o.value,(g,m)=>(l(),Q(ce(g.href?t(D):"article"),ie({key:`r-${m}`},{ref_for:!0},g.href?{href:g.href}:{},{class:"fc-card no-underline",style:{width:`${t(f).cardW}px`,height:`${t(f).cardH}px`,background:t(f).cardBg,borderRadius:`${t(f).cardRadius}px`,boxShadow:t(f).cardShadow,marginBottom:`${t(f).cardCycle-t(f).cardH}px`}}),{default:P(()=>[e("div",{class:"rounded-card absolute overflow-hidden",style:v({left:`${t(f).cardImgInset}px`,top:`${t(f).cardImgInset}px`,width:`${t(f).cardImgW}px`,height:`${t(f).cardImgH}px`})},[e("img",{src:g.image,alt:g.name,class:"w-full h-full object-cover",loading:"lazy",draggable:"false"},null,8,Pt)],4),e("h3",{class:"absolute font-display text-center whitespace-nowrap font-normal text-[30px] leading-[30px]",style:v({top:`${t(f).cardTitleTop}px`,left:"50%",transform:"translateX(-50%)",color:t(f).cardTitleColor})},C(g.name),5)]),_:2},1040,["style"]))),128))],4)],4)])])],4)):B("",!0)}}),Dt=pe(jt,[["__scopeId","data-v-7c325f1c"]]),Vt=V({__name:"SectionHeading",props:{title:{},subtitle:{},invert:{type:Boolean},subtitleW:{}},setup(s){return(a,o)=>(l(),n("div",null,[e("h2",{class:j(["font-display font-normal text-[28px] lg:text-[40px] leading-normal",s.invert?"text-white":"text-navy"])},C(s.title),3),s.subtitle?(l(),n("p",{key:0,class:j(["font-sans font-normal text-[14px] lg:text-[16
1px] leading-[22px] lg:leading-6 tracking-[-0.3125px] mt-1",s.invert?"text-white":"text-navy"]),style:v(s.subtitleW!=null?{maxWidth:`min(100%, ${s.subtitleW}px)`}:void 0)},C(s.subtitle),7)):B("",!0)]))}}),Xt={class:"bg-orange-7"},Nt={class:"mx-auto max-w-[1440px] px-6 lg:px-[95px] pt-12 pb-16 lg:pt-20 lg:pb-[100px]"},Ot={class:"mt-10 -mx-6 px-6 scroll-pl-6 scroll-pr-6 no-scrollbar overflow-x-auto scroll-smooth snap-x lg:hidden"},Qt={class:"flex w-max items-start gap-5 pr-6"},Ut={key:1},Gt={class:"hidden lg:grid lg:grid-cols-4 justify-items-center mt-[60px] gap-x-5 gap-y-[60px]"},Yt={key:1},Jt=V({__name:"StaffPicks",props:{products:{}},setup(s){const a=s,o=R(()=>a.products.slice(0,4)),{likedById:_,togglingById:T,seed:S,toggle:g}=Ve();return de(()=>o.value,m=>S(m),{immediate:!0}),(m,x)=>(l(),n("section",Xt,[e("div",Nt,[e("header",null,[y(Vt,{title:"Pieces We Love",subtitle:"Exceptional antiques, hand-picked by our team"})]),e("div",Ot,[e("div",Qt,[(l(!0),n(k,null,W(o.value,(i,E)=>(l(),n("div",{key:i.id,class:j(["snap-start shrink-0 relative",E%2===1?"mt-[50px]":""])},[i.slug?(l(),Q(t(D),{key:0,href:m.route("product.show",i.slug)},{default:P(()=>[y(re,{product:{...i,slug:void 0},variant:"love"},null,8,["product"])]),_:2},1032,["href"])):(l(),n("div",Ut,[y(re,{product:{...i,slug:void 0},variant:"love"},null,8,["product"])])),i.slug?(l(),Q(be,{key:2,active:!!t(_)[i.id],disabled:!!t(T)[i.id],onToggle:A=>t(g)(A,i)},null,8,["active","disabled","onToggle"])):B("",!0)],2))),128))])]),e("div",Gt,[(l(!0),n(k,null,W(o.value,(i,E)=>(l(),n("div",{key:i.id,class:j(["relative",E%2===1?"mt-[50px]":""])},[i.slug?(l(),Q(t(D),{key:0,href:m.route("product.show",i.slug)},{default:P(()=>[y(re,{product:{...i,slug:void 0},variant:"love"},null,8,["product"])]),_:2},1032,["href"])):(l(),n("div",Yt,[y(re,{product:{...i,slug:void 0},variant:"love"},null,8,["product"])])),i.slug?(l(),Q(be,{key:2,active:!!t(_)[i.id],disabled:!!t(T)[i.id],onToggle:A=>t(g)(A,i)},null,8,["active","disabled","onToggle"])):B("",!0)],2))),128))])])]))}}),Kt={class:"bg-orange-7"},Zt={class:"mx-auto max-w-[1440px] py-16 px-6 lg:px-[95px]"},el={class:"space-y-1 lg:hidden"},tl={class:"hidden lg:grid lg:grid-cols-3"},_e=5,ll=V({__name:"AllCategories",props:{categories:{}},setup(s){const a=s,o=H(!1),_=R(()=>[...a.categories??[]].sort((m,x)=>m.name.localeCompare(x.name,void 0,{sensitivity:"base"}))),T=R(()=>o.value?_.value:_.value.slice(0,_e)),S=R(()=>_.value.length>_e),g=R(()=>{const m=_.value,x=Math.ceil(m.length/3)||1;return[m.slice(0,x),m.slice(x,x*2),m.slice(x*2)]});return(m,x)=>(l(),n("section",Kt,[e("div",Zt,[x[1]||(x[1]=e("h2",{class:"text-[28px] lg:text-[40px] font-display mb-4"},"All categories",-1)),e("ul",el,[(l(!0),n(k,null,W(T.value,i=>(l(),n("li",{key:i.slug},[y(t(D),{href:m.route("category.show",i.slug),class:"hover:opacity-50"},{default:P(()=>[Y(C(i.name),1)]),_:2},1032,["href"])]))),128))]),S.value?(l(),n("button",{key:0,type:"button",class:"mt-4 text-base underline lg:hidden",onClick:x[0]||(x[0]=i=>o.value=!o.value)},C(o.value?"View less":"View more"),1)):B("",!0),e("div",tl,[(l(!0),n(k,null,W(g.value,(i,E)=>(l(),n("ul",{key:`category-column-${E}`,class:j([E>0?"lg:border-l lg:border-black/15 lg:pl-8":""])},[(l(!0),n(k,null,W(i,A=>(l(),n("li",{key:A.slug},[y(t(D),{href:m.route("category.show",A.slug),class:"hover:opacity-50"},{default:P(()=>[Y(C(A.name),1)]),_:2},1032,["href"])]))),128))],2))),128))])])]))}}),ol=["href"],nl=["href"],al=["content"],sl=["content"],rl=["content"],il=["content"],
1cl=["content"],ul=["content"],$l=V({__name:"Home",props:{newArrivals:{},staffPicks:{},featured:{},reviews:{},categories:{},hero_image:{},meta:{},jsonLd:{}},setup(s){return(a,o)=>(l(),n(k,null,[y(t(Ee),null,{default:P(()=>[o[0]||(o[0]=e("title",null,"Antiques for sale | Buy & sell online | Antiques.co.uk",-1)),o[1]||(o[1]=e("meta",{name:"description",content:"Browse thousands of antiques for sale worldwide at Antiques.co.uk. Furniture, jewellery, clocks, glassware or collectables. Only genuine antiques approved."},null,-1)),e("link",{rel:"canonical",href:s.meta.canonical},null,8,ol),s.hero_image?(l(),n("link",{key:0,rel:"preload",as:"image",href:s.hero_image,fetchpriority:"high"},null,8,nl)):B("",!0),o[2]||(o[2]=e("meta",{property:"og:type",content:"website"},null,-1)),o[3]||(o[3]=e("meta",{property:"og:site_name",content:"Antiques.co.uk"},null,-1)),e("meta",{property:"og:title",content:s.meta.title},null,8,al),o[4]||(o[4]=e("meta",{property:"og:description",content:"Browse thousands of antiques for sale worldwide at Antiques.co.uk. Furniture, jewellery, clocks, glassware or collectables. Only genuine antiques approved."},null,-1)),e("meta",{property:"og:url",content:s.meta.canonical},null,8,sl),s.meta.image?(l(),n("meta",{key:1,property:"og:image",content:s.meta.image},null,8,rl)):B("",!0),o[5]||(o[5]=e("meta",{name:"twitter:card",content:"summary_large_image"},null,-1)),e("meta",{name:"twitter:title",content:s.meta.title},null,8,il),e("meta",{name:"twitter:description",content:s.meta.description},null,8,cl),s.meta.image?(l(),n("meta",{key:2,name:"twitter:image",content:s.meta.image},null,8,ul)):B("",!0)]),_:1}),y(ze,{"transparent-nav":""},{default:P(()=>[y(Wt,{categories:s.categories,"hero-image":s.hero_image??null},null,8,["categories","hero-image"]),y(Ht),y(Xe,{products:s.newArrivals},null,8,["products"]),y(Dt,{collections:s.featured},null,8,["collections"]),y(ll,{categories:s.categories},null,8,["categories"]),y(Ne,{reviews:s.reviews},null,8,["reviews"]),y(Jt,{products:s.staffPicks},null,8,["products"]),y(Oe)]),_:1})],64))}});export{$l as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.