1/*! For license information please see 9293.a24ba294.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[9293],{33898:(e,n,t)=>{t.d(n,{B:()=>x,M:()=>k,T:()=>w,a:()=>T});var a=t(24107),l=t(90034),o=t(52610),i=t(99844),r=t(15882),c=t(57722);const d=["title","titleId"];function s(e,n){let{title:t,titleId:a}=e,l=(0,r.A)(e,d);return c.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:n,"aria-labelledby":a},l),t?c.createElement("title",{id:a},t):null,c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}const p=c.forwardRef(s);var h=t(46695);const u=["title","titleId"];function y(e,n){let{title:t,titleId:a}=e,l=(0,r.A)(e,u);return c.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:n,"aria-labelledby":a},l),t?c.createElement("title",{id:a},t):null,c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const g=c.forwardRef(y);var v=t(51380);function f(e){return(0,l.jsx)("svg",(0,a.A)((0,a.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 460 40"},e),{},{children:(0,l.jsx)("g",{fill:e.color||"var(--privy-color-foreground)",children:(0,l.jsx)("path",{d:"M0 15.4v15.38h4.64V19.96h3.58c2.47 0 3.63-.01 3.77-.02 1-.08 1.49-.15 2.18-.3a9.45 9.45 0 0 0 4.6-2.37c1.66-1.57 2.64-3.87 2.81-6.56.02-.3.02-1.19 0-1.49-.1-1.77-.56-3.35-1.36-4.72A8.84 8.84 0 0 0 15.14.57c-.93-.3-1.75-.43-3.09-.54C11.9.02 10.2 0 5.93 0H0ZM10.85 4c1.85.05 3.1.45 4.16 1.3.22.17.54.49.69.68a5.97 5.97 0 0 1 1.19 3.13c.04.35.04 1.36 0 1.71-.08.68-.23 1.3-.44 1.85a4.8 4.8 0 0 1-1.09 1.68A5.63 5.63 0 0 1 12 15.92c-.6.08-.4.08-4.01.09H4.64V3.98h2.9c1.6 0 3.08 0 3.31.02ZM187.65 5.71v5.72h-.27l-.09-.14a15.9 15.9 0 0 0-1.21-1.73c-.43-.5-1-.95-1.7-1.36-.54-.3-1.05-.5-1.73-.63a8.98 8.98 0 0 0-1.7-.17 8.84 8.84 0 0 0-7.8 4.03 12.95 12.95 0 0 0-2.03 6.39c-.07.98-.06 2.15.02 3.13.2 2.47.87 4.53 2.02 6.25a8.98 8.98 0 0 0 10.22 3.65 6.5 6.5 0 0 0 2.8-1.93c.41-.51.84-1.1 1.1-1.55l.1-.17h.37v3.58h4.38V0h-4.48Zm-5.24 5.54c1.3.14 2.3.6 3.17 1.48.9.9 1.5 2.09 1.85 3.64.36 1.6.39 3.72.06 5.43a8.13 8.13 0 0 1-1.54 3.62 5.1 5.1 0 0 1-3.93 1.96 6.13 6.13 0 0 1-2.32-.31 5.87 5.87 0 0 1-3.33-3.5c-.39-1-.62-2.05-.72-3.32-.03-.32-.04-1.35-.02-1.73.08-1.56.4-2.91.96-4.05a6.2 6.2 0 0 1 1.06-1.58 5.08 5.08 0 0 1 3.6-1.66c.25-.02.9 0 1.16.02ZM210.07 15.39l.01 15.38h4.38l.01-3.57h.37l.09.15c.24.44.84 1.26 1.21 1.7a6.79 6.79 0 0 0 2.57 1.75 9.3 9.3 0 0 0 6.86-.49 9.28 9.28 0 0 0 4.05-4.07A13.05 13.05 0 0 0 231 21.6c.21-1.73.18-3.7-.09-5.32a13.03 13.03 0 0 0-1.5-4.3 9.1 9.1 0 0 0-3.75-3.63 9.15 9.15 0 0 0-4.43-.96 7.46 7.46 0 0 0-2.8.5A7.07 7.07 0 0 0 216 9.7c-.4.52-.82 1.12-1.1 1.59l-.07.14h-.27V0h-4.5Zm11.13-4.14c1.07.1 1.94.44 2.7 1.04a6.1 6.1 0 0 1 1.64 1.98c.43.84.78 2 .94 3.11.15 1.16.16 2.4.02 3.54a9.34 9.34 0 0 1-1.39 4.03 5.33 5.33 0 0 1-2.69 2.15c-.9.3-2.04.38-3.06.2a5.14 5.14 0 0 1-3.45-2.37 6.03 6.03 0 0 1-.45-.8c-.5-1.03-.8-2.2-.92-3.58-.04-.49-.06-.89-.05-1.53.01-.76.05-1.23.13-1.85.38-2.53 1.47-4.38 3.15-5.31a5.46 5.46 0 0 1 2.3-.63 10 10 0 0 1 1.13.02ZM69.05 2.17l-.01 2.77V7.7h-3.36v3.6h3.36v6.8l.01 7.15c.06 1.4.4 2.44 1.1 3.37a5.8 5.8 0 0 0 2.97 2.07c.91.3 1.83.42 2.9.38a8.71 8.71 0 0 0 2.66-.48l-.8-3.7-.38.06a4.96 4.96 0 0 1-2.43-.06c-.33-.1-.56-.25-.8-.49-.4-.41-.6-.88-.7-1.67-.02-.2-.02-.62-.03-6.82v-6.6h4.73V7.7h-4.73V2.16h-4.49ZM133.34 2.17V7.7h-3.39v3.6h3.38v6.9l.01 7.17a5.66 5.66 0 0 0 2.36 4.49c.85.6 2.03 1.03 3.26 1.17.85.1 2.03.05 2.81-.1.3-.06.75-.18 1-.26l.2-.06v-.05l-.81-3.67-.37.06a4.99 4.99 0 0 1-1.8.09c-.85-.13-1.32-.4-1.7-.97a2.63 2.63 0 0 1-.39-1.04c-.06-.4-.06 0-.06-7.1V11.3h4.7V7.7h-4.7l-.01-2.77V2.16h-4.49ZM293.41 2.36a14.56 14.56 0 0 0-13.7 16.07 14.59 14.59 0 0 0 21.86 11.08 14.5 14.5 0 0 0 7.11-14.07 14.61 14.61 0 0 0-6.53-10.73 14.49 14.49 0 0 0-8.74-2.35ZM350.8 2.36a10.17 10.17 0 0 0-7.56 4.2c-.16.2-.45.63-.58.83l-.05.1h-.47l-.01-4.36h-7.36v36.4h7.82V27.27h.49l.05.07a11.3 11.3 0 0 0 7.49 4.15 10.52 10.52 0 0 0 9.38-4.1c1.66-2.1 2.73-4.9 3.07-8.06.1-.87.13-1.4.13-2.37 0-.8 0-1.1-.07-1.76a15.95 15.95 0 0 0-3.23-8.72 12.8 12.8 0 0 0-1.85-1.84 10.49 10.49 0 0 0-7.26-2.28Zm-.94 6.05c1.27.15 2.33.65 3.2 1.5.98.96 1.67 2.31 2.03 4 .34 1.57.38 3.68.12 5.39a9.78 9.78 0 0 1-1.04 3.25c-.14.25-.44.69-.6.89a5.35 5.35 0 0 1-4.31 2.07 5.25 5.25 0 0 1-4.41-1.9 7.35 7.35 0 0 1-1.26-2.32 14.09 14.09 0 0 1-.62-4.83c.05-1.98.38-3.53 1.02-4.85a5.63 5.63 0 0 1 2.5-2.65c.66-.34 1.3-.5 2.14-.58.18-.02 1.04 0 1.23.03ZM363.63 3.1l-.01 3.2v3.16h1.43c1.26.01 1.44.02 1.54.04.42.09.66.28.79.62.08.23.08.08.08 2.96a911.57 911.57 0 0 1 .03 10.18v7.54h7.82v-7.4l.01-7.83c.03-.94.11-1.63.27-2.28.46-1.9 1.54-2.93 3.35-3.23.52-.08.2-.08 5-.08h4.4V3.08h-3.1c-3.48 0-3.91.01-4.67.1-1.83.2-3.04.79-3.96 1.88-.5.6-.9 1.32-1.26 2.26l-.06.17h-.46V3.09h-5.6c-4.46 0-5.6 0-5.6.02ZM390.8 16.95V30.8h3.87l3.86-.01V3.09h-7.73ZM400.6 3.1l-.01.4v.38l4.66 13.4 4.69 13.47.02.05h10.3l.03-.05 4.67-13.45 4.67-13.4V3.1h-7.43l-6.7 19.26h-.5l-3.28-9.5-3.31-9.64-.05-.12h-3.88l-3.88.01ZM430.98 3.1c-.01 0-.02.19-.02.4v.39l5.08 14.59c2.8 8.02 5.08 14.6 5.08 14.61.01.02-.22.02-4.8.02h-4.82v6.42h4.95c5.09 0 5.23 0 5.87-.06 3.15-.28 5.29-1.63 6.63-4.15.28-.55.44-.95.87-2.16L459 6.78l1-2.89v-.8h-7.43l-6.69 19.26h-.5l-3.27-9.46-3.31-9.64-.06-.16h-3.88l-3.88.01ZM36.57 7.36c-1.36.1-2.6.6-3.62 1.45a5.65 5.65 0 0 0-1.67 2.42l-.05.13H31V7.7h-4.35v23.08h4.5v-7.3c0-8 0-7.34.08-7.82a4.89 4.89 0 0 1 2.06-3.18c.83-.58 1.74-.89 2.87-.98a11.87 11.87 0 0 1 2.8.25H39v-4.3l-.21-.02c-.
261-.07-1.74-.1-2.22-.07ZM51.08 7.41c-2.33.12-4.3.84-5.95 2.16a9.89 9.89 0 0 0-2.03 2.2 12.5 12.5 0 0 0-2 5.78 18.04 18.04 0 0 0 0 3.65 12.13 12.13 0 0 0 2.26 6.05 9.74 9.74 0 0 0 5 3.52c2.11.64 4.7.64 6.8 0a9.78 9.78 0 0 0 4.88-3.37c1.38-1.78 2.19-4 2.4-6.58.13-1.46.06-3.06-.18-4.42a11.24 11.24 0 0 0-3.58-6.6 10 10 0 0 0-5.75-2.35c-.56-.06-1.31-.07-1.85-.04Zm1.42 3.78c.88.1 1.62.34 2.28.75a6.13 6.13 0 0 1 1.99 2.15 10.31 10.31 0 0 1 1.2 5c.02 1.23-.12 2.44-.42 3.51a7.14 7.14 0 0 1-1.81 3.32c-.61.6-1.2.98-1.95 1.24a6 6 0 0 1-2 .3 5.7 5.7 0 0 1-2.72-.6 5 5 0 0 1-1.28-.94A7.1 7.1 0 0 1 46 22.73c-.57-1.99-.6-4.46-.08-6.5a7.24 7.24 0 0 1 2.03-3.67 5.13 5.13 0 0 1 3.35-1.4 11 11 0 0 1 1.2.03ZM92.05 7.4c-.96.06-1.56.15-2.3.33a9.62 9.62 0 0 0-6.09 4.66 13.5 13.5 0 0 0-1.71 7c0 .83 0 1.04.06 1.6.16 1.77.58 3.32 1.29 4.7A9.72 9.72 0 0 0 90.28 31c1.84.37 4.08.32 5.85-.13a9.07 9.07 0 0 0 5.02-3.1A7.64 7.64 0 0 0 102.5 25l-2.11-.39-2.11-.38-.08.13a4.72 4.72 0 0 1-2.35 2.55 6.3 6.3 0 0 1-2.23.58c-.29.03-1.13.03-1.44 0a6.35 6.35 0 0 1-3.02-1.04 5.93 5.93 0 0 1-2.02-2.43 8.44 8.44 0 0 1-.72-3.18v-.26h16.38v-.81c0-1.83-.06-2.76-.25-3.87-.2-1.22-.53-2.24-1.05-3.28a8.9 8.9 0 0 0-2.66-3.26 10.1 10.1 0 0 0-5.34-1.94 18.3 18.3 0 0 0-1.46-.03Zm1.3 3.75c1.2.13 2.19.55 3.05 1.3a5.8 5.8 0 0 1 1.78 2.96c.13.51.21 1.17.21 1.66v.15H86.43v-.12c.08-.97.3-1.78.72-2.61.5-1 1.2-1.8 2.14-2.42a5.32 5.32 0 0 1 2.9-.95c.2-.01.97 0 1.17.03ZM116.79 7.41c-2 .1-3.73.65-5.22 1.65a10.7 10.7 0 0 0-4.25 6.06 16.1 16.1 0 0 0-.5 5.8c.2 2.17.84 4.13 1.88 5.76.58.9 1.32 1.73 2.15 2.4a9.37 9.37 0 0 0 3.6 1.8 12.06 12.06 0 0 0 3.92.34 10.2 10.2 0 0 0 3.84-.95 8.31 8.31 0 0 0 4.76-6.75l.01-.04h-4.37l-.05.16a4.87 4.87 0 0 1-4.24 3.75c-.59.07-1.32.06-1.93-.05a5.47 5.47 0 0 1-3.5-2.27c-.56-.75-1-1.73-1.26-2.79a13.8 13.8 0 0 1-.16-5.24 7.77 7.77 0 0 1 2.1-4.3 5.48 5.48 0 0 1 2.15-1.3 6.4 6.4 0 0 1 3.89.1c.59.21 1.03.5 1.5.96a5.32 5.32 0 0 1 1.46 2.5l.04.15h4.37v-.06a8.22 8.22 0 0 0-5.31-6.94 10.98 10.98 0 0 0-4.88-.74ZM156.2 7.41a9.87 9.87 0 0 0-6 2.29 11.02 11.02 0 0 0-3.41 5.43c-.52 1.78-.68 3.9-.48 5.97.17 1.8.63 3.38 1.37 4.8a9.68 9.68 0 0 0 5.91 4.86c1.65.48 3.63.61 5.53.36 3.72-.49 6.55-2.62 7.56-5.69.12-.39.13-.42.1-.43-.02 0-4.13-.75-4.19-.75-.03 0-.04 0-.1.16-.18.42-.45.9-.72 1.22-.16.2-.49.53-.7.7-.67.54-1.5.9-2.43 1.08-.48.08-.83.11-1.41.11-.64 0-1.07-.04-1.6-.15a5.76 5.76 0 0 1-3.93-2.83 8 8 0 0 1-.99-3.79v-.16h16.38v-1.11l-.02-1.43c-.1-2.25-.53-4-1.35-5.59a9.24 9.24 0 0 0-6.18-4.75c-1.04-.26-2.2-.36-3.33-.3Zm1.45 3.74a5.35 5.35 0 0 1 3.66 1.94 6.1 6.1 0 0 1 1.38 4.01v.12h-11.97v-.06c0-.02 0-.14.02-.25a6.6 6.6 0 0 1 2.15-4.32 5.73 5.73 0 0 1 3.5-1.46c.25-.02 1 0 1.26.02ZM233.58 7.82l8.37 23.22a49.22 49.22 0 0 1-.67 1.9 5.36 5.36 0 0 1-1.14 1.8c-.41.4-.82.58-1.48.69-.27.04-1.03.03-1.35 0a8.05 8.05 0 0 1-1.1-.23l-1.08 3.67c0 .02.32.14.66.22.83.21 1.57.29 2.56.28.56-.01.8-.03 1.24-.1 2.71-.4 4.66-2.09 5.86-5.08l9.64-26.44c0-.02-4.82-.06-4.83-.05l-2.93 8.96-2.91 8.94h-.24l-.22-.65-2.91-8.95-2.7-8.3H233.53ZM293.05 35.8c-1.18.04-1.93.09-2.8.16-2.52.24-4.53.69-5.43 1.23-.7.41-.76.86-.2 1.28.88.66 3.29 1.19 6.36 1.4a48.55 48.55 0 0 0 5.75.05c3.47-.19 6.24-.78 7.11-1.5.22-.19.3-.34.3-.53 0-.1 0-.12-.04-.22-.35-.69-2.32-1.3-5.25-1.63a41.09 41.09 0 0 0-5.8-.24Zm0 0"})})}))}let m=o.I4.span.withConfig({displayName:"TermsAndConditionsContainer",componentId:"sc-ff3bd734-0"})(["margin-top:16px;font-size:13px;text-align:center;color:var(--privy-color-foreground-3);display:block;&& > a{color:var(--privy-color-accent);}"]);function w(e){let{app:{legal:{privacyPolicyUrl:n,termsAndConditionsUrl:t,requireUsersAcceptTerms:a}},alwaysShowImplicitConsent:o}=e,i=!(!n||!t);return a&&!o||!t&&!n?(0,l.jsx)(m,{}):(0,l.jsxs)(m,{children:["By logging in I agree to the"," ",t&&(0,l.jsx)("a",{href:t,target:"_blank",children:i?"Terms":"Terms of Service"}),i&&" & ",n&&(0,l.jsx)("a",{href:n,target:"_blank",children:"Privacy Policy"})]})}const x=e=>{var n;let{className:t}=e,{appearance:a}=(0,i.u)();return(0,l.jsx)(T,{className:t,children:null!==(n=a.footerLogo)&&void 0!==n?n:(0,l.jsx)(C,{href:"https://www.privy.io/",target:"_blank",id:"protected-by-privy",children:(0,l.jsx)(f,{color:"currentColor",height:13,width:150})})})};let C=o.I4.a.withConfig({displayName:"PrivyLink",componentId:"sc-ff3bd734-1"})(["&&{padding:0;color:var(--privy-color-foreground-3);}"]);const T=o.I4.div.withConfig({displayName:"ModalFooter",componentId:"sc-ff3bd734-2"})(["display:flex;align-items:center;justify-content:center;padding-top:8px;padding-bottom:12px;gap:8px;font-size:13px;&& a{padding:0.5rem 0;&:hover{text-decoration:none;}}@media all and (display-mode:standalone){padding-bottom:30px;}"]),b=e=>{let{backFn:n}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(I,{onClick:n,children:(0,l.jsx)(p,{height:"16px",width:"16px",strokeWidth:2})})})},j=e=>{let{infoFn:n}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(S,{"aria-label":"info",onClick:n,children:(0,l.jsx)(h.A,{height:"22px",width:"22px",strokeWidth:2})})})},A=e=>(0,l.jsx)("div",{children:(0,l.jsx)(I,{"aria-label":"close modal",onClick:e.onClose,children:(0,l.jsx)(g,{height:"16px",width:"16px",strokeWidth:2})})}),k=e=>{let{backFn:n,infoFn:t,onClose:a,title:o,closeable:r=!0,className:c}=e,{closePrivyModal:d}=(0,v.u)(),s=(0,i.u)();return(0,l.jsxs)(N,{className:c,children:[(0,l.jsxs)(_,{children:[n&&(0,l.jsx)(b,{backFn:n}),(0,l.jsx)("div",{style:{height:24}}),t&&(0,l.jsx)(j,{infoFn:t})]}),o&&(0,l.jsx)(W,{id:"privy-dialog-title",children:o}),(0,l.jsx)(M,{children:!s.render.standalone&&r&&(0,l.jsx)(A,{onClose:a||(()=>d())})})]})};let I=o.I4.button.withConfig({displayName:"StyledButton",componentId:"sc-bc3cd0df-0"})(["&&{cursor:pointer;display:flex;opacity:0.6;background-color:var(--privy-color-background-2);border-radius:var(--privy-border-radius-full);padding:4px;> svg{margin:auto;color:var(--privy-color-foreground);}:hover{opacity:1;}}
2"]),S=(0,o.I4)(I).withConfig({displayName:"TransparentStyledButton",componentId:"sc-bc3cd0df-1"})(["&&{background-color:transparent;}"]),N=o.I4.div.withConfig({displayName:"StyledHeader",componentId:"sc-bc3cd0df-2"})(["padding:16px 0;display:flex;align-items:center;justify-content:space-between;h2{font-size:16px;line-height:24px;font-weight:600;color:var(--privy-color-foreground);}"]),_=o.I4.div.withConfig({displayName:"LeftActionContainer",componentId:"sc-bc3cd0df-3"})(["flex:1;align-items:center;display:flex;gap:8px;"]),M=o.I4.div.withConfig({displayName:"RightActionContainer",componentId:"sc-bc3cd0df-4"})(["flex:1;display:flex;justify-content:flex-end;"]),W=o.I4.div.withConfig({displayName:"TitleContainer",componentId:"sc-bc3cd0df-5"})(["overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis;text-align:center;color:var(--privy-color-foreground-2);"])},41548:(e,n,t)=>{t.d(n,{C:()=>d});var a=t(24107),l=t(15882),o=t(90034),i=t(52610),r=t(62988);const c=["children","color","isLoading","isPulsing"],d=e=>{let{children:n,color:t,isLoading:i,isPulsing:r}=e,d=(0,l.A)(e,c);return(0,o.jsx)(s,(0,a.A)((0,a.A)({$color:t,$isLoading:i,$isPulsing:r},d),{},{children:n}))};let s=i.I4.span.withConfig({displayName:"StyledSpan",componentId:"sc-80725f4-0"})(["padding:0.25rem;font-size:0.75rem;font-weight:500;line-height:1rem;border-radius:var(--privy-border-radius-xs);display:flex;align-items:center;"," ",""],e=>{let n,t;"green"===e.$color&&(n="var(--privy-color-success-dark)",t="var(--privy-color-success-light)"),"red"===e.$color&&(n="var(--privy-color-error)",t="var(--privy-color-error-light)"),"gray"===e.$color&&(n="var(--privy-color-foreground-2)",t="var(--privy-color-background-2)");let a=(0,i.i7)(["from,to{background-color:",";}50%{background-color:rgba(",",0.8);}"],t,t);return(0,i.AH)(["color:",";background-color:",";",";"],n,t,e.$isPulsing&&(0,i.AH)(["animation:"," 3s linear infinite;"],a))},r.L)},46695:(e,n,t)=>{t.d(n,{A:()=>r});var a=t(15882),l=t(57722);const o=["title","titleId"];function i(e,n){let{title:t,titleId:i}=e,r=(0,a.A)(e,o);return l.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:n,"aria-labelledby":i},r),t?l.createElement("title",{id:i},t):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))}const r=l.forwardRef(i)},47909:(e,n,t)=>{t.d(n,{I:()=>o});var a=t(90034),l=t(49563);const o=e=>{let{icon:n,name:t}=e;return"string"==typeof n?(0,a.jsx)("img",{alt:"".concat(t||"wallet"," logo"),src:n,style:{height:24,width:24,borderRadius:4}}):void 0===n?(0,a.jsx)(l.A,{style:{height:24,width:24}}):n?(0,a.jsx)(n,{style:{height:24,width:24}}):null}},49563:(e,n,t)=>{t.d(n,{A:()=>r});var a=t(15882),l=t(57722);const o=["title","titleId"];function i(e,n){let{title:t,titleId:i}=e,r=(0,a.A)(e,o);return l.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:n,"aria-labelledby":i},r),t?l.createElement("title",{id:i},t):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3"}))}const r=l.forwardRef(i)},51781:(e,n,t)=>{t.d(n,{t:()=>i});var a=t(90034),l=t(49931),o=t(33898);function i(e){var n,t;let{title:i}=e,{currentScreen:r,navigateBack:c,navigate:d,data:s,setModalData:p}=(0,l.a)();return(0,a.jsx)(o.M,{title:i,backFn:"ManualTransferScreen"===r?c:r===(null===s||void 0===s||null===(n=s.funding)||void 0===n?void 0:n.methodScreen)?s.funding.comingFromSendTransactionScreen?()=>d("SendTransactionScreen"):void 0:null!==s&&void 0!==s&&null!==(t=s.funding)&&void 0!==t&&t.methodScreen?()=>{let e=s.funding;e.usingDefaultFundingMethod&&(e.usingDefaultFundingMethod=!1),p({funding:e,solanaFundingData:null===s||void 0===s?void 0:s.solanaFundingData}),d(e.methodScreen)}:void 0})}},62988:(e,n,t)=>{t.d(n,{L:()=>o});var a=t(52610);let l=(0,a.i7)(["from,to{background:var(--privy-color-foreground-4);color:var(--privy-color-foreground-4);}50%{background:var(--privy-color-foreground-accent);color:var(--privy-color-foreground-accent);}"]);const o=(0,a.AH)(["",""],e=>e.$isLoading?(0,a.AH)(["width:35%;animation:"," 2s linear infinite;border-radius:var(--privy-border-radius-sm);"],l):"")},66222:(e,n,t)=>{t.d(n,{F:()=>i,I:()=>o,a:()=>r,b:()=>c,c:()=>s,d:()=>p,e:()=>l,f:()=>h,g:()=>u,h:()=>d});var a=t(52610);
2const l=a.I4.div.withConfig({displayName:"FundingMethodContainer",componentId:"sc-eaaa12a-0"})(["display:flex;flex-direction:column;gap:12px;padding-top:24px;padding-bottom:24px;"]),o=a.I4.div.withConfig({displayName:"IconContainer",componentId:"sc-eaaa12a-1"})(["width:24px;height:24px;display:flex;justify-content:center;align-items:center;svg{border-radius:var(--privy-border-radius-sm);}"]),i=a.I4.div.withConfig({displayName:"FundingQuantityWrapper",componentId:"sc-eaaa12a-2"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;"]),r=a.I4.div.withConfig({displayName:"FundingQuantity",componentId:"sc-eaaa12a-3"})(["display:flex;align-items:center;gap:4px;width:100%;padding:0 16px;border-width:1px !important;border-radius:12px;cursor:text;&:focus-within{border-color:var(--privy-color-accent);}"]),c=a.I4.input.withConfig({displayName:"FundingAmountInput",componentId:"sc-eaaa12a-5"})(["background-color:var(--privy-color-background);width:100%;&:focus{outline:none !important;border:none !important;box-shadow:none !important;}&&{font-size:26px;}"]),d=(0,a.I4)(c).withConfig({displayName:"FundingAmountInputLarge",componentId:"sc-eaaa12a-6"})(["&&{font-size:42px;}"]),s=a.I4.div.withConfig({displayName:"FundingCurrency",componentId:"sc-eaaa12a-8"})(["font-size:18px;"]),p=a.I4.div.withConfig({displayName:"FundingDollars",componentId:"sc-eaaa12a-9"})(["font-size:12px;color:var(--privy-color-foreground-3);height:20px;"]),h=a.I4.div.withConfig({displayName:"InfoButtonText",componentId:"sc-eaaa12a-13"})([""]),u=a.I4.a.withConfig({displayName:"InfoButtonLink",componentId:"sc-eaaa12a-14"})(["&&{color:var(--privy-color-accent);}cursor:pointer;"])},79469:(e,n,t)=>{t.d(n,{S:()=>a});const a=t(52610).I4.span.withConfig({displayName:"Subtitle",componentId:"sc-7a11f796-0"})(["margin-top:4px;color:var(--privy-color-foreground);text-align:center;font-size:0.875rem;font-weight:400;line-height:1.375rem;&& a{color:var(--privy-color-accent);}"])},89037:(e,n,t)=>{t.d(n,{W:()=>y,t:()=>b});var a=t(24107),l=t(90034);const o=(0,t(90513).A)("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);var i=t(1991),r=t(78055),c=t(2035),d=t(52610),s=t(47909),p=t(41548),h=t(51380),u=t(49931);const y=e=>{let{onClick:n,text:t}=e;return(0,l.jsxs)(i.U,{onClick:n,children:[(0,l.jsx)(i.V,{children:(0,l.jsx)(o,{})}),(0,l.jsx)(i.Y,{children:t})]})},g=e=>{var n,t,o;let d,{provider:p,displayName:y,logo:g,connectOnly:w,connector:x}=e,{navigate:C,setModalData:T}=(0,u.a)(),{connectWallet:b}=(0,h.u)(),j=(0,i.F)(),A=(0,i.Q)(p),k="wallet_connect_v2"===x.connectorType?p:x.walletClientType,I=window.matchMedia("(display-mode: standalone)").matches,S=(0,i.n)({connectorType:x.connectorType,walletClientType:k});d=S&&S.chainTypes.includes(x.chainType)?()=>{S.isInstalled||"solana"===x.chainType&&"isInstalled"in x&&x.isInstalled?(b(x,k),C(w?"ConnectOnlyStatusScreen":"ConnectionStatusScreen")):c.Fr?(T({installWalletModalData:{walletConfig:S,chainType:x.chainType,connectOnly:w}}),C("WalletInterstitialScreen")):(T({installWalletModalData:{walletConfig:S,chainType:x.chainType,connectOnly:w}}),C("InstallWalletScreen"))}:"coinbase_wallet"!==x.connectorType||"eoaOnly"!==(null===(n=x.coinbaseWalletConfig.preference)||void 0===n?void 0:n.options)||!c.Fr||I||(0,i.T)()?()=>{var e;(!(0,r.l)(window.navigator.userAgent)||(null===(e=event)||void 0===e?void 0:e.isTrusted))&&(b(x,k),w?"wallet_connect_v2"===x.connectorType?(T(e=>(0,a.A)((0,a.A)({},e),{},{externalConnectWallet:(0,a.A)((0,a.A)({},null===e||void 0===e?void 0:e.externalConnectWallet),{},{preSelectedWalletId:"wallet_connect_qr"})})),C("ConnectOnlyLandingScreen")):C("ConnectOnlyStatusScreen"):C("ConnectionStatusScreen"))}:()=>{window.location.href="https://go.cb-w.com/dapp?cb_url=".concat(encodeURI(window.location.href))};let N=y||(null===A||void 0===A||null===(t=A.metadata)||void 0===t?void 0:t.shortName)||(null===A||void 0===A?void 0:A.name)||x.walletClientType;return(0,l.jsxs)(v,{onClick:d,children:[(0,l.jsx)(s.I,{icon:g||(null===A||void 0===A||null===(o=A.image_url)||void 0===o?void 0:o.md),name:N}),(0,l.jsx)("span",{children:N}),(0,l.jsxs)(m,{id:"chip-container",children:[(null===j||void 0===j?void 0:j.walletClientType)===k&&(null===j||void 0===j?void 0:j.chainType)===x.chainType?(0,l.jsx)(f,{color:"gray",children:"Recent"}):(0,l.jsx)("span",{id:"connect-text",children:"Connect"}),"solana"===x.chainType&&(0,l.jsx)(f,{color:"gray",children:"Solana"})]})]})};let v=(0,d.I4)(i.U).withConfig({displayName:"ConnectWalletButton",componentId:"sc-5fe2f19b-0"})(["> span{color:var(--privy-color-foreground);}> #chip-container > #connect-text{font-weight:500;color:var(--privy-color-accent);opacity:0;transition:opacity 0.1s ease-out;}:hover > #chip-container > #connect-text{opacity:1;}@media (max-width:440px){> #chip-container > #connect-text{display:none;}}"]),f=(0,d.I4)(p.C).withConfig({displayName:"StyledChip",componentId:"sc-5fe2f19b-1"})(["margin-left:auto;"]),m=d.I4.div.withConfig({displayName:"ChipContainer",componentId:"sc-5fe2f19b-2"})(["display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;"]);const w=["coinbase_wallet","base_account"];let x=["metamask","okx_wallet","rainbow","uniswap","bybit_wallet","ronin_wallet","haha_wallet","uniswap_extension","zerion","rabby_wallet","cryptocom","binance","kraken_wallet"];const C=["safe"],T=["phantom","backpack","solflare","jupiter","universal_profile"],b=e=>{let{walletList:n,walletChainType:t,connectors:a,connectOnly:o,ignore:i,walletConnectEnabled:c,forceWallet:d}=e,s=[],p=[],h=[],u=a.filter(e=>"ethereum-only"===t?"ethereum"===e.chainType:"solana-only"!==t||"solana"===e.chainType),y=u.find(e=>"wallet_connect_v2"===e.connectorType);for(let[m,b]of(d?[d.wallet]:n).entries()){if("detected_ethereum_wallets"===b)for(let[e,n]of u.filter(e=>{let{chainType:n,connectorType:t,walletClientType:a}=e;return"solana"!==n&&("uniswap_wallet_extension"===a||"uniswap_extension"===a?!i.includes("uniswap"):"crypto.com_wallet_extension"===a||"crypto.com_onchain"===a?!i.includes("cryptocom"):"injected"===t&&!i.includes(a))}).entries()){let{walletClientType:t,walletBranding:a,chainType:i}=n;("unknown"===t?p:s).push((0,l.jsx)(g,{connectOnly:o,provider:t,logo:a.icon,displayName:a.name,connector:n},"".concat(m,"-").concat(b,"-").concat(t,"-").concat(i,"-").concat(e)))}if("detected_solana_wallets"===b)for(let[e,n]of u.filter(e=>{let{chainType:n,walletClientType:a}=e;if("solana"===n)return"ethereum-only"!==t&&!i.includes(a)}).entries()){let{walletClientType:t,walletBranding:a,chainType:i}=n;("unknown"===t?p:s).push((0,l.jsx)(g,{connectOnly:o,provider:t,logo:a.icon,displayName:a.name,connector:n},"".concat(m,"-").concat(b,"-").concat(t,"-").concat(i,"-").concat(e)))}if(T.includes(b)){let e=u.find(e=>"injected"===e.connectorType&&e.walletClientType===b||e.connectorType===b);if(e&&s.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:e},"".concat(m,"-").concat(b))),"solana-only"===t||"ethereum-and-solana"===t){let e=u.find(e=>{let{chainType:n,walletClientType:t}=e;return"solana"===n&&t===b});e&&s.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:e},"".concat(b,"-solana")))}}else if(x.includes(b)){let e=u.find(e=>"uniswap"===b?"uniswap_wallet_extension"===e.walletClientType||"uniswap_extension"===e.walletClientType:"cryptocom"===b?"crypto.com_wallet_extension"===e.walletClientType||"crypto.com_onchain"===e.walletClientType:"injected"===e.connectorType&&e.walletClientType===b);if(c&&!e&&(e=y),e&&s.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:e,logo:"injected"===e.connectorType?e.walletBranding.icon:void 0,displayName:"injected"===e.connectorType?e.walletBranding.name:void 0},"".concat(m,"-").concat(b))),"solana-only"===t||"ethereum-and-solana"===t){let e=u.find(e=>{let{chainType:n,walletClientType:t}=e;return"solana"===n&&t===b});e&&s.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:e},"".concat(b,"-solana")))}}else if(w.includes(b)){let e=u.find(e=>{let{connectorType:n}=e;return n===b});e&&s.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:e,displayName:"coinbase_wallet"===e.walletClientType?"Coinbase":"Base",logo:"coinbase_wallet"===e.walletClientType?r.m:r.n},"".concat(m,"-").concat(b)))}else if(C.includes(b))y&&h.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:y},"".concat(m,"-").concat(b)));else if("wallet_connect"===b)y&&h.push((0,l.jsx)(g,{connectOnly:o,provider:b,connector:y,logo:y.walletBranding.icon,displayName:"WalletConnect"},"".concat(m,"-").concat(b)));else if(b===(null===d||void 0===d?void 0:d.wallet)){let e="ethereum"===d.chainType&&n.includes("detected_ethereum_wallets"),t="solana"===d.chainType&&n.includes("detected_solana_wallets");if(e||t){var v,f;let e=u.find(e=>{let{walletClientType:n}=e;return n===b});e&&s.push((0,l.jsx)(g,{connectOnly:o,provider:b,displayName:null===(v=e.walletBranding)||void 0===v?void 0:v.name,logo:null===(f=e.walletBranding)||void 0===f?void 0:f.icon,connector:e},"".concat(m,"-").concat(b)))}}}return[...p,...s,...h]}},89293:(e,n,t)=>{t.r(n),t.d(n,{TransferFromWalletScreen:()=>m,default:()=>m});
2var a=t(24107),l=t(90034),o=t(57722),i=t(33898),r=t(93014),c=t(51781),d=t(41548),s=t(79469),p=t(99844),h=t(1991),u=t(51380),y=t(49931),g=t(44131),v=t(89037),f=t(66222);t(88404),t(2035),t(30549),t(82425),t(82595);const m={component:()=>{var e,n,t,d;let f,{connectors:m}=(0,u.u)(),{setModalData:x,data:C,navigate:T}=(0,y.a)(),b=(0,p.u)(),{wallets:j}=(0,g.u)(),A=m.filter(h.v).flatMap(e=>e.wallets),[k,I]=(0,o.useState)("default"),S="solana"===(null===C||void 0===C||null===(e=C.funding)||void 0===e?void 0:e.chainType),N=!(null===C||void 0===C||null===(n=C.funding)||void 0===n||!n.crossChainBridgingEnabled);f="ethereum"===(null===C||void 0===C||null===(t=C.funding)||void 0===t?void 0:t.chainType)?C.funding.erc20Address&&!C.funding.isUSDC?"ethereum-only":N&&!C.funding.chain.testnet?"ethereum-and-solana":"ethereum-only":!N||null!==(d=C.funding)&&void 0!==d&&d.isUSDC?"solana-only":"ethereum-and-solana";let _=j.filter(e=>"privy"!==e.walletClientType),M=_.map(e=>e.walletClientType),W=A.filter(e=>"privy"!==e.walletClientType),F=W.map(e=>e.walletClientType),L=[],Z=(0,a.A)({},C.funding);Z.usingDefaultFundingMethod&&(Z.usingDefaultFundingMethod=!1);let B=e=>{let{wallet:n,walletChainType:t}=e;x((0,a.A)((0,a.A)({},C),{},{funding:(0,a.A)((0,a.A)({},Z),{},{connectedWallet:n,onContinueWithExternalWallet:()=>T(O({destChainType:S?"solana":"ethereum",sourceChainType:t}))}),solanaFundingData:null!==C&&void 0!==C&&C.solanaFundingData?(0,a.A)((0,a.A)({},C.solanaFundingData),{},{sourceWalletData:{address:n.address,walletClientType:n.walletClientType}}):void 0})),T("FundingAmountEditScreen")};"solana-only"!==f&&L.push(..._.map((e,n)=>(0,l.jsx)(w,{onClick:()=>B({wallet:e,walletChainType:"ethereum"}),icon:e.meta.icon,name:e.meta.name,chainType:e.type},n))),"ethereum-only"!==f&&L.push(...W.map((e,n)=>(0,l.jsx)(w,{onClick:()=>B({wallet:e,walletChainType:"solana"}),icon:e.meta.icon,name:e.meta.name,chainType:e.type},n))),L.push(...(0,v.t)({walletList:b.appearance.walletList.filter(e=>!_.some(n=>n.walletClientType===e)&&!W.some(n=>n.walletClientType===e)),walletChainType:f,connectors:m,connectOnly:!0,ignore:[...b.appearance.walletList,...M,...F],walletConnectEnabled:b.externalWallets.walletConnect.enabled}));let E=(0,l.jsx)(v.W,{text:"More wallets",onClick:()=>I("overflow")}),O=e=>{let{sourceChainType:n,destChainType:t}=e;return"ethereum"===n&&"solana"===t?"AwaitingEvmToSolBridgingScreen":"ethereum"===n&&"ethereum"===t?"AwaitingExternalEthereumTransferScreen":"solana"===n&&"ethereum"===t?"AwaitingSolToEvmBridgingScreen":Z.externalSolanaFundingScreen};return(0,o.useEffect)(()=>{x((0,a.A)((0,a.A)({},C),{},{externalConnectWallet:{onCompleteNavigateTo:e=>{let{address:n,walletClientType:t,walletChainType:l}=e,o=null!==l&&void 0!==l?l:"ethereum",i="ethereum"===o?_.find(e=>e.address===n&&e.walletClientType===t):W.find(e=>e.address===n&&e.walletClientType===t);return x((0,a.A)((0,a.A)({},C),{},{funding:(0,a.A)((0,a.A)({},Z),{},{connectedWallet:i,onContinueWithExternalWallet:()=>{T(O({destChainType:S?"solana":"ethereum",sourceChainType:o}))}}),solanaFundingData:null!==C&&void 0!==C&&C.solanaFundingData?(0,a.A)((0,a.A)({},C.solanaFundingData),{},{sourceWalletData:{address:n||"",walletClientType:t||""}}):void 0})),"FundingAmountEditScreen"}}}))},[]),(0,l.jsxs)(l.Fragment,"overflow"===k?{children:[(0,l.jsx)(i.M,{backFn:()=>I("default")},"header"),(0,l.jsxs)(h.a8,{children:[(0,l.jsx)(s.S,{style:{color:"var(--privy-color-foreground-3)",textAlign:"left"},children:"More wallets"}),L]}),(0,l.jsx)(i.B,{})]}:{children:[(0,l.jsx)(c.t,{}),(0,l.jsx)(r.C,{title:"Transfer from wallet",description:"Connect a wallet to deposit funds or send funds manually to your wallet address."}),(0,l.jsxs)(h.a8,{children:[L.length>4?L.slice(0,3):L,L.length>4&&E]}),(0,l.jsx)(i.B,{})]})}};let w=e=>{let{onClick:n,icon:t,name:a,chainType:o}=e;return(0,l.jsxs)(h.U,{onClick:n,children:[(0,l.jsx)(f.I,{style:{width:20},children:(0,l.jsx)("img",{src:t})}),a,(0,l.jsx)(d.C,{color:"gray",style:{marginLeft:"auto"},children:"Connected"}),"solana"===o&&(0,l.jsx)(d.C,{color:"gray",children:"Solana"})]})}},90513:(e,n,t)=>{t.d(n,{A:()=>h});
2var a=t(24107),l=t(15882),o=t(57722);const i=e=>{const n=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,t)=>t?t.toUpperCase():n.toLowerCase()))(e);return n.charAt(0).toUpperCase()+n.slice(1)},r=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((e,n,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===n).join(" ").trim()};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"};const d=["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"],s=(0,o.forwardRef)((e,n)=>{let{color:t="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:p,className:h="",children:u,iconNode:y}=e,g=(0,l.A)(e,d);return(0,o.createElement)("svg",(0,a.A)((0,a.A)((0,a.A)({ref:n},c),{},{width:i,height:i,stroke:t,strokeWidth:p?24*Number(s)/Number(i):s,className:r("lucide",h)},!u&&!(e=>{for(const n in e)if(n.startsWith("aria-")||"role"===n||"title"===n)return!0})(g)&&{"aria-hidden":"true"}),g),[...y.map(e=>{let[n,t]=e;return(0,o.createElement)(n,t)}),...Array.isArray(u)?u:[u]])}),p=["className"],h=(e,n)=>{const t=(0,o.forwardRef)((t,c)=>{let{className:d}=t,h=(0,l.A)(t,p);return(0,o.createElement)(s,(0,a.A)({ref:c,iconNode:n,className:r("lucide-".concat((u=i(e),u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())),"lucide-".concat(e),d)},h));var u});return t.displayName=i(e),t}},93014:(e,n,t)=>{t.d(n,{C:()=>s,S:()=>d});var a=t(24107),l=t(15882),o=t(90034),i=t(52610);const r=["title","description","children"],c=["title","description","icon","children"],d=e=>{let{title:n,description:t,children:i}=e,c=(0,l.A)(e,r);return(0,o.jsx)(p,(0,a.A)((0,a.A)({},c),{},{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:n}),"string"==typeof t?(0,o.jsx)("p",{children:t}):t,i]})}))},s=e=>{let{title:n,description:t,icon:i,children:r}=e,d=(0,l.A)(e,c);return(0,o.jsxs)(h,(0,a.A)((0,a.A)({},d),{},{children:[i||null,(0,o.jsx)("h3",{children:n}),t&&"string"==typeof t?(0,o.jsx)("p",{children:t}):t,r]}))};let p=i.I4.div.withConfig({displayName:"StyledSection",componentId:"sc-523a75d6-1"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;width:100%;margin-bottom:24px;&& h3{font-size:17px;color:var(--privy-color-foreground);}&& p{color:var(--privy-color-foreground-2);font-size:14px;}"]),h=(0,i.I4)(p).withConfig({displayName:"CenteredStyledSection",componentId:"sc-523a75d6-2"})(["align-items:center;text-align:center;gap:16px;h3{margin-bottom:24px;}"])}}]); 3//# sourceMappingURL=9293.a24ba294.chunk.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.