1!function(){try{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]="9a6c56e4-e395-44fa-bf60-e81cbf8c5e19",e._sentryDebugIdIdentifier="sentry-dbid-9a6c56e4-e395-44fa-bf60-e81cbf8c5e19")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3577],{834:(e,r,i)=>{i.d(r,{E:()=>n,I:()=>d,a:()=>l});var o=i(60308),t=i(55211);let a=o.I4.label` 2 display: block; 3 position: relative; 4 width: 100%; 5 height: 56px; 6 7 && > :first-child { 8 position: absolute; 9 left: 0.75em; 10 top: 50%; 11 transform: translate(0, -50%); 12 } 13 14 && > input { 15 font-size: 16px; 16 line-height: 24px; 17 color: var(--privy-color-foreground); 18 19 padding: 12px 88px 12px 52px; 20 flex-grow: 1; 21 background: var(--privy-color-background); 22 border: 1px solid 23 ${({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)"}; 24 border-radius: var(--privy-border-radius-md); 25 width: 100%; 26 height: 100%; 27 28 /* Tablet and Up */ 29 @media (min-width: 441px) { 30 font-size: 14px; 31 padding-right: 78px; 32 } 33 34 :focus { 35 outline: none; 36 border-color: ${({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-accent-light)"}; 37 box-shadow: ${({$error:e})=>e?"none":"0 0 0 1px var(--privy-color-accent-light)"}; 38 } 39 40 :autofill, 41 :-webkit-autofill { 42 background: var(--privy-color-background); 43 } 44 45 && > input::placeholder { 46 color: var(--privy-color-foreground-3); 47 } 48 &:disabled { 49 opacity: 0.4; /* Make it visually appear disabled */ 50 cursor: not-allowed; /* Change cursor to not-allowed */ 51 } 52 &:disabled, 53 &:disabled:hover, 54 &:disabled > span { 55 color: var(--privy-color-foreground-3); /* Change text color to grey */ 56 } 57 } 58 59 && > button:last-child { 60 right: 0px; 61 line-height: 24px; 62 padding: 13px 17px; 63 :focus { 64 outline: none; 65 } 66 &:disabled { 67 opacity: 0.4; /* Make it visually appear disabled */ 68 cursor: not-allowed; /* Change cursor to not-allowed */ 69 } 70 &:disabled, 71 &:disabled:hover, 72 &:disabled > span { 73 color: var(--privy-color-foreground-3); /* Change text color to grey */ 74 } 75 } 76`,n=(0,o.I4)(a)` 77 background-color: var(--privy-color-background); 78 transition: background-color 200ms ease; 79 80 && > button { 81 right: 0; 82 line-height: 24px; 83 position: absolute; 84 padding: 13px 17px; 85 background-color: #090; 86 87 :focus { 88 outline: none; 89 border-color: var(--privy-color-accent); 90 } 91 } 92`,l=(0,o.I4)(a)` 93 && > input { 94 overflow: hidden; 95 white-space: nowrap; 96 text-overflow: ellipsis; 97 98 padding-right: ${e=>e.$stacked?"16px":"88px"}; 99 100 border: 1px solid 101 ${({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)"}; 102 103 && > input::placeholder { 104 color: var(--privy-color-foreground-3); 105 } 106 } 107 108 && > :last-child { 109 right: 16px; 110 position: absolute; 111 top: 50%; 112 transform: translate(0, -50%); 113 } 114 115 && > button:last-child { 116 right: 0px; 117 line-height: 24px; 118 padding: 13px 17px; 119 120 :focus { 121 outline: none; 122 } 123 } 124`,d=o.I4.div` 125 width: 100%; 126 127 /* Add styling for the ErrorMessage within EmailInput */ 128 && > ${t.E} { 129 display: block; 130 text-align: left; 131 padding-left: var(--privy-border-radius-md); 132 padding-bottom: 5px; 133 } 134`},23664:(e,r,i)=>{i.d(r,{A:()=>o});let o=(0,i(71847).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},50090:(e,r,i)=>{i.d(r,{A:()=>t});var o=i(12115);let t=o.forwardRef(function(e,r){let{title:i,titleId:t,...a}=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":t},a),i?o.createElement("title",{id:t},i):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))})}
134,55211:(e,r,i)=>{i.d(r,{E:()=>t});var o=i(60308);let t=o.I4.span` 135 text-align: left; 136 font-size: 0.75rem; 137 font-weight: 500; 138 line-height: 1.125rem; /* 150% */ 139 140 color: var(--privy-color-error); 141`},71629:(e,r,i)=>{i.d(r,{S:()=>k});var o=i(95155),t=i(12115),a=i(60308),n=i(55552),l=i(86229),d=i(95204);let s=a.I4.div` 142 /* spacing tokens */ 143 --screen-space: 16px; /* base 1x = 16 */ 144 --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */ 145 146 position: relative; 147 overflow: hidden; 148 margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */ 149 height: 100%; 150 border-radius: var(--privy-border-radius-lg); 151`,c=a.I4.div` 152 display: flex; 153 flex-direction: column; 154 gap: calc(var(--screen-space) * 1.5); 155 width: 100%; 156 background: var(--privy-color-background); 157 padding: 0 var(--screen-space-lg) var(--screen-space); 158 height: 100%; 159 border-radius: var(--privy-border-radius-lg); 160`,p=a.I4.div` 161 position: relative; 162 display: flex; 163 flex-direction: column; 164`,u=(0,a.I4)(l.M)` 165 margin: 0 -8px; 166`,g=a.I4.div` 167 flex: 1 1 auto; 168 display: flex; 169 flex-direction: column; 170 171 /* Enable scrolling */ 172 overflow-y: auto; 173 174 /* Hide scrollbar but keep functionality when scrollable */ 175 /* Add padding for focus outline space, offset with negative margin */ 176 padding: 3px; 177 margin: -3px; 178 179 &::-webkit-scrollbar {
180 display: none; 181 } 182 scrollbar-gutter: stable both-edges; 183 scrollbar-width: none; 184 -ms-overflow-style: none; 185 186 /* Gradient effect for scroll indication */ 187 ${({$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} 188 189 background-repeat: no-repeat; 190 background-size: 191 100% 32px, 192 100% 16px; 193 background-attachment: local, scroll; 194`,h=a.I4.div` 195 display: flex; 196 flex-direction: column; 197 gap: var(--screen-space-lg); 198`,v=a.I4.div` 199 text-align: center; 200 display: flex; 201 flex-direction: column; 202 align-items: center; 203 gap: var(--screen-space); 204`,x=a.I4.div` 205 display: flex; 206 flex-direction: column; 207 gap: 4px; 208`,f=a.I4.h3` 209 && { 210 font-size: 20px; 211 line-height: 32px; 212 font-weight: 500; 213 color: var(--privy-color-foreground); 214 margin: 0; 215 } 216`,b=a.I4.p` 217 && { 218 margin: 0; 219 font-size: 16px; 220 font-weight: 300; 221 line-height: 24px; 222 color: var(--privy-color-foreground); 223 } 224`,y=a.I4.div` 225 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)"}}}; 226 227 border-radius: 50%; 228 width: 64px; 229 height: 64px; 230 display: flex; 231 align-items: center; 232 justify-content: center; 233`,m=a.I4.div` 234 display: flex; 235 align-items: center; 236 justify-content: center; 237 238 img, 239 svg { 240 max-height: 90px; 241 max-width: 180px; 242 } 243`,w=a.I4.div` 244 display: flex; 245 flex-direction: column; 246 justify-content: center; 247 align-items: center; 248 width: 100%; 249 height: 82px; 250 251 > div { 252 position: relative; 253 } 254 255 > div > :first-child { 256 position: relative; 257 } 258 259 > div > :last-child { 260 position: absolute; 261 left: 50%; 262 top: 50%; 263 transform: translate(-50%, -50%); 264 } 265`,k=({children:e,...r})=>(0,o.jsx)(s,{children:(0,o.jsx)(c,{...r,children:e})}),j=a.I4.div` 266 position: absolute; 267 top: 0; 268 left: calc(-1 * var(--screen-space-lg)); 269 width: calc(100% + calc(var(--screen-space-lg) * 2)); 270 height: 4px; 271 background: var(--privy-color-background-2); 272 border-top-left-radius: inherit; 273 border-top-right-radius: inherit; 274 overflow: hidden; 275`,I=(0,a.I4)(l.B)` 276 padding: 0; 277 && a { 278 padding: 0; 279 color: var(--privy-color-foreground-3); 280 } 281`,$=a.I4.div` 282 height: 100%; 283 width: ${({pct:e})=>e}%; 284 background: var(--privy-color-foreground-3); 285 border-radius: 2px; 286 transition: width 300ms ease-in-out; 287`,E=({step:e})=>e?(0,o.jsx)(j,{children:(0,o.jsx)($,{pct:Math.min(100,e.current/e.total*100)})}):null;k.Header=({title:e,subtitle:r,icon:i,iconVariant:t,iconLoadingStatus:a,showBack:n,onBack:l,showInfo:d,onInfo:s,showClose:c,onClose:g,step:h,...y})=>(0,o.jsxs)(p,{...y,children:[(0,o.jsx)(u,{backFn:n?l:void 0,infoFn:d?s:void 0,onClose:c?g:void 0,closeable:c}),(i||t||e||r)&&(0,o.jsxs)(v,{children:[i||t?(0,o.jsx)(k.Icon,{icon:i,variant:t,loadingStatus:a}):null,!(!e&&!r)&&(0,o.jsxs)(x,{children:[e&&(0,o.jsx)(f,{children:e}),r&&(0,o.jsx)(b,{children:r})]})]}),h&&(0,o.jsx)(E,{step:h})]}),(k.Body=t.forwardRef(({children:e,...r},i)=>(0,o.jsx)(g,{ref:i,...r,children:e}))).displayName="Screen.Body",k.Footer=({children:e,...r})=>(0,o.jsx)(h,{id:"privy-content-footer-container",...r,children:e}),k.Actions=({children:e,...r})=>(0,o.jsx)(S,{...r,children:e}),k.HelpText=({children:e,...r})=>(0,o.jsx)(C,{...r,children:e}),k.Watermark=()=>(0,o.jsx)(I,{}),k.Icon=({icon:e,variant:r="subtle",loadingStatus:i})=>"logo"===r&&e?(0,o.jsx)(m,"string"==typeof e?{children:(0,o.jsx)("img",{src:e,alt:""})}:t.isValidElement(e)?{children:e}:{children:t.createElement(e)}):"loading"===r?e?(0,o.jsx)(w,{children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(n.a4,{success:i?.success,fail:i?.fail}),"string"==typeof e?(0,o.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):t.isValidElement(e)?t.cloneElement(e,{style:{width:"38px",height:"38px"}}):t.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,o.jsx)(y,{$variant:r,children:(0,o.jsx)(d.N,{size:"64px"})}):(0,o.jsx)(y,{$variant:r,children:e&&("string"==typeof e?(0,o.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}
287):t.isValidElement(e)?e:t.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.I4.div` 288 width: 100%; 289 display: flex; 290 flex-direction: column; 291 gap: calc(var(--screen-space) / 2); 292`,C=a.I4.div` 293 && { 294 margin: 0; 295 width: 100%; 296 text-align: center; 297 color: var(--privy-color-foreground-3); 298 font-size: 14px; 299 line-height: 22px; 300 301 & a { 302 color: var(--privy-color-accent); 303 } 304 } 305`},71847:(e,r,i)=>{i.d(r,{A:()=>d});var o=i(12115);let t=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)},a=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 n={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 l=(0,o.forwardRef)((e,r)=>{let{color:i="currentColor",size:t=24,strokeWidth:l=2,absoluteStrokeWidth:d,className:s="",children:c,iconNode:p,...u}=e;return(0,o.createElement)("svg",{ref:r,...n,width:t,height:t,stroke:i,strokeWidth:d?24*Number(l)/Number(t):l,className:a("lucide",s),...!c&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(u)&&{"aria-hidden":"true"},...u},[...p.map(e=>{let[r,i]=e;return(0,o.createElement)(r,i)}),...Array.isArray(c)?c:[c]])}),d=(e,r)=>{let i=(0,o.forwardRef)((i,n)=>{let{className:d,...s}=i;return(0,o.createElement)(l,{ref:n,iconNode:r,className:a("lucide-".concat(t(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),d),...s})});return i.displayName=t(e),i}},83361:(e,r,i)=>{i.d(r,{B:()=>t,C:()=>l,F:()=>s,H:()=>n,R:()=>g,S:()=>p,a:()=>c,b:()=>u,c:()=>d,d:()=>h,e:()=>a});var o=i(60308);let t=o.I4.div` 306 display: flex; 307 flex-direction: column; 308 align-items: flex-start; 309 justify-content: flex-end; 310 margin-top: auto; 311 gap: 16px; 312 flex-grow: 100; 313`,a=o.I4.div` 314 display: flex; 315 flex-direction: column; 316 align-items: center; 317 justify-content: center; 318 flex-grow: 1; 319 width: 100%; 320`,n=o.I4.div` 321 display: flex; 322 flex-direction: column; 323 align-items: center; 324 width: 100%; 325`,l=(0,o.I4)(a)` 326 padding: 20px 0; 327`,d=(0,o.I4)(a)` 328 gap: 16px; 329`,s=o.I4.div` 330 display: flex; 331 flex-direction: column; 332 width: 100%; 333`,c=o.I4.div` 334 display: flex; 335 flex-direction: column; 336 gap: 8px; 337`;o.I4.div` 338 display: flex; 339 flex-direction: column; 340 justify-content: space-between; 341 height: 100%; 342`;let p=o.I4.div` 343 display: flex; 344 flex-direction: column; 345 justify-content: flex-start; 346 align-items: flex-start; 347 text-align: left; 348 gap: 8px; 349 padding: 16px; 350 margin-top: 16px; 351 margin-bottom: 16px; 352 width: 100%; 353 background: var(--privy-color-background-2); 354 border-radius: var(--privy-border-radius-md); 355 && h4 { 356 color: var(--privy-color-foreground-3); 357 font-size: 14px; 358 text-decoration: underline; 359 font-weight: medium; 360 } 361 && p { 362 color: var(--privy-color-foreground-3); 363 font-size: 14px; 364 } 365`,u=o.I4.div` 366 height: 16px; 367`,g=o.I4.div` 368 height: 12px; 369`;o.I4.div` 370 position: relative; 371`;let h=o.I4.div` 372 height: ${e=>e.height??"12"}px; 373`;o.I4.div` 374 background-color: var(--privy-color-accent); 375 display: flex; 376 justify-content: center; 377 align-items: center; 378 border-radius: 50%; 379 border-color: white; 380 border-width: 2px !important; 381`},83577:(e,r,i)=>{i.r(r),i.d(r,{LinkEmailScreen:()=>c,LinkEmailScreenView:()=>s,default:()=>c});var o=i(95155),t=i(50090),a=i(89368),n=i(83361),l=i(4687),d=i(91920);i(12115),i(68463),i(92253),i(72378),i(54047),i(50205);let s=({title:e="Connect your email",subtitle:r="Add your email to your account"})=>(0,o.jsx)(d.S,{title:e,subtitle:r,icon:t.A,watermark:!0,children:(0,o.jsx)(n.B,{children:(0,o.jsx)(a.C,{stacked:!0})})}),c={component:()=>{let e=(0,l.u)();return(0,o.jsx)(s,{subtitle:`Add your email to your ${e?.name} account`})}}},86575:(e,r,i)=>{i.d(r,{L:()=>a});var o=i(60308);let t=(0,o.i7)` 382 from, to { 383 background: var(--privy-color-foreground-4); 384 color: var(--privy-color-foreground-4); 385 } 386 387 50% { 388 background: var(--privy-color-foreground-accent); 389 color: var(--privy-color-foreground-accent); 390 } 391`,a=(0,o.AH)` 392 ${e=>e.$isLoading?(0,o.AH)` 393 width: 35%; 394 animation: ${t} 2s linear infinite; 395 border-radius: var(--privy-border-radius-sm); 396 `:""} 397`}
397,89368:(e,r,i)=>{i.d(r,{C:()=>x});var o=i(95155),t=i(23664),a=i(12115),n=i(60308),l=i(4687),d=i(16189),s=i(37684),c=i(14188),p=i(55552),u=i(86229),g=i(93183),h=i(834),v=i(55211);let x=(0,a.forwardRef)((e,r)=>{let[i,n]=(0,a.useState)(e.defaultValue||""),[h,x]=(0,a.useState)(""),[m,w]=(0,a.useState)(!1),{authenticated:k}=(0,c.u)(),{initLoginWithEmail:j}=(0,d.u)(),{navigate:I,setModalData:$,currentScreen:E,data:S}=(0,c.a)(),{enabled:C,token:A}=(0,s.a)(),[z,L]=(0,a.useState)(!1),{accountType:N}=(0,p.F)(),F=(0,l.u)();(0,a.useEffect)(()=>{!i&&F.disablePlusEmails&&S?.inlineError?.error instanceof d.c&&S?.inlineError?.error.privyErrorCode===d.b.DISALLOWED_PLUS_EMAIL&&!h&&x("Please enter a valid email address without a '+'."),h&&x("")},[i]);let T=(0,p.a1)(i),P=m||!T,_=()=>{$({login:S?.login,inlineError:void 0}),!C||A||k?(w(!0),j({email:i,captchaToken:A,disableSignup:S?.login?.disableSignup,withPrivyUi:!0}).then(()=>{I("AwaitingPasswordlessCodeScreen")}).catch(e=>{$({errorModalData:{error:e,previousScreen:E||"LandingScreen"}}),I("ErrorScreen")}).finally(()=>{w(!1)})):($({captchaModalData:{callback:e=>j({email:i,captchaToken:e,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:"AwaitingPasswordlessCodeScreen",onErrorNavigateTo:"ErrorScreen"}}),I("CaptchaScreen"))};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(f,{children:[h&&(0,o.jsx)(v.E,{style:{display:"block",marginTop:"0.25rem",textAlign:"left"},children:h}),(0,o.jsxs)(b,{stacked:e.stacked,$error:!!h,children:[(0,o.jsx)(y,{children:(0,o.jsx)(t.A,{})}),(0,o.jsx)("input",{ref:r,id:"email-input",className:"login-method-button",type:"email",placeholder:"[email protected]",onFocus:()=>L(!0),onChange:e=>n(e.target.value),onKeyUp:e=>{"Enter"===e.key&&_()},value:i,autoComplete:"email"}),"email"!==N||z?e.stacked?(0,o.jsx)("span",{}):(0,o.jsx)(u.E,{isSubmitting:m,onClick:_,disabled:P,children:"Submit"}):(0,o.jsx)(g.C,{color:"gray",children:"Recent"})]})]}),e.stacked?(0,o.jsx)(u.P,{loadingText:null,loading:m,disabled:P,onClick:_,style:{width:"100%"},children:"Submit"}):null]})}),f=h.I,b=h.a,y=(0,n.I4)(p.V)` 398 display: inline-flex; 399`},91920:(e,r,i)=>{i.d(r,{S:()=>n});var o=i(95155),t=i(86229),a=i(71629);let n=({primaryCta:e,secondaryCta:r,helpText:i,watermark:n=!0,children:l,...d})=>{let s=e||r?(0,o.jsxs)(o.Fragment,{children:[e&&(()=>{let{label:r,...i}=e,a=i.variant||"primary";return(0,o.jsx)(t.a,{...i,variant:a,style:{width:"100%",...i.style},children:r})})(),r&&(()=>{let{label:e,...i}=r,a=i.variant||"secondary";return(0,o.jsx)(t.a,{...i,variant:a,style:{width:"100%",...i.style},children:e})})()]}):null;return(0,o.jsxs)(a.S,{id:d.id,className:d.className,children:[(0,o.jsx)(a.S.Header,{...d}),l?(0,o.jsx)(a.S.Body,{children:l}):null,i||s||n?(0,o.jsxs)(a.S.Footer,{children:[i?(0,o.jsx)(a.S.HelpText,{children:i}):null,s?(0,o.jsx)(a.S.Actions,{children:s}):null,n?(0,o.jsx)(a.S.Watermark,{}):null]}):null]})}},93183:(e,r,i)=>{i.d(r,{C:()=>n});var o=i(95155),t=i(60308),a=i(86575);let n=({children:e,color:r,isLoading:i,isPulsing:t,...a})=>(0,o.jsx)(l,{$color:r,$isLoading:i,$isPulsing:t,...a,children:e}),l=t.I4.span` 400 padding: 0.25rem; 401 font-size: 0.75rem; 402 font-weight: 500; 403 line-height: 1rem; /* 150% */ 404 border-radius: var(--privy-border-radius-xs); 405 display: flex; 406 align-items: center; 407 ${e=>{let r,i;"green"===e.$color&&(r="var(--privy-color-success-dark)",i="var(--privy-color-success-light)"),"red"===e.$color&&(r="var(--privy-color-error)",i="var(--privy-color-error-light)"),"gray"===e.$color&&(r="var(--privy-color-foreground-2)",i="var(--privy-color-background-2)");let o=(0,t.i7)` 408 from, to { 409 background-color: ${i}; 410 } 411 412 50% { 413 background-color: rgba(${i}, 0.8); 414 } 415 `;return(0,t.AH)` 416 color: ${r}; 417 background-color: ${i}; 418 ${e.$isPulsing&&(0,t.AH)` 419 animation: ${o} 3s linear infinite; 420 `}; 421 `}} 422 423 ${a.L} 424`},95204:(e,r,i)=>{i.d(r,{N:()=>a});var o=i(95155),t=i(60308);let a=({size:e,centerIcon:r})=>(0,o.jsx)(n,{$size:e,children:(0,o.jsxs)(l,{children:[(0,o.jsx)(s,{}),(0,o.jsx)(c,{}),r?(0,o.jsx)(d,{children:r}):null]})}),n=t.I4.div` 425 --spinner-size: ${e=>e.$size?e.$size:"96px"}; 426 427 display: inline-flex; 428 justify-content: center; 429 align-items: center; 430 431 @media all and (display-mode: standalone) { 432 margin-bottom: 30px; 433 } 434`,l=t.I4.div` 435 position: relative; 436 height: var(--spinner-size); 437 width: var(--spinner-size); 438 439 opacity: 1; 440 animation: fadein 200ms ease; 441`,d=t.I4.div` 442 position: absolute; 443 top: 0; 444 right: 0; 445 bottom: 0; 446 left: 0; 447 display: flex; 448 align-items: center; 449 justify-content: center; 450 svg, 451 img { 452 width: calc(var(--spinner-size) * 0.4); 453 height: calc(var(--spinner-size) * 0.4); 454 border-radius: var(--privy-border-radius-full); 455 } 456`,s=t.I4.div` 457 position: absolute; 458 top: 0; 459 right: 0; 460 bottom: 0; 461 left: 0; 462 width: var(--spinner-size); 463 height: var(--spinner-size); 464 465 && { 466 border: 4px solid var(--privy-color-border-default); 467 border-radius: 50%; 468 } 469`,c=t.I4.div` 470 position: absolute; 471 top: 0; 472 right: 0; 473 bottom: 0; 474 left: 0; 475 width: var(--spinner-size); 476 height: var(--spinner-size); 477 animation: spin 1200ms linear infinite; 478 479 && { 480 border: 4px solid; 481 border-color: var(--privy-color-icon-subtle) transparent transparent transparent; 482 border-radius: 50%; 483 } 484 485 @keyframes spin { 486 from { 487 transform: rotate(0deg); 488 } 489 to { 490 transform: rotate(360deg); 491 } 492 } 493`}}]);
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.