(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[227],{12651:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(90425).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},46411:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(90425).A)("bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]])},83201:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>h});var s=t(95155),l=t(73321),a=t(12115),c=t(98500),i=t.n(c),d=t(12651),n=t(84980),o=t(46411);let m=(0,t(90425).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);function x(){let e=(0,l.useSearchParams)().get("orderId")||"—";return(0,s.jsxs)("div",{className:"flex min-h-screen flex-col items-center justify-center bg-background px-4 py-16 text-center",children:[(0,s.jsx)("div",{className:"mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-green-100",children:(0,s.jsx)(d.A,{className:"h-10 w-10 text-green-500"})}),(0,s.jsx)("h1",{className:"mb-2 text-3xl font-bold text-foreground",children:"Order Placed!"}),(0,s.jsx)("p",{className:"mb-1 text-foreground/60",children:"Thank you for ordering with Yalla"}),"—"!==e&&(0,s.jsxs)("p",{className:"mb-8 text-sm font-medium text-primary",children:["Order #",e]}),(0,s.jsxs)("div",{className:"mb-8 flex flex-col gap-3 w-full max-w-sm",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-border bg-card p-4",children:[(0,s.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-amber-100",children:(0,s.jsx)(n.A,{className:"h-5 w-5 text-amber-500"})}),(0,s.jsxs)("div",{className:"text-left",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"Restaurant confirmed"}),(0,s.jsx)("p",{className:"text-xs text-foreground/50",children:"Your order is being prepared"})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-border bg-card p-4 opacity-50",children:[(0,s.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary/10",children:(0,s.jsx)(o.A,{className:"h-5 w-5 text-primary"})}),(0,s.jsxs)("div",{className:"text-left",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"Out for delivery"}),(0,s.jsx)("p",{className:"text-xs text-foreground/50",children:"~30 min estimated"})]})]})]}),(0,s.jsxs)(i(),{href:"/",className:"flex items-center gap-2 rounded-xl bg-primary px-8 py-3 text-sm font-semibold text-white hover:bg-primary/90 transition-colors",children:[(0,s.jsx)(m,{className:"h-4 w-4"}),"Back to Home"]})]})}function h(){return(0,s.jsx)(a.Suspense,{children:(0,s.jsx)(x,{})})}},84980:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(90425).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},87913:(e,r,t)=>{Promise.resolve().then(t.bind(t,83201))},90425:(e,r,t)=>{"use strict";t.d(r,{A:()=>d});var s=t(12115);let l=(...e)=>e.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),a=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)};var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,s.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:i="",children:d,iconNode:n,...o},m)=>(0,s.createElement)("svg",{ref:m,...c,width:r,height:r,stroke:e,strokeWidth:a?24*Number(t)/Number(r):t,className:l("lucide",i),...!d&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0;return!1})(o)&&{"aria-hidden":"true"},...o},[...n.map(([e,r])=>(0,s.createElement)(e,r)),...Array.isArray(d)?d:[d]])),d=(e,r)=>{let t=(0,s.forwardRef)(({className:t,...c},d)=>(0,s.createElement)(i,{ref:d,iconNode:r,className:l(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...c}));return t.displayName=a(e),t}}},e=>{e.O(0,[756,441,794,358],()=>e(e.s=87913)),_N_E=e.O()}]);