1import{b0 as a,aU as e}from"./index-DzBlipNH.js";import{P as i,R as l}from"./ReceivedOrders-8eXJUq2z.js";import{L as n}from"./LayerContent-B4Jx8IGs.js";import{H as c}from"./history-Dz2wB3Bb.js";import{R as x}from"./receipt-Cyqr3XGE.js";import{C as m}from"./credit-card-LX8cC0sK.js";import"./inbox-2fkO6aYN.js";var b=(r=>(r.USD="USD",r.INR="INR",r.EUR="EUR",r))(b||{});const j=()=>{const[r,t]=a.useState("placed-orders"),[d,o]=a.useState(!1),s=localStorage.getItem("accessToken");return a.useEffect(()=>{s||o(!0)},[s]),e.jsxs("div",{className:"min-h-screen",children:[e.jsxs("div",{className:"",children:[e.jsxs("div",{children:[e.jsx("h1",{className:" text-2xl lg:text-4xl text-primary dark:text-white font-bold mb-3",children:"Orders Overview"}),e.jsx("p",{className:"text-gray-600 text-lg mb-6",children:"Manage all your received and placed orders in one place, with clear status tracking and quick access to every order."})]}),e.jsx("div",{className:"mb-8",children:e.jsx("div",{className:"border-b border-gray-200 dark:border-gray-700",children:e.jsxs("nav",{className:"flex space-x-8",children:[e.jsxs("button",{onClick:()=>t("placed-orders"),className:`py-3 px-1 border-b-2 font-medium text-sm transition-all duration-300 flex items-center gap-2 ${r==="placed-orders"?"border-primary text-primary dark:text-white dark:border-white":"border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 hover:border-gray-300"}`,children:[e.jsx(c,{className:"w-4 h-4"}),"Placed Orders"]}),e.jsxs("button",{onClick:()=>t("received-orders"),className:`py-3 px-1 border-b-2 font-medium text-sm transition-all duration-300 flex items-center gap-2 ${r==="received-orders"?"border-primary text-primary dark:text-white dark:border-white":"border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 hover:border-gray-300"}`,children:[e.jsx(x,{className:"w-4 h-4"}),"Received Orders"]})]})})}),r==="placed-orders"?e.jsx(i,{}):r==="received-orders"?e.jsx(l,{}):e.jsx("div",{className:"bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 p-12 text-center",children:e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx("div",{className:"p-4 bg-gray-100 dark:bg-gray-700 rounded-full w-20 h-20 mx-auto mb-6 flex items-center justify-center",children:e.jsx(m,{className:"w-10 h-10 text-gray-400 dark:text-gray-500"})}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 dark:text-white mb-3",children:"Billing Information"}),e.jsx("p",{className:"text-gray-600 dark:text-gray-400 mb-6",children:"Manage your payment methods, billing address, and tax information. Set up your preferred payment options for seamless transactions."}),e.jsx("div",{className:"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4",children:e.jsxs("p",{className:"text-sm text-blue-700 dark:text-blue-300",children:[e.jsx("span",{className:"font-semibold",children:"Note:"})," Add your payment methods and billing details to enable quick withdrawals and payments."]})})]})})]}),d&&e.jsx(n,{})]})};export{b as Currency,j as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.