(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4782],{6070:function(e,r,t){Promise.resolve().then(t.bind(t,33025))},33025:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return c}});var s=t(57437),l=t(2265),i=t(68840),n=t(7945);function o(e){let{label:r,description:t,value:l,onChange:o}=e;return(0,s.jsxs)("div",{className:"flex items-center justify-between py-3 px-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-medium",style:{color:"var(--text-primary)"},children:r}),t&&(0,s.jsx)("p",{className:"text-xs mt-0.5",style:{color:"var(--text-muted)"},children:t})]}),(0,s.jsx)("button",{onClick:()=>o(!l),children:l?(0,s.jsx)(i.Z,{size:24,style:{color:"var(--accent)"}}):(0,s.jsx)(n.Z,{size:24,style:{color:"var(--text-muted)"}})})]})}function a(){let[e,r]=(0,l.useState)({orders:!0,messages:!0,promotions:!1,priceDrops:!0}),[t,i]=(0,l.useState)({showProfile:!0,showReviews:!0}),n={background:"var(--card)",border:"1px solid var(--border)",borderRadius:"1rem",overflow:"hidden",marginBottom:"1rem"},a={borderTop:"1px solid var(--border)"};return(0,s.jsxs)("div",{className:"p-4 md:p-6 max-w-6xl mx-auto",children:[(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsx)("h1",{className:"text-xl font-bold",style:{color:"var(--text-primary)"},children:"Settings"})}),(0,s.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider mb-2 px-1",style:{color:"var(--text-muted)"},children:"Notifications"}),(0,s.jsxs)("div",{style:n,children:[(0,s.jsx)(o,{label:"Order Updates",value:e.orders,onChange:e=>r(r=>({...r,orders:e}))}),(0,s.jsx)("div",{style:a,children:(0,s.jsx)(o,{label:"New Messages",value:e.messages,onChange:e=>r(r=>({...r,messages:e}))})}),(0,s.jsx)("div",{style:a,children:(0,s.jsx)(o,{label:"Price Drop Alerts",description:"Get notified when wishlisted items drop in price",value:e.priceDrops,onChange:e=>r(r=>({...r,priceDrops:e}))})}),(0,s.jsx)("div",{style:a,children:(0,s.jsx)(o,{label:"Promotions & Offers",value:e.promotions,onChange:e=>r(r=>({...r,promotions:e}))})})]}),(0,s.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider mb-2 px-1",style:{color:"var(--text-muted)"},children:"Privacy"}),(0,s.jsxs)("div",{style:n,children:[(0,s.jsx)(o,{label:"Show Profile Publicly",value:t.showProfile,onChange:e=>i(r=>({...r,showProfile:e}))}),(0,s.jsx)("div",{style:a,children:(0,s.jsx)(o,{label:"Show Reviews Publicly",value:t.showReviews,onChange:e=>i(r=>({...r,showReviews:e}))})})]})]})}function c(){return(0,s.jsx)(a,{})}},12228:function(e,r,t){"use strict";t.d(r,{default:function(){return c}});var s=t(2265),l={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=e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0;return!1};var n=t(56775);let o=(0,s.createContext)({}),a=()=>(0,s.useContext)(o),c=(0,s.forwardRef)((e,r)=>{var t,o,c;let{color:u,size:d,strokeWidth:h,absoluteStrokeWidth:x,className:m="",children:f,iconNode:p,...v}=e,{size:w=24,strokeWidth:g=2,absoluteStrokeWidth:y=!1,color:j="currentColor",className:b=""}=null!==(t=a())&&void 0!==t?t:{},k=(null!=x?x:y)?24*Number(null!=h?h:g)/Number(null!=d?d:w):null!=h?h:g;return(0,s.createElement)("svg",{ref:r,...l,width:null!==(o=null!=d?d:w)&&void 0!==o?o:l.width,height:null!==(c=null!=d?d:w)&&void 0!==c?c:l.height,stroke:null!=u?u:j,strokeWidth:k,className:(0,n.z)("lucide",b,m),...!f&&!i(v)&&{"aria-hidden":"true"},...v},[...p.map(e=>{let[r,t]=e;return(0,s.createElement)(r,t)}),...Array.isArray(f)?f:[f]])})},95480:function(e,r,t){"use strict";t.d(r,{Z:function(){return c}});var s=t(2265),l=t(56775);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),o=e=>{let r=n(e);return r.charAt(0).toUpperCase()+r.slice(1)};var a=t(12228);let c=(e,r)=>{let t=(0,s.forwardRef)((t,n)=>{let{className:c,...u}=t;return(0,s.createElement)(a.default,{ref:n,iconNode:r,className:(0,l.z)("lucide-".concat(i(o(e))),"lucide-".concat(e),c),...u})});return t.displayName=o(e),t}},7945:function(e,r,t){"use strict";t.d(r,{Z:function(){return s}});let s=(0,t(95480).Z)("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]])},68840:function(e,r,t){"use strict";t.d(r,{Z:function(){return s}});let s=(0,t(95480).Z)("toggle-right",[["circle",{cx:"15",cy:"12",r:"3",key:"1afu0r"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]])},56775:function(e,r,t){"use strict";t.d(r,{z:function(){return s}});let s=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()}}},function(e){e.O(0,[2971,2117,1744],function(){return e(e.s=6070)}),_N_E=e.O()}]);