1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4945],{35844:(e,r,i)=>{i.d(r,{D:()=>m,E:()=>p,H:()=>k,I:()=>w,N:()=>h,P:()=>x,R:()=>j,S:()=>I,a:()=>g,b:()=>f,c:()=>c,d:()=>y,e:()=>E,f:()=>u,g:()=>b});var t=i(35319);let o=t.forwardRef(function({title:e,titleId:r,...i},o){return t.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:o,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))}),n=t.forwardRef(function({title:e,titleId:r,...i},o){return t.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:o,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}),a=t.forwardRef(function({title:e,titleId:r,...i},o){return t.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:o,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))});var l=i(58652),s=i(16209);let d=(0,l.AH)` 2 font-size: 14px; 3 font-style: normal; 4 font-weight: 400; 5 line-height: 20px; 6 letter-spacing: -0.008px; 7 text-align: left; 8 transition: color 0.1s ease-in; 9`,c=l.I4.span` 10 ${d} 11 transition: color 0.1s ease-in; 12 color: ${({error:e})=>e?"var(--privy-color-error)":"var(--privy-color-foreground-3)"}; 13 text-transform: ${({error:e})=>e?"":"capitalize"}; 14 15 &[aria-hidden='true'] { 16 visibility: hidden; 17 } 18`,p=l.I4.div` 19 display: flex; 20 flex-direction: column; 21 justify-content: center; 22 flex-grow: 1; 23`,h=(0,l.I4)(s.P)` 24 ${({$hideAnimations:e})=>e&&(0,l.AH)` 25 && { 26 transition: none; 27 } 28 `} 29`,v=(0,l.AH)` 30 && { 31 width: 100%; 32 border-width: 1px; 33 border-radius: var(--privy-border-radius-md); 34 border-color: var(--privy-color-foreground-3); 35 background: var(--privy-color-background); 36 color: var(--privy-color-foreground); 37 38 padding: 12px; 39 font-size: 16px; 40 font-style: normal; 41 font-weight: 300; 42 line-height: 22px; /* 137.5% */ 43 } 44`,g=l.I4.input` 45 ${v} 46 47 &::placeholder { 48 color: var(--privy-color-foreground-3); 49 font-style: italic; 50 font-size: 14px; 51 } 52 53 overflow: hidden; 54 text-overflow: ellipsis; 55 white-space: nowrap; 56`,u=l.I4.div` 57 ${v} 58`,x=l.I4.div` 59 position: relative; 60 width: 100%; 61 display: flex; 62 align-items: center; 63 justify-content: ${({centered:e})=>e?"center":"space-between"}; 64`,f=l.I4.div` 65 display: flex; 66 flex-direction: column; 67 align-items: center; 68 justify-content: center; 69 margin: 32px 0; 70 gap: 4px; 71 72 & h3 { 73 font-size: 18px; 74 font-style: normal; 75 font-weight: 600; 76 line-height: 24px; 77 } 78 79 & p { 80 max-width: 300px; 81 font-size: 14px; 82 font-style: normal; 83 font-weight: 400; 84 line-height: 20px; 85 } 86`,m=l.I4.div` 87 display: flex; 88 flex-direction: column; 89 gap: 10px; 90 padding-bottom: 1rem; 91`,y=l.I4.div` 92 display: flex; 93 text-align: left; 94 align-items: center; 95 96 gap: 8px; 97 max-width: 300px; 98 99 font-size: 14px; 100 font-style: normal; 101 font-weight: 400; 102 line-height: 20px; 103 letter-spacing: -0.008px; 104 105 margin: 0 8px; 106 color: var(--privy-color-foreground-2); 107 108 > :first-child { 109 min-width: 24px; 110 } 111`;l.I4.div` 112 height: var(--privy-height-modal-full); 113 114 @media (max-width: 440px) { 115 height: var(--privy-height-modal-compact); 116 } 117`;let b=(0,l.I4)(s.a)` 118 display: flex; 119 flex: 1; 120 gap: 4px; 121 justify-content: center; 122 123 && { 124 background: var(--privy-color-background); 125 border-radius: var(--privy-border-radius-md); 126 border-color: var(--privy-color-foreground-3); 127 border-width: 1px; 128 } 129`,w=l.I4.div` 130 position: absolute; 131 right: 0.5rem; 132 133 display: flex; 134 flex-direction: row; 135 justify-content: space-around; 136 align-items: center; 137`,j=(0,l.I4)(o)` 138 height: 1.25rem; 139 width: 1.25rem; 140 stroke: var(--privy-color-accent); 141 cursor: pointer; 142 143 :active { 144 stroke: var(--privy-color-accent-light); 145 } 146`,k=(0,l.I4)(a)` 147 height: 1.25rem; 148 width: 1.25rem; 149 stroke: var(--privy-color-accent); 150 cursor: pointer; 151 152 :active { 153 stroke: var(--privy-color-accent-light); 154 } 155`,I=(0,l.I4)(n)` 156 height: 1.25rem; 157 width: 1.25rem; 158 stroke: var(--privy-color-accent); 159 cursor: pointer; 160 161 :active { 162 stroke: var(--privy-color-accent-light); 163 } 164`,E=l.I4.progress` 165 height: 4px; 166 width: 100%; 167 margin: 8px 0; 168 169 /* border-radius: 9999px; */ 170 ::-webkit-progress-bar { 171 border-radius: 8px; 172 background: var(--privy-color-foreground-4); 173 } 174 175 ::-webkit-progress-value { 176 border-radius: 8px; 177 transition: all 0.1s ease-out; 178 background: ${({label:e})=>("Strong"===e?"#78dca6":"Medium"===e&&"var(--privy-color-warn)")||"var(--privy-color-error)"}; 179 } 180`},41702:(e,r,i)=>{i.d(r,{S:()=>j});var t=i(30271),o=i(35319),n=i(58652),a=i(40153),l=i(16209),s=i(96211);let d=n.I4.div` 181 /* spacing tokens */ 182 --screen-space: 16px; /* base 1x = 16 */ 183 --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */ 184 185 position: relative; 186 overflow: hidden; 187 margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */ 188 height: 100%; 189 border-radius: var(--privy-border-radius-lg); 190`,c=n.I4.div` 191 display: flex; 192 flex-direction: column; 193 gap: calc(var(--screen-space) * 1.5); 194 width: 100%; 195 background: var(--privy-color-background); 196 padding: 0 var(--screen-space-lg) var(--screen-space); 197 height: 100%; 198 border-radius: var(--privy-border-radius-lg); 199`,p=n.I4.div` 200 position: relative; 201 display: flex; 202 flex-direction: column; 203`,h=(0,n.I4)(l.M)` 204 margin: 0 -8px; 205`,v=n.I4.div` 206 flex: 1 1 auto; 207 display: flex; 208 flex-direction: column; 209 210 /* Enable scrolling */ 211 overflow-y: auto; 212 213 /* Hide scrollbar but keep functionality when scrollable */ 214 /* Add padding for focus outline space, offset with negative margin */ 215 padding: 3px; 216 margin: -3px; 217 218 &::-webkit-scrollbar {
219 display: none; 220 } 221 scrollbar-gutter: stable both-edges; 222 scrollbar-width: none; 223 -ms-overflow-style: none; 224 225 /* Gradient effect for scroll indication */ 226 ${({$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} 227 228 background-repeat: no-repeat; 229 background-size: 230 100% 32px, 231 100% 16px; 232 background-attachment: local, scroll; 233`,g=n.I4.div` 234 display: flex; 235 flex-direction: column; 236 gap: var(--screen-space-lg); 237 margin-top: 1.5rem; 238`,u=n.I4.div` 239 text-align: center; 240 display: flex; 241 flex-direction: column; 242 align-items: center; 243 gap: var(--screen-space); 244`,x=n.I4.div` 245 display: flex; 246 flex-direction: column; 247 gap: 4px; 248`,f=n.I4.h3` 249 && { 250 font-size: 20px; 251 line-height: 32px; 252 font-weight: 500; 253 color: var(--privy-color-foreground); 254 margin: 0; 255 } 256`,m=n.I4.p` 257 && { 258 margin: 0; 259 font-size: 16px; 260 font-weight: 300; 261 line-height: 24px; 262 color: var(--privy-color-foreground); 263 } 264`,y=n.I4.div` 265 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)"}}}; 266 267 border-radius: 50%; 268 width: 64px; 269 height: 64px; 270 display: flex; 271 align-items: center; 272 justify-content: center; 273`,b=n.I4.div` 274 display: flex; 275 align-items: center; 276 justify-content: center; 277 278 img, 279 svg { 280 max-height: 90px; 281 max-width: 180px; 282 } 283`,w=n.I4.div` 284 display: flex; 285 flex-direction: column; 286 justify-content: center; 287 align-items: center; 288 width: 100%; 289 height: 82px; 290 291 > div { 292 position: relative; 293 } 294 295 > div > :first-child { 296 position: relative; 297 } 298 299 > div > :last-child { 300 position: absolute; 301 left: 50%; 302 top: 50%; 303 transform: translate(-50%, -50%); 304 } 305`,j=({children:e,...r})=>(0,t.jsx)(d,{children:(0,t.jsx)(c,{...r,children:e})}),k=n.I4.div` 306 position: absolute; 307 top: 0; 308 left: calc(-1 * var(--screen-space-lg)); 309 width: calc(100% + calc(var(--screen-space-lg) * 2)); 310 height: 4px; 311 background: var(--privy-color-background-2); 312 border-top-left-radius: inherit; 313 border-top-right-radius: inherit; 314 overflow: hidden; 315`,I=(0,n.I4)(l.B)` 316 padding: 0; 317 && a { 318 padding: 0; 319 color: var(--privy-color-foreground-3); 320 } 321`,E=n.I4.div` 322 height: 100%; 323 width: ${({pct:e})=>e}%; 324 background: var(--privy-color-foreground-3); 325 border-radius: 2px; 326 transition: width 300ms ease-in-out; 327`,z=({step:e})=>e?(0,t.jsx)(k,{children:(0,t.jsx)(E,{pct:Math.min(100,e.current/e.total*100)})}):null;j.Header=({title:e,subtitle:r,icon:i,iconVariant:o,iconLoadingStatus:n,showBack:a,onBack:l,showInfo:s,onInfo:d,showClose:c,onClose:v,step:g,headerTitle:y,...b})=>(0,t.jsxs)(p,{...b,children:[(0,t.jsx)(h,{backFn:a?l:void 0,infoFn:s?d:void 0,onClose:c?v:void 0,title:y,closeable:c}),(i||o||e||r)&&(0,t.jsxs)(u,{children:[i||o?(0,t.jsx)(j.Icon,{icon:i,variant:o,loadingStatus:n}):null,!(!e&&!r)&&(0,t.jsxs)(x,{children:[e&&(0,t.jsx)(f,{children:e}),r&&(0,t.jsx)(m,{children:r})]})]}),g&&(0,t.jsx)(z,{step:g})]}),(j.Body=o.forwardRef(({children:e,...r},i)=>(0,t.jsx)(v,{ref:i,...r,children:e}))).displayName="Screen.Body",j.Footer=({children:e,...r})=>(0,t.jsx)(g,{id:"privy-content-footer-container",...r,children:e}),j.Actions=({children:e,...r})=>(0,t.jsx)(S,{...r,children:e}),j.HelpText=({children:e,...r})=>(0,t.jsx)(C,{...r,children:e}),j.FooterText=({children:e,...r})=>(0,t.jsx)($,{...r,children:e}),j.Watermark=()=>(0,t.jsx)(I,{}),j.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:""})}:o.isValidElement(e)?{children:e}:{children:o.createElement(e)}):"loading"===r?e?(0,t.jsx)(w,{children:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,t.jsx)(a.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"}}):o.isValidElement(e)?o.cloneElement(e,{style:{width:"38px",height:"38px"}}):o.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,t.jsx)(y,{$variant:r,children:(0,t.jsx)(s.N,{size:"64px"})}):(0,t.jsx)(y,{$variant:r,children:e&&("string"==typeof e?(0,t.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):o.isValidElement(e)?e:o.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=n.I4.div` 328 width: 100%; 329 display: flex; 330 flex-direction: column; 331 gap: calc(var(--screen-space) / 2); 332`,C=n.I4.div` 333 && { 334 margin: 0; 335 width: 100%; 336 text-align: center; 337 color: var(--privy-color-foreground-2); 338 font-size: 13px; 339 line-height: 20px; 340 341 & a { 342 text-decoration: underline; 343 } 344 } 345`,$=n.I4.div` 346 && { 347 margin-top: -1rem; 348 width: 100%; 349 text-align: center; 350 color: var(--privy-color-foreground-2); 351 font-size: 0.6875rem; // 11px 352 line-height: 1rem; // 16px 353 } 354`},54945:(e,r,i)=>{i.r(r),i.d(r,{PasswordRecoveryScreen:()=>g,default:()=>g});var t=i(30271),o=i(67084),n=i(35319),a=i(58652),l=i(27539),s=i(16209),d=i(94590),c=i(35844),p=i(39610),h=i(11497),v=i(41702);i(37107),i(72381),i(45419),i(39558),i(1887);let g={component:()=>
354{let[e,r]=(0,n.useState)(!0),{authenticated:i,user:a}=(0,l.u)(),{walletProxy:s,closePrivyModal:g,createAnalyticsEvent:m,client:y}=(0,h.u)(),{navigate:b,data:w,onUserCloseViaDialogOrKeybindRef:j}=(0,l.a)(),[k,I]=(0,n.useState)(void 0),[E,z]=(0,n.useState)(""),[S,C]=(0,n.useState)(!1),{entropyId:$,entropyIdVerifier:A,onCompleteNavigateTo:R,onSuccess:L,onFailure:M}=w.recoverWallet,F=(e="User exited before their wallet could be recovered")=>{g({shouldCallAuthOnSuccess:!1}),M("string"==typeof e?new h.m(e):e)};return j.current=F,(0,n.useEffect)(()=>{if(!i)return F("User must be authenticated and have a Privy wallet before it can be recovered")},[i]),(0,t.jsxs)(v.S,{children:[(0,t.jsx)(v.S.Header,{icon:o.A,title:"Enter your password",subtitle:"Please provision your account on this new device. To continue, enter your recovery password.",showClose:!0,onClose:F}),(0,t.jsx)(v.S.Body,{children:(0,t.jsx)(u,{children:(0,t.jsxs)("div",{children:[(0,t.jsxs)(c.P,{children:[(0,t.jsx)(c.a,{type:e?"password":"text",onChange:e=>{var r;(r=e.target.value)&&I(r)},disabled:S,style:{paddingRight:"2.3rem"}}),(0,t.jsx)(c.I,{style:{right:"0.75rem"},children:e?(0,t.jsx)(c.H,{onClick:()=>r(!1)}):(0,t.jsx)(c.S,{onClick:()=>r(!0)})})]}),!!E&&(0,t.jsx)(x,{children:E})]})})}),(0,t.jsxs)(v.S.Footer,{children:[(0,t.jsx)(v.S.HelpText,{children:(0,t.jsxs)(d.S,{children:[(0,t.jsx)("h4",{children:"Why is this necessary?"}),(0,t.jsx)("p",{children:"You previously set a password for this wallet. This helps ensure only you can access it"})]})}),(0,t.jsx)(v.S.Actions,{children:(0,t.jsx)(f,{loading:S||!s,disabled:!k,onClick:async()=>{C(!0);let e=await y.getAccessToken(),r=(0,l.j)(a,$);if(!e||!r||null===k)return F("User must be authenticated and have a Privy wallet before it can be recovered");try{m({eventName:"embedded_wallet_recovery_started",payload:{walletAddress:r.address}}),await s?.recover({accessToken:e,entropyId:$,entropyIdVerifier:A,recoveryPassword:k}),z(""),R?b(R):g({shouldCallAuthOnSuccess:!1}),L?.(r),m({eventName:"embedded_wallet_recovery_completed",payload:{walletAddress:r.address}})}catch(e){(0,p.n)(e)?z("Invalid recovery password, please try again."):z("An error has occurred, please try again.")}finally{C(!1)}},$hideAnimations:!$&&S,children:"Recover your account"})}),(0,t.jsx)(v.S.Watermark,{})]})]})}},u=a.I4.div` 355 display: flex; 356 flex-direction: column; 357 gap: 1.5rem; 358`,x=a.I4.div` 359 line-height: 20px; 360 height: 20px; 361 font-size: 13px; 362 color: var(--privy-color-error); 363 text-align: left; 364 margin-top: 0.5rem; 365`,f=(0,a.I4)(s.P)` 366 ${({$hideAnimations:e})=>e&&(0,a.AH)` 367 && { 368 // Remove animations because the recoverWallet task on the iframe partially 369 // blocks the renderer, so the animation stutters and doesn't look good 370 transition: none; 371 } 372 `} 373`},67084:(e,r,i)=>{i.d(r,{A:()=>o});var t=i(35319);let o=t.forwardRef(function({title:e,titleId:r,...i},o){return t.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:o,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))})},94590:(e,r,i)=>{i.d(r,{B:()=>o,C:()=>l,F:()=>d,H:()=>a,R:()=>v,S:()=>p,a:()=>c,b:()=>h,c:()=>s,d:()=>g,e:()=>n});var t=i(58652);let o=t.I4.div` 374 display: flex; 375 flex-direction: column; 376 align-items: flex-start; 377 justify-content: flex-end; 378 margin-top: auto; 379 gap: 16px; 380 flex-grow: 100; 381`,n=t.I4.div` 382 display: flex; 383 flex-direction: column; 384 align-items: center; 385 justify-content: center; 386 flex-grow: 1; 387 width: 100%; 388`,a=t.I4.div` 389 display: flex; 390 flex-direction: column; 391 align-items: center; 392 width: 100%; 393`,l=(0,t.I4)(n)` 394 padding: 20px 0; 395`,s=(0,t.I4)(n)` 396 gap: 16px; 397`,d=t.I4.div` 398 display: flex; 399 flex-direction: column; 400 width: 100%; 401`,c=t.I4.div` 402 display: flex; 403 flex-direction: column; 404 gap: 8px; 405`;t.I4.div` 406 display: flex; 407 flex-direction: column; 408 justify-content: space-between; 409 height: 100%; 410`;let p=t.I4.div` 411 display: flex; 412 flex-direction: column; 413 justify-content: flex-start; 414 align-items: flex-start; 415 text-align: left; 416 gap: 8px; 417 padding: 16px; 418 margin-top: 16px; 419 margin-bottom: 16px; 420 width: 100%; 421 background: var(--privy-color-background-2); 422 border-radius: var(--privy-border-radius-md); 423 && h4 { 424 color: var(--privy-color-foreground-3); 425 font-size: 14px; 426 text-decoration: underline; 427 font-weight: medium; 428 } 429 && p { 430 color: var(--privy-color-foreground-3); 431 font-size: 14px; 432 } 433`,h=t.I4.div` 434 height: 16px; 435`,v=t.I4.div` 436 height: 12px; 437`;t.I4.div` 438 position: relative; 439`;let g=t.I4.div` 440 height: ${e=>e.height??"12"}px; 441`;t.I4.div` 442 background-color: var(--privy-color-accent); 443 display: flex; 444 justify-content: center; 445 align-items: center; 446 border-radius: 50%; 447 border-color: white; 448 border-width: 2px !important; 449`},96211:(e,r,i)=>{i.d(r,{N:()=>n});var t=i(30271),o=i(58652);let n=({size:e,centerIcon:r})=>(0,t.jsx)(a,{$size:e,children:(0,t.jsxs)(l,{children:[(0,t.jsx)(d,{}),(0,t.jsx)(c,{}),r?(0,t.jsx)(s,{children:r}):null]})}),a=o.I4.div` 450 --spinner-size: ${e=>e.$size?e.$size:"96px"}; 451 452 display: inline-flex; 453 justify-content: center; 454 align-items: center; 455 456 @media all and (display-mode: standalone) { 457 margin-bottom: 30px; 458 } 459`,l=o.I4.div` 460 position: relative; 461 height: var(--spinner-size); 462 width: var(--spinner-size); 463 464 opacity: 1; 465 animation: fadein 200ms ease; 466`,s=o.I4.div` 467 position: absolute; 468 top: 0; 469 right: 0; 470 bottom: 0; 471 left: 0; 472 display: flex; 473 align-items: center; 474 justify-content: center; 475 svg, 476 img { 477 width: calc(var(--spinner-size) * 0.4); 478 height: calc(var(--spinner-size) * 0.4); 479 border-radius: var(--privy-border-radius-full); 480 } 481`,d=o.I4.div` 482 position: absolute; 483 top: 0; 484 right: 0; 485 bottom: 0; 486 left: 0; 487 width: var(--spinner-size); 488 height: var(--spinner-size); 489 490 && { 491 border: 4px solid var(--privy-color-border-default); 492 border-radius: 50%; 493 } 494`,c=o.I4.div` 495 position: absolute; 496 top: 0; 497 right: 0; 498 bottom: 0; 499 left: 0; 500 width: var(--spinner-size); 501 height: var(--spinner-size); 502 animation: spin 1200ms linear infinite; 503 504 && { 505 border: 4px solid; 506 border-color: var(--privy-color-icon-subtle) transparent transparent transparent; 507 border-radius: 50%; 508 } 509 510 @keyframes spin { 511 from { 512 transform: rotate(0deg); 513 } 514 to { 515 transform: rotate(360deg); 516 } 517 } 518`}}]);
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.