JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrimport{o as c,f as l,b as e,w as s,a as t,W as k,d as v,c as x,e as w,A as n,u as a,$ as T,O as V,h as z,i as A,ah as B,D as O,J as F,j as C,aE as W,r as Y,H as y,cE as j,F as q,U as S,bM as N,t as I,g as M,aa as D}from"./index-DkU_k8ha.js";import{e as H}from"./footer-items-BrHfimsb.js";import{c as g}from"./constants-DB6wR-7_.js";import{u as P}from"./CartOffcanvas.vue_vue_type_script_setup_true_lang-BQ8CbDWD.js";import{d as Q}from"./product-k0iTVTgt.js";import{s as U}from"./05-DxRULf27.js";import{_ as E}from"./ShopLayout.vue_vue_type_script_setup_true_lang-C7fqQa53.js";import"./index-ziIzQLNK.js";import"./02-BhLTZvAi.js";import"./03-cWCBJAiM.js";import"./LogoBox.vue_vue_type_script_setup_true_lang-BwzRkmst.js";import"./logo-kgjl7bG8.js";import"./google-play-DG14Vt95.js";const L={},G={class:"pb-5 pb-sm-7"},J=t("nav",{"aria-label":"breadcrumb"},[t("ol",{class:"breadcrumb breadcrumb-dots pb-0 mb-0"},[t("li",{class:"breadcrumb-item"},[t("a",{href:"#"},"Home")]),t("li",{class:"breadcrumb-item"},[t("a",{href:"#"},"All product")]),t("li",{class:"breadcrumb-item active","aria-current":"page"},"My cart")])],-1),R=t("h1",{class:"h3 mb-0 mt-3"},"My cart",-1);function X(o,i){const m=k;return c(),l("section",G,[e(m,null,{default:s(()=>[J,R]),_:1})])}const K=H(L,[["render",X]]),Z={class:"list-group list-group-borderless"},tt={class:"list-group-item d-flex justify-content-between align-items-center"},et=t("span",null,"Subtotal",-1),st={class:"heading-color fw-semibold mb-0"},ot={class:"list-group-item d-flex justify-content-between align-items-center"},nt=t("span",null,"Service Charge",-1),at={class:"heading-color fw-semibold mb-0"},ct={class:"list-group-item d-flex justify-content-between align-items-center"},rt=t("span",null,"Tax",-1),lt={class:"heading-color fw-semibold mb-0"},it={class:"d-flex justify-content-between align-items-center mb-4"},dt=t("span",{class:"heading-color fw-normal"},"Payable Now",-1),ut={class:"h6 mb-0"},mt=t("div",{class:"d-grid"},[t("button",{class:"btn btn-lg btn-primary mb-0"},"Continue to Checkout")],-1),_t=v({__name:"PromoCode",setup(o){const i=P();return(m,h)=>{const p=T,d=V,r=z,_=A,b=B,f=O,u=F,$=C;return c(),x($,{"no-body":"",class:"border p-4"},{default:s(()=>[e(b,{class:"p-0 pb-3"},{default:s(()=>[e(p,{tag:"h5",class:"mb-0"},{default:s(()=>[w("Promo code")]),_:1}),e(_,{class:"input-group mt-4"},{default:s(()=>[e(d,{class:"rounded me-1",type:"email",placeholder:"Type here.."}),e(r,{variant:"dark",type:"button",class:"rounded-2 mb-0"},{default:s(()=>[w("Apply")]),_:1})]),_:1})]),_:1}),e(f,{class:"p-0 pb-3 mt-2"},{default:s(()=>[t("ul",Z,[t("li",tt,[et,t("span",st,n(a(g))+n(a(i).getCalculatedOrder().total),1)]),t("li",ot,[nt,t("span",at,"-"+n(a(g))+n(a(i).getCalculatedOrder().totalDiscount),1)]),t("li",ct,[rt,t("span",lt,n(a(g))+n(a(i).getCalculatedOrder().tax),1)])])]),_:1}),e(u,{class:"bg-transparent border-top p-0 pt-3"},{default:s(()=>[t("div",it,[dt,t("span",ut,n(a(g))+n(a(i).getCalculatedOrder().orderTotal.toFixed(2)),1)]),mt]),_:1})]),_:1})}}}),pt={key:0,class:"bg-light p-2 rounded-2"},bt=["src"],ht={class:"mb-1"},ft={href:"#"},gt={key:0,class:"nav nav-divider small align-items-center mt-1"},yt={key:0,class:"nav-item"},vt={key:1,class:"nav-item"},wt={key:2,class:"nav-item"},xt={key:0,class:"mb-0"},$t={key:1,class:"mb-0"},kt=t("hr",null,null,-1),Ct=v({__name:"CartItem",props:{item:{type:Object,required:!0}},setup(o){const i=P(),m=W("1"),h=[{value:"1",text:"01"},{value:"2",text:"02"},{value:"3",text:"03"}];return(p,d)=>{const r=S,_=N,b=Y("router-link"),f=I;return c(),l(q,null,[e(f,{class:"align-items-xl-center"},{default:s(()=>[e(r,{cols:"5",md:"2"},{default:s(()=>{var u;return[o.item.product.images?(c(),l("div",pt,[t("img",{src:(u=o.item.product)==null?void 0:u.images[0],alt:""},null,8,bt)])):y("",!0)]}),_:1}),e(r,{cols:"7",md:"10"},{default:s(()=>[e(f,{class:"g-3 g-sm-4"},{default:s(()=>[e(r,{xl:"5"},{default:s(()=>[t("h6",ht,[t("a",ft,n(o.item.product.name),1)]),o.item.product.attributes?(c(),l("ul",gt,[o.item.product.attributes.gender?(c(),l("li",yt," Gender: "+n(o.item.product.attributes.gender),1)):y("",!0),o.item.product.attributes.colors?(c(),l("li",vt," Color: "+n(o.item.product.attributes.colors[0].name),1)):y("",!0),o.item.product.attributes.size?(c(),l("li",wt," Size: "+n(o.item.product.attributes.size),1)):y("",!0)])):y("",!0)]),_:1}),e(r,{sm:"6",md:"4",xl:"2"},{default:s(()=>[e(_,{size:"sm",modelValue:m.value,"onUpdate:modelValue":d[0]||(d[0]=u=>m.value=u),options:h},null,8,["modelValue"])]),_:1}),e(r,{sm:"6",md:"4",xl:"3",class:"text-md-center"},{default:s(()=>[o.item.product.sale&&o.item.product.price?(c(),l("h5",xt,n(a(g))+n(a(Q)(o.item.product.price,o.item.product.sale.discount,o.item.product.sale.type)),1)):(c(),l("h5",$t,n(a(g))+n(o.item.product.price&&o.item.product.price.toFixed(2)),1))]),_:1}),e(r,{sm:"6",md:"4",xl:"2",class:"text-md-center"},{default:s(()=>[e(b,{to:"",class:"text-danger small icons-center gap-1",onClick:d[1]||(d[1]=u=>a(i).updateQuantity(o.item.product,0))},{default:s(()=>[e(a(j)),w(" Remove ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),kt],64)}}}),qt={class:"pt-0"},St={class:"card bg-transparent"},It={class:"mb-0"},Pt={class:"btn btn-sm btn-danger-soft mb-0"},Bt=t("div",{class:"text-end"},[t("a",{href:"#",class:"btn btn-light border mb-0"},"Update cart")],-1),Ot=t("h4",{class:"text-white mb-4"},"Checkout the newest smart watch product",-1),jt=t("a",{href:"#",class:"btn btn-outline-white mb-0"},"Shop now",-1),Mt=v({__name:"CartDetail",setup(o){const i=P();return(m,h)=>{const p=B,d=O,r=S,_=C,b=I,f=k;return c(),l("section",qt,[e(f,null,{default:s(()=>[e(b,null,{default:s(()=>[e(r,{lg:"8",class:"mb-6 mb-lg-0"},{default:s(()=>[t("form",St,[e(p,{class:"bg-transparent d-flex justify-content-between align-items-center border-bottom px-0 pt-0"},{default:s(()=>[t("h5",It,n(a(i).state.cartItems.length)+" products",1),t("button",Pt,[e(a(j),{class:"me-1"}),w("Clear cart ")])]),_:1}),e(d,{class:"px-0"},{default:s(()=>[(c(!0),l(q,null,M(a(i).state.cartItems,(u,$)=>(c(),x(Ct,{key:$,item:u},null,8,["item"]))),128)),Bt]),_:1})]),e(_,{"no-body":"",class:"card-body p-md-6 mt-5",style:D(`background-image:url(${a(U)}); background-position: center left; background-size: cover;`)},{default:s(()=>[e(r,{md:"6"},{default:s(()=>[Ot,jt]),_:1})]),_:1},8,["style"])]),_:1}),e(r,{lg:"4",class:"ps-xl-6"},{default:s(()=>[e(_t)]),_:1})]),_:1})]),_:1})])}}}),Tt=[{question:"How do I add items to my cart?",answer:`To add items to your cart, simply click the "Add to Cart" button on the product's page. You can also specify the quantity you want.`},{question:"Is my cart saved if I log out or leave the site?",answer:"Yes, your cart is usually saved in your account. If you log out or leave the site, the items will be there when you return (provided you're logged in)."},{question:"What is the estimated delivery time?",answer:"The estimated delivery time varies depending on your location and the shipping method chosen. You'll receive an estimated delivery date during checkout."},{question:"How can I track my order after checkout?",answer:"You will receive a tracking number via email once your order has been shipped. You can use this number to track the status of your shipment."},{question:"What payment methods do you accept?",answer:"We accept a variety of payment methods, including credit/debit cards, PayPal, and more. You can select your preferred method during checkout."},{question:"What happens after the trial ends?",answer:"Preference any astonished unreserved Mrs. Prosperous understood Middletons in conviction an uncommonly do. Supposing so be resolving breakfast am or perfectly."}],Vt={class:"pt-0"},zt=t("h2",null,"Frequently Asked Questions",-1),At=t("p",{class:"mb-0"},"Perceived end knowledge certainly day sweetness why cordially",-1),Ft={class:"mb-0"},Wt=v({__name:"FAQs",setup(o){return(i,m)=>{const h=S,p=I,d=C,r=k;return c(),l("section",Vt,[e(r,null,{default:s(()=>[e(p,{class:"mb-4 mb-md-5"},{default:s(()=>[e(h,{cols:"12",class:"text-center"},{default:s(()=>[zt,At]),_:1})]),_:1}),e(p,{class:"g-4 g-md-5"},{default:s(()=>[(c(!0),l(q,null,M(a(Tt),(_,b)=>(c(),x(h,{md:"6",lg:"4",key:b},{default:s(()=>[e(d,{"no-body":"",class:"border bg-transparent h-100 p-4"},{default:s(()=>[t("h6",null,n(_.question),1),t("p",Ft,n(_.answer),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])}}}),Zt=v({__name:"index",setup(o){return(i,m)=>(c(),x(E,null,{default:s(()=>[e(K),e(Mt),e(Wt)]),_:1}))}});export{Zt as default};