PageSourceSearch

https://ampleswap.com/static/js/320.e780cd8a.chunk.js

js ampleswap.com collected 2026-10-07 08:56:33 UTC 23,075 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdex_frontend=self.webpackChunkdex_frontend||[]).push([[320],{82320:(n,e,t)=>{t.r(e),t.d(e,{default:()=>pe});var r,i,s,a,o,l,d,c,x,p,h,m,u=t(57528),g=t(65043),f=t(94574),j=t(78921),b=t(76432),A=t(62582),w=t(70579);const y=f.Ay.div(r||(r=(0,u.A)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: space-between;\n  padding: 40px 20px;\n  width: 100%;\n  max-width: 1200px;\n  margin: 0 auto;\n\n  "," {\n    flex-direction: row;\n    padding: 80px 20px 40px;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),k=f.Ay.div(i||(i=(0,u.A)(["\n  flex: 1;\n  max-width: 600px;\n  z-index: 2;\n  text-align: center;\n\n  "," {\n    text-align: left;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),v=f.Ay.div(s||(s=(0,u.A)(["\n  flex: 1;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin-top: 40px;\n  position: relative;\n\n  img {\n    max-width: 100%;\n    width: 450px;\n    height: auto;\n    filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.1));\n  }\n\n  "," {\n    margin-top: 0;\n    justify-content: flex-end;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),F=(0,f.Ay)(b.EYj)(a||(a=(0,u.A)(["\n  font-size: 40px;\n  line-height: 1.1;\n  font-weight: 800;\n  margin-bottom: 24px;\n  color: ",";\n\n  "," {\n    font-size: 64px;\n  }\n"])),(n=>{let{theme:e}=n;return e.isDark?"#FFFFFF":"#1A1A1A"}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),E=f.Ay.span(o||(o=(0,u.A)(["\n  color: #00D395;\n"]))),D=(0,f.Ay)(b.EYj)(l||(l=(0,u.A)(["\n  font-size: 16px;\n  line-height: 1.5;\n  color: ",";\n  margin-bottom: 32px;\n\n  "," {\n    font-size: 18px;\n  }\n"])),(n=>{let{theme:e}=n;return e.isDark?"#A0A0A0":"#666666"}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),S=(0,f.Ay)(b.son)(d||(d=(0,u.A)(["\n  flex-direction: column;\n  gap: 16px;\n  margin-bottom: 48px;\n  align-items: center;\n\n  "," {\n    flex-direction: row;\n  }\n\n  "," {\n    justify-content: flex-start;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.sm}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),C=(0,f.Ay)(b.$nd)(c||(c=(0,u.A)(["\n  background: #00D395;\n  color: white;\n  border-radius: 12px;\n  font-weight: 600;\n  padding: 0 32px;\n  height: 48px;\n  border: none;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  &:hover {\n    background: #00b37d !important;\n  }\n"]))),T=(0,f.Ay)(b.$nd)(x||(x=(0,u.A)(["\n  background: transparent;\n  color: ",";\n  border: 1px solid ",";\n  border-radius: 12px;\n  font-weight: 600;\n  padding: 0 32px;\n  height: 48px;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  &:hover {\n    background: rgba(0, 211, 149, 0.1) !important;\n    border-color: #00D395;\n    color: #00D395;\n  }\n"])),(n=>{let{theme:e}=n;return e.isDark?"#FFFFFF":"#1A1A1A"}),(n=>{let{theme:e}=n;return e.isDark?"#FFFFFF":"#1A1A1A"})),B=f.Ay.div(p||(p=(0,u.A)(["\n  display: grid;\n  grid-template-columns: repeat(2, 1fr);\n  gap: 20px;\n  margin-top: 24px;\n\n  "," {\n    grid-template-columns: repeat(4, 1fr);\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),N=(0,f.Ay)(b.son)(h||(h=(0,u.A)(["\n  align-items: center;\n  gap: 12px;\n  background: ",";\n  padding: 12px 16px;\n  border-radius: 16px;\n  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);\n  border: 1px solid ",";\n"])),(n=>{let{theme:e}=n;return e.isDark?"#1f2022":"#ffffff"}),(n=>{let{theme:e}=n;return e.isDark?"#333":"#f0f0f0"})),z=f.Ay.div(m||(m=(0,u.A)(["\n  width: 32px;\n  height: 32px;\n  border-radius: 50%;\n  background: rgba(0, 211, 149, 0.1);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: #00D395;\n  font-size: 16px;\n"]))),Q=()=>{const{theme:n}=(0,j.A)();return(0,w.jsxs)(y,{children:[(0,w.jsxs)(k,{children:[(0,w.jsx)(b.EYj,{color:"primary",bold:!0,fontSize:"14px",textTransform:"uppercase",mb:"12px",children:"DEX ON BNB CHAIN"}),(0,w.jsxs)(F,{children:["Trade. Earn.",(0,w.jsx)("br",{}),"Build ",(0,w.jsx)(E,{children:"Together."})]}),(0,w.jsx)(D,{children:"A next-generation decentralized exchange on BNB Chain. Fast swaps, low fees, high yields, and a powerful launchpad \u2014 all in one place."}),(0,w.jsxs)(S,{children:[(0,w.jsx)(C,{as:A.k2,to:"/swap",children:"Start Trading \u2192"}),(0,w.jsx)(T,{as:A.k2,to:"/farms",children:"Explore Farms"})]}),(0,w.jsxs)(B,{children:[(0,w.jsxs)(N,{children:[(0,w.jsx)(z,{children:(0,w.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,w.jsx)("path",{d:"M13 2L3 
114h9l-1 8 10-12h-9l1-8z"})})}),(0,w.jsxs)(b.EYj,{fontSize:"14px",color:n.isDark?"#fff":"#1a1a1a",bold:!0,children:["Fast",(0,w.jsx)("br",{}),"Swaps"]})]}),(0,w.jsxs)(N,{children:[(0,w.jsx)(z,{children:(0,w.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,w.jsx)("path",{d:"M12 2L4 5v6c0 5.25 3.4 9.74 8 11 4.6-1.26 8-5.75 8-11V5l-8-3z"}),(0,w.jsx)("path",{d:"M9 12l2 2 4-4"})]})}),(0,w.jsxs)(b.EYj,{fontSize:"14px",color:n.isDark?"#fff":"#1a1a1a",bold:!0,children:["Low",(0,w.jsx)("br",{}),"Fees"]})]}),(0,w.jsxs)(N,{children:[(0,w.jsx)(z,{children:(0,w.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,w.jsx)("path",{d:"M12 3v18"}),(0,w.jsx)("path",{d:"M17 7c0-2-2.24-4-5-4S7 5 7 7s2.24 3 5 4 5 2 5 4-2.24 4-5 4-5-2-5-4"})]})}),(0,w.jsxs)(b.EYj,{fontSize:"14px",color:n.isDark?"#fff":"#1a1a1a",bold:!0,children:["Yield",(0,w.jsx)("br",{}),"Farming"]})]}),(0,w.jsxs)(N,{children:[(0,w.jsx)(z,{children:(0,w.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,w.jsx)("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),(0,w.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,w.jsx)("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),(0,w.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]})}),(0,w.jsxs)(b.EYj,{fontSize:"14px",color:n.isDark?"#fff":"#1a1a1a",bold:!0,children:["Growing",(0,w.jsx)("br",{}),"Community"]})]})]})]}),(0,w.jsx)(v,{children:(0,w.jsx)("img",{src:"/slider-banner.png",alt:"AmpleSwap Banner"})})]})};var L,I,Y,M,_,H;const O=f.Ay.div(L||(L=(0,u.A)(["\n  display: grid;\n  grid-template-columns: 1fr;\n  gap: 24px;\n  width: 100%;\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 40px 20px;\n\n  "," {\n    grid-template-columns: repeat(2, 1fr);\n  }\n\n  "," {\n    grid-template-columns: repeat(4, 1fr);\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.sm}),(n=>{let{theme:e}=n;return e.mediaQueries.lg})),P=(0,f.Ay)(A.k2)(I||(I=(0,u.A)(["\n  background: ",";\n  border-radius: 24px;\n  padding: 32px 24px;\n  display: flex;\n  flex-direction: column;\n  position: relative;\n  text-decoration: none;\n  overflow: hidden;\n  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.02);\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n  border: 1px solid ",";\n\n  &:hover {\n    transform: translateY(-5px);\n    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.05);\n  }\n"])),(n=>{let{theme:e,bgstart:t}=n;return e.isDark?"linear-gradient(180deg, ".concat(t,"22 0%, #27262c 100%)"):"linear-gradient(180deg, ".concat(t,"33 0%, #ffffff 100%)")}),(n=>{let{theme:e,bgstart:t}=n;return e.isDark?"".concat(t,"44"):"".concat(t,"66")})),R=f.Ay.div(Y||(Y=(0,u.A)(["\n  width: 64px;\n  height: 64px;\n  border-radius: 50%;\n  background: ",";\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  margin-bottom: 24px;\n\n  img {\n    width: 32px;\n    height: 32px;\n  }\n"])),(n=>{let{bgstart:e}=n;return"".concat(e,"44")})),U=(0,f.Ay)(b.EYj)(M||(M=(0,u.A)(["\n  font-size: 24px;\n  font-weight: 700;\n  margin-bottom: 12px;\n  color: ",";\n"])),(n=>{let{theme:e}=n;return e.isDark?"#FFFFFF":"#1A1A1A"})),q=(0,f.Ay)(b.EYj)(_||(_=(0,u.A)(["\n  font-size: 14px;\n  color: ",";\n  line-height: 1.5;\n  margin-bottom: 24px;\n"])),(n=>{let{theme:e}=n;return e.isDark?"#A0A0A0":"#666666"})),X=f.Ay.div(H||(H=(0,u.A)(["\n  position: absolute;\n  bottom: 24px;\n  right: 24px;\n  width: 32px;\n  height: 32px;\n  border-radius: 50%;\n  border: 1px solid ",";\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: ",";\n  transition: all 0.2s ease;\n\n  ",":hover & {\n    background: ",";\n    color: white;\n  }\n"])),(n=>{let{bgstart:e}=n;return e}),(n=>{let{bgstart:e}=n;return e}),P,(n=>{let{bgstart:e}=n;return e})),G=()=>{const{theme:n}=(0,j.A)();return(0,w.jsxs)(O,{children:[(0,w.jsxs)(P,{to:"/swap",bgstart:"#00D395",children:[(0,w.jsx)(R,{bgstart:"#00D395",children:(0,w.jsx)("img",{src:"/swap.png",alt:"Swap"})}),(0,w.jsx)(U,{children:"Swap"}),(0,w.jsx)(q,{children:"Trade 1000+ tokens with ultra-low fees and best prices on BNB Chain."}),(0,w.jsx)(X,{bgstart:"#00D395",children:"\u2192"})]}),(0,w.jsxs)(P,{to:"/pool",bgstart:"#3B82F6",children:[(0,w.jsx)(R,{bgstart:"#3B82F6",children:(0,w.jsx)("img",{src:"/l
1iquidity.png",alt:"Liquidity"})}),(0,w.jsx)(U,{children:"Liquidity"}),(0,w.jsx)(q,{children:"Provide liquidity and earn trading fees with flexible options."}),(0,w.jsx)(X,{bgstart:"#3B82F6",children:"\u2192"})]}),(0,w.jsxs)(P,{to:"/farms",bgstart:"#10B981",children:[(0,w.jsx)(R,{bgstart:"#10B981",children:(0,w.jsx)("img",{src:"/farms.png",alt:"Farms"})}),(0,w.jsx)(U,{children:"Farms"}),(0,w.jsx)(q,{children:"Stake LP tokens and earn high rewards with multiple farming pools."}),(0,w.jsx)(X,{bgstart:"#10B981",children:"\u2192"})]}),(0,w.jsxs)(P,{to:"/pools",bgstart:"#8B5CF6",children:[(0,w.jsx)(R,{bgstart:"#8B5CF6",children:(0,w.jsx)("img",{src:"/pools.png",alt:"Pools"})}),(0,w.jsx)(U,{children:"Pools"}),(0,w.jsx)(q,{children:"Join, stake, and earn steady rewards from liquidity."}),(0,w.jsx)(X,{bgstart:"#8B5CF6",children:"\u2192"})]})]})};var J,W,V,Z,$,K,nn;const en=f.Ay.div(J||(J=(0,u.A)(["\n  display: flex;\n  flex-direction: column-reverse;\n  align-items: center;\n  justify-content: space-between;\n  width: 100%;\n  max-width: 1200px;\n  margin: 60px auto;\n  padding: 40px 20px;\n  gap: 40px;\n\n  "," {\n    flex-direction: row;\n    gap: 80px;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),tn=f.Ay.div(W||(W=(0,u.A)(["\n  flex: 1;\n  max-width: 500px;\n  text-align: center;\n\n  "," {\n    text-align: left;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),rn=f.Ay.div(V||(V=(0,u.A)(["\n  flex: 1;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  position: relative;\n  \n  img {\n    width: 100%;\n    max-width: 550px;\n    height: auto;\n    border-radius: 24px;\n    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);\n  }\n"]))),sn=(0,f.Ay)(b.EYj)(Z||(Z=(0,u.A)(["\n  font-size: 14px;\n  font-weight: 700;\n  color: #3B82F6;\n  text-transform: uppercase;\n  margin-bottom: 12px;\n  letter-spacing: 1px;\n"]))),an=(0,f.Ay)(b.EYj)($||($=(0,u.A)(["\n  font-size: 36px;\n  font-weight: 800;\n  margin-bottom: 24px;\n  color: ",";\n  line-height: 1.2;\n\n  "," {\n    font-size: 48px;\n  }\n"])),(n=>{let{theme:e}=n;return e.isDark?"#FFFFFF":"#1A1A1A"}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),on=(0,f.Ay)(b.EYj)(K||(K=(0,u.A)(["\n  font-size: 16px;\n  line-height: 1.6;\n  color: ",";\n  margin-bottom: 32px;\n"])),(n=>{let{theme:e}=n;return e.isDark?"#A0A0A0":"#666666"})),ln=(0,f.Ay)(b.$nd)(nn||(nn=(0,u.A)(["\n  background: #00D395;\n  color: white;\n  border-radius: 12px;\n  font-weight: 600;\n  padding: 0 32px;\n  height: 48px;\n  border: none;\n  &:hover {\n    background: #00b37d !important;\n  }\n"]))),dn=()=>{const{theme:n}=(0,j.A)();return(0,w.jsxs)(en,{className:"aboutsection",children:[(0,w.jsxs)(tn,{children:[(0,w.jsx)(sn,{children:"ABOUT"}),(0,w.jsx)(an,{children:"About AmpleSwap DEX"}),(0,w.jsx)(on,{children:"Boost your project with AmpleSwap Dex \u2014 a secure, fast, and scalable decentralized exchange designed to amplify your tokens visibility and trading volume. Tap into real liquidity, low fees, and a seamless DeFi experience. Launch, grow, and thrive with Axioma!"}),(0,w.jsx)(ln,{as:"a",href:"https://docs.ampleswap.com/",target:"_blank",rel:"noopener noreferrer",children:"Learn More \u2192"})]}),(0,w.jsx)(rn,{children:(0,w.jsx)("img",{src:"/images/home/aboutimg.png",alt:"AmpleSwap DEX"})})]})};var cn=t(32420);const xn=()=>{const n=(0,g.useRef)(null),[e,t]=(0,g.useState)(!1),[r,i]=(0,g.useState)(!1);return(0,g.useEffect)((()=>{if(!e){new IntersectionObserver((n=>{let[e]=n;i(e.isIntersecting)}),{rootMargin:"0px",threshold:1}).observe(n.current),t(!0)}}),[e]),{observerRef:n,isIntersecting:r}};var pn=t(89379),hn=t(55579),mn=t(85982),un=t(99344),gn=t(6846),fn=t(49332),jn=t(11045),bn=t(53536),An=function(n){return n.NOT_FETCHED="not-fetched",n.FETCHING="fetching",n.SUCCESS="success",n.FAILED="failed",n}(An||{});const wn=n=>{const e=(0,un.j)(),{data:t}=(0,mn.hc)(),[r,i]=(0,g.useState)(An.NOT_FETCHED),[s,a]=(0,g.useState)([null,null,null,null,null]),o=(0,mn.bQ)();return(0,g.useEffect)((()=>{n&&r===An.NOT_FETCHED&&(async()=>{i(An.FETCHING);const n=gn.v0.filter((n=>0!==n.pid&&"0X"!==n.multiplier));try{await e((0,gn.Jx)(n.map((n=>n.pid)))),i(An.SUCCESS)}catch(t){console.error(t),i(An.FAILED)}})()}),[e,i,r,s,n]),(0,g.useEffect)((()=>{r!==An.SUCCESS||s[0]||(n=>{const e=n.filter((n=>n.lpTotalInQuoteToken&&n.quoteToken.busdPrice)).map((n=>{const e=new jn.A(n.lpTotalInQuoteToken).times(n.quoteToken.busdPrice),{cakeRewardsApr:t,lpRewardsApr:r}=(0,fn.SU)(new jn.A(n.poolWeight),o,e,n.lpAddresses[hn.nU.MAINNET]);return(0,pn.A)((0,pn.A)({},n),{},{apr:t,lpRewardsApr:r})})),t=(0,bn.orderBy)(e,(n=>n.apr+n.lpRewardsApr),"desc");a(t.slice(0,5))})(t)}),[a,t,r,o,s]),{topFarms:s}};var yn=t(90515),kn=t(11882),vn=t(14556),Fn=t(92564),En=t(25282),Dn=function(n){return n.NOT_FETCHED="not-fetched",n.FETCHING="fetching",n.SUCCESS="success",n.FAILED="failed",n}(Dn||{});const Sn=n=>{const e=(0,un.j)(),{pools:t}=(0,vn.d4)((n=>({pools:n.pools.data,userDataLoaded:n.pools.userDataLoaded}))),{fees:{performanceFee:r}}=(0,Fn.QZ)(),i=r&&r/100,[s,a]=(0,g.useState)(Dn.NOT_FETCHED),[o,l]=(0,g.useState)([null,null,null,null,null]),d=(0,g.useMemo)((()=>{const n=t.filter((n=>!n.isFinished)).find((n=>0===n.sousId)),e=(0,pn.A)((0,pn.A)({},n),{},{isAutoVault:!0});(0,pn.A)((0,pn.A)({},e),{},{apr:(0,En.AR)(e,i).apr});return[...t]}),[t,i]),c=(0,mn.bQ)();return(0,g.useEffect)((()=>{n&&s===Dn.NOT_FETCHED&&(async()=>{a(Dn.FETCHING);const n=await kn.t.getBlockNumber();try{await e((0,yn._8)()),await e((0,yn.NM)(n)),a(Dn.SUCCESS)}catch(t){console.error(t),a(Dn.FAILED)}})()}),[e,a,s,o,n]),(0,g.useEffect)((()=>{s!==Dn.SUCCESS||o[0]||(n=>{const e=(0,bn.orderBy)(n,(n=>n.apr||0),"desc");l(e.slice(0,5))})(d)}),[l,d,s,c,o,i]),{topPools:o}};var Cn,Tn,Bn=t(10997);const Nn=(0,f.Ay)(b.son)(Cn||(Cn=(0,u.A)(["\n  position: relative;\n"]))),zn=(0,f.Ay)(b.son)(Tn||(Tn=(0,u.A)(["\n  position: absolute;\n  top: ",";\n  opacity: ",";\n  margin-top: ",";\n  transition: opacity, margin-top, 0.4s ease-out;\n  flex-direction: column;\n\n  ","\n"])),(n=>{let{topOffset:e}=n;return e}),(n=>{let{visible:e}=n;return e?1:0}),(n=>{let{visible:e}=n;return e?0:"50%"}),(n=>{let{index:e,theme:t}=n;return e>0?"\n         ".concat(t.mediaQueries.sm," {\n           height: 80px;\n           top: 0;\n           padding-left: 16px;\n           border-left: 1px ").concat(t.colors.inputSecondary," solid;\n         }\n       "):"padding-right: 16px;"})),Qn=n=>{let{title:e,percentage:t,index:r,visible:i}=n;const{t:s}=(0,cn.Bd)();return(0,w.jsx)(Nn,{index:r,children:(0,w.jsxs)(zn,{className:"sbox",index:r,visible:i,topOffset:r>=0&&r<2?"0px":r>
1=2&&r<3?"80px":"160px",children:[e?(0,w.jsx)(b.EYj,{bold:!0,mb:"8px",fontSize:"18px",color:"#000",children:e}):(0,w.jsx)(b.EAD,{width:80,height:12,mb:"8px"}),t?(0,w.jsx)(Bn.A,{lineHeight:"1.1",fontSize:"16px",color:"#0097e1",bold:!0,unit:"%",value:t}):(0,w.jsx)(b.EAD,{width:60,height:16}),t?(0,w.jsx)(b.EYj,{fontSize:"16px",color:"#000",children:s("APR")}):(0,w.jsx)(b.EAD,{width:30,height:16,mt:"4px"})]})})};var Ln=t(80045);const In=["text"],Yn=n=>{let{text:e}=n,t=(0,Ln.A)(n,In);const{theme:r}=(0,j.A)(),i=e.split(" "),s=i[0],a=i.slice(1).join(" ");return(0,w.jsxs)(b.DZT,(0,pn.A)((0,pn.A)({color:r.isDark?"#FFFFFF":"#1A1A1A"},t),{},{children:[s,(0,w.jsxs)("span",{style:{color:r.isDark?"#FFFFFF":r.colors.secondary},children:[" ",a]})]}))};var Mn;const _n=f.Ay.div(Mn||(Mn=(0,u.A)(["\n  display: grid;\n  grid-template-columns: repeat(2, auto);\n\n  "," {\n    grid-gap: 16px;\n    grid-template-columns: repeat(5, auto);\n  }\n\n  "," {\n    grid-gap: 32px;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.sm}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),Hn=()=>{const[n,e]=(0,g.useState)(!1),{t:t}=(0,cn.Bd)(),{observerRef:r,isIntersecting:i}=xn(),{topFarms:s}=wn(i),{topPools:a}=Sn(i),o=(0,g.useRef)(null),l=s[0]&&a[0],d=(0,g.useCallback)((()=>{o.current=setInterval((()=>{e((n=>!n))}),6e3)}),[o]);(0,g.useEffect)((()=>(l&&d(),()=>{clearInterval(o.current)})),[o,l,d]);return(0,w.jsx)("div",{className:"syrupmain",ref:r,children:(0,w.jsxs)(b.son,{className:"poolsmain",flexDirection:"column",mt:"24px",children:[(0,w.jsxs)(b.son,{className:"poolstitle",mb:"24px",children:[(0,w.jsx)(Yn,{text:t(n?"Top Farms":"Top Syrup Pools")}),(0,w.jsx)(b.K0,{variant:"text",height:"100%",width:"auto",onClick:()=>{e((n=>!n)),clearInterval(o.current)},children:(0,w.jsx)(b.UXZ,{height:"24px",width:"24px",color:"#0097e1"})})]}),(0,w.jsxs)(b.azJ,{height:["240px",null,"80px"],children:[(0,w.jsx)(_n,{children:s.map(((e,t)=>(0,w.jsx)(Qn,{title:null===e||void 0===e?void 0:e.lpSymbol,percentage:(null===e||void 0===e?void 0:e.apr)+(null===e||void 0===e?void 0:e.lpRewardsApr),index:t,visible:n},t)))}),(0,w.jsx)(_n,{children:a.map(((e,r)=>{return(0,w.jsx)(Qn,{title:e&&(i=e,i.isAutoVault?t("Auto AMPLE"):0===i.sousId?t("Manual AMPLE"):t("Stake %stakingSymbol% - Earn %earningSymbol%",{earningSymbol:i.earningToken.symbol,stakingSymbol:i.stakingToken.symbol})),percentage:null===e||void 0===e?void 0:e.apr,index:r,visible:!n},r);var i}))})]})]})})};var On,Pn,Rn,Un,qn,Xn,Gn,Jn,Wn,Vn;const Zn=f.Ay.div(On||(On=(0,u.A)(["\n  width: 100%;\n  max-width: 1200px;\n  margin: 40px auto 80px;\n  padding: 0 20px;\n"]))),$n=f.Ay.div(Pn||(Pn=(0,u.A)(["\n  background: ",";\n  border-radius: 24px;\n  padding: 40px;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  position: relative;\n  overflow: hidden;\n\n  "," {\n    flex-direction: row;\n    padding: 60px;\n  }\n"])),(n=>{let{theme:e}=n;return e.isDark?"linear-gradient(90deg, #10B98122 0%, #00D39511 100%)":"linear-gradient(90deg, #d1fae5 0%, #a7f3d0 100%)"}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),Kn=f.Ay.div(Rn||(Rn=(0,u.A)(["\n  flex: 1;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin-bottom: 40px;\n  z-index: 2;\n\n  img {\n    width: 100%;\n    max-width: 400px;\n    height: auto;\n    border-radius: 24px;\n    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);\n  }\n\n  "," {\n    margin-bottom: 0;\n    justify-content: flex-start;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),ne=f.Ay.div(Un||(Un=(0,u.A)(["\n  flex: 1;\n  z-index: 2;\n  text-align: center;\n\n  "," {\n    text-align: left;\n    padding-left: 40px;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),ee=(0,f.Ay)(b.EYj)(qn||(qn=(0,u.A)(["\n  font-size: 14px;\n  font-weight: 700;\n  color: #10B981;\n  text-transform: uppercase;\n  margin-bottom: 12px;\n  letter-spacing: 1px;\n"]))),te=(0,f.Ay)(b.EYj)(Xn||(Xn=(0,u.A)(["\n  font-size: 32px;\n  font-weight: 800;\n  margin-bottom: 16px;\n  color: ",";\n  line-height: 1.2;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(n=>{let{theme:e}=n;return e.isDark?"#FFFFFF":"#1A1A1A"}),(n=>{let{theme:e}=n;return e.mediaQueries.md})),re=(0,f.Ay)(b.EYj)(Gn||(Gn=(0,u.A)(["\n  font-size: 16px;\n  line-height: 1.6;\n  color: ",";\n  margin-bottom: 32px;\n"])),(n=>{let{theme:e}=n;return e.isDark?"#e5e7eb":"#4b5563"})),ie=(0,f.Ay)(b.son)(Jn||(Jn=(0,u.A)(["\n  gap: 16px;\n  justify-content: center;\n\n  "," {\n    justify-content: flex-start;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),se=f.Ay.a(Wn||(Wn=(0,u.A)(["\n  width: 48px;\n  height: 48px;\n  border-radius: 50%;\n  background: #3B82F6;\n  display: flex;\n  align-items: center;\n  justify-content: center;
1\n  color: white;\n  text-decoration: none;\n  font-size: 20px;\n  transition: transform 0.2s ease, background 0.2s ease;\n\n  &:hover {\n    transform: translateY(-3px);\n    background: #2563EB;\n  }\n\n  &.telegram { background: #38BDF8; }\n  &.twitter { background: #0EA5E9; }\n  &.discord { background: #6366F1; }\n  &.medium { background: #10B981; }\n"]))),ae=(0,f.Ay)(b.EYj)(Vn||(Vn=(0,u.A)(["\n  position: absolute;\n  bottom: 20px;\n  right: 40px;\n  font-family: 'Brush Script MT', cursive;\n  font-size: 32px;\n  color: #059669;\n  transform: rotate(-10deg);\n  opacity: 0.8;\n  display: none;\n\n  "," {\n    display: block;\n  }\n"])),(n=>{let{theme:e}=n;return e.mediaQueries.md})),oe=()=>{const{theme:n}=(0,j.A)();return(0,w.jsx)(Zn,{className:"socialdiv",children:(0,w.jsxs)($n,{children:[(0,w.jsx)(Kn,{children:(0,w.jsx)("img",{src:"/images/home/social.png",alt:"Community"})}),(0,w.jsxs)(ne,{children:[(0,w.jsx)(ee,{children:"COMMUNITY"}),(0,w.jsxs)(te,{children:["Join our",(0,w.jsx)("br",{}),"AmpleSwap DEX Community"]}),(0,w.jsx)(re,{children:"Join the conversation! Stay informed and be the first to know about the news, we look forward to hearing from you."}),(0,w.jsxs)(ie,{children:[(0,w.jsx)(se,{href:"https://t.me/ampleswap",target:"_blank",className:"telegram",children:(0,w.jsx)("i",{className:"fab fa-telegram-plane",children:"T"})}),(0,w.jsx)(se,{href:"https://twitter.com/ampleswap",target:"_blank",className:"twitter",children:(0,w.jsx)("i",{className:"fab fa-twitter",children:"tw"})}),(0,w.jsx)(se,{href:"https://discord.gg/ampleswap",target:"_blank",className:"discord",children:(0,w.jsx)("i",{className:"fab fa-discord",children:"D"})}),(0,w.jsx)(se,{href:"https://medium.com/@ampleswap",target:"_blank",className:"medium",children:(0,w.jsx)("i",{className:"fab fa-medium-m",children:"M"})})]})]}),(0,w.jsxs)(ae,{children:["Let's",(0,w.jsx)("br",{}),"Build Together"]})]})})};var le,de;const ce=f.Ay.div(le||(le=(0,u.A)(["\n  min-height: 100vh;\n  background: ",";\n  display: flex;\n  flex-direction: column;\n  overflow-x: hidden;\n  font-family: 'Inter', sans-serif;\n"])),(n=>{let{theme:e}=n;return e.isDark?"#08080c":"#f9fafb"})),xe=f.Ay.div(de||(de=(0,u.A)(["\n  width: 100%;\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 40px 20px;\n"]))),pe=()=>{const{theme:n}=(0,j.A)();return(0,w.jsxs)(ce,{children:[(0,w.jsx)(Q,{}),(0,w.jsx)(G,{}),(0,w.jsx)(dn,{}),(0,w.jsx)(xe,{children:(0,w.jsx)(Hn,{})}),(0,w.jsx)(oe,{})]})}}}]);
2//# sourceMappingURL=320.e780cd8a.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.