PageSourceSearch

https://smartwine.ai/assets/EmbeddedWalletCreatedScreen-DukTPeNh-Mh28EZBM.js

js smartwine.ai collected 2026-10-05 13:48:06 UTC 1,360 bytes, 1 lines download raw bytes

1import{r as C,j as i}from"./index-DuOtGTXu.js";import{dF as x,db as S,d9 as E,da as b,dZ as j,d_ as k,d$ as A}from"./PrivyWrapper-B5uiatqN.js";import{n as W}from"./ScreenLayout-C0-QDLrO-Ojvfbyge.js";import{C as g}from"./circle-check-big-CnV-gj51.js";import"./types-Dv-HNNFk.js";import"./ModalHeader-CZOt5yCt-Cqa1mcYi.js";import"./Screen-QFrJeCJN-BbGC3EE4.js";import"./index-Dq_xe9dz-FZf8ee2k.js";import"./createLucideIcon-DHEGE1AH.js";const h=({title:e,description:r,onClose:o})=>i.jsx(W,{title:e,subtitle:r,icon:g,iconVariant:"success",watermark:!0,onBack:o}),U={component:()=>{var c;let{user:e}=x(),{closePrivyModal:r,isNewUserThisSession:o,updateWallets:n}=S(),{data:u,onUserCloseViaDialogOrKeybindRef:d}=E(),t=b(),{onSuccess:m,onFailure:p,callAuthOnSuccessOnClose:f}=u.createWallet,a=()=>{let s=k(e)??A(e);e&&s?(n(),m({user:e,account:s})):p(Error("Failed to create wallet")),r({shouldCallAuthOnSuccess:f})};C.useEffect((()=>{let s=setTimeout(a,j);return()=>clearTimeout(s)}),[]),d.current=a;let l=o&&!((((c=e==null?void 0:e.linkedAccounts)==null?void 0:c.length)??0)>1);return i.jsx(h,{title:l?"Welcome"+(t!=null&&t.name?` to ${t==null?void 0:t.name}`:""):"All set!",description:l?"You've successfully created an account.":"Your account is secured.",onClose:a})}};export{U as EmbeddedWalletCreatedScreen,h as EmbeddedWalletCreatedScreenView,U 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.