(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9391],{79143:function(s,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/order-received",function(){return r(75569)}])},75569:function(s,e,r){"use strict";r.r(e),r.d(e,{default:function(){return Z}});var i=r(85893),c=r(67294),n=r(14416),t=r(41664),l=r.n(t),d=r(4466),a=r(54934),h=r(95687),x=r(14223),j=r(77245),o=r(24683),u=s=>{let{cartList:e}=s;return(0,i.jsx)("section",{className:"cart-recived-section section-padding",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:"order-top",children:[(0,i.jsxs)("h2",{children:["Thank You For Your Order! ",(0,i.jsx)("span",{children:"your order has been recived"})]}),(0,i.jsx)(l(),{href:"/",className:"theme-btn",children:"Back Home"})]}),(0,i.jsx)(d.ZP,{className:"cartStatus",children:(0,i.jsx)(d.ZP,{container:!0,spacing:3,children:(0,i.jsx)(d.ZP,{item:!0,xs:12,children:(0,i.jsxs)(d.ZP,{className:"cartTotals",children:[(0,i.jsx)("h4",{children:"Order details"}),(0,i.jsx)(a.Z,{children:(0,i.jsxs)(h.Z,{children:[e.map(s=>(0,i.jsxs)(x.Z,{children:[(0,i.jsxs)(j.Z,{children:[(0,i.jsx)("img",{src:s.proImg,alt:""})," ",s.title," $",s.price," x ",s.qty]}),(0,i.jsxs)(j.Z,{align:"right",children:["$",s.qty*s.price]})]},s.id)),(0,i.jsxs)(x.Z,{className:"totalProduct",children:[(0,i.jsx)(j.Z,{children:"Total product"}),(0,i.jsx)(j.Z,{align:"right",children:e.length})]}),(0,i.jsxs)(x.Z,{children:[(0,i.jsx)(j.Z,{children:"Sub Price"}),(0,i.jsxs)(j.Z,{align:"right",children:["$",(0,o.X_)(e)]})]}),(0,i.jsxs)(x.Z,{children:[(0,i.jsx)(j.Z,{children:(0,i.jsx)("b",{children:"Total Price"})}),(0,i.jsx)(j.Z,{align:"right",children:(0,i.jsxs)("b",{children:["$",(0,o.X_)(e)]})})]})]})})]})})})})]})})})},Z=(0,n.$j)(s=>({cartList:s.cartList.cart,symbol:s.data.symbol}))(s=>{let{cartList:e}=s;return(0,i.jsx)(c.Fragment,{children:(0,i.jsx)(u,{cartList:e})})})}},function(s){s.O(0,[38,1664,4466,4645,2888,9774,179],function(){return s(s.s=79143)}),_N_E=s.O()}]);