PageSourceSearch

https://abs.xyz/_next/static/chunks/3458.042815c86239420c.js

js abs.xyz collected 2026-10-03 19:18:19 UTC 4,357 bytes, 32 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3458],{9862:(e,r,t)=>{t.d(r,{S:()=>n});var o=t(48988);let n=o.I4.span`
2  margin-top: 4px;
3  color: var(--privy-color-foreground);
4  text-align: center;
5
6  font-size: 0.875rem;
7  font-weight: 400;
8  line-height: 1.375rem; /* 157.143% */
9
10  && a {
11    color: var(--privy-color-accent);
12  }
13`},16444:(e,r,t)=>{t.d(r,{A:()=>n});var o=t(67513);let n=o.forwardRef(function(e,r){let{title:t,titleId:n,...l}=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},l),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"}))})},33458:(e,r,t)=>{t.r(r),t.d(r,{SetAutomaticRecoveryScreen:()=>g,default:()=>g});var o=t(44109),n=t(69434),l=t(16444),a=t(67513),i=t(38387),s=t(64205),c=t(48988),d=t(9862),u=t(56969),h=t(55730),y=t(55703),v=t(53719);t(32825),t(76131),t(92787);let f=c.I4.div`
14  && {
15    border-width: 4px;
16  }
17
18  display: flex;
19  justify-content: center;
20  align-items: center;
21  padding: 1rem;
22  aspect-ratio: 1;
23  border-style: solid;
24  border-color: ${e=>e.$color??"var(--privy-color-accent)"};
25  border-radius: 50%;
26`,g={component:()=>{let{user:e}=(0,i.u)(),{client:r,walletProxy:t,refreshSessionAndUser:c,closePrivyModal:g}=(0,y.u)(),w=(0,i.a)(),{entropyId:m,entropyIdVerifier:p}=w.data?.recoverWallet,[x,j]=(0,a.useState)(!1),[b,k]=(0,a.useState)(null),[S,E]=(0,a.useState)(null);function C(){if(!x){if(S)return w.data?.setWalletPassword?.onFailure(S),void g();if(!b)return w.data?.setWalletPassword?.onFailure(Error("User exited set recovery flow")),void g()}}return w.onUserCloseViaDialogOrKeybindRef.current=C,(0,o.jsxs)(o.Fragment,S?{children:[(0,o.jsx)(s.M,{onClose:C},"header"),(0,o.jsx)(f,{$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)(u.T,{style:{marginTop:"0.5rem"},children:"Something went wrong"}),(0,o.jsx)(v.G,{style:{minHeight:"2rem"}}),(0,o.jsx)(s.c,{onClick:()=>E(null),children:"Try again"}),(0,o.jsx)(s.B,{})]}:{children:[(0,o.jsx)(s.M,{onClose:C},"header"),(0,o.jsx)(l.A,{style:{width:"3rem",height:"3rem",alignSelf:"center"}}),(0,o.jsx)(u.T,{style:{marginTop:"0.5rem"},children:"Automatically secure your account"}),(0,o.jsx)(d.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)(v.G,{style:{minHeight:"2rem"}}),(0,o.jsx)(s.c,{loading:x,disabled:!(!x&&!b),onClick:()=>(async function(){j(!0);try{let o=await r.getAccessToken(),n=(0,i.j)(e,m);if(!o||!t||!n)return;if(!(await t.setRecovery({accessToken:o,entropyId:m,entropyIdVerifier:p,existingRecoveryMethod:n.recoveryMethod,recoveryMethod:"privy"})).entropyId)throw Error("Unable to set recovery on wallet");let l=await c();if(!l)throw Error("Unable to set recovery on wallet");let a=(0,i.j)(l,n.address);if(!a)throw Error("Unabled to set recovery on wallet");k(!!l),setTimeout(()=>{w.data?.setWalletPassword?.onSuccess(a),g()},h.q)}catch(e){E(e)}finally{j(!1)}})(),children:b?"Success":"Confirm"}),(0,o.jsx)(s.B,{})]})}}},56969:(e,r,t)=>{t.d(r,{T:()=>n});var o=t(48988);let n=o.I4.span`
27  color: var(--privy-color-foreground);
28  font-size: 1.125rem;
29  font-weight: 600;
30  line-height: 1.875rem; /* 166.667% */
31  text-align: center;
32`},69434:(e,r,t)=>{t.d(r,{A:()=>n});var o=t(67513);let n=o.forwardRef(function(e,r){let{title:t,titleId:n,...l}=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},l),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"}))})}}]);

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.