PageSourceSearch

https://pancakeswap.finance/_next/static/chunks/pages/competition-74ae056f5a9270e2.js

js pancakeswap.finance collected 2026-09-24 08:44:08 UTC 19,448 bytes, 6 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="dac4369c-ca4a-4ff5-9c06-0328bc4e3521",e._sentryDebugIdIdentifier="sentry-dbid-dac4369c-ca4a-4ff5-9c06-0328bc4e3521")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1037],{229407:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>eF});var n=t(350979),r=t(25963),A=t(769932),a=t(866652),s=t(796898),o=t(30597),d=t(428089),l=t(501823),c=t(62234),h=t.n(c),g=t(555967),p=t(888178),x=t(833438),m=t(228876),u=t(18468),b=t(330995),f=t(820964),w=t(968349),j=t(379515),C=t(729152),R=t(646099);let B={src:"/_next/static/media/MoD-storm-bunny.f9ab4646.png",height:426,width:365,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAZlBMVEWiqGd4OjHmhT/BpWrHXCanV0XnkFDqv2zvxnDWZjR6aG+XYEtpTFbggmDDXjPUeFuzQxQ2UU9jKC3hPww1ssJRM0KAsoXJkkHscSvNThbleje3UCHddDGoajo5aWBZTEF9Ulv2hTgG1qVCAAAAG3RSTlMB/OmqoTptER7+0frv8/vRsvv9PJC5zurdTncKrYnGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAQElEQVR4nBXJ2xZAIBRAwV2qU+R+F+L/f9Iyr4M7tAfYXi0C7EnNhQdZ1VP+seQhWoHp7qvQwpiucNZgO2Ma9wFMGwKFVDvRbAAAAABJRU5ErkJggg==",blurWidth:7,blurHeight:8};var I=t(295355),T=t(13445),E=t(876055),v=t(693545),D=t(375058),S=t(921411),U=t(149251),y=t(605641),M=t(575058),V=t(680797),k=t(779682);let L={src:"/_next/static/media/MoD-banner-dar.1582f3fa.png",height:162,width:230,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAVFBMVEVMaXHr5+5mSXRVS3i5mMTbzuN3T4vAvsZuSH1mWoGopLeMZKFoU4JaQWYAAACkbrWxncrEmdJ0UZSIc5vRxdnCltSMhqFuYYu2qbyfdcSJZKi4odTo81VAAAAAFHRSTlMA/aT4rP5l/T39/SbzpAxM/My4z885KQwAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA2SURBVHicFcEHEoAgEACxRcoBdqnK///JmHAXZVVxYN4r2/HA+YnEnIClB10NcOyhbZ6fdytMN+IBzDnGSpEAAAAASUVORK5CYII=",blurWidth:8,blurHeight:6},P={src:"/_next/static/media/MoD-banner-dar2.a7704a87.png",height:112,width:158,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAVFBMVEVMaXF7YJFOPWVAOlP77v5BJWRYNHrWzt1qTItNMW6QdapycH9QQGfp6O0AAACETqqJXauQebGwctWIUa2tcNVvQpKFVaapnLjYtvHds/BqUIXNoeYKlZZXAAAAF3RSTlMAjKb+/Cd5/Ic78P7N+gZRnxe3+tvphM+BhVcAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA1SURBVHicBcEBAoAQEADBFTpKUeik//+zGYB8twc4y+u+6iEMd2i/8JuIzBWi7lYNQEhLBH43gwHRv2OD/wAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6},F={src:"/_next/static/media/MoD-banner-dar3.48c6cac0.png",height:298,width:216,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAANlBMVEVMaXFBL1qLRLGRXa4lDkR+b5JAEl8sEUhJE3KthcLnyvNqRYekjbWnhrtyS4yypb7TuuHCntNfivhrAAAADnRSTlMAy1Ln0lljFCinLLPWJscD01UAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAsSURBVHicY2CAAF5uDhDFJcjDDqI5BThBFAczPyuIZuJjBKtiYwHLMrAzAAAWOwC5nDPWWAAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8};var z=t(261208);let N=e=>`
2  text-align: center;
3  ${e.mediaQueries.md} {
4    text-align: left;
5  }
6`,W=V.I4.div.withConfig({componentId:"sc-9bc24d7c-0"})(["position:absolute;bottom:0;left:0;right:0;height:242px;z-index:-1;background-image:url('","');@media only screen and (min-width:1920px){background-repeat:no-repeat;background-position:center bottom;background-size:100%;}"],"/_next/static/media/mod-mesh.f35f83b0.png"),X=V.I4.div.withConfig({componentId:"sc-9bc24d7c-1"})(["position:absolute;top:-25px;left:-150px;width:599px;height:184px;background-image:url('","');z-index:-1;"],"/_next/static/media/mod-text-light.0459781b.png"),H=V.I4.div.withConfig({componentId:"sc-9bc24d7c-2"})(["position:absolute;bottom:50px;left:10%;width:1257px;height:205px;background-image:url('","');background-size:cover;z-index:0;"],"/_next/static/media/MoD-bg-shine.b56df09c.png"),Q=V.I4.div.withConfig({componentId:"sc-9bc24d7c-3"})(["position:relative;z-index:2;width:75%;margin:0 auto;","{position:absolute;width:auto;bottom:-3%;z-index:1;right:10px;}","{right:25px;}@media screen and (min-width:1440px){right:15%;}@media screen and (min-width:1440px){right:18%;}"],e=>{let{theme:i}=e;return i.mediaQueries.md},e=>{let{theme:i}=e;return i.mediaQueries.xl}),J=V.I4.div.withConfig({componentId:"sc-9bc24d7c-4"})(["position:absolute;z-index:2;left:3%;top:0;width:100px;
6","{left:20%;}","{left:30%;}"],e=>{let{theme:i}=e;return i.mediaQueries.md},e=>{let{theme:i}=e;return i.mediaQueries.xl}),G=V.I4.div.withConfig({componentId:"sc-9bc24d7c-5"})(["position:absolute;z-index:2;right:1%;top:10%;width:79px;","{right:21%;}","{right:31%;}"],e=>{let{theme:i}=e;return i.mediaQueries.md},e=>{let{theme:i}=e;return i.mediaQueries.xl}),K=V.I4.div.withConfig({componentId:"sc-9bc24d7c-6"})(["position:absolute;z-index:2;left:-18%;bottom:0%;width:85px;"]),Y=(0,V.I4)(y.A).withConfig({componentId:"sc-9bc24d7c-7"})(["",""],e=>{let{theme:i}=e;return N(i)}),O=(0,V.I4)(z.Nx).withConfig({componentId:"sc-9bc24d7c-8"})(["width:100%;position:relative;white-space:normal;"," ","{width:780px;}"],e=>{let{theme:i}=e;return N(i)},e=>{let{theme:i}=e;return i.mediaQueries.lg}),q=V.I4.div.withConfig({componentId:"sc-9bc24d7c-9"})(["position:relative;top:-10px;font-family:'Kanit';font-style:normal;font-weight:700;font-size:46px;line-height:110%;display:flex;align-items:center;letter-spacing:0.06em;text-transform:uppercase;font-feature-settings:'liga' off;color:#ffffff;text-shadow:0px 5px 0px #13101d;"]),Z=(0,V.I4)(z.m9).withConfig({componentId:"sc-9bc24d7c-10"})(["width:100%;white-space:initial;text-shadow:0px 0px 10px rgba(0,255,209,0.22),0px 0px 8px rgba(0,56,255,0.25),0px 0px 18px rgba(0,255,71,0.52);",";","{width:410px;}"],e=>{let{theme:i}=e;return N(i)},e=>{let{theme:i}=e;return i.mediaQueries.lg}),_=(0,V.I4)(M.A).withConfig({componentId:"sc-9bc24d7c-11"})([""," text-shadow:0px 0px 8px rgba(255,255,255,0.25),0px 0px 18px rgba(161,101,194,0.88),0px 0px 49px rgba(161,0,255,0.55);"],e=>{let{theme:i}=e;return N(i)}),$=()=>{let{t:e,currentLanguage:{locale:i}}=(0,A.A)(),{theme:t}=(0,p.Ay)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{children:(0,n.jsx)(h(),{src:L,alt:"dar coin1",width:230,height:162})}),(0,n.jsx)(G,{children:(0,n.jsx)(h(),{src:P,alt:"dar coin2",width:158,height:112})}),(0,n.jsxs)(l.A,{flexDirection:"column",overflow:"hidden",children:[(0,n.jsx)(W,{}),(0,n.jsx)(H,{}),(0,n.jsx)(Q,{children:(0,n.jsx)(h(),{src:k.A,alt:"all the bunnies",width:523,height:395})}),(0,n.jsxs)(Y,{mb:"16px",color:"#FFD585",bold:!0,style:{textShadow:"0px 0px 10px rgba(255, 175, 0, 0.22), 0px 0px 8px rgba(255, 61, 0, 0.25), 0px 0px 18px rgba(255, 135, 0, 0.55)"},children:[new Date(2022,4).toLocaleString(i,{month:"short"})," ","17-24, 2022"]}),(0,n.jsxs)(O,{children:[(0,n.jsx)(C.ET,{}),(0,n.jsx)(q,{children:e("Trading Competition")}),(0,n.jsx)(X,{})]}),(0,n.jsx)(Z,{background:"#BDF9DA",$fill:!0,children:e("$120,000 in Prizes with Tokens and NFTs!")}),(0,n.jsx)(_,{scale:"md",color:t.isDark?"card":"inputSecondary",mt:"16px",children:e("Compete with other teams for the highest trading volume!")}),(0,n.jsx)(l.A,{height:"100px"})]})]})},ee=()=>(0,n.jsx)(K,{children:(0,n.jsx)(h(),{src:F,alt:"dar coin2",width:216,height:298})});var ei=t(807543),et=t(341936),en=t(441899),er=t(579621);let eA=(0,V.I4)(ei.A).withConfig({componentId:"sc-e6416b7f-0"})(["","{margin-right:40px;flex:1;}"],e=>{let{theme:i}=e;return i.mediaQueries.md}),ea=()=>{let{t:e}=(0,A.A)();return(0,n.jsxs)(eA,{children:[(0,n.jsxs)(et.A,{children:[(0,n.jsx)(M.A,{scale:"lg",color:"secondary",children:e("Prizes by Team")}),(0,n.jsx)(y.A,{color:"textSubtle",fontSize:"14px",children:e("Higher trading volume = higher rank!")})]}),(0,n.jsx)(en.A,{prizesConfig:er.qh}),(0,n.jsx)(d.Ay,{p:"24px",children:(0,n.jsx)(y.A,{color:"textSubtle",fontSize:"14px",children:e("Prizes to be distributed in CAKE and DAR in a distribution of 1:5 and shared by all members of each respective tier. The price of token prizes ($CAKE and $DAR) in USD will be determined as per their BUSD pair price during the tally period.")})})]})},es={src:"/_next/static/media/MoD-flipper.46cc0720.png",height:588,width:542,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAXVBMVEVMaXGBRW84TkmmfW2pc7aSWpGqdLi9l+bNq9O4i7a6j9OXYrSSPYORX6vUu9Kygb/zyPjQotCVWnmid4GEXrDGka6EWKaAUH6Ns5TbtuKikrCSdnJjs5jHe8WBTHpgyA/MAAAAHXRSTlMA8BhmjMHiKv0nR9shk5zBcQv9fH/7ymVzvdn6rLuAlUoAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA9SURBVHicFcrHDcA
6wDACxc5WU3nuy/5iBnwQITZZYAaS2FhiHXrvC+Koa2Oy+5CGvbjI5WbY9hPsqg+PxPzmXAhcudDDjAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8},eo=(0,V.I4)(l.A).withConfig({componentId:"sc-4bd41554-0"})(["","{flex:1;}"],e=>{let{theme:i}=e;return i.mediaQueries.md}),ed=V.I4.div.withConfig({componentId:"sc-4bd41554-1"})(["width:270px;margin:40px auto 0;display:none;","{display:block;}"],e=>{let{theme:i}=e;return i.mediaQueries.md}),el=()=>{let{t:e}=(0,A.A)();return(0,n.jsxs)(eo,{flexDirection:"column",mb:"32px",children:[(0,n.jsx)(y.A,{mb:"24px",children:e("Every eligible participant will win prizes at the end of the competition.")}),(0,n.jsx)(M.A,{color:"secondary",mb:"24px",scale:"lg",children:e("The better your team performs, the better prizes you will get!")}),(0,n.jsx)(y.A,{children:e("The final winning team will be the team with the highest total volume score at the end of the competition period.")}),(0,n.jsx)(y.A,{mt:"10px",children:e("In addition to token prizes there are NFT rewards:")}),(0,n.jsxs)(y.A,{children:["A. ",e("300 newly-designed PancakeSwap NFTs to the Top 100 Traders in each team.")]}),(0,n.jsxs)(y.A,{children:["B. ",e("100 Mines of Dalarnia NFTs to the Top 100 Traders ranked by the $DAR Trading Volume.")]}),(0,n.jsx)(ed,{children:(0,n.jsx)(h(),{src:es,alt:"Flipper bunny",width:270,height:293})})]})},ec=(0,V.I4)(l.A).withConfig({componentId:"sc-531bdcf5-0"})(["flex-direction:column-reverse;","{flex-direction:row;justify-content:center;align-items:flex-start;}"],e=>{let{theme:i}=e;return i.mediaQueries.md}),eh=()=>(0,n.jsxs)(ec,{flexDirection:"column",children:[(0,n.jsx)(ea,{}),(0,n.jsx)(el,{})]});var eg=t(990296),ep=t(368041),ex=t(430873),em=t(211846);let eu={src:"/_next/static/media/MoD-cakers-share.11c233f1.png",height:900,width:1600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAATlBMVEUtGVORZ4pdPXX7tBkWDjk/HVxaOaY6LVC2fx9vVSgrHVcyJW0jFkV3c5OursAyJF5rRTdrSoW+kh5mSmrMiinikhRROEKNXymMYcLekRHPEkdlAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAM0lEQVR4nAXBCQKAIAgEwEVQoPLWjv9/tBnkmt50f4xydgprG0RVpz0OXBLI3XAAMbbBPyfyAYvkq2BjAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},eb={src:"/_next/static/media/MoD-flippers-share.d7f9bbfd.png",height:900,width:1600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAUVBMVEUsGlR3Y5B0ScdRNHI3Ill6SNpiUnIaET02LlI4KWh3c5OursBqSoViPqVYN5+UbIOKYMN2Ubw+HWFuVKJPSmJiQHeKf7dyUblCLUtiWolgXYCiZwdIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMklEQVR4nAXBBwLAEBAAwVUPkaqF/z/UDMlezxm144j5Nqs7JITfTzVApKnqC8Bnzas3Jb4BlDjWXxgAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},ef={src:"/_next/static/media/MoD-storm-share.09e8a413.png",height:900,width:1600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAUVBMVEUsGlRmVzl3c5MyJW1dRXVeN6Eo0d4aED47LlA6HV2trsA0TnRqSoWTa4JUM3NC0t1XUVmJYcRLtL04k5SFXpo7X4dfnaJJpa1wXUNKytBXfIsb+IXeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAM0lEQVR4nAXBBwKAIAwAsUNGW8UJCPL/h5qwWLzjdn6sPu/HNQqiqsG5DiKhzvcBMGsp/SXuAaByJzJMAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};var ew=t(731955),ej=t(628855),eC=t(54901),eR=t(606656),eB=t(499529),eI=t(192650),eT=t(511555);let eE=V.I4.thead.withConfig({componentId:"sc-7d7c5e1e-0"})(["border-bottom:2px solid ",";"],e=>{let{theme:i}=e;return i.colors.cardBorder}),ev=e=>{let{userTradingInformation:i}=e,{t}=(0,A.A)(),{userRewardGroup:r,userCakeRewards:a,userDarRewards:s,userPointReward:o,canClaimNFT:d}=null!=i?i:{},c=(0,eT.j)(),{cakeReward:h,darReward:g,dollarValueOfTokensReward:p}=(0,eI.BO)({userCakeRewards:a,userDarRewards:s}),x=(0,eI.B3)(er.qh,r,o);return(0,n.jsxs)(eC.Qu,{children:[(0,n.jsx)(eE,{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:t("Token Prizes")}),(0,n.jsx)("th",{children:t("Achievements")}),(0,n.jsx)("th",{children:t("NFT")}),(0,n.jsx)("th",{children:t("Bunny Helmet")})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)(eC.gk,{children:(0,n.jsxs)(l.A,{flexDirection:"column",children:[(0,n.jsxs)(y.A,{bold:!0,children:[h.toFixed(4)," CAKE"]}),(0,n.jsxs)(y.A,{bold:!0,children:[g.toFixed(4)," DAR"]}),(0,n.jsx)(eB.A,{dollarValueOfTokensReward:p})]})}),(0,n.jsx)(eC.Td,{children:(0,n.jsx)(eR.A,{achievement:x,userPointReward:o})}),(0,n.jsx)(eC.Td,{children:d?(0,n.jsx)(ew.A,{color:"success"}):(0,n.jsx)(ej.A,{color:"textDisabled"})}),(0,n.jsx)(eC.Td,{children:c?(0,n.jsx)(ew.A,{color:"success"}):(0,n.jsx)(ej.A,{color:"textDisabled"})})]})})]})},eD=V.I4.div.withConfig({componentId:"sc-3ab5831e-0"})(["position:relative;width:100%;margin:24px auto 0;max-width:768px;"]),eS=e=>{let{hasRegistered:i=!1,account:t,userTradingInformation:r,profile:a,isLoading:s,userLeaderboardInformation:o,currentPhase:d,userCanClaimPrizes:l,finishedAndPrizesClaimed:c,finishedAndNothingToClaim:h,onClaimSuccess:g}=e,{t:p}=(0,A.A)(),m=!t||i;return(0,n.jsxs)(eD,{children:[m&&(0,n.jsx)(I.A,{imageComponent:(0,n.jsx)(ex.A,{profile:a,isLoading:s}),ribbonDirection:"down",isCardHeader:!0,children:p("Your Score")}),(0,n.jsx)(ep.A,{subgraph:x.HU,userPrizeGrid:(0,n.jsx)(ev,{userTradingInformation:r}),extraUserRankBox:(0,n.jsx)(em.A,{flex:"2",title:p("Your DAR volume rank").toUpperCase(),footer:p("Based on your DAR/BNB trading"),mr:(null==d?void 0:d.state)===f.L8?[0,null,null,"8px"]:0,children:o?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(M.A,{textAlign:"center",scale:"lg",children:["#",o.darVolumeRank]}
6),(0,n.jsxs)(y.A,{children:["$",o.darVolume.toLocaleString(void 0,{maximumFractionDigits:2,minimumFractionDigits:0})]})]}):(0,n.jsx)(eg.Ay,{height:"26px",width:"110px"})}),flippersShareImage:eb,cakersShareImage:eu,stormShareImage:ef,hasRegistered:i,account:t,userTradingInformation:r,profile:a,isLoading:s,userLeaderboardInformation:o,currentPhase:d,userCanClaimPrizes:l,finishedAndPrizesClaimed:c,finishedAndNothingToClaim:h,onClaimSuccess:g})]})};var eU=t(388645),ey=t(614713),eM=t(426780);let eV={src:"/_next/static/media/MoD-caker.b4b43ea7.png",height:469,width:584,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAV1BMVEWciYh7PlqjT1ZdX2B8RzCEgYvDYUtyRkPRh25oRTilZkBETFSHRm7ShW6oXl5baXplPGVHKHW+n9PAk9+ZZWjQlPuLQYDMjG+pZkGGS0ZvKkTeud/BsN05QOPWAAAAGHRSTlMB7uqh/ElEJaGM4qPAvfSUirY7xPuVcRBG8aFZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAN0lEQVR4nB3GSRLAEBRAwRfBR0QmVAb3P6eKXjXY1Tl+olIcqe8zLQLl03eYN7ha1h4D57F7AToorQGjp8tNVgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6};var ek=t(223728);let eL=()=>{let{account:e,chainId:i}=(0,w.W7)(),{t}=(0,A.A)(),{profile:c,isLoading:y}=(0,a.xc)(),{isMobile:M}=(0,s.A)(),{isDark:V,theme:k}=(0,p.Ay)(),L=(0,g.Kj)(),[P,F]=(0,r.useState)(f.gz.CLAIM),{registrationSuccessful:z,claimSuccessful:N,onRegisterSuccess:W,onClaimSuccess:X}=(0,ey.f)(),[H,Q]=(0,r.useState)(D.j),[J,G]=(0,r.useState)(D.Z),{globalLeaderboardInformation:K,team1LeaderboardInformation:Y,team2LeaderboardInformation:O,team3LeaderboardInformation:q}=(0,eU.T)(4),Z=P.state===f.L8,_=P.state===f.BL||P.state===f.tx||P.state===f.PM,{hasUserClaimed:ei,isUserActive:et,userCakeRewards:en,userDarRewards:er,userPointReward:eA,canClaimNFT:ea}=H,es=P.state===f.tx&&et&&!ei&&("0"!==en||"0"!==er||"0"!==eA||ea),eo=_&&e&&ei,ed=_&&e&&!es;(0,r.useEffect)(()=>{let t=async()=>{let e=await L.read.currentStatus();F(f.ao[e])},n=async()=>{try{let i=(0,u.Rt)({chainId:m.nU.BSC}),[t,n]=await i.multicall({contracts:[{address:L.address,abi:b.x,functionName:"claimInformation",args:[e||"0x"]},{address:L.address,abi:b.x,functionName:"userTradingStats",args:[e||"0x"]}],allowFailure:!1}),r={isLoading:!1,account:e,hasRegistered:t[0],isUserActive:t[1],hasUserClaimed:n,userRewardGroup:t[3].toString(),userCakeRewards:t[4].toString(),userDarRewards:t[5].toString(),userPointReward:t[6].toString(),canClaimNFT:t[7]};Q(r)}catch(i){console.error(i),Q({...D.j,account:e,isLoading:!1})}};i===m.nU.BSC&&(t(),e?n():Q({...D.j,isLoading:!1}))},[i,e,z,N,L]),(0,r.useEffect)(()=>{let i=async()=>{let i=await fetch(`${x.to}/api/users/${e}`);G((await i.json()).leaderboard_dar)};H.account&&H.hasRegistered?i():G({...D.Z})},[e,H]);let el=y||H.isLoading,ec=!el&&H.account&&!H.hasRegistered&&(Z||_);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(S.$o,{id:"pcs-competition-page",children:[(0,n.jsx)(o.A,{style:{paddingTop:"0px"},innerProps:{style:{paddingTop:M?"30px":"28px"}},background:j.d3,hasCurvedDivider:!1,index:1,overflow:"hidden",children:(0,n.jsxs)(S.Av,{mb:ec?"0px":"48px",children:[(0,n.jsx)(R.A,{currentPhase:P,hasCompetitionEnded:_}),(0,n.jsx)($,{})]})}),(0,n.jsx)(o.A,{containerProps:{style:{marginTop:"-30px"}},background:V?j.hZ:j.uj,concaveDivider:!0,clipFill:{light:"#CCD8F0",dark:"#434575"},dividerPosition:"top",index:2,dividerComponent:ec?null:(0,n.jsx)(E.A,{userTradingInformation:H,currentPhase:P,account:e,isCompetitionLive:Z,hasCompetitionEnded:_,userCanClaimPrizes:es,finishedAndPrizesClaimed:eo,finishedAndNothingToClaim:ed,profile:c,isLoading:el,onRegisterSuccess:W,onClaimSuccess:X,coinDecoration:(0,n.jsx)(ee,{})}),children:(0,n.jsx)(d.Ay,{mt:ec?"0px":["94px",null,"36px"],mb:"64px",children:P.state===f._2?(0,n.jsx)(T.A,{}):(0,n.jsx)(eS,{currentPhase:P,hasRegistered:H.hasRegistered,userTradingInformation:H,account:e,profile:c,isLoading:el,userLeaderboardInformation:J,userCanClaimPrizes:es,finishedAndPrizesClaimed:eo,finishedAndNothingToClaim:ed,onClaimSuccess:X})})}),P.state!==f._2&&(0,n.jsx)(o.A,{containerProps:{style:{marginTop:"-20px"}},index:3,concaveDivider:!0,clipFill:{light:k.colors.background},dividerPosition:"top",dividerComponent:(0,n.jsx)(I.A,{imageComponent:(0,n.jsx)(U.A,{width:"175px"}),ribbonDirection:"up",children:t("Team Ranks")}),children:(0,n.jsx)(d.Ay,{my:"64px",children:(0,n.jsx)(eM.A,{image:eV,team1LeaderboardInformation:Y,team2LeaderboardInformation:O,team3LeaderboardInformation:q,globalLeaderboardInformation:K,participantSubgraphAddress:x.HU,subgraph:x.HU})})}),(0,n.jsx)(ek.A,{prizesInfoComponent:(0,n.jsx)(eh,{})}),(0,n.jsx)(o.A,{containerProps:{style:{marginTop:"-1px"}},index:5,dividerPosition:"top",clipFill:{light:"linear-gradient(139.73deg, #ecf5ff 0%, #f2effe 100%)",dark:"linear-gradient(139.73deg, #383357 0%, #3d2b53 100%)"},dividerComponent:(0,n.jsx)(I.A,{imageComponent:(0,n.jsx)(C.F2,{width:"175px"}),ribbonDirection:"up",children:t("Rules")}),children:(0,n.jsx)(d.Ay,{mt:"64px",children:(0,n.jsx)(v.A,{})})}),(0,n.jsx)(o.A,{index:6,dividerPosition:"top",dividerFill:{light:"#191326"},clipFill:{light:k.colors.background},background:j.Cz,children:(0,n.jsxs)(l.A,{alignItems:"center",position:"relative",children:[(0,n.jsx)(S.lE,{children:(0,n.jsx)(h(),{src:B,alt:"storm-bunny",width:182,height:213})}),ec?null:(0,n.jsx)(l.A,{height:"fit-content",position:"relative",zIndex:"2",children:(0,n.jsx)(E.A,{userTradingInformation:H,currentPhase:P,account:e,isCompetitionLive:Z,hasCompetitionEnded:_,userCanClaimPrizes:es,finishedAndPrizesClaimed:eo,finishedAndNothingToClaim:ed,profile:c,isLoading:el,onRegisterSuccess:W,onClaimSuccess:X})})]})})]})})};var eP=t(692630);let eF=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eP.A,{}),(0,n.jsx)(eL,{})]})},639254:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/competition",function(){return t(229407)}])}},e=>{e.O(0,[9535,7212,1480,806,8793,6652,9080,2470,6415,3604,636,6593,8792],()=>e(e.s=639254)),_N_E=e.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.