1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b4b9186c-0e51-44c1-90d3-3e0234567983",e._sentryDebugIdIdentifier="sentry-dbid-b4b9186c-0e51-44c1-90d3-3e0234567983")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64],{38395:(e,t,n)=>{n.d(t,{Z:()=>f});var i=n(350979),r=n(228876),l=n(179087),o=n(371309),s=n(725802),a=n(25963),c=n(680797),d=n(913688),x=n(5919),p=n(131),h=n(559180);let u=(0,c.I4)(o.A).withConfig({componentId:"sc-d9be4e8b-0"})(["width:",";height:",";min-width:",";min-height:",";border-radius:50%;",""],e=>{let{size:t}=e;return t},e=>{let{size:t}=e;return t},e=>{let{size:t}=e;return t},e=>{let{size:t}=e;return t},d.xe),m=c.I4.div.withConfig({componentId:"sc-d9be4e8b-1"})(["position:relative;"]),g=(0,c.I4)(p.P).withConfig({componentId:"sc-d9be4e8b-2"})(["position:absolute;right:0;bottom:0;height:","px;& > img{background-color:",";border:0px solid ",";border-radius:35%;}"],e=>{let{height:t}=e;return t},e=>{let{theme:t}=e;return t.colors.invertedContrast},e=>{let{theme:t}=e;return t.colors.invertedContrast});function f(e){var t;let{currency:n,size:o="24px",style:c,useTrustWalletUrl:d,imageRef:p,showChainLogo:f=!1,containerStyle:j,crossOrigin:w,...A}=e,y=(0,l.Om)(null==n?void 0:n.logoURI),b=parseInt(o),I=(0,a.useMemo)(()=>{if(null==n?void 0:n.isNative)return[];if(null==n?void 0:n.isToken){let e=(0,h.k1)(n,{useTrustWallet:d});return(null==n?void 0:n.logoURI)?[...y,...e]:e}return[]},[n,y,d]);return(0,i.jsxs)(m,{style:j,children:[(null==n?void 0:n.isNative)?n.chainId===r.nU.BSC?(0,i.jsx)(s.A,{style:c,imageRef:p,width:o,height:o,...A}):(0,i.jsx)(u,{size:o,srcs:[`${x.H}/web/native/${n.chainId}.png`],width:o,height:o,imageRef:p,style:c,...A}):(0,i.jsx)(u,{imageRef:p,size:o,srcs:I,alt:`${null!=(t=null==n?void 0:n.symbol)?t:"token"} logo`,style:c,...w?{crossOrigin:w}:{},...A}),f&&(null==n?void 0:n.chainId)&&(0,i.jsx)(g,{chainId:n.chainId,width:.4167*b,height:.4167*b})]})}},40064:(e,t,n)=>{n.d(t,{LS:()=>A,_z:()=>i,Mf:()=>b});var i={};n.r(i),n.d(i,{E3:()=>E,wi:()=>M,YW:()=>$,L$:()=>P}),n(590780);var r=n(350979),l=n(769932),o=n(557423),s=n(796147),a=n(428089),c=n(501823),d=n(24153),x=n(605641),p=n(430586),h=n(32654),u=n(980450),m=n(25963),g=n(680797),f=n(472061),j=n(428857);let w=(0,g.Ay)(o.A).attrs({variant:"tertiary"}).withConfig({componentId:"sc-987299ed-0"})(["height:unset;padding:6px 8px;font-size:14px;border-radius:12px;border-bottom:2px solid rgba(0,0,0,0.1);"]);(0,g.Ay)(s.VP).withConfig({componentId:"sc-987299ed-1"})(["align-items:center;transition:display 300ms ease-in-out;"," &.","{","}"],e=>{let{disableEntranceAnimation:t}=e;return!t&&(0,g.AH)(["",""],j.Dj)},j.J6.EXITING,j.YH);let A=e=>{let{title:t,isX:n,isBonus:i,currencyA:o,chainName:g,asBadge:j,currentStep:A,approvalModalSteps:y,...b}=e,{t:I}=(0,l.A)();return(0,m.useMemo)(()=>(0,r.jsxs)(a.Ay,{width:"100%",...b,children:[(0,r.jsx)(c.A,{alignItems:"center",children:(0,r.jsxs)(s.YA,{children:[(0,r.jsx)(f.Zm,{currency:o,size:"40px",showChainLogo:!0}),(0,r.jsxs)(d.fI,{mt:"8px",gap:"8px",width:"fit-content",children:[(0,r.jsx)(x.A,{bold:!0,children:o.symbol}),g&&(0,r.jsxs)(x.A,{color:"textSubtle",bold:!0,children:["(",g,")"]})]})]})}),(0,r.jsx)(p.A,{mt:"8px",mx:"auto",href:"https://docs.pancakeswap.finance/~/changes/d1gFBwxReM0gH1aeMo0G/readme/help/what-is-an-approval-transaction",showExternalIcon:!1,style:{textDecoration:"none"},children:(0,r.jsxs)(w,{children:[(0,r.jsx)(x.A,{color:"primary60",small:!0,bold:!0,children:I("Why approving this?")}),(0,r.jsx)(h.A,{ml:"4px",color:"primary60"})]})}),(0,r.jsxs)(d.fI,{mt:"24px",justifyContent:"center",gap:"8px",children:[(0,r.jsx)(x.A,{color:"textSubtle",small:!0,children:I("Please proceed in your wallet")}),(0,r.jsx)(u.A,{})]})]}),[I,o,g])};n(550062),n(841228),n(862373),n(249452),n(586644),n(300130),n(882249);var y=n(265349);g.I4.div.withConfig({componentId:"sc-dc865f7-0"})(["background-color:",";border-radius:1rem;display:flex;align-items:center;font-size:0.825rem;width:100%;padding:3rem 1.25rem 1rem 1rem;margin-top:-2rem;color:",";z-index:-1;p{padding:0;margin:0;font-weight:500;}"],e=>{let{theme:t}=e;return`${t.colors.failure33}`},e=>{let{theme:t}=e;return t.colors.failure}),g.I4.div.withConfig({componentId:"sc-dc865f7-1"})(["background-color:",";display:flex;align-items:center;justify-content:center;margin-right:12px;border-radius:12px;min-width:48px;height:48px;"],e=>{let{theme:t}=e;return`${t.colors.failure33}`}),n(247729),n(597603);let b=e=>{let{currencyA:t,currencyB:n,amountA:i,amountB:o,chainNameA:a,chainNameB:c,
1children:p}=e,{t:h}=(0,l.A)();return(0,r.jsxs)(s.mm,{width:"100%",children:[(0,r.jsx)(f.ge,{inputCurrency:t,outputCurrency:n,inputAmount:i,outputAmount:o,inputChainName:a,outputChainName:c}),(0,r.jsxs)(d.fI,{mt:"32px",justifyContent:"center",gap:"8px",children:[(0,r.jsx)(x.A,{color:"textSubtle",small:!0,children:h("Please proceed in your wallet")}),(0,r.jsx)(u.A,{})]}),p]})};n(568548);var I=n(28192),C=n(49563),v=n(622516),k=n(67002),S=n(205899);function E(e){let{value:t,onUserInput:n,onInputBlur:i,top:l,bottom:o,id:s,disabled:a,error:c,loading:d,showBridgeWarning:p}=e;return(0,r.jsxs)(k.R,{position:"relative",id:s,display:"grid",gap:"4px",children:[(0,r.jsx)(k.R,{display:"flex",alignItems:"center",justifyContent:"space-between",children:l}),(0,r.jsxs)(k.R,{display:"flex",flexDirection:"column",flexWrap:"nowrap",position:"relative",backgroundColor:"backgroundAlt",zIndex:"1",children:[(0,r.jsxs)(k.R,{as:"label",className:S.inputContainerVariants({showBridgeWarning:!!p,error:!!c}),children:[(0,r.jsx)(k.R,{display:"flex",flexDirection:"row",flexWrap:"nowrap",color:"text",fontSize:"12px",lineHeight:"16px",px:"16px",pt:"12px",children:(0,r.jsx)(y.p,{error:!!c,disabled:a,loading:d,className:"token-amount-input",value:t,onBlur:i,onUserInput:n})}),o]}),c?(0,r.jsx)(x.A,{pb:"8px",fontSize:"12px",color:"red",children:c}):null,a&&(0,r.jsx)(k.R,{role:"presentation",position:"absolute",inset:"0px",backgroundColor:"backgroundAlt",opacity:"0.6"})]})]})}var R=n(485909),T=n(257057);let N=g.I4.div.withConfig({componentId:"sc-3c341de8-0"})(["width:100%;height:",";display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;padding-top:16px;padding-right:",";","{justify-content:space-between;flex-direction:",";}"],e=>{let{$isSide:t}=e;return t?"100%":"auto"},e=>{let{$isSide:t}=e;return t?"32px":"0px"},e=>{let{theme:t}=e;return t.mediaQueries.md},e=>{let{$isSide:t}=e;return t?"column":"row"}),z=(0,g.I4)(c.A).withConfig({componentId:"sc-3c341de8-1"})(["svg{fill:",";transition:background-color 0.2s,opacity 0.2s;}&:hover{svg{opacity:0.65;}}&:active{svg{opacity:0.85;}}"],e=>{let{theme:t}=e;return t.colors.textSubtle}),M=(0,m.memo)(e=>{let{variant:t="default",helpUrl:n,externalText:i,externalLinkUrl:s,helpImage:a=(0,r.jsx)(R.A,{src:"https://cdn.pancakeswap.com/help/help.png",alt:"Get some help",width:160,height:108})}=e,{t:d}=(0,l.A)(),x="side"===t;return(0,r.jsxs)(N,{$isSide:x,children:[i&&s&&(0,r.jsx)(c.A,{flexDirection:x?"column":["column","column","row"],alignItems:"center",children:(0,r.jsx)(p.A,{id:"ercBridge",href:s,ml:[0,0,"40px"],mt:["20px","20px",x?"20px":0],mb:["8px","8px",0],children:i})}),x&&(0,r.jsx)(c.A,{flexGrow:1}),n&&(0,r.jsxs)(c.A,{flexGrow:+!x,alignItems:"center",width:["100%","100%","100%",x?"100%":"auto"],justifyContent:["center","center","center","flex-end"],children:[(0,r.jsxs)(z,{children:[(0,r.jsx)(o.A,{id:"clickExchangeHelp",as:"a",external:!0,href:n,variant:"subtle",children:d("Need help ?")}),(0,r.jsx)(T.A,{viewBox:"0 0 16 16",children:(0,r.jsx)("path",{d:"M0 16V0C0 0 3 1 6 1C9 1 16 -2 16 3.5C16 10.5 7.5 16 0 16Z"})})]}),a]})]})}),$=e=>{let{removePadding:t,noMinHeight:n,children:i,hideFooterOnDesktop:l,helpUrl:o,helpImage:s,externalText:a,externalLinkUrl:c,...d}=e;return(0,r.jsxs)(k.R,{className:S.pageVariants({removePadding:t,noMinHeight:n}),...d,children:[i,(0,r.jsx)(k.R,{display:"flex",flexGrow:1}),(0,r.jsx)(k.R,{display:["block",null,null,l?"none":"block"],width:"100%",children:(0,r.jsx)(M,{externalText:a,externalLinkUrl:c,helpUrl:o,helpImage:s})})]})};n(179087),n(955647);let L=(0,g.I4)(I.A).withConfig({componentId:"sc-7b0d62da-0"})(["box-shadow:inset 0px -2px 0px rgba(0,0,0,0.1);.icon-up-down{display:none;}&:hover{background-color:",";.icon-down{display:none;fill:white;}.icon-up-down{display:block;fill:white;}}"],e=>{let{theme:t}=e;return t.colors.primary}),P=e=>(0,r.jsxs)(L,{variant:"light",scale:"sm",...e,children:[(0,r.jsx)(C.A,{className:"icon-down",color:"primary"}),(0,r.jsx)(v.A,{className:"icon-up-down",color:"primary"})]});n(435222),n(486556),n(807381),n(965691)},205765:(e,t,n)=>{n.d(t,{N:()=>i});function i(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}
1,247729:(e,t,n)=>{n.d(t,{v:()=>u});var i=n(350979),r=n(428089),l=n(633900),o=n(796147),s=n(605641),a=n(25963),c=n(590780),d=n(882249),x=n(597603),p=n(428857),h=n(535960);let u=e=>{let{title:t,showIcon:n,currencyA:u,currencyB:m,amountA:g,amountB:f,currentStep:j,children:w}=e,A=null==u?void 0:u.symbol,y=null==m?void 0:m.symbol,b=(0,a.useRef)(null);return(0,h.u)(b,()=>p.J6.EXITING),(0,i.jsxs)(r.Ay,{width:"100%",children:[n?(0,i.jsx)(d.EC,{$scale:!0,children:(0,i.jsx)(r.Ay,{margin:"auto auto 22px auto",width:"fit-content",children:(0,i.jsx)(l.A,{color:"success",width:80,height:80})})}):(0,i.jsx)(r.Ay,{mb:"16px",children:(0,i.jsx)(o.YA,{children:(0,i.jsx)(d.RV,{})})}),(0,i.jsx)(o.mm,{gap:"12px",justify:"center",children:(0,i.jsxs)(c.k2,{ref:j===c.Rk.PENDING_CONFIRMATION?b:void 0,children:[(0,i.jsx)(s.A,{bold:!0,textAlign:"center",children:t}),(0,i.jsx)(x.A,{symbolA:A,symbolB:y,amountA:g,amountB:f,currencyA:u,currencyB:m}),w]})})]})}},249452:(e,t,n)=>{n.d(t,{q:()=>y});var i=n(350979),r=n(179087),l=n(769932),o=n(428089),s=n(796147),a=n(24153),c=n(605641),d=n(673115),x=n(226464),p=n(501823),h=n(310085),u=n(557423),m=n(25963),g=n(680797),f=n(300130);let j=g.I4.div.withConfig({componentId:"sc-5ac48b8-0"})(["position:relative;width:100%;"]),w=g.I4.div.withConfig({componentId:"sc-5ac48b8-1"})(["height:3px;width:3px;background-color:",";border-radius:50%;"],e=>{let{theme:t}=e;return t.colors.text}),A=(0,g.I4)(o.Ay).withConfig({componentId:"sc-5ac48b8-2"})(["width:",";padding:",";border:",";border-radius:",";background-color:",";"],e=>{let{width:t}=e;return null!=t?t:"100%"},e=>{let{padding:t}=e;return null!=t?t:"1.25rem"},e=>{let{border:t}=e;return t},e=>{let{borderRadius:t}=e;return null!=t?t:"16px"},e=>{let{theme:t}=e;return t.colors.background});function y(e){let{listURL:t,listLogoURI:n,listName:o,listTokenLength:g,onAddList:y,addError:b}=e,{theme:I}=(0,r.DP)(),{t:C}=(0,l.A)(),[v,k]=(0,m.useState)(!1);return(0,i.jsx)(j,{children:(0,i.jsx)(s.mm,{gap:"md",children:(0,i.jsxs)(s.mm,{gap:"md",children:[(0,i.jsx)(A,{width:"370px",padding:"12px 20px",children:(0,i.jsx)(a.JA,{children:(0,i.jsxs)(a.Bp,{flexWrap:"nowrap",children:[n&&(0,i.jsx)(f.O,{logoURI:n,size:"40px"}),(0,i.jsxs)(s.mm,{gap:"sm",style:{marginLeft:"20px"},children:[(0,i.jsxs)(a.Bp,{children:[(0,i.jsx)(c.A,{bold:!0,mr:"6px",children:o}),(0,i.jsx)(w,{}),(0,i.jsxs)(c.A,{small:!0,color:"textSubtle",ml:"6px",children:[g," tokens"]})]}),(0,i.jsx)(d.A,{style:{width:"100%",overflowX:"scroll"},small:!0,external:!0,ellipsis:!0,href:`https://tokenlists.org/token-list?url=${t}`,children:t})]})]})})}),(0,i.jsx)(x.A,{variant:"danger",children:(0,i.jsxs)(p.A,{flexDirection:"column",children:[(0,i.jsx)(c.A,{fontSize:"20px",textAlign:"center",color:I.colors.failure,mb:"16px",children:C("Import at your own risk")}),(0,i.jsx)(c.A,{color:I.colors.failure,mb:"8px",children:C("By adding this list you are implicitly trusting that the data is correct. Anyone can create a list, including creating fake versions of existing lists and lists that claim to represent projects that do not have one.")}),(0,i.jsx)(c.A,{bold:!0,color:I.colors.failure,mb:"16px",children:C("If you purchase a token from this list, you may not be able to sell it back.")}),(0,i.jsxs)(p.A,{alignItems:"center",children:[(0,i.jsx)(h.A,{name:"confirmed",type:"checkbox",checked:v,onChange:()=>k(!v),scale:"sm"}),(0,i.jsx)(c.A,{ml:"10px",style:{userSelect:"none"},children:C("I understand")})]})]})}),(0,i.jsx)(u.A,{disabled:!v,onClick:y,children:C("Import")}),b?(0,i.jsx)(c.A,{color:"failure",style:{textOverflow:"ellipsis",overflow:"hidden"},children:b}):null]})})})}},265349:(e,t,n)=>{n.d(t,{p:()=>x});var i=n(350979),r=n(769932),l=n(205899),o=n(205765),s=n(796342),a=n(25963),c=n(400427);let d=RegExp("^\\d*(?:\\\\[.])?\\d*$"),x=(0,a.memo)(function(e){let{value:t,onUserInput:n,placeholder:a,error:x,align:p,className:h,loading:u,maxDecimals:m,...g}=e,{t:f}=(0,r.A)();return(0,i.jsx)("input",{className:(0,s.default)(h,l.inputVariants({error:x,align:p,loading:u})),...g,value:(0,c.x)(null==t?void 0:t.toString(),m),onChange:e=>{var t;(""===(t=e.target.value.replace(/,/g,"."))||d.test((0,o.N)(t)))&&n((0,c.x)(t,m))},inputMode:"decimal",title:f("Token Amount"),autoComplete:"off",autoCorrect:"off",type:"text",pattern:"^[0-9]*[.,]?[0-9]*$",placeholder:a||"0.0",minLength:1,maxLength:79,spellCheck:"false"})})},300130:(e,t,n)=>{n.d(t,{O:()=>a});var i=n(350979),r=n(680797),l=n(179087),o=n(371309);let s=(0,r.I4)(o.A).withConfig({componentId:"sc-8f5cc841-0"})(["width:",";height:",";"],e=>{let{size:t}=e;return t},e=>{let{size:t}=e;return t});function a(e){let{logoURI:t,style:n,size:r="24px",alt:o}=e,a=(0,l.Om)(t);return(0,i.jsx)(s,{alt:o,size:r,srcs:a,style:n})}},367770:(e,t,n)=>{n.d(t,{g:()=>u});var i=n(350979),r=n(672946),l=n(796147),o=n(24153),s=n(605641),a=n(494350),c=n(680797),d=n(38395);let x=(0,c.Ay)(r.A).withConfig({componentId:"sc-70a487ba-0"})(["grid-template-columns:3fr 1fr 3fr;"]),p=(0,c.Ay)(l.mm).withConfig({componentId:"sc-70a487ba-1"})(["min-width:130px;justify-items:center;@media (max-width:360px){min-width:60px;}"]),h=(0,c.Ay)(o.Bp).withConfig({componentId:"sc-70a487ba-2"})(["@media (max-width:360px){transform:scale(0.8);}"]),u=e=>{let{inputAmount:t,outputAmount:n,inputTextColor:r,outputTextColor:l,inputCurrency:o,outputCurrency:c,inputChainName:u,outputChainName:m,overrideIcon:g,textRightOpacity:f,textLeftOpacity:j,...w}=e;return(0,i.jsxs)(x,{...w,children:[(0,i.jsxs)(p,{children:[(0,i.jsx)(d.Z,{currency:o,size:"40px",showChainLogo:!0}),(0,i.jsxs)(s.A,{fontSize:["14px","16px"],color:r,bold:!0,ellipsis:!0,style:{opacity:j},children:[t,"\xa0",null==o?void 0:o.symbol]}),(0,i.jsx)(s.A,{textTransform:"uppercase",color:"textSubtle",fontSize:"12px",bold:!0,style:{opacity:j},children:u})]}),(0,i.jsx)(h,{m:"auto",paddingTop:"4px",children:g||(0,i.jsx)(a.A,{width:"36px",ml:"4px",color:"textSubtle"})}),(0,i.jsxs)(p,{children:[(0,i.jsx)(d.Z,{currency:c,size:"40px",showChainLogo:!0}),(0,i.jsxs)(s.A,{fontSize:["14px","16px"],bold:!0,ellipsis:!0,color:l,style:{opacity:f},children:[n,"\xa0",null==c?void 0:c.symbol]}),(0,i.jsx)(s.A,{color:"textSubtle",textTransform:"uppercase",fontSize:"12px",style:{opacity:f},bold:!0,children:m})]})]})}},400427:(e,t,n)=>{n.d(t,{x:()=>i});function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;if(!e)return"";if(!e.includes("."))return e;let[n,i]=e.split(".");return!i||i.length<=t?e:`${n}.${i.slice(0,t)}`}}
1,420248:(e,t,n)=>{n.d(t,{g:()=>x});var i=n(350979),r=n(25963),l=n(680797),o=n(62234),s=n.n(o),a=n(5919),c=n(38395);let d=l.I4.div.withConfig({componentId:"sc-d8adaa2e-0"})(["display:flex;flex-direction:row;align-items:center;margin-right:",";"],e=>{let{margin:t}=e;return t&&"4px"});function x(e){let{currency0:t,currency1:n,size:l=20,margin:o=!1,innerMargin:x="4px",showChainLogo:p=!1,showChainLogoCurrency1:h=!1}=e,u=(0,r.useMemo)(()=>.66*l,[l]);return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(d,{margin:o,children:[t&&(0,i.jsx)(c.Z,{currency:t,size:`${l.toString()}px`,style:{marginRight:x,minWidth:`${l.toString()}px`}}),n&&(0,i.jsx)(c.Z,{currency:n,size:`${l.toString()}px`,style:{minWidth:`${l.toString()}px`},showChainLogo:h}),p&&t?(0,i.jsx)(s(),{alt:`chain-${t.chainId}`,src:`${a.H}/web/chains/${t.chainId}.png`,style:{maxHeight:u,margin:"8px"},width:u,height:u,unoptimized:!0}):null]})})}},428857:(e,t,n)=>{n.d(t,{Dj:()=>o,J6:()=>r,Mb:()=>A,YH:()=>a,gF:()=>w,w:()=>f});var i=n(680797),r=function(e){return e.EXITING="exiting",e}({});i.Ay.div.withConfig({componentId:"sc-fd21e696-0"})(["height:48px;width:48px;position:relative;display:flex;border-radius:50%;overflow:visible;"]);let l=(0,i.i7)(["from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0px)}"]),o=(0,i.AH)(["animation:"," 300ms ease-in-out;"],l),s=(0,i.i7)(["from{opacity:1;transform:translateX(0px)}to{opacity:0;transform:translateX(-40px)}"]),a=(0,i.AH)(["animation:"," 300ms ease-in-out;"],s),c=(0,i.i7)(["from{opacity:0;}to{opacity:1;}"]),d=(0,i.i7)(["from{opacity:0;transform:scale(0);}to{opacity:1;transform:scale(1);}"]),x=(0,i.AH)(["animation:"," 250ms ease-in-out;"],c),p=(0,i.AH)(["animation:"," 250ms ease-in-out;"],d),h=(0,i.i7)(["from{opacity:1;}to{opacity:0;}"]),u=(0,i.i7)(["from{opacity:1;transform:scale(1);}to{opacity:0;transform:scale(0);}"]),m=(0,i.AH)(["animation:"," 250ms ease-in-out;"],h),g=(0,i.AH)(["animation:"," 250ms ease-in-out;"],u),f=i.Ay.div.withConfig({componentId:"sc-fd21e696-1"})(["transition:display 400ms ease-in-out;transform 250ms ease-in-out;"," &.","{","}"],e=>{let{$scale:t}=e;return t?p:x},"exiting",e=>{let{$scale:t}=e;return t?g:m}),j=(0,i.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),w=(0,i.AH)(["animation:2s "," linear infinite;"],j),A=i.Ay.svg.withConfig({componentId:"sc-fd21e696-2"})(["height:",";width:",";path{stroke:",";background:grey;fill:",";}"],e=>{let{size:t}=e;return t},e=>{let{size:t}=e;return t},e=>{let{stroke:t}=e;return t},e=>{let{fill:t}=e;return t})},435222:(e,t,n)=>{n.d(t,{S:()=>x,m:()=>p});var i=n(350979),r=n(680797),l=n(769932),o=n(731955),s=n(796898),a=n(557423),c=n(24153),d=n(605641);let x=(0,r.I4)(o.A).withConfig({componentId:"sc-e5d16fe2-0"}
1)(["height:16px;width:16px;margin-right:6px;stroke:",";"],e=>{let{theme:t}=e;return t.colors.success});function p(e){let{token:t,isActive:n,isAdded:r,setImportToken:o,showImportView:p}=e,{t:h}=(0,l.A)(),{isMobile:u}=(0,s.A)();return n||r?(0,i.jsxs)(c.Bp,{style:{minWidth:"fit-content"},children:[(0,i.jsx)(x,{}),(0,i.jsx)(d.A,{color:"success",children:"Active"})]}):(0,i.jsx)(a.A,{scale:u?"sm":"md",width:"fit-content",onClick:()=>{o&&o(t),p()},children:h("Import")})}},472061:(e,t,n)=>{n.d(t,{P7:()=>i.P,Zm:()=>r.Z,ge:()=>o.g,gz:()=>l.g});var i=n(131),r=n(38395),l=n(420248),o=n(367770);n(559180)},486556:(e,t,n)=>{n.d(t,{g:()=>u});var i=n(350979),r=n(769932),l=n(796147),o=n(962478),s=n(605641),a=n(501823),c=n(557423),d=n(680797),x=n(590780),p=n(882249);let h=d.I4.div.withConfig({componentId:"sc-6682d623-0"})(["width:100%;"]);function u(e){let{message:t,onDismiss:n}=e,{t:d}=(0,r.A)();return(0,i.jsxs)(h,{children:[(0,i.jsxs)(l.mm,{justify:"center",children:[(0,i.jsx)(p.EC,{$scale:!0,children:(0,i.jsx)(o.A,{color:"failure",width:"64px"})}),(0,i.jsx)(x.k2,{children:(0,i.jsx)(s.A,{color:"failure",style:{textAlign:"center",width:"85%",wordBreak:"break-word"},children:t})})]}),n?(0,i.jsx)(x.k2,{children:(0,i.jsx)(a.A,{justifyContent:"center",pt:"24px",children:(0,i.jsx)(c.A,{onClick:n,children:d("Dismiss")})})}):null]})}},504101:(e,t,n)=>{n.d(t,{k:()=>r});var i=n(619287);let r=()=>{let{prompt:e}=(0,i.hL)();return e}},535960:(e,t,n)=>{n.d(t,{u:()=>r});var i=n(25963);function r(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];(0,i.useEffect)(()=>{var i;let{current:l}=e,o=null!=(i=null==n?void 0:n.map(e=>e.current))?i:[l],s=null==l?void 0:l.parentElement,a=null==s?void 0:s.removeChild;if(s&&a&&!r)return s.removeChild=function(e){if(e===l&&o){o.forEach(e=>null==e?void 0:e.classList.add(t()));let n=o.find(e=>{var t,n,i;return(null!=(i=null==(t=null!=e?e:void 0)||null==(n=t.getAnimations)?void 0:n.call(t).length)?i:0)>0});return n?null==n||n.addEventListener("animationend",t=>{t.target===n&&a.call(s,e)}):a.call(s,e),e}return a.call(s,e)},()=>{s.removeChild=a}},[n,t,e,r])}},550062:(e,t,n)=>{n.d(t,{Y:()=>s});var i=n(350979),r=n(680797),l=n(428089);let o=r.I4.div.withConfig({componentId:"sc-e37aeb6b-0"})(["width:100%;"]);function s(e){let{bottomContent:t,topContent:n}=e;return(0,i.jsxs)(o,{children:[(0,i.jsx)(l.Ay,{children:n()}),(0,i.jsx)(l.Ay,{children:t()})]})}},568548:(e,t,n)=>{n.d(t,{w:()=>p});var i=n(350979),r=n(769932),l=n(428089),o=n(92292),s=n(731955),a=n(796147),c=n(605641),d=n(590780),x=n(882249);let p=e=>{let{children:t,explorerLink:n,isMultisig:p}=e,{t:h}=(0,r.A)();return(0,i.jsxs)(l.Ay,{width:"100%",children:[(0,i.jsx)(x.EC,{children:(0,i.jsx)(l.Ay,{margin:"auto auto 22px auto",width:"fit-content",children:p?(0,i.jsx)(o.A,{color:"warning",width:80,height:80}):(0,i.jsx)(s.A,{color:"success",width:80,height:80})})}),(0,i.jsxs)(a.mm,{justify:"center",children:[(0,i.jsxs)(d.k2,{children:[(0,i.jsx)(c.A,{bold:!0,textAlign:"center",children:h(p?"Multisig transaction submitted":"Transaction receipt")}),!p&&n]}),t,p?(0,i.jsx)(c.A,{textAlign:"center",mt:"12px",children:h("Transaction pending approvals. Execution will occur after multisig confirmation.")}):null]})]})}},586644:(e,t,n)=>{n.d(t,{w:()=>o});var i=n(350979),r=n(796147),l=n(605641);function o(e){let{message:t,icon:n}=e;return(0,i.jsxs)(r.YA,{style:{height:"100%",justifyContent:"center"},children:[n,t&&(0,i.jsx)(l.A,{pt:"4px",textAlign:"center",fontSize:"20px",bold:!0,children:t})]})}},590780:(e,t,n)=>{n.d(t,{Rk:()=>f,UT:()=>w,k2:()=>j});var i=n(350979);n(179087);var r=n(769932),l=n(796147),o=n(579518),s=n(605641),a=n(428089),c=n(501823),d=n(889948),x=n(557423),p=n(25963),h=n(680797);n(472061);var u=n(882249),m=n(428857),g=n(535960),f=function(e){return e[e.REVIEWING=0]="REVIEWING",e[e.WRAPPING=1]="WRAPPING",e[e.RESETTING_APPROVAL=2]="RESETTING_APPROVAL",e[e.APPROVING_TOKEN=3]="APPROVING_TOKEN",e[e.PERMITTING=4]="PERMITTING",e[e.PENDING_CONFIRMATION=5]="PENDING_CONFIRMATION",e[e.COMPLETED=6]="COMPLETED",e[e.ORDER_SUBMITTED=7]="ORDER_SUBMITTED",e[e.MULTISIG_SUBMITTED=8]="MULTISIG_SUBMITTED",e}({});let j=(0,h.Ay)(l.VP).withConfig({componentId:"sc-c3a2d004-0"})(["align-items:center;transition:display 300ms ease-in-out;"," &.","{","}"],e=>{let{disableEntranceAnimation:t}=e;return!t&&(0,h.AH)(["",""],m.Dj)},m.J6.EXITING,m.YH),w=e=>{let{title:t,isX:n,isBonus:x,providerName:h,currencyA:f,asBadge:w,currentStep:A,approvalModalSteps:y}=e,{t:b}
1=(0,r.A)(),{targetRef:I,tooltip:C,tooltipVisible:v}=(0,o.A)((0,i.jsx)(s.A,{children:b("Pancakeswap AMM includes V3, V2 and stable swap.")}),{placement:"top"}),k=(0,p.useRef)(null);(0,g.u)(k,()=>m.J6.EXITING);let S=y[0]===A;return(0,p.useMemo)(()=>(0,i.jsxs)(a.Ay,{width:"100%",children:[(0,i.jsx)(c.A,{height:"160px",alignItems:"center",children:(0,i.jsx)(l.YA,{children:(0,i.jsx)(u.iW,{currency:f,asBadge:w})})}),(0,i.jsx)(l.mm,{gap:"12px",justify:"center",children:y.map(e=>e===A&&(0,i.jsxs)(j,{disableEntranceAnimation:S,ref:e===A?k:void 0,children:[(0,i.jsx)(s.A,{bold:!0,textAlign:"center",children:t[e]}),(0,i.jsxs)(c.A,{children:[(0,i.jsx)(s.A,{fontSize:"14px",children:b("Swapping thru:")}),h?(0,i.jsx)(s.A,{ml:"4px",fontSize:"14px",children:h}):n?(0,i.jsx)(s.A,{ml:"4px",fontSize:"14px",children:"PancakeSwap X"}):x?(0,i.jsx)(s.A,{ml:"4px",fontSize:"14px",children:b("Bonus Route")}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.A,{ml:"4px",fontSize:"14px",color:"textSubtle",ref:I,children:b("Pancakeswap AMM")}),v&&C]})]})]},e))})]}),[f,x,n,h,b,I,t,C,v,w,y,A,S])};(0,h.Ay)(x.A).attrs({variant:"tertiary"}).withConfig({componentId:"sc-c3a2d004-1"})(["height:unset;padding:7px 8px;font-size:14px;border-radius:12px;border-bottom:2px solid rgba(0,0,0,0.1);color:",";"],e=>{let{$color:t}=e;return t})},597603:(e,t,n)=>{n.d(t,{A:()=>c});var i=n(350979),r=n(501823),l=n(605641),o=n(428089),s=n(494350),a=n(472061);let c=e=>{let{symbolA:t,symbolB:n,amountA:c,amountB:d,currencyA:x,currencyB:p}=e;return(0,i.jsxs)(r.A,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(l.A,{mr:"4px",fontSize:"14px",children:`${c} ${t}`}),(0,i.jsx)(a.Zm,{size:"20px",currency:x})]}),(0,i.jsx)(o.Ay,{m:"0 8px",children:(0,i.jsx)(s.A,{color:"textSubtle"})}),(0,i.jsxs)(r.A,{children:[(0,i.jsx)(l.A,{mr:"4px",fontSize:"14px",children:`${d} ${n}`}),(0,i.jsx)(a.Zm,{size:"20px",currency:p})]})]})}},677681:(e,t,n)=>{n.d(t,{S:()=>r});var i=n(619287);let r=()=>{let{confirm:e}=(0,i.hL)();return e}},807381:(e,t,n)=>{n.d(t,{$:()=>s});var i=n(769932),r=n(25963),l=n(677681),o=n(504101);let s=(e,t,n)=>{let s=(0,l.S)(),a=(0,o.k)(),{t:c}=(0,i.A)();return(0,r.useCallback)(()=>{let i,r=new Promise(e=>{i=e});if(!e)return!0;if(e.lessThan(t))e.lessThan(n)?i(!0):s({message:c("This swap has a price impact of at least %amount%%. Please confirm that you would like to continue with this swap.",{amount:n.toFixed(0)}),onConfirm:e=>i(e)});else{let e="confirm";a({message:c('This swap has a price impact of at least %amount%%. Please type the word "%word%" to continue with this swap.',{amount:t.toFixed(0),word:e}),onConfirm:t=>t===e?i(!0):i(!1)})}return r},[n,s,e,t,a,c])}},841228:(e,t,n)=>{n.d(t,{M:()=>x});var i=n(350979),r=n(769932),l=n(680797),o=n(796147),s=n(554945),a=n(605641);let c=l.I4.div.withConfig({componentId:"sc-343bf743-0"})(["width:100%;"]),d=(0,l.I4)(o.YA).withConfig({componentId:"sc-343bf743-1"})(["padding:24px 0;"]);function x(e){let{pendingText:t}=e,{t:n}=(0,r.A)();return(0,i.jsxs)(c,{children:[(0,i.jsx)(d,{children:(0,i.jsx)(s.A,{})}),(0,i.jsxs)(o.mm,{gap:"12px",justify:"center",children:[t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.A,{fontSize:"20px",children:n("Waiting For Confirmation")}),(0,i.jsx)(o.mm,{gap:"12px",justify:"center",children:(0,i.jsx)(a.A,{bold:!0,small:!0,textAlign:"center",children:t})})]}):null,(0,i.jsx)(a.A,{small:!0,color:"textSubtle",textAlign:"center",children:n("Confirm this transaction in your wallet")})]})]})}},882249:(e,t,n)=>{n.d(t,{EC:()=>j,RV:()=>b,iW:()=>y});var i=n(350979),r=n(257057),l=n(554945),o=n(428089),s=n(25963),a=n(680797),c=n(472061),d=n(428857),x=n(535960);let p=(0,a.I4)(function(e){var t,n,r,l;let{size:o="4px",...s}=e,c=(0,a.DP)();return(0,i.jsxs)(f,{size:o,viewBox:"0 0 54 54",xmlns:"http://www.w3.org/2000/svg",fill:null!=(t=c.colors.textSubtle)?t:"",stroke:null!=(n=c.colors.textSubtle)?n:"",strokeWidth:.1,...s,children:[(0,i.jsx)("path",{opacity:"0.1",d:"M53.6666 26.9999C53.6666 41.7275 41.7276 53.6666 27 53.6666C12.2724 53.6666 0.333313 41.7275 0.333313 26.9999C0.333313 12.2723 12.2724 0.333252 27 0.333252C41.7276 0.333252 53.6666 12.2723 53.6666 26.9999ZM8.33331 26.9999C8.33331 37.3092 16.6907 45.6666 27 45.6666C37.3093 45.6666 45.6666 37.3092 45.6666 26.9999C45.6666 16.6906 37.3093 8.33325 27 8.33325C16.6907 8.33325 8.33331 16.6906 8.33331 26.9999Z",fill:null!=(r=c.colors.textSubtle)?r:""}),(0,i.jsx)("path",{d:"M49.6666 26.9999C51.8758 26.9999 53.6973 25.1992 53.3672 23.0149C53.0452 20.884 52.4652 18.7951 51.6368 16.795C50.2966 13.5597 48.3324
110.62 45.8562 8.14374C43.3799 5.66751 40.4402 3.70326 37.2049 2.36313C35.2048 1.53466 33.1159 0.954747 30.985 0.632693C28.8007 0.30256 27 2.12411 27 4.33325C27 6.54239 28.8108 8.29042 30.9695 8.76019C32.0523 8.99585 33.1146 9.32804 34.1434 9.75417C36.4081 10.6923 38.4659 12.0672 40.1993 13.8006C41.9327 15.534 43.3076 17.5918 44.2457 19.8565C44.6719 20.8853 45.004 21.9476 45.2397 23.0304C45.7095 25.1891 47.4575 26.9999 49.6666 26.9999Z",fill:null!=(l=c.colors.textSubtle)?l:""})]})}).withConfig({componentId:"sc-b1647ee7-0"})(["stroke:grey;fill:grey;width:calc(80px + 16px);height:calc(80px + 16px);top:-7px;left:-7px;position:absolute;z-index:-100;"]),h=(0,a.I4)(j).withConfig({componentId:"sc-b1647ee7-1"})(["z-index:2;border-radius:50%;position:absolute;transition:all 250ms ease-in-out;height:",";width:",";bottom:",";right:",";outline:",";"],e=>{let{asBadge:t}=e;return t?"25px":"80px"},e=>{let{asBadge:t}=e;return t?"25px":"80px"},e=>{let{asBadge:t}=e;return t?"-4px":0},e=>{let{asBadge:t}=e;return t?"-4px":0},e=>{let{theme:t,asBadge:n}=e;return n?`2px solid ${t.background}`:""}),u=(0,a.I4)(c.Zm).withConfig({componentId:"sc-b1647ee7-2"})(["z-index:1;"]),m=(0,a.I4)(j).withConfig({componentId:"sc-b1647ee7-3"})(["display:flex;position:relative;height:",";width:",";border-radius:50%;align-items:center;justify-content:center;background-color:",";z-index:5;"],e=>{let{height:t}=e;return`${t}px`},e=>{let{width:t}=e;return`${t}px`},e=>{let{showSpinner:t,theme:n}=e;return t?"transparent":n.colors.primary}),g=()=>(0,i.jsx)(r.A,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M13.2601 18.3918C12.9161 18.5558 12.5141 18.6779 12.0591 18.7599L5.48907 19.9099C3.29907 20.2999 2.00896 19.3999 1.62896 17.2099L0.0891657 8.45987C-0.300834 6.26987 0.599117 4.97988 2.78912 4.58988L4.58697 4.27384C4.79197 4.23784 4.97114 4.41686 4.93414 4.62186L3.75811 11.2799C3.22811 14.3099 4.65803 16.3499 7.67803 16.8799C7.67803 16.8799 12.8971 17.7969 13.1661 17.8489C13.4981 17.9088 13.5511 18.2628 13.2601 18.3918ZM19.9131 5.10587L18.3689 13.8598C17.997 15.9678 16.7811 16.8688 14.7361 16.5888C14.6581 16.5778 14.5881 16.5779 14.5071 16.5639L7.94195 15.4059C5.75295 15.0199 4.85209 13.7329 5.23809 11.5439L6.58111 3.92783L6.78204 2.78983C7.16804 0.600828 8.4551 -0.300151 10.6441 0.0858488L17.21 1.24387C19.398 1.62987 20.2991 2.91787 19.9131 5.10587ZM13.554 11.8958C13.626 11.4878 13.3541 11.0988 12.9461 11.0268L8.8421 10.3028C8.4361 10.2298 8.04518 10.5039 7.97418 10.9109C7.90218 11.3189 8.17409 11.7079 8.58209 11.7799L12.6861 12.5039C12.7301 12.5119 12.7739 12.5149 12.8169 12.5149C13.1739 12.5159 13.49 12.2598 13.554 11.8958ZM16.597 9.03482C16.669 8.62682 16.3971 8.23787 15.9891 8.16587L9.42413 7.00785C9.02013 6.93685 8.62696 7.20888 8.55596 7.61588C8.48396 8.02388 8.75612 8.41284 9.16412 8.48484L15.7291 9.64286C15.7731 9.65086 15.8172 9.65384 15.8602 9.65384C16.2172 9.65384 16.533 9.39782 16.597 9.03482ZM17.2972 5.77286C17.3692 5.36486 17.097 4.97584 16.689 4.90384L10.1241 3.74582C9.72008 3.67382 9.32716 3.94685 9.25616 4.35385C9.18416 4.76185 9.45607 5.15087 9.86407 5.22287L16.429 6.38083C16.473 6.38883 16.5171 6.39188 16.5601 6.39188C16.9171 6.39288 17.2332 6.13686 17.2972 5.77286Z",fill:"#F5F6FC"})}),f=(0,a.I4)(d.Mb).withConfig({componentId:"sc-b1647ee7-4"})(["",""],d.gF);function j(e){let{children:t,className:n,$scale:r=!1,...l}=e,o=(0,s.useRef)(null);return(0,x.u)(o,()=>d.J6.EXITING),(0,i.jsx)(d.w,{ref:o,className:n,$scale:r,...l,children:t})}let w=()=>{let e=(0,s.useRef)(null);return(0,x.u)(e,()=>d.J6.EXITING),(0,i.jsx)(j,{$scale:!0,children:(0,i.jsx)(l.A,{})})};function A(e){let{currency:t,asBadge:n=!1}=e;return(0,i.jsx)(h,{asBadge:n,"data-testid":`pending-modal-currency-logo-${null==t?void 0:t.symbol}`,$scale:!0,children:(0,i.jsx)(u,{currency:t,size:"100%"})})}let y=e=>{let{size:t=80,currency:n,asBadge:r}=e;return(0,i.jsxs)(m,{width:t,height:t,showSpinner:!1,$scale:!0,children:[(0,i.jsx)(I,{}),(0,i.jsx)(g,{}),(0,i.jsx)(A,{currency:n,asBadge:r})]})},b=e=>{let{size:t=128}=e;return(0,i.jsx)(m,{width:t,height:1.197*t,showSpinner:!0,children:(0,i.jsx)(o.Ay,{marginBottom:"44px",children:(0,i.jsx)(w,{})})})};function I(){return(0,i.jsx)(j,{children:(0,i.jsx)(p,{})})}},965691:(e,t,n)=>{n.d(t,{X:()=>m});var i=n(350979),r=n(769932),l=n(501823),o=n(796898),s=n(557423),a=n(796147),c=n(24153),d=n(605641),x=n(680797),p=n(300130);let h=x.I4.div.withConfig({componentId:"sc-3025f661-0"})(["padding:4px 20px;height:56px;display:grid;grid-template-columns:auto minmax(auto,1fr) auto;grid-gap:10px;align-items:center;opacity:",";","{grid-gap:16px;}"],e=>{let{dim:t}=e;return t?"0.4":"1"},e=>{let{theme:t}=e;return t.mediaQueries.md}),u=(0,x.I4)(l.A).withConfig({componentId:"sc-3025f661-1"})(["white-space:nowrap;overflow:hidden;align-items:center;text-overflow:ellipsis;max-width:210px;gap:8px;"]);function m(e){return t=>{let{token:n,symbolAlias:l,style:x,dim:m,onCurrencySelect:g,list:f,isActive:j,children:w}=t,{t:A}=(0,r.A)(),{isMobile:y}=(0,o.A)();return(0,i.jsxs)(h,{style:x,variant:"text",as:j&&g?s.A:"a",onClick:()=>{j&&(null==g||g(n))},children:[(0,i.jsx)(e,{currency:n,size:y?"20px":"24px",style:{opacity:m?"0.6":"1"}}),(0,i.jsxs)(a.mm,{gap:"4px",style:{opacity:m?"0.6":"1"},children:[(0,i.jsx)(c.eF,{children:(0,i.jsxs)(u,{title:n.name,children:[null!=l?l:n.symbol,(0,i.jsx)(d.A,{ellipsis:!0,color:"textDisabled",fontSize:"12px",children:n.name})]})}
1),f&&f.logoURI&&(0,i.jsxs)(c.Bp,{children:[(0,i.jsxs)(d.A,{fontSize:y?"10px":"14px",mr:"4px",color:"textSubtle",children:[A("via")," ",f.name]}),(0,i.jsx)(p.O,{logoURI:f.logoURI,size:"12px"})]})]}),w]})}}},980450:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(680797),r=n(263424),l=n(428089);let o=(0,i.I4)(l.Ay).withConfig({componentId:"sc-7ad1d52f-0"})(["background-image:url(","/web/swap-spinner.png);background-size:contain;-webkit-animation:spin 2s linear infinite ",";animation:spin 2s linear infinite ",";@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);}}@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}"],r.H,e=>{let{reverse:t}=e;return t?"reverse":"normal"},e=>{let{reverse:t}=e;return t?"reverse":"normal"});o.defaultProps={width:"18px",height:"18px",reverse:!1};let s=o}}]);
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.