import"./rolldown-runtime.js";import{n as e,t}from"./jsx-runtime.js";import{Vt as n,j as r}from"./useActiveWallet-CEs8euQ3.js";import{k as i}from"./context-Cdw68BC2.js";import{t as a}from"./modal-context-DHfp-mFQ.js";import{t as o}from"./createLucideIcon.js";import{t as s}from"./ScreenLayout-Dy-3vlz4.js";var c=o(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),l=t();e(),r();var u=({title:e=`Account not found`,subtitle:t,appName:n=`this app`,ctaText:r=`Try logging in again`,onRetry:i})=>(0,l.jsx)(s,{title:e,subtitle:t||`Please try logging in again or go to ${n} to create an account.`,icon:c,iconVariant:`warning`,primaryCta:{label:r,onClick:i},watermark:!0}),d={component:()=>{let{navigate:e,setModalData:t,data:r}=a(),o=i(),{getAuthMeta:s,client:c}=n();return(0,l.jsx)(u,{appName:o?.name,onRetry:()=>{let n=s();t({...r,login:{...r?.login,...n?.disableSignup?{disableSignup:!0}:{}}}),c?.authFlow&&(c.authFlow=void 0),e(`LandingScreen`)}})}};export{d as AccountNotFoundScreen,d as default,u as AccountNotFoundScreenView};