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]="79a06c5d-a520-4891-9242-bc3c6cfeb23c",e._sentryDebugIdIdentifier="sentry-dbid-79a06c5d-a520-4891-9242-bc3c6cfeb23c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54956],{22055:(e,r,i)=>{i.d(r,{F:()=>o});var t=i(91777);let o=e=>(0,t.jsxs)("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#855DCD"}),(0,t.jsxs)("g",{"clip-path":"url(#clip0_1715_1960)",children:[(0,t.jsx)("path",{d:"M4.5 4H28.5V28H4.5V4Z",fill:"#855DCD"}),(0,t.jsx)("path",{d:"M11.1072 8.42105H21.6983V23.5789H20.1437V16.6357H20.1284C19.9566 14.7167 18.3542 13.2129 16.4028 13.2129C14.4514 13.2129 12.849 14.7167 12.6771 16.6357H12.6619V23.5789H11.1072V8.42105Z",fill:"white"}),(0,t.jsx)("path",{d:"M8.28943 10.5725L8.92101 12.7239H9.45542V21.4275C9.1871 21.4275 8.96959 21.6464 8.96959 21.9165V22.5032H8.87242C8.60411 22.5032 8.38659 22.7221 8.38659 22.9922V23.5789H13.8279V22.9922C13.8279 22.7221 13.6104 22.5032 13.3421 22.5032H13.2449V21.9165C13.2449 21.6464 13.0274 21.4275 12.7591 21.4275H12.1761V10.5725H8.28943Z",fill:"white"}),(0,t.jsx)("path",{d:"M20.2408 21.4275C19.9725 21.4275 19.755 21.6464 19.755 21.9165V22.5032H19.6579C19.3895 22.5032 19.172 22.7221 19.172 22.9922V23.5789H24.6133V22.9922C24.6133 22.7221 24.3958 22.5032 24.1275 22.5032H24.0303V21.9165C24.0303 21.6464 23.8128 21.4275 23.5445 21.4275V12.7239H24.0789L24.7105 10.5725H20.8238V21.4275H20.2408Z",fill:"white"})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1715_1960",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(4.5 4)"})})})]})},25919:(e,r,i)=>{i.d(r,{S:()=>j});var t=i(91777),o=i(6821),n=i(15870),l=i(85578),a=i(52198),s=i(55886);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`,h=n.I4.div` 21 position: relative; 22 display: flex; 23 flex-direction: column; 24`,p=(0,n.I4)(a.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`,x=n.I4.div` 60 text-align: center; 61 display: flex; 62 flex-direction: column; 63 align-items: center; 64 gap: var(--screen-space); 65`,v=n.I4.div` 66 display: flex; 67 flex-direction: column; 68 gap: 4px; 69`,f=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`,m=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`,y=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`,w=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`,j=({children:e,...r})=>(0,t.jsx)(c,{children:(0,t.jsx)(d,{...r,children:e})}),C=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`,k=(0,n.I4)(a.B)` 137 padding: 0; 138 && a { 139 padding: 0; 140 color: var(--privy-color-foreground-3); 141 } 142`,S=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`,z=({step:e})=>e?(0,t.jsx)(C,{children:(0,t.jsx)(S,{pct:Math.min(100,e.current/e.total*100)})}):null;j.Header=({title:e,subtitle:r,icon:i,iconVariant:o,iconLoadingStatus:n,showBack:l,onBack:a,showInfo:s,onInfo:c,showClose:d,onClose:g,step:u,headerTitle:y,...b})=>(0,t.jsxs)(h,{...b,children:[(0,t.jsx)(p,{backFn:l?a:void 0,infoFn:s?c:void 0,onClose:d?g:void 0,title:y,closeable:d}),(i||o||e||r)&&(0,t.jsxs)(x,{children:[i||o?(0,t.jsx)(j.Icon,{icon:i,variant:o,loadingStatus:n}):null,!(!e&&!r)&&(0,t.jsxs)(v,{children:[e&&(0,t.jsx)(f,{children:e}),r&&(0,t.jsx)(m,{children:r})]})]}),u&&(0,t.jsx)(z,{step:u})]}),(j.Body=o.forwardRef(({children:e,...r},i)=>(0,t.jsx)(g,{ref:i,...r,children:e}))).displayName="Screen.Body",j.Footer=({children:e,...r})=>(0,t.jsx)(u,{id:"privy-content-footer-container",...r,children:e}),j.Actions=({children:e,...r})=>(0,t.jsx)(I,{...r,children:e}),j.HelpText=({children:e,...r})=>(0,t.jsx)($,{...r,children:e}),j.FooterText=({children:e,...r})=>(0,t.jsx)(F,{...r,children:e}),j.Watermark=()=>(0,t.jsx)(k,{}),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)(l.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 I=n.I4.div` 149 width: 100%; 150 display: flex; 151 flex-direction: column; 152 gap: calc(var(--screen-space) / 2); 153`,$=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`,F=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`}
175,40559:(e,r,i)=>{i.d(r,{S:()=>l});var t=i(91777),o=i(52198),n=i(25919);let l=({primaryCta:e,secondaryCta:r,helpText:i,footerText:l,watermark:a=!0,children:s,...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)(o.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)(o.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}),s?(0,t.jsx)(n.S.Body,{children:s}):null,i||d||a?(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,a?(0,t.jsx)(n.S.Watermark,{}):null]}):null,l?(0,t.jsx)(n.S.FooterText,{children:l}):null]})}},54956:(e,r,i)=>{i.r(r),i.d(r,{FarcasterSignerStatusScreen:()=>k,FarcasterSignerStatusView:()=>f,default:()=>k});var t=i(91777),o=i(6821),n=i(46326),l=i(15870),a=i(98381),s=i(85578),c=i(81752),d=i(68346),h=i(44641),p=i(58262),g=i(7419),u=i(40559),x=i(22055);i(60591),i(93095),i(35605);let v="#8a63d2",f=({appName:e,loading:r,success:i,errorMessage:o,connectUri:l,onBack:h,onClose:p,onOpenFarcaster:g})=>(0,t.jsx)(u.S,n.Fr||r?n.un?{title:o?o.message:"Add a signer to Farcaster",subtitle:o?o.detail:`This will allow ${e} to add casts, likes, follows, and more on your behalf.`,icon:x.F,iconVariant:"loading",iconLoadingStatus:{success:i,fail:!!o},primaryCta:l&&g?{label:"Open Farcaster app",onClick:g}:void 0,onBack:h,onClose:p,watermark:!0}:{title:o?o.message:"Requesting signer from Farcaster",subtitle:o?o.detail:"This should only take a moment",icon:x.F,iconVariant:"loading",iconLoadingStatus:{success:i,fail:!!o},onBack:h,onClose:p,watermark:!0,children:l&&n.Fr&&(0,t.jsx)(m,{children:(0,t.jsx)(c.O,{text:"Take me to Farcaster",url:l,color:v})})}:{title:"Add a signer to Farcaster",subtitle:`This will allow ${e} to add casts, likes, follows, and more on your behalf.`,onBack:h,onClose:p,watermark:!0,children:(0,t.jsxs)(y,{children:[(0,t.jsx)(b,{children:l?(0,t.jsx)(d.Q,{url:l,size:275,squareLogoElement:x.F}):(0,t.jsx)(C,{children:(0,t.jsx)(s.L,{})})}),(0,t.jsxs)(w,{children:[(0,t.jsx)(j,{children:"Or copy this link and paste it into a phone browser to open the Farcaster app."}),l&&(0,t.jsx)(a.C,{text:l,itemName:"link",color:v})]})]})}),m=l.I4.div` 176 margin-top: 24px; 177`,y=l.I4.div` 178 display: flex; 179 flex-direction: column; 180 align-items: center; 181 gap: 24px; 182`,b=l.I4.div` 183 padding: 24px; 184 position: relative; 185 display: flex; 186 align-items: center; 187 justify-content: center; 188 min-height: 275px; 189`,w=l.I4.div` 190 display: flex; 191 flex-direction: column; 192 align-items: center; 193 gap: 16px; 194`,j=l.I4.div` 195 font-size: 0.875rem; 196 text-align: center; 197 color: var(--privy-color-foreground-2); 198`,C=l.I4.div` 199 position: relative; 200 width: 82px; 201 height: 82px; 202`,k={component:()=>{let{lastScreen:e,navigateBack:r,data:i}=(0,g.a)(),n=(0,h.u)(),{requestFarcasterSignerStatus:l,closePrivyModal:a}=(0,p.u)(),[s,c]=(0,o.useState)(void 0),[d,u]=(0,o.useState)(!1),[x,v]=(0,o.useState)(!1),m=(0,o.useRef)([]),y=i?.farcasterSigner;(0,o.useEffect)(()=>{let e=Date.now(),r=setInterval(async()=>{if(!y?.public_key)return clearInterval(r),void c({retryable:!0,message:"Connect failed",detail:"Something went wrong. Please try again."});"approved"===y.status&&(clearInterval(r),u(!1),v(!0),m.current.push(setTimeout(()=>a({shouldCallAuthOnSuccess:!1,isSuccess:!0}),h.q)));let i=await l(y?.public_key),t=Date.now()-e;"approved"===i.status?(clearInterval(r),u(!1),v(!0),m.current.push(setTimeout(()=>a({shouldCallAuthOnSuccess:!1,isSuccess:!0}),h.q))):t>3e5?(clearInterval(r),c({retryable:!0,message:"Connect failed",detail:"The request timed out. Try again."})):"revoked"===i.status&&(clearInterval(r),c({retryable:!0,message:"Request rejected",detail:"The request was rejected. Please try again."}))},2e3);return()=>{clearInterval(r),m.current.forEach(e=>clearTimeout(e))}},[]);let b="pending_approval"===y?.status?y.signer_approval_url:void 0;return(0,t.jsx)(f,{appName:n.name,loading:d,success:x,errorMessage:s,connectUri:b,onBack:e?r:void 0,onClose:a,onOpenFarcaster:()=>{b&&(window.location.href=b)}})}}},55886:(e,r,i)=>{i.d(r,{N:()=>n});var t=i(91777),o=i(15870);let n=({size:e,centerIcon:r})=>(0,t.jsx)(l,{$size:e,children:(0,t.jsxs)(a,{children:[(0,t.jsx)(c,{}),(0,t.jsx)(d,{}),r?(0,t.jsx)(s,{children:r}):null]})}),l=o.I4.div` 203 --spinner-size: ${e=>e.$size?e.$size:"96px"}; 204 205 display: inline-flex; 206 justify-content: center; 207 align-items: center; 208 209 @media all and (display-mode: standalone) { 210 margin-bottom: 30px; 211 } 212`,a=o.I4.div` 213 position: relative; 214 height: var(--spinner-size); 215 width: var(--spinner-size); 216 217 opacity: 1; 218 animation: fadein 200ms ease; 219`,s=o.I4.div` 220 position: absolute; 221 top: 0; 222 right: 0; 223 bottom: 0; 224 left: 0; 225 display: flex; 226 align-items: center; 227 justify-content: center; 228 svg, 229 img { 230 width: calc(var(--spinner-size) * 0.4); 231 height: calc(var(--spinner-size) * 0.4); 232 border-radius: var(--privy-border-radius-full); 233 } 234`,c=o.I4.div` 235 position: absolute; 236 top: 0; 237 right: 0; 238 bottom: 0; 239 left: 0; 240 width: var(--spinner-size); 241 height: var(--spinner-size); 242 243 && { 244 border: 4px solid var(--privy-color-border-default); 245 border-radius: 50%; 246 } 247`,d=o.I4.div` 248 position: absolute; 249 top: 0; 250 right: 0; 251 bottom: 0; 252 left: 0; 253 width: var(--spinner-size); 254 height: var(--spinner-size); 255 animation: spin 1200ms linear infinite; 256 257 && { 258 border: 4px solid; 259 border-color: var(--privy-color-icon-subtle) transparent transparent transparent; 260 border-radius: 50%; 261 } 262 263 @keyframes spin { 264 from { 265 transform: rotate(0deg); 266 } 267 to { 268 transform: rotate(360deg); 269 } 270 } 271`},68346:(e,r,i)=>{i.d(r,{Q:()=>f});var t=i(91777),o=i(93095),n=i(6821),l=i(15870),a=i(44641),s=i(83562);let c=()=>(0,t.jsx)("svg",{width:"200",height:"200",viewBox:"-77 -77 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px"},children:(0,t.jsx)("rect",{width:"50",height:"50",fill:"black",rx:10,ry:10})}),d=(e,r,i,t,o)=>{for(let n=r;n<r+t;n++)for(let r=i;r<i+o;r++){let i=e?.[r];i&&i[n]&&(i[n]=0)}return e},h=({x:e,y:r,cellSize:i,bgColor:o,fgColor:n})=>(0,t.jsx)(t.Fragment,{children:[0,1,2].map(l=>(0,t.jsx)("circle",{r:i*(7-2*l)/2,cx:e+7*i/2,cy:r+7*i/2,fill:l%2!=0?o:n},`finder-${e}-${r}-${l}`))}),p=({cellSize:e,matrixSize:r,bgColor:i,fgColor:o})=>(0,t.jsx)(t.Fragment,{children:[[0,0],[(r-7)*e,0],[0,(r-7)*e]].map(([r,n])=>(0,t.jsx)(h,{x:r,y:n,cellSize:e,bgColor:i,fgColor:o},`finder-${r}-${n}`))}),g=({matrix:e,cellSize:r,color:i})=>(0,t.jsx)(t.Fragment,{children:e.map((e,o)=>e.map((e,l)=>e?(0,t.jsx)("rect",{height:r-.4,width:r-.4,x:o*r+.1*r,y:l*r+.1*r,rx:.5*r,ry:.5*r,fill:i},`cell-${o}-${l}`):(0,t.jsx)(n.Fragment,{},`circle-${o}-${l}`)))}),u=({cellSize:e,matrixSize:r,element:i,sizePercentage:o,bgColor:n})=>{if(!i)return(0,t.jsx)(t.Fragment,{});let l=r*(o||.14),a=Math.floor(r/2-l/2),s=Math.floor(r/2+l/2);(s-a)%2!=r%2&&(s+=1);let c=(s-a)*e,d=c-.2*c,h=a*e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:a*e,y:a*e,width:c,height:c,fill:n}),(0,t.jsx)(i,{x:h+.1*c,y:h+.1*c,height:d,width:d})]})},x=e=>{let r=e.outputSize,i=((e,r)=>{let i=o.create(e,{errorCorrectionLevel:r}).modules,t=(0,s.E)(Array.from(i.data),i.size);return t=d(t,0,0,7,7),t=d(t,t.length-7,0,7,7),d(t,0,t.length-7,7,7)})(e.url,e.errorCorrectionLevel),n=r/i.length,l=(0,s.F)(2*n,{min:.025*r,max:.036*r});return(0,t.jsxs)("svg",{height:e.outputSize,width:e.outputSize,viewBox:`0 0 ${e.outputSize} ${e.outputSize}`,style:{height:"100%",width:"100%",padding:`${l}px`},children:[(0,t.jsx)(g,{matrix:i,cellSize:n,color:e.fgColor}),(0,t.jsx)(p,{cellSize:n,matrixSize:i.length,fgColor:e.fgColor,bgColor:e.bgColor}),(0,t.jsx)(u,{cellSize:n,element:e.logo?.element,bgColor:e.bgColor,matrixSize:i.length})]})},v=l.I4.div.attrs({className:"ph-no-capture"})` 272 display: flex; 273 justify-content: center; 274 align-items: center; 275 height: ${e=>`${e.$size}px`}; 276 width: ${e=>`${e.$size}px`}; 277 margin: auto; 278 background-color: ${e=>e.$bgColor}; 279 280 && { 281 border-width: 2px; 282 border-color: ${e=>e.$borderColor}; 283 border-radius: var(--privy-border-radius-md); 284 } 285`,f=e=>{let{appearance:r}=(0,a.u)(),i=e.bgColor||"#FFFFFF",o=e.fgColor||"#000000",n=e.size||160,l="dark"===r.palette.colorScheme?i:o;return(0,t.jsx)(v,{$size:n,$bgColor:i,$fgColor:o,$borderColor:l,children:(0,t.jsx)(x,{url:e.url,logo:{element:e.squareLogoElement??c},outputSize:n,bgColor:i,fgColor:o,errorCorrectionLevel:e.errorCorrectionLevel||"Q"})})}},81752:(e,r,i)=>{i.d(r,{O:()=>l});var t=i(91777),o=i(6821),n=i(15870);let l=e=>{let[r,i]=(0,o.useState)(!1);return(0,t.jsx)(a,{color:e.color,href:e.url,target:"_blank",rel:"noreferrer noopener",onClick:()=>{i(!0),setTimeout(()=>i(!1),1500)},justOpened:r,children:e.text})},a=n.I4.a` 286 display: flex; 287 align-items: center; 288 gap: 6px; 289 290 && { 291 margin: 8px 2px; 292 font-size: 14px; 293 color: ${e=>e.justOpened?"var(--privy-color-foreground)":e.color||"var(--privy-color-foreground-3)"}; 294 font-weight: ${e=>e.justOpened?"medium":"normal"}; 295 transition: color 350ms ease; 296 297 :focus, 298 :active { 299 background-color: transparent; 300 border: none; 301 outline: none; 302 box-shadow: none; 303 } 304 305 :hover { 306 color: ${e=>e.justOpened?"var(--privy-color-foreground)":"var(--privy-color-foreground-2)"}; 307 } 308 309 :active { 310 color: 'var(--privy-color-foreground)'; 311 font-weight: medium; 312 } 313 314 @media (max-width: 440px) { 315 margin: 12px 2px; 316 } 317 } 318 319 svg { 320 width: 14px; 321 height: 14px; 322 } 323`},98381:(e,r,i)=>{i.d(r,{C:()=>s});var t=i(91777),o=i(6821),n=i(15870);let l=({style:e,color:r,...i})=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:r||"currentColor",style:{height:"1.5rem",width:"1.5rem",...e},...i,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})}),a=({color:e,...r})=>(0,t.jsx)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",xmlSpace:"preserve",...r,children:(0,t.jsx)("g",{children:(0,t.jsx)("path",{fill:e||"currentColor",className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.5
3237,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})}),s=e=>{let[r,i]=(0,o.useState)(!1);return(0,t.jsxs)(c,{color:e.color,onClick:()=>{i(!0),navigator.clipboard.writeText(e.text),setTimeout(()=>i(!1),1500)},$justCopied:r,children:[r?(0,t.jsx)(l,{style:{height:"14px",width:"14px"},strokeWidth:"2"}):(0,t.jsx)(a,{style:{height:"14px",width:"14px"}}),r?"Copied":"Copy"," ",e.itemName?e.itemName:"to Clipboard"]})},c=n.I4.button` 324 display: flex; 325 align-items: center; 326 gap: 6px; 327 328 && { 329 margin: 8px 2px; 330 font-size: 14px; 331 color: ${e=>e.$justCopied?"var(--privy-color-foreground)":e.color||"var(--privy-color-foreground-3)"}; 332 font-weight: ${e=>e.$justCopied?"medium":"normal"}; 333 transition: color 350ms ease; 334 335 :focus, 336 :active { 337 background-color: transparent; 338 border: none; 339 outline: none; 340 box-shadow: none; 341 } 342 343 :hover { 344 color: ${e=>e.$justCopied?"var(--privy-color-foreground)":"var(--privy-color-foreground-2)"}; 345 } 346 347 :active { 348 color: 'var(--privy-color-foreground)'; 349 font-weight: medium; 350 } 351 352 @media (max-width: 440px) { 353 margin: 12px 2px; 354 } 355 } 356 357 svg { 358 width: 14px; 359 height: 14px; 360 } 361`}}]); 362//# sourceMappingURL=54956.a77815c98e06cc8b.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.