PageSourceSearch

https://socatis.ai/_next/static/chunks/19341.7df1a613a399c18c.js

js socatis.ai collected 2026-10-05 15:11:00 UTC 12,676 bytes, 244 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19341],{3585:(e,r,i)=>{i.d(r,{S:()=>o});var t=i(47465),a=i(77837),n=i(57296);let o=({primaryCta:e,secondaryCta:r,helpText:i,footerText:o,watermark:s=!0,children:l,...c})=>{let d=e||r?(0,t.jsxs)(t.Fragment,{children:[e&&(()=>{let{label:r,...i}=e,n=i.variant||"primary";return(0,t.jsx)(a.a,{...i,variant:n,style:{width:"100%",...i.style},children:r})})(),r&&(()=>{let{label:e,...i}=r,n=i.variant||"secondary";return(0,t.jsx)(a.a,{...i,variant:n,style:{width:"100%",...i.style},children:e})})()]}):null;return(0,t.jsxs)(n.S,{id:c.id,className:c.className,children:[(0,t.jsx)(n.S.Header,{...c}),l?(0,t.jsx)(n.S.Body,{children:l}):null,i||d||s?(0,t.jsxs)(n.S.Footer,{children:[i?(0,t.jsx)(n.S.HelpText,{children:i}):null,d?(0,t.jsx)(n.S.Actions,{children:d}):null,s?(0,t.jsx)(n.S.Watermark,{}):null]}):null,o?(0,t.jsx)(n.S.FooterText,{children:o}):null]})}},19341:(e,r,i)=>{i.r(r),i.d(r,{PasskeySelectSignupOrLogin:()=>d,PasskeySelectSignupOrLoginView:()=>c,default:()=>d});var t=i(47465),a=i(86175),n=i(28966),o=i(21256),s=i(12882),l=i(3585);i(7485),i(73852),i(28668),i(51182),i(58669),i(30285);let c=({title:e="Log in or create a new account?",subtitle:r="Create a new account with a passkey or use a passkey to log in to an existing account.",onSignup:i,onLogin:n})=>(0,t.jsx)(l.S,{title:e,subtitle:r,icon:a.A,primaryCta:{label:"Create new account",onClick:i},secondaryCta:{label:"Log in with a passkey",onClick:n},watermark:!0}),d={component:()=>{let{enabled:e,token:r}=(0,n.a)(),{navigate:i,setModalData:a}=(0,s.a)(),{initSignupWithPasskey:l,initLoginWithPasskey:d}=(0,o.u)();return(0,t.jsx)(c,{onSignup:async()=>{e&&!r?(a({passkeyAuthModalData:{passkeySignupFlow:!0},captchaModalData:{callback:e=>l({captchaToken:e,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:"PasskeyStatusScreen",onErrorNavigateTo:"ErrorScreen"}}),i("CaptchaScreen")):(await l({withPrivyUi:!0,captchaToken:r}),a({passkeyAuthModalData:{passkeySignupFlow:!0}}),i("PasskeyStatusScreen"))},onLogin:async()=>{e&&!r?(a({passkeyAuthModalData:{passkeySignupFlow:!1},captchaModalData:{callback:e=>d({captchaToken:e,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:"PasskeyStatusScreen",onErrorNavigateTo:"ErrorScreen"}}),i("CaptchaScreen")):(await d({withPrivyUi:!0,captchaToken:r}),a({passkeyAuthModalData:{passkeySignupFlow:!1}}),i("PasskeyStatusScreen"))}})}}},34969:(e,r,i)=>{i.d(r,{A:()=>l});var t=i(7485);let a=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,i)=>i?i.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},n=function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return r.filter((e,r,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===r).join(" ").trim()};var o={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 s=(0,t.forwardRef)((e,r)=>{let{color:i="currentColor",size:a=24,strokeWidth:s=2,absoluteStrokeWidth:l,className:c="",children:d,iconNode:p,...h}=e;return(0,t.createElement)("svg",{ref:r,...o,width:a,height:a,stroke:i,strokeWidth:l?24*Number(s)/Number(a):s,className:n("lucide",c),...!d&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(h)&&{"aria-hidden":"true"},...h},[...p.map(e=>{let[r,i]=e;return(0,t.createElement)(r,i)}),...Array.isArray(d)?d:[d]])}),l=(e,r)=>{let i=(0,t.forwardRef)((i,o)=>{let{className:l,...c}=i;return(0,t.createElement)(s,{ref:o,iconNode:r,className:n("lucide-".concat(a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),l),...c})});return i.displayName=a(e),i}},57296:(e,r,i)=>{i.d(r,{S:()=>w});var t=i(47465),a=i(7485),n=i(38082),o=i(11652),s=i(77837),l=i(93268);let c=n.I4.div`
2  /* spacing tokens */
3  --screen-space: 16px; /* base 1x = 16 */
4  --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */
5
6  position: relative;
7  overflow: hidden;
8  margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */
9  height: 100%;
10  border-radius: var(--privy-border-radius-lg);
11`,d=n.I4.div`
12  display: flex;
13  flex-direction: column;
14  gap: calc(var(--screen-space) * 1.5);
15  width: 100%;
16  background: var(--privy-color-background);
17  padding: 0 var(--screen-space-lg) var(--screen-space);
18  height: 100%;
19  border-radius: var(--privy-border-radius-lg);
20`,p=n.I4.div`
21  position: relative;
22  display: flex;
23  flex-direction: column;
24`,h=(0,n.I4)(s.M)`
25  margin: 0 -8px;
26`,g=n.I4.div`
27  flex: 1 1 auto;
28  display: flex;
29  flex-direction: column;
30
31  /* Enable scrolling */
32  overflow-y: auto;
33
34  /* Hide scrollbar but keep functionality when scrollable */
35  /* Add padding for focus outline space, offset with negative margin */
36  padding: 3px;
37  margin: -3px;
38
39  &::-webkit-scrollbar {
40    display: none;
41  }
42  scrollbar-gutter: stable both-edges;
43  scrollbar-width: none;
44  -ms-overflow-style: none;
45
46  /* Gradient effect for scroll indication */
47  ${({$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}
48
49  background-repeat: no-repeat;
50  background-size:
51    100% 32px,
52    100% 16px;
53  background-attachment: local, scroll;
54`,u=n.I4.div`
55  display: flex;
56  flex-direction: column;
57  gap: var(--screen-space-lg);
58  margin-top: 1.5rem;
59`,v=n.I4.div`
60  text-align: center;
61  display: flex;
62  flex-direction: column;
63  align-items: center;
64  gap: var(--screen-space);
65`,x=n.I4.div`
66  display: flex;
67  flex-direction: column;
68  gap: 4px;
69`,y=n.I4.h3`
70  && {
71    font-size: 20px;
72    line-height: 32px;
73    font-weight: 500;
74    color: var(--privy-color-foreground);
75    margin: 0;
76  }
77`,f=n.I4.p`
78  && {
79    margin: 0;
80    font-size: 16px;
81    font-weight: 300;
82    line-height: 24px;
83    color: var(--privy-color-foreground);
84  }
85`,m=n.I4.div`
86  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)"}}};
87
88  border-radius: 50%;
89  width: 64px;
90  height: 64px;
91  display: flex;
92  align-items: center;
93  justify-content: center;
94`,b=n.I4.div`
95  display: flex;
96  align-items: center;
97  justify-content: center;
98
99  img,
100  svg {
101    max-height: 90px;
102    max-width: 180px;
103  }
104`,k=n.I4.div`
105  display: flex;
106  flex-direction: column;
107  justify-content: center;
108  align-items: center;
109  width: 100%;
110  height: 82px;
111
112  > div {
113    position: relative;
114  }
115
116  > div > :first-child {
117    position: relative;
118  }
119
120  > div > :last-child {
121    position: absolute;
122    left: 50%;
123    top: 50%;
124    transform: translate(-50%, -50%);
125  }
126`,w=({children:e,...r})=>(0,t.jsx)(c,{children:(0,t.jsx)(d,{...r,children:e})}),j=n.I4.div`
127  position: absolute;
128  top: 0;
129  left: calc(-1 * var(--screen-space-lg));
130  width: calc(100% + calc(var(--screen-space-lg) * 2));
131  height: 4px;
132  background: var(--privy-color-background-2);
133  border-top-left-radius: inherit;
134  border-top-right-radius: inherit;
135  overflow: hidden;
136`,S=(0,n.I4)(s.B)`
137  padding: 0;
138  && a {
139    padding: 0;
140    color: var(--privy-color-foreground-3);
141  }
142`,I=n.I4.div`
143  height: 100%;
144  width: ${({pct:e})=>e}%;
145  background: var(--privy-color-foreground-3);
146  border-radius: 2px;
147  transition: width 300ms ease-in-out;
148`,C=({step:e})=>e?(0,t.jsx)(j,{children:(0,t.jsx)(I,{pct:Math.min(100,e.current/e.total*100)})}):null;w.Header=({title:e,subtitle:r,icon:i,iconVariant:a,iconLoadingStatus:n,showBack:o,onBack:s,showInfo:l,onInfo:c,showClose:d,onClose:g,step:u,headerTitle:m,...b})=>(0,t.jsxs)(p,{...b,children:[(0,t.jsx)(h,{backFn:o?s:void 0,infoFn:l?c:void 0,onClose:d?g:void 0,title:m,closeable:d}),(i||a||e||r)&&(0,t.jsxs)(v,{children:[i||a?(0,t.jsx)(w.Icon,{icon:i,variant:a,loadingStatus:n}):null,!(!e&&!r)&&(0,t.jsxs)(x,{children:[e&&(0,t.jsx)(y,{children:e}),r&&(0,t.jsx)(f,{children:r})]})]}),u&&(0,t.jsx)(C,{step:u})]}),(w.Body=a.forwardRef(({children:e,...r},i)=>(0,t.jsx)(g,{ref:i,...r,children:e}))).displayName="Screen.Body",w.Footer=({children:e,...r})=>(0,t.jsx)(u,{id:"privy-content-footer-container",...r,children:e}),w.Actions=({children:e,...r})=>(0,t.jsx)(E,{...r,children:e}),w.HelpText=({children:e,...r})=>(0,t.jsx)(z,{...r,children:e}),w.FooterText=({children:e,...r})=>(0,t.jsx)(A,{...r,children:e}),w.Watermark=()=>(0,t.jsx)(S,{}),w.Icon=({icon:e,variant:r="subtle",loadingStatus:i})=>"logo"===r&&e?(0,t.jsx)(b,"string"==typeof e?{children:(0,t.jsx)("img",{src:e,alt:""})}:a.isValidElement(e)?{children:e}:{children:a.createElement(e)}):"loading"===r?e?(0,t.jsx)(k,{children:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,t.jsx)(o.N,{success:i?.success,fail:i?.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"}}):a.isValidElement(e)?a.cloneElement(e,{style:{width:"38px",height:"38px"}}):a.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,t.jsx)(m,{$variant:r,children:(0,t.jsx)(l.N,{size:"64px"})}):(0,t.jsx)(m,{$variant:r,children:e&&("string"==typeof e?(0,t.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):a.isValidElement(e)?e:a.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 E=n.I4.div`
149  width: 100%;
150  display: flex;
151  flex-direction: column;
152  gap: calc(var(--screen-space) / 2);
153`,z=n.I4.div`
154  && {
155    margin: 0;
156    width: 100%;
157    text-align: center;
158    color: var(--privy-color-foreground-2);
159    font-size: 13px;
160    line-height: 20px;
161
162    & a {
163      text-decoration: underline;
164    }
165  }
166`,A=n.I4.div`
167  && {
168    margin-top: -1rem;
169    width: 100%;
170    text-align: center;
171    color: var(--privy-color-foreground-2);
172    font-size: 0.6875rem; // 11px
173    line-height: 1rem; // 16px
174  }
175`},86175:(e,r,i)=>{i.d(r,{A:()=>t});let t=(0,i(34969).A)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}
175],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]])},93268:(e,r,i)=>{i.d(r,{N:()=>n});var t=i(47465),a=i(38082);let n=({size:e,centerIcon:r})=>(0,t.jsx)(o,{$size:e,children:(0,t.jsxs)(s,{children:[(0,t.jsx)(c,{}),(0,t.jsx)(d,{}),r?(0,t.jsx)(l,{children:r}):null]})}),o=a.I4.div`
176  --spinner-size: ${e=>e.$size?e.$size:"96px"};
177
178  display: inline-flex;
179  justify-content: center;
180  align-items: center;
181
182  @media all and (display-mode: standalone) {
183    margin-bottom: 30px;
184  }
185`,s=a.I4.div`
186  position: relative;
187  height: var(--spinner-size);
188  width: var(--spinner-size);
189
190  opacity: 1;
191  animation: fadein 200ms ease;
192`,l=a.I4.div`
193  position: absolute;
194  top: 0;
195  right: 0;
196  bottom: 0;
197  left: 0;
198  display: flex;
199  align-items: center;
200  justify-content: center;
201  svg,
202  img {
203    width: calc(var(--spinner-size) * 0.4);
204    height: calc(var(--spinner-size) * 0.4);
205    border-radius: var(--privy-border-radius-full);
206  }
207`,c=a.I4.div`
208  position: absolute;
209  top: 0;
210  right: 0;
211  bottom: 0;
212  left: 0;
213  width: var(--spinner-size);
214  height: var(--spinner-size);
215
216  && {
217    border: 4px solid var(--privy-color-border-default);
218    border-radius: 50%;
219  }
220`,d=a.I4.div`
221  position: absolute;
222  top: 0;
223  right: 0;
224  bottom: 0;
225  left: 0;
226  width: var(--spinner-size);
227  height: var(--spinner-size);
228  animation: spin 1200ms linear infinite;
229
230  && {
231    border: 4px solid;
232    border-color: var(--privy-color-icon-subtle) transparent transparent transparent;
233    border-radius: 50%;
234  }
235
236  @keyframes spin {
237    from {
238      transform: rotate(0deg);
239    }
240    to {
241      transform: rotate(360deg);
242    }
243  }
244`}}]);

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.