1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2398],{51987:function(e,r,t){t.d(r,{Z:function(){return p}});var i=t(63353);let n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),a=e=>{let r=o(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:o=2,absoluteStrokeWidth:a,className:d="",children:p,iconNode:u,...h}=e;return(0,i.createElement)("svg",{ref:r,...c,width:n,height:n,stroke:t,strokeWidth:a?24*Number(o)/Number(n):o,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,o)=>{let{className:s,...c}=t;return(0,i.createElement)(d,{ref:o,iconNode:r,className:l("lucide-".concat(n(a(e))),"lucide-".concat(e),s),...c})});return t.displayName=a(e),t}},94829:function(e,r,t){t.d(r,{Z:function(){return i}});let i=(0,t(51987).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},42456:function(e,r,t){t.d(r,{Z:function(){return i}});let i=(0,t(51987).Z)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},38218:function(e,r,t){var i=t(63353);let n=i.forwardRef(function(e,r){let{title:t,titleId:n,...o}=e;return i.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},o),t?i.createElement("title",{id:n},t):null,i.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"}))});r.Z=n},56090:function(e,r,t){t.d(r,{A:function(){return d}});var i=t(9054),n=t(94829),o=t(42456),a=t(63353),l=t(83771),s=t(98122),c=t(48904);let d=({address:e,showCopyIcon:r,url:t,className:l})=>{let[d,g]=(0,a.useState)(!1);function f(r){r.stopPropagation(),navigator.clipboard.writeText(e).then(()=>g(!0)).catch(console.error)}return(0,a.useEffect)(()=>{if(d){let e=setTimeout(()=>g(!1),3e3);return()=>clearTimeout(e)}},[d]),(0,i.jsxs)(p,t?{children:[(0,i.jsx)(h,{title:e,className:l,href:`${t}/address/${e}`,target:"_blank",children:(0,s.w)(e)}),r&&(0,i.jsx)(c.S,{onClick:f,size:"sm",style:{gap:"0.375rem"},children:(0,i.jsxs)(i.Fragment,d?{children:["Copied",(0,i.jsx)(n.Z,{size:16})]}:{children:["Copy",(0,i.jsx)(o.Z,{size:16})]})})]}:{children:[(0,i.jsx)(u,{title:e,className:l,children:(0,s.w)(e)}),r&&(0,i.jsx)(c.S,{onClick:f,size:"sm",style:{gap:"0.375rem",fontSize:"14px"},children:(0,i.jsxs)(i.Fragment,d?{children:["Copied",(0,i.jsx)(n.Z,{size:14})]}:{children:["Copy",(0,i.jsx)(o.Z,{size:14})]})})]})},p=l.zo.span` 2 display: inline-flex; 3 align-items: center; 4 gap: 0.5rem; 5`,u=l.zo.span` 6 font-size: 14px; 7 font-weight: 500; 8 color: var(--privy-color-foreground); 9`,h=l.zo.a` 10 font-size: 14px; 11 color: var(--privy-color-foreground); 12 text-decoration: none; 13 14 &:hover { 15 text-decoration: underline; 16 } 17`},2398:function(e,r,t){t.r(r),t.d(r,{EmbeddedWalletKeyExportScreen:function(){return v},EmbeddedWalletKeyExportView:function(){return h},constructWalletExportIframeUrl:function(){return y},default:function(){return v},supportsSeedPhraseExport:function(){return f}});var i=t(9054),n=t(63353),o=t(83771),a=t(64602),l=t(37099),s=t(38685),c=t(20306),d=t(38743),p=t(76429),u=t(35376);t(58005),t(85201),t(74094);let h=({address:e,hideWalletAddress:r,accessToken:t,appConfigTheme:n,onClose:o,exportButtonProps:a,onBack:c})=>(0,i.jsx)(u.S,{title:"Export wallet",subtitle:(0,i.jsxs)(i.Fragment,{children:["Copy either your private key or seed phrase to export your wallet."," ",(0,i.jsx)("a",{href:"https://privy-io.notion.site/Transferring-your-account-9dab9e16c6034a7ab1ff7fa479b02828",target:"blank",rel:"noopener noreferrer",children:"Learn more"})]}),onClose:o,onBack:c,showBack:!!c,watermark:!0,children:(0,i.jsxs)(g,{children:[(0,i.jsx)(l.W,{theme:n,
17children:"Never share your private key or seed phrase with anyone."}),!r&&(0,i.jsx)(s.W,{title:"Your wallet",address:e,showCopyButton:!0}),(0,i.jsx)("div",{style:{width:"100%"},children:t&&a&&(0,i.jsx)(x,{accessToken:t,dimensions:{height:"44px"},...a})})]})}),g=o.zo.div` 18 display: flex; 19 flex-direction: column; 20 gap: 1.25rem; 21 text-align: left; 22`;function f({chainType:e,imported:r,isUnifiedWallet:t}){return!r&&(t?"ethereum"===e||"bitcoin-taproot"===e:"ethereum"===e)}function x(e){let[r,t]=(0,n.useState)(e.dimensions.width),[o,a]=(0,n.useState)(!1),[l,s]=(0,n.useState)(void 0),c=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(c.current&&void 0===r){let{width:e}=c.current.getBoundingClientRect();t(e)}let e=getComputedStyle(document.documentElement);s({background:e.getPropertyValue("--privy-color-background"),background2:e.getPropertyValue("--privy-color-background-2"),foreground3:e.getPropertyValue("--privy-color-foreground-3"),foregroundAccent:e.getPropertyValue("--privy-color-foreground-accent"),accent:e.getPropertyValue("--privy-color-accent"),accentDark:e.getPropertyValue("--privy-color-accent-dark"),success:e.getPropertyValue("--privy-color-success"),colorScheme:e.getPropertyValue("color-scheme")})},[]);let d=f({chainType:e.chainType,imported:e.imported,isUnifiedWallet:e.isUnifiedWallet});return(0,i.jsx)("div",{ref:c,children:r&&(0,i.jsxs)(m,{children:[(0,i.jsx)("iframe",{style:{position:"absolute",zIndex:1,opacity:o?1:0,transition:"opacity 50ms ease-in-out",pointerEvents:o?"auto":"none"},onLoad:()=>setTimeout(()=>a(!0),1500),width:r,height:e.dimensions.height,allow:"clipboard-write self *",src:y({origin:e.origin,appId:e.appId,appClientId:e.appClientId,walletId:e.walletId,entropyId:e.entropyId,entropyIdVerifier:e.entropyIdVerifier,hdWalletIndex:e.hdWalletIndex,chainType:e.chainType,accessToken:e.accessToken,clientAnalyticsId:e.clientAnalyticsId,width:r,palette:l,isUnifiedWallet:e.isUnifiedWallet,exportSeedPhrase:d})}),(0,i.jsx)(b,{children:"Loading..."}),d&&(0,i.jsx)(b,{children:"Loading..."})]})})}let v={component:()=>{let[e,r]=(0,n.useState)(null),{authenticated:t,user:o}=(0,p.u)(),{closePrivyModal:a,createAnalyticsEvent:l,clientAnalyticsId:s,client:u}=(0,d.u)(),g=(0,c.u)(),{data:f,onUserCloseViaDialogOrKeybindRef:x}=(0,p.a)(),{onFailure:v,onSuccess:y,origin:m,appId:b,appClientId:w,entropyId:j,entropyIdVerifier:k,walletId:z,hdWalletIndex:C,chainType:I,address:E,uiOptions:S,isUnifiedWallet:T,imported:W,showBackButton:$}=f.keyExport,A=e=>{a({shouldCallAuthOnSuccess:!1}),v("string"==typeof e?Error(e):e)},N=()=>{a({shouldCallAuthOnSuccess:!1}),y(),l({eventName:"embedded_wallet_key_export_completed",payload:{walletAddress:E}})};return(0,n.useEffect)(()=>{if(!t)return A("User must be authenticated before exporting their wallet");u.getAccessToken().then(r).catch(A)},[t,o]),x.current=N,(0,i.jsx)(h,{address:E,hideWalletAddress:S?.hideWalletAddress,accessToken:e,appConfigTheme:g.appearance.palette.colorScheme,onClose:N,isLoading:!e,onBack:$?N:void 0,exportButtonProps:e?{origin:m,appId:b,appClientId:w,clientAnalyticsId:s,entropyId:j,entropyIdVerifier:k,walletId:z,hdWalletIndex:C,isUnifiedWallet:T,imported:W,chainType:I}:void 0})}};function y({origin:e,appId:r,appClientId:t,walletId:i,entropyId:n,entropyIdVerifier:o,hdWalletIndex:l,chainType:s,accessToken:c,clientAnalyticsId:d,width:p,palette:u,isUnifiedWallet:h,exportSeedPhrase:g}){return(0,a.v)({origin:e,path:`/apps/${r}/embedded-wallets/export`,query:h?{v:"1-unified",wallet_id:i,client_id:t,width:`${p}px`,caid:d,phrase_export:g,...u}:{v:"1",entropy_id:n,entropy_id_verifier:o,hd_wallet_index:l,chain_type:s,client_id:t,width:`${p}px`,caid:d,phrase_export:g,...u},hash:{token:c}})}let m=o.zo.div` 23 overflow: visible; 24 position: relative; 25 overflow: none; 26 height: 44px; 27 display: flex; 28 gap: 12px; 29`,b=o.zo.div` 30 display: flex; 31 align-items: center; 32 justify-content: center; 33 width: 100%; 34 height: 100%; 35 font-size: 16px; 36 font-weight: 500; 37 border-radius: var(--privy-border-radius-md); 38 background-color: var(--privy-color-background-2); 39 color: var(--privy-color-foreground-3); 40`},59405:function(e,r,t){t.d(r,{E:function(){return n}});var i=t(83771);let n=i.zo.span` 41 text-align: left; 42 font-size: 0.75rem; 43 font-weight: 500; 44 line-height: 1.125rem; /* 150% */ 45 46 color: var(--privy-color-error); 47`},99181:function(e,r,t){t.d(r,{L:function(){return n}});var i=t(83771);let n=i.zo.span` 48 color: var(--privy-color-foreground-3); 49 font-size: 0.75rem; 50 font-weight: 500; 51 line-height: 1.125rem; /* 150% */ 52`},10869:function(e,r,t){t.d(r,{S:function(){return j}});var i=t(9054),n=t(63353),o=t(83771),a=t(65610),l=t(48904),s=t(4714);let c=o.zo.div` 53 /* spacing tokens */ 54 --screen-space: 16px; /* base 1x = 16 */ 55 --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */ 56 57 position: relative; 58 overflow: hidden; 59 margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */ 60 height: 100%; 61 border-radius: var(--privy-border-radius-lg); 62`,d=o.zo.div` 63 display: flex; 64 flex-direction: column; 65 gap: calc(var(--screen-space) * 1.5); 66 width: 100%; 67 background: var(--privy-color-background); 68 padding: 0 var(--screen-space-lg) var(--screen-space); 69 height: 100%; 70 border-radius: var(--privy-border-radius-lg); 71`,p=o.zo.div` 72 position: relative; 73 display: flex; 74 flex-direction: column; 75`,u=(0,o.zo)(l.M)` 76 margin: 0 -8px; 77`,h=o.zo.div` 78 flex: 1 1 auto; 79 display: flex; 80 flex-direction: column; 81 82 /* Enable scrolling */ 83 overflow-y: auto; 84 85 /* Hide scrollbar but keep functionality when scrollable */ 86 /* Add padding for focus outline space, offset with negative margin */ 87 padding: 3px; 88 margin: -3px; 89 90 &::-webkit-scrollbar {
91 display: none; 92 } 93 scrollbar-gutter: stable both-edges; 94 scrollbar-width: none; 95 -ms-overflow-style: none; 96 97 /* Gradient effect for scroll indication */ 98 ${({$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} 99 100 background-repeat: no-repeat; 101 background-size: 102 100% 32px, 103 100% 16px; 104 background-attachment: local, scroll; 105`,g=o.zo.div` 106 display: flex; 107 flex-direction: column; 108 gap: var(--screen-space-lg); 109 margin-top: 1.5rem; 110`,f=o.zo.div` 111 text-align: center; 112 display: flex; 113 flex-direction: column; 114 align-items: center; 115 gap: var(--screen-space); 116`,x=o.zo.div` 117 display: flex; 118 flex-direction: column; 119 gap: 4px; 120`,v=o.zo.h3` 121 && { 122 font-size: 20px; 123 line-height: 32px; 124 font-weight: 500; 125 color: var(--privy-color-foreground); 126 margin: 0; 127 } 128`,y=o.zo.p` 129 && { 130 margin: 0; 131 font-size: 16px; 132 font-weight: 300; 133 line-height: 24px; 134 color: var(--privy-color-foreground); 135 } 136`,m=o.zo.div` 137 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)"}}}; 138 139 border-radius: 50%; 140 width: 64px; 141 height: 64px; 142 display: flex; 143 align-items: center; 144 justify-content: center; 145`,b=o.zo.div` 146 display: flex; 147 align-items: center; 148 justify-content: center; 149 150 img, 151 svg { 152 max-height: 90px; 153 max-width: 180px; 154 } 155`,w=o.zo.div` 156 display: flex; 157 flex-direction: column; 158 justify-content: center; 159 align-items: center; 160 width: 100%; 161 height: 82px; 162 163 > div { 164 position: relative; 165 } 166 167 > div > :first-child { 168 position: relative; 169 } 170 171 > div > :last-child { 172 position: absolute; 173 left: 50%; 174 top: 50%; 175 transform: translate(-50%, -50%); 176 } 177`,j=({children:e,...r})=>(0,i.jsx)(c,{children:(0,i.jsx)(d,{...r,children:e})}),k=o.zo.div` 178 position: absolute; 179 top: 0; 180 left: calc(-1 * var(--screen-space-lg)); 181 width: calc(100% + calc(var(--screen-space-lg) * 2)); 182 height: 4px; 183 background: var(--privy-color-background-2); 184 border-top-left-radius: inherit; 185 border-top-right-radius: inherit; 186 overflow: hidden; 187`,z=(0,o.zo)(l.B)` 188 padding: 0; 189 && a { 190 padding: 0; 191 color: var(--privy-color-foreground-3); 192 } 193`,C=o.zo.div` 194 height: 100%; 195 width: ${({pct:e})=>e}%; 196 background: var(--privy-color-foreground-3); 197 border-radius: 2px; 198 transition: width 300ms ease-in-out; 199`,I=({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:o,showBack:a,onBack:l,showInfo:s,onInfo:c,showClose:d,onClose:h,step:g,headerTitle:m,...b})=>(0,i.jsxs)(p,{...b,children:[(0,i.jsx)(u,{backFn:a?l:void 0,infoFn:s?c:void 0,onClose:d?h:void 0,title:m,closeable:d}),(t||n||e||r)&&(0,i.jsxs)(f,{children:[t||n?(0,i.jsx)(j.Icon,{icon:t,variant:n,loadingStatus:o}):null,!(!e&&!r)&&(0,i.jsxs)(x,{children:[e&&(0,i.jsx)(v,{children:e}),r&&(0,i.jsx)(y,{children:r})]})]}),g&&(0,i.jsx)(I,{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)(E,{...r,children:e}),j.HelpText=({children:e,...r})=>(0,i.jsx)(S,{...r,children:e}),j.FooterText=({children:e,...r})=>(0,i.jsx)(T,{...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)(a.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)(m,{$variant:r,children:(0,i.jsx)(s.N,{size:"64px"})}):(0,i.jsx)(m,{$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 E=o.zo.div` 200 width: 100%; 201 display: flex; 202 flex-direction: column; 203 gap: calc(var(--screen-space) / 2); 204`,S=o.zo.div` 205 && { 206 margin: 0; 207 width: 100%; 208 text-align: center; 209 color: var(--privy-color-foreground-2); 210 font-size: 13px; 211 line-height: 20px; 212 213 & a { 214 text-decoration: underline; 215 } 216 } 217`,T=o.zo.div` 218 && { 219 margin-top: -1rem; 220 width: 100%; 221 text-align: center; 222 color: var(--privy-color-foreground-2); 223 font-size: 0.6875rem; // 11px 224 line-height: 1rem; // 16px 225 } 226`},35376:function(e,r,t){t.d(r,{S:function(){return a}});var i=t(9054),n=t(48904),o=t(10869);let a=({primaryCta:e,secondaryCta:r,helpText:t,footerText:a,watermark:l=!0,children:s,...c})=>{let d=e||r?(0,i.jsxs)(i.Fragment,{children:[e&&(()=>{let{label:r,...t}=e,o=t.variant||"primary";return(0,i.jsx)(n.a,{...t,variant:o,style:{width:"100%",...t.style},children:r})})(),r&&(()=>{let{label:e,...t}=r,o=t.variant||"secondary";return(0,i.jsx)(n.a,{...t,variant:o,style:{width:"100%",...t.style},children:e})})()]}):null;return(0,i.jsxs)(o.S,{id:c.id,className:c.className,children:[(0,i.jsx)(o.S.Header,{...c}),s?(0,i.jsx)(o.S.Body,{children:s}):null,t||d||l?(0,i.jsxs)(o.S.Footer,{children:[t?(0,i.jsx)(o.S.HelpText,{children:t}):null,d?(0,i.jsx)(o.S.Actions,{children:d}):null,l?(0,i.jsx)(o.S.Watermark,{}):null]}):null,a?(0,i.jsx)(o.S.FooterText,{children:a}):null]})}},38685:function(e,r,t){t.d(r,{W:function(){return b}});var i=t(9054),n=t(94829),o=t(42456),a=t(63353),l=t(83771),s=t(48904),c=t(59405),d=t(99181),p=t(56090),u=t(86859);let h=(0,l.zo)(u.B)` 227 && { 228 padding: 0.75rem; 229 height: 56px; 230 } 231`,g=l.zo.div` 232 display: flex; 233 align-items: center; 234 justify-content: space-between; 235 width: 100%; 236`,f=l.zo.div` 237 display: flex; 238 flex-direction: column; 239 gap: 0; 240`,x=l.zo.div` 241 font-size: 12px; 242 line-height: 1rem; 243 color: var(--privy-color-foreground-3); 244`,v=(0,l.zo)(d.L)` 245 text-align: left; 246 margin-bottom: 0.5rem; 247`,y=(0,l.zo)(c.E)` 248 margin-top: 0.25rem; 249`,m=(0,l.zo)(s.S)` 250 && { 251 gap: 0.375rem; 252 font-size: 14px; 253 } 254`,b=({errMsg:e,balance:r,address:t,className:l,title:s,showCopyButton:c=!1})=>{let[d,u]=(0,a.useState)(!1);return(0,a.useEffect)(()=>
254{if(d){let e=setTimeout(()=>u(!1),3e3);return()=>clearTimeout(e)}},[d]),(0,i.jsxs)("div",{children:[s&&(0,i.jsx)(v,{children:s}),(0,i.jsx)(h,{className:l,$state:e?"error":void 0,children:(0,i.jsxs)(g,{children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(p.A,{address:t,showCopyIcon:!1}),void 0!==r&&(0,i.jsx)(x,{children:r})]}),c&&(0,i.jsx)(m,{onClick:function(e){e.stopPropagation(),navigator.clipboard.writeText(t).then(()=>u(!0)).catch(console.error)},size:"sm",children:(0,i.jsxs)(i.Fragment,d?{children:["Copied",(0,i.jsx)(n.Z,{size:14})]}:{children:["Copy",(0,i.jsx)(o.Z,{size:14})]})})]})}),e&&(0,i.jsx)(y,{children:e})]})}},37099:function(e,r,t){t.d(r,{W:function(){return a}});var i=t(9054),n=t(38218),o=t(83771);let a=({children:e,theme:r,className:t})=>(0,i.jsxs)(l,{$theme:r,className:t,children:[(0,i.jsx)(n.Z,{width:"20px",height:"20px",color:"var(--privy-color-icon-warning)",strokeWidth:2,style:{flexShrink:0}}),(0,i.jsx)(s,{$theme:r,children:e})]}),l=o.zo.div` 255 display: flex; 256 gap: 0.75rem; 257 background-color: var(--privy-color-warn-bg); 258 align-items: flex-start; 259 padding: 1rem; 260 border-radius: 0.75rem; 261`,s=o.zo.div` 262 color: ${e=>"dark"===e.$theme?"var(--privy-color-foreground-2)":"var(--privy-color-foreground)"}; 263 font-size: 1rem; 264 font-weight: 400; 265 line-height: 1.5; 266 flex: 1; 267 text-align: left; 268`},4714:function(e,r,t){t.d(r,{N:function(){return o}});var i=t(9054),n=t(83771);let o=({size:e,centerIcon:r})=>(0,i.jsx)(a,{$size:e,children:(0,i.jsxs)(l,{children:[(0,i.jsx)(c,{}),(0,i.jsx)(d,{}),r?(0,i.jsx)(s,{children:r}):null]})}),a=n.zo.div` 269 --spinner-size: ${e=>e.$size?e.$size:"96px"}; 270 271 display: inline-flex; 272 justify-content: center; 273 align-items: center; 274 275 @media all and (display-mode: standalone) { 276 margin-bottom: 30px; 277 } 278`,l=n.zo.div` 279 position: relative; 280 height: var(--spinner-size); 281 width: var(--spinner-size); 282 283 opacity: 1; 284 animation: fadein 200ms ease; 285`,s=n.zo.div` 286 position: absolute; 287 top: 0; 288 right: 0; 289 bottom: 0; 290 left: 0; 291 display: flex; 292 align-items: center; 293 justify-content: center; 294 svg, 295 img { 296 width: calc(var(--spinner-size) * 0.4); 297 height: calc(var(--spinner-size) * 0.4); 298 border-radius: var(--privy-border-radius-full); 299 } 300`,c=n.zo.div` 301 position: absolute; 302 top: 0; 303 right: 0; 304 bottom: 0; 305 left: 0; 306 width: var(--spinner-size); 307 height: var(--spinner-size); 308 309 && { 310 border: 4px solid var(--privy-color-border-default); 311 border-radius: 50%; 312 } 313`,d=n.zo.div` 314 position: absolute; 315 top: 0; 316 right: 0; 317 bottom: 0; 318 left: 0; 319 width: var(--spinner-size); 320 height: var(--spinner-size); 321 animation: spin 1200ms linear infinite; 322 323 && { 324 border: 4px solid; 325 border-color: var(--privy-color-icon-subtle) transparent transparent transparent; 326 border-radius: 50%; 327 } 328 329 @keyframes spin { 330 from { 331 transform: rotate(0deg); 332 } 333 to { 334 transform: rotate(360deg); 335 } 336 } 337`},86859:function(e,r,t){t.d(r,{B:function(){return o},a:function(){return n}});var i=t(83771);let n=(0,i.iv)` 338 && { 339 border-width: 1px; 340 padding: 0.5rem 1rem; 341 } 342 343 width: 100%; 344 text-align: left; 345 border: solid 1px var(--privy-color-foreground-4); 346 border-radius: var(--privy-border-radius-md); 347 display: flex; 348 justify-content: space-between; 349 align-items: center; 350 351 ${e=>"error"===e.$state?"\n border-color: var(--privy-color-error);\n background: var(--privy-color-error-bg);\n ":""} 352`,o=i.zo.div` 353 ${n} 354`}}]);
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.