PageSourceSearch

https://beta.gatewayz.ai/_next/static/chunks/1289.949dfd01ddc3f283.js

js gatewayz.ai collected 2026-10-05 13:48:04 UTC 4,804 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8b5990c1-d7af-43c3-8ac7-05123853e4d5",e._sentryDebugIdIdentifier="sentry-dbid-8b5990c1-d7af-43c3-8ac7-05123853e4d5")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1289],{474:(e,r,t)=>{t.d(r,{S:()=>o});let o=t(47056).I4.span.withConfig({displayName:"Subtitle",componentId:"sc-7a11f796-0"})(["margin-top:4px;color:var(--privy-color-foreground);text-align:center;font-size:0.875rem;font-weight:400;line-height:1.375rem;&& a{color:var(--privy-color-accent);}"])},2351:(e,r,t)=>{t.d(r,{A:()=>n});var o=t(62694);let n=o.forwardRef(function(e,r){let{title:t,titleId:n,...i}=e;return o.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":n},i),t?o.createElement("title",{id:n},t):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))})},17163:(e,r,t)=>{t.d(r,{A:()=>n});var o=t(62694);let n=o.forwardRef(function(e,r){let{title:t,titleId:n,...i}=e;return o.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":n},i),t?o.createElement("title",{id:n},t):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))})},59757:(e,r,t)=>{t.d(r,{T:()=>o});let o=t(47056).I4.span.withConfig({displayName:"Title",componentId:"sc-66de63c-0"})(["color:var(--privy-color-foreground);font-size:1.125rem;font-weight:600;line-height:1.875rem;text-align:center;"])},81289:(e,r,t)=>{t.r(r),t.d(r,{SetAutomaticRecoveryScreen:()=>w,default:()=>w});var o=t(82470),n=t(2351),i=t(17163),l=t(62694),a=t(25552),s=t(92225),c=t(1055),d=t(47056),u=t(474),y=t(59757),f=t(59549),h=t(31913),g=t(67929);t(45620),t(13268),t(47559);let v=d.I4.div.withConfig({displayName:"WithCircleBorder",componentId:"sc-e4fc5563-0"})(["&&{border-width:4px;}display:flex;justify-content:center;align-items:center;padding:1rem;aspect-ratio:1;border-style:solid;border-color:",";border-radius:50%;"],e=>e.$color??"var(--privy-color-accent)"),w={component:()=>{let{user:e}=(0,a.u)(),{client:r,walletProxy:t,refreshSessionAndUser:d,closePrivyModal:w}=(0,h.u)(),p=(0,a.a)(),{entropyId:m,entropyIdVerifier:b}=p.data?.recoverWallet,[x,j]=(0,l.useState)(!1),[k,I]=(0,l.useState)(null),[C,S]=(0,l.useState)(null);function E(){if(!x){if(C)return p.data?.setWalletPassword?.onFailure(C),void w();if(!k)return p.data?.setWalletPassword?.onFailure(Error("User exited set recovery flow")),void w()}}return p.onUserCloseViaDialogOrKeybindRef.current=E,(0,o.jsxs)(o.Fragment,C?{children:[(0,o.jsx)(c.M,{onClose:E},"header"),(0,o.jsx)(v,{$color:"var(--privy-color-error)",style:{alignSelf:"center"},children:(0,o.jsx)(n.A,{height:38,width:38,stroke:"var(--privy-color-error)"})}),(0,o.jsx)(y.T,{style:{marginTop:"0.5rem"},children:"Something went wrong"}),(0,o.jsx)(g.Y,{style:{minHeight:"2rem"}}),(0,o.jsx)(s.a,{onClick:()=>S(null),children:"Try again"}),(0,o.jsx)(c.B,{})]}:{children:[(0,o.jsx)(c.M,{onClose:E},"header"),(0,o.jsx)(i.A,{style:{width:"3rem",height:"3rem",alignSelf:"center"}}),(0,o.jsx)(y.T,{style:{marginTop:"0.5rem"},children:"Automatically secure your account"}),(0,o.jsx)(u.S,{style:{marginTop:"1rem"},children:"When you log into a new device, you’ll only need to authenticate to access your account. Never get logged out if you forget your password."}),(0,o.jsx)(g.Y,{style:{minHeight:"2rem"}}),(0,o.jsx)(s.a,{loading:x,disabled:!(!x&&!k),onClick:()=>(async function(){j(!0);try{let o=await r.getAccessToken(),n=(0,a.h)(e,m);if(!o||!t||!n)return;if(!(await t.setRecovery({accessToken:o,entropyId:m,entropyIdVerifier:b,existingRecoveryMethod:n.recoveryMethod,recoveryMethod:"privy"})).entropyId)throw Error("Unable to set recovery on wallet");let i=await d();if(!i)throw Error("Unable to set recovery on wallet");let l=(0,a.h)(i,n.address);if(!l)throw Error("Unabled to set recovery on wallet");I(!!i),setTimeout(()=>{p.data?.setWalletPassword?.onSuccess(l),w()},f.q)}catch(e){S(e)}finally{j(!1)}})(),children:k?"Success":"Confirm"}),(0,o.jsx)(c.B,{})]})}}}}]);

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.