1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8892],{54037:function(e,i,n){n.d(i,{S:function(){return C}});var t=n(27573),o=n(7653),r=n(91628),a=n(50800),l=n(75593),s=n(29981);let c=r.zo.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);"]),d=r.zo.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);"]),p=r.zo.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),h=(0,r.zo)(l.M).withConfig({displayName:"StyledModalHeader",componentId:"sc-2e815abe-3"})(["margin:0 -8px;"]),g=r.zo.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;"],({$colorScheme:e})=>"light"===e?"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"===e?"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),u=r.zo.div.withConfig({displayName:"FooterContainer",componentId:"sc-2e815abe-5"})(["display:flex;flex-direction:column;gap:var(--screen-space-lg);"]),m=r.zo.div.withConfig({displayName:"CenteredHeader",componentId:"sc-2e815abe-6"})(["text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--screen-space);"]),v=r.zo.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),f=r.zo.h3.withConfig({displayName:"HeaderTitle",componentId:"sc-2e815abe-8"})(["&&{font-size:20px;line-height:32px;font-weight:500;color:var(--privy-color-foreground);margin:0;}"]),x=r.zo.p.withConfig({displayName:"HeaderSubtitle",componentId:"sc-2e815abe-9"})(["&&{margin:0;font-size:16px;font-weight:300;line-height:24px;color:var(--privy-color-foreground);}"]),b=r.zo.div.withConfig({displayName:"IconContainer",componentId:"sc-2e815abe-10"})(["background:",";border-radius:50%;width:64px;height:64px;display:flex;align-items:center;justify-content:center;"],({$variant:e})=>{switch(e){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)"}}),y=r.zo.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;}"]),w=r.zo.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%);}"]),C=({children:e,...i})=>(0,t.jsx)(c,{children:(0,t.jsx)(d,{...i,children:e})}),j=r.zo.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;"]),z=(0,r.zo)(l.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),k=r.zo.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;"],({pct:e})=>e),I=({step:e})=>e?(0,t.jsx)(j,{children:(0,t.jsx)(k,{pct:Math.min(100,e.current/e.total*100)})}):null;C.Header=({title:e,subtitle:i,icon:n,iconVariant:o,iconLoadingStatus:r,showBack:a,onBack:l,showInfo:s,onInfo:c,showClose:d,onClose:g,step:u,...b})=>(0,t.jsxs)(p,{...b,children:[(0,t.jsx)(h,{backFn:a?l:void 0,infoFn:s?c:void 0,onClose:d?g:void 0,closeable:d}),(n||o||e||i)&&(0,t.jsxs)(m,{children:[n||o?(0,t.jsx)(C.Icon,{icon:n,variant:o,loadingStatus:r}):null,(0,t.jsxs)(v,{children:[e&&(0,t.jsx)(f,{children:e}),i&&(0,t.jsx)(x,{children:i})]})]}),u&&(0,t.jsx)(I,{step:u})]}),(C.Body=o.forwardRef(({children:e,...i},n)=>(0,t.jsx)(g,{ref:n,...i,children:e}))).displayName="Screen.Body",C.Footer=({children:e,...i})=>(0,t.jsx)(u,{id:"privy-content-footer-container",...i,children:e}),C.Actions=({children:e,...i})=>(0,t.jsx)(N,{...i,children:e}),C.HelpText=({children:e,...i})=>(0,t.jsx)(S,{...i,children:e}),C.Watermark=()=>(0,t.jsx)(z,{}),C.Icon=({icon:e,variant:i="subtle",loadingStatus:n})=>"logo"===i&&e?(0,t.jsx)(y,"string"==typeof e?{children:(0,t.jsx)("img",{src:e,alt:""})}:o.isValidElement(e)?{children:e}:{children:o.createElement(e)}):"loading"===i?e?(0,t.jsx)(w,{children:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,t.jsx)(a.a4,{success:n?.success,fail:n?.fail}),"string"==typeof e?(0,t.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):o.isValidElement(e)?o.cloneElement(e,{style:{width:"38px",height:"38px"}}):o.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,t.jsx)(b,{$variant:i,children:(0,t.jsx)(s.N,{size:"64px"})}):(0,t.jsx)(b,{$variant:i,children:e&&("string"==typeof e?(0,t.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):o.isValidElement(e)?e:o.createElement(e,{width:32,height:32,stroke:(()=>{switch(i){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 N=r.zo.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),S=r.zo.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);}}"])},68150:function(e,i,n){n.d(i,{S:function(){return a}});var t=n(27573),o=n(81781),r=n(54037);let a=({primaryCta:e,secondaryCta:i,helpText:n,watermark:a=!0,children:l,...s})=>{let c=e||i?(0,t.jsxs)(t.Fragment,{children:[e&&(()=>{let{label:i,...n}=e,r=n.variant||"primary";return(0,t.jsx)(o.B,{...n,variant:r,style:{width:"100%",...n.style},children:i})})(),i&&(()=>{let{label:e,...n}=i,r=n.variant||"secondary";return(0,t.jsx)(o.B,{...n,variant:r,style:{width:"100%",...n.style},children:e})})()]}):null;return(0,t.jsxs)(r.S,{id:s.id,className:s.className,children:[(0,t.jsx)(r.S.Header,{...s}),l?(0,t.jsx)(r.S.Body,{children:l}):null,n||c||a?(0,t.jsxs)(r.S.Footer,{children:[n?(0,t.jsx)(r.S.HelpText,{children:n}):null,c?(0,t.jsx)(r.S.Actions,{children:c}):null,a?(0,t.jsx)(r.S.Watermark,{}):null]}):null]})}},38892:function(e,i,n){n.r(i),n.d(i,{WalletInterstitialScreen:function(){return s},WalletInterstitialScreenView:function(){return l},default:function(){return s}});var t=n(27573),o=n(7653),r=n(36170),a=n(68150);n(69021),n(26996),n(97347);let l=({title:e,subtitle:i,buttonText:n,buttonHref:o,isLoading:r=!1,helpText:l,onButtonClick:s})=>(0,t.jsx)(a.S,{title:e,subtitle:i,primaryCta:{label:n,onClick:()=>{o&&window.open(o,"_self"),s?.()},disabled:r},helpText:l,watermark:!0}),s={component:()=>{let{ready:e}=(0,r.u)(),{data:i}=(0,r.a)(),[n,a]=(0,o.useState)(!1);if(!i?.installWalletModalData)throw Error("Wallet data is missing");let{walletConfig:s,connectOnly:c,chainType:d}=i.installWalletModalData,p=s.getMobileRedirect({useUniversalLink:!n,isSolana:"solana"===d,connectOnly:c}),h=s.name.replace(/ wallet/gi,""),g={title:`Redirecting to ${h} Mobile Wallet`,description:`We'll take you to the ${h} Mobile Wallet app to continue your login experience.`,footnote:""};return e&&(g.description=`For the best experience, we'll automatically log you into the ${h} Mobile Wallet in-app browser.`,g.footnote="You can always return here to login via other methods."),n&&(g.title="Still here?",g.description=`You may need to install the ${s.name} mobile app.`,g.footnote=`Once you're done, you can connect with ${s.name} wallet to complete the login.`),(0,t.jsx)(l,{title:g.title,subtitle:g.description,buttonText:n?"Go to App Store":"Continue",buttonHref:p,isLoading:e&&!p,helpText:g.footnote||void 0,onButtonClick:()=>{setTimeout(()=>a(!0),1e3)}})}}},29981:function(e,i,n){n.d(i,{N:function(){return r}});var t=n(27573),o=n(91628);let r=({size:e,centerIcon:i})=>(0,t.jsx)(a,{$size:e,children:(0,t.jsxs)(l,{children:[(0,t.jsx)(c,{}),(0,t.jsx)(d,{}),i?(0,t.jsx)(s,{children:i}):null]})}),a=o.zo.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=o.zo.div.withConfig({displayName:"SpinnerContainer",componentId:"sc-ebc93df8-1"})(["position:relative;height:var(--spinner-size);width:var(--spinner-size);opacity:1;animation:fadein 200ms ease;"]),s=o.zo.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);}"]),c=o.zo.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=o.zo.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);}}"])}}]);
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.