PageSourceSearch

https://veleastbourne.co.uk/static/js/3055.83ae0472.chunk.js

js veleastbourne.co.uk collected 2026-10-02 16:09:03 UTC 419,822 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkrestaurant_v1=self.webpackChunkrestaurant_v1||[]).push([[3055],{82368:(e,t,a)=>{a.d(t,{Z:()=>s});a(47313);const s=a.p+"static/media/3 +.58eb030fc21463c0acd8b57214a9487e.svg"},25372:(e,t,a)=>{a.d(t,{Z:()=>s});a(47313);const s=a.p+"static/media/applecheckout.c868cf5251d6b76620900bb7ce30afde.svg"},46784:(e,t,a)=>{a.d(t,{Z:()=>s});a(47313);const s=a.p+"static/media/cash.0715ee1f0c23062f640362c1e058b32d.svg"},29516:(e,t,a)=>{a.d(t,{Z:()=>s});a(47313);const s=a.p+"static/media/paypal2.bcd8c6026b8f0f0ad930ccc3b311c3f3.svg"},79773:(e,t,a)=>{a.d(t,{I1:()=>i});var s=a(35662),l=a(30660);var o=a(89342);const i=e=>t=>{(e=>s.Z.post(l.qu,e))(e).then((e=>{var a;t((a=e.data,{type:o.o$g,payload:a}))})).catch((e=>{t((e=>({type:o.oWs,payload:e}))(e.message))}))}},95203:(e,t,a)=>{a.d(t,{VM:()=>r});var s=a(35662),l=a(30660);var o=a(89342);const i=e=>({type:o.Y7J,payload:e}),r=e=>t=>{(e=>s.Z.post(l.zs,e))(e).then((e=>{var a;!0===e.data.status?t((a=e.data.data,{type:o.$fx,payload:a})):t(i(e.data.data))})).catch((e=>{t(i(e.message))}))}},98455:(e,t,a)=>{a.d(t,{Ml:()=>i});var s=a(35662),l=a(30660);var o=a(89342);const i=e=>t=>{(e=>s.Z.post(l.RF,e))(e).then((e=>{var a;t((a=e.data,{type:o.COi,payload:a}))})).catch((e=>{t((e=>({type:o.BJW,payload:e}))(e.message))}))}},96105:(e,t,a)=>{a.d(t,{w4:()=>i,AJ:()=>r});var s=a(35662),l=a(30660);var o=a(89342);const i=e=>({type:o.lV4}),r=e=>t=>{(e=>s.Z.post(l.pT,e))(e).then((e=>{var a;t((a=e.data,{type:o.O8c,payload:a}))})).catch((e=>{console.log("error"),console.log(e),t((e=>({type:o.CKd,payload:e}))(e.message))}))}},32581:(e,t,a)=>{a.d(t,{d:()=>l,n:()=>o});var s=a(89342);const l=e=>({type:s.ErL,payload:e}),o=e=>({type:s.Leo,payload:e})},24513:(e,t,a)=>{a.d(t,{Kn:()=>i});var s=a(35662),l=a(30660);var o=a(89342);const i=e=>t=>{(e=>s.Z.post(l.T,e))(e).then((e=>{var a;t((a=e.data,{type:o.i_5,payload:a}))})).catch((e=>{t((e=>({type:o.oX4,payload:e}))(e.message))}))}},63448:(e,t,a)=>{a.d(t,{Q:()=>o});var s=a(35662),l=a(30660);const o=e=>s.Z.post(l.Qw,e)},81335:(e,t,a)=>{a.d(t,{G:()=>o});var s=a(35662),l=a(30660);const o=e=>s.Z.post(l.Nf,e)},44418:(e,t,a)=>{a.d(t,{O:()=>o});var s=a(35662),l=a(30660);const o=e=>s.Z.post(l.nu,e)},43099:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});a(47313);var s=a(65832),l=a(98253),o=a(46417);const i=function(){return(0,o.jsx)("section",{className:"checkout-page",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"row",id:"checkoutskeleton",children:[(0,o.jsxs)("div",{className:"col-xl-8 col-lg-8 col-md-7 col-sm-12 col-xs-8",id:"first",style:{maxHeight:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch"},children:[(0,o.jsx)("h3",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.4em"}})})}),(0,o.jsx)(s.Z,{className:"cardclass",children:(0,o.jsxs)(s.Z.Body,{className:"cardbg",children:[(0,o.jsxs)("div",{className:"hole",children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"1.2em"}})," ",(0,o.jsx)(l.Z,{xs:6,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsx)("div",{children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:1,style:{width:"5%"}})," ",(0,o.jsx)(l.Z,{xs:2})," "]})}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:1})})}),(0,o.jsxs)("div",{className:"hole",style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2})," ",(0,o.jsx)(l.Z,{xs:2})," ",(0,o.jsx)(l.Z,{xs:2})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"1.2em"}})})})]}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:8,style:{minHeight:"2.5em"}})})}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:3})})}),(0,o.jsx)("div",{className:"mt-2",children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"3em"}})," ",(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"3em"}})," "]})})]})}),(0,o.jsx)(s.Z,{className:"cardclass mt-3",children:(0,o.jsxs)(s.Z.Body,{className:"cardbg",children:[(0,o.jsx)("div",{style:{},children:(0,o.jsx)("div",{children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:1,style:{minHeight:"1.2em"}})," ",(0,o.jsx)(l.Z,{xs:3,style:{minHeight:"1.2em"}})," "]})})}),(0,o.jsx)("div",{className:"mt-2",children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"3.2em"}})," ",(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"3.2em"}})," "]})}),(0,o.jsxs)("div",{children:[(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:3})}),(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:12,style:{minHeight:"1.4em"}})})]}),(0,o.jsxs)("div",{className:"hole",style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1",textAlign:"left"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:5,style:{minHeight:"1em"}})," "]})}),(0,o.jsx)("div",{className:"three",style:{flex:"1",textAlign:"middle"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:5,style:{minHeight:"1em"}})})})]}),(0,o.jsxs)("div",{className:"hole",style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1",textAlign:"left"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:11,style:{minHeight:"1.5em"}})," "]})}),(0,o.jsx)("div",{className:"three",style:{flex:"1",textAlign:"middle"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:9,style:{minHeight:"1.5em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:9,style:{minHeight:"1.5em"}})})})]}),(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:1,style:{minHeight:"1em",width:"3%"}})," ",(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"0.8em"}})," "]}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:12,style:{minHeight:"1.5em"}})})})]})}),(0,o.jsx)(s.Z,{className:"cardclass mt-3",children:(0,o.jsx)(s.Z.Body,{className:"cardbg",children:(0,o.jsxs)("div",{style:{},children:[(0,o.jsx)("div",{children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:5,style:{minHeight:"0.9em"}})," "]})}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"1.6em",borderRadius:"20px"}})})})]})})}),(0,o.jsx)(s.Z,{className:"cardclass mt-3",children:(0,o.jsx)(s.Z.Body,{className:"cardbg",children:(0,o.jsxs)("div",{style:{},children:[(0,o.jsx)("div",{children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:3,style:{minHeight:"0.9em"}})," "]})}),(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:1,style:{minHeight:"1em",width:"3%"}})," ",(0,o.jsx)(l.Z,{xs:11,style:{minHeight:"1.8em"}})," "]}),(0,o.jsx)("div",{className:"hole",style:{display:"flex",overflow:"hidden"},children:(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"1.5em"}})})})})]})})}),(0,o.jsx)("div",{className:"finall-list",style:{textAlign:"center"},children:(0,o.jsxs)("div",{className:"mt-4",id:"cen",children:[(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:12,style:{minHeight:"1.4em",borderRadius:"30px"}})}),(0,o.jsx)("div",{className:"mt-2",id:"cen1",children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"0.9em"}})})})]})})]}),(0,o.jsx)("div",{className:"col-xl-4 col-lg-4 col-md-5 col-sm-12 col-xs-4",id:"second",children:(0,o.jsx)(s.Z,{className:"cardclass",children:(0,o.jsxs)(s.Z.Body,{className:"cardbg",children:[(0,o.jsxs)("div",{style:{position:"static"},children:[(0,o.jsx)("div",{children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:3,style:{minHeight:"1.2em"}})})})]}),(0,o.jsx)("div",{children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:12,style:{minHeight:"1.5em",borderRadius:"20px"}})," "]})}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"1.2em"}})," ",(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"1.2em"}})," ",(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:2,style:{minHeight:"1.2em"}})," ",(0,o.jsx)(l.Z,{xs:7,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:8,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:8,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:8,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsxs)("div",{style:{display:"flex",overflow:"hidden"},children:[(0,o.jsx)("div",{className:"one",style:{flex:"1"},children:(0,o.jsxs)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:[(0,o.jsx)(l.Z,{xs:8,style:{minHeight:"1.2em"}})," "]})}),(0,o.jsx)("div",{className:"two",style:{flex:"1",textAlign:"right"},children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:4,style:{minHeight:"1.2em"}})})})]}),(0,o.jsx)("div",{children:(0,o.jsx)(l.Z,{as:s.Z.Title,animation:"glow",className:"checkplace",children:(0,o.jsx)(l.Z,{xs:12,style:{minHeight:"1.5em"}})})})]})})})]})})})}},25569:(e,t,a)=>{a.r(t),a.d(t,{AddressPopupContext:()=>_e,AddressProvider:()=>We,CheckoutContext:()=>Ue,CheckoutData:()=>ze,checkPostcode:()=>Ke,checkVoucherCode:()=>yt,default:()=>Le,getOrderTimingDetail:()=>Qe,getProfile:()=>Xe,googleAddress:()=>qe,itemAvailableCheck:()=>Ye,updateAddress:()=>Je});var s=a(1413),l=a(47313),o=a(58467),i=a(2135),r=a(65487),n=a(68611),c=a(26774),d=(a(30146),a(10259)),m=a(16156),p=a(14696),x=a(63849),u=a(31616),h=a(65832),g=a(22102),y=(a(96283),a(38386),a(44030)),v=a(76935),A=a(53860),f=a(41965),j=a(93298),S=a(32453),k=a(29538),b=a(69837),N=a(94443),C=a(59055),I=a(10610);a(44929);const w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABHNCSVQICAgIfAhkiAAADTJJREFUeJztnX1wFOd5wH+7eyvdHZal08lCJ07AHfJhICBi8aViO7FNazpAozDgKX/YztjTTDqZcZ20M3bctKHTTjqZtGnSmYxjp5NJwkw9wf6DDNDSVmAIGLAxWIbK2AJJwAnLxNyd0Em7e1+
17/WOlQ4dOdyusj5O6v5mb2dt9991nn+e9Z5/3ed93D2xsbGxsbGxsbGxsbGxsbGxsbGxsbGymHGH0l9bWF6oQna1gNIFQNVNC5UOSZBySPGZ/IqkAEB/qx9CN6RbLOgb9gmi0Z5Lu3x49+uP+kd1ZA7Ru/84LwPfAKCnFjyBJMg5HHgMkTAMMxKPTLdLdIXBFgN2H//u1XwFIAK3bX9wN/CPgnEHRCiJJDkRRHLM/k0lhGAbJpD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fgAx478F/H4ANeu9hBcspQL7e9z+eOPuN5r1nFPRQWH9u8jod02wrUr5tsbHLKDtv88SELT6DjfTnWNl48vdnDy+GHC13pQlSEqq6o4sG8vA7f66e7q5L7aOq5d6ebt3x3GMHQMQ0fXdTJ6mnQmRSqdIJVKkExp1lbIlDJW09GCIFBe7qJMnvhqznQ6RSKpTslEgf8XHTFRFHG57sl2gKySTCVIJqd2nHrOG0AUJdzuCsQCi73vJJ1OoWpD0zKGMacNIMtlOMvnWU4f6HoGVRua1jlJc9YA5eUuysusr19OJDWSSXXa0+1z0gATUf5MtPrRzDkDTET50+nrx2NOGcDlmofsKLdUNpHUsi/8m0mKGmBDSzNPP7NjOmSZMB+0d/DDH/4rgiDgdLotK1/VhsZd7rRp89aCiys6LrzPnl/8zFLZs++e5I3Xf1VQFksdMa+3JN9kiaJq/P73fWYG00KMbxgGihov6O+dLjcu5/guTNXMlMZEy46HJRc0Ou9SSgiCYFn5up5BUQeLdqo0VSmqtLspOx6z9hkwsrrSStio6xmGlHhJTg6bleloq0tbobSVD6YBrsy0EBNhZK3ZXFC+AVdEEPbNtCBWkSSH5UV+Gd18m26pKh9AwDgqoguF46QSwVxXbG3kKp1OoSjxkp/Fp6dSfyfu2/f9dhC+NdPCjMeIv7c6XptMJVDUWaB8Q9999Ogvr0gAH108cfqBZQ9dBVZjvt27JDD9feHlraNfXaMlFBIJ6wvkZgajX4eXjrb92w9gzB84vLgYUfhyKfyBgySJOKTio1cjf+CQSiVRlaGpFuvuEYx+QaQ9k0z+9ujRX5Zmx8rGxsbGxsbGxsbGxsbGxsbGxsbGxmau8n959beN1jfn3wAAAABJRU5ErkJggg==";a(46784);var E=a(37471),D=a(10348),B=a(29516),P=a(25372),F=a(73754);const Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAABJCAYAAADSd69fAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAu6SURBVHgB7Z0HiB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E+zV7Ore8qQHh+sAfIcATDxsw2Da7TWOweWAHyfpI5uQMqJ9XAljkMtiQ7phHBFXhTsdKwC4OcQzjF/aSQLY0he/G6kBE2Zi3ER6Bk03sbnQSoLjWq1cv7lSzp8MqDiOiALsI7WA0kzkxrWC1Ywf1tJYtA7s37VhDGUC8OLGxsTxY2r59e19t7tu3LzeO7aMRysY5pImJiaGhQ4dKd44iAGx4GNGe8QV4kVEYtj8K0OlYEbkh3hxEyFFZiMMazsB1nBPbSmEgI9IOwYg3Bh2HxmK6soI3BnlwHissRK/Xr19Pp0+fJha45GXi3tHR0RQXF0ddu3bl4sE2VKQR21UB3ApW/xIi31gtin3KKAu/7XWwA0MdXmfrX9dCPNjz7EabNm341CP2MaNduCez88jen7iGdDCaExIS+GKE2TB8R4TwU0EQWEzguUE8WEjAFyTqJcSFY7HKWrp0Kc8XHx/PBwz0GcQjtsG64fqPK3htgfC6LrN/ZKDxKMctrVNZ1jqgHPFGizCCEIKfuiKN3QURbB2CyYf6ut3PqVxreRgZ8SKKxwihC1+ZW/9bH7tIA8HjI8Qm9lm7of/HQo0S+h+Y0iihBaRRQgtIo4QWkEYJLSCNElpAGiW0gDRKaAFplNAC0iihBaRRQgtIo4QWkEYJLSCNElpAGiW0gDRKaAFplNAC0iihBaRRQgtIo4QWkEaJ/wFlG9AluNDmaQAAAABJRU5ErkJggg==";var T=a(82368);const O=a.p+"static/media/pickupcheckouticon.a3bcf3e67a849a92acf9aa9519f73b15.svg",M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAL+SURBVHgB7dzJcRNBGIbhr1sFZ11YjgrBZRLAGZCByQBngMgAIoAQyMBwhyqRgY6mioPOlDyN+i96vM3S69+L/J7kUU9P6Slrm54S8NhjIYn7G5YnWD4B3ihg+2eDbziy9ON/CrzugJ1+/HeAnp/K90KI9a1N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y=a.p+"static/media/secureimgtwo.29bd26a1e0b8cd8b5996.png",U=a.p+"static/media/secureimgthree.4a8606a0fe67f1224ce6.png",z=a.p+"static/media/cvvimagenew.1eb697e96e1954992e28.png";var H=a(32185),L=a(51473);const J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAYAAADG4PRLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABOaSURBVHgB7V1bjB3JWf6qT5+5eMbj8czY41lfdjd7CRs7qxBnLzEB5QGEQKAIyQIRHoiAEAltQh7YSCERQgpaCeWBN7JISIDIQxQBLxESKOKFbC7aZLPZmzfOXqIde+y1Z2zPxXM5Z/qcSlX36dPVXZeuqtPnzExyfuu4L/X/f/1df9Vf9VVV95Db65sUBiKmu/GBKrnUcuYMSHxBXaRB7Fm7eknxlkWW2nLQyDuZJaqi/JnsyyGAC5E0Jyro7s15BOmPOEkTe1ZRQi3i7DzSqTlUyeDsPKWwoF/Dwo+BSY9kCE3/68lEWaWPPmIjla8URJdcIq2/Q0r4LYlkFtpo7HqA/RfCJRfhYOCwUpNduj82sc6IeukvasmImhLdqzYRZYkpRmgpNOgsJOjN0zd2BdHEAYm2fjmvkxHTL1ldTXzL3fGKSURVOexjSnoSKBOVIsROcRlTDwWYOt4lIx/nKc1M+7xCom+HQspz1PMLLSbnQKpiJ9RY7V0GLCK/betLY31R3ixBveuKthJTdapXfew+lHgsr5oqsVC8l1GnplFReS9NRzqxJuohSeSO1qrpGiMQseU3ZxCbEhcnlRPVIpnpCpZAKSEZra55tmGTuPDnRbvyDhLOSepkkg+bpfwOVAwrOpb0PGVVVMJAUjGECsZr71IhmYU2OkSoIOooUijlomE06ChlGkK
1FVNYDKpRkmHfgECpA1yb3EiqYOIM8p8NQ1sTUy3iHDKFC94KWcyYOHEKF5O4+hQoyZVUqyErOOkAack5P3Iq2MqhgJWe4qzDbK2x2i9MeKpSwaCXCfMHr2Mr1edVSdKqO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6t2xCCubkM+8YOq4kF7dUKx6Iqn33o3YrsCEEtFsHGB0gmfm8bCZaFOPgtFKgMgqSs5aUAF0EsAOntxOqhexGDE1+gjgj3J93Eka419BgegjgEi8nb14lugczg+w0d4T6exQEBSMW8SN64cn6k5hXqDnQMyAAY54H2azfmr+OTwHBw6K2lVDHwHCM1cufElo0AOosQMoEH2qIM8zp89FlcJgaavhF6FTI9wwX49l78fuiuRafgYVQK9G2OCzFBLD7VbBC3TrBVlBZrP0As4LXQGZBN0EwOincxq8sN8+ucCq6IW/4VM56DgOMGX8/xYpAs4PoAhn/jJaBThOyqRE3xUyHLr2u63O3cP7x6PfuJc+240ZrJ9lXlnvJUpiGtGo7Re9HcEi9A5FiIUWrvNVLsvNIdc/C7RIL4zolnIZ/RxEg3cLz7FVMisoLyiMPylv+s+TlksZ08gsAEVDS4YEKBkSQBXPUxo7GGWOAteCpI31HAwwWKFznusOY2qbmRjANN0NJR8GqlnVKIBzXpXJiZWD8wtQxPDDstADIiUYuHNc5W0tZ7unH40uoSLJSitCLls8z7qhE+cF9YgS08lrf+2pADJlW8TFC84EWwOsPHfUjf8XJoffLXyrpboIec0oZC3ZwuwYuZ9mjT3HRroB2rUPcpPZPlbLNk62XJS1iI8gCIIgCIIgCIIgCIJYH/4HrmBV1v/zjowAAAAASUVORK5CYII=";var te=a(51715),ae=a(12490),se=a(16454);const le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAChCAYAAABAk7SIAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABAASURBVHgB7Z0JcJTlGcef3WwMRxLJAALBUCAEKGc4yo2IoijSilhGqB20dZzaatXajqOd1nPGGS+UelQHhypiq60iUAEREKEIyCUJ4UqARHKQQMguSUjYZI++z7f5wu7mu3az2Xdn+P9mdvb6djfs/r7/+z7P++1CBAAAVyo2qxs6nc5uSUlJ8+x2+wy/358rbuovTt0IACKXOJXYbLaDPp9vm9frXZ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GjM9s8Lq+giDqCTJF6/ItVKnxgAqefXsuFMVr50GOkyYoIipAWrByeFczjj95FkVCgMdlmCSvP5CnVJqNVAZdVtP9Xr8KZc/ME2rZhSatM3HpZsy7PtOVitPKhx4jhAyjRSEgBrRyeFUwkQxHv5Xp7Os/juDBgCYObwSq1MUyIaZOG09pPnqeVy54MOVhg+UdiyG2qN225RDr8MmYJKIOE/YneBfOm0Kni06bb8dHUkQxFPP8zq/QyM9M0f0HhwP/eonVixYEPC+P5UqTrpyzabSLxFor5qt7fwOvTOQPslHmNfkOeD7WPdPhVX3/O7AlUeyF2v+LVXmL/C6lXEJyk3Jrhtg6no9aaa5YQJSvrmqjmbFcCEBBIBf9NA5AKBARSgYBAKhAQSAUCAqlAQCAVCAikAgGBVCAgkAoEBFKBgEAqEBBIBQICqUBAIBUICKQCAYFUICC
1QCgQEUoGAQCoQEEgFAgKpQEAgFQgIpAIBgVQgIJAKBARSgYBAKhAQSAUCAqlAQCAVCAikAgGBVCAgkAoEBFKBgEAqEBBIBQICqUBAIBUICKQCAYFUICCQCgQEUoGAQCoQEEgFAgKpQEAgFRbQRQDIwWW32WwlBIAcSuxerzePAJCACL+DnIDfEAAS8Pl822xOp7Obw+EoFte7EQBxxOPxZNgzMjJcwsQPCIA4Ikbe99k9G18RKdi/JQUBiAsi/QYIAUuUPiBfEGdLCYD4sLTFObKpt/BcMCkp6XsRjf0JgA7C7/eXpKenD1Cvt66E8HgsWjIzeQMCoANgt9ix4NtCluKUMdluvwMSgljTIt8d6tCrYtPamIsSMRxvxXAMYoGafOHyMZoHI/CGLeM0ChPQXpYK+cZoycfYzB7dkobPiDS8hwCwgEg8l/DlA9FqeV1PPJX/AwPkef1viL8UAAAAAElFTkSuQmCC";var oe=a(98277),ie=a(63331),re=a(51860),ne=a(59713),ce=a(65271),de=a(35662),me=a(81335),pe=a(46640),xe=a(63448),ue=a(60949),he=a(65537),ge=a(24513),ye=a(79773),ve=a(98455),Ae=a(96105),fe=a(30660);var je=a(89342);const Se=e=>t=>{(e=>de.Z.post(fe.Tm,e))(e).then((e=>{var a;t((a=e.data,{type:je.nvO,payload:a}))})).catch((e=>{console.log("error"),console.log(e),t((e=>({type:je.Gef,payload:e}))(e.message))}))};var ke=a(95203),be=a(79322),Ne=a(32581),Ce=a(34862),Ie=a(43099),we=a(46249),Ee=a.n(we),De=a(32787),Be=(a(83151),a(1374),a(49946),a(80509)),Pe=a(87187),Fe=a(44418),Ze=a(64077);const Te=e=>t=>{(e=>de.Z.post(fe.XN,e))(e).then((e=>{var a;t((a=e.data,{type:je.VQ4,payload:a}))})).catch((e=>{console.log("error"),console.log(e),t((e=>({type:je.WHj,payload:e}))(e.message))}))};var Oe=a(20629),Me=a(26276),Ge=a(70816),Re=a.n(Ge),Ve=a(46417);const Qe=async e=>{try{return(await(0,Pe.h)(e)).data}catch(t){throw console.log(t),t}},Ye=async e=>{try{return(await(t=e,de.Z.post(fe.dM,t))).data}catch(a){throw console.log(a),a}var t},Ue=(0,l.createContext)({}),ze=()=>(0,l.useContext)(Ue),He={getchargesDetail:ye.I1,getStripePayment:ve.Ml,postPlaceOrder:Ae.AJ,getAddress:ge.Kn,getLoyaltyPoints:ke.VM,applyDiscount:Ze.b6},Le=(0,he.$j)((e=>({chargesdetail:e.chargesdetail.chargesdetail,userData:e.userdata.userData,stripepayment:e.stripepayment.stripepayment,stripee:e.stripe,placeorder:e.placeorder.placeorder,addressDetail:e.address.address,getLoyalty:e.getLoyalty.loyaltyPoints})),He)((e=>{var t,a,s,i,r,n,c,d,m;let{getchargesDetail:x,getStripePayment:u,error:h,userData:g,postPlaceOrder:y,chargesdetail:v,stripepayment:A,getAddress:f,addressDetail:j,placeorder:k,getLoyaltyPoints:N,getLoyalty:D,applyDiscount:B}=e;const P=(0,o.s0)(),F=(0,l.useRef)(null),{path:Z}=(0,o.UO)(),{theme:T}=(0,l.useContext)(I.Z),O=(0,p.useStripe)(),M=(0,p.useElements)(),[G,R]=(0,l.useState)(null),[V,Q]=(0,l.useState)(null),[Y,U]=(0,l.useState)(!1),[z,H]=(0,l.useState)(null),[L,$]=(0,l.useState)(0),[ee,te]=(0,l.useState)(""),[ae,se]=(0,l.useState)(0),[le,oe]=(0,l.useState)(""),[ie,re]=(0,l.useState)(""),[ne,me]=(0,l.useState)(1),[pe,xe]=(0,l.useState)(0),[ue,ge]=(0,l.useState)(null),{getOrderMode:ye,setStuartStatus:ve,stuartStatus:fe,setLastOrder:je}=(0,C.yM)(),ke=767,[be,Ne]=(0,l.useState)(!1),[we,Ee]=(0,l.useState)(!1),[De,Be]=(0,l.useState)(!1),Pe="Collection"===ye?1:0,Fe=localStorage.getItem("preOrder")||"",[Ze,Oe]=(0,l.useState)(""),Ge=localStorage.getItem("cutlery")||"",Re=localStorage.getItem("gift")||"",ze=(null===v||void 0===v||null===(t=v.message)||void 0===t?void 0:t.baggageCharge)||0,He=(null===v||void 0===v||null===(a=v.message)||void 0===a?void 0:a.serviceCharge)||0,Le=(null===v||void 0===v||null===(s=v.message)||void 0===s?void 0:s.clientFkCharge)||0,Je=null!==v&&void 0!==v&&null!==(i=v.message)&&void 0!==i&&null!==(r=i.vat)&&void 0!==r&&r.taxRate?null===v||void 0===v||null===(n=v.message)||void 0===n||null===(c=n.vat)||void 0===c?void 0:c.taxRate:0,[Ke,qe]=(0,l.useState)(0),[We,_e]=(0,l.useState)(0),[et,tt]=(0,l.useState)(0),[at,st]=(0,l.useState)(0),[lt,ot]=(0,l.useState)(0),[it,rt]=(0,l.useState)(0),[nt,ct]=(0,l.useState)(0),[dt,mt]=(0,l.useState)(0),[pt,xt]=(0,l.useState)(null),[ut,ht]=(0,l.useState)(null),[gt,yt]=(0,l.useState)(!1),[vt,At]=(0,l.useState)(!1),ft=localStorage.getItem("discount"),St=ft?JSON.parse(ft):0,kt=localStorage.getItem("isLoggedIn"),[bt,Nt]=(0,l.useState)(""),[Ct,It]=(0,l.useState)(""),[wt,Et]=(0,l.useState)(""),Dt=localStorage.getItem("loginAddress")||"",Bt=localStorage.getItem("guestAddress")||"",[Pt,Ft]=(0,l.useState)(!1),[Zt,Tt]=(0,l.useState)(null),[Ot,Mt]=(0,l.useState)(!1),[Gt,Rt]=(0,l.useState)(null),[Vt,Qt]=(0,l.useState)(null),Yt=localStorage.getItem("orderTime"),Ut=null===Yt||void 0===Yt?void 0:Yt.trim(),zt=null===Ut||void 0===Ut?void 0:Ut.split(" ")[1],Ht=null===Ut||void 0===Ut?void 0:Ut.split(" ")[0],Lt=null!==Ht&&void 0!==Ht&&Ht.includes("-")?Ht:null===Ht||void 0===Ht?void 0:Ht.split("/"),Jt=Lt?null!==Lt&&void 0!==Lt&&Lt.includes("-")?Lt:"".concat(Lt[2],"-").concat(Lt[1],"-").concat(Lt[0]):"";
1let Kt=null===(d=new Date)||void 0===d?void 0:d.toLocaleString("en-GB",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(",","");const qt=null===Kt||void 0===Kt?void 0:Kt.replaceAll("/","-"),Xt=null===qt||void 0===qt?void 0:qt.split("-"),Wt="".concat(Xt[2],"-").concat(Xt[1],"-").concat(Xt[0]),[_t,$t]=(0,l.useState)(Jt?Jt==Wt?"today":Jt:"today"),[ea,ta]=(0,l.useState)(!0),[aa,sa]=(0,l.useState)(null),[la,oa]=(0,l.useState)(ce),[ia,ra]=(0,l.useState)(!1),[na,ca]=(0,l.useState)(null),[da,ma]=(0,l.useState)(!1),pa=(0,he.I0)(),[xa,ua]=(0,l.useState)(window.innerWidth),[ha,ga]=(0,l.useState)(0),[ya,va]=(0,l.useState)(0),[Aa,fa]=(0,l.useState)(0),[ja,Sa]=(0,l.useState)(0),[ka,ba]=(0,l.useState)(0),[Na,Ca]=(0,l.useState)(1),[Ia,wa]=(0,l.useState)(null),[Ea,Da]=(0,l.useState)(null),[Ba,Pa]=(0,l.useState)(null),[Fa,Za]=(0,l.useState)(!1),[Ta,Oa]=(0,l.useState)(!1),[Ma,Ga]=(0,l.useState)(""),[Ra,Va]=(0,l.useState)(!1),[Qa,Ya]=(0,l.useState)(136),[Ua,za]=(0,l.useState)("ASAP"),[Ha,La]=(0,l.useState)(!1),[Ja,Ka]=(0,l.useState)(!1),[qa,Xa]=(0,l.useState)(null),[Wa,_a]=(0,l.useState)(!1),[$a,es]=(0,l.useState)(0),[ts,as]=(0,l.useState)(!1),[ss,ls]=(0,l.useState)(!1),os=localStorage.getItem("promotion_type")||"/website",is="string"===typeof os?os.replace("/",""):"website",rs=()=>{var e;let t=window.innerWidth;const a=null===A||void 0===A||null===(e=A.message)||void 0===e?void 0:e.paymentStatus,s=localStorage.getItem("orderMode"),l=localStorage.getItem("isLoggedIn");t<1199&&(A?Ce.gn?A&&("true"===l?"Delivery"===s?a.applePay?(Pa("apple-pay"),me(7),fa(1),Da(1)):a.cash&&(Pa("cashimg"),me(0)):a.coll_applePay?(Pa("apple-pay"),me(7),fa(1),Da(1)):a.coll_cash&&(Pa("cashimg"),me(0)):a.coll_applePay?(Pa("apple-pay"),me(7),fa(1),Da(1)):a.guest_cash&&(Pa("cashimg"),me(0))):Ce.Dt||Ce.Em?A&&("true"===l?"Delivery"===s?a.googlePay?(wa(1),me(8),Pa("google-pay"),Sa(1)):a.cash&&(Pa("cashimg"),me(0)):a.coll_googlePay?(wa(1),me(8),Pa("google-pay"),Sa(1)):a.coll_cash&&(Pa("cashimg"),me(0)):a.coll_googlePay?(wa(1),me(8),Pa("google-pay"),Sa(1)):a.guest_cash&&(Pa("cashimg"),me(0))):ha?Pa("cardimg"):ya&&Pa("cashimg"):ha?(Pa("cardimg"),ga(1)):ya&&(Pa("cashimg"),va(1)))},[ns,cs]=(0,l.useState)(""),[ds,ms]=(0,l.useState)(""),[ps,xs]=(0,l.useState)(""),[us,hs]=(0,l.useState)(!1),[gs,ys]=(0,l.useState)(!1),[vs,As]=(0,l.useState)(!0),[fs,js]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=localStorage.getItem("clientName"),t=localStorage.getItem("menuData"),a=t?JSON.parse(t):"";e&&cs(e),a&&ms(null===a||void 0===a?void 0:a.backgroundImage),a&&xs(null===a||void 0===a?void 0:a.logo)}),[]),(0,l.useEffect)((()=>{const e=new URLSearchParams(window.location.search).get("redirect_status"),t=localStorage.getItem("isPaypalKlarna");"succeeded"===e&&"1"===t?me(10):"succeeded"===e&&"0"===t?me(14):rs(),je(!1)}),[]),(0,l.useEffect)((()=>{"processing"===localStorage.getItem("paymentStatus")&&js(!0)}),[]);const Ss=[{value:"wallet",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADICAYAAADWfGxSAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAqoSURBVHgB7d0/TBVrGsfx9xywBKE3gr14tfVPoqVosrulYHLdzkCx26E0xgZCdy1Au/UmKna7GxFK2ai018VYC8YeBDv5s+/v7BkCHM7MAMLM877fT3Iuh3uOuTcZf/O887wz71txh7S0tNTR0tLy52q1+svm5ma3f52vVCod/qMOB2CLz8aCz4ZeHzY2Nv6zvr7+obOzc8EdQsUdgELrA3vHv/7kf73qABzUrA/27+3t7U/dAewrwApua2vr3/zbvzsqLPDTqDL7qvxwv0HOHeDV1dWr/j/yDw2THYAjsd8gZwa4XnUfuP9XXQDHwAf5tx8/fjz018jLqd9L+9CHt/vEiRP/VGPKAThWqsY+xNfSGl1NA1wP7xuGzEBxskK8Z4AJL1AeaSFuCLCueX14/yC8QKl8WFtbu7b7mri6+1tqWBFeoHTO+8L6YPe/3FGBV1ZW7miqyAEoq2ttbW2zyS87Avz9+/fPVF+gvOrXwxeSofTWEFrVl/AC5aaMVqvVrXsytiow1RcwY9k3tM6oCtcqMNUXMKX2MJHe1ALsx9W/OgBm1J8EdBXdtOGnjj47AKb4YXRntaWlhfucAYNqC2n4a9+rDoA5esioqqVwHABzfO+qu0r3GbBJxbeqFDsA5vji21F1AKwiwIBlBBgwjAADhhFgwDACDBhGgAHDCDBgGAEGDCPAgGEEGDCMAAOGEWDAMAIMGEaAAcMIMGAY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wGhwcdDGJPsCi8CrEU1NT3MxhjII7MDBQC26Id1plIcDbKMjJNAWd6nJLpvhCvUUyLwLcRPKooeYek3lIqnNxdE2r53mTOfmYQ7sdAQYMY00swDACDBhGgAHDCDBgGAEGDCPAgGEEGDCMAAOGEWDAMAIMGEaAAcMIMGAYAQYMI8CAYQQYMIwAA4YRYMAwAgwYRoABwwgwYBgBBgwjwIBhBBgwjAADhinAyw6ASdXNzU0CDBhUqVQWqv4fHxwAc3zxXahubGwsOgDm+Oz+lwoMGOWzO1tZWlrqaG1tXXIATFlbWztT7ezsVBNr1gGwZNZnd6E2D+zH0v92AMzwDazf9bOif9SH0Z/92w4HoNTUfW5vbz+j97UKrGG0r8KPHAALHiZvKskbVeGWlpY/fGer2wEope3VV7buhVYV9uH9qwNQZg+3/7LjYYa2trZZ/4OhNFBOj3z1fbr9X1R2f6Pe0Hrj3553AEpBQ+f19fUL9WnfLQ2PE+oLfoL4L/oDDkDh6uG9tju8Umn2h3wl7vZNrTc0tYDibAvvwl6fN32gX39Af5BKDBTmQ1p4JXVFjnqILzgaW8Bxe+QvZVPDKxWX08rKyh3/4wFDauDoaMSr6dz6jFCm3AFOEGTg59PKOD5Tqrq/7dWsambfAU4oyP4/+Kt/e9UBOKhZPUzkX0/3E9zEgQOcqHerz/swX/W//uLPJN1UZ2Cn+tpzy/UFNBb972pQ/esgod3uf94jbZcmlN5ZAAAAAElFTkSuQmCC",darkicon:W,type:2,status:$a,device:1,para:"Wallet"},{value:"cashimg",icon:_,darkicon:E,type:2,status:ya,device:1,para:"Cash"},{value:"cardimg",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADICAYAAADWfGxSAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVrSURBVHgB7d0LdFT1nQfw30wmRgwJRMEgLwMBRGIIj0WLUAFxxZVtba1ddbW+ul2ttltd9+g53VWP9pw9x+pa7Xbd5ejxVVlktyK6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3tLbh6Xuz+NFjRX9xG/cBC/phpNNpiXwIQp0ij21BqGNEwIJQx4iABaGOEQELQh0jAhaEOkYELAh1jAhYEOoYFvAkBEGoS0zP80TAglCHGIbRb9IfRyAIQt1BxrffdF13AIIg1B2k3aNigQWhTiHtHjZSqVRrIBBQvIlaEITVYtv2TrOtrY2DWIchCEI9cZi02+/ngcmX/jcIglA3UADre/y3PzOi7Eb30autEARhXcPR5+bm5p38um+B2Y0mK/wcBEGoB56ee+XK1Ca2wpZlvUGRrW4IgrAuudr6MldqodkKk3g/DUEQ1jNPX/3G25oZEonEYfpLXGlBWJ88R9b3+av/4R2DT8sBrZ/TqwcgCMK6gF1nx3FuL6d9r/COdkL+AEoQf5g/AYIgrDll8R68VrzMgqPHyRJ3U1Dr5xLUEoS14yrx9s/3/gUb+vkT+BPFEgvCmnFkMfEyi07kKIv4dkhgSxBU8xwdZRcVL1Px9p7p6elD9NdT4lILQu1gj5fTueWM0JIse/2WCFkQqg9PxiFNsdV9dr5g1UKseH8eC5m+4afo1QchCMJKOczNRPTy/HKEO8eqF2CWo9UHSMwP0pu30ZOkW6yzILyd8uy5yfIAjQF6mwNU/7oS0V7N/wOWmufNhjHDpgAAAABJRU5ErkJggg==",darkicon:J,type:3,status:Na,device:1,para:"Paypal"},{value:"klarna",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADICAYAAADWfGxSAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAACA6SURBVHgB7Z0JnFxVlca/V3tXVVfvSQckCSAQkkAWwjYJJAQQZtGIbI4KgSjgjIOKGhYxxLAr4MDMiKMiEJYZMeA6iJoBEhBGshPCEgzZSNJJ7137/uacW1XdVdX7Euq97vPPr9K1vHffe7fed8+559x7S8MwaWtrq7RarZ+2WCwzdF2fTI+ZmqZV0keVEAShE9LGbtIGP7ak0+m1qVRqS1VV1W4MAw1DgEVLgr2KHovo5QIIgjBU1pCwV/p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GR/VCyyMPKwcFm0/DDYMMmBYHwB59McAtoj9IhCC8Ul4CUMHhasx6FcZdR6TNHP7QtzCVgQhALG7C8zCMJoQAQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmRgQsCCZGBCwIJkYELAgmhgXcDkEQTIlF13URsCCYEE3Tdlvovy0QBMF0kPHdbUmn03sgCILpIO2+KRZYEEwKaXeN1tbWVmmz2dogCIKpSCaTR1uqqqo4iLUGgiCYiTWk3d0qD0y+9G8gCIJpoADWSv6r8X9ZN3oXPa2EIAiGhqPPPp/vaH6uLDC70WSFH4IgCGZgRe6JlnvCVthqtW6myNZkCIJgSPKtL9M5FpqtMIn3agiCYGRW5L8omMxQXl6+hv6IKy0IxuQhsr6P57+hFW+RDWi9TE9nQhAEQ8CucyqVmpVN+3bSbTohb0AJ4ot4BwiCUHKy4j2nWLyM1ttOZIknU1DrZQlqCULpyBPv7p4+73VCP+/AO4olFoSSsaUv8TJ9rsiRFfEsSGBLED5qHqKubJ/iZTQMEL/ffxX9WS4utSAcPtjj5XRuNiPULwMWcA4RsiCMPLwyDmmKre6DPQWremPQAs7BQqYDLqanCyAIwlBZw5OJ6PH4YISbY8gCzpGNVs8kMS+glzOoJZks1lkQCsmuPdeeXUBjD73mANWvhyLafP4fk5Mzw0NZ8QsAAAAASUVORK5CYII=",darkicon:K,type:2,status:ka,device:1,para:"Klarna"},{value:"savedcard",icon:K,darkicon:K,type:3,status:12,device:1,para:"SavedCard"},{value:"afterpay",icon:q,darkicon:X,type:3,status:0,device:1,para:"afterpay"}],[ks,bs]=(0,l.useState)(null);(0,l.useEffect)((()=>{const e=localStorage.getItem("guestAddress");Ss.filter((t=>!(!e&&"wallet"===t.value)));bs(Ss)}),[Ia,Ea,ha,L,Aa,ja,Na,ya]),(0,l.useEffect)((()=>{const e=()=>ua(window.innerWidth);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const[Ns,Cs]=(0,l.useState)(!1);(0,l.useEffect)((()=>{if("true"===kt)if(Dt){const e=JSON.parse(Dt);Et(e.postcode||""),Nt(e.customerId),It(e.addressId)}else Ne(!0);else if(Bt){const e=JSON.parse(Bt);Et(e.postcode||""),Nt(e.customerId),It(e.addressId),Ft(!0)}else Ne(!0)}),[kt,Dt,Bt]);const[Is,ws]=(0,l.useState)(0),[Es,Ds]=(0,l.useState)(""),[Bs,Ps]=(0,l.useState)(0),[Fs,Zs]=(0,l.useState)(""),[Ts,Os]=(0,l.useState)(0),[Ms,Gs]=(0,l.useState)(""),Rs="Collection"===ye?1:0;(0,l.useEffect)((()=>{St?"promoDiscount"===St.source?(Os(0),Gs(""),Ps(0),Zs(""),ws(St.appliedDiscount),Ds(St.discount)):"voucherDiscount"===St.source?(ws(0),Ds(""),Ps(0),Zs(""),Os(St.appliedDiscount),Gs(St.discount)):(ws(0),Ds(""),Os(0),Gs(""),(null===St||void 0===St?void 0:St.orderType)===Rs||2===(null===St||void 0===St?void 0:St.orderType)||"2"===(null===St||void 0===St?void 0:St.orderType)?(Ps(St.appliedDiscount),Zs(St.discount)):(Ps(0),Zs(""))):(Ps(0),Zs(""),ws(0),Ds(""),Os(0),Gs(""))}),[ws,Ds,Ps,Zs,Os,Gs,St]);const Vs=localStorage.getItem("roundOffPrice")||0,[Qs,Ys]=(0,l.useState)(Vs),Us=parseFloat(localStorage.getItem("totalPrice")),zs=localStorage.getItem("driverTipValue")||0,[Hs,Ls]=(0,l.useState)(zs),Js=localStorage.getItem("finalTotal")||0,[Ks,qs]=(0,l.useState)(Js),[Xs,Ws]=(0,l.useState)(""),[_s,$s]=(0,l.useState)(!1),[el,tl]=(0,l.useState)(new Date),[al,sl]=(0,l.useState)(localStorage.getItem("ip")||""),[ll,ol]=(0,l.useState)(!1),[il,rl]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=async()=>{try{const i="undefined"!==typeof localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):"",r=localStorage.getItem("clientId"),n=localStorage.getItem("orderTime"),c=localStorage.getItem("orderMode"),d=localStorage.getItem("orderPostcode");function m(e){const[t,a]=e.split(" "),[s,l,o]=t.split("/");return"".concat(o,"-").concat(l.padStart(2,"0"),"-").concat(s.padStart(2,"0")," ").concat(a)}const p={cart:i,order_mode:"Collection"===c?1:0,orderTime:n.includes("/")?m(n):n,client_id:r,post_code:d},x=await de.Z.post("https://order-onedb-backend.fusiontesting.co.uk/liveCartData",p);if(x){var e,t,a,s,l,o;console.log(null===x||void 0===x||null===(e=x.data)||void 0===e||null===(t=e.message)||void 0===t?void 0:t.cart,"pollingData");const u=null===x||void 0===x||null===(a=x.data)||void 0===a||null===(s=a.message)||void 0===s?void 0:s.cart,g=null===x||void 0===x||null===(l=x.data)||void 0===l||null===(o=l.message)||void 0===o?void 0:o.postCode,y=JSON.stringify(u);localStorage.setItem("cart",y);const v=u.reduce(((e,t)=>e+parseFloat(t.price)),0);if("Delivery"===c)if(!0===g.status){const k=JSON.stringify(null===g||void 0===g?void 0:g.message);localStorage.setItem("postcodeDetail",k),ol(!1)}else!1===g.status&&(Ne(!0),ol(!0));localStorage.setItem("totalPrice",v.toFixed(2));const A=x.data.message,f=localStorage.getItem("discount"),j=f?JSON.parse(f):"",S=localStorage.getItem("discountType");if(console.log("discount","pooling"),"autoDiscount"===j.source||"autoDiscount"===S){console.log("000","pooling");const b="Delivery"===c?null===A||void 0===A?void 0:A.deliveryDiscount:"Collection"===c&&(null===A||void 0===A?void 0:A.collectionDiscount);console.log(b),b&&B(b,c,"autoDiscount")}rl(!0)}}catch(h){console.error("Error fetching price total:",h)}};e();const t=setInterval(e,8e3);return()=>clearInterval(t)}),[]),(0,l.useEffect)((()=>{const e=localStorage.getItem("clientId");Qe({client_id:e}).then((e=>{!0===e.status?ge(null===e||void 0===e?void 0:e.message):console.log(e)})).catch((e=>{console.log("Error: "+e)}))}),[]),(0,l.useEffect)((()=>{const e=localStorage.getItem("instruction")||"";Oe(e)}),[]);const nl=localStorage.getItem("postcodeDetail")||"",cl=nl?JSON.parse(nl):"",[dl,ml]=(0,l.useState)(0),[pl,xl]=(0,l.useState)(0),ul=localStorage.getItem("sessionalOffer")||0,hl=localStorage.getItem("seasonalDiscount")||0;(0,l.useEffect)((()=>{var e;ve((null===A||void 0===A||null===(e=A.message)||void 0===e?void 0:e.stuart)||!1),rs()}),[A]),(0,l.useEffect)((()=>
1{if("Delivery"===ye){const t=parseFloat((null===cl||void 0===cl?void 0:cl.freeAbove)||0),a=parseFloat((null===cl||void 0===cl?void 0:cl.lessThenAmount)||0),s=parseFloat((null===cl||void 0===cl?void 0:cl.deliveryCharge)||0),l=parseFloat((null===cl||void 0===cl?void 0:cl.extraDeliveryCharge)||0),o=parseFloat(Us);let i="0.00",r=0;var e;if("0.00"==t||"0"==t?(o<a&&(r=l),i=r+s):(o<a&&(r=l,i=r),t>o&&(i=r+s)),ml(parseFloat(i).toFixed(2)),!1!==fe)xl((null===cl||void 0===cl||null===(e=cl.stuartDeliveryCharge)||void 0===e?void 0:e.deliveryCharge)||0);else xl(0)}else ml(0),xl(0)}),[ye]),(0,l.useEffect)((()=>{if("Delivery"===ye){const t=parseFloat((null===cl||void 0===cl?void 0:cl.freeAbove)||0),a=parseFloat((null===cl||void 0===cl?void 0:cl.lessThenAmount)||0),s=parseFloat((null===cl||void 0===cl?void 0:cl.deliveryCharge)||0),l=parseFloat((null===cl||void 0===cl?void 0:cl.extraDeliveryCharge)||0),o=parseFloat(Us);let i="0.00",r=0;var e;if("0.00"==t||"0"==t?(o<a&&(r=l),i=r+s):(o<a&&(r=l,i=r),t>o&&(i=r+s)),ml(parseFloat(i).toFixed(2)),!1!==fe)xl((null===cl||void 0===cl||null===(e=cl.stuartDeliveryCharge)||void 0===e?void 0:e.deliveryCharge)||0);else xl(0)}else ml(0),xl(0)}),[cl,ye]),(0,l.useEffect)((()=>{"true"===kt&&!isNaN(Xs)&&Xs>0&&N({ordered_amount:Xs})}),[kt,Xs]);const gl=g?g.customerId:"";(0,l.useEffect)((()=>{if("true"===kt&&gl){const e={customer_id:gl,domain:window.location.hostname};Xe(e).then((e=>{var t,a;if(!1===e.status);else if(null!==e&&void 0!==e&&null!==(t=e.data)&&void 0!==t&&null!==(a=t.profile)&&void 0!==a&&a.email){var s,l;const t={client_path:Z,user_name:null===e||void 0===e||null===(s=e.data)||void 0===s||null===(l=s.profile)||void 0===l?void 0:l.email};pa(Te(t))}})).catch((e=>{console.log(e)}))}}),[kt,gl]);const yl=(0,he.v9)((e=>{var t,a,s;return null===(t=e.subscribeCouponReducer)||void 0===t||null===(a=t.Plan)||void 0===a||null===(s=a.message)||void 0===s?void 0:s.coupons}
1));(0,l.useMemo)((()=>{const e=JSON.stringify(null===yl||void 0===yl?void 0:yl.delivery_coupons);localStorage.setItem("SubcripeCoupon",e)}),[yl]),(0,l.useEffect)((()=>{if(!isNaN(Xs)&&Xs>0){const e=parseFloat(Xs),t=parseFloat(dt);es(t<=e?0:1)}}),[Xs,dt]);const vl=(0,l.useMemo)((()=>{if(We>0||pe>0){if(1===We||1===pe)return{type:ee,paymentMethodId:le,sva:ae};if(3===We||2===pe||3===pe)return{type:ee,sva:ae,paymentIntentId:ie}}else if(0===We||0===pe)return{type:ee,paymentMethodId:le,sva:ae};return 14===pe?"PaypalIntent"!==ee?{type:"PaypalMethodId",paymentMethodId:le}:{type:"paymentIntentId",paymentIntentId:ie}:10===pe?"klarnaOrderPlaced"!==ee?{type:ee}:{type:ee,paymentIntentId:ie}:void 0}),[ne,le,ae,ie,We,pe,ee]),Al=e=>{if(e&&0!=e){const[t,a]=e.split(" ");let s,l,o;t.includes("/")?[s,l,o]=t.split("/"):t.includes("-")&&([o,l,s]=t.split("-"));const[i,r]=a.split(":");return new Date(o,l-1,s,i,r)}return 0},[fl,jl]=(0,l.useState)(!1),Sl=localStorage.getItem("isTableQr"),kl=(0,l.useMemo)((()=>{let e="",t="",a="";const s=localStorage.getItem("isTableQr"),l=localStorage.getItem("tableName");if(Fe&&"0"!==Fe){let s=Fe;if(s.includes("/")){e=s.split(" ")[0].split("/"),t=s.split(" ")[1];const l=new Date("".concat(e[2],"-").concat(e[1],"-").concat(e[0],"T").concat(t)),o=l.getFullYear(),i=String(l.getMonth()+1).padStart(2,"0"),r=String(l.getDate()).padStart(2,"0"),n=String(l.getHours()).padStart(2,"0"),c=String(l.getMinutes()).padStart(2,"0");a="".concat(o,"-").concat(i,"-").concat(r," ").concat(n,":").concat(c)}else a=Fe;if(""!=a){const e=Intl.DateTimeFormat().resolvedOptions().timeZone,t=(new Date).toLocaleString("en",{timeZone:e,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),[a,s]=t.split(", "),[l,o,i]=a.split("/"),[r,n]=s.split(":"),c=o.padStart(2,"0"),d=l.padStart(2,"0"),m=parseInt(r,10),p=parseInt(n,10),x="".concat(m.toString().padStart(2,"0"),":").concat(p.toString().padStart(2,"0")),u="".concat(i,"-").concat(d,"-").concat(c),h=Al(u+" "+x),g=Al(localStorage.getItem("orderTime")),y=Al(localStorage.getItem("preOrder"));(h>g||h>y)&&jl(!0)}}let o=5;g&&(g.login_type||0===g.login_type)&&(o=g.login_type);return{loginType:o,orderType:Pe,paymentType:"google-pay"===Ba?"8":"apple-pay"===Ba?"7":ne,instruction:Ze,preOrder:a,cutlery:Ge,gift:Re,giftQty:""===Re?"":"1",isTableOrder:s?1:0,tableName:l,useWalletBalance:Ja}}),[ne,Pe,Fe,Ze,Ge,g,Re,Ba,Sl,Ja]),bl=(0,l.useMemo)((()=>({subTotal:Us,deliveryCharge:dl,driverTip:Hs,roundAmount:Qs,extraDonate:"0.00",clientStuartCharge:pl,discount:Bs,discountDescription:Fs?"Discount":"",promo:Is,promoDescription:Es,voucher:Ts,voucherDescription:Ms,sessionalOffer:ul,sessionalOfferTotal:hl,platform:1})),[Is,Es,Ts,Ms,Bs,Fs,dl,pl,Qs,Us,Hs,ul,hl,1]),Nl=localStorage.getItem("cart")||"",Cl=Nl&&"undefined"!==Nl?JSON.parse(Nl):[],Il=localStorage.getItem("menuType")||"";(0,l.useEffect)((()=>{Array.isArray(Cl)&&Cl.length}),[Cl]);const wl=null===Cl||void 0===Cl||null===(m=Cl.filter((e=>0===e.gift)))||void 0===m?void 0:m.map((e=>({id:e.itemId.toString(),qty:e.count.toString(),loyalty:e.loyalty.toString(),instruction:e.instruction.toString(),addon:"1"===Il?"":e.addon}))),El=(0,l.useMemo)((()=>({customerId:bt,addressId:Ct,postcode:wt,userAgent:navigator.userAgent,ip:al})),[navigator,ne,al,bt,Ct,wt]),Dl="true"==localStorage.getItem("isApp")?"mobile_app":"browser",Bl=Ce.gn?"ios":Ce.Dt?"android":Ce.ED?"windows":Ce.Q5?"macOs":"others",Pl={device:null!==Bl&&void 0!==Bl?Bl:"",platform:null!==Dl&&void 0!==Dl?Dl:""},Fl=(0,l.useMemo)((()=>({clientPath:Z,orderDetail:kl,paymentDetail:vl,userDetail:El,chargesDetail:bl,itemsDetail:wl,deviceDetail:Pl})),[Z,kl,vl,bl,El,wl,le]);(0,l.useEffect)((()=>{kl&&localStorage.setItem("orderDetail",JSON.stringify(kl))}),[kl]);const[Zl,Tl]=(0,l.useState)(!1);function Ol(){localStorage.removeItem("cart"),localStorage.removeItem("totalPrice"),localStorage.removeItem("cartQty"),localStorage.removeItem("discount"),localStorage.removeItem("gift"),localStorage.removeItem("orderType"),localStorage.removeItem("cutlery"),localStorage.removeItem("preOrder"),localStorage.removeItem("postcodeDetail"),localStorage.removeItem("checkRoundEnable"),localStorage.removeItem("roundOffPrice"),localStorage.removeItem("driverTipValue"),localStorage.removeItem("orderMode"),localStorage.removeItem("itemNotes"),localStorage.removeItem("orderTime"),localStorage.removeItem("instruction"),localStorage.removeItem("checkRepeatAddon"),localStorage.removeItem("sessionalOffer"),localStorage.removeItem("seasonalDiscount"),pa((0,Ae.w4)())}(0,l.useEffect)((()=>{0!=Ke&&1===Ke&&(Fl.paymentDetail.paymentMethodId=le,localStorage.setItem("placeOrderApiData",JSON.stringify(Fl)),y(Fl),Oa(!0),Ga("loading"))}),[Ke,le]),(0,l.useEffect)((()=>{0!=We&&(localStorage.setItem("placeOrderApiData",JSON.stringify(Fl)),console.log("placeOrderApiJson =>",Fl),y(Fl))}),[We]),(0,l.useEffect)((()=>{0!=pe&&(1!==pe&&3!==pe&&9!==pe&&10!==pe&&14!==pe||(localStorage.setItem("placeOrderApiData",JSON.stringify(Fl)),y(Fl),Se(Fl)))}),[pe]),(0,l.useEffect)((()=>{k&&k.status&&"orderPlaced"==k.type&&1==Ke&&(Oa(!0),Ga("loading"))}),[k,Ke]),(0,l.useEffect)((()=>
1{if(500===(null===k||void 0===k?void 0:k.response_code)&&P("/"+Z+"/menu"),k&&k.status&&"orderPlaced"==k.type&&1==Ke&&(je(k.message),Oa(!0),Ga("success"),qe(0),xe(0),localStorage.removeItem("paymentStatus"),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol()),k&&k.status&&"orderPlaced"==k.type&&9==pe&&(je(k.message),qe(0),xe(0),_e(0),localStorage.removeItem("paymentStatus"),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol()),k&&k.status&&"orderPlaced"==k.type&&1==pe&&(je(k.message),qe(0),xe(0),_e(0),localStorage.removeItem("paymentStatus"),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol()),k&&k.status&&"orderPlaced"==k.type&&3==We&&(je(k.message),qe(0),xe(0),_e(0),localStorage.removeItem("paymentStatus"),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol()),k&&k.status&&"orderPlaced"==k.type&&3==pe&&(je(k.message),qe(0),xe(0),_e(0),At(!1),localStorage.removeItem("paymentStatus"),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol()),k&&k.status&&"3dSecure"==k.type&&1==We){var e;if(null!==k&&void 0!==k&&null!==(e=k.message)&&void 0!==e&&e.clientSecret){const e=k.message.clientSecret;st(e),_e(2)}else _e(0);Tl(!0)}if(k&&k.status&&"3dSecure"==k.type&&1==pe){var t;if(null!==k&&void 0!==k&&null!==(t=k.message)&&void 0!==t&&t.clientSecret){const e=k.message.clientSecret;ot(e),te("paymentIntentId"),re(k.message.id),xe(2),console.log("placeorder 1",k.message.id)}else xe(0);Tl(!0)}var a,s;if(k&&k.status&&"orderPlaced"==k.type&&1==pe&&!0===Zl&&(je(k.message),console.log("placeorder 2",k.message.id),qe(0),xe(0),_e(0),Va(!0),localStorage.removeItem("paymentStatus"),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol()),k&&k.status&&14===pe)if("PayPalIntent"===k.type){if(null!==k&&void 0!==k&&null!==(a=k.message)&&void 0!==a&&a.clientSecret){const e=k.message.clientSecret;Va(!0),rt(e),xe(14)}}else"orderPlaced"===k.type&&(je(k.message),qe(0),xe(14),_e(0),Va(!0),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol());if(k&&k.status&&10===pe)if("klarnaIntent"===k.type){if(null!==k&&void 0!==k&&null!==(s=k.message)&&void 0!==s&&s.clientSecret){const e=k.message.clientSecret;Va(!0),ot(e),xe(10)}}else"orderPlaced"===k.type&&(je(k.message),qe(0),xe(10),_e(0),Va(!0),P(xa>ke?"/myaccount/orderstatus":"/orderstatus",{state:{promotion_type:is}}),Tl(!1),Ol())}),[k,pe,Ke]);const Ml=localStorage.getItem("orderMode"),Gl=localStorage.getItem("isLoggedIn");(0,l.useEffect)((()=>{u({client_path:Z,customer_id:gl,platform:1})}),[u,Z,Ml,Gl]),(0,l.useEffect)((()=>{x({client_path:Z,platform:1})}),[x,Z]);const[Rl,Vl]=(0,l.useState)("");(0,l.useEffect)((()=>{const e=JSON.parse(localStorage.getItem("userData"));Vl(null!==e&&"true"===kt?e:"")}),[kt]);const Ql=(0,l.useMemo)((()=>Rl?{customer_id:Rl.customerId}:null),[Rl]);(0,l.useEffect)((()=>{Ql&&f(Ql)}),[Ql,f]),(0,l.useEffect)((()=>{const e=setInterval((()=>{tl(new Date)}),1e3);return()=>clearInterval(e)}),[]);const Yl=(0,l.useRef)(!1);(0,l.useEffect)((()=>{!1===Yl.current&&(console.log("111"),Ul(),Yl.current=!0)}),[]);const Ul=async()=>{let e=localStorage.getItem("orderTime");As(!1);try{let t="string"===typeof e&&e.includes("/")?(e=>{const[t,a]=e.split(" "),[s,l,o]=t.split("/");return"".concat(o,"-").concat(l,"-").concat(s," ").concat(a)})(e):e;const a=JSON.parse(localStorage.getItem("cart")),s={client_path:localStorage.getItem("clientPath"),order_time:t};console.log("444");const l=await Ye(s);if(l&&l.data&&l.data.items){console.log("555"),console.log(l.data.items),Rt(l.data.items);const e=null===a||void 0===a?void 0:a.filter((e=>{var t;return!Array.isArray(null===l||void 0===l||null===(t=l.data)||void 0===t?void 0:t.items)||!l.data.items.some((t=>t.itemId===e.itemId))}));(null===e||void 0===e?void 0:e.length)>0&&(console.log("666"),e.forEach(((e,t)=>{const a=localStorage.getItem("discount"),s=a?JSON.parse(a):0;(0,Me.z6)(e,s,ye)})))}else console.log("No items available.")}catch(h){console.error("Error checking item availability:",h)}},zl=new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(el),Hl=null===zl||void 0===zl?void 0:zl.replace(",","");if(!j&&!v&&!A)return(0,Ve.jsx)(Ie.default,{});if(h)return(0,Ve.jsxs)("div",{children:["Error: ",h]});
1const Ll={iconStyle:"solid",style:{base:{iconColor:"#c4f0ff",color:"dark"===T?"#fff":"#000",fontWeight:"400",fontFamily:"Segoe UI",fontSize:"16px",fontSmoothing:"antialiased",backgroundColor:"dark"===T?"#1a1a1a":"#fff","::placeholder":{color:"#aab7c4"},":-webkit-autofill":{color:"dark"===T?"#fff":"#000",backgroundColor:"dark"===T?"#1a1a1a":"#fff"}},invalid:{color:"#e5424d",iconColor:"#e5424d"}}},Jl={borderRadius:"8px",padding:"20px",border:"dark"===T?"1px solid #fff":"1px solid #ebedf0",backgroundColor:"dark"===T?"#1a1a1a":"#fff"},Kl=localStorage.getItem("currencySymbol");return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(Ue.Provider,{value:{addressDetail:j,payType:ee,setPayType:te,paymentSva:ae,setPaymentSva:se,paymentMId:le,setPaymentMId:oe,paymentIntentId:ie,setPaymentIntentId:re,paymentType:ne,setPaymentType:me,stripepayment:A,placeOrderApiJson:Fl,chargesdetail:v,applepayGpayBtnStatus:L,setApplepayGpayBtnStatus:$,paymentRequest:z,PlaceOrderJson:ce,stripe:O,elements:M,setPaySubmit:xe,paySubmit:pe,setGpaySubmit:qe,gpaySubmit:Ke,setSvpaySubmit:_e,svpaySubmit:We,setApaySubmit:tt,clientSecret:lt,setClientSecret:ot,setPayPalClientSecret:rt,payPalClientSecret:it,svclientSecret:at,setSvclientSecret:st,apaySubmit:et,placeorder:k,instruction:Ze,setInstruction:Oe,AddressPopupshow:be,walletstatus:nt,setWalletstatus:ct,localGuestMode:Pt,walletamount:dt,setWalletamount:mt,setAddressPopupshow:Ne,setCardErrorMessage:xt,setPayPalErrorMessage:ht,setFinalTotal:qs,cardErrorMessage:pt,PaypalErrorMessage:ut,deliveryCharge:dl,bagCharge:ze,clientFkCharge:Le,Vat:Je,serviceCharge:He,setRoundedValue:Ys,roundedValue:Qs,setDriverTip:Ls,driverTip:Hs,subTotal:Us,finalTotal:Ks,faildshow:gt,setFaildShow:yt,buttonstatus:vt,setButtonstatus:At,finalTotalValue:Xs,setFinalTotalValue:Ws,getLoyalty:D,updateJsonData:e=>{const t=[...la];t[0].paymentDetail.paymentMethodId=e,oa(t)},setPaymentMethodId:sa,jsonData:la,setPaymentRequest:H,selectedValue:Ba,setSelectedValue:Pa,paymentOptions:ks,cardtype:ha,setCardtype:ga,paypalType:Na,setPaypalType:Ca,cashtype:ya,setCashtype:va,applepaytype:Aa,setApplepaytype:fa,googlepaytype:ja,setGooglepaytype:Sa,klarnaType:ka,setKlarnaType:ba,footerBtn:ea,setFooterBtn:ta,scrollelement:Fa,setScrollelement:Za,sectionRef:F,scrollToSection:()=>{F.current.scrollIntoView({behavior:"smooth"})},paymentSuccessShow:Ta,setPaymentSuccessShow:Oa,paymentSuccessMsg:Ma,setPaymentSuccessMsg:Ga,paymentModalShow:_s,setPaymentModalShow:$s,gpaydeviceInfo:Ia,appledeviceInfo:Ea,paysaveCard:G,setPaySaveCard:R,handlesavecardPayment:async e=>{const t=(()=>{const e=localStorage.getItem("preOrder")||"";if(e&&"0"!==e){const e=Intl.DateTimeFormat().resolvedOptions().timeZone,t=(new Date).toLocaleString("en",{timeZone:e,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),[a,s]=t.split(", "),[l,o,i]=a.split("/"),[r,n]=s.split(":"),c=o.padStart(2,"0"),d=l.padStart(2,"0"),m=parseInt(r,10),p=parseInt(n,10),x="".concat(m.toString().padStart(2,"0"),":").concat(p.toString().padStart(2,"0")),u="".concat(c,"/").concat(d,"/").concat(i),h=Al(u+" "+x),g=Al(localStorage.getItem("orderTime")),y=Al(localStorage.getItem("preOrder"));if(h>g||h>y)return!0}})();t?jl(!0):(oe(e),te("saveCardPaymentIntent"),_e(1),me(1),At(!0))},CARD_OPTIONS1:Ll,containerStyle:Jl,saveCardError:V,setSaveCardError:Q,cardStatus:Y,setCardStatus:U,paySpinner:Ra,setPaySpinner:Va,currentDateTime:Hl,preorder:Fe,duplicatHeight:Qa,setDuplicatHeight:Ya,preOrderTimeTable:ue,setPreOrderTimeTable:ge,getorderType:Ua,setGetOrderType:za,postCodePopupshow:we,setPostCodePopupshow:Ee,newAddresShow:De,setNewAddressShow:Be,tabStatus:Zt,setTabStatus:Tt,selectimeStatus:Ot,setSelectimeStatus:Mt,selectedTime:Vt,setSelectedTime:Qt,selectEstimateTime:_t,setSelectEstimateTime:$t,exitOrderDatePart:Jt,exitOrderTimePart:zt,formattedDateE:Wt,formatToday:Kt,estimateShow:fl,setEstimateShow:jl,clientName:ns,setClientName:cs,clientImages:ds,setClientIamges:ms,clientLogo:ps,setClientLogo:xs,scrolled:us,setScrolled:hs,topScolled:gs,setTopScolled:ys,setMinOrderModal:ra,minOrderModal:ia,minOrderMessage:na,setMinOrderMessage:ca,setMinOrderStatus:ma,minOrderStatus:da,itemAvailableData:Gt,setItemAvailableData:Rt,effectStatus:vs,setEffectStatus:As,fetchItemAvailability:Ul,autoshowPopup:fs,setAutoShowPopup:js,localCustomerId:bt,currency_symbol:Kl,extraAmountModal:Ha,setExtraAmountModal:La,useWalletBalance:Ja,setUseWalletBalance:Ka,extraLessAmount:qa,setExtraLe
1ssAmount:Xa,extraPayment:Wa,setExtraPayment:_a,extraStatus:ts,setExtraStatus:as,extraPayStatus:$a,setExtraPayStatus:es,polling:il,applyDiscount:B,showModalAddressEdit:ss,setShowModalAddressEdit:ls,deliverPostCodeStatus:ll,setDeliverPostCodeStatus:ol},children:[(0,Ve.jsxs)(S.ql,{children:[(0,Ve.jsx)("style",{type:"text/css",children:"\n        @media only screen and (min-width: 320px) and (max-width: 767px) {\n          .copyright-sec {\n            display:none;\n          }\n          .top-to-btm .icon-position {\n            bottom: 80px;\n            display:none;\n          }\n          .theme-btn{\n            display:none;\n          }\n          nav.main-header .logo img{\n              // visibility:hidden;\n              display:none;\n            }\n                .sticky-top {\n          padding-bottom: 20px !important;\n          padding-top: 10px !important;\n        }\n        button.navbar-toggler.collapsed {\n          margin-top: 12px;\n        }\n        .scroll-header-content {\n          margin-top: 12px;\n        }\n          .scroll-header-content button{\n          background-color: #dde0e4 !important;\n            }\n      .scroll-header-content button svg{\n          font-size: 18px;\n          fill: #000 !important;\n          margin-right: 2px;\n      }\n        }\n        footer{ \n            display:none;\n          }\n          .checkbox-wrapper-54 .slider {\n            display:none;\n      }\n                #light-dark-tool {\n          display: none;\n      }\n\n          \n      "}),(0,Ve.jsx)("style",{type:"text/css",children:"\n      :root {\n        scroll-behavior: inherit;\n      }\n      .top-to-btm{\n        display:none;\n      }\n        .transform-active {\n                position: absolute;\n                display: flex;\n                justify-content: space-between;\n                align-items: center;\n                background-color: var(--theme-background);\n                border-radius: 50px;\n                border: none;\n                box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);\n              } \n      "})]}),xa<768&&(0,Ve.jsx)(jt,{}),(0,Ve.jsx)($e,{showPreorder:Ns,setShowPreorder:Cs}),(0,Ve.jsx)(b.dt,{}),(0,Ve.jsx)(b.$t,{}),(0,Ve.jsx)(b.pV,{userData:g})]})})})),Je=async e=>{try{return(await(0,me.G)(e)).data}catch(t){throw console.log(t),t}},Ke=async e=>{try{const t="FUSION-POSTCODE-2025",a=Ee()(e,t);"Bearer ".concat(a);return(await(0,pe.r)(a)).data}catch(t){throw console.log(t),t}},qe=async e=>{if(null!==e&&void 0!==e&&e.post_code)try{const t="FUSION-2025",a={fuspcode:null===e||void 0===e?void 0:e.post_code},s=Ee()(a,t),l={headers:{Authorization:"Bearer ".concat(s),"Content-Type":"application/json"}};return(await(0,xe.Q)(s,l)).data}catch(t){throw console.log(t),t}},Xe=async e=>{try{return(await(0,ue.t)(e)).data}catch(t){throw console.log(t),t}},We=(0,l.createContext)({}),_e=()=>(0,l.useContext)(We),$e=e=>{var t;let{showPreorder:a,setShowPreorder:s,setGetOrderType:o,getorderType:i}=e;const{preOrderTimeTable:r,scrolled:n,setScrolled:c,setTopScolled:d,chargesdetail:m,itemAvailableData:p}=(0,l.useContext)(Ue),{getOrderMode:h,getOrderTime:g}=(0,C.yM)(),[y,v]=(0,l.useState)(window.innerWidth),[A,f]=(0,l.useState)([]),j=(localStorage.getItem("orderMode"),localStorage.getItem("orderPostcode"),localStorage.getItem("clientName"),localStorage.getItem("cartQty"),localStorage.getItem("preOrder"),localStorage.getItem("tatTime"),window.innerWidth>768);(0,l.useEffect)((()=>{const e=()=>v(window.innerWidth);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),(0,l.useEffect)((()=>{var e;null!==m&&void 0!==m&&null!==(e=m.message)&&void 0!==e&&e.driverTipStatus||localStorage.removeItem("driverTipValue")}),[m]);const S=m&&(null===m||void 0===m||null===(t=m.message)||void 0===t?void 0:t.driverTipStatus);return(0,l.useEffect)((()=>{function e(){window.scrollY>2?d(!0):d(!1),window.scrollY>50?c(!0):c(!1)}return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];f(e)}),[localStorage.getItem("cart")]),(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"fus-checkout-page",children:[y<768&&(0,Ve.jsx)(jt,{}),(0,Ve.jsx)("div",{className:y>575?"container":"",children:(0,Ve.jsx)("div",{className:"fus-checkout",children:(0,Ve.jsxs)(x.Z,{children:[(0,Ve.jsx)(u.Z,{xl:6,lg:6,className:"lg-style-1",children:(0,Ve.jsxs)("div",{className:"fus-delivery-bar",children:[(0,Ve.jsx)("div",{children:(0,Ve.jsx)(et,{setShowPreorder:s,showPreorder:a,preOrderTimeTable:r})}),(0,Ve.jsx)(ct,{}),(0,Ve.jsx)(xt,{}),(0,Ve.jsx)(mt,{}),(0,Ve.jsx)(pt,{}),S&&(0,Ve.jsx)(ut,{}),(0,Ve.jsx)(ht,{}),(0,Ve.jsx)(ft,{})]})}),(0,Ve.jsxs)(u.Z,{xl:6,lg:6,className:"".concat("lg-style-2"),style:{paddingLeft:j?"20px":"0px"},children:[(0,Ve.jsx)("div",{className:"fus-payment-btn d-sm-none d-xs-none d-xl-block d-xxl-block d-lg-block d-md-none"}),(0,Ve.jsx)("div",{className:"fus-payment-bar",children:(0,Ve.jsx)(vt,{})}),(0,Ve.jsx)(At,{})]})]})})})]})})},et=e=>{const{currency_symbol:t}=ze(),{getOrderMode:a,getOrderTime:s,setOrderMode:i}=(0,C.yM)(),{path:c}=(0,o.UO)(),d=(0,he.I0)(),m=(0,he.v9)((e=>e.userdata.userData)),[p,x]=(0,l.useState)(0),[u,g]=(0,l.useState)(""),{setAddressPopupshow:y,setInstru
1ction:A,setGetOrderType:j,preOrderTimeTable:S,setSelectimeStatus:k,setSelectedTime:N,formatToday:w,setMinOrderModal:E,minOrderModal:D,setMinOrderStatus:B,fetchItemAvailability:P}=(0,l.useContext)(Ue),{theme:F}=(0,l.useContext)(I.Z),[Z,T]=(0,l.useState)(null),G=JSON.parse(localStorage.getItem("collectionDiscount")),R=JSON.parse(localStorage.getItem("deliveryDiscount")),V=async e=>{if(!localStorage.getItem("isTableQr")){var t,a,s,l;T(e),i(e),k(!0),N(null);const y=null===S||void 0===S||null===(t=S.Delivery)||void 0===t?void 0:t.today;let v=null===y||void 0===y?void 0:y.split(",")[0];const A=null===S||void 0===S||null===(a=S.Delivery)||void 0===a?void 0:a.later;let f="",b="";if(""!=A&&"No Pre-order later"!=A){const e=Object.keys(A);e.sort(),b=e[0];f=A[b].split(",")[0],console.log("First date: ".concat(b,", First time: ").concat(f))}else console.log("later object is undefined or empty");const C=null===S||void 0===S||null===(s=S.Collection)||void 0===s?void 0:s.today;let I=null===C||void 0===C?void 0:C.split(",")[0];const D=null===S||void 0===S||null===(l=S.Collection)||void 0===l?void 0:l.later;let F,Z="";if(""!=D&&"No Pre-order later"!=D){const e=Object.keys(D);e.sort(),Z=e[0];F=D[Z].split(",")[0],console.log("First date: ".concat(Z,", First time: ").concat(F))}else console.log("later object is undefined or empty");localStorage.setItem("orderMode",e);const O=localStorage.getItem("orderMinOrder")?JSON.parse(localStorage.getItem("orderMinOrder")):"",M=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if("Delivery"==e){var o,r,n,p;if(O&&(parseFloat(M)<parseFloat(O.deliveryMinOrder)?(E(!0),B(!0)):(E(!1),B(!1))),S&&null!==S&&void 0!==S&&null!==(o=S.Delivery)&&void 0!==o&&null!==(r=o.asap)&&void 0!==r&&r.tatTime)j("ASAP"),localStorage.setItem("orderType","ASAP"),localStorage.setItem("orderTime",null===S||void 0===S||null===(n=S.Delivery)||void 0===n||null===(p=n.asap)||void 0===p?void 0:p.time),localStorage.setItem("preOrder","0"),P();else S&&null!==S&&void 0!==S&&S.Delivery&&S.Delivery.today&&""!=S.Delivery.today&&"No Pre-order"!=S.Delivery.today&&"closed"!=S.Delivery.today?(j("Today"),localStorage.setItem("orderType","Today"),localStorage.setItem("orderTime",w+" "+v),localStorage.setItem("preOrder",w+" "+v),P()):(j("Later"),localStorage.setItem("orderType","Later"),localStorage.setItem("orderTime",Z+" "+f),localStorage.setItem("preOrder",Z+" "+f),P());(0,Ze.vp)(R,"Delivery")}else if("Collection"==e){var x,u,h,g;if(O&&(parseFloat(M)<parseFloat(O.collectionMinOrder)?(E(!0),B(!0)):(E(!1),B(!1))),S&&null!==S&&void 0!==S&&null!==(x=S.Collection)&&void 0!==x&&null!==(u=x.asap)&&void 0!==u&&u.tatTime)j("ASAP"),localStorage.setItem("orderType","ASAP"),localStorage.setItem("orderTime",null===S||void 0===S||null===(h=S.Collection)||void 0===h||null===(g=h.asap)||void 0===g?void 0:g.time),localStorage.setItem("preOrder","0"),P();else S&&null!==S&&void 0!==S&&S.Collection&&S.Collection.today&&""!=S.Collection.today&&"No Pre-order"!=S.Collection.today&&"closed"!=S.Collection.today?(j("Today"),localStorage.setItem("orderType","Today"),localStorage.setItem("orderTime",w+" "+I),localStorage.setItem("preOrder",w+" "+I),P()):(j("Later"),localStorage.setItem("orderType","Later"),localStorage.setItem("orderTime",Z+" "+F),localStorage.setItem("preOrder",Z+" "+F),P());(0,Ze.vp)(G,"Collection")}(0,Me.O0)();const V=localStorage.getItem("orderTime")||"",Q=localStorage.getItem("storePostcode")||"";d((0,be.NG)({client_path:c,order_mode:"Collection"===e?1:0,order_time:V,customer_id:m?m.customerId:"",post_code:Q}))}},Q=localStorage.getItem("postcodeDetail")||"",Y=localStorage.getItem("loginAddress")||"",U=localStorage.getItem("guestAddress")||"",z=localStorage.getItem("isLoggedIn"),[H,L]=(0,l.useState)(!1),[J,K]=(0,l.useState)(!1),q=localStorage.getItem("isTableQr");(0,l.useEffect)((()=>{var e,t,a,s;S&&null!==S&&void 0!==S&&null!==(e=S.Collection)&&void 0!==e&&null!==(t=e.asap)&&void 0!==t&&t.tatTime||S&&null!==S&&void 0!==S&&S.Collection&&S.Collection.today&&""!=S.Collection.today&&"No Pre-order"!=S.Collection.today&&"closed"!=S.Collection.today||S&&null!==S&&void 0!==S&&S.
1Collection&&S.Collection.later&&""!==S.Collection.later?K(!1):K(!0),S&&null!==S&&void 0!==S&&null!==(a=S.Delivery)&&void 0!==a&&null!==(s=a.asap)&&void 0!==s&&s.tatTime||S&&null!==S&&void 0!==S&&S.Delivery&&S.Delivery.today&&""!=S.Delivery.today&&"No Pre-order"!=S.Delivery.today&&"closed"!=S.Delivery.today||S&&null!==S&&void 0!==S&&S.Delivery&&S.Delivery.later&&""!==S.Delivery.later?L(!1):L(!0)}),[e.preOrderTimeTable]),(0,l.useEffect)((()=>{let e="";e="true"===z?Y?JSON.parse(Y):"":U?JSON.parse(U):"";const t=Q?JSON.parse(Q):"";"Delivery"===a&&t&&!e.postcode&&y(!0)}),[a,Q,Y,U,z]);const[X,W]=(0,l.useState)(window.innerWidth),_=767;(0,l.useEffect)((()=>{const e=()=>W(window.innerWidth);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const[$,ee]=(0,l.useState)(!1),te=localStorage.getItem("instruction"),ae={"Need Double Bags":"doublebag","Food is ready? Please Call me":"call","Leave at door":"door","Leave with guard":"guard"}[te]||"other",[se,le]=(0,l.useState)(ae),re=e=>{le(e);const t={doublebag:"Need Double Bags",call:"Food is ready? Please Call me",door:"Leave at door",guard:"Leave with guard"}[e];t&&localStorage.setItem("instruction",t),A(t)};function ne(e){const t=e.target.value;A(t),localStorage.setItem("instruction",t)}const ce=()=>{ee(!0)},de=()=>{ee(!1)},me=localStorage.getItem("isTableQr"),pe=JSON.parse(localStorage.getItem("discount")||"{}"),xe=parseFloat(null===pe||void 0===pe?void 0:pe.appliedDiscount)||0,ue=X>_?{padding:"15px 15px 15px 15px"}:{padding:"10px 15px 15px 15px"};return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{children:xe>0?(0,Ve.jsx)("div",{className:"savingstopdiscount d-block d-sm-none",children:(0,Ve.jsxs)("p",{children:["You saved"," ",(0,Ve.jsxs)("span",{style:{fontWeight:"600"},children:[" ",t," ",xe," "]})," ","on this order"]})}):null}),(0,Ve.jsx)(h.Z,{className:"deliveryCard",children:(0,Ve.jsxs)(h.Z.Body,{style:ue,children:[(0,Ve.jsxs)("div",{className:"preorder-box",children:[(0,Ve.jsxs)(h.Z.Title,{style:{cursor:"pointer",width:e.width>e.breakpoint||H||J?"100%":"50%"},children:[" ","Delivery"===a?"Order details":q?"Dine-in Details":"Order details"]}),!me&&H||J?(0,Ve.jsx)(n.Z,{fill:!0,style:{display:"none"},onSelect:V,defaultActiveKey:a||"Delivery",activeKey:a}):!me&&(0,Ve.jsxs)(n.Z,{fill:!0,style:{height:"100%",border:"none",width:"50%"},onSelect:V,defaultActiveKey:a||"Delivery",activeKey:a,children:[(0,Ve.jsx)(r.Z,{eventKey:"Delivery",title:(0,Ve.jsxs)("span",{children:[(0,Ve.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c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eC6g2/1UYSZoKmWsXIMwXDOo3T5tBF+tsow+jLI8MSeDuXHGFXT32mNGaJqr3Uq2Hn8G6333fYDPGjK1wo9m8+plQLncPVTwi9Mi/KNSn79nIaRStp+SDg//jNH93Uf40Z4PYBW+tJtJPiC8nP3mHpuNXSPu45AaM6VG+M2kWo+webAvcF2AH5fnNZDlHk4i+CM1pqsMFwCDMFzgWuxvRUIXVKYWQY0joUb5yogJ2DYG6+a+Qlp/ekhQLzb4IxZlDkyIGV1PQY0yZyK4OrQ4YmrkE0KHeZ+WYZCvNTipf0tvsG5qY4TgKsJNzSyOB4O1EGLu111TY8LAT31MnFszsFhvszZ4/C79Fg87bN3r14+bv0ts8JgKi8fHxG3vYxjvd4mHo/GWIIQQQgghhBBCCCGEEEIIIYQQQgghhBBCCIngK19gs2XvSFqRAAAAAElFTkSuQmCC",alt:"delivery",style:{width:"24px",height:"24px",marginRight:"5px"}}),"Delivery"]}),className:"delivery",disabled:H}),(0,Ve.jsx)(r.Z,{eventKey:"Collection",title:(0,Ve.jsxs)("span",{children:[(0,Ve.jsx)("img",{src:O,alt:"Pickup",style:{width:"18px",height:"18px",marginRight:"8px"}}),"Pickup"]}),className:"collection",disabled:J})]})]}),"Delivery"===a?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(tt,{theme:F,width:X,breakpoint:_,selectedOption:se,handleOptionChange:re,otherInstruction:ne})}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(lt,{theme:F,width:X,breakpoint:_,selectedOption:se,handleOptionChange:re,otherInstruction:ne})}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),X>_?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{children:(0,Ve.jsxs)("div",{className:"delivery-detail",onClick:ce,children:[(0,Ve.jsx)(ie.HlM,{}),(0,Ve.jsxs)("div",{className:"delivery-text",children:[(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:"Add order notes"}),(0,Ve.jsxs)("span",{children:[" ",te&&""!==te.trim()?te:null]})]}),(0,Ve.jsx)("div",{className:"delivery-action-btn",children:(0,Ve.jsx)("button",{className:"delivery-action-btn",onClick:ce,children:(0,Ve.jsx)(oe.jfD,{})})})]})}),(0,Ve.jsx)(f.Z,{show:$,onHide:()=>ee(!1),id:"checkout-postcodenew",centered:!0,children:(0,Ve.jsxs)(f.Z.Body,{className:"order-note-modal",children:[(0,Ve.jsxs)("h2",{className:"order-note-title",children:["Order notes"," ",(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:de})]}),(0,Ve.jsxs)("div",{className:"order-modal-bodycontent",children:[(0,Ve.jsx)("p",{className:"order-note-description",children:"Leave a note about your order. If you (or someone you're ordering for) have a food allergy, please contact the place directly. Do not include details about any allergens or tolerance in note."}),(0,Ve.jsxs)("h3",{className:"order-note-subtitle",children:["Add your note"," ",(0,Ve.jsx)("span",{className:"optional-text",children:"Optional"})]}),(0,Ve.jsx)(v.Z,{className:"formnoteinput",style:{padding:"4px"},children:(0,Ve.jsx)(v.Z.Control,{as:"textarea",placeholder:'For example "Extra hot please", or "please leave order on the porch"',rows:4,value:te,onChange:ne,className:"textarea-field mt-2"})}),(0,Ve.jsx)("button",{onClick:de,className:"done-button mt-2 w-100",children:"Update"})]})]})})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{children:(0,Ve.jsxs)("div",{className:"delivery-detail",onClick:ce,children:[(0,Ve.jsx)(ie.HlM,{}),(0,Ve.jsxs)("div",{className:"delivery-text",children:[(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:"Add order notes"}),(0,Ve.jsxs)("span",{children:[" ",te&&""!==te.trim()?te:null]})]}),(0,Ve.jsx)("div",{className:"delivery-action-btn",children:(0,Ve.jsx)("button",{className:"delivery-action-btn",onClick:ce,children:(0,Ve.jsx)(oe.jfD,{})})})]})}),(0,Ve.jsx)(f.Z,{show:$,onHide:()=>ee(!1),id:"checkoutcustomModal",centered:!0,children:(0,Ve.jsxs)(f.Z.Body,{className:"order-note-modal ",children:[(0,Ve.jsxs)("h2",{className:"order-note-title",children:["Add instruction"," ",(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:de})]}),(0,Ve.jsxs)("div",{className:"order-modal-bodycontent",children:[(0,Ve.jsx)(v.Z,{className:"forminstruction",children:(0,Ve.jsx)(v.Z.Control,{as:"textarea",placeholder:"Add instruction",value:te,onChange:ne,className:"textarea-fieldmobile mt-3 w-100"})}),(0,Ve.jsx)("button",{onClick:de,className:"done-button mt-3 w-100",children:"Submit"})]})]})})]})]})}),(0,Ve.jsx)(rt,{theme:F,selectedOrderMode:Z,setSelectedOrderModeValue:i,showPreorder:e.showPreorder,setShowPreorder:e.setShowPreorder,HandleClickClose:()=>{e.setShowPreorder(!1)}}),D&&(0,Ve.jsx)(b.YV,{HandleClick:V})]})},tt=e=>{const{getOrderMode:t}=(0,C.yM)(),{addressDetail:a}=(0,l.useContext)(Ue),[o,i]=(0,l.useState)([]),[r,n]=(0,l.useState)("Home"),[c,d]=(0,l.useState)([]),{setAddressPopupshow:m}=(0,l.useContext)(Ue),[p,x]=(0,l.useState)({firstName:"",lastName:"",postcode:"",phone:"",email:"",door:"",street:"",city:"",orderMode:"Delivery"===t?"0":"1",customerId:"",addressId:""}),[u,h]=(0,l.useState)({firstName:"",lastName:"",postcode:"",phone:"",email:"",door:"",street:"",city:"",orderMode:"Delivery"===t?"0":"1",customerId:"",addressId:""});return(0,l.useEffect)((()=>
1{if(!0===(null===a||void 0===a?void 0:a.status)){const e=a.data.find((e=>e.postcode===localStorage.getItem("orderPostcode")))||"";m(!e);const t=a.data.map((e=>{const t=(e=>{switch(e){case 1:return"Home";case 2:return"Office";case 3:return"Other";default:return""}})(e.type);if(e.postcode===localStorage.getItem("orderPostcode")){n(t);const a={firstName:e.fname||"",lastName:e.lname||"",postcode:e.postcode||"",phone:e.phone||"",email:e.email||"",door:e.no||"",street:e.address1||"",city:e.address2||"",customerId:e.cid||"",addressId:e.id||"",type:t};d(a)}else{n(t);const a={firstName:e.fname||"",lastName:e.lname||"",postcode:e.postcode||"",phone:e.phone||"",email:e.email||"",door:e.no||"",street:e.address1||"",city:e.address2||"",customerId:e.cid||"",addressId:e.id||"",type:t};d(a)}return(0,s.Z)((0,s.Z)({},e),{},{type:t})}));i(t)}}),[a,d,m]),(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(We.Provider,{value:{getAddressField:c,formData:p,setFormData:x,newAddressData:u,setNewAddressData:h},children:[(0,Ve.jsxs)("div",{className:"delivery-detail",children:[(0,Ve.jsx)(at,{getAddressField:c}),e.width<768&&(0,Ve.jsx)(ot,{getAddress:o,setAddressField:d,getDefaultAddress:r,setDefaultAddress:n,label:(0,Ve.jsx)(oe.jfD,{})}),e.width>e.breakpoint&&(0,Ve.jsx)(ot,{getAddress:o,setAddressField:d,getDefaultAddress:r,setDefaultAddress:n,label:(0,Ve.jsx)(oe.jfD,{})})]}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),(0,Ve.jsxs)("div",{className:"delivery-detail",children:[(0,Ve.jsx)(st,{}),e.width<768&&(0,Ve.jsx)(it,{getAddress:o,setAddressField:d,getDefaultAddress:r,setDefaultAddress:n,label:(0,Ve.jsx)(oe.jfD,{})}),e.width>e.breakpoint&&(0,Ve.jsx)(it,{getAddress:o,setAddressField:d,getDefaultAddress:r,setDefaultAddress:n,label:(0,Ve.jsx)(oe.jfD,{})})]})]})})};function at(){const e=JSON.parse(localStorage.getItem("isLoggedIn")),{AddressPopupshow:t,setAddressPopupshow:a}=(0,l.useContext)(Ue),{theme:s}=(0,l.useContext)(I.Z);let o=[];if(!0===e){o=_e().getAddressField}else{const e=localStorage.getItem("guestAddress");o=e?JSON.parse(e):"",o.postcode!==localStorage.getItem("orderPostcode")&&a(!0)}return(0,Ve.jsx)(Ve.Fragment,{children:o?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)(G.BKo,{}),(0,Ve.jsx)("div",{className:"delivery-text",onClick:()=>a(!0),children:o.firstName&&o.lastName&&o.phone?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("p",{className:"delivery-text-postcode",children:[" ",o.firstName," ",o.lastName]}),(0,Ve.jsx)("p",{className:"delivery-sub-text-postcode",style:{color:"#868686 !important"},children:o.phone})]}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:"Add Address"})})})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)(G.BKo,{}),(0,Ve.jsx)("div",{className:"delivery-text",children:(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:"Add Address"})})]})})}function st(){const{theme:e}=(0,l.useContext)(I.Z),t=JSON.parse(localStorage.getItem("isLoggedIn")),{setAddressPopupshow:a,setShowModalAddressEdit:s,showModalAddressEdit:o}=(0,l.useContext)(Ue),i=localStorage.getItem("selectedAddressType");let r=[];if(!0===t){r=_e().getAddressField}else{const e=localStorage.getItem("guestAddress");r=e?JSON.parse(e):"",r.postcode!==localStorage.getItem("orderPostcode")&&a(!0)}const n=e=>{switch(e){case"home":return(0,Ve.jsx)(re.iB,{style:{alignSelf:"flex-start"}});case"office":return(0,Ve.jsx)(H.e6_,{style:{alignSelf:"flex-start"}});default:return(0,Ve.jsx)(ae.Ts9,{style:{alignSelf:"flex-start"}})}};return(0,Ve.jsx)(Ve.Fragment,{children:r?(0,Ve.jsxs)(Ve.Fragment,{children:[n(i),(0,Ve.jsx)("div",{className:"delivery-text",onClick:()=>s(!0),children:r.postcode&&r.door&&r.street&&r.city?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("p",{className:"delivery-text-postcode",children:["Delivery to ",i]}),(0,Ve.jsxs)("p",{className:"delivery-sub-text-postcode",style:{color:"#868686 !important"},children:[r.door,",",r.street,",",r.city]}),(0,Ve.jsx)("p",{className:"deliverypostcode-text",children:r.postcode})]}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:"Add Postcode"})})})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[n(i),(0,Ve.jsx)("div",{className:"delivery-text",children:(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:"Add Postcode"})})]})})}function lt(e){var t,a,s,o,i,r,n;const{theme:c}=(0,l.useContext)(I.Z),[d,m]=(0,l.useState)([]),p=localStorage.getItem("guestAddress")||"";let x;p&&(x=JSON.parse(p));const u=localStorage.getItem("loginAddress")||"";let h="";"true"===localStorage.getItem("isLoggedIn")&&u&&(h=JSON.parse(u));const g=localStorage.getItem("isTableQr"),{stripepayment:y}=(localStorage.getItem("tableName"),(0,l.useContext)(Ue));(0,l.useEffect)((()=>{var e;null!==y&&void 0!==y&&null!==(e=y.message)&&void 0!==e&&e.clientDetail&&m(y.message.clientDetail)}),[y]);localStorage.getItem("address1");const v=localStorage.getItem("address2"),A=localStorage.getItem("city"),f=localStorage.getItem("pincode");return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("div",{className:"delivery-detail",children:[(0,Ve.jsx)("div",{className:"detailsusericon",children:(0,Ve.jsx)(G.BKo,{})}),(0,Ve.jsxs)("div",{className:"delivery-text",children:[(0,Ve.jsxs)("p",{className:"delivery-text-postcode",children:[null===(t=x)||void 0===t?void 0:t.firstName," ",null===(a=x)||void 0===a?void 0:a.lastName]}),x?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{className:"delivery-sub-text-postcode",style:{color:"#868686 !important"},children:null===(s=x)||void 0===s?void 0:s.phone})}):h&&""!=h?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("p",{className:"delivery-text-postcode",children:[null===(o=h)||void 0===o?void 0:o.firstName," ",null===(i=h)||void 0===i?void 0:i.lastName]}),(null===(r=h)||void 0===r?void 0:r.phone)&&(0,Ve.jsx)("p",{className:"delivery-sub-text-postcode",style:{color:"#868686 !important"},children:null===(n=h)||void 0===n?void 0:n.phone})]}):null]}),(0,Ve.jsxs)("div",{className:"delivery-action-btn",children:[e.width>e.breakpoint&&(0,Ve.jsx)(nt,{label:(0,Ve.jsx)(oe.jfD,{})}),e.width<768&&(0,Ve.jsx)(nt,{label:(0,Ve.jsx)(oe.jfD,{})})]})]}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),(0,Ve.jsxs)("div",{className:"delivery-detail",children:[(0,Ve.jsx)("div",{className:"detailsusericon",children:(0,Ve.jsx)(ae.Ts9,{})}),(0,Ve.jsxs)("div",{className:"delivery-text",children:[(0,Ve.jsx)("p",{className:"delivery-text-postcode",children:g?"Dine-in":"Pickup from"}),(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("p",{className:"delivery-sub-text-postcode",style:{color:"#FFFADE"},children:[v,", ",A,",",f]})})]}),(0,Ve.jsx)("div",{className:"delivery-action-btn"})]})]})}function ot(e){const t=JSON.parse(localStorage.getItem("isLoggedIn")),a=localStorage.getItem("clientPath"),{AddressPopupshow:o,setAddressPopupshow:i,SuccessShow:r,setSuccessShow:n,localGuestMode:c,setMinOrderModal:d,setMinOrderStatus:m,setMinOrderMessage:p,deliverPostCodeStatus:h,setDeliverPostCodeStatus:g}=(0,l.useContext)(Ue),{getOrderMode:y}=(0,C.yM)(),{theme:A}=(0,l.useContext)(I.Z),{formData:S,setFormData:k}=_e(),{newAddressData:b,setNewAddressData:N}=_e(),[w,E]=(0,l.useState)(null),[D,B]=(0,l.useState)(null),P=JSON.parse(localStorage.getItem("userData")),F=(0,l.useMemo)((()=>P?P.customerId:null),[P]);(0,l.useEffect)((()=>{!0===h&&Y({postcode:"The restaurant doesn't deliver to "+S.postcode})}),[h]),(0,l.useEffect)((()=>{const t=JSON.parse(localStorage.getItem("userData")),a=JSON.parse(localStorage.getItem("isLoggedIn")),l=localStorage.getItem("orderPostc
1ode")||"";if(t&&!0===a){const a=e.getAddress.find((t=>t.type===e.getDefaultAddress))||"";B(a),k((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:a.fname||"",lastName:a.lname||"",postcode:a.postcode||"",phone:a.phone||"",email:a.email||"",door:a.no||"",street:a.address1||"",city:a.address2||"",orderMode:"Delivery"===y?"0":"1",customerId:a.cid||"",addressId:a.id||"",type:a.type})));const o=localStorage.getItem("loginAddress");if(o&&""!==o){const e=JSON.parse(o);B((t=>(0,s.Z)((0,s.Z)({},t),{},{firstName:e.firstName||"",lastName:e.lastName||"",postcode:e.postcode||"",phone:e.phone||"",email:e.email||"",door:e.door||"",street:e.street||"",city:e.city||"",orderMode:"Delivery"===y?"0":"1",customerId:e.customerId||"",addressId:e.addressId||"",type:"Default"}))),k((t=>(0,s.Z)((0,s.Z)({},t),{},{firstName:e.firstName||"",lastName:e.lastName||"",postcode:e.postcode||"",phone:e.phone||"",email:e.email||"",door:e.door||"",street:e.street||"",city:e.city||"",orderMode:"Delivery"===y?"0":"1",customerId:e.customerId||"",addressId:e.addressId||"",type:"Home"})))}else{const e={customer_id:t.customerId};Xe(e).then((e=>{!1===e.status||(B((t=>{var a,l;return(0,s.Z)((0,s.Z)({},t),{},{email:(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(l=a.profile)||void 0===l?void 0:l.email)||"",type:""})})),k((t=>{var a,l;return(0,s.Z)((0,s.Z)({},t),{},{email:(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(l=a.profile)||void 0===l?void 0:l.email)||"",type:""})})))})).catch((e=>{console.log(e)})),qe({post_code:l}).then((e=>{!1===(null===e||void 0===e?void 0:e.status)?console.log(null===e||void 0===e?void 0:e.message):(B((e=>(0,s.Z)({},e))),k((t=>{var a,o;return(0,s.Z)((0,s.Z)({},t),{},{postcode:l,street:null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.street,city:null===e||void 0===e||null===(o=e.message)||void 0===o?void 0:o.city,orderMode:"Delivery"===y?"0":"1"})})))})).catch((e=>{console.log(e)}))}}else{const e=localStorage.getItem("guestAddress");if(e){const t=JSON.parse(e);k((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:t.firstName||"",lastName:t.lastName||"",postcode:t.postcode||"",phone:t.phone||"",email:t.email||"",door:t.door||"",street:t.street||"",city:t.city||"",orderMode:"Delivery"===y?"0":"1",customerId:t.customerId||"",addressId:t.addressId||""})))}else k((e=>(0,s.Z)((0,s.Z)({},e),{},{postcode:l,orderMode:"Delivery"===y?"0":"1"}))),qe({post_code:l}).then((e=>{console.log(""),!1===e.status?console.log(e.message):k((t=>{var a,o;return(0,s.Z)((0,s.Z)({},t),{},{postcode:l,street:null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.street,city:null===e||void 0===e||null===(o=e.message)||void 0===o?void 0:o.city,orderMode:"Delivery"===y?"0":"1"})}))})).catch((e=>{console.log(e)}))}}),[e.getAddress,F]),(0,l.useEffect)((()=>{let e;const t=localStorage.getItem("guestAddress");if(t){const a=JSON.parse(t);e=a.postcode}c&&Ke({client_path:a,order_mode:"Delivery"===y?"0":"1",post_code:e}).then((t=>{if(console.log(""),!0===t.status){var a;localStorage.setItem("orderPostcode",e),localStorage.setItem("postcodeDetail",JSON.stringify((null===t||void 0===t?void 0:t.message)||""));const s=(null===t||void 0===t||null===(a=t.message)||void 0===a?void 0:a.minAmount)||0,l=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if(localStorage.setItem("deliverRadiousAmount",s.toString()),parseFloat(l)<parseFloat(s)){d(!0),m(!0);let e=(s-l).toFixed(2);const t="Need More \xa3".concat(e," for delivery");p(t)}}else console.log(""),localStorage.setItem("postcodeDetail","")})).catch((e=>{Y({postcode:"The restaurant doesn't deliver to "+S.postcode}),localStorage.setItem("postcodeDetail",""),console.log(e)}))}),[c,y]),(0,l.useEffect)((()=>{let e;const t=JSON.parse(localStorage.getItem("userData")),s=JSON.parse(localStorage.getItem("isLoggedIn"));if(t&&!0===s){const t=localStorage.getItem("loginAddress");if(t){const a=JSON.parse(t);e=a.postcode}t&&Ke({client_path:a,order_mode:"Delivery"===y?"0":"1",post_code:e}).then((t=>{if(console.log(""),!0===t.status){var a,s;localStorage.setItem("postcodeDetail",JSON.stringify(t.message)),localStorage.setItem("orderPostc
1ode",e),localStorage.setItem("postcodeDetail",JSON.stringify((null===t||void 0===t?void 0:t.message)||"")),console.log(null===t||void 0===t||null===(a=t.message)||void 0===a?void 0:a.minAmount);const l=(null===t||void 0===t||null===(s=t.message)||void 0===s?void 0:s.minAmount)||0,o=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if(localStorage.setItem("deliverRadiousAmount",l.toString()),parseFloat(o)<parseFloat(l)){d(!0),m(!0);let e=(l-o).toFixed(2);const t="Need More \xa3".concat(e," for delivery");p(t)}console.log("data check")}else console.log(""),localStorage.setItem("postcodeDetail","")})).catch((e=>{Y({postcode:"The restaurant doesn't deliver to "+S.postcode}),localStorage.setItem("postcodeDetail",""),console.log(e)}))}}),[t,y]);const Z=()=>i(!1),T=()=>n(!1),[O,R]=(0,l.useState)([]),V=t=>{e.setDefaultAddress(t),localStorage.setItem("selectedAddressType",t),Y({});const a=e.getAddress.find((e=>e.type===t))||{};if(console.log(a),R(a),Object.keys(a).length>0)console.log("datadata"),B((e=>(0,s.Z)((0,s.Z)({},e),{},{type:t}))),R(a);else{console.log("dfdgsdsf");const e=JSON.parse(localStorage.getItem("userData")),a=JSON.parse(localStorage.getItem("isLoggedIn"));if(e&&!0===a){const a={customer_id:e.customerId};Xe(a).then((e=>{!1===e.status?B((e=>(0,s.Z)((0,s.Z)({},e),{},{type:t,email:""}))):(B((a=>{var l,o;return(0,s.Z)((0,s.Z)({},a),{},{type:t,email:(null===e||void 0===e||null===(l=e.data)||void 0===l||null===(o=l.profile)||void 0===o?void 0:o.email)||""})})),R((t=>{var a,l;return(0,s.Z)((0,s.Z)({},t),{},{email:(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(l=a.profile)||void 0===l?void 0:l.email)||""})})))})).catch((e=>{B((e=>(0,s.Z)((0,s.Z)({},e),{},{type:t,email:""}))),console.log(e)}))}else B((e=>(0,s.Z)((0,s.Z)({},e),{},{type:t,email:""})))}const l={firstName:O.fname||"",lastName:O.lname||"",postcode:O.postcode||"",phone:O.phone||"",email:O.email||"",door:O.no||"",street:O.address1||"",city:O.address2||"",customerId:O.cid||"",addressId:O.id||""};k((e=>(0,s.Z)((0,s.Z)({},e),l)))};(0,l.useEffect)((()=>{0!==Object.keys(O).length&&k((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:(null===O||void 0===O?void 0:O.fname)||"",lastName:(null===O||void 0===O?void 0:O.lname)||"",postcode:(null===O||void 0===O?void 0:O.postcode)||"",phone:(null===O||void 0===O?void 0:O.phone)||"",email:(null===O||void 0===O?void 0:O.email)||"",door:(null===O||void 0===O?void 0:O.no)||"",street:(null===O||void 0===O?void 0:O.address1)||"",city:(null===O||void 0===O?void 0:O.address2)||"",orderMode:"Delivery"===y?"0":"1",customerId:(null===O||void 0===O?void 0:O.cid)||"",addressId:(null===O||void 0===O?void 0:O.id)||""})))}),[O]);const[Q,Y]=(0,l.useState)({}),[U,z]=(0,l.useState)(!1),H=async e=>{const{name:t,value:a}=e.target;console.log(a),console.log(S);const l=a.trim().replace(/'/g,""),o=(0,s.Z)((0,s.Z)({},Q),{},{[t]:""===l?{firstName:"First name is required",lastName:"Last name is required",phone:"Telephone is required",email:"Email is required",door:"Door number is required",street:"Street is required",city:"City is required"}[t]:""});console.log(o),"firstName"===t&&(""!==a&&null!==a||(o.firstName="First name is required")),"lastName"===t&&(""!==a&&null!==a||(o.lastName="Last name is required")),"email"===t&&(""===a||null===a?o.email="Email is required":J(a)||(o.email="Invalid email format")),"phone"===t&&(""===a||null===a?o.phone="Telephone is required":a.replace(/\D/g,"").length<11&&(o.phone="Telephone must be at least 11 digits")),"postcode"===t&&(""!==a&&null!==a||(o.postcode="Postcode is required")),"door"===t&&(""!==a&&null!==a||(o.door="Door / Flat / Build.. Number is required")),Y(o),k((0,s.Z)((0,s.Z)({},S),{},{[t]:l})),z(!1)},L=e=>{const t=e.replace(/\s/g,"");return/^[A-Z]{1,2}[0-9R][0-9A-Z]?[0-9][A-Z]{2}$/i.test(t)},J=e=>/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/.test(e),K={firstName:e=>e&&""!==e.trim()?"":"First name is required",lastName:e=>e&&""!==e.trim()?"":"Last name is required",phone:e=>e&&""!==e.trim()?"":"Phone number is required",email:e=>e&&""!==e.trim()?J(e)?"":"Invalid email format":"Email is required",postcode:e=>e&&""!==e.trim()?"":"Postcode is required",door:e=>e&&""!==e.trim()?"":"Door number is required",street:e=>e&&""!==e.trim()?"":"Street is required",city:e=>e&&""!==e.trim()?"":"City is required"},q={client_path:a,order_mode:"Delivery"===y?"0":"1",post_code:S.postcode};return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"delivery-action-btn",children:(0,Ve.jsx)("button",{className:"delivery-action-btn",onClick:()=>i(!0),children:e.label})}),(0,Ve.jsx)(f.Z,{show:o,onHide:Z,id:"checkout-address",centered:!0,className:"dark"===A?"dark-p
1opup":null,backdrop:"static",keyboard:!1,children:(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsxs)("div",{className:"header-div",children:[(0,Ve.jsx)("h3",{children:!0===t?"Change ".concat(D?D.type:""," address"):"Confirm address"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:Z})]}),(0,Ve.jsx)(v.Z,{children:(0,Ve.jsxs)(x.Z,{className:"align-items-start",children:[(0,Ve.jsxs)(u.Z,{xxl:6,xs:6,md:6,children:[(0,Ve.jsxs)("div",{className:"input-div first-input",children:[(0,Ve.jsx)(v.Z.Control,{name:"customerId",type:"text",placeholder:"Customer Id",value:S.customerId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"addressId",type:"text",placeholder:"Address Id",value:S.addressId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"orderMode",type:"text",placeholder:"OrderMode",value:S.orderMode,style:{display:"none"}})]}),(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic1",label:"First name",name:"firstName",variant:"outlined",placeholder:Q.firstName?Q.firstName:"First name",type:"text",value:S.firstName,onChange:H,error:!!Q.firstName,helperText:Q.firstName||"","data-fus":"fus-test-firstnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})]}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic2",label:"Last name",name:"lastName",type:"text",placeholder:"Last name",value:S.lastName,onChange:H,isInvalid:!!Q.lastName,error:!!Q.lastName,helperText:Q.lastName||"","data-fus":"fus-test-lastnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic3",label:"Phone number",name:"phone",type:"text",placeholder:"Telephone",value:S.phone,onChange:H,isInvalid:!!Q.phone,error:!!Q.phone,helperText:Q.phone||"","data-fus":"fus-test-phonenumberinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic4",label:"Email",name:"email",type:"text",placeholder:"email",value:S.email,onChange:H,isInvalid:!!Q.email,disabled:!(null===D||void 0===D||!D.email),readOnly:!(null===D||void 0===D||!D.email),error:!!Q.email,helperText:Q.email||"","data-fus":"fus-test-emailidinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic5",label:"Postcode",name:"postcode",type:"text",placeholder:"Post Code",value:S.postcode,onChange:e=>{const{name:t,value:a}=e.target;E(a),k((0,s.Z)((0,s.Z)({},S),{},{[t]:a}));const l=(0,s.Z)((0,s.Z)({},Q),{},{[t]:""===a.trim()?{postcode:"Post Code is required"}[t]:""}),o="postcode"===t?a.replace(/\W/g,"").replace(/^(.*)(\w{3})$/,"$1 $2").toUpperCase():S.postcode;if("postcode"===t&&!L(a))return l.postcode="Invalid Post Code",Y(l),void z(!0);qe({post_code:a}).then((e=>{if(!1===e.status)console.log(e.message);else{var t,a;console.log("");const i=(0,s.Z)((0,s.Z)({},S),{},{postcode:o,street:null===e||void 0===e||null===(t=e.message)||void 0===t?void 0:t.street,city:null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.city});i.street&&(l.street=""),i.city&&(l.city=""),console.log(i),k(i),z(!1)}})).catch((e=>{console.log(e)})),Y(l)},isInvalid:!!Q.postcode,error:!!Q.postcode,helperText:Q.postcode||"","data-fus":"fus-test-postcodeinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic6",label:"Door / Flat / Building",name:"door",type:"text",placeholder:"Door / Flat / Building",value:S.door,onChange:H,isInvalid:!!Q.door,error:!!Q.door,helperText:Q.door||"","data-fus":"fus-test-doornumberinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic7",label:"Street",name:"street",type:"text",placeholder:"street",value:S.street,onChange:H,isInvalid:!!Q.street,error:!!Q.street,helperText:Q.street||"","data-fus":"fus-test-streetnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic8",label:"City",name:"city",type:"text",placeholder:"city",value:S.city,onChange:H,isInvalid:!!Q.city,error:!!Q.city,helperText:Q.city||"","data-fus":"fus-test-citynameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),!0===t?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(u.Z,{xxl:12,xs:12,md:12,children:(0,Ve.jsxs)("div",{className:"radio-btn-group",children:[(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home",id:"Home",checked:"Home"===e.getDefaultAddress,onChange:()=>V("Home"),"data-fus":"fus-test-homeradiobtn"}),(0,Ve.jsx)("span",{children:"Home"})]}),(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Office",id:"Office",checked:"Office"===e.getDefaultAddress,onChange:()=>V("Office"),"data-fus":"fus-test-officeradiobtn"}),(0,Ve.jsx)("span",{children:"Office"})]}),(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Other",id:"Other",checked:"Other"===e.getDefaultAddress,onChange:()=>V("Other"),"data-fus":"fus-test-otherradiobtn"}),(0,Ve.jsx)("span",{children:"Other"})]})]})})}):null,(0,Ve.jsx)(u.Z,{xxl:12,xs:12,md:12,children:(0,Ve.jsx)(j.Z,{className:"submit-btn",onClick:()=>{(()=>{let e={};
1return Object.keys(K).forEach((t=>{const a=K[t](S[t]);a&&(e[t]=a)})),Y(e),0===Object.keys(e).length})()&&(z(!0),Ke(q).then((a=>{if(console.log(""),!0===a.status){var s,l;localStorage.setItem("orderPostcode",S.postcode),localStorage.setItem("postcodeDetail",JSON.stringify((null===a||void 0===a?void 0:a.message)||"")),console.log(null===a||void 0===a||null===(s=a.message)||void 0===s?void 0:s.minAmount);const c=(null===a||void 0===a||null===(l=a.message)||void 0===l?void 0:l.minAmount)||0,p=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if(localStorage.setItem("deliverRadiousAmount",c.toString()),parseFloat(p)<parseFloat(c)&&(d(!0),m(!0)),S){var o,r;if(S.city)S.city=null===S||void 0===S||null===(o=S.city)||void 0===o?void 0:o.replace(/[@#$'"&]/g,"");if(S.street)S.street=null===S||void 0===S||null===(r=S.street)||void 0===r?void 0:r.replace(/[@#$'"&]/g,"")}Je(S).then((a=>{console.log(a),!0===(null===a||void 0===a?void 0:a.status)?(S.addressId=a.message.addressId,S.customerId=a.message.customerId,e.setAddressField(S),!0!==t?(localStorage.setItem("guestAddress",JSON.stringify(S)),localStorage.setItem("orderPostcode",S.postcode),localStorage.setItem("loginAddress","")):(localStorage.setItem("loginAddress",JSON.stringify(S)),localStorage.setItem("guestAddress","")),i(!1),n(!0),z(!1),setTimeout((()=>{n(!1)}),2e3)):console.log(a)})).catch((e=>{console.log(e)}))}else z(!1),Y({postcode:"The restaurant doesn't deliver to "+S.postcode}),console.log(a),localStorage.setItem("postcodeDetail","")})).catch((e=>{Y({postcode:"The restaurant doesn't deliver to "+S.postcode}),localStorage.setItem("postcodeDetail",""),console.log(e)})))},disabled:!Object.values(Q).every((e=>""===e))||U,"data-fus":"fus-test-submitdonebtn",children:"Done"})})]})})]})}),(0,Ve.jsx)(f.Z,{show:r,onHide:T,className:"address-success-popup  ".concat("dark"===A?"dark-theme":""),backdrop:!0,children:(0,Ve.jsx)(f.Z.Body,{children:(0,Ve.jsxs)("div",{className:"content",children:[(0,Ve.jsx)("p",{children:"Your address was updated successfully"}),(0,Ve.jsx)("button",{onClick:T,"data-fus":"fus-test-closebtn",children:(0,Ve.jsx)(G.ReY,{})})]})})})]})}function it(e){const t=JSON.parse(localStorage.getItem("isLoggedIn")),a=localStorage.getItem("clientPath"),{SuccessShow:o,setSuccessShow:i,postCodePopupshow:r,setPostCodePopupshow:n,newAddresShow:c,setNewAddressShow:d,setMinOrderModal:m,setMinOrderStatus:p,showModalAddressEdit:h,setShowModalAddressEdit:g}=(0,l.useContext)(Ue),{getOrderMode:y}=(0,C.yM)(),{theme:A}=(0,l.useContext)(I.Z),{formData:S,setFormData:k}=_e(),{newAddressData:b,setNewAddressData:w}=_e(),[E,D]=(0,l.useState)(null),[B,P]=(0,l.useState)(null);(0,l.useEffect)((()=>{const t=JSON.parse(localStorage.getItem("userData")),a=JSON.parse(localStorage.getItem("isLoggedIn")),l=localStorage.getItem("orderPostcode")||"";if(t&&!0===a){const t=e.getAddress.find((t=>t.type===e.getDefaultAddress))||"";P(t);const a=localStorage.getItem("loginAddress");if(a){const e=JSON.parse(a);k((t=>(0,s.Z)((0,s.Z)({},t),{},{firstName:e.firstName||"",lastName:e.lastName||"",postcode:e.postcode||"",phone:e.phone||"",email:e.email||"",door:e.door||"",street:e.street||"",city:e.city||"",orderMode:e.orderMode,customerId:e.customerId||"",addressId:e.addressId||""})))}else qe({post_code:l}).then((e=>{console.log(e),!1===e.status?console.log(e.message):k((t=>{var a,o;return(0,s.Z)((0,s.Z)({},t),{},{postcode:l,street:null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.street,city:null===e||void 0===e||null===(o=e.message)||void 0===o?void 0:o.city,orderMode:"Delivery"===y?"0":"1"})}))})).catch((e=>{console.log(e)}))}else{const e=localStorage.getItem("guestAddress");if(e){const t=JSON.parse(e);k((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:t.firstName||"",lastName:t.lastName||"",postcode:t.postcode||"",phone:t.phone||"",email:t.email||"",door:t.door||"",street:t.street||"",city:t.city||"",orderMode:"Delivery"===y?"0":"1",customerId:t.customerId||"",addressId:t.addressId||""})))}else k((e=>(0,s.Z)((0,s.Z)({},e),{},{postcode:l,orderMode:"Delivery"===y?"0":"1"}))),qe({post_code:l}).then((e=>{console.log(e),!1===e.status?console.log(e.message):k((t=>{var a,o;return(0,s.Z)((0,s.Z)({},t),{},{postcode:l,street:null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.street,city:null===e||void 0===e||null===(o=e.message)||void 0===o?void 0:o.city,orderMode:"Delivery"===y?"0":"1"})}))})).catch((e=>{console.log(e)}))}}),[]);const F=()=>n(!1),Z=()=>i(!1),T=()=>g(!1),O=t=>{e.setDefaultAddress(t),localStorage.setItem("selectedAddressType",t),Q({});const a=e.getAddress.find((t=>t.type===e.getDefaultAddress))||{};P(a);const l={firstName:a.fname||"",lastName:a.lname||"",postcode:a.postcode||"",phone:a.phone||"",email:a.email||"",door:a.no||"",street:
1a.address1||"",city:a.address2||"",customerId:a.cid||"",addressId:a.id||""};k((e=>(0,s.Z)((0,s.Z)({},e),l)))},R=e=>e.replace(/\W/g,"").replace(/^(.*)(\w{3})$/,"$1 $2").toUpperCase(),[V,Q]=(0,l.useState)({}),[Y,U]=(0,l.useState)(!1),z=async e=>{const{name:t,value:a}=e.target;console.log(a),console.log(S);const l=a.trim().replace(/'/g,""),o=(0,s.Z)((0,s.Z)({},V),{},{[t]:""===l?{firstName:"First name is required",lastName:"Last name is required",phone:"Telephone is required",email:"Email is required",door:"Door number is required",street:"Street is required",city:"City is required"}[t]:""});console.log(o),"email"===t&&(K(a)||(o.email="Invalid email format")),"email"===t&&(""!==a&&null!==a||(o.email="Email is required")),"firstName"===t&&(""!==a&&null!==a||(o.firstName="Firstname is required")),"lastName"===t&&(""!==a&&null!==a||(o.lastName="Last name is required")),"phone"===t&&(""!==a&&null!==a||(o.phone="Telephone is required")),"door"===t&&(""!==a&&null!==a||(o.door="Door / Flat / Build.. Number is required")),Q(o),k((0,s.Z)((0,s.Z)({},S),{},{[t]:l})),U(!1)},L=async e=>{const{name:t,value:a}=e.target;console.log(a),console.log(b);const l=a.trim().replace(/'/g,""),o=(0,s.Z)((0,s.Z)({},V),{},{[t]:""===l?{firstName:"First name is required",lastName:"Last name is required",phone:"Telephone is required",email:"Email is required",door:"Door number is required",street:"Street is required",city:"City is required"}[t]:""});console.log(o),"email"===t&&(K(a)||(o.email="Invalid email format")),"email"===t&&(""!==a&&null!==a||(o.email="Email is required")),"firstName"===t&&(""!==a&&null!==a||(o.firstName="Firstname is required")),"lastName"===t&&(""!==a&&null!==a||(o.lastName="Lastname is required")),"phone"===t&&(""!==a&&null!==a||(o.phone="Telephone is required")),"door"===t&&(""!==a&&null!==a||(o.door="Door / Flat / Build.. Number is required")),Q(o),w((0,s.Z)((0,s.Z)({},b),{},{[t]:l})),U(!1)},J=e=>{const t=e.replace(/\s/g,"");return/^[A-Z]{1,2}[0-9R][0-9A-Z]?[0-9][A-Z]{2}$/i.test(t)},K=e=>/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/.test(e),q=()=>Object.values(V).every((e=>""===e)),X={client_path:a,order_mode:"Delivery"===y?"0":"1",post_code:S.postcode},W={client_path:a,order_mode:"Delivery"===y?"0":"1",post_code:b.postcode};let _=[];if(!0===t){_=_e().getAddressField}else{const e=localStorage.getItem("guestAddress");_=e?JSON.parse(e):"",_.postcode,localStorage.getItem("orderPostcode")}return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"delivery-action-btn",children:(0,Ve.jsx)("button",{className:"delivery-action-btn",onClick:()=>g(!0),children:e.label})}),(0,Ve.jsx)(f.Z,{show:h,onHide:T,id:"checkout-postcodenew",centered:!0,className:"dark"===A?"dark-popup":null,backdrop:"static",keyboard:!1,children:(0,Ve.jsx)(f.Z.Body,{children:(0,Ve.jsxs)("div",{className:"address-book-modal",children:[(0,Ve.jsxs)("div",{className:"address-book-header",children:[(0,Ve.jsx)("span",{children:"Address book"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:T})]}),(0,Ve.jsxs)("div",{className:"address-book-contentbook",children:[(0,Ve.jsxs)("div",{className:"add-new-address-box",onClick:()=>{d(!0),g(!1)},children:[(0,Ve.jsxs)("div",{className:"add-new-left",children:[(0,Ve.jsx)(ae.Ts9,{className:"addressiconnew"}),(0,Ve.jsx)("span",{children:"Add a new address"})]}),(0,Ve.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHsAAAB7CAYAAABUx/9/AAAACXBIWXMAACxLAAAsSwGl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qiASjrBwfoN12EIIFXpFZM4DD2iNCa4hVGi5rqPkCd5ggg9JqNBijhEpCRfc2vCv6SL06CleR/jyk9KG23SmBgnBK8KFXjIRjrAOW2sLThuH7gXu+3bFxEho7iL4itNsxz3dFuSVypHEjZuC8INv23HP6SB3Brtep6Tu0BV0O5E2rOe8qoNEvy5huxXakSAF3QVfk/6Ml1CkAnf15qRC9yG6tuG5teVye7LPdSiZSbRz9H8rwFxFL+h/7lfMDMcwr4EQ0T1pIx4oiY4hznfJjAlNrR4yuZAFaXm7p2mT+4Tr1m7IZGQitX6IC7LbnhVMI7ynGT2sGfZ8HBnhiPN2H+mxinfFes+IdDilsq4YtsKOGrYfMQ1L4qZL5bHj663JuzPq7f+1dh/S5rqd32c0Irf/FwM5vt84gfebOsImMeZkEh2WnCAFeb647ZCtsPv62YteYg9QfEVBXqKXmMhHKQifCZOKSZssuQWHEYSj6citSV/kkmaIlvPdu9HwpCf8bASeapw9BDIG9jQLtcrvsS62jI3f8uWlc7fMhP8BMGFPWD8wjPwAAAAASUVORK5CYII=",alt:"editiconlocation",className:"addressiconnew"})]}),(0,Ve.jsxs)("div",{className:"address-card",children:[(0,Ve.jsxs)("div",{className:"address-left",children:[(e=>{switch(e){case"home":return(0,Ve.jsx)(re.iB,{style:{fontSize:"25px",alignSelf:"flex-start"}});case"office":return(0,Ve.jsx)(H.e6_,{style:{fontSize:"25px",alignSelf:"flex-start"}});default:return(0,Ve.jsx)(ae.Ts9,{style:{fontSize:"25px",alignSelf:"flex-start"}})}})(e.getDefaultAddress),(0,Ve.jsxs)("div",{className:"address-info",children:[(0,Ve.jsx)("div",{className:"address-title",children:_.postcode}),(0,Ve.jsxs)("div",{className:"address-subtitle",children:[_.door,",",_.street,_.city]}),(0,Ve.jsx)("div",{className:"address-edit",onClick:()=>{n(!0),g(!1)},children:"Edit address"})]})]}),(0,Ve.jsx)("div",{className:"address-radio",children:(0,Ve.jsx)("div",{className:"radio-btn-group",children:(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Other",id:"Other","data-fus":"fus-test-edithomeradiobtn"})})})})]}),(0,Ve.jsx)("button",{className:"done-buttonaddressbook",type:"submit",onClick:T,disabled:!q()||Y,"data-fus":"fus-test-editsubmitbtn",children:"Update"})]})]})})}),(0,Ve.jsx)(f.Z,{show:r,onHide:F,id:"checkout-postcode",centered:!0,className:"dark"===A?"dark-popup":null,backdrop:"static",keyboard:!1,children:(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsxs)("div",{className:"header-div",children:[(0,Ve.jsx)("h3",{children:"Address book"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew","data-fus":"fus-test-pickupeditclsebtn",onClick:F})]}),(0,Ve.jsx)("div",{className:"checkoutaddresseditpopup",children:(0,Ve.jsx)(v.Z,{children:(0,Ve.jsxs)(x.Z,{className:"align-items-start",children:[(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div1 first-input",children:[(0,Ve.jsx)(v.Z.Control,{name:"customerId",type:"text",placeholder:"Customer Id",value:S.customerId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"addressId",type:"text",placeholder:"Address Id",value:S.addressId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"orderMode",type:"text",placeholder:"OrderMode",value:S.orderMode,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"firstName",type:"text",placeholder:"First name",value:S.firstName,onChange:z,isInvalid:!!V.firstName,style:{display:"none"},"data-fus":"fus-test-editfirstnameinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.firstName})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div second-input",children:[(0,Ve.jsx)(v.Z.Control,{name:"lastName",type:"text",placeholder:"Lastname",value:S.lastName,onChange:z,isInvalid:!!V.lastName,style:{display:"none"},"data-fus":"fus-test-editlastnameinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.lastName})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div",children:[(0,Ve.jsx)(v.Z.Control,{name:"phone",type:"text",placeholder:"Telephone",value:S.phone,onChange:z,isInvalid:!!V.phone,style:{display:"none"},"data-fus":"fus-test-edittelephoneinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.phone})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div",children:[(0,Ve.jsx)(v.Z.Control,{name:"email",type:"text",placeholder:"email",value:S.email,onChange:z,isInvalid:!!V.email,style:{display:"none"},"data-fus":"fus-test-editemailinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.email})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic5",label:"Postcode",name:"postcode",type:"text",placeholder:"Post Code",value:S.postcode,onChange:e=>{const{name:t,value:a}=e.target;D(a),k((0,s.Z)((0,s.Z)({},S),{},{[t]:a}));const l=(0,s.Z)((0,s.Z)({},V),{},{[t]:""===a.trim()?{postcode:"Post code is required"}[t]:""}),o="postcode"===t?R(a):S.postcode;if("postcode"===t&&!J(a))return l.postcode="Invalid post code",Q(l),void U(!0);qe({post_code:a}).then((e=>{if(!1===e.status)console.log(e.message);else{var t,a;console.log(e);const i=(0,s.Z)((0,s.Z)({},S),{},{postcode:o,street:null===e||void 0===e||null===(t=e.message)||void 0===t?void 0:t.street,city:null===e||void 0===e||null===(a=e.message)||void 0===a?void 0:a.city});i.street&&(l.street=""),i.city&&(l.city=""),console.log(i),k(i),U(!1)}})).catch((e=>{console.log(e)})),Q(l)},isInvalid:!!V.postcode,error:!!V.postcode,helperText:V.postcode||"","data-fus":"fus-test-editpostcodeinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic6",label:"Door / Flat / Building",name:"door",type:"text",placeholder:"Door / Flat / Building",value:S.door,onChange:z,isInvalid:!!V.door,error:!!V.door,helperText:V.door||"","data-fus":"fus-test-editdoornumberinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic7",label:"Street",name:"street",type:"text",placeholder:"street",value:S.street,onChange:z,isInvalid:!!V.street,error:!!V.street,helperText:V.street||"","data-fus":"fus-test-editstreetnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic8",label:"City",name:"city",type:"text",placeholder:"city",value:S.city,onChange:z,isInvalid:!!V.city,error:!!V.city,helperText:V.city||"","data-fus":"fus-test-editcitynameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),!0===t?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(u.Z,{xxl:12,xs:12,md:12,children:(0,Ve.jsxs)("div",{className:"radio-btn-group",children:[(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home",id:"Home",checked:"Home"===e.getDefaultAddress,onChange:()=>O("Home"),"data-fus":"fus-test-edithomeradiobtn"}),(0,Ve.jsx)("span",{children:"Home"})]}),(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Office",id:"Office",checked:"Office"===e.getDefaultAddress,onChange:()=>O("Office"),"data-fus":"fus-test-editofficeradiobtn"}),(0,Ve.jsx)("span",{children:"Office"})]}),(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Other",id:"Other",checked:"Other"===e.getDefaultAddress,onChange:()=>O("Other"),"data-fus":"fus-test-editothersradiobtn"}),(0,Ve.jsx)("span",{children:"Other"})]})]})})}):null,(0,Ve.jsx)(u.Z,{xxl:12,xs:12,md:12,children:(0,Ve.jsx)(j.Z,{className:"submit-btn",onClick:()=>{U(!0),Ke(X).then((a=>
1{if(console.log(a),!0===a.status){var s,l;localStorage.setItem("orderPostcode",S.postcode),localStorage.setItem("postcodeDetail",JSON.stringify((null===a||void 0===a?void 0:a.message)||"")),console.log(null===a||void 0===a||null===(s=a.message)||void 0===s?void 0:s.minAmount);const c=(null===a||void 0===a||null===(l=a.message)||void 0===l?void 0:l.minAmount)||0,d=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if(localStorage.setItem("deliverRadiousAmount",c.toString()),parseFloat(d)<parseFloat(c)&&(m(!0),p(!0)),S){var o,r;if(S.city)S.city=null===S||void 0===S||null===(o=S.city)||void 0===o?void 0:o.replace(/[@#$'"&]/g,"");if(S.street)S.street=null===S||void 0===S||null===(r=S.street)||void 0===r?void 0:r.replace(/[@#$'"&]/g,"")}Je(S).then((a=>{console.log(a),!0===a.status?(S.addressId=a.message.addressId,S.customerId=a.message.customerId,e.setAddressField(S),!0!==t?(localStorage.setItem("guestAddress",JSON.stringify(S)),localStorage.setItem("orderPostcode",S.postcode),localStorage.setItem("loginAddress","")):(localStorage.setItem("loginAddress",JSON.stringify(S)),localStorage.setItem("guestAddress","")),n(!1),w(!1),g(!1),i(!0),setTimeout((()=>{i(!1)}),2e3),U(!1)):console.log(a)})).catch((e=>{console.log(e)}))}else U(!1),Q({postcode:"The restaurant doesn't deliver to "+S.postcode}),console.log(a),localStorage.setItem("postcodeDetail","")})).catch((e=>{Q({postcode:"The restaurant doesn't deliver to "+S.postcode}),localStorage.setItem("postcodeDetail",""),console.log(e)}))},disabled:!q()||Y,"data-fus":"fus-test-editsubmitbtn",children:"Save"})})]})})})]})}),c&&(0,Ve.jsx)(f.Z,{show:c,onHide:F,id:"checkout-postcode",centered:!0,className:"true"==localStorage.getItem("isApp")?"app-side ".concat("dark"===A?"dark-popup":null):"".concat("dark"===A?"dark-popup":null),backdrop:"static",keyboard:!1,children:(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsx)("div",{className:"header-div",children:(0,Ve.jsxs)("h4",{style:{display:"flex",justifyContent:"start",alignItems:"center",gap:"10px"},children:[(0,Ve.jsx)(N.oTp,{className:"closeiconnew",style:{color:"#fff"},"data-fus":"fus-test-pickupeditclsebtn",onClick:()=>{d(!1),g(!0)}})," ","New address"]})}),(0,Ve.jsx)("div",{className:"checkoutaddresseditpopup",children:(0,Ve.jsx)(v.Z,{children:(0,Ve.jsxs)(x.Z,{className:"align-items-start",children:[(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div1 first-input",children:[(0,Ve.jsx)(v.Z.Control,{name:"customerId",type:"text",placeholder:"Customer Id",value:b.customerId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"addressId",type:"text",placeholder:"Address Id",value:b.addressId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"orderMode",type:"text",placeholder:"OrderMode",value:b.orderMode,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"firstName",type:"text",placeholder:"First name",value:b.firstName,onChange:L,isInvalid:!!V.firstName,style:{display:"none"},"data-fus":"fus-test-editfirstnameinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.firstName})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div second-input",children:[(0,Ve.jsx)(v.Z.Control,{name:"lastName",type:"text",placeholder:"Last name",value:b.lastName,onChange:L,isInvalid:!!V.lastName,style:{display:"none"},"data-fus":"fus-test-editlastnameinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.lastName})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div",children:[(0,Ve.jsx)(v.Z.Control,{name:"phone",type:"text",placeholder:"Telephone",value:b.phone,onChange:L,isInvalid:!!V.phone,style:{display:"none"},"data-fus":"fus-test-edittelephoneinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.phone})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"input-div",children:[(0,Ve.jsx)(v.Z.Control,{name:"email",type:"text",placeholder:"email",value:b.email,onChange:L,isInvalid:!!V.email,style:{display:"none"},"data-fus":"fus-test-editemailinput"}),(0,Ve.jsx)(v.Z.Control.Feedback,{type:"invalid",children:V.email})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic5",label:"Postcode",name:"postcode",type:"text",placeholder:"Post Code",value:b.postcode,onChange:e=>{const{name:t,value:a}=e.target;D(a),w((0,s.Z)((0,s.Z)({},b),{},{[t]:a}));const l=(0,s.Z)((0,s.Z)({},V),{},{[t]:""===a.trim()?{postcode:"Post Code is required"}[t]:""}),o="postcode"===t?R(a):b.postcode;if("postcode"===t&&!J(a))return l.postcode="Invalid Post Code",Q(l),void U(!0);qe({post_code:a}).then((e=>{if(!1===e.status)console.log(e.message);else{console.log(e);const t=(0,s.Z)((0,s.Z)({},b),{},{postcode:o,street:e.message.street,city:e.message.city});t.street&&(l.street=""),t.city&&(l.city=""),console.log(t),w(t),U(!1)}})).catch((e=>{console.log(e)})),Q(l)},isInvalid:!!V.postcode,error:!!V.postcode,helperText:V.postcode||"","data-fus":"fus-test-editpostcodeinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic6",label:"Door / Flat / Building",name:"door",type:"text",placeholder:"Door / Flat / Building",value:b.door,onChange:L,isInvalid:!!V.door,error:!!V.door,helperText:V.door||"","data-fus":"fus-test-editdoornumberinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic7",label:"Street",name:"street",type:"text",placeholder:"street",value:b.street,onChange:L,isInvalid:!!V.street,error:!!V.street,helperText:V.street||"","data-fus":"fus-test-editstreetnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsx)(Oe.Z,{required:!0,className:"mb-4",id:"outlined-basic8",label:"City",name:"city",type:"text",placeholder:"city",value:b.city,onChange:L,isInvalid:!!V.city,error:!!V.city,helperText:V.city||"","data-fus":"fus-test-editcitynameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),!0===t?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(u.Z,{xxl:12,xs:12,md:12,children:(0,Ve.jsxs)("div",{className:"radio-btn-group",children:[(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home",id:"Home",checked:"Home"===e.getDefaultAddress,onChange:()=>O("Home"),"data-fus":"fus-test-edithomeradiobtn"}),(0,Ve.jsx)("span",{children:"Home"})]}),(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Office",id:"Office",checked:"Office"===e.getDefaultAddress,onChange:()=>O("Office"),"data-fus":"fus-test-editofficeradiobtn"}),(0,Ve.jsx)("span",{children:"Office"})]}),(0,Ve.jsxs)("label",{children:[(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Other",id:"Other",checked:"Other"===e.getDefaultAddress,onChange:()=>O("Other"),"data-fus":"fus-test-editothersradiobtn"}),(0,Ve.jsx)("span",{children:"Other"})]})]})})}):null,(0,Ve.jsx)(u.Z,{xxl:12,xs:12,md:12,children:(0,Ve.jsx)(j.Z,{className:"submit-btn",onClick:()=>{U(!0),Ke(W).then((a=>
1{if(console.log(a),!0===a.status){var s,l;localStorage.setItem("orderPostcode",b.postcode),localStorage.setItem("postcodeDetail",JSON.stringify((null===a||void 0===a?void 0:a.message)||"")),console.log(null===a||void 0===a||null===(s=a.message)||void 0===s?void 0:s.minAmount);const c=(null===a||void 0===a||null===(l=a.message)||void 0===l?void 0:l.minAmount)||0,x=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if(localStorage.setItem("deliverRadiousAmount",c.toString()),parseFloat(x)<parseFloat(c)&&(m(!0),p(!0)),b){var o,r;if(b.city)b.city=null===b||void 0===b||null===(o=b.city)||void 0===o?void 0:o.replace(/[@#$'"&]/g,"");if(b.street)b.street=null===b||void 0===b||null===(r=b.street)||void 0===r?void 0:r.replace(/[@#$'"&]/g,"");b.firstName=S.firstName,b.lastName=S.lastName,b.phone=S.phone,b.email=S.email,b.addressId=S.addressId,b.customerId=S.customerId}console.log(b),Je(b).then((a=>{console.log(a),!0===a.status?(b.addressId=a.message.addressId,b.customerId=a.message.customerId,e.setAddressField(b),!0!==t?(localStorage.setItem("guestAddress",JSON.stringify(b)),localStorage.setItem("orderPostcode",b.postcode),localStorage.setItem("loginAddress","")):(localStorage.setItem("loginAddress",JSON.stringify(b)),localStorage.setItem("guestAddress","")),d(!1),w({firstName:"",lastName:"",postcode:"",phone:"",email:"",door:"",street:"",city:"",orderMode:"Delivery"===y?"0":"1",customerId:"",addressId:""}),n(!1),g(!1),i(!0),setTimeout((()=>{i(!1)}),2e3),U(!1)):console.log(a)})).catch((e=>{console.log(e)}))}else U(!1),Q({postcode:"The restaurant doesn't deliver to "+b.postcode}),console.log(a),localStorage.setItem("postcodeDetail","")})).catch((e=>{Q({postcode:"The restaurant doesn't deliver to "+b.postcode}),localStorage.setItem("postcodeDetail",""),console.log(e)}))},disabled:!q()||Y,"data-fus":"fus-test-editsubmitbtn",children:"Save"})})]})})})]})}),(0,Ve.jsx)(f.Z,{show:o,onHide:Z,"data-fus":"fus-test-editclosebtn",className:"address-success-popup  ".concat("dark"===A?"dark-theme":""),backdrop:!0,children:(0,Ve.jsx)(f.Z.Body,{children:(0,Ve.jsxs)("div",{className:"content",children:[(0,Ve.jsx)("p",{children:"Your address was updated successfully"}),(0,Ve.jsx)("button",{onClick:Z,"data-fus":"fus-test-editclosebtn",children:(0,Ve.jsx)(G.ReY,{})})]})})})]})}function rt(e){const[t,a]=(0,l.useState)(null),[s,o]=(0,l.useState)(null);return(0,Ve.jsx)(f.Z,{show:e.showPreorder,onHide:e.HandleClickClose,centered:!0,className:"preorder-popup ".concat("dark"===e.theme?"dark-theme":""),backdrop:"static",keyboard:!1,children:(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsx)("span",{className:"close-btn",onClick:e.HandleClickClose,"data-fus":"fus-test-editclosebtn",children:(0,Ve.jsx)(N.xg7,{})}),(0,Ve.jsx)(k.Z,{selectedOrderMode:e.selectedOrderMode,setSelectedOrderModeValue:e.setSelectedOrderModeValue,showPreorder:e.showPreorder,setShowPreorder:e.setShowPreorder,defaultCollectionTabStatus:t,setDefaultCollectionTabStatus:a,defaultDeliveryTabStatus:s,setDefaultDeliveryTabStatus:o})]})})}function nt(e){const{theme:t}=(0,l.useContext)(I.Z),[a,o]=(0,l.useState)(!1),{AddressPopupshow:i,setAddressPopupshow:r}=(0,l.useContext)(Ue),{addressDetail:n}=(0,l.useContext)(Ue),{getOrderMode:c}=(0,C.yM)(),[d,m]=(0,l.useState)(null),p=JSON.parse(localStorage.getItem("isLoggedIn")),[h,g]=(0,l.useState)({firstName:"",lastName:"",phone:"",email:"",orderMode:"Delivery"===c?"0":"1",customerId:"",addressId:""});(0,l.useEffect)((()=>{const e=JSON.parse(localStorage.getItem("userData")),t=JSON.parse(localStorage.getItem("isLoggedIn"));if(e&&!0===t){const t=localStorage.getItem("loginAddress");if(t&&""!==t){const e=JSON.parse(t);m(e),g((t=>(0,s.Z)((0,s.Z)({},t),{},{firstName:e.firstName||"",lastName:e.lastName||"",postcode:e.postcode||"",phone:e.phone||"",email:e.email||"",orderMode:"Delivery"===c?"0":"1",customerId:e.customerId||"",addressId:e.addressId||""})))}else{const t={customer_id:e.customerId};Xe(t).then((e=>{!1===e.status||(m((t=>{var a,l;return(0,s.Z)((0,s.Z)({},t),{},{email:(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(l=a.profile)||void 0===l?void 0:l.email)||""})})),g((t=>{var a,l;return(0,s.Z)((0,s.Z)({},t),{},{email:(null===e||void 0===e||null===(a=e.data)||void 0===a||null===(l=a.profile)||void 0===l?void 0:l.email)||""})})))})).catch((e=>{console.log(e)}));const a=(null===n||void 0===n?void 0:n.data.find((e=>1===e.primary_address)))||"";a&&(g((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:a.fname||"",lastName:a.lname||"",phone:a.phone||"",email:a.email||"",orderMode:"Delivery"===c?"0":"1",customerId:a.cid||"",addressId:a.id||""}))),m(a))}}else{const e=localStorage.getItem("guestAddress");if(e){const t=JSON.parse(e);g((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:t.firstName||"",lastName:t.lastName||"",phone:t.phone||"",email:t.email||"",orderMode:"Delivery"===c?"0":"1",customerId:t.customerId||"",addressId:t.addressId||""})))}}}),[c,g,n]);const A=()=>{Object.values(h).some((e=>""===e))||r(!1)},S=()=>o(!1),[k,b]=(0,l.useState)({}),N=e=>{B(!1);const{name:t,value:a}=e.target,l=a.trim().replace(/'/g,""),o=(0,s.Z)((0,s.Z)({},k),{},{[t]:""===l?{firstName:"First name is required",lastName:"Last name is required",phone:"Telephone is required",email:"Email is required"}[t]:""});
1"email"===t&&(w(a)||(o.email="Invalid email format")),b(o),g((0,s.Z)((0,s.Z)({},h),{},{[t]:l})),B(!1)},w=e=>/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/.test(e),E={firstName:e=>e&&""!==e.trim()?"":"First name is required",lastName:e=>e&&""!==e.trim()?"":"Last name is required",phone:e=>e&&""!==e.trim()?e.replace(/\D/g,"").length<11?"Phone Number must be at least 11 digits":"":"Phone number is required",email:e=>e&&""!==e.trim()?w(e)?"":"Invalid email format":"Email is required"},[D,B]=(0,l.useState)(!1);return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("button",{className:"delivery-action-btn",onClick:()=>r(!0),children:e.label}),(0,Ve.jsx)(f.Z,{show:i,onHide:A,id:"checkout-address",centered:!0,className:"dark"===t?"dark-popup":null,backdrop:"static",keyboard:!1,children:(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsxs)("div",{className:"header-div",children:[(0,Ve.jsx)("h3",{children:"Confirm details"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:A})]}),(0,Ve.jsx)(v.Z,{children:(0,Ve.jsxs)(x.Z,{children:[(0,Ve.jsxs)(u.Z,{xs:12,children:[(0,Ve.jsxs)("div",{className:"input-div first-input",children:[(0,Ve.jsx)(v.Z.Control,{name:"customerId",type:"text",placeholder:"Customer Id",value:h.customerId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"addressId",type:"text",placeholder:"Address Id",value:h.addressId,style:{display:"none"}}),(0,Ve.jsx)(v.Z.Control,{name:"orderMode",type:"text",placeholder:"OrderMode",value:h.orderMode,style:{display:"none"}})]}),(0,Ve.jsx)(Oe.Z,{className:"mb-4",id:"outlined-basic",fullWidth:!0,label:"First name",name:"firstName",variant:"outlined",placeholder:k.firstName?k.firstName:"First name",type:"text",value:h.firstName,onChange:N,error:!!k.firstName,helperText:k.firstName||"","data-fus":"fus-test-pickupfnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})]}),(0,Ve.jsx)(u.Z,{xs:12,children:(0,Ve.jsx)(Oe.Z,{className:"mb-4",id:"outlined-basic",label:"Last Name",variant:"outlined",name:"lastName",fullWidth:!0,type:"text",placeholder:k.lastName?k.lastName:"Last Name",value:h.lastName,onChange:N,error:!!k.lastName,helperText:k.lastName||"","data-fus":"fus-test-pickuplnameinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xs:12,children:(0,Ve.jsx)(Oe.Z,{className:"mb-4",id:"outlined-basic",label:"Phone Number",variant:"outlined",name:"phone",type:"number",fullWidth:!0,placeholder:k.phone?k.phone:"Telephone",value:h.phone,onChange:N,error:!!k.phone,helperText:k.phone||"","data-fus":"fus-test-pickupphonenumberinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xs:12,children:(0,Ve.jsx)(Oe.Z,{className:"mb-4",id:"outlined-basic",label:"Email",variant:"outlined",name:"email",fullWidth:!0,type:"email",placeholder:k.email?k.email:"Email",value:h.email,onChange:N,isInvalid:!!k.email,disabled:!(null===d||void 0===d||!d.email),readOnly:!(null===d||void 0===d||!d.email),error:!!k.email,helperText:k.email||"","data-fus":"fus-test-pickupemailinput",sx:{"& .MuiOutlinedInput-root":{borderRadius:"8px"}}})}),(0,Ve.jsx)(u.Z,{xs:12,children:(0,Ve.jsx)(j.Z,{className:"submit-btn",onClick:()=>{(()=>{let e={};
1return Object.keys(E).forEach((t=>{const a=E[t](h[t]);a&&(e[t]=a)})),b(e),0===Object.keys(e).length})()&&(b((e=>(0,s.Z)((0,s.Z)({},e),{},{firstName:h.firstName?"":"FirstName-Mandatory",lastName:h.lastName?"":"LastName-Mandatory",phone:h.phone?"":"Phone-Mandatory",email:h.email?"":"Email-Mandatory"}))),B(!0),Je(h).then((e=>{console.log(e),!0===e.status?(h.addressId=e.message.addressId,h.customerId=e.message.customerId,!0!==p?(localStorage.setItem("guestAddress",JSON.stringify(h)),localStorage.setItem("loginAddress","")):(localStorage.setItem("loginAddress",JSON.stringify(h)),localStorage.setItem("guestAddress","")),r(!1),o(!0),setTimeout((()=>{o(!1)}),2e3),B(!1)):console.log(e)})).catch((e=>{console.log(e)})))},disabled:!Object.values(k).every((e=>""===e))||D,style:{width:D?"150px":"",display:"flex",justifyContent:"center",alignItems:"center"},"data-fus":"fus-test-pickupsubmitinput",children:D?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("span",{children:"        "}),(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success",style:{display:"flex",justifyContent:"center",alignItems:"center"}})]}):"Done"})})]})})]})}),(0,Ve.jsx)(f.Z,{show:a,onHide:S,className:"address-success-popup  ".concat("dark"===t?"dark-theme":""),backdrop:!0,children:(0,Ve.jsx)(f.Z.Body,{children:(0,Ve.jsxs)("div",{className:"content",children:[(0,Ve.jsx)("p",{children:"Your address was updated successfully"}),(0,Ve.jsx)("button",{onClick:S,"data-fus":"fus-test-pickupclosebtn",children:(0,Ve.jsx)(G.ReY,{})})]})})})]})}const ct=()=>{var e,t,a,s,o,i,r,n,c,d,m,p,g,y,v,A,f,j,S,k,b,N,w,E,D,B,P,F,Z,T,O,M;const{theme:R}=(0,l.useContext)(I.Z),{preOrderTimeTable:V,getorderType:Q,setGetOrderType:Y,setTabStatus:U,selectimeStatus:z,selectedTime:H,setSelectedTime:J,selectEstimateTime:K,setSelectEstimateTime:q,exitOrderDatePart:X,exitOrderTimePart:W,formattedDateE:_,formatToday:$,estimateShow:ee,setEstimateShow:te,AddressPopupshow:ae}=(0,l.useContext)(Ue),{getOrderMode:se}=(0,C.yM)(),le=localStorage.getItem("orderMode");(0,l.useEffect)((()=>{Y(localStorage.getItem("orderType"))}),[]);const oe=()=>{te(!0)};const ie=function(e){function t(e){const t=e.getFullYear(),a=e.getMonth(),s=e.getDate(),l=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][a],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getDay()];return"".concat(o,", ").concat(s," ").concat(l," ").concat(t)}if("today"===e.toLowerCase()){return t(new Date)}if("tomorrow"===e.toLowerCase()){const e=new Date;return e.setDate(e.getDate()+1),t(e)}const a=e.split("-"),s=a[0],l=a[1],o=a[2],i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][parseInt(l)-1],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][new Date(s,l-1,o).getDay()],n="".concat(r,", ").concat(o," ").concat(i," ").concat(s);return n===t(new Date((new Date).setDate((new Date).getDate()+1)))?"Tomorrow":n}(X),re=localStorage.getItem("isTableQr");return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{children:re?null:(0,Ve.jsx)(h.Z,{className:"estimateCard",children:(0,Ve.jsxs)(h.Z.Body,{className:"estimateBody",children:[(0,Ve.jsxs)(h.Z.Title,{className:"estimateTitle",children:["Delivery"===se?"Delivery estimate":"Pickup estimate"," ",""," :","ASAP"===Q?"Delivery"===se?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("span",{style:{fontFamily:"Geist-Regular",fontSize:"14px",alignSelf:"center"},children:[" ",V&&null!==V&&void 0!==V&&null!==(e=V.Delivery)&&void 0!==e&&null!==(t=e.asap)&&void 0!==t&&t.tatTime?"":"Currently not avaialble"]}),(0,Ve.jsxs)("span",{style:{fontFamily:"Geist-Regular",fontSize:"14px",alignSelf:"center"},children:[" ",V&&null!==V&&void 0!==V&&null!==(a=V.Delivery)&&void 0!==a&&null!==(s=a.asap)&&void 0!==s&&s.tatTime?"".concat(null===V||void 0===V||null===(o=V.Delivery)||void 0===o||null===(i=o.asap)||void 0===i?void 0:i.tatTime," mins"):""]}),(0,Ve.jsx)("br",{})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("span",{style:{fontFamily:"Geist-Regular",fontSize:"14px",alignSelf:"center"},children:[" ",V&&null!==V&&void 0!==V&&null!==(r=V.Collection)&&void 0!==r&&null!==(n=r.asap)&&void 0!==n&&n.tatTime?"":"Currently not avaialble"]}),(0,Ve.jsxs)("span",{style:{fontFamily:"Geist-Regular",fontSize:"14px",alignSelf:"center"}
1,children:[" ",V&&null!==V&&void 0!==V&&null!==(c=V.Collection)&&void 0!==c&&null!==(d=c.asap)&&void 0!==d&&d.time?"".concat(null===V||void 0===V||null===(m=V.Collection)||void 0===m||null===(p=m.asap)||void 0===p?void 0:p.tatTime," mins"):""]}),(0,Ve.jsx)("br",{})]}):"Delivery"===se?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("span",{style:{fontFamily:"Geist-Regular",fontSize:"14px",alignSelf:"center"},children:"".concat(X?X==_?null!==V&&void 0!==V&&null!==(g=V.Delivery)&&void 0!==g&&g.today?"Today at":"Select Date":X==$?null!==V&&void 0!==V&&null!==(y=V.Delivery)&&void 0!==y&&y.today?"Today at":"Select time":ie.replace(/\s\d{4}$/,""):K," ").concat(W||H)})}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("span",{style:{fontFamily:"Geist-Regular",fontSize:"14px",alignSelf:"center"},children:"".concat(X?X==_?null!==V&&void 0!==V&&null!==(v=V.Collection)&&void 0!==v&&v.today?"Today at":"Select Date":X==$?null!==V&&void 0!==V&&null!==(A=V.Collection)&&void 0!==A&&A.today?"Today at":"Select time":ie.replace(/\s\d{4}$/,""):K," ").concat(W||H)})})]}),(0,Ve.jsxs)(x.Z,{children:[(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"estimate-detail ".concat("ASAP"===Q?"active":""," "),onClick:()=>{(e=>{var t,a,s,l,o,i,r,n;"Delivery"===se&&null!==V&&void 0!==V&&null!==(t=V.Delivery)&&void 0!==t&&null!==(a=t.asap)&&void 0!==a&&a.tatTime&&(localStorage.setItem("orderType",e),localStorage.setItem("orderTime",null===V||void 0===V||null===(o=V.Delivery)||void 0===o||null===(i=o.asap)||void 0===i?void 0:i.time),localStorage.setItem("preOrder","0"),U(e),Y(e)),"Collection"===se&&null!==V&&void 0!==V&&null!==(s=V.Collection)&&void 0!==s&&null!==(l=s.asap)&&void 0!==l&&l.tatTime&&(localStorage.setItem("orderType",e),localStorage.setItem("orderTime",null===V||void 0===V||null===(r=V.Collection)||void 0===r||null===(n=r.asap)||void 0===n?void 0:n.time),localStorage.setItem("preOrder","0"),Y(e),U(e))})("ASAP")},children:[(0,Ve.jsxs)("div",{className:"estimateimgpara",children:[(0,Ve.jsx)(G.fSQ,{}),(0,Ve.jsx)("p",{className:"estimate-text-postcode",children:"ASAP"})]}),(0,Ve.jsx)("div",{className:"estimate-text",children:(0,Ve.jsx)("p",{className:"estimate-text-sub",children:"Delivery"===se?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("span",{children:[" ",V&&null!==V&&void 0!==V&&null!==(f=V.Delivery)&&void 0!==f&&null!==(j=f.asap)&&void 0!==j&&j.tatTime?"":"Currently not avaialble"]}),V&&null!==V&&void 0!==V&&null!==(S=V.Delivery)&&void 0!==S&&null!==(k=S.asap)&&void 0!==k&&k.tatTime?"".concat(null===V||void 0===V||null===(b=V.Delivery)||void 0===b||null===(N=b.asap)||void 0===N?void 0:N.tatTime," mins"):"",(0,Ve.jsx)("br",{})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("span",{children:[" ",V&&null!==V&&void 0!==V&&null!==(w=V.Collection)&&void 0!==w&&null!==(E=w.asap)&&void 0!==E&&E.tatTime?"":"Currently not avaialble"]}),V&&null!==V&&void 0!==V&&null!==(D=V.Collection)&&void 0!==D&&null!==(B=D.asap)&&void 0!==B&&B.time?" ".concat(null===V||void 0===V||null===(P=V.Collection)||void 0===P||null===(F=P.asap)||void 0===F?void 0:F.tatTime," mins"):"",(0,Ve.jsx)("br",{})]})})})]})}),(0,Ve.jsx)(u.Z,{xxl:6,xs:6,md:6,children:(0,Ve.jsxs)("div",{className:"estimate-detail ".concat("ASAP"===Q?"":"active"," "),onClick:oe,children:[(0,Ve.jsxs)("div",{className:"estimateimgpara",children:[(0,Ve.jsx)(L.vlc,{}),(0,Ve.jsx)("p",{className:"estimate-text-postcode",children:"Schedule"})]}),(0,Ve.jsx)("div",{className:"estimate-text",onClick:oe,children:z?(0,Ve.jsx)("p",{className:"estimate-text-sub",children:"Select time"}):(0,Ve.jsx)(Ve.Fragment,{children:"Delivery"===se?(0,Ve.jsxs)("p",{className:"estimate-text-sub",children:[X?X==_?null!==V&&void 0!==V&&null!==(Z=V.Delivery)&&void 0!==Z&&Z.today?"Today":"Select Date":X==$?null!==V&&void 0!==V&&null!==(T=V.Delivery)&&void 0!==T&&T.today?"Today":"Select time":ie.replace(/\s\d{4}$/,""):K," ",W||H]}):(0,Ve.jsxs)("p",{className:"estimate-text-sub",children:[X?X==_?null!==V&&void 0!==V&&null!==(O=V.Collection)&&void 0!==O&&O.today?"Today":"Select Date":X==$?null!==V&&void 0!==V&&null!==(M=V.Collection)&&void 0!==M&&M.today?"Today":"Select time":ie.replace(/\s\d{4}$/,""):K," ",W||H]})})})]})})]})]})})}
1),(0,Ve.jsx)("div",{children:"ASAP"===Q?(0,Ve.jsx)(Ve.Fragment,{}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"d-block d-sm-none schedule-notice",children:["Delivery"===le?(0,Ve.jsx)("p",{className:"title",children:"This is a schedule delivery"}):(0,Ve.jsx)("p",{className:"title",children:"This is a schedule collection"}),"Delivery"===le?(0,Ve.jsx)("p",{className:"subtitle",children:"Your order will be prepared closer to your delivery time"}):(0,Ve.jsx)("p",{className:"subtitle",children:"Your order will be prepared closer to your collection time"})]})})}),!ae&&ee&&!re&&(0,Ve.jsx)(dt,{estimateShow:ee,setEstimateShow:te,selectedTime:H,setSelectedTime:J,selectEstimateTime:K,setSelectEstimateTime:q,exitOrderDatePart:X,exitOrderTimePart:W,setGetOrderType:Y})]})},dt=e=>{var t,a,s,o,i,r,n,c,d,m;let{estimateShow:p,setEstimateShow:x,selectedTime:u,setSelectedTime:g,selectEstimateTime:y,setSelectEstimateTime:v,setGetOrderType:A}=e;const{getOrderMode:S}=(0,C.yM)(),{preOrderTimeTable:k,setTabStatus:b,setSelectimeStatus:N}=(0,l.useContext)(Ue),[I,w]=(0,l.useState)(!0),E=()=>{x(!1)},[D,B]=(0,l.useState)(!1),P=""===(null===k||void 0===k||null===(t=k.Delivery)||void 0===t?void 0:t.today)||"No Pre-order"==(null===k||void 0===k||null===(a=k.Delivery)||void 0===a?void 0:a.today)||"closed"==(null===k||void 0===k||null===(s=k.Delivery)||void 0===s?void 0:s.today)?"":null===k||void 0===k||null===(o=k.Delivery)||void 0===o?void 0:o.today,F=""===(null===k||void 0===k||null===(i=k.Collection)||void 0===i?void 0:i.today)||"No Pre-order"==(null===k||void 0===k||null===(r=k.Collection)||void 0===r?void 0:r.today)||"closed"==(null===k||void 0===k||null===(n=k.Collection)||void 0===n?void 0:n.today)?"":null===k||void 0===k||null===(c=k.Collection)||void 0===c?void 0:c.today;console.log('collectionTimesToday == ""',k),(0,l.useEffect)((()=>{const e=setTimeout((()=>{w(!1)}),1e3);return()=>clearTimeout(e)}),[]),(0,l.useEffect)((()=>{console.log(y)}),[y]);function Z(e){const t=new Date;function a(e,t){return e.toDateString()===t.toDateString()}t.setHours(0,0,0,0);const s=new Date(e);return a(s,t)?"Today":a(s,new Date(t.getTime()+864e5))?"Tomorrow":function(e){e.getFullYear();const t=e.getMonth(),a=e.getDate(),s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t],l=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getDay()];return"".concat(l," ").concat(s," ").concat(a)}(s)}return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)(f.Z,{size:"md",show:p,onHide:E,className:"estimateModalcheckout",children:[(0,Ve.jsxs)(f.Z.Header,{className:"estimateHeadercheckout","data-fus":"fus-test-closebtn",children:[(0,Ve.jsx)(f.Z.Title,{id:"example-modal-sizes-title-md estimateTitle",className:"estimateTitle",children:"Delivery"==S?" Schedule your delivery ":" Schedule your collection "}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:E})]}),(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsxs)(De.tq,{modules:[Be.tl,Be.W_],className:"mySwiper1",slidesPerView:6,spaceBetween:5,breakpoints:{0:{slidesPerView:3},400:{slidesPerView:3},639:{slidesPerView:3},865:{slidesPerView:3},1e3:{slidesPerView:3},1500:{slidesPerView:3},1700:{slidesPerView:3}},style:{boxShadow:"rgba(0, 0, 0, 0.1) 0px 0px 8px, rgba(0, 0, 0, 0.04) 0px 4px 4px",borderRadius:"15px"},children:[(0,Ve.jsx)(De.o5,{children:"Delivery"===S?(0,Ve.jsx)(h.Z,{className:"estimateTimeCard ".concat("today"==y&&P?"cardactive":""),onClick:()=>{P&&v("today"),g(null)},disabled:!P,style:{marginBottom:P?"":"0px",textAlign:"center"},children:(0,Ve.jsxs)(h.Z.Body,{children:[(0,Ve.jsxs)(h.Z.Title,{onClick:()=>{P&&v("today"),g(null)},style:{marginBottom:P?"":"0px",textAlign:"center",cursor:"pointer"},children:[" ",(0,Ve.jsxs)("h6",{children:[" ","Today"]})]}),""==P&&(0,Ve.jsx)(h.Z.Text,{style:{color:P?"#000":"#FF0000",backgroundColor:P?"":"#FFF3F3",marginBottom:P?"":"0px",fontSize:P?"":"12px",padding:P?"":"2px 4px",textAlign:"center",width:P?"100%":"auto",borderRadius:"4px"},children:"Closed"})]})}):(0,Ve.jsx)(h.Z,{className:"estimateTimeCard ".concat("today"==y&&F?"cardactive":""),onClick:()=>{F&&v("today"),g(null)},style:{marginBottom:F?"":"0px",textAlign:"center"},children:(0,Ve.jsxs)(h.Z.Body,{children:[(0,Ve.jsxs)(h.Z.Title,{style:{cursor:"pointer"},onClick:()=>{F&&v("today"),g(null)},children:[" ",(0,Ve.jsxs)("h6",{children:[" ","Today"]})]}),""==F&&(0,Ve.jsx)(h.Z.Text,{style:{color:F?"#000":"#FF0000",backgroundColor:F?"":"#FFF3F3",marginBottom:F?"":"0px",fontSize:F?"":"12px",padding:F?"":"2px 4px"},children:"Closed"})]})})}),"Delivery"===S?(0,Ve.jsx)(Ve.Fragment,{children:k&&(null===k||void 0===k?void 0:k.Delivery)&&k.Delivery.later&&Object.entries(k.Delivery.later).map((e=>
1{let[t,a]=e;const s=Z(t),l=s.split(" "),o=l[0],i=l.slice(1).join(" ");return console.log(s),(0,Ve.jsx)(De.o5,{children:(0,Ve.jsx)(h.Z,{className:"estimateTimeCard ".concat(y==t&&a?"cardactive":""),onClick:()=>{a&&v(t),g(null)},disabled:!a,children:(0,Ve.jsxs)(h.Z.Body,{children:[(0,Ve.jsx)(h.Z.Title,{}),(0,Ve.jsxs)(h.Z.Text,{style:{marginBottom:a?"":"0px"},children:[o,a&&i&&"(".concat(i,")")]}),""==a&&(0,Ve.jsx)(h.Z.Text,{style:{color:a?"#000":"#FF0000",backgroundColor:a?"":"#FFF3F3",marginBottom:a?"":"0px",fontSize:a?"":"12px",padding:a?"":"2px 4px"},children:"Closed"})]})})})}))}):(0,Ve.jsx)(Ve.Fragment,{children:k&&(null===k||void 0===k?void 0:k.Collection)&&k.Collection.later&&Object.entries(k.Collection.later).map((e=>{var t;let[a,s]=e;const l=Z(a),o=null===l||void 0===l?void 0:l.split(" "),i=o[0],r=null===o||void 0===o||null===(t=o.slice(1))||void 0===t?void 0:t.join(" ");return(0,Ve.jsx)(De.o5,{children:(0,Ve.jsx)(h.Z,{className:"estimateTimeCard ".concat(y==a&&s?"cardactive":""),onClick:()=>{s&&v(a),g(null)},disabled:!s,children:(0,Ve.jsxs)(h.Z.Body,{children:[(0,Ve.jsx)(h.Z.Title,{}),(0,Ve.jsxs)(h.Z.Text,{style:{marginBottom:s?"":"0px",cursor:"pointer"},children:[" ",i,s&&r&&"(".concat(r,")")]}),""==s&&(0,Ve.jsx)(h.Z.Text,{style:{color:s?"#000":"#FF0000",backgroundColor:s?"":"#FFF3F3",marginBottom:s?"":"0px",fontSize:s?"":"12px",padding:s?"":"2px 4px"},children:"Closed"})]})})})}))})]}),(0,Ve.jsx)("div",{className:"estimateTimetable border-bottom","data-fus":"fus-test-timedateattribute",children:I?(0,Ve.jsx)("div",{className:"skeleton-wrapper",children:[...Array(4)].map(((e,t)=>(0,Ve.jsx)("div",{className:"skeleton-time-slot"},t)))}):"Delivery"===S?"today"==y?(0,Ve.jsx)(Ve.Fragment,{children:k&&null!==k&&void 0!==k&&k.Delivery&&k.Delivery.today?k.Delivery.today.split(",").map(((e,t)=>{function a(e){var t,a,s,l;const[o,i]=null===e||void 0===e||null===(t=e.split(":"))||void 0===t?void 0:t.map(Number),r=null===(a=o%12||12)||void 0===a||null===(s=a.toString())||void 0===s?void 0:s.padStart(2,"0"),n=o>=12?"PM":"AM";return"".concat(r,":").concat(null===i||void 0===i||null===(l=i.toString())||void 0===l?void 0:l.padStart(2,"0")," ").concat(n)}const s=((e,t)=>{const[a,s]=e.split(":").map(Number);let l=60*a+s;l+=t;let o=Math.floor(l/60)%24,i=l%60;l<0&&(o=(o+24)%24,i=(i+60)%60);const r=String(o).padStart(2,"0"),n=String(i).padStart(2,"0");return"".concat(r,":").concat(n)})(e,5),l=a(e),o=a(s);return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"estimateTiming",onClick:()=>g(e),children:[e&&"closed"!==e?(0,Ve.jsx)(Ve.Fragment,{children:"No Pre-order"!==e?(0,Ve.jsxs)("label",{onClick:()=>g(e),children:[l," - ",o]}):(0,Ve.jsx)("label",{children:"No Pre-order"})}):"null",e&&"No Pre-order"!==e&&"closed"!==e?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home",id:t,checked:u===e,onChange:()=>g(e)})}):null]})})})):null}):(0,Ve.jsx)(Ve.Fragment,{children:k&&(null===k||void 0===k?void 0:k.Delivery)&&k.Delivery.later&&Object.entries(null===k||void 0===k||null===(d=k.Delivery)||void 0===d?void 0:d.later).filter((e=>{let[t,a]=e;return y&&t===y})).map((e=>{let[t,a]=e;return(0,Ve.jsx)("div",{children:a.split(",").length?a.split(",").map(((e,t)=>{function a(e){var t,a,s,l;const[o,i]=null===e||void 0===e||null===(t=e.split(":"))||void 0===t?void 0:t.map(Number),r=null===(a=o%12||12)||void 0===a||null===(s=a.toString())||void 0===s?void 0:s.padStart(2,"0"),n=o>=12?"PM":"AM";return"".concat(r,":").concat(null===i||void 0===i||null===(l=i.toString())||void 0===l?void 0:l.padStart(2,"0")," ").concat(n)}const s=((e,t)=>{const[a,s]=e.split(":").map(Number);let l=60*a+s;l+=t;let o=Math.floor(l/60)%24,i=l%60;l<0&&(o=(o+24)%24,i=(i+60)%60);const r=String(o).padStart(2,"0"),n=String(i).padStart(2,"0");return"".concat(r,":").concat(n)})(e,5),l=a(e),o=a(s);return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"estimateTiming",onClick:()=>g(e),children:[e?(0,Ve.jsx)(Ve.Fragment,{children:"No Pre-order later"!==e?(0,Ve.jsxs)("label",{onClick:()=>g(e),children:[l," - ",o]}):(0,Ve.jsx)("label",{children:"No Pre-order later"})}):"null",e&&"No Pre-order later"!==e&&(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home",id:t,checked:u==e,onChange:()=>g(e)})]})})})):null},t)}))}):"today"==y?(0,Ve.jsx)(Ve.Fragment,{children:k&&null!==k&&void 0!==k&&k.Collection&&k.Collection.today?k.Collection.today.split(",").map(((e,t)=>{function a(e){var t,a,s,l;const[o,i]=null===e||void 0===e||null===(t=e.split(":"))||void 0===t?void 0:t.map(Number),r=null===(a=o%12||12)||void 0===a||null===(s=a.toString())||void 0===s?void 0:s.padStart(2,"0"),n=o>=12?"PM":"AM";return"".concat(r,":").concat(null===i||void 0===i||null===(l=i.toString())||void 0===l?void 0:l.padStart(2,"0")," ").concat(n)}const s=((e,t)=>{const[a,s]=e.split(":").map(Number);let l=60*a+s;l+=t;let o=Math.floor(l/60)%24,i=l%60;l<0&&(o=(o+24)%24,i=(i+60)%60);const r=String(o).padStart(2,"0"),n=String(i).padStart(2,"0");return"".concat(r,":").concat(n)})(e,5),l=a(e),o=a(s);return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"estimateTiming",onClick:()=>g(e),children:[e&&"closed"!==e?(0,Ve.jsx)(Ve.Fragment,{children:"No Pre-order"!==e?(0,Ve.jsxs)("label",{onClick:()=>g(e),children:[l," - ",o]}):(0,Ve.jsx)("label",{children:"No Pre-order"})}):"null",e&&"No Pre-order"!==e&&"closed"!==e?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home1",id:t,checked:u===e,onChange:()=>g(e)})}):null]})})})):null}):(0,Ve.jsx)(Ve.Fragment,{children:k&&(null===k||void 0===k?void 0:k.Collection)&&k.Collection.later&&Object.entries(null===k||void 0===k||null===(m=k.Collection)||void 0===m?void 0:m.later).filter((e=>
1{let[t,a]=e;return y&&t==y})).map((e=>{let[t,a]=e;return(0,Ve.jsx)("div",{children:a?a.split(",").map(((e,a)=>{function s(e){var t,a,s,l;const[o,i]=null===e||void 0===e||null===(t=e.split(":"))||void 0===t?void 0:t.map(Number),r=null===(a=o%12||12)||void 0===a||null===(s=a.toString())||void 0===s?void 0:s.padStart(2,"0"),n=o>=12?"PM":"AM";return"".concat(r,":").concat(null===i||void 0===i||null===(l=i.toString())||void 0===l?void 0:l.padStart(2,"0")," ").concat(n)}const l=((e,t)=>{const[a,s]=e.split(":").map(Number);let l=60*a+s;l+=t;let o=Math.floor(l/60)%24,i=l%60;l<0&&(o=(o+24)%24,i=(i+60)%60);const r=String(o).padStart(2,"0"),n=String(i).padStart(2,"0");return"".concat(r,":").concat(n)})(e,5),o=s(e),i=s(l);return(0,Ve.jsxs)("div",{className:"estimateTiming",onClick:()=>g(e),children:[e?(0,Ve.jsx)(Ve.Fragment,{children:"No Pre-order later"!==e?(0,Ve.jsxs)("label",{onClick:()=>g(e),children:[o," - ",i]}):(0,Ve.jsx)("label",{children:"No Pre-order later"})}):"null",e&&"No Pre-order later"!==e&&(0,Ve.jsx)("input",{name:"selectaddtype",type:"radio",label:"Home",id:a,"data-attr":t,checked:t==y?u==e:"",onChange:()=>g(e)})]},a)})):null},t)}))})}),(0,Ve.jsxs)("div",{className:"scheduleBtncheckout",children:[(0,Ve.jsx)(j.Z,{variant:"secondary",className:"estimateCancelBtn",onClick:E,style:{background:"#EEEEEE !important"},"data-fus":"fus-test-cancelbtn",children:"Cancel"}),(0,Ve.jsx)(j.Z,{variant:"secondary",onClick:()=>{var e;const t="today"==y?"Today":"Later";console.log(t),A(t),N(!1),console.log(y,u),localStorage.setItem("orderType",t),b(t);let a=null===(e=new Date)||void 0===e?void 0:e.toLocaleString("en-GB",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(",","");const s=null===a||void 0===a?void 0:a.replaceAll("/","-"),l=null===s||void 0===s?void 0:s.split("-");let o="".concat(l[2],"-").concat(l[1],"-").concat(l[0]," ").concat(u);if(u)if("today"==y){let e=function(){let e="".concat(y," ").concat(u),t="today"==y?new Date(o):new Date(e),a="today"==y?null===o||void 0===o?void 0:o.split(" ")[0]:y;const s=new Date("".concat(a," T00:00:00+01:00")),l=new Date("".concat(a," T07:55:00+01:00"));function i(e){let t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0"),l=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0");return String(e.getSeconds()).padStart(2,"0"),"".concat(t,"-").concat(a,"-").concat(s," ").concat(l,":").concat(o)}if(t>=s&&t<=l){const e=new Date(t);return e.setDate(e.getDate()),console.log("Current date and time fall within the range. Setting date to tomorrow: "+i(e)),i(e)}}();e>o?(localStorage.setItem("orderTime",e),localStorage.setItem("preOrder",e),x(!1),localStorage.setItem("orderType","Today"),A("Today")):(localStorage.setItem("orderTime",o),localStorage.setItem("preOrder",o),x(!1),A("Today"))}else localStorage.setItem("orderTime","".concat(y," ").concat(u)),localStorage.setItem("preOrder","".concat(y," ").concat(u)),x(!1),A("Later");else B(!0)},disabled:!u,"data-fus":"fus-test-schedulebtn",children:"Schedule"})]})]})]}),D&&(0,Ve.jsxs)(f.Z,{show:D,onHide:()=>{B(!1)},className:"estimateErrorModal",children:[(0,Ve.jsx)(f.Z.Header,{closeButton:!0,className:"estimateErrorHeader"}),(0,Ve.jsx)(f.Z.Body,{children:(0,Ve.jsxs)(f.Z.text,{className:"estimateErrorText",children:["Choose new ","Delivery"==S?"Delivery":"Pickup"," ","time"]})})]})]})},mt=()=>{const{theme:e}=(0,l.useContext)(I.Z),{getOrderMode:t,getOrderTime:a}=(0,C.yM)(),{deliveryCharge:s,bagCharge:o,clientFkCharge:i,Vat:r,setFinalTotal:n,currency_symbol:c}=ze(),{stripepayment:d,stripe:m,elements:p,setPayType:x,paymentSva:u,setPaymentSva:h,paymentMId:g,setPaymentMId:A,setPaymentIntentId:f,setPaymentType:j,setPaySubmit:S,paySubmit:k,clientSecret:b,setClientSecret:N,payPalClientSecret:w,svclientSecret:E,setSvpaySubmit:D,svpaySubmit:B,walletstatus:P,setWalletstatus:F,walletamount:Z,setWalletamount:T,setCardErrorMessage:O,cardErrorMessage:G,finalTotalValue:R,selectedValue:V,setSelectedValue:Q,paymentOptions:Y,cardtype:U,setCardtype:z,setPaypalType:H,paypalType:L,setApplepaytype:J,setGooglepaytype:K,klarnaType:q,setKlarnaType:X,setFooterBtn:W,sectionRef:_,buttonstatus:$,setButtonstatus:ee,setPaymentModalShow:te,paymentModalShow:ae,gpaydeviceInfo:se,appledeviceInfo:le,setPaySaveCard:ie,handlesavecardPayment:re,CARD_OPTIONS1:ne,containerStyle:ce,setSaveCardError:de,setCardStatus:me,paySpinner:pe,cashtype:xe,setCashtype:ue,setExtraLe
1ssAmount:he,extraPayment:ge,setExtraPayment:ye,setExtraPayStatus:ve,setUseWalletBalance:Ae,setFinalTotalValue:fe,clientName:je,clientLogo:Se,itemAvailableData:ke,useWalletBalance:be,polling:Ne}=(0,l.useContext)(Ue),[Ce,Ie]=(0,l.useState)(""),[we,Ee]=(0,l.useState)(!1),[De,Be]=(0,l.useState)(!0),[Pe,Fe]=(0,l.useState)(!1),[Te,Oe]=(0,l.useState)(!1),[Me,Ge]=(0,l.useState)(!1),[Re,Qe]=(0,l.useState)(!1),[Ye,He]=(0,l.useState)(""),[Le,Je]=(0,l.useState)(0),[Ke,qe]=(0,l.useState)([]),[Xe,We]=(0,l.useState)(!1),[_e,$e]=(0,l.useState)(""),et=a,tt=localStorage.getItem("isLoggedIn"),at=(localStorage.getItem("loginAddress"),localStorage.getItem("guestAddress"),localStorage.getItem("clientPath")),st=(window.location.origin,localStorage.getItem("totalPrice")),lt=localStorage.getItem("roundOffPrice"),ot=localStorage.getItem("driverTipValue")?localStorage.getItem("driverTipValue"):"0";(0,l.useEffect)((()=>{const e=JSON.parse(localStorage.getItem("userData"));He(null!==e&&"true"===tt?e:"")}),[tt]);const it=(0,l.useMemo)((()=>{const e=localStorage.getItem("orderTime")||"";let t="",a="",s="";if(e){let l=e;if(l.includes("/")){t=l.split(" ")[0].split("/"),a=l.split(" ")[1];const e=new Date("".concat(t[2],"-").concat(t[1],"-").concat(t[0],"T").concat(a)),o=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0");s="".concat(o,"-").concat(i,"-").concat(r," ").concat(n,":").concat(c)}else s=e}return{customerId:Ye.customerId,clientPath:at,orderTime:s,voucherCode:Ce||""}}),[at,et,Ye,Ce]),rt=localStorage.getItem("discount"),nt="Collection"===t?1:0;(0,l.useEffect)((()=>{const e=rt?JSON.parse(rt):"";$e(e);const t=parseFloat(st)*r/100;console.log(t);let a=parseFloat(st)+parseFloat(t)+parseFloat(s)+parseFloat(o)+parseFloat(i)+parseFloat(ot);""===_e||(null===_e||void 0===_e?void 0:_e.orderType)!==nt&&"2"!==(null===_e||void 0===_e?void 0:_e.orderType)||null!==e&&void 0!==e&&e.appliedDiscount&&(a-=parseFloat(e.appliedDiscount)),"voucherDiscount"==(null===e||void 0===e?void 0:e.source)&&Ie((null===e||void 0===e?void 0:e.discount)||""),"SubscriptionCoupon"==(null===e||void 0===e?void 0:e.source)&&(Ie((null===e||void 0===e?void 0:e.discount)||""),Ee(!0)),Je((null===e||void 0===e?void 0:e.appliedDiscount)||0),localStorage.setItem("finalTotal",a.toFixed(2)),n(a.toFixed(2)),fe((parseFloat(a)+parseFloat(lt)).toFixed(2)),localStorage.setItem("finalTotalValue",(parseFloat(a)+parseFloat(lt)).toFixed(2))}),[st,_e,s,o,i,r,ot,lt,rt,be,Ne]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];qe(e)}),[localStorage.getItem("cart")]);localStorage.getItem("AppliedVoucherCode");return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"d-none d-sm-block",children:(0,Ve.jsxs)("div",{className:"voucher-code-container",onClick:()=>We(!0),children:[(0,Ve.jsx)("div",{className:"voucher-code-left",children:(0,Ve.jsxs)("span",{className:"voucher-label",children:["Add voucher code ",(0,Ve.jsx)("br",{}),(0,Ve.jsx)("span",{style:{fontFamily:"Geist-Regular",fontSize:"15px",color:"#008D2D"},children:we?(0,Ve.jsx)(Ve.Fragment,{children:"voucher code applied"}):(0,Ve.jsx)(Ve.Fragment,{})})]})}),(0,Ve.jsx)(oe.jfD,{className:"voucher-arrow"})]})}),Xe&&(0,Ve.jsx)("div",{className:"custom-modal-overlay",children:(0,Ve.jsxs)("div",{className:"custom-modal-content",children:[(0,Ve.jsxs)("h2",{className:"voucher-modal-title",children:["Voucher"," ",(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>We(!1)})]}),(0,Ve.jsxs)("div",{className:"voucher-modal-bodycontent",children:[(0,Ve.jsxs)("form",{children:[(0,Ve.jsx)("p",{className:"voucher-modal-subtitle",children:"Add your voucher"}),(0,Ve.jsx)(v.Z.Control,{type:"text",value:Ce,onChange:e=>Ie(e.target.value),onKeyDown:()=>{Ge(!1),Oe(!1),Fe(!1),Be(!0),Ee(!1)},isInvalid:!De,"data-fus":"fus-test-vouchercodeinput",placeholder:"Voucher code",className:"voucher-input"}),(0,Ve.jsx)("button",{className:"voucher-apply-btn",type:"button",onClick:()=>{""==Ce&&Be(!1);const e=localStorage.getItem("SubcripeCoupon"),a=null!==e&&"undefined"!==e?JSON.parse(e):"";if(Qe(!0),""!=a&&"undefined"!==typeof a)if(console.log(it),Ce===a.code){(0,Ze.a3)(a,t)&&(Be(!0),Ee(!0),Qe(!1))}else Be(!1),Qe(!1);else yt(it).then((e=>
1{if(!e.status)return"voucher code was already Used"==e.message?(Ge(!0),Be(!1)):"Invalid code"==e.message||"voucher not available"==e.message?Be(!1):"CustomerId is required"==e.message&&(Oe(!0),Be(!1)),Ee(!1),Qe(!1),console.log("vocuherRespose"),void console.log(e.message);const a=localStorage.getItem("cart"),s=(JSON.parse(a)||[]).filter((e=>1===e.itemAllowCoupon)).reduce(((e,t)=>e+parseFloat(t.price)),0);if(parseFloat(s)>=parseFloat(e.message.minAmount)){const a={code:e.message.code,discount:e.message.discount,description:e.message.description,discountType:e.message.type,minOrder:e.message.minAmount};localStorage.setItem("AppliedVoucherCode",e.message.code),(0,Ze.E7)(a,t),Be(!0),Ee(!0),Qe(!1)}else Fe(!0),Qe(!1),Be(!1)})).catch((e=>{Qe(!1),console.log(e)}))},children:Re?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"primary"}):we?(0,Ve.jsxs)(Ve.Fragment,{children:["Applied ",localStorage.getItem("AppliedVoucherCode")]}):"Apply"})]}),Me&&(0,Ve.jsx)("p",{className:"error-code",style:{color:"red"},children:"Sorry Voucher already redeemed"}),Te&&(0,Ve.jsx)("p",{className:"error-code",style:{color:"red"},children:"Please log in to redeem this voucher"}),Pe&&(0,Ve.jsx)("p",{className:"error-code",style:{color:"red"},children:"Need to added more item"})]})]})})]})},pt=()=>{var e,t;const a=JSON.parse(localStorage.getItem("userData")),{theme:s}=(0,l.useContext)(I.Z),{getOrderMode:o,getOrderTime:i}=(0,C.yM)(),{deliveryCharge:r,bagCharge:n,clientFkCharge:c,Vat:g,setFinalTotal:j,currency_symbol:S}=ze(),{stripepayment:k,stripe:b,elements:E,setPayType:O,paymentSva:G,setPaymentSva:V,paymentMId:H,setPaymentMId:K,setPaymentIntentId:q,setPaymentType:X,setPaySubmit:ae,paySubmit:se,clientSecret:ie,setClientSecret:re,payPalClientSecret:ne,svclientSecret:ce,setSvpaySubmit:de,svpaySubmit:me,walletstatus:pe,setWalletstatus:xe,walletamount:ue,setWalletamount:ge,setCardErrorMessage:ye,cardErrorMessage:ve,finalTotalValue:fe,selectedValue:je,setSelectedValue:Se,paymentOptions:ke,cardtype:be,setCardtype:Ce,setPaypalType:Ie,paypalType:we,setApplepaytype:Ee,setGooglepaytype:De,klarnaType:Be,setKlarnaType:Pe,setFooterBtn:Fe,sectionRef:Ze,buttonstatus:Te,setButtonstatus:Oe,setPaymentModalShow:Me,paymentModalShow:Ge,gpaydeviceInfo:Re,appledeviceInfo:Qe,setPaySaveCard:Ye,handlesavecardPayment:He,CARD_OPTIONS1:Le,containerStyle:Je,setSaveCardError:Ke,setCardStatus:qe,paySpinner:Xe,cashtype:We,setCashtype:_e,setExtraLessAmount:$e,extraPayment:et,setExtraPayment:tt,setExtraPayStatus:at,setUseWalletBalance:st,setFinalTotalValue:lt,clientName:ot,clientLogo:it,itemAvailableData:rt,useWalletBalance:nt,polling:ct}=(0,l.useContext)(Ue),[dt,mt]=(0,l.useState)("add-card"),[pt,xt]=(0,l.useState)(0),[ut,ht]=(0,l.useState)(!1),[yt,vt]=(0,l.useState)(""),[At,ft]=(0,l.useState)(!1),[jt,St]=(0,l.useState)(!0),[kt,bt]=(0,l.useState)(!1),[Nt,Ct]=(0,l.useState)(!1),[It,wt]=(0,l.useState)(!1),[Et,Dt]=(0,l.useState)(!1),[Bt,Pt]=(0,l.useState)(""),[Ft,Zt]=(0,l.useState)(""),[Tt,Ot]=(0,l.useState)([]),Mt=i,[Gt,Rt]=(0,l.useState)(0),[Vt,Qt]=(0,l.useState)(""),[Yt,Ut]=(0,l.useState)(!1),[zt,Ht]=(0,l.useState)(!1),[Lt,Jt]=(0,l.useState)(!0),Kt=localStorage.getItem("isLoggedIn"),qt=localStorage.getItem("loginAddress")||"",Xt=localStorage.getItem("guestAddress")||"",Wt=localStorage.getItem("clientPath"),_t=window.location.origin,$t=localStorage.getItem("guestAddress"),ea=localStorage.getItem("totalPrice"),ta=localStorage.getItem("roundOffPrice"),aa=localStorage.getItem("driverTipValue")?localStorage.getItem("driverTipValue"):"0",sa=e=>{switch(e){case"visa":return m.k9Y;case"mastercard":return m.N$R;case"amex":return m.veW;case"discover":return m.fpC;case"diners":return m.Us5;case"jcb":return m.i4Q;default:return null}},la={iconStyle:"solid",style:{base:{iconColor:"#c4f0ff",color:"dark"===s?"#fff":"#000",fontWeight:300,border:"1px solid #ddd",fontFamily:"Source Code Pro, monospace",fontSmoothing:"antialiased",":-webkit-autofill":{color:"".concat("dark"===s?"#fff":"#000"),backgroundColor:"".concat("dark"===s?"#02111f":"#fff")},"::placeholder":{color:"#aab7c4"},backgroundColor:"dark"===s?"#02111f":"#fff",padding:"10px",fontSize:"16px"},invalid:{iconColor:"#ffc7ee",color:"dark"===s?"red":"#000",backgroundColor:"dark"===s?"#02111f":"#fff",padding:"10px"}}},oa=async e=>{var t;const a={cashimg:0,cardimg:1,"apple-pay":7,"google-pay":8,wallet:9,klarna:10,paypal:14,savedcard:12}[null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value];console.log(a),X(a),console.log(e.target.value),Se(e.target.value),console.log(je),st(9===a)},ia=async(e,t)=>{X(e),console.log(e),Se(t),Me(!1),st(9===e)},ra=(0,he.I0)(),[na,ca]=(0,l.useState)(null),[da,ma]=(0,l.useState)(null),[pa,xa]=(0,l.useState)(!0),[ua,ha]=(0,l.useState)("sm-down"),[ga,ya]=(0,l.useState)(!1),[va,Aa]=(0,l.useState)(!1),fa=(0,he.v9)((e=>{var t;return null===(t=e.placeorderStatusReducer)||void 0===t?void 0:t.placecard}));(0,l.useEffect)((()=>{ma(fa)}),[fa]);const ja=e=>{ca(e.target.value),xa(!1),ra((0,Ne.d)(!0))},Sa=()=>{V(0==G?1:0)},ka=localStorage.getItem("orderMode"),ba=localStorage.getItem("isLoggedIn");(0,l.useEffect)((()=>{let e=window.innerWidth;if(k){const t=k.message.paymentStatus;"true"===Kt?"Delivery"===ka?(_e(t.cash&&1),Ie(t.paypalStatus&&1),Ce(t.card&&1),Ee(t.applePay&&1),De(t.googlePay&&1),Pe(t.klarna&&1),e>1199&&(t.card?(Se("cardimg"),X(1)):t.cash&&(Se("cashimg"),X(0)))):(_e(t.coll_cash&&1),Ie(t.paypalStatus&&1),Ce(t.coll_card&&1),Ee(t.coll_applePay&&1),De(t.coll_googlePay&&1),Pe(t.klarna&&1),e>1199&&(t.coll_card?(Se("cardimg"),X(1)):t.coll_cash&&(Se("cashimg"),X(0)))):(_e(t.guest_cash&&1),Ie(t.paypalStatus&&1),Ce(t.coll_card&&1),Ee(t.coll_applePay&&1),De(t.coll_googlePay&&1),Pe(t.klarna&&1),e>1199&&(t.coll_card?(Se("cardimg"),X(1)):t.guest_cash&&(Se("cashimg"),X(0))))}}),[k,ka,ba]),(0,l.useEffect)((()=>
1{if(k&&!isNaN(fe)&&fe>0){var e;const t=fe,a=null===k||void 0===k||null===(e=k.message)||void 0===e?void 0:e.wallet;void 0!==a&&(ge(a),xe(parseFloat(a)>=parseFloat(t)?1:0));if(parseFloat(a)<=parseFloat(t)){const e=(parseFloat(t)||0)-(parseFloat(a)||0);at(1),$e(e),console.log(e),tt(!0),console.log("hii--1")}else tt(!1),at(0),console.log("hii--2")}}),[k,fe]),(0,l.useEffect)((()=>{const e=JSON.parse(localStorage.getItem("userData"));Pt(null!==e&&"true"===Kt?e:"")}),[Kt]);(0,l.useMemo)((()=>{const e=localStorage.getItem("orderTime")||"";let t="",a="",s="";if(e){let l=e;if(l.includes("/")){t=l.split(" ")[0].split("/"),a=l.split(" ")[1];const e=new Date("".concat(t[2],"-").concat(t[1],"-").concat(t[0],"T").concat(a)),o=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0");s="".concat(o,"-").concat(i,"-").concat(r," ").concat(n,":").concat(c)}else s=e}return{customerId:Bt.customerId,clientPath:Wt,orderTime:s,voucherCode:yt||""}}),[Wt,Mt,Bt,yt]);(0,l.useEffect)((()=>{if(2==me){(async()=>{const e=E.getElement(p.CardCvcElement);try{const t=await b.confirmCardPayment(ce,{payment_method:H,payment_method_options:{card:{cvc:e}}});t.error?(Ke(t.error.message),console.error(t.error.message)):(de(3),O("paymentIntentId"),q(t.paymentIntent.id),console.log("Payment confirmed:",t.paymentIntent))}catch(t){console.error("Error confirming payment:",t)}})()}if(2==se){(async()=>{try{await b.confirmCardPayment(ie).then((function(e){e.error?(Oe(!1),re(0),O("paymentMethodId"),q(""),K(""),ra((0,Ae.
1w4)())):(ae(3),O("paymentIntentId"),console.log("Payment confirmed:",e))}))}catch(e){console.log(e)}})()}if(14===se&&ne){const e=localStorage.getItem("loginAddress")||"",t=localStorage.getItem("guestAddress")||"",a=localStorage.getItem("clientPath"),s=window.location.origin;(async()=>{let l=null;l="true"===Kt?e:t;const o=JSON.parse(l);let i;switch(localStorage.getItem("currencyName")){case"USD":default:i="US";break;case"INR":i="IN";break;case"GBP":i="GB";break;case"EUR":i="FR"}try{const{error:e}=await b.confirmPayPalPayment(ne,{payment_method:{billing_details:{email:null===o||void 0===o?void 0:o.email,address:{country:i}}},return_url:"".concat(s,"/").concat(encodeURIComponent(a),"/checkout")});e?(console.error(e.message),ae(0),O("")):(ae(3),O("paymentIntentId"),console.log("PayPal Payment confirmed:"))}catch(r){console.error("Error confirming PayPal payment:",r)}})()}}),[me,ce,H,E,b,se,ne]),(0,l.useEffect)((()=>{if(10===se&&0!==ie){(async()=>{let e=null;e="true"===Kt?qt:Xt;const t=JSON.parse(e);let a;switch(localStorage.getItem("currencyName")){case"USD":default:a="US";break;case"INR":a="IN";break;case"GBP":a="GB";break;case"EUR":a="FR"}try{await b.confirmKlarnaPayment(ie,{payment_method:{billing_details:{email:null===t||void 0===t?void 0:t.email,address:{country:a}}},return_url:"".concat(_t,"/").concat(Wt,"/checkout")})}catch(s){console.log("Error confirming Klarna payment:",s)}})()}}),[me,ce,H,E,b,se,ie]);const Na=localStorage.getItem("discount"),Ca="Collection"===o?1:0;if((0,l.useEffect)((()=>{const e=Na?JSON.parse(Na):"";Zt(e);const t=parseFloat(ea)*g/100;console.log(t);let a=parseFloat(ea)+parseFloat(t)+parseFloat(r)+parseFloat(n)+parseFloat(c)+parseFloat(aa);""===Ft||(null===Ft||void 0===Ft?void 0:Ft.orderType)!==Ca&&"2"!==(null===Ft||void 0===Ft?void 0:Ft.orderType)||null!==e&&void 0!==e&&e.appliedDiscount&&(a-=parseFloat(e.appliedDiscount)),"voucherDiscount"==(null===e||void 0===e?void 0:e.source)&&vt((null===e||void 0===e?void 0:e.discount)||""),"SubscriptionCoupon"==(null===e||void 0===e?void 0:e.source)&&(vt((null===e||void 0===e?void 0:e.discount)||""),ft(!0)),Rt((null===e||void 0===e?void 0:e.appliedDiscount)||0),localStorage.setItem("finalTotal",a.toFixed(2)),j(a.toFixed(2)),lt((parseFloat(a)+parseFloat(ta)).toFixed(2)),localStorage.setItem("finalTotalValue",(parseFloat(a)+parseFloat(ta)).toFixed(2))}),[ea,Ft,r,n,c,g,aa,ta,Na,nt,ct]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];Ot(e)}),[localStorage.getItem("cart")]),!k)return(0,Ve.jsx)("div",{children:"Loading..."});const Ia=null===k||void 0===k||null===(e=k.message)||void 0===e||null===(t=e.card)||void 0===t?void 0:t.cardDetail;Ia&&Ye(Ia);const wa=e=>{qe(!0),ye(null),Fe(!1),ra((0,Ne.d)(!1))};function Ea(){X(1),Se("cardimg1"),ya(!0)}const Da=()=>{Ut(!0)},Ba=()=>{Ut(!1)},Pa=(0,Ve.jsx)(Ve.Fragment,{children:Array.isArray(Ia)&&(null===Ia||void 0===Ia?void 0:Ia.length)>0&&(null===Ia||void 0===Ia?void 0:Ia.map(((e,t)=>{var a;const s=null!==(a=e.card)&&void 0!==a?a:"",l=na===s,o="1"===e.primary&&pa;return(0,Ve.jsxs)("div",{style:{marginBottom:"16px",borderRadius:"12px",padding:"5px",backgroundColor:"#fff"},children:[(0,Ve.jsxs)("label",{htmlFor:"savedcard-".concat(t),style:{display:"flex",alignItems:"center",cursor:"pointer",gap:"12px"},children:[(0,Ve.jsx)("img",{src:e.brand||"/default.png",alt:"card-logo",style:{width:"65px",height:"65px",objectFit:"contain",backgroundColor:"#f5f5f5",borderRadius:"6px",padding:"4px"},onError:e=>e.target.src="/default.png"}),(0,Ve.jsxs)("div",{style:{flex:1},children:[(0,Ve.jsxs)("div",{style:{fontWeight:600,fontSize:"22px"},children:["**** **** ***** ",s.slice(-4)]}),(0,Ve.jsxs)("small",{style:{color:"#555",fontSize:"16px"},children:["Expires on ",e.expMonth,"/",String(e.expYear).slice(-2)]})]}),(0,Ve.jsx)("input",{id:"savedcard-".concat(t),type:"radio",name:"savedcard",value:s,checked:l,onChange:ja,className:"custom-radio"})]}),(l||o)&&(0,Ve.jsxs)("div",{style:{marginTop:"16px",display:"flex",gap:"10px",flexWrap:"wrap",alignItems:"center"},children:[(0,Ve.jsx)("div",{style:{flex:1,minWidth:"100px",border:"1px solid #ddd",borderRadius:"8px",padding:"10px"},children:(0,Ve.jsx)(p.CardCvcElement,{options:{iconStyle:"solid",style:{base
1:{iconColor:"#c4f0ff",color:"#000",fontWeight:300,fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{iconColor:"#ffc7ee",color:"red"}}}})}),(0,Ve.jsx)("button",{onClick:()=>He(e.paymentMethodId),disabled:Te,style:{backgroundColor:"#000",color:"#fff",padding:"10px 16px",borderRadius:"8px",border:"none",fontWeight:600,minWidth:"120px"},children:Te?(0,Ve.jsx)(y.Z,{animation:"border",size:"md",variant:"light"}):"Pay"})]})]},t)})))});return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{children:[(0,Ve.jsx)(h.Z,{className:"paymentCard",children:(0,Ve.jsxs)(h.Z.Body,{className:"paymentCardBody",children:[(0,Ve.jsxs)(h.Z.Title,{className:"paymentCardTitle",children:["Payment options"," ",(0,Ve.jsxs)("div",{className:"secure-badge",onClick:()=>{Ht(!0)},children:[(0,Ve.jsx)("img",{src:R,className:"lock-icon"}),"100% Secure"]})]}),(0,Ve.jsxs)("div",{className:"payment-tab d-none d-md-block",children:[(0,Ve.jsx)("form",{className:"tabs-div",children:null===ke||void 0===ke?void 0:ke.map((e=>{let{value:t,icon:a,darkicon:l,status:o,type:i,device:r,para:n}=e;return localStorage.getItem("guestAddress")&&"wallet"===t?null:(0,Ve.jsx)(Ve.Fragment,{children:1==o?(0,Ve.jsx)(Ve.Fragment,{children:1==r?(0,Ve.jsxs)("label",{className:"".concat(1===i&&3!==i?"mobileview":"desktopviews"," ").concat(je===t?"newactivestyle":""),children:[(0,Ve.jsx)("img",{className:t,src:"dark"===s?l:a,alt:"darkicon"}),(0,Ve.jsx)("input",{type:"radio",value:t,name:"payment",checked:je===t,onChange:oa}),(0,Ve.jsx)("p",{children:n})]},t):null}):null})}))}),"cardimg"===je?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"selected-tab",children:(0,Ve.jsxs)("div",{className:"card-tab",children:[(0,Ve.jsx)("div",{className:"header",children:(0,Ve.jsxs)("h5",{style:{marginTop:"20px",marginBottom:"5px"},children:[" ",(0,Ve.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKkAAACpCAYAAABQ1R0vAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQ4SURBVHgB7d2xdttkGAbgL4SBrWVjq3oFdCwT7gZbuYKaK2jvIOEO4ApSJkboxpZ0YqRs3axeQcMVhF/Hdo9qEtAvO/J34uc5540TWXI8vOeXIkt/IgAAAAAAAAAAAAAAAAAAAAAAxjqKek3JbPX4IOB6lyXvSt6schm37H7JScmi5EpkRM5L5nELmpKziLgS2VEWscOyPi95HxFXIreQRSwHwVG6Xft5xF7euBxeXsT/ON74uSn5o+RRwDS+WT2+vmmFfkm7EbQraBMwrdnq8dqi9kv6S8njgP2YlfxV8nbzifV50pOS04D96s6lPoyNc6rdSNqUvCz5LGC/ug5+UfKqv7AbSc9iu/NWbcDH7q8y1pOSi/6CMacNumLPtnwj3G1NLAe/RdT363zzxWo27n7hLKDOadQX9aMBsKagTcA4p7HFSf6hG80CtvNr1B1SflC9AYzURN2e+4MhGzwN2I3zqDwu/WTgC18E7MbrinXvdV+GlvTWr6rmYLRRaWhJYW+UlPSUlPSUlPSUlPSUlPSUlPSUlPSUlPSUlPQ+Hbieq6DYlSYqdfc4XQXk1JS8s7snPSUlPSUlPSUlPSUlPSUlPSUlPSUlvaGfOLUBuzFqMrMh9z/Drsxj+H33D7oN7O5JT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJT0lJb+h05LvyqORZySyun5L6MpZTn78qeRmwMtV05M9j+DTUXc5jxNzqpDePyunIY+DKU76xzaJyt8wj6Zz5JzHObBUO2BQl7Y5DmxjvaXDQpijptseV94KD5hQU6Skp6Skp6Skp6Skp6U1R0ja283dw0KYq6WWMdxEctKl29z/EOG3Jb8FBm6qkP5b8FHXakicBMc0FJmvzWF408l+/a1FyGq6AuqvmkfQqKFibR9KroGA0JSU9JSU9JSU9JSU9JSU9JSU9JSW9oSV9ELAbjyrXH1zS7wJ24+uKdd+tvzFJA1OZxfCPRP/sbzh0oxcB21nE8L6d9Te8qsizgHG60tV07aNJQa4qcxIwXBPLXXdNxxb9FzgqeR/11262sbyt4+dY3hqyze0h3D1dn/rTfNZ6WfJ9f8Fp1I+mIreVbtBsoqc7BdXd2tEG5NDdZtT2FxytHmfhNBP715Y83Fx43HuyK+wsYD/aWN54+a+/b45731+UfF7yOGBaXTG/LXl73ZPHGz//HkZUptUVtBtB39y0wvE1yy5CUZlGW/JV3DCCDtFE3cdYIjXpzirtbG6FeSir7C5nUfk/FI4q1p3FsrBfxohrAjlY3TFnd7y5/gdy1Z9O1pS0b/2x1/0wHQ7XW5ezDQAAAAAAAAAAAAAAAAAAAACAvfkHqcHajPWfASwAAAAASUVORK5CYII=",alt:"crediticon",className:"creditdebitcard"})," ","Credit or Debit card"]})}),(0,Ve.jsxs)(A.Z,{className:"selected-tab-accord",activeKey:dt,onSelect:e=>{mt(e===dt?null:e),xt("add-card"==dt?1:0)},style:{border:"none !important"},children:[(0,Ve.jsxs)(A.Z.Item,{eventKey:"add-card",className:"border-0 mt-3",children:[(0,Ve.jsx)(A.Z.Header,{children:(0,Ve.jsx)("span",{className:"fw-bold",children:"Add Card"})}),(0,Ve.jsx)(A.Z.Body,{children:(0,Ve.jsx)("form",{className:"add-card-form",children:(0,Ve.jsxs)(x.Z,{children:[(0,Ve.jsxs)(u.Z,{xxl:12,xl:12,children:[(0,Ve.jsx)(v.Z.Label,{children:"Card number"}),(0,Ve.jsxs)("div",{style:{height:"40px",marginBottom:"35px",position:"relative"},children:[(0,Ve.jsx)(p.CardNumberElement,{options:la,className:"custom-card-element",onChange:e=>{wa(),Qt(e.brand)}}),sa(Vt)&&(0,Ve.jsx)(d.G,{icon:sa(Vt),style:{position:"absolute",right:"15px",top:"55%",transform:"translateY(-50%)",fontSize:"45px",color:"#DEDEDE",display:"flex",alignItems:"center",justifyContent:"center"}})]})]}),(0,Ve.jsxs)(u.Z,{xxl:6,sm:6,xs:6,xl:6,style:{marginBottom:"20px"},children:[(0,Ve.jsx)(v.Z.Label,{children:"Expires on"}),(0,Ve.jsx)(p.CardExpiryElement,{options:la,onChange:wa})]}),(0,Ve.jsxs)(u.Z,{xxl:6,sm:6,xs:6,xl:6,style:{marginBottom:"20px"},children:[(0,Ve.jsx)(v.Z.Label,{children:"CVV"}),0==pt&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{style:{position:"relative"},children:[(0,Ve.jsx)(p.CardCvcElement,{options:la,onChange:wa}),(0,Ve.jsx)("div",{title:"What is CVV?",style:{position:"absolute",top:"50%",right:"15px",transform:"translateY(-50%)",height:"22px",width:"22px",backgroundColor:"#f5f5f5",border:"1px solid #ccc",borderRadius:"50%",fontSize:"14px",fontWeight:"bold",color:"#000",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:2},onClick:Da,children:"?"})]})})]}),(0,Ve.jsxs)("span",{className:"card-error",style:{color:"red",margin:ve?"10px 0 10px 0":"",textAlign:ve?"center":""},children:[ve," "]}),(0,Ve.jsx)(f.Z,{show:Yt,centered:!0,onHide:()=>Ut(!1),id:"checkoutcustomModal",className:"dark"===s?"dark-popup":null,dialogClassName:"bottom-modal",fade:!0,children:(0,Ve.jsxs)("div",{style:{borderRadius:"12px",padding:"20px"},children:[(0,Ve.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,Ve.jsx)("h5",{className:"whatcvvtext",children:"What is CVV?"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:Ba})]}),(0,Ve.jsx)("div",{className:"text-center my-3",children:(0,Ve.jsx)("img",{src:z,alt:"CVV example",style:{width:"100%",maxWidth:"360px",height:"100%"}})}),(0,Ve.jsx)("p",{className:"cvvdescription",children:"The CVV number is the last three digits on the back of your card"})]})}),"false"!==Kt?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(u.Z,{xxl:12,children:(0,Ve.jsx)(v.Z.Check,{label:" Securely save this card future order",name:"form-check",type:"checkbox",id:"form-check",onClick:()=>Sa()})})}):null]})})})]}),a&&"true"===Kt?(0,Ve.jsx)(Ve.Fragment,{children:!da&&"false"!==Kt&&Ia?(0,Ve.jsxs)(A.Z.Item,{eventKey:"saved-card",className:"border-0 mt-3",children:[(0,Ve.jsx)(A.Z.Header,{children:(0,Ve.jsx)("span",{className:"fw-bold",children:"Saved Cards"})}),(0,Ve.jsx)(A.Z.Body,{children:(0,Ve.jsx)("div",{className:"saved-cards",children:(0,Ve.jsx)("div",{className:"save-card-form",children:Ia?(0,
1Ve.jsx)(Ve.Fragment,{children:Ia.map(((e,t)=>(0,Ve.jsxs)("label",{children:[(0,Ve.jsxs)("div",{className:"main-data",children:[(0,Ve.jsx)("span",{className:" tick\n                                                ".concat(na===e.card&&"active","\n                                                "),children:na===e.card||"1"===e.primary&&pa?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(N.vB0,{})}):(0,Ve.jsx)(Ve.Fragment,{})}),(0,Ve.jsx)("img",{src:e.brand,alt:""}),(0,Ve.jsxs)("div",{className:"card-data",children:[(0,Ve.jsx)("p",{children:e.card}),(0,Ve.jsxs)("span",{children:["Expires on"," ",e.expMonth,"/",e.expYear%100]})]}),(0,Ve.jsx)("input",{type:"radio",value:e.card,name:"savedcard",checked:na===e.card,onChange:ja})]}),(0,Ve.jsx)("br",{}),(0,Ve.jsx)("div",{className:"main-datanewsave",children:na===e.card||"1"===e.primary&&pa?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"cvv-btn",children:[1==pt&&(0,Ve.jsx)(p.CardCvcElement,{options:la}),(0,Ve.jsx)("button",{disabled:!!Te,onClick:()=>He(e.paymentMethodId),children:Te?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Pay"})]})}):(0,Ve.jsx)(Ve.Fragment,{})})]},t)))}):null})})})]}):(0,Ve.jsx)(Ve.Fragment,{})}):(0,Ve.jsx)(Ve.Fragment,{})]})]})})}):"paypal"===je?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"selected-tab"})}):"google-pay"===je||"apple-pay"===je?(0,Ve.jsx)("div",{className:"selected-tab"}):""!==$t&&"wallet"===je?"true"===Kt?(0,Ve.jsx)("div",{className:"selected-tab",children:(0,Ve.jsx)("div",{className:"wallet-tab",children:1==pe?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("img",{src:"dark"===s?ee:W,alt:"darkicon"}),(0,Ve.jsx)("h4",{children:ue}),(0,Ve.jsx)("p",{children:"Available Balance"})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("img",{src:"dark"===s?ee:W,alt:"cardicon"}),(0,Ve.jsx)("h4",{children:ue}),(0,Ve.jsx)("p",{children:"Not placed Available Balance"})]})})}):null:"cashimg"===je&&We?(0,Ve.jsx)(Ve.Fragment,{}):null,(0,Ve.jsx)("div",{className:"fus-payment-btnpayment",style:{marginBottom:"15px"},children:(0,Ve.jsx)(gt,{walletamount:ue,finalTotalValue:fe})})]}),(0,Ve.jsxs)("div",{className:"payment-tab d-block d-sm-none",ref:Ze,children:[(0,Ve.jsxs)("div",{className:"header-content",children:[(0,Ve.jsx)("div",{className:"order-data",children:(0,Ve.jsx)("p",{children:"Try More ways to pay"})}),(0,Ve.jsx)("div",{className:"order-datap",children:(0,Ve.jsx)("p",{children:"We support Fusion pay,Klarna, Paypal and 2+ more"})})]}),(0,Ve.jsxs)("div",{className:"checkoutimgs",children:[(0,Ve.jsxs)("div",{className:"checkoutimgschild",children:[(0,Ve.jsx)("img",{src:1===Qe?"dark"===s?F:P.Z:D,alt:"appleinfoicon"}),We&&(0,Ve.jsx)("img",{src:w,alt:"cartwhite"}),(0,Ve.jsx)("img",{src:w,alt:"cartwhiteicon"}),Be&&(0,Ve.jsx)("img",{src:Z,alt:"klarnapay"}),we&&(0,Ve.jsx)("img",{src:B.Z,alt:"paypallogo"}),(0,Ve.jsx)("img",{src:T.Z,alt:""})]}),(0,Ve.jsx)("div",{children:(0,Ve.jsx)(te.hjJ,{onClick:()=>{Me(!0)}})})]}),(0,Ve.jsx)("div",{children:(0,Ve.jsxs)(f.Z,{show:Ge,fullscreen:ua,onHide:()=>Me(!1),id:"checkoutcustomModal",className:"true"==localStorage.getItem("isApp")?"app-side ".concat("dark"===s?"dark-popup":null):"dark"===s?"dark-popup":null,dialogClassName:"bottom-modal",children:[" ",(0,Ve.jsx)($.Lp2,{className:"closeicon",onClick:()=>Me(!1)}),(0,Ve.jsx)(f.Z.Header,{children:(0,Ve.jsx)(f.Z.Title,{className:"checkoutpaymentmodaltext",children:"How would you like to pay ?"})}),(0,Ve.jsx)(f.Z.Body,{children:(0,Ve.jsx)("div",{className:"payment-options",children:(0,Ve.jsxs)("ul",{className:"list-group",children:[be&&(0,Ve.jsx)("li",{className:"list-group-item ".concat("cardimg1"==je?"active":""),onClick:Ea,children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:le,alt:"",onClick:Ea}),(0,Ve.jsx)("h5",{onClick:Ea,children:"Card"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"cardimg1"==je,onChange:Ea})})]})})}),(0,Ve.jsxs)(f.Z,{show:ga&&"cardimg1"===je&&be,onHide:()=>ya(!1),fullscreen:!0,className:"true"==localStorage.getItem("isApp")?"app-side":"",centered:!0,children:[(0,Ve.jsx)(f.Z.Header,{className:"true"==localStorage.getItem("isApp")?"app-side arrowheadermodal":"arrowheadermodal",children:(0,Ve.jsxs)(f.Z.Title,{children:[(0,Ve.jsx)(N.oTp,{className:"arrowclose",style:{color:"#fff"},onClick:()=>{ya(!1),Me(!1),Se("cardimg1")}})," ",(0,Ve.jsx)("span",{className:"ms-2",children:"Payment"})]})}),(0,Ve.jsxs)(f.Z.Body,{children:[Array.isArray(Ia)&&Ia.length>0&&(0,Ve.jsxs)("div",{className:"saved-cards-box",onClick:()=>{Jt(!1),Aa(!0)},children:[(0,Ve.jsxs)("div",{className:"saved-cards-left",children:[(0,Ve.jsx)(L.XiQ,{className:"card-icon"}),(0,Ve.jsx)("span",{className:"saved-cards-text",children:"Saved cards"})]}),(0,Ve.jsx)(oe.jfD,{className:"voucher-arrow"})]}),(0,Ve.jsxs)("div",{className:"line-containercheck",children:[(0,Ve.jsx)("div",{className:"linecheck"}),(0,Ve.jsx)("div",{className:"textcheck",children:"Add Card"}),(0,Ve.jsx)("div",{className:"linecheck"})]}),Lt&&(0,Ve.jsxs)("div",{className:"d-flex align-items-center justify-content-center flex-column vh-75 checkOutMobilecard",children:[(0,Ve.jsx)(v.Z,{className:"form-label mb-3",children:(0,Ve.jsxs)(x.Z,{children:[(0,Ve.jsxs)(u.Z,{xxl:6,xl:6,style:{padding:"10px"},children:[(0,Ve.jsx)(v.Z.Label,{className:"checkOutMobileLabel",children:"Card number"}),(0,Ve.jsxs)("div",{style:{padding:"15px 15px 15px 15px",borderRadius:"10px",border:"1px solid #EDEDED",position:"relative"},className:"checkOutMobileElement",children:[(0,Ve.jsx)(p.CardNumberElement,{options:la,className:"custom-card-element",onChange:e=>{wa(),Qt(e.brand)},style:{height:"300px"}}),sa(Vt)&&(0,Ve.jsx)(d.G,{icon:sa(Vt),style:{position:"absolute",right:"15px",top:"50%",transform:"translateY(-50%)",fontSize:"45px",color:"#DEDEDE",display:"flex",alignItems:"center",justifyContent:"center"}})]})]}),(0,Ve.jsxs)(u.Z,{xxl:3,sm:6,xs:6,xl:3,children:[(0,Ve.jsx)(v.Z.Label,{className:"checkOutMobileLabel",children:"Validity"}),(0,Ve.jsx)("div",{style:{padding:"15px 15px 15px 15px",borderRadius:"10px",border:"1px solid #EDEDED"},className:"checkOutMobileElement",children:(0,Ve.jsx)(p.CardExpiryElement,{options:Le,onChange:wa})})]}),(0,Ve.jsxs)(u.Z,{xxl:3,sm:6,xs:6,xl:3,children:[(0,Ve.jsx)(v.Z.Label,{className:"checkOutMobileLabel",children:"CVV"}),(0,Ve.jsxs)("div",{style:{padding:"15px 15px 15px 15px",borderRadius:"10px",border:"1px solid #EDEDED",position:"relative"},className:"checkOutMobileElement",children:[(0,Ve.jsx)(p.CardCvcElement,{options:Le,onChange:wa}),(0,Ve.jsx)("div",{title:"What is CVV?",onClick:Da,style:{position:"absolute",top:"50%",right:"15px",transform:"translateY(-50%)",height:"22px",width:"22px",backgroundColor:"#f5f5f5",border:"1px solid #ccc",borderRadius:"50%",fontSize:"14px",fontWeight:"bold",color:"#000",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:2},children:"?"})]})]}),(0,Ve.jsx)(v.Z.Label,{style:{color:"red"},children:ve}),"false"!==Kt?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"p-2",children:(0,Ve.jsx)(u.Z,{xxl:12,children:(0,Ve.jsx)(v.Z.Check,{label:" Securely save this card future order",name:"form-check",type:"checkbox",id:"form-check",className:"form-check",onClick:()=>Sa()})})})}):null]})}),(0,Ve.jsx)(gt,{walletamount:ue,finalTotalValue:fe})]})]})]}),(0,Ve.jsxs)(f.Z,{show:va,onHide:()=>ya(!1),fullscreen:!0,className:Array.isArray(Ia)&&Ia.length>0&&"true"==localStorage.getItem("isApp")?"app-side":"",centered:!0,children:[(0,Ve.jsx)(f.Z.Header,{className:"true"==localStorage.getItem("isApp")?"app-side arrowheadermodal":"arrowheadermodal",children:(0,Ve.jsxs)(f.Z.Title,{children:[(0,Ve.jsx)(N.oTp,{className:"arrowclose",style:{color:"#fff"},onClick:()=>{Jt(!0),Aa(!1),ya(!1),Me(!1),Se("cardimg1")}})," ",(0,Ve.jsx)("span",{className:"ms-2",children:"Payment"})]})}),(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsx)("h4",{style:{marginBottom:"20px",marginTop:"5px"},children:"Saved Card"}),(0,Ve.jsx)("div",{className:"save-card-form",children:!Lt&&Pa})]})]}),(0,Ve.jsx)(f.Z,{show:Yt,onHide:()=>Ut(!1),id:"checkoutcustomModal",className:"dark"===s?"dark-popup":null,fade:!0,children:(0,Ve.jsxs)("div",{style:{borderRadius:"12px",padding:"20px"},children:[(0,Ve.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,Ve.jsx)("h5",{className:"whatcvvtext",children:"What is CVV?"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:Ba})]}),(0,Ve.jsx)("div",{className:"text-center my-3",children:(0,Ve.jsx)("img",{src:z,alt:"CVV example",style:{width:"100%",maxWidth:"260px",height:"100%"}})}),(0,Ve.jsx)("p",{style:{fontSize:"14px",textAlign:"left",marginBottom:"0",fontFamily:"Geist-Regular"},children:"The CVV number is the last three digits on the back of your card"})]})}),1===Qe?(0,Ve.jsx)("li",{className:"list-group-item ".concat("apple-pay"==je?"active":""),value:"apple-pay",onClick:()=>
1ia(7,"apple-pay"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:"dark"===s?F:P.Z,alt:"applepayicon"}),(0,Ve.jsx)("h5",{children:"Pay"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"apple-pay"==je,onChange:()=>ia(7,"apple-pay")})})]})})}):null,We?(0,Ve.jsx)("li",{className:"list-group-item",value:"cashimg",onClick:()=>ia(0,"cashimg"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:_,alt:"cashimgicon",style:{height:"30px"}}),(0,Ve.jsx)("h5",{children:"Cash Pay"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"cashimg"==je,onChange:()=>ia(0,"cashimg")})})]})})}):null,1===Re?(0,Ve.jsx)("li",{className:"list-group-item ".concat("google-pay"==je?"active":""),value:"google-pay",onClick:()=>ia(8,"google-pay"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:D,alt:"google-pay",className:"payment-logo",onClick:()=>ia(8,"google-pay")}),(0,Ve.jsx)("h5",{onClick:()=>ia(8,"google-pay"),children:"Google Pay"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"google-pay"==je,onChange:()=>ia(8,"google-pay")})})]})})}):null,Be&&(0,Ve.jsx)("li",{className:"list-group-item ".concat("klarna"==je?"active":""),value:"klarna",onClick:()=>ia(10,"klarna"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:Z,alt:"klarnapay",className:"payment-logo",onClick:()=>ia(10,"klarna")}),(0,Ve.jsx)("h5",{onClick:()=>ia(10,"klarna"),children:"klarna"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"klarna"==je,onClick:()=>ia(10,"klarna")})})]})})}),we&&(0,Ve.jsx)("li",{className:"list-group-item ".concat("paypal"==je?"active":""),value:"cashimg",onClick:()=>ia(14,"paypal"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:J,alt:"paypalnew"}),(0,Ve.jsx)("h5",{onClick:()=>ia(14,"paypal"),children:"Paypal"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"paypal"==je,onClick:()=>ia(14,"paypal")})})]})})}),!et&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("li",{className:"list-group-item ".concat("wallet"==je?"active":""),value:"wallet",onClick:()=>{ia(9,"wallet")},children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchild",children:[(0,Ve.jsxs)("div",{className:"checkoutpaynewdiv",children:[(0,Ve.jsx)("img",{src:"dark"===s?ee:W,alt:"cardicondark"}),(0,Ve.jsx)("h5",{className:"mobile-wallet-disabled",style:{fontSize:"16px"},children:"Wallet"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"wallet"==je,onChange:()=>{ia(9,"wallet")}})})]})})})})]})})})]})})]})]})}),(0,Ve.jsx)(f.Z,{show:zt,id:"checkoutcustomModal",dialogClassName:"bottom-modal",centered:!0,className:"secure-modal",children:(0,Ve.jsxs)("div",{className:"secure-payment-content",children:[(0,Ve.jsxs)("div",{className:"secure-header",children:[(0,Ve.jsx)("h5",{children:"100% Safe and Secure payments"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>{Ht(!1)}})]}),(0,Ve.jsxs)("div",{className:"secure-body",children:[(0,Ve.jsx)("img",{src:Q,alt:"secure shield",className:"shield-icon"}),(0,Ve.jsx)("p",{children:"We use Stripe for secure payment processing in Stripe is a certified PCI DSS Level 1 Service Provider \u2014 the highest level of certification in the payments industry. All transactions are encrypted using industry-standard SSL encryption. Your payment information is processed securely and is never stored on our servers. For more information, please refer to our Privacy Policy."}),(0,Ve.jsxs)("div",{className:"secure-badges",children:[(0,Ve.jsx)("img",{src:Y,alt:"PCI DSS"}),(0,Ve.jsx)("img",{src:U,alt:"SSL 256 Bit"})]})]})]})})]})})},xt=()=>{const{getOrderMode:e,getOrderTime:t}=(0,C.yM)(),{deliveryCharge:a,bagCharge:s,clientFkCharge:o,Vat:i,setFinalTotal:r,currency_symbol:n}=ze(),{getorderType:c,stripepayment:d,stripe:m,elements:p,setPayType:x,paymentSva:u,setPaymentSva:h,paymentMId:g,setPaymentMId:A,setPaymentIntentId:f,setPaymentType:j,setPaySubmit:S,paySubmit:k,clientSecret:b,setClientSecret:N,payPalClientSecret:I,svclientSecret:w,setSvpaySubmit:E,svpaySubmit:D,walletstatus:B,setWalletstatus:P,walletamount:F,setWalletamount:Z,setCardErrorMessage:T,cardErrorMessage:O,finalTotalValue:G,selectedValue:R,setSelectedValue:V,paymentOptions:Q,cardtype:Y,setCardtype:U,setPaypalType:z,paypalType:L,setApplepaytype:J,setGooglepaytype:K,klarnaType:q,setKlarnaType:X,setFooterBtn:W,sectionRef:_,buttonstatus:$,setButtonstatus:ee,setPaymentModalShow:te,paymentModalShow:ae,gpaydeviceInfo:se,appledeviceInfo:le,setPaySaveCard:oe,handlesavecardPayment:ie,CARD_OPTIONS1:re,containerStyle:ne,setSaveCardError:ce,setCardStatus:de,paySpinner:me,cashtype:pe,setCashtype:xe,setExtraLe
1ssAmount:ue,extraPayment:he,setExtraPayment:ge,setExtraPayStatus:ye,setUseWalletBalance:ve,setFinalTotalValue:Ae,clientName:fe,clientLogo:je,itemAvailableData:Se,useWalletBalance:ke,polling:be}=(0,l.useContext)(Ue),[Ne,Ce]=(0,l.useState)(!1),[Ie,we]=(0,l.useState)(""),[Ee,De]=(0,l.useState)(!1),[Be,Pe]=(0,l.useState)(!0),[Fe,Te]=(0,l.useState)(!1),[Oe,Me]=(0,l.useState)(!1),[Ge,Re]=(0,l.useState)(!1),[Qe,Ye]=(0,l.useState)(!1),[He,Le]=(0,l.useState)(""),[Je,Ke]=(0,l.useState)(""),[qe,Xe]=(0,l.useState)([]),We=t,[_e,$e]=(0,l.useState)(0),et=localStorage.getItem("isLoggedIn"),tt=(localStorage.getItem("loginAddress"),localStorage.getItem("guestAddress"),localStorage.getItem("clientPath")),at=(window.location.origin,localStorage.getItem("totalPrice")),st=localStorage.getItem("roundOffPrice"),lt=localStorage.getItem("driverTipValue")?localStorage.getItem("driverTipValue"):"0",ot=localStorage.getItem("discount"),it="Collection"===e?1:0;(0,l.useEffect)((()=>{const e=JSON.parse(localStorage.getItem("userData"));Le(null!==e&&"true"===et?e:"")}),[et]),(0,l.useEffect)((()=>{const e=ot?JSON.parse(ot):"";Ke(e);const t=parseFloat(at)*i/100;console.log(t);let l=parseFloat(at)+parseFloat(t)+parseFloat(a)+parseFloat(s)+parseFloat(o)+parseFloat(lt);""===Je||(null===Je||void 0===Je?void 0:Je.orderType)!==it&&"2"!==(null===Je||void 0===Je?void 0:Je.orderType)||null!==e&&void 0!==e&&e.appliedDiscount&&(l-=parseFloat(e.appliedDiscount)),"voucherDiscount"==(null===e||void 0===e?void 0:e.source)&&we((null===e||void 0===e?void 0:e.discount)||""),"SubscriptionCoupon"==(null===e||void 0===e?void 0:e.source)&&(we((null===e||void 0===e?void 0:e.discount)||""),De(!0)),$e((null===e||void 0===e?void 0:e.appliedDiscount)||0),localStorage.setItem("finalTotal",l.toFixed(2)),r(l.toFixed(2)),Ae((parseFloat(l)+parseFloat(st)).toFixed(2)),localStorage.setItem("finalTotalValue",(parseFloat(l)+parseFloat(st)).toFixed(2))}),[at,Je,a,s,o,i,lt,st,ot,ke,be]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];Xe(e)}),[localStorage.getItem("cart")]);const rt=(0,l.useMemo)((()=>{const e=localStorage.getItem("orderTime")||"";let t="",a="",s="";if(e){let l=e;if(l.includes("/")){t=l.split(" ")[0].split("/"),a=l.split(" ")[1];const e=new Date("".concat(t[2],"-").concat(t[1],"-").concat(t[0],"T").concat(a)),o=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0");s="".concat(o,"-").concat(i,"-").concat(r," ").concat(n,":").concat(c)}else s=e}return{customerId:He.customerId,clientPath:tt,orderTime:s,voucherCode:Ie||""}}),[tt,We,He,Ie]);return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("div",{className:"d-block d-sm-none  voucher-code-full",style:{marginTop:"ASAP"===c?"15px":"0"},children:[(0,Ve.jsx)("h5",{className:"vocuher-htag",children:"Vouchers & discounts "}),(0,Ve.jsxs)("div",{className:"voucher-code-container",onClick:()=>Ce(!0),children:[(0,Ve.jsxs)("div",{className:"voucher-code-left",children:[(0,Ve.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAACwCAYAAACvt+ReAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAsxSURBVHgB7d3NfdtGGgbwx/Ye9qgOPKlglQoWW4F13ROQCpJUgEkFlm+5kR3ErgBMBXYqIPa4JzsVKHwNIqJoAngHmC9Qz//3m1ihgMEIeAAM8QkQERERERERERERERERERERERERERERERERERERERERERERERERERHRIi8wz82hFMd/DYjma8+KE5cAS1h/PJQKDC2F8elQdofyDjPCPESC+/ZQHlhYIpYNPGwo7w7lM4AHFpYEZY9ujz/o1cjv6kP59VD+CaI0ZO9/d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gdfDQHf3e4uzLbB4pxjRHCewpi9GDPA6FNA/JHLX//Di5EMDtyfZ7A7lA9IGRPpKdxPDyIq5hjuqnys5uiXLsXAY5zsM3Le3hf+HY7Cw+CwbnDjdAguD7qmTPHtFOWpx9siCV2cDSHfg/5jeLROlILf9704/eHVhIOkvypa5AFE+5Jkb9+cfvhoYeAeGmPIh4bWXfvFqZKQdujfcyCEz9okpBenS/vdQfsUCBjw6wRK/bOB5w2nQ9UH2AB5YWAKUPbqugjq4LzCPORZ2L2ipFl1X4ROe7zsGiYiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiI0vkLuQqlaVespFUAAAAASUVORK5CYII=",alt:"voucher",className:"voucher-icon"}),(0,Ve.jsx)("span",{className:"voucher-label",children:"Add voucher discounts"})]}),(0,Ve.jsx)(H.vpV,{className:"voucher-arrow"})]})]}),Ne&&(0,Ve.jsx)("div",{className:"custom-modal-overlay",children:(0,Ve.jsxs)("div",{className:"custom-modal-content",children:[(0,Ve.jsxs)("h2",{className:"voucher-modal-title",children:["Voucher"," ",(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>Ce(!1)})]}),(0,Ve.jsxs)("div",{className:"voucher-modal-bodycontent",children:[(0,Ve.jsxs)("form",{children:[(0,Ve.jsx)("p",{className:"voucher-modal-subtitle",children:"Add your voucher"}),(0,Ve.jsx)(v.Z.Control,{type:"text",value:Ie,onChange:e=>we(e.target.value),onKeyDown:()=>{Re(!1),Me(!1),Te(!1),Pe(!0),De(!1)},isInvalid:!Be,"data-fus":"fus-test-vouchercodeinput",placeholder:"Voucher code",className:"voucher-input"}),(0,Ve.jsx)("button",{className:"voucher-apply-btn",type:"button",onClick:()=>{""==Ie&&Pe(!1);const t=localStorage.getItem("SubcripeCoupon"),a=null!==t&&"undefined"!==t?JSON.parse(t):"";if(Ye(!0),""!=a&&"undefined"!==typeof a)if(console.log(rt),Ie===a.code){(0,Ze.a3)(a,e)&&(Pe(!0),De(!0),Ye(!1))}else Pe(!1),Ye(!1);else yt(rt).then((t=>
1{if(!t.status)return"voucher code was already Used"==t.message?(Re(!0),Pe(!1)):"Invalid code"==t.message||"voucher not available"==t.message?Pe(!1):"CustomerId is required"==t.message&&(Me(!0),Pe(!1)),De(!1),Ye(!1),console.log("vocuherRespose"),void console.log(t.message);const a=localStorage.getItem("cart"),s=(JSON.parse(a)||[]).filter((e=>1===e.itemAllowCoupon)).reduce(((e,t)=>e+parseFloat(t.price)),0);if(parseFloat(s)>=parseFloat(t.message.minAmount)){const a={code:t.message.code,discount:t.message.discount,description:t.message.description,discountType:t.message.type,minOrder:t.message.minAmount};(0,Ze.E7)(a,e),Pe(!0),De(!0),Ye(!1)}else Te(!0),Ye(!1),Pe(!1)})).catch((e=>{Ye(!1),console.log(e)}))},children:Qe?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"primary"}):Ee?"Applied":"Apply"})]}),Ge&&(0,Ve.jsx)("p",{className:"error-code",style:{color:"red"},children:"Sorry Voucher already redeemed"}),Oe&&(0,Ve.jsx)("p",{className:"error-code",style:{color:"red"},children:"Please log in to redeem this voucher"}),Fe&&(0,Ve.jsx)("p",{className:"error-code",style:{color:"red"},children:"Need to added more item"})]})]})})]})};const ut=()=>{const[e,t]=(0,l.useState)("0%"),[a,s]=(0,l.useState)(""),[o,i]=(0,l.useState)(!1),{setDriverTip:r,subTotal:n}=(0,l.useContext)(Ue),{theme:c}=(0,l.useContext)(I.Z),d=(e,t)=>{localStorage.setItem("driverTipValue",e.toFixed(2)),t(e.toFixed(2))};(0,l.useEffect)((()=>{if(o){const e=parseFloat(a)||0;d(e,r)}else{const t=parseFloat(e)||0;d(n*(t/100)||0,r)}}),[e,o,a,n,r]);const m=e=>{t(e.target.value)};return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{children:(0,Ve.jsx)(h.Z,{className:"requestCard",children:(0,Ve.jsxs)(h.Z.Body,{className:"requestBody",children:[(0,Ve.jsxs)(h.Z.Title,{className:"requestTitle",children:["Tip your courier ? ",""]}),(0,Ve.jsxs)(h.Z.Text,{className:"tip-text",children:[" ",(0,Ve.jsx)("p",{className:"tip-subtext",children:"It\u2019s optional but a tip can brighten your courier\u2019s day"})]}),(0,Ve.jsx)("div",{className:"request-detail",children:(0,Ve.jsxs)("form",{className:"tips-form",children:[o?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("label",{className:"tip-label",children:(0,Ve.jsx)("input",{type:"text",className:"form-control",placeholder:"Enter Your Tip",value:a,onChange:e=>s(e.target.value)})})}):(0,Ve.jsx)(Ve.Fragment,{children:[{Label:"0%"},{Label:"5%"},{Label:"10%"},{Label:"15%"}].map(((t,a)=>(0,Ve.jsxs)("label",{className:e===t.Label&&"active",children:[(0,Ve.jsx)("span",{children:t.Label}),(0,Ve.jsx)("input",{type:"radio",value:t.Label,name:"tips",checked:e===t.Label,onChange:m})]},a)))}),(0,Ve.jsx)("label",{className:"label-btn",onClick:()=>{i(!o)},children:o?"Cancel":"Others"})]})})]})})})})},ht=()=>{const{setRoundedValue:e,driverTip:t,finalTotal:a}=(0,l.useContext)(Ue),s=JSON.parse(localStorage.getItem("checkRoundEnable"))||!1,[o,r]=(0,l.useState)(s),[n,c]=(0,l.useState)(!0),d=window.innerwidth;return(0,l.useEffect)((()=>{const t=()=>{const t=(Math.ceil(a)-a).toFixed(2);e(t),localStorage.setItem("roundOffPrice",t),localStorage.setItem("checkRoundEnable",!0)};n?(t(),r(!1),c(!1)):o?t():(localStorage.setItem("roundOffPrice","0"),localStorage.setItem("checkRoundEnable",!1),e("0"))}),[n,t,o,a]),(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{children:(0,Ve.jsx)(h.Z,{className:"requestCard",children:(0,Ve.jsxs)(h.Z.Body,{className:"requestBody",children:[(0,Ve.jsx)(h.Z.Title,{className:"requestTitle",children:"Donate the change"}),(0,Ve.jsx)("div",{className:"request-detail",children:(0,Ve.jsxs)("div",{className:"donate-change",children:[(0,Ve.jsx)("div",{className:"content",children:(0,Ve.jsx)(v.Z.Check,{label:" You\u2019re opted in to round up and donate to fusion kitchen fund. By checking this box you agree to the donate the change",name:"Donate",type:"checkbox",id:"Donate",checked:o,onClick:()=>{r(!o)},"data-fus":"fus-test-checkoutdonecheckbox"})}),d>767?(0,Ve.jsx)(i.rU,{to:"/myaccount/wallet-tc",children:"Learn more"}):(0,Ve.jsx)(i.rU,{to:"/wallet-tc",children:"Learn more"})]})})]})})})})},gt=e=>{const t=(0,he.I0)(),a=(0,he.v9)((e=>{var t;return null===(t=e.placeorderStatusReducer)||void 0===t?void 0:t.placeorder})),[s,o]=(0,l.useState)(!1);(0,l.useEffect)((()=>{o(a)}),[a]);const{stripe:i,elements:r,setPaymentMId:n,preOrderTimeTable:c,setPayType:d,setPaySubmit:m,paymentType:x,paySubmit:u,walletstatus:h,setCardErrorMessage:g,setPaymentSuccessShow:v,setFaildShow:A,buttonstatus:f,setButtonstatus:S,placeorder:k,payType:N,setCardStatus:I,setPaymentIntentId:w,setEstimateShow:E,setMinOrderStatus:D,minOrderStatus:B,setMinOrderMessage:P,extraStatus:F,setExtraStatus:Z,setUseWalletBalance:T,extraPayment:O,selectedValue:M,walletamount:G}=(0,l.useContext)(Ue),{getOrderMode:R}=(0,C.yM)(),V=document.querySelector(".add-card-form"),Q=localStorage.getItem("orderMinOrder")?JSON.parse(localStorage.getItem("orderMinOrder")):"",Y=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0,U=localStorage.getItem("deliverRadiousAmount")||"",[z,H]=(0,l.useState)(!0);
1if("Delivery"==R){if(Q)if(parseFloat(Y)<parseFloat(Q.deliveryMinOrder)){D(!0);let e=(Q.deliveryMinOrder-Y).toFixed(2);P("Need More \xa3".concat(e," for delivery"))}else if(parseFloat(Y)<parseFloat(U)){D(!0);let e=(U-Y).toFixed(2);P("Need More \xa3".concat(e," for delivery"))}else D(!1)}else if(Q)if(parseFloat(Y)<parseFloat(Q.collectionMinOrder)){let e=(Q.collectionMinOrder-Y).toFixed(2);P("Just \xa3".concat(e," away from enjoying pickup")),D(!0)}else D(!1);const L=localStorage.getItem("isLoggedIn"),J=localStorage.getItem("loginAddress")||"",K=localStorage.getItem("guestAddress")||"",{setAddressPopupshow:q}=(0,l.useContext)(Ue),X=e=>{if(e&&0!=e){const[t,a]=e.split(" ");let s,l,o;t.includes("/")?[s,l,o]=t.split("/"):t.includes("-")&&([o,l,s]=t.split("-"));const[i,r]=a.split(":");return new Date(o,l-1,s,i,r)}return 0},W=()=>{const e=localStorage.getItem("preOrder"),t=localStorage.getItem("orderType"),a=e||"",s="Delivery"===R?null===c||void 0===c?void 0:c.Delivery:null===c||void 0===c?void 0:c.Collection;if(a&&"0"!==a){const e=Intl.DateTimeFormat().resolvedOptions().timeZone,a=(new Date).toLocaleString("en",{timeZone:e,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),[l,o]=a.split(", "),[i,r,n]=l.split("/"),[c,d]=o.split(":"),m=r.padStart(2,"0"),p=i.padStart(2,"0"),x=parseInt(c,10),u=parseInt(d,10),h="".concat(x.toString().padStart(2,"0"),":").concat(u.toString().padStart(2,"0")),g="".concat(m,"/").concat(p,"/").concat(n),y=X(g+" "+h),v=X(localStorage.getItem("orderTime")),A=X(localStorage.getItem("preOrder")),f=""==(null===s||void 0===s?void 0:s.today)&&"ASAP"==t,j="Today"==t&&(Re()(y).format("YYYY-MM-DD")<Re()(v).format("YYYY-MM-DD")||Re()(y).format("YYYY-MM-DD")<Re()(A).format("YYYY-MM-DD")),S="Today"==t&&""==(null===s||void 0===s?void 0:s.today),k="ASAP"==t&&(y<v||y<A),b="Later"==t&&(Re()(y).format("YYYY-MM-DD")>=Re()(v).format("YYYY-MM-DD")||Re()(y).format("YYYY-MM-DD")>=Re()(A).format("YYYY-MM-DD")),N="Later"==t&&""==(null===s||void 0===s?void 0:s.later[Re()(v).format("YYYY-MM-DD")])||""==(null===s||void 0===s?void 0:s.later[Re()(A).format("YYYY-MM-DD")]);if(y>v||y>A||N||f||S||k||j||b)return!0}},_=()=>{V?V.scrollIntoView({behavior:"smooth",block:"start"}):console.error('elementScrollCard with class "add-card-form" not found.')};(0,l.useEffect)((()=>{400!==(null===k||void 0===k?void 0:k.response_code)||k.status||"saveCardPaymentIntent"===N||(v(!1),g(k.message),A(!0),S(!1),I(!1))}),[k]);const $=async e=>{let a=null;a="true"===L?J:K;if(W())E(!0);else if(a){if(S(!0),t((0,Ne.n)(!0)),e.preventDefault(),!i||!r)return;const a=null===r||void 0===r?void 0:r.getElement(p.CardNumberElement),o=null===r||void 0===r?void 0:r.getElement(p.CardExpiryElement),c=null===r||void 0===r?void 0:r.getElement(p.CardCvcElement);if(!a||!o||!c)return console.error("Stripe elements are not found"),g("Stripe elements are missing. Please try again."),_(),I(!1),A(!0),void S(!1);if(!a||!o||!c)return void console.error("Stripe elements are not found");if(!a||!o||!c)return console.error("Stripe elements are not found"),g("Stripe elements are missing. Please try again."),_(),I(!1),A(!0),void S(!1);if(!a||!o||!c)return void console.error("Stripe elements are not found");try{const{error:e,paymentMethod:a}=await i.createPaymentMethod({type:"card",card:null===r||void 0===r?void 0:r.getElement(p.CardNumberElement)});localStorage.setItem("paymentStatus","processing");try{if(e)return console.log(e),S(!1),g(e.message),_(),A(!0),S(!1),t((0,Ne.n)(!1)),I(!1),void localStorage.removeItem("paymentStatus");t((0,Ne.n)(!1)),localStorage.setItem("paymentStatus","processing"),n(a.id),H(!0),d("paymentMethodId"),m(1),localStorage.setItem("payType","paymentMethodId")}catch(s){g(k.message?k.message:s.message),I(!1),A(!0),S(!1),_(),localStorage.removeItem("paymentStatus")}}catch(l){"payment_intent_authentication_failure"===l.code||"rate_limit"===l.code?(g("Your card was declined due to authentication failure or rate limit. Please try again later."),S(!1),I(!1),S(!1),_()):(g("An error occurred. Please try again."),I(!1),S(!1),_()),g("An error occurred. Please try again"),I(!1),S(!1),_()}}else q(!0)};(0,l.useEffect)((()=>{const e=new URLSearchParams(window.location.search),t=e.get("payment_intent"),a=e.get("redirect_status");console.log("klarnaPaymentIntent"),console.log(t);const s=localStorage.getItem("isPaypalKlarna");
1console.log("checkPaypalklarna"),console.log(s),"succeeded"===a&&("1"===s?(w(t),d("klarnaOrderPlaced"),m(10)):"0"===s&&(console.log(u),w(t),d("PaypalIntent"),m(14),console.log(u)))}),[]),(0,l.useEffect)((()=>{console.log(B)}),[B]);const ee=localStorage.getItem("deliverRadiousAmount")||"";(0,l.useEffect)((()=>{let e;if("Delivery"===R){const t=localStorage.getItem("orderMinOrder")?JSON.parse(localStorage.getItem("orderMinOrder")):"",a=localStorage.getItem("totalPrice")?localStorage.getItem("totalPrice"):0;if(ee&&null!==ee){e=Math.max(a,ee)}else{e=Math.max(a,t.deliveryMinOrder)}parseFloat(a)<parseFloat(e)&&D(!0)}}),[ee,R]);const te=e=>{e.target.checked?(console.log("Checkbox is checked, extra amount applied"),T(!0),Z(!0)):(T(!1),Z(!1),console.log("Checkbox is unchecked"))},ae=window.innerWidth;return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)(b.$t,{}),f?(0,Ve.jsx)(St,{setButtonstatus:S,show:z}):"",s?(0,Ve.jsx)(Ve.Fragment,{}):(0,Ve.jsxs)(Ve.Fragment,{children:[O&&ae>767&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"extraAmountDiv",children:G>0&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("input",{type:"checkbox",value:"extraAmount",onChange:te,className:"checkwallet"}),(0,Ve.jsxs)("label",{className:"ml-2",style:{margin:"7px",fontSize:"15px",fontFamily:'"Geist-Regular", sans-serif'},onChange:te,children:["Pay \xa3",G," from wallet"," "]})]})})}),1==x?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(j.Z,{variant:"secondary",onClick:$,disabled:!!((f||B)&&F||f||B),"data-fus":"fus-test-placeorderbtn",children:f?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+R+" order"})}):14==x?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(j.Z,{variant:"secondary",onClick:async e=>{e.preventDefault();W()?E(!0):(m(14),S(!0),H(!0),localStorage.setItem("isPaypalKlarna",0))},disabled:!(!f&&!B),"data-fus":"fus-test-placeorderpaypalbtn",children:f?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place order with paypal"})}):9!=x||O?0==x?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(j.Z,{variant:"secondary",onClick:async e=>{e.preventDefault();W()?E(!0):(S(!0),H(!0),m(1)),localStorage.setItem("payType","cash")},disabled:!!B,"data-fus":"fus-test-placeordercashbtn",children:f?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+R+" order"})}):10==x?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(j.Z,{variant:"secondary",onClick:async e=>{e.preventDefault();W()?E(!0):(d("klarnaIntent"),m(10),H(!0),S(!0),localStorage.setItem("isPaypalKlarna",1))},disabled:!(!f&&!B),"data-fus":"fus-test-placeorderklarnabtn",children:f?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place  klarna order"})}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(j.Z,{variant:"secondary",onClick:$,disabled:!!B,"data-fus":"fus-test-placeordertbtn",children:["Place ",R," order"]})}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)(j.Z,{variant:"secondary",onClick:async e=>{e.preventDefault();W()?E(!0):(S(!0),H(!0),m(9)),localStorage.setItem("payType","wallet")},disabled:0==h,"data-fus":"fus-test-placeorderwalletbtn",children:f||B?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+R+" order"})})]})]})},yt=async e=>{try{return(await(0,Fe.O)(e)).data}catch(t){throw console.log(t),t}},vt=()=>{const{deliveryCharge:e,bagCharge:t,clientFkCharge:a,Vat:s,setFinalTotal:i,currency_symbol:r}=ze(),{finalTotalValue:n,setFinalTotalValue:d,walletamount:m,clientName:p,clientLogo:x,itemAvailableData:u,useWalletBalance:g,extraPayment:y,polling:v}=(0,l.useContext)(Ue),{getOrderMode:A,getOrderTime:j}=(0,C.yM)(),[S,k]=(0,l.useState)(window.innerWidth),{path:b}=(0,o.UO)(),N=(0,o.s0)(),[I,w]=(0,l.useState)(!1),E=(0,l.useRef)(A);(0,l.useEffect)((()=>{if(E.current!==A){E.current=A,w(!0);const e=setTimeout((()=>w(!1)),800);return()=>clearTimeout(e)}}),[A]);const D=localStorage.getItem("totalPrice"),B=localStorage.getItem("roundOffPrice"),P=localStorage.getItem("driverTipValue")?localStorage.getItem("driverTipValue"):"0",[F,Z]=(0,l.useState)(""),[T,O]=(0,l.useState)([]),[G,R]=(0,l.useState)(""),[V,Q]=(0,l.useState)(!0),[Y,U]=(0,l.useState)(""),z=localStorage.getItem("isLoggedIn")||"",H=j,[L,J]=(0,l.useState)(!1),[K,q]=(0,l.useState)(!1),[X,W]=(0,l.useState)(!1),[_,$]=(0,l.useState)(!1),[ee,te]=(0,l.useState)(!1),[ae,se]=(0,l.useState)(0),[le,ie]=(0,l.useState)(0);(0,l.useEffect)((()=>{const e=JSON.parse(localStorage.getItem("userData"));U(null!==e&&"true"===z?e:"")}),[z]);
1const re=localStorage.getItem("discount"),ne="Collection"===A?1:0;(0,l.useEffect)((()=>{const l=re?JSON.parse(re):"";Z(l);const o=parseFloat(D)*s/100;console.log(o),ie(o);let r=parseFloat(D)+parseFloat(o)+parseFloat(e)+parseFloat(t)+parseFloat(a)+parseFloat(P);""===F||(null===F||void 0===F?void 0:F.orderType)!==ne&&"2"!==(null===F||void 0===F?void 0:F.orderType)||null!==l&&void 0!==l&&l.appliedDiscount&&(r-=parseFloat(l.appliedDiscount)),"voucherDiscount"==(null===l||void 0===l?void 0:l.source)&&R((null===l||void 0===l?void 0:l.discount)||""),"SubscriptionCoupon"==(null===l||void 0===l?void 0:l.source)&&(R((null===l||void 0===l?void 0:l.discount)||""),$(!0)),se((null===l||void 0===l?void 0:l.appliedDiscount)||0),localStorage.setItem("finalTotal",r.toFixed(2)),i(r.toFixed(2)),d((parseFloat(r)+parseFloat(B)).toFixed(2)),localStorage.setItem("finalTotalValue",(parseFloat(r)+parseFloat(B)).toFixed(2))}),[D,F,e,t,a,s,P,B,re,g,v]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];O(e)}),[localStorage.getItem("cart")]);const ce=()=>{N("/".concat(b,"/menu"))},de=((0,l.useMemo)((()=>{const e=localStorage.getItem("orderTime")||"";let t="",a="",s="";if(e){let l=e;if(l.includes("/")){t=l.split(" ")[0].split("/"),a=l.split(" ")[1];const e=new Date("".concat(t[2],"-").concat(t[1],"-").concat(t[0],"T").concat(a)),o=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0");s="".concat(o,"-").concat(i,"-").concat(r," ").concat(n,":").concat(c)}else s=e}return{customerId:Y.customerId,clientPath:b,orderTime:s,voucherCode:G||""}}),[b,H,Y,G]),localStorage.getItem("clientName")),[me,pe]=(0,l.useState)(!1),[xe,ue]=(0,l.useState)(!1);return(0,Ve.jsx)(Ve.Fragment,{children:S>767?(0,Ve.jsxs)(h.Z,{className:"fus-payment-card",style:{borderColor:"#fff",borderRadius:"15px",padding:"10px",position:"relative"},children:[I&&(0,Ve.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:5,background:"#fff",borderRadius:"15px",padding:"20px"},children:[(0,Ve.jsx)(c.Z,{height:24,width:"60%",style:{marginBottom:"15px"}}),(0,Ve.jsx)(c.Z,{height:18,count:3,style:{marginBottom:"10px"}}),(0,Ve.jsx)(c.Z,{height:1,style:{marginBottom:"15px"}}),(0,Ve.jsx)(c.Z,{height:18,count:3,style:{marginBottom:"10px"}}),(0,Ve.jsx)(c.Z,{height:30,style:{marginTop:"15px"}})]}),(0,Ve.jsxs)(h.Z.Body,{children:[(0,Ve.jsx)(h.Z.Title,{className:"fus-bill-title fus-order-summary-title",children:(0,Ve.jsx)("h5",{className:"fus-order-summary-title-text",style:{marginTop:"5px"},children:"Order summary"})}),(0,Ve.jsxs)("div",{className:"clientnamemodalopen",children:[(0,Ve.jsx)("h5",{children:de}),(0,Ve.jsx)("h5",{className:"clickheretext",onClick:ce,children:"Add more"})]}),(0,Ve.jsx)("div",{className:"order-summary-scroll",children:T&&Array.isArray(T)&&T.filter((e=>!Array.isArray(u)||u.some((t=>t.itemId===e.itemId)))).map(((e,t)=>{var a,s;return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"fus-order-summary",children:[(0,Ve.jsxs)(h.Z.Text,{className:"fus-order-summary-count",children:[e.count," x"]}),(0,Ve.jsxs)(h.Z.Text,{className:"fus-order-summary-text",children:[null!==e&&void 0!==e&&null!==(a=e.itemName)&&void 0!==a&&a.split("&#")[0]?null===e||void 0===e||null===(s=e.itemName)||void 0===s?void 0:s.split("&#")[0]:e.itemName,e.addonName&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("br",{}),(0,Ve.jsx)("span",{className:"fus-order-summary-desc",children:e.addonName})]}),(0,Ve.jsx)("br",{}),"Collection"===A?e.collection_available&&(0,Ve.jsx)("span",{style:{fontSize:"10px",color:"#f00",backgroundColor:"#fff2f2",marginLeft:"10px",fontFamily:"SegoeUI",padding:"4px 10px"},children:"Collection Not Available"}):e.delivery_available&&(0,Ve.jsx)("span",{style:{fontSize:"10px",color:"#f00",backgroundColor:"#fff2f2",marginLeft:"10px",fontFamily:"SegoeUI",padding:"4px 10px"},children:"Delivery Not Available"})]}),(0,Ve.jsxs)(h.Z.Text,{className:"fus-order-summary-price",children:[r,e.price]})]},t)})}))})]}),(0,Ve.jsxs)(h.Z.Body,{children:[(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Sub total"}),(0,Ve.jsxs)("p",{children:[r,D]})]}),(0,Ve.jsx)(h.Z.Text,{className:"fus-bill-text",children:0!==s&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("p",{children:["vat(",s,"%)"]}),(0,Ve.jsxs)("p",{children:[r,le.toFixed(2)]})]})}),a&&(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Service charge"}),(0,Ve.jsxs)("p",{children:[r,a]})]}),"Delivery"===A&&"0.00"!=e&&"0"!=e?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Delivery charge"}),(0,Ve.jsxs)("p",{children:[r,e]})]})}):null,"0"!==B&&"0.00"!==B?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Round up"}),(0,Ve.jsxs)("p",{children:[r,B]})]})}):null,t&&(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Bag charge"}),(0,Ve.jsxs)("p",{children:[r,t]})]}),"0"!==P&&"0.00"!==P&&(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Delivery"===A?"Driver tip":"Donation"}),(0,Ve.jsxs)("p",{children:[r,P]})]}),""===F||(null===F||void 0===F?void 0:F.orderType)!==ne&&"2"!==(null===F||void 0===F?void 0:F.orderType)||0===ae?null:(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"Discount"}),(0,Ve.jsxs)("p",{children:["-\xa3",ae]})]}),y&&g&&m>0?(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-text",children:[(0,Ve.jsx)("p",{children:"wallet cash"}),(0,Ve.jsxs)("p",{children:["-\xa3",m]})]}):null,(0,Ve.jsxs)(h.Z.Title,{className:"fus-bill-total",children:[(0,Ve.jsx)("h3",{children:"Total"}),(0,Ve.jsxs)("h3",{children:[r,n]})]}),(0,Ve.jsxs)("p",{className:"byclicktext",children:['By clicking on "Order and pay" you agree with the contents of the shopping cart, the data you filled out, our'," ",(0,Ve.jsx)("a",{href:"/privacy",target:"_blank",rel:"noopener noreferrer",style:{color:"#007bff"},children:"privacy statement"})," ","and"," ",(0,Ve.jsx)("a",{href:"/terms",target:"_blank",rel:"noopener noreferrer",style:{color:"#007bff"},children:"terms of use"}),"."]}),(0,Ve.jsx)("div",{className:"fus-payment-btn",children:(0,Ve.jsx)(gt,{walletamount:m,finalTotalValue:n})})]})]}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("div",{class:" d-block d-sm-none bill-container ",style:{position:"relative"},children:[I&&(0,Ve.jsx)("div",{style:{position:"absolute",inset:0,zIndex:5,background:"#fff",display:"flex",alignItems:"center",padding:"0 15px"},children:(0,Ve.jsx)(c.Z,{height:20,width:"100%"})}),(0,Ve.jsxs)("div",{class:"bill-info",onClick:()=>ue(!0),children:[(0,Ve.jsxs)("div",{className:"bill-ptagdiv",children:[(0,Ve.jsxs)("p",{class:"bill-title",children:["Total Bill",""===F||(null===F||void 0===F?void 0:F.orderType)!==ne&&"2"!==(null===F||void 0===F?void 0:F.orderType)||0===ae?null:(0,Ve.jsxs)("span",{className:"original-price",children:[r," ",(Number(ae)+Number(n)).toFixed(1)]}),(0,Ve.jsxs)("span",{class:"final-price",children:[r,n]})]})," ",(0,Ve.jsx)(oe.jfD,{className:"arrowiconbill"})]}),""===F||(null===F||void 0===F?void 0:F.orderType)!==ne&&"2"!==(null===F||void 0===F?void 0:F.orderType)||0===ae?null:(0,Ve.jsx)("div",{class:"savings",children:(0,Ve.jsxs)("p",{children:["You saved"," ",(0,Ve.jsxs)("span",{style:{fontWeight:"600"},children:[r," ",ae]})," "]})})]}),(0,Ve.jsx)(f.Z,{show:xe,centered:!1,backdrop:"static",id:"bottom-sheet-modal",style:{height:"auto"},children:(0,Ve.jsx)(f.Z.Body,{className:"order-summary-modalbillsummary",style:{height:"auto "},children:(0,Ve.jsxs)("div",{style:{height:"auto"},children:[(0,Ve.jsxs)("h4",{className:"modal-titletext",children:["Order summary"," ",(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>ue(!1)})]}),(0,Ve.jsxs)("div",{className:"modaldivsummary",style:{height:"auto"},children:[(0,Ve.jsx)("div",{className:"order-summary-scrollbill",children:T&&Array.isArray(T)&&T.filter((e=>!Array.isArray(u)||u.some((t=>t.itemId===e.itemId)))).map(((e,t)=>{var a,s;return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"fus-order-summarycheck",children:[(0,Ve.jsxs)("span",{className:"fus-order-checkcount",children:[e.count," x"]}),(0,Ve.jsxs)("span",{className:"fus-orderchecktext",children:[null!==e&&void 0!==e&&null!==(a=e.itemName)&&void 0!==a&&a.split("&#")[0]?null===e||void 0===e||null===(s=e.itemName)||void 0===s?void 0:s.split("&#")[0]:e.itemName,e.addonName&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("br",{}),(0,Ve.jsx)("span",{className:"fus-order-summary-desc",children:e.addonName})]}),(0,Ve.jsx)("br",{}),"Collection"===A?e.collection_available&&(0,Ve.jsx)("span",{style:{fontSize:"10px",color:"#f00",backgroundColor:"#fff2f2",marginLeft:"10px",fontFamily:"SegoeUI",padding:"4px 10px"},children:"Collection Not Available"}):e.delivery_available&&(0,Ve.jsx)("span",{style:{fontSize:"10px",color:"#f00",backgroundColor:"#fff2f2",marginLeft:"10px",fontFamily:"SegoeUI",padding:"4px 10px"},children:"Delivery Not Available"})]}),(0,Ve.jsxs)("span",{className:"fus-ordercheckprice",children:[r,e.price]})]},t)})}))}),(0,Ve.jsx)("p",{className:"clickheretextmobile",onClick:ce,children:"Add more"}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Sub total"}),(0,Ve.jsxs)("p",{children:[r,D]})]}),(0,Ve.jsx)(h.Z.Text,{className:"fus-bill-textmobile",children:0!==s&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)("p",{children:["vat(",s,"%)"]}),(0,Ve.jsxs)("p",{children:[r,le.toFixed(2)]})]})}),a&&(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Service charge"}),(0,Ve.jsxs)("p",{children:[r,a]})]}),"Delivery"===A&&"0.00"!=e&&"0"!=e?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Delivery charge"}),(0,Ve.jsxs)("p",{children:[r,e]})]})}):null,"0"!==B&&"0.00"!==B?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Round up"}),(0,Ve.jsxs)("p",{children:[r,B]})]})}):null,t&&(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Bag charge"}),(0,Ve.jsxs)("p",{children:[r,t]})]}),"0"!==P&&"0.00"!==P&&(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Delivery"===A?"Driver tip":"Donation"}),(0,Ve.jsxs)("p",{children:[r,P]})]}),""===F||(null===F||void 0===F?void 0:F.orderType)!==ne&&"2"!==(null===F||void 0===F?void 0:F.orderType)||0===ae?null:(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"Discount"}),(0,Ve.jsxs)("p",{children:["-\xa3",ae]})]}),y&&g&&m>0?(0,Ve.jsxs)(h.Z.Text,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("p",{children:"wallet Cash"}),(0,Ve.jsxs)("p",{children:["-\xa3",m]})]}):null,(0,Ve.jsxs)(h.Z.Title,{className:"fus-bill-textmobile",children:[(0,Ve.jsx)("h3",{children:"Total"}),(0,Ve.jsxs)("h3",{children:[r,n]})]}),""===F||(null===F||void 0===F?void 0:F.orderType)!==ne&&"2"!==(null===F||void 0===F?void 0:F.orderType)||0===ae?null:(0,Ve.jsxs)("p",{className:"savedpoundsname",children:["You saved"," ",(0,Ve.jsxs)("span",{style:{fontWeight:"600"},children:[" ",r," ",ae]})," "]})]})]})})})]}),(0,Ve.jsx)("p",{className:"ptagmobilelast",children:"By clicking on order and pay you agree with the content of the order , the data you filled out, our privacy statement and terms of use"})]})})},At=()=>{var e;const{getOrderMode:t}=(0,C.yM)(),a=(0,he.I0)(),s=(0,p.useStripe)(),i=(0,p.useElements)(),{deliveryCharge:r,bagCharge:n,clientFkCharge:c,Vat:d,setFinalTotal:m,clientSecret:x}=ze(),{setPaymentMId:u,setPayType:h,setPaySubmit:g,paymentType:v,walletstatus:A,cashtype:f,setCardErrorMessage:j,buttonstatus:S,setButtonstatus:k,finalTotalValue:b,setFinalTotalValue:N,paymentRequest:w,setApplepayGpayBtnStatus:E,setPaymentRequest:T,setGpaySubmit:O,setPaymentType:M,footerBtn:G,setSavecardPay:R,savecardPay:V,setFooterBtn:Q,scrollToSection:Y,paymentSuccessShow:U,selectedValue:z,setPaymentModalShow:H,paysaveCard:L,handlesavecardPayment:J,CARD_OPTIONS1:K,containerStyle:q,saveCardError:X,setSaveCardError:$,
1walletamount:te,googlepaytype:ae,applepaytype:se,paypalType:oe,klarnaType:ie,cardtype:re,setEstimateShow:ce,minOrderStatus:de,setUseWalletBalance:me,setExtraStatus:pe,extraPayment:xe,extraPayStatus:ue,extraLessAmount:ge,useWalletBalance:ye,preOrderTimeTable:ve}=(0,l.useContext)(Ue),{theme:Ae}=(0,l.useContext)(I.Z),[fe,je]=(0,l.useState)(""),[Se,ke]=(0,l.useState)(""),[be,Ce]=(0,l.useState)(!1),[Ie,we]=(0,l.useState)(""),Ee=localStorage.getItem("totalPrice"),De=localStorage.getItem("roundOffPrice"),Be=localStorage.getItem("driverTipValue")?localStorage.getItem("driverTipValue"):"0",Pe=localStorage.getItem("isLoggedIn"),Fe=localStorage.getItem("loginAddress")||"",Ze=localStorage.getItem("guestAddress")||"",Te=localStorage.getItem("guestAddress"),{setAddressPopupshow:Oe}=(0,l.useContext)(Ue),Me=(0,o.s0)();(0,l.useEffect)((()=>{var e;if(!s||!i)return;const t=(null===(e=localStorage)||void 0===e?void 0:e.getItem("finalTotalValue"))||0,a=null===Math||void 0===Math?void 0:Math.round(100*t),l=null!=ge&&ye?Math.round(100*ge):null,o=localStorage.getItem("currencyName");let r;switch(o){case"USD":default:r="US";break;case"INR":r="IN";break;case"GBP":r="GB";break;case"EUR":r="FR"}if(s&&a)try{const e=null===s||void 0===s?void 0:s.paymentRequest({country:r,currency:null===o||void 0===o?void 0:o.toLowerCase(),total:{label:"FK",amount:l||a},requestPayerName:!0,requestPayerEmail:!0});e.canMakePayment().then((t=>{console.log(t),t?(T(e),e.on("paymentmethod",(async e=>{u(e.paymentMethod.id),h("applePayGooglePayPaymentMethodId"),O(1),M(8);try{const{paymentIntent:t,error:a}=await s.confirmCardPayment(x,{payment_method:e.paymentMethod.id},{handleActions:!1});if(a)return we("Payment confirmation error"),void e.complete("fail");if("requires_action"===t.status){const{error:t}=await s.confirmCardPayment(x);if(t)return e.complete("fail"),void we("Payment actionError error");U(!0),we("Payment succeeded"),Me("/orderstatus"),e.complete("success")}"succeeded"===t.status&&(U(!0),we("Payment succeeded"),Me("/orderstatus"),e.complete("success"))}catch(t){e.complete("fail")}})),E(1)):console.log("Payment cannot be made.")})).catch((e=>{}))}catch(n){console.error("Error checking if payment can be made:",n)}}),[s,i,b,ge,ye]),(0,l.useEffect)((()=>{Ce(!0)}),[]),(0,l.useEffect)((()=>{let e;return w?(clearTimeout(e),Ce(!1)):(Ce(!0),e=setTimeout((()=>{Ce(!1)}),3e3)),()=>{clearTimeout(e)}}),[w]),(0,l.useEffect)((()=>{const e=localStorage.getItem("discount"),t=e?JSON.parse(e):"";je(t)}),[Se]),(0,l.useEffect)((()=>{const e=localStorage.getItem("discount"),a=e?JSON.parse(e):"",s="Collection"===t?1:0,l=parseFloat(Ee)*d/100;console.log(l);let o=parseFloat(Ee)+parseFloat(l)+parseFloat(r)+parseFloat(n)+parseFloat(c)+parseFloat(Be);null===a||void 0===a||!a.appliedDiscount||(null===a||void 0===a?void 0:a.orderType)!==s&&2!==(null===a||void 0===a?void 0:a.orderType)||(o-=parseFloat(a.appliedDiscount)),localStorage.setItem("finalTotal",o.toFixed(2)),m(o.toFixed(2)),N((parseFloat(o)+parseFloat(De)).toFixed(2)),localStorage.setItem("finalTotalValue",(parseFloat(o)+parseFloat(De)).toFixed(2))}),[Ee,fe,r,n,c,d,Be,De]);const[Ge,Qe]=(0,l.useState)(void 0),[Ye,He]=(0,l.useState)([]);(0,l.useEffect)((()=>{const e=()=>{var e;const t=document.querySelector(".cart-page");Qe(null===t||void 0===t||null===(e=t.getBoundingClientRect())||void 0===e?void 0:e.top)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),(0,l.useEffect)((()=>{const e=e=>{const t=document.querySelector(".cart-page"),a=window.scrollY;t.classList.toggle("is-sticky",a>=Ge-96)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[Ge]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];He(e)}),[localStorage.getItem("cart")]);const Le=(0,he.v9)((e=>e.placeorderStatusReducer.placeorder)),[Je,Ke]=(0,l.useState)(!1);(0,l.useEffect)((()=>{Ke(Le)}),[Le]);const qe=e=>{if(e&&0!=e){const[t,a]=e.split(" ");let s,l,o;t.includes("/")?[s,l,o]=t.split("/"):t.includes("-")&&([o,l,s]=t.split("-"));const[i,r]=a.split(":");return new Date(o,l-1,s,i,r)}return 0},Xe=()=>{const e=localStorage.getItem("preOrder"),a=localStorage.getItem("orderType"),s="Delivery"===t?null===ve||void 0===ve?void 0:ve.Delivery:null===ve||void 0===ve?void 0:ve.Collection,l=e||"";if(l&&"0"!==l){const e=Intl.DateTimeFormat().resolvedOptions().timeZone,t=(new Date).toLocaleStr
1ing("en",{timeZone:e,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),[l,o]=t.split(", "),[i,r,n]=l.split("/"),[c,d]=o.split(":"),m=r.padStart(2,"0"),p=i.padStart(2,"0"),x=parseInt(c,10),u=parseInt(d,10),h="".concat(x.toString().padStart(2,"0"),":").concat(u.toString().padStart(2,"0")),g="".concat(m,"/").concat(p,"/").concat(n),y=qe(g+" "+h),v=qe(localStorage.getItem("orderTime")),A=qe(localStorage.getItem("preOrder")),f=""==(null===s||void 0===s?void 0:s.today)&&"ASAP"==a,j="Today"==a&&(Re()(y).format("YYYY-MM-DD")<Re()(v).format("YYYY-MM-DD")||Re()(y).format("YYYY-MM-DD")<Re()(A).format("YYYY-MM-DD")),S="Today"==a&&""==(null===s||void 0===s?void 0:s.today),k="ASAP"==a&&(y<v||y<A),b="Later"==a&&(Re()(y).format("YYYY-MM-DD")>=Re()(v).format("YYYY-MM-DD")||Re()(y).format("YYYY-MM-DD")>=Re()(A).format("YYYY-MM-DD")),N="Later"==a&&""==(null===s||void 0===s?void 0:s.later[Re()(v).format("YYYY-MM-DD")])||""==(null===s||void 0===s?void 0:s.later[Re()(A).format("YYYY-MM-DD")]);if(y>v||y>A||N||f||S||k||j||b)return!0}},We=async e=>{e.preventDefault();Xe()?ce(!0):(k(!0),g(9))},[_e,$e]=(0,l.useState)(window.innerWidth);(0,l.useEffect)((()=>{const e=()=>$e(window.innerWidth);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const et={paymentRequest:w,style:{paymentRequestButton:{type:"default",theme:"dark",height:"40px",borderRadius:"10px",margin:"25px"}}},tt=null===(e=document.querySelector(".order-place"))||void 0===e?void 0:e.offsetHeight,at=()=>{H(!0)},st=e=>{e.complete&&R(1),$(null),k(!1)},lt=Xe(),ot=e=>{e.target.checked?(console.log("Checkbox is checked, extra amount applied"),me(!0),pe(!0)):(me(!1),pe(!1),console.log("Checkbox is unchecked"))};return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"cart-page",name:"cart-canva-btn-heading",children:[(0,Ve.jsx)("div",{className:"order-duplicate",style:{height:tt}}),(0,Ve.jsx)("div",{className:"order-place pb-4",children:_e<=767&&!Je?(0,Ve.jsxs)(Ve.Fragment,{children:[xe&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:te>0?"extraAmountDiv":"",style:{marginLeft:"15px",marginTop:"5px"},children:te>0&&(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("input",{type:"checkbox",value:"extraAmount",onChange:ot,className:"checkwallet"}),(0,Ve.jsxs)("label",{className:"ml-2",style:{margin:"7px",fontSize:"15px",fontFamily:'"Geist-Regular", sans-serif'},onChange:ot,children:["Pay \xa3",te," from wallet"," "]})]})})}),(0,Ve.jsxs)("div",{className:"total-price",children:["google-pay"===z&&ae?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:D,alt:"gpayicon",style:{height:"35px"}})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"pay"})]})]}):"apple-pay"===z&&se?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:"dark"===Ae?F:P.Z,style:{height:"35px"},alt:"applepayicon"})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"pay"})]})]}):"paypal"===z&&oe?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:B.Z,alt:"paypallogo"})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"PayPal"})]})]}):"klarna"===z&&ie?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:Z,alt:"klarnapay",style:{height:"30px"}})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"Klarna"})]})]}):"cardimg1"===z&&re?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:le,alt:"cardimage",style:{height:"35px"}})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"Card"})]})]})}
1):"cashimg"===z&&f?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:_,alt:"cashimage",style:{height:"30px"}})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"Cash"})]})]})}):"savedcard"===z&&re?(0,Ve.jsx)(Ve.Fragment,{children:L?(0,Ve.jsx)(Ve.Fragment,{children:null===L||void 0===L?void 0:L.map(((e,t)=>(0,Ve.jsx)(Ve.Fragment,{children:"1"===(null===e||void 0===e?void 0:e.primary)?(0,Ve.jsxs)("div",{style:{width:"100%"},children:[(0,Ve.jsx)("div",{className:"selected-tab  gap-2",children:(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("div",{className:"elementDiv d-flex",children:[(0,Ve.jsx)("div",{className:"creditcardui   gap-2",children:(0,Ve.jsx)("img",{src:null===e||void 0===e?void 0:e.brand,alt:"savedcard",style:{height:"40px"}})}),(0,Ve.jsxs)("div",{className:"creditcarduichild",style:{width:"50%",marginLeft:"15px"},children:[(0,Ve.jsx)("p",{style:{margin:"0px"},children:null===e||void 0===e?void 0:e.card}),(0,Ve.jsx)("div",{className:"mt-3",children:(0,Ve.jsx)("div",{style:q,children:0===V&&(0,Ve.jsx)(p.CardCvcElement,{options:K,onChange:st})})})]})]}),X?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("span",{style:{color:"red"},children:X})}):ne.xhZ]})}),(0,Ve.jsx)("button",{className:"col-sm-12",disabled:!(!S&&!de),onClick:()=>J(e.paymentMethodId),children:S&&!X?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Pay"})]},t):null})))}):null}):"cashimg"===z&&f?(0,Ve.jsx)("p",{onClick:at,className:"change",children:"Select Payment method"}):""!==Te&&"wallet"===z?"true"===Pe?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-2",children:[(0,Ve.jsx)("div",{className:"new-fus",style:{border:"1px solid #9ee86f",padding:"10px",borderRadius:"10px"},children:(0,Ve.jsx)("img",{src:"dark"===Ae?ee:W,alt:"cardicon",style:{height:"30px"}})}),(0,Ve.jsxs)("div",{children:[(0,Ve.jsxs)("span",{style:{fontWeight:"500",color:"#00000"},children:["Pay using"," "]}),(0,Ve.jsx)("p",{className:"paytype",children:"Wallet"})]})]}):null:(0,Ve.jsx)(Ve.Fragment,{}),z&&z?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{style:{textAlign:"center"},children:(0,Ve.jsx)("div",{className:"total-pricechild d-block d-sm-none",children:(0,Ve.jsx)("p",{onClick:at,children:" Change"})})})}):null]}),1==v&&"savedcard"!==z&&"wallet"!==z&&re?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"total-pricechild"}),(0,Ve.jsx)("button",{disabled:!!G||!(!S&&!de),onClick:async()=>{let e=null;e="true"===Pe?Fe:Ze;if(Xe())ce(!0);else if(e){if(k(!0),a((0,Ne.n)(!0)),!s||!i)return;const{error:e,paymentMethod:t}=await s.createPaymentMethod({type:"card",card:i.getElement(p.CardExpiryElement,p.CardNumberElement,p.CardCvcElement)});if(e)return Y(),Q(!0),console.log(e),j(e.message),a((0,Ne.n)(!1)),void k(!1);{if(k(!0),a((0,Ne.n)(!0)),!s||!i)return;const{error:e,paymentMethod:t}=await s.createPaymentMethod({type:"card",card:i.getElement(p.CardExpiryElement,p.CardNumberElement,p.CardCvcElement)});if(e)return Y(),Q(!0),console.log(e),j(e.message),a((0,Ne.n)(!1)),void k(!1);u(t.id),h("paymentMethodId"),g(1)}}else Oe(!0)},children:S?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+t+" order"})]}):14==v&&oe?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"total-pricechild"}),(0,Ve.jsx)("div",{style:{display:"flex"},children:(0,Ve.jsx)("button",{onClick:async e=>{e.preventDefault();Xe()?ce(!0):(g(14),k(!0))},disabled:!(!S&&!de),children:S?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place  order with paypal"})})]}):9==v&&re&&ue?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("p",{className:"mt-2",style:{paddingLeft:"30px"},children:1==A?(0,Ve.jsxs)(Ve.Fragment,{children:["Available Balance: ",te]}):(0,Ve.jsxs)(Ve.Fragment,{children:["Insufficient Balance in Your Wallet:",te]})}),(0,Ve.jsx)("div",{className:"total-pricechild"}),(0,Ve.jsx)("div",{style:{display:"flex"},children:(0,Ve.jsx)("button",{onClick:We,disabled:0==A,children:S?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+t+" order"})})]}):10==v&&ie?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"payment-btn",children:(0,Ve.jsx)("div",{style:{display:"flex"},children:(0,Ve.jsx)("button",{onClick:async e=>{e.preventDefault();Xe()?ce(!0):(h("klarnaIntent"),g(10),k(!0))},disabled:!!de,children:S?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place  order with klarna"})})})}):8==v&&ae||7==v&&se?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"payment-btn",style:{display:"flex"},children:(0,Ve.jsx)("div",{style:{width:"100%",marginTop:"20px"},children:w?(0,Ve.jsx)(Ve.Fragment,{children:lt?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("button",{onClick:async e=>{ce(!0)},children:"Proceed"})}):!de&&(0,Ve.jsx)(p.PaymentRequestButtonElement,{options:et,onClick:async()=>{try{if(w){await w.show()}}catch(e){}}})}):(0,Ve.jsx)(Ve.Fragment,{children:be?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"spinner-container",style:{alignItems:"center"},children:(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"})})}):(0,Ve.jsx)(Ve.Fragment,{children:8===v?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{children:"Sorry, Google Pay is not available on your device"})}):7===v?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{children:"Sorry, Apple Pay is not available on your device"})}):(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{children:"Something Went Wrong"})})})})})})}):9==v&&re?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{style:{display:"flex"},children:(0,Ve.jsx)("button",{className:"order-btn",onClick:We,disabled:0==A,children:S?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+t+" order"})})}):0==v&&f?(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"total-pricechild mt-2"}),(0,Ve.jsx)("div",{style:{display:"flex"},children:(0,Ve.jsx)("button",{onClick:async e=>{e.preventDefault();Xe()?ce(!0):(k(!0),g(1))},disabled:!!de,children:S?(0,Ve.jsx)(y.Z,{animation:"border",size:"sm",variant:"success"}):"Place "+t+" order"})})]}):(0,Ve.jsx)(Ve.Fragment,{})]}):(0,Ve.jsx)(Ve.Fragment,{})})]})})},ft=()=>{var e,t;JSON.parse(localStorage.getItem("userData"));const{theme:a}=(0,l.useContext)(I.Z),{getOrderMode:s,getOrderTime:o}=(0,C.yM)(),{deliveryCharge:i,bagCharge:r,clientFkCharge:n,Vat:c,setFinalTotal:h,currency_symbol:g}=ze(),{stripepayment:j,stripe:S,elements:k,setPayType:b,paymentSva:w,setPaymentSva:E,paymentMId:T,setPaymentMId:O,setPaymentIntentId:G,setPaymentType:V,setPaySubmit:H,paySubmit:K,clientSecret:q,setClientSecret:X,payPalClientSecret:$,svclientSecret:te,setSvpaySubmit:ae,svpaySubmit:se,walletstatus:ie,setWalletstatus:re,walletamount:ne,setWalletamount:ce,setCardErrorMessage:de,cardErrorMessage:me,finalTotalValue:pe,selectedValue:xe,setSelectedValue:ue,paymentOptions:ge,cardtype:ye,setCardtype:ve,setPaypalType:fe,paypalType:je,applepaytype:Se,setApplepaytype:ke,googlepaytype:be,setGooglepaytype:Ce,klarnaType:Ie,setKlarnaType:we,setFooterBtn:Ee,sectionRef:De,buttonstatus:Be,setButtonstatus:Pe,setPaymentModalShow:Fe,paymentModalShow:Ze,gpaydeviceInfo:Te,appledeviceInfo:Oe,setPaySaveCard:Me,handlesavecardPayment:Ge,CARD_OPTIONS1:Re,containerStyle:Qe,setSaveCardError:Ye,setCardStatus:He,paySpinner:Le,cashtype:Je,setCashtype:Ke,setExtraLe
1ssAmount:qe,extraPayment:Xe,setExtraPayment:We,setExtraPayStatus:_e,setUseWalletBalance:$e,setFinalTotalValue:et,clientName:tt,clientLogo:at,itemAvailableData:st,useWalletBalance:lt,polling:ot}=(0,l.useContext)(Ue),[it,rt]=((0,l.useRef)(null),(0,l.useState)("add-card")),[nt,ct]=(0,l.useState)(0),[dt,mt]=(0,l.useState)(!1),[pt,xt]=(0,l.useState)(""),[ut,ht]=(0,l.useState)(!1),[yt,vt]=(0,l.useState)(!0),[At,ft]=(0,l.useState)(!1),[jt,St]=(0,l.useState)(!1),[kt,bt]=(0,l.useState)(!1),[Nt,Ct]=(0,l.useState)(!1),[It,wt]=(0,l.useState)(""),[Et,Dt]=(0,l.useState)(""),[Bt,Pt]=(0,l.useState)([]),Ft=o,[Zt,Tt]=(0,l.useState)(0),[Ot,Mt]=(0,l.useState)(""),[Gt,Rt]=(0,l.useState)(!1),[Vt,Qt]=(0,l.useState)(!1),[Yt,Ut]=(0,l.useState)(!1),[zt,Ht]=(0,l.useState)(!1),[Lt,Jt]=(0,l.useState)({number:"",expiry:""}),[Kt,qt]=(0,l.useState)(!0),[Xt,Wt]=(0,l.useState)(!1),_t=localStorage.getItem("isLoggedIn"),$t=localStorage.getItem("loginAddress")||"",ea=localStorage.getItem("guestAddress")||"",ta=localStorage.getItem("clientPath"),aa=window.location.origin,sa=localStorage.getItem("totalPrice"),la=localStorage.getItem("roundOffPrice"),oa=localStorage.getItem("driverTipValue")?localStorage.getItem("driverTipValue"):"0",ia=localStorage.getItem("guestAddress"),ra=e=>{switch(e){case"visa":return m.k9Y;case"mastercard":return m.N$R;case"amex":return m.veW;case"discover":return m.fpC;case"diners":return m.Us5;case"jcb":return m.i4Q;default:return null}},na={iconStyle:"solid",style:{base:{iconColor:"#c4f0ff",color:"dark"===a?"#fff":"#000",fontWeight:300,border:"1px solid #ddd",fontFamily:"Source Code Pro, monospace",fontSmoothing:"antialiased",":-webkit-autofill":{color:"".concat("dark"===a?"#fff":"#000"),backgroundColor:"".concat("dark"===a?"#02111f":"#fff")},"::placeholder":{color:"#aab7c4"},backgroundColor:"dark"===a?"#02111f":"#fff",padding:"10px",fontSize:"16px"},invalid:{iconColor:"#ffc7ee",color:"dark"===a?"red":"#000",backgroundColor:"dark"===a?"#02111f":"#fff",padding:"10px"}}},ca=async(e,t)=>{V(e),console.log(e),ue(t),Fe(!1),$e(9===e)},da=(0,he.I0)(),[ma,pa]=(0,l.useState)(null),[xa,ua]=(0,l.useState)(null),[ha,ga]=(0,l.useState)(!0),[ya,va]=(0,l.useState)("sm-down"),[Aa,fa]=(0,l.useState)(!1),ja=(0,he.v9)((e=>{var t;return null===(t=e.placeorderStatusReducer)||void 0===t?void 0:t.placecard}));(0,l.useEffect)((()=>{ua(ja)}),[ja]);const Sa=e=>{pa(e.target.value),ga(!1),da((0,Ne.d)(!0))},ka=localStorage.getItem("orderMode"),ba=localStorage.getItem("isLoggedIn");(0,l.useEffect)((()=>{let e=window.innerWidth;if(j){const t=j.message.paymentStatus;"true"===_t?"Delivery"===ka?(Ke(t.cash&&1),fe(t.paypalStatus&&1),ve(t.card&&1),ke(t.applePay&&1),Ce(t.googlePay&&1),we(t.klarna&&1),e>1199&&(t.card?(ue("cardimg"),V(1)):t.cash&&(ue("cashimg"),V(0)))):(Ke(t.coll_cash&&1),fe(t.paypalStatus&&1),ve(t.coll_card&&1),ke(t.coll_applePay&&1),Ce(t.coll_googlePay&&1),we(t.klarna&&1),e>1199&&(t.coll_card?(ue("cardimg"),V(1)):t.coll_cash&&(ue("cashimg"),V(0)))):(Ke(t.guest_cash&&1),fe(t.paypalStatus&&1),ve(t.coll_card&&1),ke(t.coll_applePay&&1),Ce(t.coll_googlePay&&1),we(t.klarna&&1),e>1199&&(t.coll_card?(ue("cardimg"),V(1)):t.guest_cash&&(ue("cashimg"),V(0))))}}),[j,ka,ba]),(0,l.useEffect)((()=>{if(j&&!isNaN(pe)&&pe>0){var e;const t=pe,a=null===j||void 0===j||null===(e=j.message)||void 0===e?void 0:e.wallet;void 0!==a&&(ce(a),re(parseFloat(a)>=parseFloat(t)?1:0));if(parseFloat(a)<=parseFloat(t)){const e=(parseFloat(t)||0)-(parseFloat(a)||0);_e(1),qe(e),console.log(e),We(!0),console.log("hii--1")}else We(!1),_e(0),console.log("hii--2")}}),[j,pe]);(0,l.useMemo)((()=>{const e=localStorage.getItem("orderTime")||"";let t="",a="",s="";if(e){let l=e;if(l.includes("/")){t=l.split(" ")[0].split("/"),a=l.split(" ")[1];const e=new Date("".concat(t[2],"-").concat(t[1],"-").concat(t[0],"T").concat(a)),o=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0");s="".concat(o,"-").concat(i,"-").concat(r," ").concat(n,":").concat(c)}else s=e}return{customerId:It.customerId,clientPath:ta,orderTime:s,voucherCode:pt||""}}),[ta,Ft,It,pt]);(0,l.useEffect)((()=>
1{if(2==se){(async()=>{const e=k.getElement(p.CardCvcElement);try{const t=await S.confirmCardPayment(te,{payment_method:T,payment_method_options:{card:{cvc:e}}});t.error?(Ye(t.error.message),console.error(t.error.message)):(ae(3),b("paymentIntentId"),G(t.paymentIntent.id),console.log("Payment confirmed:",t.paymentIntent))}catch(t){console.error("Error confirming payment:",t)}})()}if(2==K){(async()=>{try{await S.confirmCardPayment(q).then((function(e){e.error?(Pe(!1),X(0),b("paymentMethodId"),G(""),O(""),da((0,Ae.w4)())):(H(3),b("paymentIntentId"),console.log("Payment confirmed:",e))}))}catch(e){console.log(e)}})()}if(14===K&&$){const e=localStorage.getItem("loginAddress")||"",t=localStorage.getItem("guestAddress")||"",a=localStorage.getItem("clientPath"),s=window.location.origin;(async()=>{let l=null;l="true"===_t?e:t;const o=JSON.parse(l);let i;switch(localStorage.getItem("currencyName")){case"USD":default:i="US";break;case"INR":i="IN";break;case"GBP":i="GB";break;case"EUR":i="FR"}try{const{error:e}=await S.confirmPayPalPayment($,{payment_method:{billing_details:{email:null===o||void 0===o?void 0:o.email,address:{country:i}}},return_url:"".concat(s,"/").concat(encodeURIComponent(a),"/checkout")});e?(console.error(e.message),H(0),b("")):(H(3),b("paymentIntentId"),console.log("PayPal Payment confirmed:"))}catch(r){console.error("Error confirming PayPal payment:",r)}})()}}),[se,te,T,k,S,K,$]),(0,l.useEffect)((()=>{if(10===K&&0!==q){(async()=>{let e=null;e="true"===_t?$t:ea;const t=JSON.parse(e);let a;switch(localStorage.getItem("currencyName")){case"USD":default:a="US";break;case"INR":a="IN";break;case"GBP":a="GB";break;case"EUR":a="FR"}try{await S.confirmKlarnaPayment(q,{payment_method:{billing_details:{email:null===t||void 0===t?void 0:t.email,address:{country:a}}},return_url:"".concat(aa,"/").concat(ta,"/checkout")})}catch(s){console.log("Error confirming Klarna payment:",s)}})()}}),[se,te,T,k,S,K,q]);const Na=localStorage.getItem("discount"),Ca="Collection"===s?1:0;if((0,l.useEffect)((()=>{const e=Na?JSON.parse(Na):"";Dt(e);const t=parseFloat(sa)*c/100;console.log(t);let a=parseFloat(sa)+parseFloat(t)+parseFloat(i)+parseFloat(r)+parseFloat(n)+parseFloat(oa);""===Et||(null===Et||void 0===Et?void 0:Et.orderType)!==Ca&&"2"!==(null===Et||void 0===Et?void 0:Et.orderType)||null!==e&&void 0!==e&&e.appliedDiscount&&(a-=parseFloat(e.appliedDiscount)),"voucherDiscount"==(null===e||void 0===e?void 0:e.source)&&xt((null===e||void 0===e?void 0:e.discount)||""),"SubscriptionCoupon"==(null===e||void 0===e?void 0:e.source)&&(xt((null===e||void 0===e?void 0:e.discount)||""),ht(!0)),Tt((null===e||void 0===e?void 0:e.appliedDiscount)||0),localStorage.setItem("finalTotal",a.toFixed(2)),h(a.toFixed(2)),et((parseFloat(a)+parseFloat(la)).toFixed(2)),localStorage.setItem("finalTotalValue",(parseFloat(a)+parseFloat(la)).toFixed(2))}),[sa,Et,i,r,n,c,oa,la,Na,lt,ot]),(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];Pt(e)}),[localStorage.getItem("cart")]),!j)return(0,Ve.jsx)("div",{children:"Loading..."});const Ia=null===j||void 0===j||null===(e=j.message)||void 0===e||null===(t=e.card)||void 0===t?void 0:t.cardDetail;Ia&&Me(Ia);const wa=e=>{He(!0),de(null),Ee(!1),da((0,Ne.d)(!1))};function Ea(){V(1),ue("cardimg1"),fa(!0),Fe(!1)}const Da=(0,Ve.jsx)(Ve.Fragment,{children:Array.isArray(Ia)&&(null===Ia||void 0===Ia?void 0:Ia.length)>0&&(null===Ia||void 0===Ia?void 0:Ia.map(((e,t)=>{var a;const s=null!==(a=e.card)&&void 0!==a?a:"",l=ma===s,o="1"===e.primary&&ha;return(0,Ve.jsxs)("div",{style:{marginBottom:"16px",borderRadius:"12px",padding:"5px",backgroundColor:"#fff"},children:[(0,Ve.jsxs)("label",{htmlFor:"savedcard-".concat(t),style:{display:"flex",alignItems:"center",cursor:"pointer",gap:"12px"},children:[(0,Ve.jsx)("img",{src:e.brand||"/default.png",alt:"card-logo",style:{width:"65px",height:"65px",objectFit:"contain",backgroundColor:"#f5f5f5",borderRadius:"6px",padding:"4px"},onError:e=>e.target.src="/default.png"}),(0,Ve.jsxs)("div",{style:{flex:1},children:[(0,Ve.jsxs)("div",{style:{fontWeight:600,fontSize:"22px"},children:["**** **** ***** ",s.slice(-4)]}),(0,Ve.jsxs)("small",{style:{color:"#555",fontSize:"16px"},children:["Expires on ",e.expMonth,"/",String(e.expYear).slice(-2)]})]}),(0,Ve.jsx)("input",{id:"savedcard-".concat(t),type:"radio",name:"savedcard",value:s,checked:l,onChange:Sa,className:"custom-radio"})]}),(l||o)&&(0,Ve.jsxs)("div",{style:{marginTop:"16px",display:"flex",gap:"10px",flexWrap:"wrap",alignItems:"center"},children:[(0,Ve.jsx)("div",{style:{flex:1,minWidth:"100px",border:"1px solid #ddd",borderRadius:"8px",padding:"10px"},children:(0,Ve.jsx)(p.CardCvcElement,{options:{iconStyle:"solid",style:{base
1:{iconColor:"#c4f0ff",color:"#000",fontWeight:300,fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{iconColor:"#ffc7ee",color:"red"}}}})}),(0,Ve.jsx)("button",{onClick:()=>Ge(e.paymentMethodId),disabled:Be,style:{backgroundColor:"#000",color:"#fff",padding:"10px 16px",borderRadius:"8px",border:"none",fontWeight:600,minWidth:"120px"},children:Be?(0,Ve.jsx)(y.Z,{animation:"border",size:"md",variant:"light"}):"Pay"})]})]},t)})))});return(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"d-block d-sm-none mobilepaymentall",children:[(0,Ve.jsxs)("h5",{className:"paymentliketag",children:["How would you like to pay?"," ",(0,Ve.jsxs)("div",{className:"secure-badgepayment",onClick:()=>{Ut(!0)},children:[(0,Ve.jsx)("img",{src:R,className:"lock-icon"}),"100% Secure"]})]}),(0,Ve.jsx)(A.Z,{style:{padding:"5px"},children:(0,Ve.jsxs)(A.Z.Item,{eventKey:"saved-card",style:{border:"none"},children:[(0,Ve.jsx)(A.Z.Header,{className:"p-0 border-0 shadow-none bg-transparent payment-header",children:(0,Ve.jsxs)("div",{className:"total-price-mobile",children:["google-pay"===xe&&be?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:D,alt:"gpayicon",style:{height:"35px"}})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:" Google pay"})})]}):"apple-pay"===xe&&Se?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:"dark"===a?F:P.Z,style:{height:"35px"},alt:"applepayicon"})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:"Apple pay"})})]}):"paypal"===xe&&je?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:B.Z,alt:"paypallogo"})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:"PayPal"})})]}):"klarna"===xe&&Ie?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:Z,alt:"klarnapay",style:{height:"30px"}})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:"Klarna"})})]}):"cardimg1"===xe&&ye?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:le,alt:"cardimage",style:{height:"35px"}})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:"Card"})})]})}):"cashimg"===xe&&Je?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:_,alt:"cashimage",style:{height:"30px"}})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:"Cash Pay"})})]})}):"cashimg"===xe&&Je?(0,Ve.jsx)("p",{className:"change",children:"Select Payment method"}):""!==ia&&"wallet"===xe?"true"===_t?(0,Ve.jsxs)("div",{className:"selected-tab d-flex justify-content-center align-items-center gap-3",children:[(0,Ve.jsx)("div",{className:"new-fus",children:(0,Ve.jsx)("img",{src:"dark"===a?ee:W,alt:"cardicon",style:{height:"30px"}})}),(0,Ve.jsx)("div",{className:"paytypemobile",children:(0,Ve.jsx)("p",{children:"Wallet"})})]}):null:(0,Ve.jsx)(Ve.Fragment,{}),xe&&xe?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{style:{textAlign:"center"}})}):null]})}),(0,Ve.jsx)(A.Z.Body,{children:(0,Ve.jsxs)("div",{className:"payment-options",children:[(0,Ve.jsxs)("ul",{className:"list-group",children:[ye&&(0,Ve.jsx)("li",{className:"list-group-item ".concat("cardimg1"==xe?"active":""),onClick:Ea,children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:le,alt:"",className:"paymenticonall",onClick:Ea}),(0,Ve.jsx)("h5",{className:"paymenthtagname",onClick:Ea,children:"Card"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"cardimg1"==xe,onCh
1ange:Ea})})]})})}),1===Oe?(0,Ve.jsx)("li",{className:"list-group-item ".concat("apple-pay"==xe?"active":""),value:"apple-pay",onClick:()=>ca(7,"apple-pay"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:"dark"===a?F:P.Z,alt:"applepayicon",className:"paymenticonall"}),(0,Ve.jsx)("h5",{className:"paymenthtagname",children:"Apple Pay"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"apple-pay"==xe,onChange:()=>ca(7,"apple-pay")})})]})})}):null,Je?(0,Ve.jsx)("li",{className:"list-group-item",value:"cashimg",onClick:()=>ca(0,"cashimg"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:_,alt:"cashimgicon",className:"paymenticonall"}),(0,Ve.jsx)("h5",{className:"paymenthtagname",children:"Cash Pay"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"cashimg"
1==xe,onChange:()=>ca(0,"cashimg")})})]})})}):null,1===Te?(0,Ve.jsx)("li",{className:"list-group-item ".concat("google-pay"==xe?"active":""),value:"google-pay",onClick:()=>ca(8,"google-pay"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:D,alt:"google-pay",className:"paymenticonall",onClick:()=>ca(8,"google-pay")}),(0,Ve.jsx)("h5",{className:"paymenthtagname",onClick:()=>ca(8,"google-pay"),children:"Google Pay"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"google-pay"==xe,onChange:()=>ca(8,"google-pay")})})]})})}):null,Ie&&(0,Ve.jsx)("li",{className:"list-group-item ".concat("klarna"==xe?"active":""),value:"klarna",onClick:()=>ca(10,"klarna"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:Z,alt:"klarnapay",className:"paymenticonall",onClick:()=>ca(10,"klarna")}),(0,Ve.jsx)("h5",{className:"paymenthtagname",onClick:()=>ca(10,"klarna"),children:"klarna"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"klarna"==xe,onClick:()=>ca(10,"klarna")})})]})})}),je&&(0,Ve.jsx)("li",{className:"list-group-item ".concat("paypal"==xe?"active":""),value:"cashimg",onClick:()=>ca(14,"paypal"),children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:J,alt:"paypalnew",className:"paymenticonall"}),(0,Ve.jsx)("h5",{className:"paymenthtagname",onClick:()=>ca(14,"paypal"),children:"Paypal"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"paypal"==xe,onClick:()=>ca(14,"paypal")})})]})})}),!Xe&&(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("li",{className:"list-group-item ".concat("wallet"==xe?"active":""),value:"wallet",onClick:()=>{ca(9,"wallet")},children:(0,Ve.jsx)("div",{className:"checkoutpayUI",children:(0,Ve.jsxs)("div",{className:"checkoutpayUIchildMobilepayment",children:[(0,Ve.jsxs)("div",{className:"checkoutfirstmobile",children:[(0,Ve.jsx)("img",{src:"dark"===a?ee:W,alt:"cardicondark",className:"paymenticonall"}),(0,Ve.jsx)("h5",{className:"mobile-wallet-disabled",style:{fontSize:"16px"},children:"Wallet"})]}),(0,Ve.jsx)("label",{children:(0,Ve.jsx)("input",{type:"radio",id:"payment",checked:"wallet"==xe,onChange:()=>{ca(9,"wallet")}})})]})})})})]}),(0,Ve.jsxs)(f.Z,{show:Aa&&"cardimg1"===xe&&ye,onHide:()=>fa(!1),fullscreen:!0,className:"true"==localStorage.getItem("isApp")?"app-side":"",centered:!0,children:[(0,Ve.jsx)(f.Z.Header,{className:"true"==localStorage.getItem("isApp")?"app-side arrowheadermodal":"arrowheadermodal",children:(0,Ve.jsxs)(f.Z.Title,{children:[(0,Ve.jsx)(N.oTp,{className:"arrowclose",style:{color:"#fff"},onClick:()=>{fa(!1),ue("cardimg1"),Fe(!1)}})," ",(0,Ve.jsx)("span",{className:"ms-2",children:"Payment"})]})}),(0,Ve.jsxs)(f.Z.Body,{children:[Array.isArray(Ia)&&Ia.length>0&&(0,Ve.jsxs)("div",{className:"saved-cards-box",onClick:()=>{qt(!1),Wt(!0)},children:[(0,Ve.jsxs)("div",{className:"saved-cards-left",children:[(0,Ve.jsx)(L.XiQ,{className:"card-icon"}),(0,Ve.jsx)("span",{className:"saved-cards-text",children:"Saved cards"})]}),(0,Ve.jsx)(oe.jfD,{className:"voucher-arrow"})]}),(0,Ve.jsxs)("div",{className:"line-containercheck",children:[(0,Ve.jsx)("div",{className:"linecheck"}),(0,Ve.jsx)("div",{className:"textcheck",children:"Add Card"}),(0,Ve.jsx)("div",{className:"linecheck"})]}),Kt&&(0,Ve.jsxs)("div",{className:"d-flex align-items-center justify-content-center flex-column vh-75 checkOutMobilecard",children:[(0,Ve.jsx)(v.Z,{className:"form-label mb-3",children:(0,Ve.jsxs)(x.Z,{children:[(0,Ve.jsxs)(u.Z,{xxl:6,xl:6,style:{padding:"10px"},children:[(0,Ve.jsx)(v.Z.Label,{className:"checkOutMobileLabel",children:"Card number"}),(0,Ve.jsxs)("div",{style:{padding:"15px 15px 15px 15px",borderRadius:"10px",border:"1px solid #EDEDED",position:"relative"},className:"checkOutMobileElement",children:[(0,Ve.jsx)(p.CardNumberElement,{options:na,className:"custom-card-element",onChange:e=>{wa(),Mt(e.brand)},style:{height:"300px"}}),ra(Ot)&&(0,Ve.jsx)(d.G,{icon:ra(Ot),style:{position:"absolute",right:"15px",top:"50%",transform:"translateY(-50%)",fontSize:"45px",color:"#DEDEDE",display:"flex",alignItems:"center",justifyContent:"center"}})]})]}),(0,Ve.jsxs)(u.Z,{xxl:3,sm:6,xs:6,xl:3,children:[(0,Ve.jsx)(v.Z.Label,{className:"checkOutMobileLabel",children:"Validity"}),(0,Ve.jsx)("div",{style:{padding:"15px 15px 15px 15px",borderRadius:"10px",border:"1px solid #EDEDED"},className:"checkOutMobileElement",children:(0,Ve.jsx)(p.CardExpiryElement,{options:Re,onCh
1ange:wa})})]}),(0,Ve.jsxs)(u.Z,{xxl:3,sm:6,xs:6,xl:3,children:[(0,Ve.jsx)(v.Z.Label,{className:"checkOutMobileLabel",children:"CVV"}),(0,Ve.jsxs)("div",{style:{padding:"15px 15px 15px 15px",borderRadius:"10px",border:"1px solid #EDEDED",position:"relative"},className:"checkOutMobileElement",children:[(0,Ve.jsx)(p.CardCvcElement,{options:Re,onChange:wa}),(0,Ve.jsx)("div",{title:"What is CVV?",onClick:()=>{Ht(!0)},style:{position:"absolute",top:"50%",right:"15px",transform:"translateY(-50%)",height:"22px",width:"22px",backgroundColor:"#f5f5f5",border:"1px solid #ccc",borderRadius:"50%",fontSize:"14px",fontWeight:"bold",color:"#000",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:2},children:"?"})]})]}),(0,Ve.jsx)(f.Z,{show:zt,centered:!0,onHide:()=>Ht(!1),id:"checkoutcustomModal",className:"dark"===a?"dark-popup":null,dialogClassName:"bottom-modal",fade:!0,children:(0,Ve.jsxs)("div",{style:{borderRadius:"12px",padding:"20px"},children:[(0,Ve.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,Ve.jsx)("h5",{className:"whatcvvtext",children:"What is CVV?"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>{Ht(!1)}})]}),(0,Ve.jsx)("div",{className:"text-center my-3",children:(0,Ve.jsx)("img",{src:z,alt:"CVV example",style:{width:"100%",maxWidth:"360px",height:"100%"}})}),(0,Ve.jsx)("p",{children:"The CVV number is the last three digits on the back of your card"})]})}),(0,Ve.jsx)(v.Z.Label,{style:{color:"red"},children:me}),"false"!==_t?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("div",{className:"p-2",children:(0,Ve.jsx)(u.Z,{xxl:12,children:(0,Ve.jsx)(v.Z.Check,{label:" Securely save this card future order",name:"form-check",type:"checkbox",id:"form-check",className:"form-check",onClick:()=>{E(0==w?1:0)}})})})}):null]})}),(0,Ve.jsx)(gt,{walletamount:ne,finalTotalValue:pe})]})]})]}),(0,Ve.jsxs)(f.Z,{show:Xt,onHide:()=>fa(!1),fullscreen:!0,className:Array.isArray(Ia)&&Ia.length>0&&"true"==localStorage.getItem("isApp")?"app-side":"",centered:!0,children:[(0,Ve.jsx)(f.Z.Header,{className:"true"==localStorage.getItem("isApp")?"app-side arrowheadermodal":"arrowheadermodal",children:(0,Ve.jsxs)(f.Z.Title,{children:[(0,Ve.jsx)(N.oTp,{className:"arrowclose",style:{color:"#fff"},onClick:()=>{Wt(!1)}})," ",(0,Ve.jsx)("span",{className:"ms-2",children:"Payment"})]})}),(0,Ve.jsxs)(f.Z.Body,{children:[(0,Ve.jsx)("h4",{style:{marginBottom:"20px",marginTop:"5px"},children:"Saved Card"}),(0,Ve.jsx)("div",{className:"save-card-form",children:!Kt&&Da})]})]})]})})]})}),(0,Ve.jsx)(f.Z,{show:Yt,id:"checkoutcustomModal",dialogClassName:"bottom-modal",centered:!0,className:"secure-modal",children:(0,Ve.jsxs)("div",{className:"secure-payment-content",children:[(0,Ve.jsxs)("div",{className:"secure-header",children:[(0,Ve.jsx)("h5",{children:"100% Safe and Secure payments"}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>{Ut(!1)}})]}),(0,Ve.jsxs)("div",{className:"secure-body",children:[(0,Ve.jsx)("img",{src:Q,alt:"secure shield",className:"shield-icon"}),(0,Ve.jsx)("p",{children:"We use Stripe for secure payment processing in Stripe is a certified PCI DSS Level 1 Service Provider \u2014 the highest level of certification in the payments industry. All transactions are encrypted using industry-standard SSL encryption. Your payment information is processed securely and is never stored on our servers. For more information, please refer to our Privacy Policy."}),(0,Ve.jsxs)("div",{className:"secure-badges",children:[(0,Ve.jsx)("img",{src:Y,alt:"PCI DSS"}),(0,Ve.jsx)("img",{src:U,alt:"SSL 256 Bit"})]})]})]})})]})})},jt=()=>{const[e,t]=(0,l.useState)("");(0,l.useEffect)((()=>{const e=localStorage.getItem("clientName");e&&t(e)}),[]);const[a,s]=(0,l.useState)(!1);(0,l.useEffect)((()=>{window.addEventListener("scroll",(()=>{window.scrollY>150?s(!0):s(!1)}))}),[]);const i=(0,o.s0)();return(0,Ve.jsx)("section",{className:"scroll-header ".concat(a&&"scroll-header-visible"),children:(0,Ve.jsx)(g.Z,{children:(0,Ve.jsx)(x.Z,{children:(0,Ve.jsx)(u.Z,{md:12,children:(0,Ve.jsxs)("div",{className:"scroll-header-content d-none",children:[(0,Ve.jsx)("button",{className:"back",onClick:()=>{i(-1)},children:(0,Ve.jsx)(N.oTp,{})}),(0,Ve.jsx)("h3",{className:"resta-name ms-2",children:"Checkout"})]})})})})})},St=e=>{let{setButtonstatus:t}=e;const{itemAvailableData:a}=(0,l.useContext)(Ue),{getOrderMode:s}=(0,C.yM)(),[o,i]=(0,l.useState)(!0),[r,n]=(0,l.useState)([]),[c,d]=(0,l.useState)(25),m=localStorage.getItem("orderMode"),p=localStorage.getItem("orderPostc
1ode"),x=localStorage.getItem("clientPath"),u=localStorage.getItem("orderType"),h=localStorage.getItem("clientName"),g=localStorage.getItem("cartQty"),y=localStorage.getItem("preOrder"),v=localStorage.getItem("tatTime"),[A,j]=(0,l.useState)(window.innerWidth);(0,l.useEffect)((()=>{let e=localStorage.getItem("cart")&&"undefined"!==localStorage.getItem("cart")?JSON.parse(localStorage.getItem("cart")):[];n(e)}),[localStorage.getItem("cart")]),(0,l.useEffect)((()=>{const e=setInterval((()=>{d((a=>a<=1?(clearInterval(e),i(!1),t(!1),0):a-1))}),1e3);return()=>clearInterval(e)}),[]);const S=JSON.parse(localStorage.getItem("orderDetail")),k=null===S||void 0===S?void 0:S.paymentType;let b="";return b=0===k?"Cash":1===k?"Card":8===k?"Google Pay":7===k?"Apple Pay":9===k?"Wallet":10===k?"Klarna":14===k?"Paypal":12===k?"Saved Card":"Unknown",(0,Ve.jsx)(Ve.Fragment,{children:A>767?(0,Ve.jsx)(f.Z,{show:o,centered:!0,backdrop:"static",className:"ck-payment-processing-desktop",children:(0,Ve.jsx)(f.Z.Body,{className:"ck-paymt-process-body-desktop",children:(0,Ve.jsxs)("div",{className:"modal-contentcheckout-desktop",children:[(0,Ve.jsxs)("div",{className:"modal-header",children:[(0,Ve.jsxs)("p",{children:["Placing ",m," order..."]}),(0,Ve.jsx)("img",{src:M,alt:"closeicon",className:"closeiconnew",onClick:()=>i(!1)})]}),(0,Ve.jsx)("div",{className:"location",children:(0,Ve.jsxs)("div",{className:"locationnewdiv",children:[(0,Ve.jsx)("span",{className:"location-icon",children:(0,Ve.jsx)(ae.Ts9,{})}),(0,Ve.jsx)("div",{className:"location-text",children:"Collection"===m?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{className:"postcode",children:x})}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("p",{className:"postcode",children:p}),(0,Ve.jsx)("span",{className:"location-note",children:"Meet me my door"})]})})]})}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),"ASAP"===u?(0,Ve.jsx)("div",{className:"location",children:(0,Ve.jsxs)("div",{className:"locationnewdiv",children:[(0,Ve.jsx)("span",{className:"location-icon",children:(0,Ve.jsx)(se.Nw5,{})}),(0,Ve.jsxs)("p",{className:"postcodeAsap",children:["ASAP : ",v]})]})}):(0,Ve.jsx)("div",{className:"location",children:(0,Ve.jsxs)("div",{className:"locationnewdiv",children:[(0,Ve.jsx)("span",{className:"location-icon",children:(0,Ve.jsx)(se.Nw5,{})}),(0,Ve.jsxs)("div",{className:"location-text",children:[(0,Ve.jsx)("p",{className:"postcode",children:"Scheduled Order"}),(0,Ve.jsx)("span",{className:"location-note",children:y})]})]})}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),(0,Ve.jsxs)("div",{className:"items",children:[(0,Ve.jsxs)("p",{className:"restaurant-title",children:[h," ",(0,Ve.jsxs)("span",{children:[g," Item(s)"]})]}),(0,Ve.jsx)("div",{className:"order-summary-scroll",children:null===r||void 0===r?void 0:r.filter((e=>null===a||void 0===a?void 0:a.some((t=>t.itemId===e.itemId)))).map(((e,t)=>{var a;return(0,Ve.jsxs)("div",{className:"fus-order-summarycheck",children:[(0,Ve.jsxs)("span",{className:"fus-order-checkcount",children:[e.count," x"]}),(0,Ve.jsxs)("span",{className:"fus-orderchecktext",children:[(null===(a=e.itemName)||void 0===a?void 0:a.split("&#")[0])||e.itemName,"Collection"===s&&e.collection_available&&(0,Ve.jsx)("span",{className:"unavailable-badge",children:"Collection Not Available"}),"Collection"!==s&&e.delivery_available&&(0,Ve.jsx)("span",{className:"unavailable-badge",children:"Delivery Not Available"})]})]},t)}))})]}),(0,Ve.jsx)("div",{className:"payment",children:(0,Ve.jsxs)("p",{className:"ptagpayment",children:["Paying in ",b]})}),(0,Ve.jsx)("div",{className:"button-containerdesk",children:(0,Ve.jsxs)("button",{className:"confirm-btn",style:{position:"relative",overflow:"hidden"},children:[(0,Ve.jsx)("div",{style:{position:"absolute",top:0,left:0,height:"100%",width:"100%",backgroundColor:"#E0E0E0",animation:"progressBar 3s linear infinite",border:"#E0E0E0",zIndex:1}}),(0,Ve.jsxs)("span",{style:{position:"relative",zIndex:2},children:["Looks good ",c," s"]})]})})]})})}):(0,Ve.jsxs)(f.Z,{show:o,centered:!0,backdrop:"static",fullscreen:!0,className:"ck-payment-processingcheckout",children:[(0,Ve.jsx)("img",{src:V,alt:"imgicon",className:"iconpopuppayment"}),(0,Ve.jsx)(f.Z.Body,{className:" ck-paymt-process-body",children:(0,Ve.jsxs)("div",{className:"modal-contentcheckout",children:[(0,Ve.jsx)("div",{className:"modal-header",children:(0,Ve.jsxs)("p",{children:["Placing ",m," order..."]})}),(0,Ve.jsx)("div",{className:"location",children:(0,Ve.jsxs)("div",{className:"locationnewdiv",children:[(0,Ve.jsx)("span",{className:"location-icon",children:(0,Ve.jsx)(ae.Ts9,{})}),(0,Ve.jsx)("div",{className:"location-text",children:"Collection"===m?(0,Ve.jsx)(Ve.Fragment,{children:(0,Ve.jsx)("p",{className:"postcode",children:x})}):(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("p",{className:"postcode",children:p}),(0,Ve.jsx)("span",{className:"location-note",children:"Meet me my door"})]})})]})}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),"ASAP"===u?(0,Ve.jsx)("div",{className:"location",children:(0,Ve.jsxs)("div",{className:"locationnewdiv",children:[(0,Ve.jsx)("span",{className:"location-icon",children:(0,Ve.jsx)(se.Nw5,{})}),(0,Ve.jsxs)("p",{className:"postcodeAsap",children:["ASAP : ",v]})]})}):(0,Ve.jsx)("div",{className:"location",children:(0,Ve.jsxs)("div",{className:"locationnewdiv",children:[(0,Ve.jsx)("span",{className:"location-icon",children:(0,Ve.jsx)(se.Nw5,{})}),(0,Ve.jsxs)("div",{className:"location-text",children:[(0,Ve.jsx)("p",{className:"postcode",children:"Scheduled Order"}),(0,Ve.jsx)("span",{className:"location-note",children:y})]})]})}),(0,Ve.jsx)("div",{className:"borderbottomdiv"}),(0,Ve.jsxs)("div",{className:"items",children:[(0,Ve.jsxs)("p",{className:"restaurant-title",children:[h," ",(0,Ve.jsxs)("span",{children:[g," Item(s)"]})]}),(0,Ve.jsx)("div",{className:"order-summary-scroll",children:null===r||void 0===r?void 0:r.filter((e=>null===a||void 0===a?void 0:a.some((t=>t.itemId===e.itemId)))).map(((e,t)=>{var a;return(0,Ve.jsxs)("div",{className:"fus-order-summarycheck",children:[(0,Ve.jsxs)("span",{className:"fus-order-checkcount",children:[e.count," x"]}),(0,Ve.jsxs)("span",{className:"fus-orderchecktext",children:[(null===(a=e.itemName)||void 0===a?void 0:a.split("&#")[0])||e.itemName,"Collection"===s&&e.collection_available&&(0,Ve.jsx)("span",{className:"unavailable-badge",children:"Collection Not Available"}),"Collection"!==s&&e.delivery_available&&(0,Ve.jsx)("span",{className:"unavailable-badge",children:"Delivery Not Available"})]})]},t)}))})]}),(0,Ve.jsx)("div",{className:"payment",children:(0,Ve.jsxs)("p",{className:"ptagpayment",children:["Paying in ",b]})}),(0,Ve.jsx)("div",{className:"button-container",children:(0,Ve.jsxs)("button",{className:"confirm-btn",style:{position:"relative",overflow:"hidden"},children:[(0,Ve.jsx)("div",{style:{position:"absolute",top:0,left:0,height:"100%",width:"100%",backgroundColor:"#E0E0E0",animation:"progressBar 3s linear infinite",border:"#E0E0E0",zIndex:1}}),(0,Ve.jsxs)("span",{style:{position:"relative",zIndex:2},children:["Looks good ",c," s"]})]})})]})})]})})}},69837:(e,t,a)=>{a.d(t,{YV:()=>A,pV:()=>f,$t:()=>v,dt:()=>y});var s=a(47313),l=a(93298),o=a(41965);const i=JSON.parse('{"v":"5.7.4","fr":30,"ip":0,"op":91,"w":500,"h":500,"nm":"Json","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"spark","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,209,0],"ix":2,"l":2},"a":{"a":0,"k":[3,-41,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 2","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":45,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 3","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":90,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 4","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":135,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}
vendor: 36,119 bytes, line 1
1],"nm":"Shape 5","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":180,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 6","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":225,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 7","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 8","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[3,-41],[3,-152]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":315,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.097],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":47,"s":[0]},{"t":67,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":47,"s":[0]},{"t":57,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":9,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"mask circle","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2,"l":2},"a":{"a":0,"k":[173.997,173.997,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0,0,0.333],"y":[0,0,0]},"t":0,"s":[100,100,100]},{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":11,"s":[70,70,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":37,"s":[70,70,100]},{"t":47,"s":[100,100,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[95.958,0],[0,0],[0,95.958],[-95.958,0],[0,-95.958]],"o":[[0,0],[-95.958,0],[0,-95.958],[95.958,0],[0,95.958]],"v":[[0,173.747],[0,173.747],[-173.747,0],[0,-173.747],[173.747,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.081272933062,0.800355918735,0.438422827627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[173.997,173.997],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"circle spot 2","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0,"y":1},"o":{"x":0,"y":0},"t":36,"s":[250,384.074,0],"to":[0,-19.667,0],"ti":[0,19.667,0]},{"t":50,"s":[250,266.074,0]}],"ix":2,"l":2},"a":{"a":0,"k":[2.302,141.074,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0,0.667,0.667],"y":[1,1,1]},"o":{"x":[0,0.333,0.333],"y":[0,0,0]},"t":36,"s":[60,60,100]},{"t":50,"s":[45,60,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[42.348,42.348],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[2.302,141.074],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":36,"op":300,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"dot path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,115],[1,43]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-5,10.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 2","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,115],[1,43]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[3,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":40,"s":[0]},{"t":56,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":36,"s":[0]},{"t":46,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":3,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"tick","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,269,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-65.5,-13.5],[-27,25],[65,-67]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":24,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":47,"s":[53]},{"t":57,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":47,"s":[53]},{"t":57,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Bulging","parent":8,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[173.997,173.997,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[126.128,126.128,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":15,"s":[{"i":[[0,0],[-38.5,-2.25],[19.5,-18.5],[7.5,-25]],"o":[[0,0],[25.99,1.519],[-32.865,31.179],[-7.5,25]],"v":[[71.25,-118],[100.813,-66.537],[117.313,-11.641],[123,63.5]],"c":false}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":19,"s":[{"i":[[0,0],[-38.5,-2.25],[19.5,-18.5],[7.5,-25]],"o":[[0,0],[25.99,1.519],[-32.865,31.179],[-7.5,25]],"v":[[71.25,-118],[164,-87.75],[180.5,-31.5],[123,63.5]],"c":false}]},{"t":23,"s":[{"i":[[0,0],[-38.5,-2.25],[19.5,-18.5],[7.5,-25]],"o":[[0,0],[25.99,1.519],[-32.865,31.179],[-7.5,25]],"v":[[71.25,-118],[100.813,-66.537],[117.313,-11.641],[123,63.5]],"c":false}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.082352941176,0.800000059838,0.439215716194,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"paper plane","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":10,"s":[0]},{"i":{"x":[0.667],"y":[0.897]},"o":{"x":[0.333],"y":[0]},"t":19,"s":[50]},{"i":{"x":[0.667],"y":[0.252]},"o":{"x":[0.333],"y":[0.551]},"t":20,"s":[121.875]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[1.6]},"t":23,"s":[162]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":27,"s":[187]},{"t":37,"s":[320]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[234.483,267.529,0],"to":[-4.167,4.5,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":10,"s":[209.483,294.529,0],"to":[270.517,-301.529,0],"ti":[183.167,-68.333,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":30,"s":[341.483,458.529,0],"to":[-78.978,25.345,0],"ti":[0,0,0]},{"t":37,"s":[244.483,357.529,0]}],"ix":2,"l":2},"a":{"a":0,"k":[84.555,84.562,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":10,"s":[100,100,100]},{"t":30,"s":[42,42,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.114,4.649],[0,0],[-1.616,2.453],[0,0],[0,0],[2.664,1.209],[0,0],[-4.846,1.615],[0,0],[1.464,-4.393],[0,0]],"o":[[0,0],[-1.216,-2.674],[0,0],[0,0],[-2.448,1.602],[0,0],[-4.652,-2.112],[0,0],[4.393,-1.465],[0,0],[-1.615,4.845]],"v":[[20.777,79.663],[-4.303,24.515],[-3.661,16.278],[20.691,-20.698],[-16.398,3.573],[-24.609,4.204],[-79.654,-20.786],[-79.107,-31.234],[75.732,-82.847],[82.841,-75.739],[31.223,79.114]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":13,"s":[1,1,1,1]},{"t":16,"s":[0.082352943718,0.800000071526,0.4392157197,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[84.555,84.562],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Circle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2,"l":2},"a":{"a":0,"k":[173.997,173.997,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0,0,0.333],"y":[0,0,0]},"t":0,"s":[100,100,100]},{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":11,"s":[70,70,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":37,"s":[70,70,100]},{"t":47,"s":[100,100,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[95.958,0],[0,0],[0,95.958],[-95.958,0],[0,-95.958]],"o":[[0,0],[-95.958,0],[0,-95.958],[95.958,0],[0,95.958]],"v":[[0,173.747],[0,173.747],[-173.747,0],[0,-173.747],[173.747,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.081272933062,0.800355918735,0.438422827627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[173.997,173.997],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0}],"markers":[]}'),r=JSON.parse('{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.21","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":80,"w":600,"h":600,"nm":"Card Fail","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Cross","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[117.104,73.75,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-10.261,-10.261],[10.261,10.261]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":30,"s":[0]},{"t":34,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":9,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[214.605,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"path","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[10.261,-10.261],[-10.261,10.261]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":34,"s":[0]},{"t":38,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":9,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[214.605,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"path 2","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Circle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[117.104,73.75,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-18.225],[18.225,0],[0,18.225],[-18.225,0]],"o":[[0,18.225],[-18.225,0],[0,-18.225],[18.225,0]],"v":[[33,0],[0,33],[-33,0],[0,-33]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":9,"s":[20]},{"t":24,"s":[4]}],"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[214.604,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":9,"s":[0,0]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":18,"s":[120,120]},{"t":24,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"stroke","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-18.225],[18.225,0],[0,18.225],[-18.225,0]],"o":[[0,18.225],[-18.225,0],[0,-18.225],[18.225,0]],"v":[[33,0],[0,33],[-33,0],[0,-33]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":9,"s":[0.827450990677,0.827450990677,0.827450990677,1]},{"t":24,"s":[1,0.372999991623,0.372999991623,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[214.604,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":7,"s":[0,0]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":16,"s":[120,120]},{"t":22,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Card Icon","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[-90]},{"t":15,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":28,"s":[311.698,317.448,0],"to":[1.667,0,0],"ti":[1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":32,"s":[321.698,317.448,0],"to":[-1.667,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":36,"s":[301.698,317.448,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":40,"s":[321.698,317.448,0],"to":[0,0,0],"ti":[1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":44,"s":[301.698,317.448,0],"to":[-1.667,0,0],"ti":[-1.667,0,0]},{"t":48,"s":[311.698,317.448,0]}],"ix":2},"a":{"a":0,"k":[128.802,91.198,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":9,"s":[120,120,100]},{"t":15,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.142,0],[0,0],[0,4.142],[0,0],[-4.142,0],[0,0],[0,-4.142],[0,0]],"o":[[0,0],[-4.142,0],[0,0],[0,-4.142],[0,0],[4.142,0],[0,0],[0,4.142]],"v":[[7.5,11.25],[-7.5,11.25],[-15,3.75],[-15,-3.75],[-7.5,-11.25],[7.5,-11.25],[15,-3.75],[15,3.75]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.411999990426,0.411999990426,0.411999990426,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[176.205,103.487],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"chip","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[97.5,11.25],[-97.5,11.25],[-97.5,-11.25],[97.5,-11.25]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.411999990426,0.411999990426,0.411999990426,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,55.087],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"stripe","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[8.284,0],[0,0],[0,8.284],[0,0],[-8.284,0],[0,0],[0,-8.284],[0,0]],"o":[[0,0],[-8.284,0],[0,0],[0,-8.284],[0,0],[8.284,0],[0,0],[0,8.284]],"v":[[82.5,63.75],[-82.5,63.75],[-97.5,48.75],[-97.5,-48.75],[-82.5,-63.75],[82.5,-63.75],[97.5,-48.75],[97.5,48.75]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.411999990426,0.411999990426,0.411999990426,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,73.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"card","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Card Shadow","sr":1,"ks":{"o":{"a":0,"k":20,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[-90]},{"t":16,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":29,"s":[311.698,317.448,0],"to":[1.667,0,0],"ti":[1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":33,"s":[321.698,317.448,0],"to":[-1.667,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":37,"s":[301.698,317.448,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":41,"s":[321.698,317.448,0],"to":[0,0,0],"ti":[1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":45,"s":[301.698,317.448,0],"to":[-1.667,0,0],"ti":[-1.667,0,0]},{"t":49,"s":[311.698,317.448,0]}],"ix":2},"a":{"a":0,"k":[128.802,91.198,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.583,0.583,0.333],"y":[0,0,0]},"t":1,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.23,0.23,0.333],"y":[0,0,0]},"t":10,"s":[120,120,100]},{"t":16,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[6.498,1.304],[0,0],[-1.304,6.498],[0,0],[-6.498,-1.305],[0,0],[1.305,-6.498],[0,0]],"o":[[0,0],[-6.498,-1.305],[0,0],[1.304,-6.497],[0,0],[6.498,1.304],[0,0],[-1.304,6.498]],"v":[[54.672,62.992],[-74.746,37.014],[-84.15,22.887],[-68.798,-53.588],[-54.671,-62.992],[74.746,-37.012],[84.15,-22.885],[68.798,53.589]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.411999990426,0.411999990426,0.411999990426,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[85.704,113.765],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"shadow","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Cross Icon ","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[311.698,317.448,0],"ix":2},"a":{"a":0,"k":[128.802,91.198,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[10.261,10.261],[-10.261,-10.261]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":9,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[214.605,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"path","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[10.261,-10.261],[-10.261,10.261]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":9,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[214.605,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"path 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-18.225],[18.225,0],[0,18.225],[-18.225,0]],"o":[[0,18.225],[-18.225,0],[0,-18.225],[18.225,0]],"v":[[33,0],[0,33],[-33,0],[0,-33]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[214.604,139.397],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"circle","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Card Icon","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[311.698,317.448,0],"ix":2},"a":{"a":0,"k":[128.802,91.198,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.142,0],[0,0],[0,4.142],[0,0],[-4.142,0],[0,0],[0,-4.142],[0,0]],"o":[[0,0],[-4.142,0],[0,0],[0,-4.142],[0,0],[4.142,0],[0,0],[0,4.142]],"v":[[7.5,11.25],[-7.5,11.25],[-15,3.75],[-15,-3.75],[-7.5,-11.25],[7.5,-11.25],[15,-3.75],[15,3.75]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[176.205,103.487],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"chip","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[97.5,11.25],[-97.5,11.25],[-97.5,-11.25],[97.5,-11.25]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,55.087],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"stripe","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[8.284,0],[0,0],[0,8.284],[0,0],[-8.284,0],[0,0],[0,-8.284],[0,0]],"o":[[0,0],[-8.284,0],[0,0],[0,-8.284],[0,0],[8.284,0],[0,0],[0,8.284]],"v":[[82.5,63.75],[-82.5,63.75],[-97.5,48.75],[-97.5,-48.75],[-82.5,-63.75],[82.5,-63.75],[97.5,-48.75],[97.5,48.75]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,73.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"card","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Card Shadow","sr":1,"ks":{"o":{"a":0,"k":20,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[311.698,317.448,0],"ix":2},"a":{"a":0,"k":[128.802,91.198,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.142,0],[0,0],[0,4.142],[0,0],[-4.142,0],[0,0],[0,-4.142],[0,0]],"o":[[0,0],[-4.142,0],[0,0],[0,-4.142],[0,0],[4.142,0],[0,0],[0,4.142]],"v":[[7.5,11.25],[-7.5,11.25],[-15,3.75],[-15,-3.75],[-7.5,-11.25],[7.5,-11.25],[15,-3.75],[15,3.75]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[176.205,103.487],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"chip","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[97.5,11.25],[-97.5,11.25],[-97.5,-11.25],[97.5,-11.25]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,55.087],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"stripe","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[8.284,0],[0,0],[0,8.284],[0,0],[-8.284,0],[0,0],[0,-8.284],[0,0]],"o":[[0,0],[-8.284,0],[0,0],[0,-8.284],[0,0],[8.284,0],[0,0],[0,8.284]],"v":[[82.5,63.75],[-82.5,63.75],[-97.5,48.75],[-97.5,-48.75],[-82.5,-63.75],[82.5,-63.75],[97.5,-48.75],[97.5,48.75]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.827450980392,0.827450980392,0.827450980392,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,73.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"card","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[117.104,73.75],"ix":2},"a":{"a":0,"k":[117.104,73.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Card Icon","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[6.498,1.304],[0,0],[-1.304,6.498],[0,0],[-6.498,-1.305],[0,0],[1.305,-6.498],[0,0]],"o":[[0,0],[-6.498,-1.305],[0,0],[1.304,-6.497],[0,0],[6.498,1.304],[0,0],[-1.304,6.498]],"v":[[54.672,62.992],[-74.746,37.014],[-84.15,22.887],[-68.798,-53.588],[-54.671,-62.992],[74.746,-37.012],[84.15,-22.885],[68.798,53.589]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.411999990426,0.411999990426,0.411999990426,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[85.704,113.765],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"shadow","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Circle Gradient ","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[200.25,200.25,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-110.457],[-110.457,0],[0,110.457],[110.457,0]],"o":[[0,110.457],[110.457,0],[0,-110.457],[-110.457,0]],"v":[[-200,0],[0,200],[200,0],[0,-200]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.002,0.921,0.914,0.914,0.501,0.874,0.871,0.871,1,0.827,0.827,0.827],"ix":9}},"s":{"a":0,"k":[0,-198.152],"ix":5},"e":{"a":0,"k":[0.66,202.133],"ix":6}
1,"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[200.25,200.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"circle","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":101,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Circle Line","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.37],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[100]},{"t":20,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[200.25,200.25,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.301,0.301,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"t":20,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-110.457],[-110.457,0],[0,110.457],[110.457,0]],"o":[[0,110.457],[110.457,0],[0,-110.457],[-110.457,0]],"v":[[-200,0],[0,200],[200,0],[0,-200]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.752941176471,0.752941176471,0.752941176471,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.301],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[300]},{"t":20,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[200.25,200.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"circle","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Card Mask ","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[200.25,200.25,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.301,0.301,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"t":20,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-110.457],[-110.457,0],[0,110.457],[110.457,0]],"o":[[0,110.457],[110.457,0],[0,-110.457],[-110.457,0]],"v":[[-200,0],[0,200],[200,0],[0,-200]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.5,0.5,0.5,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[200.25,200.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"circle","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"Card Icon","tt":1,"refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[300,300,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":600,"h":600,"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Circle Gradient","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[200.25,200.25,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.301,0.301,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"t":20,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-110.457],[-110.457,0],[0,110.457],[110.457,0]],"o":[[0,110.457],[110.457,0],[0,-110.457],[-110.457,0]],"v":[[-200,0],[0,200],[200,0],[0,-200]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.002,0.922,0.914,0.914,0.501,0.875,0.871,0.871,1,0.827,0.827,0.827],"ix":9}},"s":{"a":0,"k":[0,-198.152],"ix":5},"e":{"a":0,"k":[0.66,202.133],"ix":6}
vendor: 12,110 bytes, line 1
1,"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[200.25,200.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"circle","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":80,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"Card Icon Grey","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":50,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300,300,0],"ix":2},"a":{"a":0,"k":[300,300,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":600,"h":600,"ip":0,"op":80,"st":0,"bm":0}],"markers":[]}'),n=JSON.parse('{"v":"5.4.1","fr":29.9700012207031,"ip":0,"op":150.000006109625,"w":150,"h":150,"nm":"Bag-anim","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"ref","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"n":["0p667_1_0p167_0p167"],"t":0,"s":[0],"e":[-21]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"n":["0p667_1_0p167_0p167"],"t":8,"s":[-21],"e":[185.2]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":26,"s":[185.2],"e":[180]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":30,"s":[180],"e":[180]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"n":["0p667_1_0p167_0p167"],"t":98.828,"s":[180],"e":[200]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"n":["0p667_1_0p167_0p167"],"t":103.828,"s":[200],"e":[-5]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.333],"y":[0]},"n":["0p833_0p833_0p333_0"],"t":124.22,"s":[-5],"e":[0]},{"t":127.000005172816}],"ix":10},"p":{"a":0,"k":[75,75,0],"ix":2},"a":{"a":0,"k":[50,50,0],"ix":1},"s":{"a":0,"k":[30,30,100],"ix":6}},"ao":0,"ip":0,"op":152.000006191087,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Eye R","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[85.25,75,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-5.625,-12.875],[-5.625,-4.25]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.047058823529411764,0.6509803921568628,0.8274509803921568,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.333],"y":[0]},"n":["0p833_0p833_0p333_0"],"t":42,"s":[0],"e":[100]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p833_1_0p167_0"],"t":55,"s":[100],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0]},"n":["0p833_0p833_0p167_0"],"t":88.828,"s":[100],"e":[0]},{"t":98.8275040253266}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":153.000006231818,"op":153.000006231818,"st":0,"bm":0,"hidden":42.0000017106951},{"ddd":0,"ind":3,"ty":4,"nm":"Eye L","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[75,75,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-5.625,-12.875],[-5.625,-4.25]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.047058823529411764,0.6509803921568628,0.8274509803921568,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.333],"y":[0]},"n":["0p833_0p833_0p333_0"],"t":42,"s":[0],"e":[100]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p833_1_0p167_0"],"t":49.99,"s":[100],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0]},"n":["0p833_0p833_0p167_0"],"t":86.828,"s":[100],"e":[0]},{"t":96.8275039438649}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":152.000006191087,"op":152.000006191087,"st":0,"bm":0,"hidden":42.0000017106951},{"ddd":0,"ind":4,"ty":4,"nm":"mouth","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[50.313,-63.333,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[333.333,333.333,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-13.875],[0,14.625]],"o":[[0,13.875],[0,-14.625]],"v":[[-11.125,21],[11.25,21]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.047058823529411764,0.6509803921568628,0.8274509803921568,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.047058823529411764,0.6509803921568628,0.8274509803921568,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":true},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"handle","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"n":["0p667_1_0p167_0p167"],"t":36,"s":[100],"e":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p667_1_0p167_0"],"t":46.57,"s":[0],"e":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"n":["0p667_1_0p167_0p167"],"t":86.828,"s":[0],"e":[100]},{"t":95.8275039031341}],"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":152.000006191087,"op":152.000006191087,"st":-899.000036617021,"bm":0,"hidden":0},{"ddd":0,"ind":5,"ty":4,"nm":"bag-outside","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[50.313,-63.333,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[333.333,333.333,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-13.875],[0,14.625]],"o":[[0,13.875],[0,-14.625]],"v":[[-11.125,21],[11.25,21]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.556862771511,0.556862771511,0.57647061348,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.047058823529411764,0.6509803921568628,0.8274509803921568,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":true},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"handle","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,-3.313],[0,0],[0,0],[0,2.75]],"o":[[0,0],[0,0],[0,3.313],[0,0],[0,0],[0,-2.75]],"v":[[23.938,15.938],[-24.097,15.975],[-24.125,53.438],[-21.109,57.375],[21.25,57.313],[23.938,54.375]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.556862771511,0.556862771511,0.57647061348,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.976470588235,0.976470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"bag","np":3,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":152.000006191087,"st":-899.000036617021,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"bag-inside","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[50,-63.333,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[333.333,333.333,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[16.625,10.5],[-16.75,10.5],[-23.875,15.75],[-14.875,36],[13.5,35.75],[24,15.625]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.556862771511,0.556862771511,0.57647061348,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.733333333333,0.760784313725,0.788235294118,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":151.000006150356,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"BG","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[78,71,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[94.964,94.964,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[142,142],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.997878011068,0.819607962814,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470588235,0.976470588235,0.976470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-3,4],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.512,103.512],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":153.000006231818,"st":0,"bm":0}],"markers":[]}');var c=a(4479),d=a(94443),m=a(16044),p=a(10610),x=a(25569),u=a(44030),h=a(58467),g=a(46417);function y(){const{theme:e}=(0,s.useContext)(p.Z),{paymentSuccessShow:t,paymentSuccessMsg:a}=(0,s.useContext)(x.CheckoutContext);return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(o.Z,{show:t,centered:!0,className:"payment-success ".concat("dark"===e?"dark-p
1opup":null),children:(0,g.jsxs)(o.Z.Body,{children:[(0,g.jsxs)("div",{className:"content",children:[(0,g.jsx)("div",{className:"lottie-ani",children:"success"===a?(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(c.J5,{autoplay:!0,loop:!0,src:i})}):(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("div",{className:"d-flex justify-content-center",children:(0,g.jsx)(u.Z,{animation:"border",variant:"success"})})})}),"success"===a?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h3",{children:"Success"}),(0,g.jsxs)("p",{children:["we are delighted to inform you ",(0,g.jsx)("br",{})," that we received your payment"]})]}):(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("p",{children:"Please wait while your payment is being verified.you will be redirected automatically"})})]}),(0,g.jsx)("div",{className:"footer-btn-group"}),"success"===a?(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("div",{className:"pulse",children:(0,g.jsx)(m.fvx,{})})}):null]})})})}function v(e){let{}=e;const{theme:t}=(0,s.useContext)(p.Z),{faildshow:a,setFaildShow:i,cardErrorMessage:n}=(0,s.useContext)(x.CheckoutContext),u=()=>i(!1);return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(o.Z,{show:a,onHide:u,centered:!0,className:"payment-faild ".concat("dark"===t?"dark-popup":null),children:(0,g.jsxs)(o.Z.Body,{children:[(0,g.jsx)("span",{className:"close-btn",onClick:u,children:(0,g.jsx)(d.xg7,{})}),(0,g.jsxs)("div",{className:"content",children:[(0,g.jsx)("div",{className:"lottie-ani",children:(0,g.jsx)(c.J5,{autoplay:!0,loop:!0,src:r})}),(0,g.jsx)("h3",{children:"Payment Failed"}),(0,g.jsx)("p",{children:n||(0,g.jsxs)(g.Fragment,{children:["Unfortunately we have an issue with ",(0,g.jsx)("br",{})," your payment, try again later"]})})]}),(0,g.jsxs)("div",{className:"footer-btn-group",children:[(0,g.jsx)(l.Z,{className:"change-pay-btn",onClick:u,children:"Change Payment"}),(0,g.jsx)(l.Z,{className:"track-btn",onClick:u,children:"Try Again"})]}),(0,g.jsx)("div",{className:"pulse faild",children:(0,g.jsx)(m.fvx,{})})]})})})}function A(e){let{HandleClick:t}=e;const{theme:a}=(0,s.useContext)(p.Z),i=(0,h.s0)(),{setMinOrderModal:r,minOrderModal:m,minOrderMessage:u}=(0,s.useContext)(x.CheckoutContext),y=()=>r(!1);return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(o.Z,{show:m,onHide:y,centered:!0,className:"payment-faild ".concat("dark"===a?"dark-popup":null),children:(0,g.jsxs)(o.Z.Body,{children:[(0,g.jsx)("span",{className:"close-btn",onClick:y,children:(0,g.jsx)(d.xg7,{})}),(0,g.jsxs)("div",{className:"content",children:[(0,g.jsx)("div",{className:"lottie-ani",children:(0,g.jsx)(c.J5,{autoplay:!0,loop:!0,src:n})}),(0,g.jsx)("h3",{children:u})]}),(0,g.jsxs)("div",{className:"footer-btn-group",children:[(0,g.jsx)(l.Z,{className:"change-pay-btn",onClick:()=>{const e=localStorage.getItem("clientPath")||"";i("/".concat(e,"/menu"))},children:"Add More"}),(0,g.jsx)(l.Z,{className:"track-btn",onClick:()=>t("Collection"),style:{color:"#0a1929"},children:"Switch to Pickup"})]})]})})})}function f(e){let{userData:t}=e;const{autoshowPopup:a,setAutoShowPopup:i,localCustomerId:r,subTotal:n}=(0,s.useContext)(x.CheckoutContext),{theme:c}=(0,s.useContext)(p.Z),d=(0,h.s0)(),[m,u]=(0,s.useState)("");let y=5;t&&(t.login_type||0===t.login_type)&&(y=t.login_type);const v=localStorage.getItem("clientPath"),A=localStorage.getItem("orderTime")||"";let f="",j="",S="";if(A){let e=A;if(e.includes("/")){f=e.split(" ")[0].split("/"),j=e.split(" ")[1];const t=new Date("".concat(f[2],"-").concat(f[1],"-").concat(f[0],"T").concat(j)),a=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0"),l=String(t.getDate()).padStart(2,"0"),o=String(t.getHours()).padStart(2,"0"),i=String(t.getMinutes()).padStart(2,"0");S="".concat(a,"-").concat(s,"-").concat(l," ").concat(o,":").concat(i)}else S=A}(0,s.useEffect)((()=>{if(""!==m){var e,t,a,s,l;const c=localStorage.getItem("placeOrderApiData")||"{}";let p={};try{p=JSON.parse(c),console.log("placeOrderApiData =>",p)}catch(o){console.error("Error parsing placeOrderApiData:",o),p={}}const x={totalPrice:n,orderTime:S,clientPath:v,itemsDetail:null===(e=p)||void 0===e?void 0:e.itemsDetail,customerId:r,logintype:y,incompletedOrder:m,paymentDetail:(null===(t=p)||void 0===t?void 0:t.paymentDetail)||{}
1,userDetail:(null===(a=p)||void 0===a?void 0:a.userDetail)||{},chargesDetail:(null===(s=p)||void 0===s?void 0:s.chargesDetail)||{},orderDetail:(null===(l=p)||void 0===l?void 0:l.orderDetail)||{}};(async()=>{try{const e=await fetch("https://order-onedb-backend.fusiontesting.co.uk/inCompleteOrder",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(x)});if(!e.ok)throw new Error("Failed to fetch: ".concat(e.statusText));const t=await e.json();t&&!0===t.status&&(console.log(t),localStorage.removeItem("paymentStatus"),localStorage.removeItem("placeOrderApiData"),i(!1),d("/orderstatus"))}catch(o){console.error("Failed to load app configuration, error:",o)}})()}}),[m]);const k=()=>{i(!1)};return(0,g.jsx)(o.Z,{show:a,centered:!0,className:"payment-faild ".concat("dark"===c?"dark-popup":null," autorefresh"),children:(0,g.jsxs)(o.Z.Body,{style:{borderRadius:"15px !important"},children:[(0,g.jsxs)("div",{className:"content",children:[(0,g.jsx)("div",{className:"lottie-ani"}),(0,g.jsx)("h3",{style:{fontFamily:"SegoeUI"},children:"Payment in progress!."}),(0,g.jsx)("h6",{style:{textAlign:"center",fontFamily:"Geist-Regular",letterSpacing:"0.4px",marginTop:"23px"},children:"If leave, the transaction may cancel refunds will be processed in 1-2 days. "})]}),(0,g.jsxs)("div",{className:"footer-btn-group",children:[(0,g.jsx)(l.Z,{className:"change-pay-yes-btn",onClick:()=>{u(1),k()},children:"Yes"}),(0,g.jsx)(l.Z,{className:"change-pay-no-btn",onClick:()=>{u(0),k()},children:"No"})]})]})})}},44929:()=>{},10348:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAd/UlEQVR42u2deWBW1bX2n3XO+76ZwxAyoKAUFUSGIhm4KGgC+VBUvEAGBAdsq1KlWu+1lgraG63Wob3W9ut0vbaoVIZEQK2AQAI4IhmKqKAiCtUrQ2IghAzvdPa6f4DXDgoJeYezz1m/PyE5OXvt5zlr7X322RsQBEEQBEEQBEEQBEEQBEEQB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QU5ZHOUQSGnbxU490dsIRcCFC2QSAfc0vnyBs0Y3HRfZf2kNC0yLd4d0x5x0nrLodnAGBQ6L6q/x9En0Lx1kGiO6NK3yd9RtenI9GlEenzhLds+/Cf3MvXx2USkAylaZx0JIUl8KlqVbrK6OnLzg/rfCHY+ubD24dgGYUc4BCfzjG+7nIw2pUtMeEGiWQ1nknmk9gZ6HzLRZqMN4OCMCSnpoNte96l91bvnOAABniU7NAHqcQO/RWcLTO89L3K3xlyIsawsw7y7Hz1TlAghiU2XaGjin0HHTi0E6lqFeXuM+AnVC4hKsa00vfDys6rZ6lEY8baMtjv1oh9piVdfxQKJYAQHLYAL9Od5xLW5vRS1eYcV2195PME38lD5kdROAGEsPA2H7v3KjiAgeyKrKofrSPnXm3NYWIrCRE0w3zh7RR11OFUCAihn5QBpgj4UzJ5Ms/9I5s6N8l5xtSC/oN+VIoko5Hxlsz5xKQ4/ANeC8BWLGpdRgAAAABJRU5ErkJggg=="},37471:(e,t,a)=>{e.exports=a.p+"static/media/dark.36d5b98214490c4b6d37.jpg"},65271:e=>{e.exports=JSON.parse('[{"clientPath":"restaurant-demo-2-if28threefield-house-sk11","itemsDetail":[{"id":"2596","qty":"
11","loyalty":"","instruction":"test","addon":[{"id":"4233","extra":"3","qty":"1"}]},{"id":"2598","qty":"2","loyalty":"1","instruction":"test","addon":[{"id":"4235","extra":"","qty":"1"}]},{"id":"2766","qty":"3","loyalty":"1","instruction":"test","addon":[{"id":"2790","extra":"","qty":"1"},{"id":"2997","extra":"","qty":"1"},{"id":"2986","extra":"","qty":"1"}]}],"orderDetail":{"loginType":"1","orderType":"0","paymentType":"1","instruction":"","preOrder":"2023-08-02 01:15","cutlery":"","gift":"testing","giftQty":"1"},"chargesDetail":{"subTotal":"20.00","deliveryCharge":"0.00","driverTip":"0.15","roundAmount":"0.00","extraDonate":"0.00","clientStuartCharge":"3.99","discount":"2.51","discountDescription":"discount description","promo":"1.50","promoDescription":"promo description","voucher":"1.50","voucherDescription":"test"},"userDetail":{"customerId":"64308","addressId":"4766","firstName":"testing","lastName":"testing","phone":"03333555555","doorNo":"05","streetName":"Park Lane","town":"Macclesfield","email":"[email protected]","postcode":"SO14 5DL","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","ip":"122.165.160.168"},"paymentDetail":{"type":"paymentMethodId","paymentMethodId":"pm_card_visa_debit","sva":"0"}}]')}}]);

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.