PageSourceSearch

https://smtm.ai/_next/static/chunks/1546.79650ab9a02277e6.js

js smtm.ai collected 2026-10-05 15:07:38 UTC 25,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1546],{13449:function(e,n,i){var t=i(7653);let r=t.forwardRef(function(e,n){let{title:i,titleId:r,...o}=e;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:n,"aria-labelledby":r},o),i?t.createElement("title",{id:r},i):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});n.Z=r},14587:function(e,n,i){var t=i(7653);let r=t.forwardRef(function(e,n){let{title:i,titleId:r,...o}=e;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:n,"aria-labelledby":r},o),i?t.createElement("title",{id:r},i):null,t.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"}))});n.Z=r},52383:function(e,n,i){i.d(n,{Q:function(){return r}});var t=i(31887);function r(e){let n=e.filter(e=>!t.e.has(e.id));return t.B.concat(n)}},47179:function(e,n,i){i.d(n,{B:function(){return r},C:function(){return c},F:function(){return d},H:function(){return a},R:function(){return f},S:function(){return p},a:function(){return s},b:function(){return u},c:function(){return l},d:function(){return h},e:function(){return o}});var t=i(91628);let r=t.zo.div.withConfig({displayName:"BottomPusherContainer",componentId:"sc-cb963810-0"})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;margin-top:auto;gap:16px;flex-grow:100;"]),o=t.zo.div.withConfig({displayName:"CenteredItem",componentId:"sc-cb963810-1"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;flex-grow:1;width:100%;"]),a=t.zo.div.withConfig({displayName:"HorizontallyCenteredItem",componentId:"sc-cb963810-2"})(["display:flex;flex-direction:column;align-items:center;width:100%;"]),c=(0,t.zo)(o).withConfig({displayName:"CenteredItemWithPadding",componentId:"sc-cb963810-3"})(["padding:20px 0;"]),l=(0,t.zo)(o).withConfig({displayName:"CenteredItemWithGap",componentId:"sc-cb963810-4"})(["gap:16px;"]),d=t.zo.div.withConfig({displayName:"FlexContainer",componentId:"sc-cb963810-5"})(["display:flex;flex-direction:column;width:100%;"]),s=t.zo.div.withConfig({displayName:"FixedGappedContainer",componentId:"sc-cb963810-6"})(["display:flex;flex-direction:column;gap:8px;"]),p=t.zo.div.withConfig({displayName:"StyledCalloutSection",componentId:"sc-cb963810-8"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;padding:16px;margin-top:16px;margin-bottom:16px;width:100%;background:var(--privy-color-background-2);border-radius:var(--privy-border-radius-md);&& h4{color:var(--privy-color-foreground-3);font-size:14px;text-decoration:underline;font-weight:medium;}&& p{color:var(--privy-color-foreground-3);font-size:14px;}"]),u=t.zo.div.withConfig({displayName:"RefactorSpacerTop",componentId:"sc-cb963810-9"})(["height:16px;"]),f=t.zo.div.withConfig({displayName:"RefactorSpacerBottom",componentId:"sc-cb963810-10"})(["height:12px;"]),h=t.zo.div.withConfig({displayName:"ConfigurableSpacer",componentId:"sc-cb963810-12"})(["height:","px;"],e=>e.height??"12")},54037:function(e,n,i){i.d(n,{S:function(){return C}});var t=i(27573),r=i(7653),o=i(91628),a=i(50800),c=i(75593),l=i(29981);let d=o.zo.div.withConfig({displayName:"ScreenRoot",componentId:"sc-2e815abe-0"})(["--screen-space:16px;--screen-space-lg:calc(var(--screen-space) * 1.5);position:relative;overflow:hidden;margin:0 calc(-1 * var(--screen-space));height:100%;border-radius:var(--privy-border-radius-lg);"]),s=o.zo.div.withConfig({displayName:"ScreenRootInner",componentId:"sc-2e815abe-1"})(["display:flex;flex-direction:column;gap:calc(var(--screen-space) * 1.5);width:100%;background:var(--privy-color-background);padding:0 var(--screen-space-lg) var(--screen-space);height:100%;border-radius:var(--privy-border-radius-lg);"]),p=o.zo.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),u=(0,o.zo)(c.M).withConfig({displayName:"StyledModalHeader",componentId:"sc-2e815abe-3"})(["margin:0 -8px;
1"]),f=o.zo.div.withConfig({displayName:"BodyContainer",componentId:"sc-2e815abe-4"})(["flex:1 1 auto;display:flex;flex-direction:column;overflow-y:auto;padding:3px;margin:-3px;&::-webkit-scrollbar{display:none;}scrollbar-gutter:stable both-edges;scrollbar-width:none;-ms-overflow-style:none;"," background-repeat:no-repeat;background-size:100% 32px,100% 16px;background-attachment:local,scroll;"],({$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),h=o.zo.div.withConfig({displayName:"FooterContainer",componentId:"sc-2e815abe-5"})(["display:flex;flex-direction:column;gap:var(--screen-space-lg);"]),g=o.zo.div.withConfig({displayName:"CenteredHeader",componentId:"sc-2e815abe-6"})(["text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--screen-space);"]),m=o.zo.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),x=o.zo.h3.withConfig({displayName:"HeaderTitle",componentId:"sc-2e815abe-8"})(["&&{font-size:20px;line-height:32px;font-weight:500;color:var(--privy-color-foreground);margin:0;}"]),v=o.zo.p.withConfig({displayName:"HeaderSubtitle",componentId:"sc-2e815abe-9"})(["&&{margin:0;font-size:16px;font-weight:300;line-height:24px;color:var(--privy-color-foreground);}"]),y=o.zo.div.withConfig({displayName:"IconContainer",componentId:"sc-2e815abe-10"})(["background:",";border-radius:50%;width:64px;height:64px;display:flex;align-items:center;justify-content:center;"],({$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)"}}),b=o.zo.div.withConfig({displayName:"LogoContainer",componentId:"sc-2e815abe-11"})(["display:flex;align-items:center;justify-content:center;margin-bottom:var(--screen-space);img,svg{max-height:90px;max-width:180px;}"]),w=o.zo.div.withConfig({displayName:"LoadingWithIconContainer",componentId:"sc-2e815abe-12"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > :first-child{position:relative;}> div > :last-child{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}"]),C=({children:e,...n})=>(0,t.jsx)(d,{children:(0,t.jsx)(s,{...n,children:e})}),j=o.zo.div.withConfig({displayName:"ProgressBarContainer",componentId:"sc-2e815abe-13"})(["position:absolute;top:0;left:calc(-1 * var(--screen-space-lg));width:calc(100% + calc(var(--screen-space-lg) * 2));height:4px;background:var(--privy-color-background-2);border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden;"]),k=(0,o.zo)(c.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),z=o.zo.div.withConfig({displayName:"ProgressBarFill",componentId:"sc-2e815abe-15"})(["height:100%;width:","%;background:var(--privy-color-foreground-3);border-radius:2px;transition:width 300ms ease-in-out;"],({pct:e})=>e),I=({step:e})=>e?(0,t.jsx)(j,{children:(0,t.jsx)(z,{pct:Math.min(100,e.current/e.total*100)})}):null;C.Header=({title:e,subtitle:n,icon:i,iconVariant:r,iconLoadingStatus:o,showBack:a,onBack:c,showInfo:l,onInfo:d,showClose:s,onClose:f,step:h,...y})=>(0,t.jsxs)(p,{...y,children:[(0,t.jsx)(u,{backFn:a?c:void 0,infoFn:l?d:void 0,onClose:s?f:void 0,closeable:s}),(i||r||e||n)&&(0,t.jsxs)(g,{children:[i||r?(0,t.jsx)(C.Icon,{icon:i,variant:r,loadingStatus:o}):null,(0,t.jsxs)(m,{children:[e&&(0,t.jsx)(x,{children:e}),n&&(0,t.jsx)(v,{children:n})]})]}),h&&(0,t.jsx)(I,{step:h})]}),(C.Body=r.forwardRef(({children:e,...n},i)=>(0,t.jsx)(f,{ref:i,...n,children:e}))).displayName="Screen.Body",C.Footer=({children:e,...n})=>(0,t.jsx)(h,{id:"privy-content-footer-container",...n,children:e}),C.Actions=({children:e,...n})=>(0,t.jsx)(S,{...n,children:e}),C.HelpText=({children:e,...n})=>(0,t.jsx)(N,{...n,children:e}),C.Watermark=()=>(0,t.jsx)(k,{}),C.Icon=({icon:e,variant:n="subtle",loadingStatus:i})=>"logo"===n&&e?(0,t.jsx)(b,"string"==typeof e?{children:(0,t.jsx)("img",{src:e,alt:""})}:r.isValidElement(e)?{children:e}:{children:r.createElement(e)}):"loading"===n?e?(0,t.jsx)(w,{children:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,t.jsx)(a.a4,{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"}}):r.isValidElement(e)?r.cloneElement(e,{style:{width:"38px",height:"38px"}}):r.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,t.jsx)(y,{$variant:n,children:(0,t.jsx)(l.N,{size:"64px"})}):(0,t.jsx)(y,{$variant:n,children:e&&("string"==typeof e?(0,t.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):r.isValidElement(e)?e:r.createElement(e,{width:32,height:32,stroke:(()=>{switch(n){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=o.zo.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),N=o.zo.p.withConfig({displayName:"HelpTextContainer",componentId:"sc-2e815abe-17"})(["&&{margin:0;width:100%;text-align:center;color:var(--privy-color-foreground-3);font-size:14px;line-height:22px;& a{color:var(--privy-color-accent);}}"])},68150:function(e,n,i){i.d(n,{S:function(){return a}});var t=i(27573),r=i(81781),o=i(54037);let a=({primaryCta:e,secondaryCta:n,helpText:i,watermark:a=!0,children:c,...l})=>{let d=e||n?(0,t.jsxs)(t.Fragment,{children:[e&&(()=>{let{label:n,...i}=e,o=i.variant||"primary";return(0,t.jsx)(r.B,{...i,variant:o,style:{width:"100%",...i.style},children:n})})(),n&&(()=>{let{label:e,...i}=n,o=i.variant||"secondary";return(0,t.jsx)(r.B,{...i,variant:o,style:{width:"100%",...i.style},children:e})})()]}):null;return(0,t.jsxs)(o.S,{id:l.id,className:l.className,children:[(0,t.jsx)(o.S.Header,{...l}),c?(0,t.jsx)(o.S.Body,{children:c}):null,i||d||a?(0,t.jsxs)(o.S.Footer,{children:[i?(0,t.jsx)(o.S.HelpText,{children:i}):null,d?(0,t.jsx)(o.S.Actions,{children:d}):null,a?(0,t.jsx)(o.S.Watermark,{}):null]}):null]})}},42098:function(e,n,i){i.d(n,{T:function(){return $}});var t=i(27573),r=i(91628),o=i(91635),a=i(43699),c=i(47179),l=i(13449),d=i(7653),s=i(31796);let p=({label:e,children:n,valueStyles:i})=>(0,t.jsxs)(u,{children:[(0,t.jsx)("div",{children:e}),(0,t.jsx)(f,{style:{...i},children:n})]}
1),u=r.zo.div.withConfig({displayName:"StyledDetailsRow",componentId:"sc-4ebfdd45-0"})(["display:flex;align-items:center;justify-content:space-between;width:100%;> :first-child{color:var(--privy-color-foreground-3);text-align:left;}> :last-child{color:var(--privy-color-foreground-2);text-align:right;}"]),f=r.zo.div.withConfig({displayName:"ValueWrapper",componentId:"sc-4ebfdd45-1"})(["font-size:14px;line-height:100%;display:flex;align-items:center;justify-content:center;border-radius:var(--privy-border-radius-full);background-color:var(--privy-color-background-2);padding:4px 8px;"]),h=({gas:e,tokenPrice:n,tokenSymbol:i})=>(0,t.jsxs)(c.F,{style:{paddingBottom:"12px"},children:[(0,t.jsxs)(m,{children:[(0,t.jsx)(v,{children:"Est. Fees"}),(0,t.jsx)("div",{children:(0,t.jsx)(o.P,{weiQuantities:[BigInt(e)],tokenPrice:n,tokenSymbol:i})})]}),n&&(0,t.jsx)(x,{children:`${(0,a.g)(BigInt(e),i)}`})]}),g=({value:e,gas:n,tokenPrice:i,tokenSymbol:r})=>{let l=BigInt(e??0)+BigInt(n);return(0,t.jsxs)(c.F,{children:[(0,t.jsxs)(m,{children:[(0,t.jsx)(v,{children:"Total (including fees)"}),(0,t.jsx)("div",{children:(0,t.jsx)(o.P,{weiQuantities:[BigInt(e||0),BigInt(n)],tokenPrice:i,tokenSymbol:r})})]}),i&&(0,t.jsx)(x,{children:(0,a.g)(l,r)})]})},m=r.zo.div.withConfig({displayName:"TransactionTotalRow",componentId:"sc-f8ef9b74-0"})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-top:4px;"]),x=r.zo.div.withConfig({displayName:"ValueConversionRow",componentId:"sc-f8ef9b74-1"})(["display:flex;flex-direction:row;height:12px;font-size:12px;line-height:12px;color:var(--privy-color-foreground-3);font-weight:400;"]),v=r.zo.div.withConfig({displayName:"TotalText",componentId:"sc-f8ef9b74-2"})(["font-size:14px;line-height:22.4px;font-weight:400;"]),y=(0,d.createContext)(void 0),b=(0,d.createContext)(void 0),w=({defaultValue:e,children:n})=>{let[i,r]=(0,d.useState)(e||null);return(0,t.jsx)(y.Provider,{value:{activePanel:i,togglePanel:e=>{r(i===e?null:e)}},children:(0,t.jsx)(I,{children:n})})},C=({value:e,children:n})=>{let{activePanel:i,togglePanel:r}=(0,d.useContext)(y),o=i===e;return(0,t.jsx)(b.Provider,{value:{onToggle:()=>r(e),value:e},children:(0,t.jsx)(F,{isActive:o?"true":"false","data-open":String(o),children:n})})},j=({children:e})=>{let{activePanel:n}=(0,d.useContext)(y),{onToggle:i,value:r}=(0,d.useContext)(b),o=n===r;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(S,{onClick:i,"data-open":String(o),children:[(0,t.jsx)(P,{children:e}),(0,t.jsx)(B,{isactive:o?"true":"false",children:(0,t.jsx)(l.Z,{height:"16px",width:"16px",strokeWidth:"2"})})]}),(0,t.jsx)(N,{})]})},k=({children:e})=>{let{activePanel:n}=(0,d.useContext)(y),{value:i}=(0,d.useContext)(b);return(0,t.jsx)(E,{"data-open":String(n===i),children:(0,t.jsx)(T,{children:e})})},z=({children:e})=>{let{activePanel:n}=(0,d.useContext)(y),{value:i}=(0,d.useContext)(b);return(0,t.jsx)(T,{children:"function"==typeof e?e({isActive:n===i}):e})},I=r.zo.div.withConfig({displayName:"AccordionRoot",componentId:"sc-d25f9267-0"})(["display:flex;flex-direction:column;width:100%;gap:8px;"]),S=r.zo.div.withConfig({displayName:"AccordionTriggerContainer",componentId:"sc-d25f9267-1"})(["display:flex;justify-content:space-between;align-items:center;width:100%;cursor:pointer;padding-bottom:8px;"]),N=r.zo.div.withConfig({displayName:"AccordionDivider",componentId:"sc-d25f9267-2"})(["width:100%;&&{border-top:1px solid;border-color:var(--privy-color-foreground-4);}padding-bottom:12px;"]),P=r.zo.div.withConfig({displayName:"AccordionTriggerContent",componentId:"sc-d25f9267-3"})(["font-size:14px;font-weight:500;line-height:19.6px;width:100%;padding-right:8px;"]),F=r.zo.div.withConfig({displayName:"AccordionPanelContainer",componentId:"sc-d25f9267-4"})(["display:flex;flex-direction:column;width:100%;overflow:hidden;padding:12px;&&{border:1px solid;border-color:var(--privy-color-foreground-4);border-radius:var(--privy-border-radius-md);}"]),E=r.zo.div.withConfig({displayName:"AccordionContentContainer",componentId:"sc-d25f9267-5"})(["position:relative;overflow:hidden;transition:max-height 25ms ease-out;&[data-open='true']{max-height:700px;}&[data-open='false']{max-height:0;}"]),T=r.zo.div.withConfig({displayName:"ContentWrapper",componentId:"sc-d25f9267-6"})(["display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:1px;"]),B=r.zo.div.withConfig({displayName:"IconWrapper",componentId:"sc-d25f9267-7"})(["transform:",";"],e=>"true"===e.isactive?"rotate(180deg)":"rotate(0deg)"),$=({from:e,to:n,txn:i,transactionInfo:r,tokenPrice:a,gas:c,tokenSymbol:l})=>{let d=BigInt(i?.value||0);return(0,t.jsx)(w,{...(0,s.u)().render.standalone?{defaultValue:"details"}:{},children:(0,t.jsxs)(C,{value:"details",children:[(0,t.jsx)(j,{children:(0,t.jsxs)(A,{children:[(0,t.jsx)("div",{children:r?.title||"Details"}),(0,t.jsx)(L,{children:(0,t.jsx)(o.H,{weiQuantities:[d],tokenPrice:a,tokenSymbol:l})})]})}),(0,t.jsxs)(k,{children:[(0,t.jsx)(p,{label:"From",children:(0,t.jsx)(o.W,{walletAddress:e,chainId:i.chainId||s.s,chainType:"ethereum"})}),(0,t.jsx)(p,{label:"To",children:(0,t.jsx)(o.W,{walletAddress:n,chainId:i.chainId||s.s,chainType:"ethereum"})}),r&&r.action&&(0,t.jsx)(p,{label:"Action",children:r.action}),c&&(0,t.jsx)(h,{value:i.value,gas:c,tokenPrice:a,tokenSymbol:l})]}),(0,t.jsx)(z,{children:({isActive:e})=>(0,t.jsx)(g,{value:i.value,displayFee:e,gas:c||"0x0",tokenPrice:a,tokenSymbol:l})})]})})},A=r.zo.div.withConfig({displayName:"AccordionTriggerContent",componentId:"sc-2eff9f5c-0"})(["display:flex;flex-direction:row;justify-content:space-between;"]),L=r.zo.div.withConfig({displayName:"TotalText",componentId:"sc-2eff9f5c-1"})(["flex-shrink:0;padding-left:8px;"])},91635:function(e,n,i){i.d(n,{H:function(){return s},P:function(){return p},S:function(){return u},W:function(){return x}});
1var t=i(27573),r=i(91628),o=i(1666),a=i(43699),c=i(48065),l=i(61250),d=i(50800);let s=({weiQuantities:e,tokenPrice:n,tokenSymbol:i})=>{let r=(0,a.s)(e),o=n?(0,a.a)(r,n):void 0,c=(0,a.g)(r,i);return(0,t.jsx)(f,{children:o||c})},p=({weiQuantities:e,tokenPrice:n,tokenSymbol:i})=>{let r=(0,a.s)(e),o=n?(0,a.a)(r,n):void 0,c=(0,a.g)(r,i);return(0,t.jsx)(f,{children:o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h,{children:"USD"}),"<$0.01"===o?(0,t.jsxs)(m,{children:[(0,t.jsx)(g,{children:"<"}),"$0.01"]}):o]}):c})},u=({quantities:e,tokenPrice:n,tokenSymbol:i="SOL",tokenDecimals:r=9})=>{let a=e.reduce((e,n)=>e+n,0n),d=n&&"SOL"===i&&9===r?(0,c.g)(a,n):void 0,s="SOL"===i&&9===r?(0,l.g)(a):`${(0,o.b)(a,r)} ${i}`;return(0,t.jsx)(f,{children:d?(0,t.jsx)(t.Fragment,{children:"<$0.01"===d?(0,t.jsxs)(m,{children:[(0,t.jsx)(g,{children:"<"}),"$0.01"]}):d}):s})},f=r.zo.span.withConfig({displayName:"StyledPriceDisplay",componentId:"sc-3cd56c8a-0"})(["font-size:14px;line-height:140%;display:flex;gap:4px;align-items:center;"]),h=r.zo.span.withConfig({displayName:"StyledPriceUnit",componentId:"sc-3cd56c8a-1"})(["font-size:12px;line-height:12px;color:var(--privy-color-foreground-3);"]),g=r.zo.span.withConfig({displayName:"TinyLessThan",componentId:"sc-3cd56c8a-2"})(["font-size:10px;"]),m=r.zo.span.withConfig({displayName:"FlexCenter",componentId:"sc-3cd56c8a-3"})(["display:flex;align-items:center;"]),x=e=>{var n,i;return(0,t.jsx)(v,{href:"ethereum"===e.chainType?(0,a.b)(e.chainId,e.walletAddress):(n=e.walletAddress,i=e.chainId,`https://explorer.solana.com/account/${n}?chain=${i}`),target:"_blank",children:(0,d.D)(e.walletAddress)})},v=r.zo.a.withConfig({displayName:"StyledLink",componentId:"sc-dd6c0f9f-0"})(["&:hover{text-decoration:underline;}"])},43699:function(e,n,i){i.d(n,{a:function(){return d},b:function(){return f},c:function(){return l},g:function(){return s},p:function(){return p},s:function(){return u}});var t=i(56488),r=i(88089),o=i(50800);let a=new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:2}),c=e=>a.format(e),l=(e,n)=>{let i=c(n*parseFloat(e));return"$0.00"!==i?i:"<$0.01"},d=(e,n)=>{let i=c(n*parseFloat((0,t.d)(e)));return"$0.00"===i?"<$0.01":i},s=(e,n,i=6,t=!1)=>`${p(e,i,t)} ${n}`,p=(e,n=6,i=!1)=>{let r=parseFloat((0,t.d)(e)).toFixed(n).replace(/0+$/,"").replace(/\.$/,"");return i?r:`${"0"===r?"<0.001":r}`},u=e=>e.reduce((e,n)=>e+n,0n),f=(e,n)=>{let{chains:i}=(0,r.u)(),t=`https://etherscan.io/address/${n}`,a=`${(0,o.a5)(e,i)}/address/${n}`;if(!a)return t;try{new URL(a)}catch{return t}return a}},48065:function(e,n,i){i.d(n,{A:function(){return c},D:function(){return s},J:function(){return d},L:function(){return t},R:function(){return l},S:function(){return r},T:function(){return o},a:function(){return a},g:function(){return p}});let t=1e9,r="11111111111111111111111111111111",o="TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",a="TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",c="ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",l=["CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C","CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW"],d=["JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"],s={"solana:mainnet":{EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:{symbol:"USDC",decimals:6,address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB:{symbol:"USDT",decimals:6,address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"},So11111111111111111111111111111111111111112:{symbol:"SOL",decimals:9,address:"So11111111111111111111111111111111111111112"}},"solana:devnet":{"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU":{symbol:"USDC",decimals:6,address:"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"},EJwZgeZrdC8TXTQbQBoL6bfuAnFUUy1PVCMB4DYPzVaS:{symbol:"USDT",decimals:6,address:"EJwZgeZrdC8TXTQbQBoL6bfuAnFUUy1PVCMB4DYPzVaS"},So11111111111111111111111111111111111111112:{symbol:"SOL",decimals:9,address:"So11111111111111111111111111111111111111112"}},"solana:testnet":{}};function p(e,n){let i=parseFloat(e.toString())/t,r=u.format(n*i);return"$0.00"===r?"<$0.01":r}let u=new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:2})},29981:function(e,n,i){i.d(n,{N:function(){return o}});var t=i(27573),r=i(91628);let o=({size:e,centerIcon:n})=>(0,t.jsx)(a,{$size:e,children:(0,t.jsxs)(c,{children:[(0,t.jsx)(d,{}),(0,t.jsx)(s,{}),n?(0,t.jsx)(l,{children:n}):null]})}),a=r.zo.div.withConfig({displayName:"LoadingContainer",componentId:"sc-ebc93df8-0"})(["--spinner-size:",";display:inline-flex;justify-content:center;align-items:center;@media all and (display-mode:standalone){margin-bottom:30px;}"],e=>e.$size?e.$size:"96px"),c=r.zo.div.withConfig({displayName:"SpinnerContainer",componentId:"sc-ebc93df8-1"})(["position:relative;height:var(--spinner-size);width:var(--spinner-size);opacity:1;animation:fadein 200ms ease;"]),l=r.zo.div.withConfig({displayName:"CenterIconContainer",componentId:"sc-ebc93df8-2"})(["position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;svg,img{width:calc(var(--spinner-size) * 0.4);height:calc(var(--spinner-size) * 0.4);border-radius:var(--privy-border-radius-full);}"]),d=r.zo.div.withConfig({displayName:"CircleFixed",componentId:"sc-ebc93df8-3"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);&&{border:4px solid var(--privy-color-border-default);border-radius:50%;}"]),s=r.zo.div.withConfig({displayName:"CircleRotate",componentId:"sc-ebc93df8-4"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);animation:spin 1200ms linear infinite;&&{border:4px solid;border-color:var(--privy-color-icon-subtle) transparent transparent transparent;border-radius:50%;}@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}"])},61250:function(e,n,i){i.d(n,{a:function(){return o},g:function(){return r}});var t=i(48065);function r(e,n=6,i=!1,t=!1){let r=(parseFloat(e.toString())/1e9).toFixed(n).replace(/0+$/,"").replace(/\.$/,""),o=t?"":" SOL";return i?`${r}${o}`:`${"0"===r?"<0.001":r}${o}`}function o({amount:e,fee:n,tokenPrice:i,isUsdc:o}){let a=BigInt(Math.floor(parseFloat(e)*10**(o?6:9))),c=o?a:a+n;return{fundingAmountInBaseUnit:a,fundingAmountInUsd:i?(0,t.g)(a,i):void 0,totalPriceInUsd:i?(0,t.g)(c,i):void 0,totalPriceInNativeCurrency:r(c),feePriceInNativeCurrency:r(n),feePriceInUsd:i?(0,t.g)(n,i):void 0}}},69127:function(e,n,i){i.d(n,{u:function(){return o}});var t=i(7653),r=i(88089);let o=({enabled:e=!0}={})=>{let{showFiatPrices:n,getUsdPriceForSol:i}=(0,r.u)(),[o,a]=(0,t.useState)(!0),[c,l]=(0,t.useState)(void 0),[d,s]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{(async()=>
1{if(n&&e)try{a(!0);let e=await i();e?s(e):l(Error("Unable to fetch SOL price"))}catch(e){l(e)}finally{a(!1)}else a(!1)})()},[]),{solPrice:d,isSolPriceLoading:o,solPriceError:c}}},14397:function(e,n,i){i.d(n,{u:function(){return l}});var t=i(7653),r=i(52383),o=i(31796),a=i(88089),c=i(69127);function l(e){let{tokenPrice:n,isTokenPriceLoading:i,tokenPriceError:l}=(e=>{let{showFiatPrices:n,getUsdTokenPrice:i,chains:c}=(0,a.u)(),[l,d]=(0,t.useState)(!0),[s,p]=(0,t.useState)(void 0),[u,f]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{e||=o.s;let t=(0,r.Q)(c).find(n=>n.id===Number(e));(async()=>{if(n){if(!t)return d(!1),void p(Error(`Unable to fetch token price on chain id ${e}`));try{d(!0);let e=await i(t);e?f(e):p(Error(`Unable to fetch token price on chain id ${t.id}`))}catch(e){p(e)}finally{d(!1)}}else d(!1)})()},[e]),{tokenPrice:u,isTokenPriceLoading:l,tokenPriceError:s}})("solana"===e?-1:e),{solPrice:d,isSolPriceLoading:s,solPriceError:p}=(0,c.u)({enabled:"solana"===e});return"solana"===e?{tokenPrice:d,isTokenPriceLoading:s,tokenPriceError:p}:{tokenPrice:n,isTokenPriceLoading:i,tokenPriceError:l}}}}]);

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.