1import{I as w,P as x,s as R,b4 as S,j as f,b5 as L,B as i}from"./privy-C70SmBOt.js";import{r as l}from"./vendor-BhTrWUXb.js";import{G as N}from"./ConnectWalletView-DI1XbnRS-CdA0QdYl.js";import"./browser-1FmHklo7.js";import"./ModalHeader-D7u2VQIH-DmAvoeoM.js";import"./CopyableText-BCytXyJL-Bq-EaEVi.js";import"./check-SBXy7oYs.js";import"./createLucideIcon-CXLgQO5a.js";import"./copy-CdMqgUbJ.js";import"./Link-DJ5gq9Di-nGmhN-Ue.js";import"./QrCode-CiR-JXcV-B58JuoW7.js";import"./EmailInputForm-Dgoii4vf-wtmdWiO8.js";import"./ErrorMessage-D8VaAP5m-BelEK5rk.js";import"./useI18n-DYVQUkZY-BiO7_iY0.js";import"./WalletCards-DH1rqayz-BZd58Hn5.js";import"./Screen-yabWN6I5-CKn-9o50.js";import"./index-Dq_xe9dz-C35b9bEG.js";import"./dijkstra-COg3n3zL.js";const F={component:()=>{let{setWalletConnectionStatus:a,closePrivyModal:s,inProgressAuthFlowRef:p}=w(),{data:t,navigate:n}=x(),o=R(),r=S(),m=t?.externalConnectWallet?.description,u=l.useRef(t?.externalConnectWallet?.walletList??o.appearance.walletList),C=l.useRef(t?.externalConnectWallet?.walletChainType??o.appearance.walletChainType),W=u.current,d=C.current,E=p.current==="link"?void 0:()=>n("LandingScreen");return f.jsx(N,{walletList:W,walletChainType:d,onClose:s,onConnect:l.useCallback((({connector:e,wallet:c})=>{r("connectWallet","onSuccess",{wallet:c}),a({status:"connected",connectedWallet:c,connector:e,connectError:null,connectRetry:()=>null}),n("ConnectionStatusScreen",!t?.externalConnectWallet?.preSelectedWalletId)}),[a,n,t?.login?.disableSignup,t?.externalConnectWallet?.preSelectedWalletId]),onConnectError:e=>{e instanceof L?(console.warn(e.cause?e.cause:e.message),r("connectWallet","onError",e.privyErrorCode||i.GENERIC_CONNECT_WALLET_ERROR)):(console.warn(e),r("connectWallet","onError",i.UNKNOWN_CONNECT_WALLET_ERROR))},onBack:E,customDescription:m||"",preSelectedWalletId:t?.externalConnectWallet?.preSelectedWalletId,app:o})},isUnauthenticatedScreem:!0};export{F as AuthenticateWithWalletScreen,F as default}; 2//# sourceMappingURL=AuthenticateWithWalletScreen-Dz91viZb-CHICJ_sG.js.map
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.