PageSourceSearch

https://arcpay.finance/_next/static/chunks/1748.3353bd10d1c6f181.js

js arcpay.finance collected 2026-10-02 01:54:42 UTC 13,347 bytes, 250 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1748],{79205:function(e,r,t){t.d(r,{Z:function(){return p}});var i=t(2265);let n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),o=e=>{let r=a(e);return r.charAt(0).toUpperCase()+r.slice(1)},l=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()},s=e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let d=(0,i.forwardRef)((e,r)=>{let{color:t="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:d="",children:p,iconNode:u,...h}=e;return(0,i.createElement)("svg",{ref:r,...c,width:n,height:n,stroke:t,strokeWidth:o?24*Number(a)/Number(n):a,className:l("lucide",d),...!p&&!s(h)&&{"aria-hidden":"true"},...h},[...u.map(e=>{let[r,t]=e;return(0,i.createElement)(r,t)}),...Array.isArray(p)?p:[p]])}),p=(e,r)=>{let t=(0,i.forwardRef)((t,a)=>{let{className:s,...c}=t;return(0,i.createElement)(d,{ref:a,iconNode:r,className:l("lucide-".concat(n(o(e))),"lucide-".concat(e),s),...c})});return t.displayName=o(e),t}},96362:function(e,r,t){t.d(r,{Z:function(){return i}});let i=(0,t(79205).Z)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},21748:function(e,r,t){t.r(r),t.d(r,{AffirmativeConsentScreen:function(){return h},AffirmativeConsentScreenView:function(){return g},default:function(){return h}});var i=t(57437);let n=(0,t(79205).Z)("file-check",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);var a=t(96362);t(2265);
1var o=t(80717),l=t(74002),s=t(28071),c=t(6140),d=t(22121),p=t(38551),u=t(23931);t(87336),t(97048),t(29155),t(64131),t(84250);let h={component:()=>{let{user:e,logout:r}=(0,d.u)(),{onUserCloseViaDialogOrKeybindRef:t,setModalData:n,navigate:a}=(0,d.a)(),o=(0,s.u)(),{acceptTerms:l,closePrivyModal:u,createAnalyticsEvent:h}=(0,c.u)(),v=e=>{e?.preventDefault(),u({shouldCallAuthOnSuccess:!1}),r()};return t.current=v,(0,i.jsx)(g,{termsAndConditionsUrl:o?.legal.termsAndConditionsUrl,privacyPolicyUrl:o?.legal.privacyPolicyUrl,onAccept:async t=>{t?.preventDefault(),await l(),e&&(0,p.s)(e,o.embeddedWallets)?(n({createWallet:{onSuccess:()=>{},onFailure:e=>{console.error(e),h({eventName:"embedded_wallet_creation_failure_logout",payload:{error:e,screen:"AffirmativeConsentScreen"}}),r()},callAuthOnSuccessOnClose:!0}}),a("EmbeddedWalletOnAccountCreateScreen")):u()},onDecline:v})}},g=({termsAndConditionsUrl:e,privacyPolicyUrl:r,onAccept:t,onDecline:o,title:s="One last step",subtitle:c="By signing up, you agree to our terms and privacy policy."})=>(0,i.jsx)(u.S,{title:s,subtitle:c,icon:n,primaryCta:{label:"Accept",onClick:t},secondaryCta:{label:"No thanks",onClick:o},watermark:!0,children:(e||r)&&(0,i.jsxs)(v,{children:[e&&(0,i.jsxs)(l.a,{variant:"muted",href:e,target:"_blank",size:"lg",style:{justifyContent:"space-between"},as:"a",children:["View Terms",(0,i.jsx)(a.Z,{width:16,height:16,strokeWidth:2.25})]}),r&&(0,i.jsxs)(l.a,{variant:"muted",href:r,target:"_blank",size:"lg",style:{justifyContent:"space-between"},as:"a",children:["View Privacy Policy",(0,i.jsx)(a.Z,{width:16,height:16,strokeWidth:2.25})]})]})}),v=o.zo.div`
2  display: flex;
3  flex-direction: column;
4  gap: 12px;
5  margin-top: var(--screen-space);
6`},57656:function(e,r,t){t.d(r,{S:function(){return j}});var i=t(57437),n=t(2265),a=t(80717),o=t(15588),l=t(74002),s=t(20278);let c=a.zo.div`
7  /* spacing tokens */
8  --screen-space: 16px; /* base 1x = 16 */
9  --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */
10
11  position: relative;
12  overflow: hidden;
13  margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */
14  height: 100%;
15  border-radius: var(--privy-border-radius-lg);
16`,d=a.zo.div`
17  display: flex;
18  flex-direction: column;
19  gap: calc(var(--screen-space) * 1.5);
20  width: 100%;
21  background: var(--privy-color-background);
22  padding: 0 var(--screen-space-lg) var(--screen-space);
23  height: 100%;
24  border-radius: var(--privy-border-radius-lg);
25`,p=a.zo.div`
26  position: relative;
27  display: flex;
28  flex-direction: column;
29`,u=(0,a.zo)(l.M)`
30  margin: 0 -8px;
31`,h=a.zo.div`
32  flex: 1 1 auto;
33  display: flex;
34  flex-direction: column;
35
36  /* Enable scrolling */
37  overflow-y: auto;
38
39  /* Hide scrollbar but keep functionality when scrollable */
40  /* Add padding for focus outline space, offset with negative margin */
41  padding: 3px;
42  margin: -3px;
43
44  &::-webkit-scrollbar {
45    display: none;
46  }
47  scrollbar-gutter: stable both-edges;
48  scrollbar-width: none;
49  -ms-overflow-style: none;
50
51  /* Gradient effect for scroll indication */
52  ${({$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}
53
54  background-repeat: no-repeat;
55  background-size:
56    100% 32px,
57    100% 16px;
58  background-attachment: local, scroll;
59`,g=a.zo.div`
60  display: flex;
61  flex-direction: column;
62  gap: var(--screen-space-lg);
63  margin-top: 1.5rem;
64`,v=a.zo.div`
65  text-align: center;
66  display: flex;
67  flex-direction: column;
68  align-items: center;
69  gap: var(--screen-space);
70`,f=a.zo.div`
71  display: flex;
72  flex-direction: column;
73  gap: 4px;
74`,x=a.zo.h3`
75  && {
76    font-size: 20px;
77    line-height: 32px;
78    font-weight: 500;
79    color: var(--privy-color-foreground);
80    margin: 0;
81  }
82`,m=a.zo.p`
83  && {
84    margin: 0;
85    font-size: 16px;
86    font-weight: 300;
87    line-height: 24px;
88    color: var(--privy-color-foreground);
89  }
90`,y=a.zo.div`
91  background: ${({$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)"}}};
92
93  border-radius: 50%;
94  width: 64px;
95  height: 64px;
96  display: flex;
97  align-items: center;
98  justify-content: center;
99`,b=a.zo.div`
100  display: flex;
101  align-items: center;
102  justify-content: center;
103
104  img,
105  svg {
106    max-height: 90px;
107    max-width: 180px;
108  }
109`,w=a.zo.div`
110  display: flex;
111  flex-direction: column;
112  justify-content: center;
113  align-items: center;
114  width: 100%;
115  height: 82px;
116
117  > div {
118    position: relative;
119  }
120
121  > div > :first-child {
122    position: relative;
123  }
124
125  > div > :last-child {
126    position: absolute;
127    left: 50%;
128    top: 50%;
129    transform: translate(-50%, -50%);
130  }
131`,j=({children:e,...r})=>(0,i.jsx)(c,{children:(0,i.jsx)(d,{...r,children:e})}),k=a.zo.div`
132  position: absolute;
133  top: 0;
134  left: calc(-1 * var(--screen-space-lg));
135  width: calc(100% + calc(var(--screen-space-lg) * 2));
136  height: 4px;
137  background: var(--privy-color-background-2);
138  border-top-left-radius: inherit;
139  border-top-right-radius: inherit;
140  overflow: hidden;
141`,z=(0,a.zo)(l.B)`
142  padding: 0;
143  && a {
144    padding: 0;
145    color: var(--privy-color-foreground-3);
146  }
147`,C=a.zo.div`
148  height: 100%;
149  width: ${({pct:e})=>e}%;
150  background: var(--privy-color-foreground-3);
151  border-radius: 2px;
152  transition: width 300ms ease-in-out;
153`,A=({step:e})=>e?(0,i.jsx)(k,{children:(0,i.jsx)(C,{pct:Math.min(100,e.current/e.total*100)})}):null;j.Header=({title:e,subtitle:r,icon:t,iconVariant:n,iconLoadingStatus:a,showBack:o,onBack:l,showInfo:s,onInfo:c,showClose:d,onClose:h,step:g,headerTitle:y,...b})=>(0,i.jsxs)(p,{...b,children:[(0,i.jsx)(u,{backFn:o?l:void 0,infoFn:s?c:void 0,onClose:d?h:void 0,title:y,closeable:d}),(t||n||e||r)&&(0,i.jsxs)(v,{children:[t||n?(0,i.jsx)(j.Icon,{icon:t,variant:n,loadingStatus:a}):null,!(!e&&!r)&&(0,i.jsxs)(f,{children:[e&&(0,i.jsx)(x,{children:e}),r&&(0,i.jsx)(m,{children:r})]})]}),g&&(0,i.jsx)(A,{step:g})]}),(j.Body=n.forwardRef(({children:e,...r},t)=>(0,i.jsx)(h,{ref:t,...r,children:e}))).displayName="Screen.Body",j.Footer=({children:e,...r})=>(0,i.jsx)(g,{id:"privy-content-footer-container",...r,children:e}),j.Actions=({children:e,...r})=>(0,i.jsx)(S,{...r,children:e}),j.HelpText=({children:e,...r})=>(0,i.jsx)(E,{...r,children:e}),j.FooterText=({children:e,...r})=>(0,i.jsx)(N,{...r,children:e}),j.Watermark=()=>(0,i.jsx)(z,{}),j.Icon=({icon:e,variant:r="subtle",loadingStatus:t})=>"logo"===r&&e?(0,i.jsx)(b,"string"==typeof e?{children:(0,i.jsx)("img",{src:e,alt:""})}:n.isValidElement(e)?{children:e}:{children:n.createElement(e)}):"loading"===r?e?(0,i.jsx)(w,{children:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,i.jsx)(o.N,{success:t?.success,fail:t?.fail}),"string"==typeof e?(0,i.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):n.isValidElement(e)?n.cloneElement(e,{style:{width:"38px",height:"38px"}}):n.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,i.jsx)(y,{$variant:r,children:(0,i.jsx)(s.N,{size:"64px"})}):(0,i.jsx)(y,{$variant:r,children:e&&("string"==typeof e?(0,i.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):n.isValidElement(e)?e:n.createElement(e,{width:32,height:32,stroke:(()=>{switch(r){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 S=a.zo.div`
154  width: 100%;
155  display: flex;
156  flex-direction: column;
157  gap: calc(var(--screen-space) / 2);
158`,E=a.zo.div`
159  && {
160    margin: 0;
161    width: 100%;
162    text-align: center;
163    color: var(--privy-color-foreground-2);
164    font-size: 13px;
165    line-height: 20px;
166
167    & a {
168      text-decoration: underline;
169    }
170  }
171`,N=a.zo.div`
172  && {
173    margin-top: -1rem;
174    width: 100%;
175    text-align: center;
176    color: var(--privy-color-foreground-2);
177    font-size: 0.6875rem; // 11px
178    line-height: 1rem; // 16px
179  }
180`},23931:function(e,r,t){t.d(r,{S:function(){return o}});var i=t(57437),n=t(74002),a=t(57656);let o=({primaryCta:e,secondaryCta:r,helpText:t,footerText:o,watermark:l=!0,children:s,...c})=>{let d=e||r?(0,i.jsxs)(i.Fragment,{children:[e&&(()=>{let{label:r,...t}=e,a=t.variant||"primary";return(0,i.jsx)(n.a,{...t,variant:a,style:{width:"100%",...t.style},children:r})})(),r&&(()=>{let{label:e,...t}=r,a=t.variant||"secondary";return(0,i.jsx)(n.a,{...t,variant:a,style:{width:"100%",...t.style},children:e})})()]}):null;return(0,i.jsxs)(a.S,{id:c.id,className:c.className,children:[(0,i.jsx)(a.S.Header,{...c}),s?(0,i.jsx)(a.S.Body,{children:s}):null,t||d||l?(0,i.jsxs)(a.S.Footer,{children:[t?(0,i.jsx)(a.S.HelpText,{children:t}):null,d?(0,i.jsx)(a.S.Actions,{children:d}):null,l?(0,i.jsx)(a.S.Watermark,{}):null]}):null,o?(0,i.jsx)(a.S.FooterText,{children:o}):null]})}},20278:function(e,r,t){t.d(r,{N:function(){return a}});var i=t(57437),n=t(80717);let a=({size:e,centerIcon:r})=>(0,i.jsx)(o,{$size:e,children:(0,i.jsxs)(l,{children:[(0,i.jsx)(c,{}),(0,i.jsx)(d,{}),r?(0,i.jsx)(s,{children:r}):null]})}),o=n.zo.div`
181  --spinner-size: ${e=>e.$size?e.$size:"96px"};
182
183  display: inline-flex;
184  justify-content: center;
185  align-items: center;
186
187  @media all and (display-mode: standalone) {
188    margin-bottom: 30px;
189  }
190`,l=n.zo.div`
191  position: relative;
192  height: var(--spinner-size);
193  width: var(--spinner-size);
194
195  opacity: 1;
196  animation: fadein 200ms ease;
197`,s=n.zo.div`
198  position: absolute;
199  top: 0;
200  right: 0;
201  bottom: 0;
202  left: 0;
203  display: flex;
204  align-items: center;
205  justify-content: center;
206  svg,
207  img {
208    width: calc(var(--spinner-size) * 0.4);
209    height: calc(var(--spinner-size) * 0.4);
210    border-radius: var(--privy-border-radius-full);
211  }
212`,c=n.zo.div`
213  position: absolute;
214  top: 0;
215  right: 0;
216  bottom: 0;
217  left: 0;
218  width: var(--spinner-size);
219  height: var(--spinner-size);
220
221  && {
222    border: 4px solid var(--privy-color-border-default);
223    border-radius: 50%;
224  }
225`,d=n.zo.div`
226  position: absolute;
227  top: 0;
228  right: 0;
229  bottom: 0;
230  left: 0;
231  width: var(--spinner-size);
232  height: var(--spinner-size);
233  animation: spin 1200ms linear infinite;
234
235  && {
236    border: 4px solid;
237    border-color: var(--privy-color-icon-subtle) transparent transparent transparent;
238    border-radius: 50%;
239  }
240
241  @keyframes spin {
242    from {
243      transform: rotate(0deg);
244    }
245    to {
246      transform: rotate(360deg);
247    }
248  }
249`},38551:function(e,r,t){t.d(r,{s:function(){return n}});var i=t(6540);let n=(e,r)=>(0,i.s)(e,r.ethereum.createOnLogin)||(0,i.k)(e,r.solana.createOnLogin)}}]);
250//# sourceMappingURL=1748.3353bd10d1c6f181.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.