PageSourceSearch

https://goexpired.com/assets/Settings-B6Q49oZq.js

js goexpired.com collected 2026-10-09 22:42:26 UTC 22,829 bytes, 6 lines download raw bytes

1import{w as z,r as l,b as T,s as b,j as e,c as W,a as Z,G as X,a3 as Q,a4 as E,M as J,B as u,a5 as K,a6 as ee,K as M,a7 as _,Y as S,a8 as se,h as te,a9 as D,Z as ae,U as re,J as ne,aa as ie}from"./index-DocTL6Xp.js";import{u as le}from"./useSubscription-BogwARKQ.js";import{A as oe,a as ce,b as de,c as me,d as ue,e as xe,f as pe,g as he,h as ge}from"./alert-dialog-BL-rbCI7.js";import{C}from"./credit-card-CCgntUPp.js";import{C as fe}from"./chart-column-CCXSkcEv.js";import{T as P}from"./trash-2-Bcoczq4e.js";import{S as L}from"./shield-BEqdegv2.js";import{I as ye}from"./info-AYzNs3fS.js";import{C as be}from"./circle-help-CXR2iWrR.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const je=z("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]),ve=t=>{const[d,g]=l.useState({monthlyLimit:30,monthlyUsed:0,extraTokens:0,totalAvailable:30}),[N,f]=l.useState(!0),{toast:m}=T(),a=async()=>{if(!t){g({monthlyLimit:30,monthlyUsed:0,extraTokens:0,totalAvailable:30}),f(!1);return}try{const{data:n}=await b.from("profiles").select("tier").eq("id",t.id).single(),x=(n==null?void 0:n.tier)||"free";if(x==="pro"){g({monthlyLimit:999999,monthlyUsed:0,extraTokens:0,totalAvailable:999999});return}const{data:h,error:y}=await b.rpc("get_user_available_tokens",{user_uuid:t.id});if(y){console.error("Error fetching token info:",y);return}if(h&&h.length>0){const p=h[0];let j={monthlyLimit:p.monthly_limit,monthlyUsed:p.monthly_used,extraTokens:p.extra_tokens,totalAvailable:p.total_available};if(x==="free"){const{data:o}=await b.rpc("get_appraisal_usage",{user_uuid:t.id});if(o&&o.length>0){const c=o[0];j.dailyUsed=c.current_count,j.dailyRemaining=c.remaining_count}}g(j)}}catch(n){console.error("Error calling get_user_available_tokens:",n)}finally{f(!1)}},v=async n=>{if(!t)return m({title:"Authentication required",description:"Please log in to generate domains.",variant:"destructive"}),!1;if(d.totalAvailable<n)return m({title:"Insufficient tokens",description:`You need ${n} tokens but only have ${d.totalAvailable} remaining.`,variant:"destructive"}),!1;try{const{data:x,error:h}=await b.rpc("consume_user_tokens",{user_uuid:t.id,tokens_to_consume:n});return h?(console.error("Error consuming tokens:",h),m({title:"Token consumption failed",description:"There was an error processing your request.",variant:"destructive"}),!1):x===!1?(m({title:"Insufficient tokens",description:`You need ${n} tokens but don't have enough remaining.`,variant:"destructive"}),!1):(await a(),!0)}catch(x){return console.error("Error calling consume_user_tokens:",x),m({title:"Token consumption failed",description:"There was an error processing your request.",variant:"destructive"}),!1}};return l.useEffect(()=>{a()},[t==null?void 0:t.id]),{tokenInfo:d,loading:N,fetchTokenInfo:a,consumeTokens:v,hasEnoughTokens:n=>d.totalAvailable>=n}},Ne=1,ke="dd63c7ef-29c8-4af7-90ef-e170dd49a932",we="25210763-c931-4df9-aca0-d42b22c5597f",Ce="/__l5e/assets-v1/dd63c7ef-29c8-4af7-90ef-e170dd49a932/goexpired-clover-stem.png",Fe="a/v1/25210763-c931-4df9-aca0-d42b22c5597f/dd63c7ef-29c8-4af7-90ef-e170dd49a932/goexpired-clover-stem.png",Ee="goexpired-clover-stem.png",Ae=1991742,De="image/png",_e="2026-06-27T16:46:36Z",Se={version:Ne,asset_id:ke,project_id:we,url:Ce,r2_key:Fe,original_filename:Ee,size:Ae,content_type:De,created_at:_e},F="#2563EB",Te=({compactShadow:t})=>e.jsx("div",{className:"w-full",style:{perspective:"1200px"},children:e.jsxs("div",{className:"relative mx-auto w-full max-w-[420px] aspect-[1.586/1] rounded-2xl overflow-hidden select-none",style:{backgroundColor:"#FFFFFF",backgroundImage:"linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%)",boxShadow:t?"0 6px 16px -8px rgba(15,23,42,0.22), 0 3px 8px -6px rgba(15,23,42,0.14)":"0 20px 50px -20px rgba(15,23,42,0.25), 0 8px 20px -10px rgba(15,23,42,0.15)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-[10px] rounded-xl",style:{border:`1px solid ${F}66`}}),e.jsxs("div",{className:"absolute top-5 left-5 flex items-center gap-3",children:[e.jsx("img",{src:Se.url,alt:"GoExpired",className:"h-10 w-auto",style:{objectFit:"contain"}}),e.jsxs("div",{className:"leading-tight",children:[e.jsx("div",{className:"text-[18px] font-semibold tracking-[0.02em]",style:{color:"#0f172a",fontFamily:"'Inter', sans-serif"},children:"GOEXPIRED"}),e.jsx("div",{className:"text-[10px] font-semibold tracking-[0.22em] mt-0.5",style:{color:F},children:"LIMITED ACCESS"})]})]}),e.jsx("div",{className:"absolute top-5 right-5 px-3 py-1.5 rounded-md text-[11px] font-bold tracking-[0.2em]",style:{background:F,color:"#ffffff",boxShadow:"0 2px 4px rgba(37,99,235,0.35), inset 0 1px 0 rgba(255,255,255,0.25)"},children:"FREE"}),e.jsx("div",{className:"absolute left-6 top-[50%] -translate-y-1/2 w-12 h-9 rounded-[6px] overflow-hidden",style:{background:"linear-gradient(135deg, #e8c97a 0%, #c9a84c 45%, #8a6f2e 100%)",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.3)"},children:e.jsx("div",{className:"w-full h-full",style:{background:"repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0px, rgba(0,0,0,0.25) 1px, transparent 1px, transparent 6px), repeating-linear-gradient(90deg, rgba(0,0,0,0.25) 0px, rgba(0,0,0,0.25) 1px, transparent 1px, transparent 6px)"}})}),e.jsxs("div",{className:"absolute left-6 bottom-5",children:[e.jsx("div",{className:"text-[10px] font-semibold tracking-[0.22em] mb-1",style:{color:F},children:"MEMBERSHIP"}),e.jsx("div",{className:"text-[18px] font-semibold tracking-[0.04em]",style:{color:"#0f172a",fontFamily:"'Inter', sans-serif"},children:"FREE MEMBER"})]})]})}),s={bg:"#FAF9F5",surface:"#FFFFFF",ink:"#1A1A1A",inkMuted:"#6B6B68",accent:"#2563EB",accentDark:"#1D4FD8",border:"#E8E5DD"},I={fontFamily:"'Inter', system-ui, sans-serif"},B={fontFamily:"'Cormorant', serif"},Me=({user:t})=>{const[d,g]=l.useState(D(t)||""),[N,f]=l.useState(!1),[m,a]=l.useState(!1),[v,n]=l.useState(0),[x,h]=l.useState(!0),{toast:y}=T();l.useEffect(()=>{let c=!0;return(async()=>{const{data:r}=await b.from("profiles").select("display_name_changes_count").eq("id",t.id).maybeSingle();c&&(n((r==null?void 0:r.display_name_changes_count)??0),h(!1))})(),()=>{c=!1}},[t.id]);const p=v<1,j=async()=>
6{if(!d.trim()){y({title:"Name required",description:"Please enter a valid name",variant:"destructive"});return}if(!p){y({title:"Limit reached",description:"You can only change your display name once.",variant:"destructive"});return}a(!0);const{error:c}=await ie(d.trim());if(c){y({title:"Error",description:"Failed to save name. Please try again.",variant:"destructive"}),a(!1);return}await b.from("profiles").update({display_name_changes_count:v+1}).eq("id",t.id),y({title:"Success",description:"Display name saved. This change is permanent."}),a(!1),f(!1),window.location.reload()},o=D(t);return N?e.jsxs("div",{className:"space-y-3 p-3 rounded-lg",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(E,{className:"w-4 h-4",style:{color:s.inkMuted}}),e.jsx(_,{htmlFor:"displayName",style:{color:s.ink},className:"font-medium",children:"Display Name"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(S,{id:"displayName",value:d,onChange:c=>g(c.target.value),placeholder:"Enter your name",disabled:m}),e.jsx(u,{onClick:j,disabled:m||!d.trim(),style:{backgroundColor:s.accent,color:"#FFFFFF"},children:m?"Saving...":"Save"}),e.jsx(u,{variant:"outline",onClick:()=>{f(!1),g(D(t)||"")},disabled:m,children:"Cancel"})]}),e.jsx("p",{className:"text-xs",style:{color:s.inkMuted},children:"Heads up: your display name can only be changed once."})]}):e.jsxs("div",{className:"flex items-center justify-between gap-3 p-3 rounded-lg",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:[e.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[e.jsx(E,{className:"w-4 h-4 shrink-0",style:{color:s.inkMuted}}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"font-medium truncate",style:{color:s.ink},children:o||"No display name set"}),e.jsx("div",{className:"text-xs",style:{color:s.inkMuted},children:x?"Display name":p?"Display name — you can change it once":"Display name — change limit reached"})]})]}),e.jsx(u,{variant:"outline",size:"sm",onClick:()=>f(!0),disabled:!p||x,children:p?o?"Edit":"Add Name":"Locked"})]})},w=({icon:t,label:d,title:g,iconColor:N,children:f})=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(t,{className:"w-4 h-4",style:{color:s.inkMuted}}),e.jsx("h2",{className:"font-medium text-xs uppercase tracking-[0.18em]",style:{color:s.inkMuted},children:d})]}),e.jsxs("div",{className:"rounded-2xl",style:{backgroundColor:s.surface,border:`1px solid ${s.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.03)"},children:[e.jsxs("div",{className:"px-6 pt-5 pb-4 flex items-center gap-3",style:{borderBottom:`1px solid ${s.border}`},children:[e.jsx("div",{className:"p-2 rounded-lg",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:e.jsx(t,{className:"w-5 h-5",style:{color:N||s.accent}})}),e.jsx("h3",{className:"text-lg font-semibold",style:{color:s.ink},children:g})]}),e.jsx("div",{className:"px-6 py-5",children:f})]})]}),Oe=()=>{const[t,d]=l.useState(null),[g,N]=l.useState(!0),[f,m]=l.useState(!1),[a,v]=l.useState("warning"),[n,x]=l.useState(""),[h,y]=l.useState(""),[p,j]=l.useState(!1),o=W(),{toast:c}=T();Z(t);const{subscriptionData:r,loading:U,openCustomerPortal:$}=le(t);ve(t),l.useEffect(()=>{document.title="Settings - GoExpired.com",(async()=>{const{data:{user:k}}=await b.auth.getUser();if(!k){o("/auth");return}d(k),N(!1)})()},[o]);const G=async()=>{try{await b.auth.signOut(),o("/")}catch(i){c({title:"Error signing out",description:i.message,variant:"destructive"})}},R=i=>{switch(i){case"plus":return ne;case"pro":return re;default:return ae}},q=i=>{switch(i){case"plus":return"#2563EB";case"pro":return"#C9A84C";default:return s.inkMuted}},A=async()=>{try{await $()}catch(i){c({title:"Error",description:i.message||"Failed to open customer portal",variant:"destructive"})}},O=()=>o("/pricing"),Y=async()=>{if(a==="warning"){v("password");return}if(a==="password"){if(!n.trim()){c({title:"Password required",description:"Please enter your password to continue",variant:"destructive"});return}v("confirm");return}if(a==="confirm"){if(h!=="DELETE"){c({title:"Confirmation required",description:"Please type 'DELET
6E' exactly to confirm account deletion",variant:"destructive"});return}j(!0);try{const{data:{session:i}}=await b.auth.getSession();if(!i)throw new Error("No active session");const{error:k}=await b.functions.invoke("delete-user-account",{body:{password:n},headers:{Authorization:`Bearer ${i.access_token}`}});if(k)throw k;c({title:"Account deleted",description:"Your account has been permanently deleted"}),o("/")}catch(i){c({title:"Error deleting account",description:i.message||"Failed to delete account. Please try again.",variant:"destructive"})}finally{j(!1)}}},V=()=>{m(!1),v("warning"),x(""),y(""),j(!1)};if(g)return e.jsx("div",{className:"min-h-screen flex items-center justify-center",style:{backgroundColor:s.bg,color:s.ink,...I},children:e.jsx("div",{className:"text-lg",children:"Loading..."})});const H=R(r.tier);return e.jsxs("div",{className:"min-h-screen",style:{backgroundColor:s.bg,color:s.ink,...I},children:[e.jsx(X,{}),e.jsx("main",{children:e.jsxs("section",{className:"max-w-4xl mx-auto px-6 md:px-8 pt-12 md:pt-16 pb-20",children:[e.jsxs("div",{className:"mb-10",children:[e.jsx("p",{className:"text-sm uppercase tracking-[0.18em] mb-4",style:{color:s.inkMuted},children:"Your account"}),e.jsx("h1",{className:"text-5xl md:text-6xl leading-[1.05] tracking-tight mb-5",style:{...B,fontWeight:600},children:"Settings."}),e.jsx("p",{className:"text-lg md:text-xl leading-relaxed",style:{color:s.inkMuted,...B,fontWeight:500},children:"Manage your account preferences and subscription."})]}),t&&e.jsx("div",{className:"mb-10",children:r.tier==="pro"?e.jsx(Q,{user:t,isPro:!0}):e.jsxs(e.Fragment,{children:[e.jsx(Te,{}),e.jsxs("div",{className:"mt-4 text-sm",style:{color:s.inkMuted},children:["Upgrade to"," ",e.jsx("a",{href:"/gxpro",className:"font-medium underline hover:no-underline",style:{color:s.accent},children:"GX PRO"})," ","to get your own personalized membership card with your name and unique member number.",e.jsx("div",{className:"mt-1",children:e.jsx("a",{href:"/gxpro",className:"font-medium underline hover:no-underline",style:{color:s.accent},children:"See example"})})]})]})}),e.jsxs("div",{className:"space-y-8",children:[e.jsx(w,{icon:E,label:"Account info",title:"Account Information",iconColor:s.accent,children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(J,{className:"w-4 h-4",style:{color:s.inkMuted}}),e.jsx("span",{className:"font-medium",style:{color:s.ink},children:t==null?void 0:t.email})]}),e.jsx(Me,{user:t}),e.jsxs("div",{className:"text-sm",style:{color:s.inkMuted},children:["Member since"," ",new Date((t==null?void 0:t.created_at)||"").toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})]})]})}),e.jsx(w,{icon:C,label:"Current plan",title:"Current Plan",iconColor:s.accent,children:U?e.jsx("div",{style:{color:s.inkMuted},children:"Loading subscription info..."}):e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[e.jsx(H,{className:"w-5 h-5",style:{color:q(r.tier)}}),e.jsxs("span",{className:"text-lg font-bold",style:{color:s.ink},children:[r.tier.toUpperCase()," Plan"]}),r.subscription_status==="past_due"?e.jsx("span",{className:"px-3 py-1 text-xs font-medium rounded-full",style:{backgroundColor:"#FFF1E0",color:"#9A3412",border:"1px solid #F3C99A"},children:"Payment Due"}):r.subscribed?e.jsx("span",{className:"px-3 py-1 text-xs font-medium rounded-full",style:{backgroundColor:"#E8F6EE",color:"#166534",border:"1px solid #BBE5C8"},children:"Active"}):null]}),r.subscription_status==="past_due"&&e.jsx("div",{className:"text-sm rounded-lg p-3",style:{backgroundColor:"#FFF1E0",color:"#9A3412",border:"1px solid #F3C99A"},children:"Your subscription payment is past due. Please update your payment method to continue using premium features."}),r.subscription_end&&e.jsxs("div",{className:"text-sm",style:{color:s.inkMuted},children:[r.subscribed?"Next billing":"Expires",":"," ",new Date(r.subscription_end).toLocaleDateString()]}),e.jsx("div",{className:"flex flex-wrap gap-3 pt-2",children:r.subscription_status==="past_due"?e.jsxs(u,{onClick:A,style:{backgroundColor:s.accent,color:"#FFFFFF"},children:[e.jsx(C,{className:"w-4 h-4 mr-2"}),"Fix Payment"]}):r.subscribed?e.jsxs(u,{variant:"outline",onClick:A,children:[e.jsx(C,{className:"w-4 h-4 mr-2"}),"Manage Subscription"]}):e.jsxs(u,{onClick:O,style:{backgroundColor:s.accent,color:"#FFFFFF"},className:"flex items-center gap-2",children:[e.jsx(je,{className:"w-4 h-4"}),"Upgrade Plan"]})})]})}),e.jsx(w,{icon:fe,label:"Billing & usage",title:"Billing & Usage",iconColor:s.accent,children:e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsxs(u,{variant:"outline",onClick:()=>o("/pricing"),className:"flex items-center gap-2",children:[e.jsx(C,{className:"w-4 h-4"}),"View All Plans"]}),r.subscribed&&e.jsx(u,{variant:"outline",onClick:A,children:"View Billing History"})]})}),e.jsx(w,{icon:K,label:"Account actions",title:"Account Actions",iconColor:s.accent,children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-4 rounded-xl",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",style:{color:s.ink},children:"Sign Out"}),e.jsx("p",{className:"text-sm",style:{color:s.inkMuted},children:"Sign out of your GoExpired account"})]}),e.jsxs(u,{variant:"outline",onClick:G,className:"flex items-center gap-2",children:[e.jsx(ee,{className:"w-4 h-4"}),"Sign Out"]})]}),e.jsxs("div",{className:"pt-4",style:{borderTop:`1px solid ${s.border}`},children:[e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsx(M,{className:"w-4 h-4",style:{color:"#B91C1C"}}),e.jsx("h4",{className:"font-medium text-xs uppercase tracking-[0.18em]",style:{color:"#B91C1C"},children:"Danger Zone"})]}),e.jsxs("div",{className:"flex items-center justify-between p-4 rounded-xl",style:{backgroundColor:"#FEF2F2",border:"1px solid #FCA5A5"},children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",style:{color:"#7F1D1D"},children:"Delete Account"}),e.jsx("p",{className:"text-sm",style:{color:"#B91C1C"},children:"Permanently delete your account and all associated data"})]}),e.jsxs(oe,{open:f,onOpenChange:m,children:[e.jsx(ce,{asChild:!0,children:e.jsxs(u,{variant:"destructive",className:"flex items-center gap-2 font-medium",children:[e.jsx(P,{className:"w-4 h-4"}),"Delete Account"]})}),e.jsxs(de,{className:"sm:max-w-md",children:[e.jsxs(me,{children:[e.jsxs(ue,{className:"flex items-center gap-2",children:[a==="warning"&&e.jsxs(e.Fragment,{children:[e.jsx(M,{className:"w-5 h-5 text-red-600"}),"Delete Account - Warning"]}),a==="password"&&e.jsxs(e.Fragment,{children:[e.jsx(L,{className:"w-5 h-5 text-amber-600"}),"Verify Your Password"]}),a==="confirm"&&e.jsxs(e.Fragment,{children:[e.jsx(P,{className:"w-5 h-5 text-red-600"}),"Final Confirmation"]})]}),e.jsx(xe,{asChild:!0,children:e.jsxs("div",{className:"space-y-3",children:[a==="warning"&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"p-3 rounded-lg",style:{backgroundColor:"#FEF2F2",border:"1px solid #FCA5A5"},children:[e.jsx("p",{className:"font-semibold mb-2",style:{color:"#B91C1C"},children:"This action cannot be undone!"}),e.jsx("p",{className:"text-sm",style:{color:"#7F1D1D"},children:"Deleting your account will permanently remove:"})]}),e.jsxs("ul",{className:"space-y-2 text-sm list-disc pl-5",children:[e.jsx("li",{children:"All domain appraisals and history"}),e.jsx("li",{children:"Saved favorites and notes"}),e.jsx("li",{children:"Domain portfolio and management data"}),e.jsx("li",{children:"Wholesale listings"}),e.jsx("li",{children:"Account preferences and settings"}),r.subscribed&&e.jsxs(e.Fragment,{children:[e.jsx("li",{children:"Active subscription and billing history"}),e.jsx("li",{children:"Remaining tokens and purchases"})]})]}),r.subscribed&&e.jsxs("div",{className:"p-3 rounded-lg",style:{backgroundColor:"#FFFBEB",border:"1px solid #FDE68A"},children:[e.jsx("p",{className:"font-semibold mb-1",style:{color:"#92400E"},children:"Subscription Cancellation"}),e.jsx("p",{className:"text-sm",style:{color:"#92400E"},children:"Your active Stripe subscription will be immediately cancelled and you will not be charged again. All tokens, purchased features, and billing history will be permanently lost."})]})]}),a==="password"&&e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"Please enter your password to verify your identity:"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(_,{htmlFor:"delete-password",children:"Password"}),e.jsx(S,{id:"delete-password",type:"password",value:n,onChange:i=>x(i.target.value),placeholder:"Enter your password",autoFocus:!0})]})]}),a==="confirm"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"p-3 rounded-lg",style:{backgroundColor:"#FEF2F2",border:"1px solid #FCA5A5"},children:e.jsx("p",{className:"font-semibold",style:{color:"#B91C1C"},children:"Last chance to cancel!"})}),e.jsxs("p",{children:["Type ",e.jsx("strong",{children:"DELETE"}
6)," in the field below to confirm permanent account deletion:"]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(_,{htmlFor:"delete-confirm",children:"Confirmation"}),e.jsx(S,{id:"delete-confirm",type:"text",value:h,onChange:i=>y(i.target.value),placeholder:"Type DELETE to confirm",autoFocus:!0})]})]})]})})]}),e.jsxs(pe,{children:[e.jsx(he,{onClick:V,children:"Cancel"}),e.jsx(ge,{onClick:Y,disabled:p,className:"bg-red-600 hover:bg-red-700 text-white",children:p?"Deleting...":a==="warning"?"Continue":a==="password"?"Verify Password":"Delete Account Permanently"})]})]})]})]})]})]})}),e.jsx(w,{icon:ye,label:"About goexpired",title:"About GoExpired",iconColor:s.accent,children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-4 rounded-xl",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",style:{color:s.ink},children:"Frequently Asked Questions"}),e.jsx("p",{className:"text-sm",style:{color:s.inkMuted},children:"Get answers to common questions about GoExpired"})]}),e.jsxs(u,{variant:"outline",onClick:()=>o("/faq"),className:"flex items-center gap-2",children:[e.jsx(be,{className:"w-4 h-4"}),"View FAQ"]})]}),e.jsxs("div",{className:"flex items-center justify-between p-4 rounded-xl",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",style:{color:s.ink},children:"Privacy Policy"}),e.jsx("p",{className:"text-sm",style:{color:s.inkMuted},children:"Learn how we protect and handle your data"})]}),e.jsxs(u,{variant:"outline",onClick:()=>o("/privacy"),className:"flex items-center gap-2",children:[e.jsx(L,{className:"w-4 h-4"}),"View Privacy"]})]}),e.jsxs("div",{className:"flex items-center justify-between p-4 rounded-xl",style:{backgroundColor:s.bg,border:`1px solid ${s.border}`},children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",style:{color:s.ink},children:"Terms of Service"}),e.jsx("p",{className:"text-sm",style:{color:s.inkMuted},children:"Review our terms and conditions of use"})]}),e.jsxs(u,{variant:"outline",onClick:()=>o("/terms"),className:"flex items-center gap-2",children:[e.jsx(se,{className:"w-4 h-4"}),"View Terms"]})]}),e.jsxs("div",{className:"space-y-1 text-sm pt-4",style:{color:s.inkMuted,borderTop:`1px solid ${s.border}`},children:[e.jsx("p",{className:"pt-4",children:"Version 1.0.1"}),e.jsxs("p",{children:["© ",new Date().getFullYear()," GoExpired. All rights reserved."]})]})]})})]}),e.jsx("div",{className:"mt-16 text-center",children:e.jsxs("a",{href:"https://x.com/goexpired",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full px-6 py-3 transition-colors",style:{backgroundColor:s.surface,border:`1px solid ${s.border}`,color:s.ink},children:[e.jsx(E,{className:"w-4 h-4"}),e.jsx("span",{className:"text-sm font-medium",children:"Need help? Contact us on X @goexpired"})]})})]})}),e.jsx(te,{})]})};export{Oe 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.