PageSourceSearch

https://dynamic-lebkuchen-0238db.netlify.app/static/js/180.a1c1d849.chunk.js

js dynamic-lebkuchen-0238db.netlify.app collected 2026-10-03 10:40:38 UTC 25,401 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[180],{4026:(e,r,n)=>{n.d(r,{A:()=>l});var i=n(15882),t=n(57722);const o=["title","titleId"];function a(e,r){let{title:n,titleId:a}=e,l=(0,i.A)(e,o);return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},l),n?t.createElement("title",{id:a},n):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"}))}const l=t.forwardRef(a)},12228:(e,r,n)=>{n.d(r,{L:()=>s});var i=n(24107),t=n(15882),o=n(90034),a=n(52610);const l=["size","variant","disabled","as","children","onClick"];let c=a.I4.a.withConfig({displayName:"StyledLink",componentId:"sc-c8577138-0"})(["&&{color:",";font-weight:400;text-decoration:",";text-underline-offset:4px;text-decoration-thickness:1px;cursor:",";opacity:",";font-size:",";line-height:",";transition:color 200ms ease,text-decoration-color 200ms ease,opacity 200ms ease;&:hover{color:",";text-decoration:",";text-underline-offset:4px;}&:active{color:",";}&:focus{outline:none;box-shadow:0 0 0 3px #949df9;border-radius:2px;}}"],e=>{let{$variant:r}=e;return"underlined"===r?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))"},e=>{let{$variant:r}=e;return"underlined"===r?"underline":"var(--privy-link-navigation-decoration, none)"},e=>{let{$disabled:r}=e;return r?"not-allowed":"pointer"},e=>{let{$disabled:r}=e;return r?.5:1},e=>{let{$size:r}=e;switch(r){case"xs":return"12px";case"sm":return"14px";default:return"16px"}},e=>{let{$size:r}=e;switch(r){case"xs":return"18px";case"sm":return"22px";default:return"24px"}},e=>{let{$variant:r,$disabled:n}=e;return"underlined"===r?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))"},e=>{let{$disabled:r}=e;return r?"none":"underline"},e=>{let{$variant:r,$disabled:n}=e;return n?"underlined"===r?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))":"var(--privy-color-foreground)"});const s=e=>{let{size:r="md",variant:n="navigation",disabled:a=!1,as:s,children:d,onClick:p}=e,u=(0,t.A)(e,l);return(0,o.jsx)(c,(0,i.A)((0,i.A)({as:s,$size:r,$variant:n,$disabled:a,onClick:e=>{a?e.preventDefault():null===p||void 0===p||p(e)}},u),{},{children:d}))}},23316:(e,r,n)=>{n.d(r,{S:()=>p});var i=n(24107),t=n(15882),o=n(90034),a=n(67980),l=n(43122);const c=["primaryCta","secondaryCta","helpText","watermark","children"],s=["label"],d=["label"],p=e=>{let{primaryCta:r,secondaryCta:n,helpText:p,watermark:u=!0,children:v}=e,m=(0,t.A)(e,c),h=r||n?(0,o.jsxs)(o.Fragment,{children:[r&&(()=>{let{label:e}=r,n=(0,t.A)(r,s),l=n.variant||"primary";return(0,o.jsx)(a.B,(0,i.A)((0,i.A)({},n),{},{variant:l,style:(0,i.A)({width:"100%"},n.style),children:e}))})(),n&&(()=>{let{label:e}=n,r=(0,t.A)(n,d),l=r.variant||"secondary";return(0,o.jsx)(a.B,(0,i.A)((0,i.A)({},r),{},{variant:l,style:(0,i.A)({width:"100%"},r.style),children:e}))})()]}):null;return(0,o.jsxs)(l.S,{id:m.id,className:m.className,children:[(0,o.jsx)(l.S.Header,(0,i.A)({},m)),v?(0,o.jsx)(l.S.Body,{children:v}):null,p||h||u?(0,o.jsxs)(l.S.Footer,{children:[p?(0,o.jsx)(l.S.HelpText,{children:p}):null,h?(0,o.jsx)(l.S.Actions,{children:h}):null,u?(0,o.jsx)(l.S.Watermark,{}):null]}):null]})}},30180:(e,r,n)=>{n.r(r),n.d(r,{AwaitingPasswordlessCodeScreen:()=>N,AwaitingPasswordlessCodeScreenView:()=>b,default:()=>N});var i=n(90034),t=n(15882),o=n(57722);const a=["title","titleId"];function l(e,r){let{title:n,titleId:i}=e,l=(0,t.A)(e,a);return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),n?o.createElement("title",{id:i},n):null,o.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))}const c=o.forwardRef(l);var s=n(31866),d=n(4026),p=n(2035),u=n(52610),v=n(60229),m=n(12228),h=n(99844),f=n(51380),g=n(49931),x=n(47098),y=n(23316);n(88404),n(30549),n(82425),n(82595);const b=e=>{let{contactMethod:r,authFlow:n,appName:t="Privy",whatsAppEnabled:a=!1,onBack:l,onCodeSubmit:u,onResend:h,errorMessage:f,success:g=!1,resendCountdown:x=0,onInvalidInput:b,onClearError:I}=e,[A,j]=(0,o.useState)(C);(0,o.useEffect)(()=>{f||j(C)},[f]);let k=async e=>{var r;e.preventDefault();let n=e.currentTarget.value.replace(" ","");if(""===n)return;if(isNaN(Number(n)))return void(null===b||void 0===b||b("Code should be numeric"));null===I||void 0===I||I();let i=Number(null===(r=e.currentTarget.name)||void 0===r?void 0:r.charAt(5)),t=[...n||[""]].slice(0,w-i),o=[...A.slice(0,i),...t,...A.slice(i+t.length)];j(o);let a=Math.min(Math.max(i+t.length,0),w-1);if(!isNaN(Number(e.currentTarget.value))){let e=document.querySelector("input[name=code-".concat(a,"]"));null===e||void 0===e||e.focus()}if(o.every(e=>e&&!isNaN(+e))){let e=document.querySelector("input[name=code-".concat(a,"]"));null!==e&&void 0!==e&&e.blur(),await(null===u||void 0===u?void 0:u(o.join("")))}};return(0,i.jsx)(y.S,{title:"Enter confirmation code",subtitle:(0,i.jsxs)("span","email"===n?{children:["Please check ",(0,i.jsx)(_,{children:r}
1)," for an email from privy.io and enter your code below."]}:{children:["Please check ",(0,i.jsx)(_,{children:r})," for a",a?" WhatsApp":""," message from ",t," and enter your code below."]}),icon:"email"===n?s.A:d.A,onBack:l,showBack:!0,helpText:(0,i.jsxs)(R,{children:[(0,i.jsxs)("span",{children:["Didn't get ","email"===n?"an email":"a message","?"]}),x?(0,i.jsxs)(L,{children:[(0,i.jsx)(c,{color:"var(--privy-color-foreground)",strokeWidth:1.33,height:"12px",width:"12px"}),(0,i.jsx)("span",{children:"Code sent"})]}):(0,i.jsx)(m.L,{as:"button",size:"sm",onClick:h,children:"Resend code"})]}),children:(0,i.jsx)(S,{children:(0,i.jsx)(v.H,{children:(0,i.jsxs)(E,{children:[(0,i.jsx)("div",{children:A.map((e,r)=>(0,i.jsx)("input",{name:"code-".concat(r),type:"text",value:A[r],onChange:k,onKeyUp:e=>{"Backspace"===e.key&&(e=>{if(null!==I&&void 0!==I&&I(),j([...A.slice(0,e),"",...A.slice(e+1)]),e>0){let r=document.querySelector("input[name=code-".concat(e-1,"]"));null===r||void 0===r||r.focus()}})(r)},inputMode:"numeric",autoFocus:0===r,pattern:"[0-9]",className:"".concat(g?"success":""," ").concat(f?"fail":""),autoComplete:p.Fr?"one-time-code":"off"},r))}),(0,i.jsx)(T,{$fail:!!f,$success:g,children:(0,i.jsx)("span",{children:"Invalid or expired verification code"===f?"Incorrect code":f||(g?"Success!":"")})})]})})})})};let w=6,C=Array(6).fill("");var I,A,j=((I=j||{})[I.RESET_AFTER_DELAY=0]="RESET_AFTER_DELAY",I[I.CLEAR_ON_NEXT_VALID_INPUT=1]="CLEAR_ON_NEXT_VALID_INPUT",I),k=((A=k||{})[A.EMAIL=0]="EMAIL",A[A.SMS=1]="SMS",A);const N={component:()=>{var e,r,n;let{navigate:t,lastScreen:a,navigateBack:l,setModalData:c,onUserCloseViaDialogOrKeybindRef:s}=(0,g.a)(),d=(0,h.u)(),{closePrivyModal:p,resendEmailCode:u,resendSmsCode:v,getAuthMeta:m,loginWithCode:y,updateWallets:w,createAnalyticsEvent:C}=(0,f.u)(),{authenticated:I,logout:A,user:j}=(0,g.u)(),{whatsAppEnabled:k}=(0,h.u)(),[N,S]=(0,o.useState)(!1),[E,T]=(0,o.useState)(null),[R,L]=(0,o.useState)(null),[_,z]=(0,o.useState)(0);s.current=()=>null;let B=null!==(e=m())&&void 0!==e&&e.email?0:1,F=0===B?(null===(r=m())||void 0===r?void 0:r.email)||"":(null===(n=m())||void 0===n?void 0:n.phoneNumber)||"",M=h.q-500;return(0,o.useEffect)(()=>{if(_){let e=setTimeout(()=>{z(_-1)},1e3);return()=>clearTimeout(e)}},[_]),(0,o.useEffect)(()=>{if(I&&N&&j){if(null!==d&&void 0!==d&&d.legal.requireUsersAcceptTerms&&!j.hasAcceptedTerms){let e=setTimeout(()=>{t("AffirmativeConsentScreen")},M);return()=>clearTimeout(e)}if((0,x.s)(j,d.embeddedWallets)){let e=setTimeout(()=>{c({createWallet:{onSuccess:()=>{},onFailure:e=>{console.error(e),C({eventName:"embedded_wallet_creation_failure_logout",payload:{error:e,screen:"AwaitingPasswordlessCodeScreen"}}),A()},callAuthOnSuccessOnClose:!0}}),t("EmbeddedWalletOnAccountCreateScreen")},M);return()=>clearTimeout(e)}{w();let e=setTimeout(()=>p({shouldCallAuthOnSuccess:!0,isSuccess:!0}),h.q);return()=>clearTimeout(e)}}},[I,N,j]),(0,o.useEffect)(()=>{if(E&&0===R){let e=setTimeout(()=>{T(null),L(null);let e=document.querySelector("input[name=code-0]");null===e||void 0===e||e.focus()},1400);return()=>clearTimeout(e)}},[E,R]),(0,i.jsx)(b,{contactMethod:F,authFlow:0===B?"email":"sms",appName:null===d||void 0===d?void 0:d.name,whatsAppEnabled:k,onBack:()=>l(),onCodeSubmit:async e=>{try{await y(e),S(!0)}catch(e){if(e instanceof f.e&&e.privyErrorCode===f.b.INVALID_CREDENTIALS)T("Invalid or expired verification code"),L(0);else if(e instanceof f.e&&e.privyErrorCode===f.b.CANNOT_LINK_MORE_OF_TYPE)T(e.message);else{var r,n,i,o;if(e instanceof f.e&&e.privyErrorCode===f.b.USER_LIMIT_REACHED)return console.error(new f.j(e).toString()),void t("UserLimitReachedScreen");if(e instanceof f.e&&e.privyErrorCode===f.b.USER_DOES_NOT_EXIST)return void t("AccountNotFoundScreen");if(e instanceof f.e&&e.privyErrorCode===f.b.LINKED_TO_ANOTHER_USER)return c({errorModalData:{error:e,previousScreen:null!==a&&void 0!==a?a:"AwaitingPasswordlessCodeScreen"}}),void t("ErrorScreen",!1);if(e instanceof f.e&&e.privyErrorCode===f.b.DISALLOWED_PLUS_EMAIL)return c({inlineError:{error:e}}),void t("ConnectOrCreateScreen",!1);if(e instanceof f.e&&e.privyErrorCode===f.b.ACCOUNT_TRANSFER_REQUIRED&&null!==(r=e.data)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&r.nonce)return c({accountTransfer:{nonce:null===(n=e.data)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.nonce,account:F,displayName:null===(i=e.data)||void 0===i||null===(i=i.data)||void 0===i||null===(i=i.account)||void 0===i?void 0:i.displayName,linkMethod:0===B?"email":"sms",embeddedWalletAddress:null===(o=e.data)||void 0===o||null===(o=o.data)||void 0===o||null===(o=o.otherUser)||void 0===o?void 0:o.embeddedWalletAddress}}),void t("LinkConflictScreen");T("Issue verifying code"),L(0)}}},onResend:async()=>{z(30),0===B?await u():await v()},errorMessage:E||void 0,success:N,resendCountdown:_,onInvalidInput:e=>{T(e),L(1)},onClearError:()=>{1===R&&(T(null),L(null))}})}};let S=u.I4.div.withConfig({displayName:"PasswordlessCodeContainer",componentId:"sc-6187bfee-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin:auto;gap:16px;flex-grow:1;width:100%;"]),E=u.I4.div.withConfig({displayName:"CodeInput",componentId:"sc-6187bfee-1"})(["display:flex;flex-direction:column;width:100%;gap:12px;> div:first-child{display:flex;justify-content:center;gap:0.5rem;width:100%;border-radius:var(--privy-border-radius-sm);> input{border:1px solid var(--privy-color-foreground-4);background:var(--privy-color-background);border-radius:var(--privy-border-radius-sm);padding:8px 10px;height:48px;width:40px;text-align:center;font-size:18px;font-weight:600;color:var(--privy-color-foreground);transition:all 0.2s ease;}> input:focus{border:1px solid var(--privy-color-foreground);box-shadow:0 0 0 1px var(--privy-color-foreground);}> input:invalid{border:1px solid var(--privy-color-error);}> input.success{border:1px solid var(--privy-color-border-success);background:var(--privy-color-success-bg);}> input.fail{border:1px solid var(--privy-color-border-error);background:var(--privy-color-error-bg);animation:shake 180ms;animation-iteration-count:2;}}@keyframes shake{0%{transform:translate(1px,0px);}33%{transform:translate(-1px,0px);}67%{transform:translate(-1px,0px);}100%{transform:translate(1px,0px);}}"]),T=u.I4.div.withConfig({displayName:"InputHelp",componentId:"sc-6187bfee-2"})(["line-height:20px;min-height:20px;font-size:14px;font-weight:400;color:",";display:flex;justify-content:center;width:100%;text-align:center;"],e=>e.$success?"var(--privy-color-success-dark)":e.$fail?"var(--privy-color-error-dark)":"transparent"),R=u.I4.div.withConfig({displayName:"HelpTextContainer",componentId:"sc-6187bfee-3"})(["display:flex;gap:8px;align-items:center;justify-content:center;width:100%;color:var(--privy-color-foreground-2);"]),L=u.I4.div.withConfig({displayName:"Badge",componentId:"sc-6187bfee-4"})(["display:flex;align-items:center;justify-content:center;border-radius:var(--privy-border-radius-sm);padding:2px 8px;gap:4px;background:var(--privy-color-background-2);color:var(--privy-color-foreground-2);"]),_=u.I4.span.withConfig({displayName:"BoldWrappingSpan",componentId:"sc-6187bfee-5"})(["font-weight:500;word-break:break-all;color:var(--privy-color-foreground);"])},31866:(e,r,n)=>{n.d(r,{A:()=>l});var i=n(15882),t=n(57722);const o=["title","titleId"];function a(e,r){let{title:n,titleId:a}=e,l=(0,i.A)(e,o);return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},l),n?t.createElement("title",{id:a},n):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))}const l=t.forwardRef(a)},43122:(e,r,n)=>{n.d(r,{S:()=>T});var i=n(24107),t=n(15882),o=n(90034),a=n(57722),l=n(52610),c=n(1991),s=n(33898),d=n(76107);const p=["children"],u=["title","subtitle","icon","iconVariant","iconLoadingStatus","showBack","onBack","
1showInfo","onInfo","showClose","onClose","step"],v=["children"],m=["children"],h=["children"],f=["children"],g=l.I4.div.withConfig({displayName:"ScreenRoot",componentId:"sc-2e815abe-0"})(["--screen-space:16px;--screen-space-lg:calc(var(--screen-space) * 1.5);position:relative;overflow:hidden;margin:0 calc(-1 * var(--screen-space));height:100%;border-radius:var(--privy-border-radius-lg);"]),x=l.I4.div.withConfig({displayName:"ScreenRootInner",componentId:"sc-2e815abe-1"})(["display:flex;flex-direction:column;gap:calc(var(--screen-space) * 1.5);width:100%;background:var(--privy-color-background);padding:0 var(--screen-space-lg) var(--screen-space);height:100%;border-radius:var(--privy-border-radius-lg);"]),y=l.I4.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),b=(0,l.I4)(s.M).withConfig({displayName:"StyledModalHeader",componentId:"sc-2e815abe-3"})(["margin:0 -8px;"]),w=l.I4.div.withConfig({displayName:"BodyContainer",componentId:"sc-2e815abe-4"})(["flex:1 1 auto;display:flex;flex-direction:column;overflow-y:auto;padding:3px;margin:-3px;&::-webkit-scrollbar{display:none;}scrollbar-gutter:stable both-edges;scrollbar-width:none;-ms-overflow-style:none;"," background-repeat:no-repeat;background-size:100% 32px,100% 16px;background-attachment:local,scroll;"],e=>{let{$colorScheme:r}=e;return"light"===r?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":"dark"===r?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0}),C=l.I4.div.withConfig({displayName:"FooterContainer",componentId:"sc-2e815abe-5"})(["display:flex;flex-direction:column;gap:var(--screen-space-lg);"]);let I=l.I4.div.withConfig({displayName:"CenteredHeader",componentId:"sc-2e815abe-6"})(["text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--screen-space);"]),A=l.I4.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),j=l.I4.h3.withConfig({displayName:"HeaderTitle",componentId:"sc-2e815abe-8"})(["&&{font-size:20px;line-height:32px;font-weight:500;color:var(--privy-color-foreground);margin:0;}"]),k=l.I4.p.withConfig({displayName:"HeaderSubtitle",componentId:"sc-2e815abe-9"})(["&&{margin:0;font-size:16px;font-weight:300;line-height:24px;color:var(--privy-color-foreground);}"]),N=l.I4.div.withConfig({displayName:"IconContainer",componentId:"sc-2e815abe-10"})(["background:",";border-radius:50%;width:64px;height:64px;display:flex;align-items:center;justify-content:center;"],e=>{let{$variant:r}=e;switch(r){case"success":return"var(--privy-color-success-bg, #EAFCEF)";case"warning":return"var(--privy-color-warn, #FEF3C7)";case"error":return"var(--privy-color-error-bg, #FEE2E2)";case"loading":case"logo":return"transparent";default:return"var(--privy-color-background-2)"}}),S=l.I4.div.withConfig({displayName:"LogoContainer",componentId:"sc-2e815abe-11"})(["display:flex;align-items:center;justify-content:center;margin-bottom:var(--screen-space);img,svg{max-height:90px;max-width:180px;}"]),E=l.I4.div.withConfig({displayName:"LoadingWithIconContainer",componentId:"sc-2e815abe-12"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > :first-child{position:relative;}> div > :last-child{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}"]);const T=e=>{let{children:r}=e,n=(0,t.A)(e,p);return(0,o.jsx)(g,{children:(0,o.jsx)(x,(0,i.A)((0,i.A)({},n),{},{children:r}))})};let R=l.I4.div.withConfig({displayName:"ProgressBarContainer",componentId:"sc-2e815abe-13"})(["position:absolute;top:0;left:calc(-1 * var(--screen-space-lg));width:calc(100% + calc(var(--screen-space-lg) * 2));height:4px;background:var(--privy-color-background-2);border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden;"]),L=(0,l.I4)(s.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),_=l.I4.div.withConfig({displayName:"ProgressBarFill",componentId:"sc-2e815abe-15"}
1)(["height:100%;width:","%;background:var(--privy-color-foreground-3);border-radius:2px;transition:width 300ms ease-in-out;"],e=>{let{pct:r}=e;return r}),z=e=>{let{step:r}=e;return r?(0,o.jsx)(R,{children:(0,o.jsx)(_,{pct:Math.min(100,r.current/r.total*100)})}):null};T.Header=e=>{let{title:r,subtitle:n,icon:a,iconVariant:l,iconLoadingStatus:c,showBack:s,onBack:d,showInfo:p,onInfo:v,showClose:m,onClose:h,step:f}=e,g=(0,t.A)(e,u);return(0,o.jsxs)(y,(0,i.A)((0,i.A)({},g),{},{children:[(0,o.jsx)(b,{backFn:s?d:void 0,infoFn:p?v:void 0,onClose:m?h:void 0,closeable:m}),(a||l||r||n)&&(0,o.jsxs)(I,{children:[a||l?(0,o.jsx)(T.Icon,{icon:a,variant:l,loadingStatus:c}):null,(0,o.jsxs)(A,{children:[r&&(0,o.jsx)(j,{children:r}),n&&(0,o.jsx)(k,{children:n})]})]}),f&&(0,o.jsx)(z,{step:f})]}))},(T.Body=a.forwardRef((e,r)=>{let{children:n}=e,a=(0,t.A)(e,v);return(0,o.jsx)(w,(0,i.A)((0,i.A)({ref:r},a),{},{children:n}))})).displayName="Screen.Body",T.Footer=e=>{let{children:r}=e,n=(0,t.A)(e,m);return(0,o.jsx)(C,(0,i.A)((0,i.A)({id:"privy-content-footer-container"},n),{},{children:r}))},T.Actions=e=>{let{children:r}=e,n=(0,t.A)(e,h);return(0,o.jsx)(B,(0,i.A)((0,i.A)({},n),{},{children:r}))},T.HelpText=e=>{let{children:r}=e,n=(0,t.A)(e,f);return(0,o.jsx)(F,(0,i.A)((0,i.A)({},n),{},{children:r}))},T.Watermark=()=>(0,o.jsx)(L,{}),T.Icon=e=>{let{icon:r,variant:n="subtle",loadingStatus:i}=e;return"logo"===n&&r?(0,o.jsx)(S,"string"==typeof r?{children:(0,o.jsx)("img",{src:r,alt:""})}:a.isValidElement(r)?{children:r}:{children:a.createElement(r)}):"loading"===n?r?(0,o.jsx)(E,{children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(c.a4,{success:null===i||void 0===i?void 0:i.success,fail:null===i||void 0===i?void 0:i.fail}),"string"==typeof r?(0,o.jsx)("span",{style:{background:"url('".concat(r,"') 0 0 / contain"),height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):a.isValidElement(r)?a.cloneElement(r,{style:{width:"38px",height:"38px"}}):a.createElement(r,{style:{width:"38px",height:"38px"}})]})}):(0,o.jsx)(N,{$variant:n,children:(0,o.jsx)(d.N,{size:"64px"})}):(0,o.jsx)(N,{$variant:n,children:r&&("string"==typeof r?(0,o.jsx)("img",{src:r,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):a.isValidElement(r)?r:a.createElement(r,{width:32,height:32,stroke:(()=>{switch(n){case"success":return"var(--privy-color-icon-success)";case"warning":return"var(--privy-color-icon-warning)";case"error":return"var(--privy-color-icon-error)";default:return"var(--privy-color-icon-muted)"}})(),strokeWidth:2}))})};let B=l.I4.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),F=l.I4.p.withConfig({displayName:"HelpTextContainer",componentId:"sc-2e815abe-17"})(["&&{margin:0;width:100%;text-align:center;color:var(--privy-color-foreground-3);font-size:14px;line-height:22px;& a{color:var(--privy-color-accent);}}"])},47098:(e,r,n)=>{n.d(r,{s:()=>t});var i=n(78055);const t=(e,r)=>(0,i.s)(e,r.ethereum.createOnLogin)||(0,i.k)(e,r.solana.createOnLogin)},60229:(e,r,n)=>{n.d(r,{B:()=>t,C:()=>l,F:()=>s,H:()=>a,R:()=>v,S:()=>p,a:()=>d,b:()=>u,c:()=>c,d:()=>m,e:()=>o});var i=n(52610);const t=i.I4.div.withConfig({displayName:"BottomPusherContainer",componentId:"sc-cb963810-0"})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;margin-top:auto;gap:16px;flex-grow:100;"]),o=i.I4.div.withConfig({displayName:"CenteredItem",componentId:"sc-cb963810-1"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;flex-grow:1;width:100%;"]),a=i.I4.div.withConfig({displayName:"HorizontallyCenteredItem",componentId:"sc-cb963810-2"})(["display:flex;flex-direction:column;align-items:center;width:100%;"]),l=(0,i.I4)(o).withConfig({displayName:"CenteredItemWithPadding",componentId:"sc-cb963810-3"})(["padding:20px 0;"]),c=(0,i.I4)(o).withConfig({displayName:"CenteredItemWithGap",componentId:"sc-cb963810-4"})(["gap:16px;"]),s=i.I4.div.withConfig({displayName:"FlexContainer",componentId:"sc-cb963810-5"})(["display:flex;flex-direction:column;width:100%;"]),d=i.I4.div.withConfig({displayName:"FixedGappedContainer",componentId:"sc-cb963810-6"})(["display:flex;flex-direction:column;gap:8px;"]),p=i.I4.div.withConfig({displayName:"StyledCalloutSection",componentId:"sc-cb963810-8"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;padding:16px;margin-top:16px;margin-bottom:16px;width:100%;background:var(--privy-color-background-2);border-radius:var(--privy-border-radius-md);&& h4{color:var(--privy-color-foreground-3);font-size:14px;text-decoration:underline;font-weight:medium;}&& p{color:var(--privy-color-foreground-3);font-size:14px;}"]),u=i.I4.div.withConfig({displayName:"RefactorSpacerTop",componentId:"sc-cb963810-9"})(["height:16px;"]),v=i.I4.div.withConfig({displayName:"RefactorSpacerBottom",componentId:"sc-cb963810-10"}
1)(["height:12px;"]),m=i.I4.div.withConfig({displayName:"ConfigurableSpacer",componentId:"sc-cb963810-12"})(["height:","px;"],e=>{var r;return null!==(r=e.height)&&void 0!==r?r:"12"})},76107:(e,r,n)=>{n.d(r,{N:()=>o});var i=n(90034),t=n(52610);const o=e=>{let{size:r,centerIcon:n}=e;return(0,i.jsx)(a,{$size:r,children:(0,i.jsxs)(l,{children:[(0,i.jsx)(s,{}),(0,i.jsx)(d,{}),n?(0,i.jsx)(c,{children:n}):null]})})};let a=t.I4.div.withConfig({displayName:"LoadingContainer",componentId:"sc-ebc93df8-0"})(["--spinner-size:",";display:inline-flex;justify-content:center;align-items:center;@media all and (display-mode:standalone){margin-bottom:30px;}"],e=>e.$size?e.$size:"96px"),l=t.I4.div.withConfig({displayName:"SpinnerContainer",componentId:"sc-ebc93df8-1"})(["position:relative;height:var(--spinner-size);width:var(--spinner-size);opacity:1;animation:fadein 200ms ease;"]),c=t.I4.div.withConfig({displayName:"CenterIconContainer",componentId:"sc-ebc93df8-2"})(["position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;svg,img{width:calc(var(--spinner-size) * 0.4);height:calc(var(--spinner-size) * 0.4);border-radius:var(--privy-border-radius-full);}"]),s=t.I4.div.withConfig({displayName:"CircleFixed",componentId:"sc-ebc93df8-3"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);&&{border:4px solid var(--privy-color-border-default);border-radius:50%;}"]),d=t.I4.div.withConfig({displayName:"CircleRotate",componentId:"sc-ebc93df8-4"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);animation:spin 1200ms linear infinite;&&{border:4px solid;border-color:var(--privy-color-icon-subtle) transparent transparent transparent;border-radius:50%;}@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}"])}}]);
2//# sourceMappingURL=180.a1c1d849.chunk.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.