(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3038],{36907:function(e,i,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mana",function(){return s(79644)}])},79644:function(e,i,s){"use strict";s.r(i),s.d(i,{default:function(){return P},generateTweetIntent:function(){return E},handleCopy:function(){return k}});var n=s(85893),t=s(70855),r=s(90374),l=s(81594),a=s(16553),h=s(89230),d=s(4703),o=s(51232),c=s(19964),x=s(57419),g=s(99427),p=s(13589),j=s(48583),m=s(33299),v=s(25675),f=s.n(v),u=s(41664),y=s.n(u),w=s(11163),b=s(67294),C=s(51192),T=s(69077);/**
 * @author Manifold Finance, Inc.
 * @date July, 12, 2023
 * @license GPL-3.0
 */function M(){return(0,n.jsxs)(a.gM,{children:[(0,n.jsx)(y(),{href:"/",children:(0,n.jsx)(a.yA,{src:"/svg/MEV Text White.svg",alt:"mevETH"})}),(0,n.jsx)(h.Z,{})]})}let k=async e=>{try{await navigator.clipboard.writeText(e),console.log("Text copied successfully!")}catch(e){console.error("Failed to copy text:",e)}},E=e=>{if(e.user){let i="https://twitter.com/intent/post?via=mevdotio&text=Deposit%20ETH%20to%20get%20%24mevETH%20and%20earn%20some%20MEV%20Mana%2C%20here%20are%20some%20invites:%0A%0A";for(let s of e.user.invites.filter(e=>null===e.redeemer_id).slice(0,4))console.log(i),i+=`${o.$P}/mana/invites/${s.code}%0A`;return console.log(i),i}return""};function _(){let e=(0,c.Z)(),[i,s]=(0,j.KO)(d.D),[r,h]=(0,b.useState)("Withdrawals"),[x,v]=(0,b.useState)(!1),[u,y]=(0,b.useState)(!1),[C,M]=(0,b.useState)(!1),[_,P]=(0,b.useState)(),[eo,ec]=(0,b.useState)(""),{address:ex}=(0,T.mA)(),{data:eg,status:ep}=(0,m.useSession)(),[ej,em]=(0,b.useState)(!1),[ev,ef]=(0,b.useState)(""),eu=(0,w.useRouter)(),ey=async e=>{em(!1);let i=await fetch("/api/invites/updateProfile",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userName:eo,hide_avatar:e,verified_token:_?.verified_token})}),s=await i.json();P(s.user),console.log("updated",s.user?.user_name),s.user?.user_name&&ec(s.user.user_name)};(0,b.useEffect)(()=>{let e=async e=>{let i=await fetch("/api/invites/getCurrentProfile?verified_token="+e),s=await i.json();"No invite"===s.message&&eu.push("/mana/invites"),null===s.user&&eu.push("/mana/starter"),P(s.user),s.user&&ef(E(s)),console.log("user-data",_,ep),ec(ew())},i=localStorage.getItem("user");if(i){let s=JSON.parse(i);P(s),e(s.verified_token)}else e("")},[]),(0,b.useEffect)(()=>{let e=async()=>{if(void 0===ex)return;let{data:e,error:i}=await g.O.from("total_points_materialized_view_detailed_votes").select().eq("address",ex.toLowerCase()).single();if(console.log("data points detailed",e),!e?.total_points){s({address:ex&&null!==ex?ex:"0x0000000000000000000000000000000000000000",total_points:0,has_points:!1,has_votes:!1,has_lp:!1});return}s(e)};ex&&e()},[ex]);let ew=()=>_?_.user_name?_.user_name:_.first_name?_.first_name:_.ens?_.ens:_.metadata?_.metadata.username:"anon":"anon";return ex&&null!==ex?(0,n.jsx)(p.S,{children:(0,n.jsxs)(a.SR,{initial:{transform:"scale(0.9)"},animate:{transform:"scale(1)"},exit:{transform:"scale(0.9)"},layout:!0,children:[e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(H,{children:(0,n.jsx)(I,{children:(0,n.jsxs)(V,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(L,{children:"MEV Mana Program"}),(0,n.jsx)(A,{children:"Stake ETH, provide liquidity and vote to earn more MEV Mana"})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)(D,{children:[(0,n.jsx)(B,{children:(0,n.jsx)(f(),{src:"/svg/mana.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}})}),(0,n.jsx)(z,{children:"MEV Mana"})]}),(0,n.jsxs)(A,{children:[(0,n.jsx)($,{children:"Balance:"}),(0,n.jsx)(N,{children:new Intl.NumberFormat("en-US").format(i.total_points)})]})]})]})})}),(0,n.jsxs)(Y,{children:[(0,n.jsxs)(J,{children:[(0,n.jsxs)(W,{children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${i.has_points?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(es,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/vote.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Own mevETH"})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{style:{paddingTop:"10px"},children:"Hold mevETH in your address"}),(0,n.jsx)(eh,{children:(0,n.jsx)(D,{style:{paddingTop:"30px"},children:(0,n.jsx)(ed,{href:"/stake",children:"Deposit via mevRouter"})})})]})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(W,{children:[(0,n.jsx)(ee,{style:{marginTop:"22px"},children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:"/svg/manauncheckedbox.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(es,{children:(0,n.jsxs)(D,{style:{marginTop:"22px"},children:[(0,n.jsx)(f(),{src:"/svg/diversifyeth.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Diversify Ethereum"})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{children:"Help diversify ETH staking by defending Ethereum's credible neutrality and censorship resistance. Deposit stETH and start earning MEV Mana today while we convert stETH to mevETH. Redemption and deposit process back to your wallet can take up to 14 days."}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsx)(ed,{style:{marginTop:"15px"},children:"coming soon"})})})]})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(W,{onClick:()=>{v(!x)},style:{cursor:"pointer"},children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${_?.invites&&_?.invites.filter(e=>e.redeemer_id).length>0?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(es,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/invite.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Invite others into your Guild"}),(0,n.jsx)(f(),{src:"/svg/up.svg",width:12,height:12,alt:"Mana",style:{marginLeft:10,transform:x?"scale(-1)":"scale(1)"}})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{children:"Refer others with your Guild invite code"}),(0,n.jsxs)(eh,{children:[(0,n.jsx)(D,{}),(0,n.jsxs)(ed,{style:{marginTop:"15px"},href:ev,target:"_blank",rel:"noreferrer",children:["Share your invites on \uD835\uDD4F",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})]})]})]}),(0,n.jsx)("div",{style:{display:x?"":"none"},children:_?.invites?.map(e=>n.jsxs(J,{children:[n.jsxs(U,{children:[n.jsx(Q,{children:n.jsxs(D,{children:[n.jsx(f(),{src:"/svg/invitecircle.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),n.jsx(et,{style:{textDecoration:e.redeemer_id?"line-through":""},children:e.code})]})}),n.jsx(er,{style:{marginTop:"10px",marginBottom:"10px"},children:"Refer others with your Guild invite code"})]}),n.jsx(U,{children:n.jsx(ea,{children:n.jsx(D,{style:{paddingTop:"10px"},children:n.jsxs(ed,{onClick:()=>{e.redeemer_id||k(o.$P+"/mana/invites/"+e.code)},children:[e.redeemer_id?"Redeemed":"Copy Invite Code",n.jsx(f(),{src:"/svg/copy.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})})]},e.code))}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(W,{onClick:()=>{y(!u)},style:{cursor:"pointer"},children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${i.has_lp?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(es,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/liquiditypools.svg",width:85.333,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Contribute to mevETH liquidity Pools"}),(0,n.jsx)(f(),{src:"/svg/up.svg",width:12,height:12,alt:"Mana",style:{marginLeft:10,scale:u?"-1":"1"}})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{children:"Add to mevETH liquidity pools on Convex and Balancer"}),(0,n.jsx)(eh,{children:(0,n.jsx)(D,{children:(0,n.jsxs)(ed,{style:{marginTop:"15px"},children:["Deposit via stakerBPT (coming soon)",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]})]}),(0,n.jsxs)("div",{style:{display:"none"},children:[(0,n.jsxs)(J,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:"/svg/manacheckedbox.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/mevethFraxpool.svg",width:85.333,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"LP - Curve mevETH / frxETH"})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{children:"Add to Curve LP - link to blog post"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsxs)(ed,{href:"/meveth",children:["Deposit via stakerBPT etc..."," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana"})]})})})]})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:"/svg/manacheckedbox.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/mevethpool.svg",width:85.333,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"LP - Curve mevETH / WETH"})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{children:"Add to Balancer LP - link to blog post"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsxs)(ed,{href:"/meveth",children:["Deposit via stakerBPT etc..."," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana"})]})})})]})]})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(W,{onClick:()=>{M(!C)},style:{cursor:"pointer"},children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${i.has_votes?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(es,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/vote.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Vote for mevETH liquidity in pools"}),(0,n.jsx)(f(),{src:"/svg/up.svg",width:12,height:12,alt:"Mana",style:{marginLeft:10,scale:C?"-1":"1"}})]})})]}),(0,n.jsxs)(U,{children:[(0,n.jsx)(er,{children:"Vote for mevETH liquidity in Curve, Convex, Balancer, Aura, or Staked yETH pools"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsx)(ed,{href:"/meveth",style:{marginTop:"15px"},children:"Share links on Voting"})})})]})]}),(0,n.jsxs)("div",{style:{display:C?"":"none"},children:[(0,n.jsxs)(J,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/yearn.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Yearn"})]})}),(0,n.jsx)(er,{style:{marginTop:"10px",marginBottom:"10px"},children:"Vote for mevETH on Yearn st-yETH pools"})]}),(0,n.jsx)(U,{children:(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://snapshot.org/#/ylsd.eth",children:["Vote on Yearn"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/curve-mana.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Curve"})]})}),(0,n.jsx)(er,{style:{marginTop:"10px",marginBottom:"10px"},children:"Vote for mevETH on Curve"})]}),(0,n.jsx)(U,{children:(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://snapshot.org/#/ylsd.eth",children:["Vote on Curve"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/convex.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Convex"})]})}),(0,n.jsx)(er,{style:{marginTop:"10px",marginBottom:"10px"},children:"Vote for mevETH on Convex"})]}),(0,n.jsx)(U,{children:(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://snapshot.org/#/ylsd.eth",children:["Vote on Convex"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})})]}),(0,n.jsxs)(J,{children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/balancer-mana.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Convex"})]})}),(0,n.jsx)(er,{style:{marginTop:"10px",marginBottom:"10px"},children:"Vote for mevETH on Balancer/Aurora"})]}),(0,n.jsx)(U,{children:(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://snapshot.org/#/ylsd.eth",children:["Vote on Balancer"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})})]})]})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R,{children:(0,n.jsxs)(I,{children:[(0,n.jsx)(Z,{children:(0,n.jsxs)("div",{children:[(0,n.jsx)(S,{children:"MEV Mana Program"}),(0,n.jsx)(A,{children:"Stake ETH, provide liquidity and vote to earn more MEV Mana"})]})}),(0,n.jsx)(Z,{children:(0,n.jsxs)("div",{children:[(0,n.jsxs)(D,{children:[(0,n.jsx)(B,{children:(0,n.jsx)(f(),{src:"/svg/mana.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}})}),(0,n.jsx)(z,{children:"MEV Mana"})]}),(0,n.jsxs)(D,{children:[(0,n.jsxs)(A,{children:[(0,n.jsx)($,{children:"Balance:"}),(0,n.jsx)(N,{children:new Intl.NumberFormat("en-US").format(i.total_points)})]}),(0,n.jsxs)(A,{children:[(0,n.jsx)(O,{children:(0,n.jsxs)(D,{children:[ej?"":`@${_?.user_name||ew()} `," ",(0,n.jsx)("span",{onClick:()=>{ec(ew()),em(!ej)},style:{marginLeft:"10px",display:ej?"none":"",cursor:"pointer"},children:"[Edit]"}),ej&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{type:"text",value:eo,style:{background:"white",margin:"0px 10px"},onChange:e=>{ec(e.target.value)}}),(0,n.jsx)("button",{onClick:()=>{ey()},children:"save"})," ",(0,n.jsx)("a",{style:{cursor:"pointer",display:ej?"":"none"},onClick:()=>{em(!1)},children:"[cancel]"})]}),(0,n.jsx)("img",{src:"/svg/signout.svg",width:16,height:16,alt:"Mana",style:{marginLeft:20,cursor:"pointer"},onClick:()=>{(0,m.signOut)(),localStorage.removeItem("user"),eu.push("/")}})]})}),(0,n.jsx)(q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)("img",{src:_?_.hide_avatar?"svg/anon.svg":null!==_.avatar_url&&_.avatar_url?_.avatar_url:null!==_.twitter_image&&_.twitter_image?_.twitter_image:JSON.stringify(_.metadata):"",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)("a",{style:{fontWeight:100,fontSize:16,cursor:"pointer"},onClick:()=>{ey(!_?.hide_avatar)},children:"[hide]"})]})})]})]})]})})]})}),(0,n.jsxs)(F,{children:[(0,n.jsxs)(K,{children:[(0,n.jsx)(en,{children:(0,n.jsx)(D,{children:(0,n.jsx)(et,{children:"WAYS TO EARN MEV Mana"})})}),(0,n.jsx)(el,{children:"INFO"})]}),(0,n.jsxs)(G,{children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${i.has_points?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/vote.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Own mevETH"})]})}),(0,n.jsx)(er,{style:{paddingTop:"10px"},children:"Hold mevETH in your address"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsx)(ed,{href:"/stake",children:"Deposit via mevRouter"})})})]}),(0,n.jsxs)(G,{style:{paddingTop:"10px",paddingBottom:"10px"},children:[(0,n.jsx)(ee,{style:{marginTop:"22px"},children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:"/svg/manauncheckedbox.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{style:{marginTop:"22px"},children:[(0,n.jsx)(f(),{src:"/svg/diversifyeth.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Diversify Ethereum"})]})}),(0,n.jsx)(er,{children:"Help diversify ETH staking by defending Ethereum's credible neutrality and censorship resistance. Deposit stETH and start earning MEV Mana today while we convert stETH to mevETH. Redemption and deposit process back to your wallet can take up to 14 days."}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsx)(ed,{style:{marginTop:"15px"},children:"coming soon"})})})]}),(0,n.jsxs)(G,{onClick:()=>{v(!x)},style:{cursor:"pointer"},children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${_?.invites&&_?.invites.filter(e=>e.redeemer_id).length>0?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/invite.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Invite others into your Guild"}),(0,n.jsx)(f(),{src:"/svg/up.svg",width:12,height:12,alt:"Mana",style:{marginRight:10,transform:x?"scale(-1)":"scale(1)"}})]})}),(0,n.jsx)(er,{children:"Refer others with your Guild invite code"}),(0,n.jsxs)(ea,{children:[(0,n.jsx)(D,{}),(0,n.jsxs)(ed,{style:{marginTop:"15px"},href:ev,target:"_blank",rel:"noreferrer",children:["Share your invites on \uD835\uDD4F",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})]})]}),(0,n.jsx)("div",{style:{display:x?"":"none"},children:_?.invites?.map(e=>n.jsxs(X,{children:[n.jsx(Q,{children:n.jsxs(D,{children:[n.jsx(f(),{src:"/svg/invitecircle.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),n.jsx(et,{style:{textDecoration:e.redeemer_id?"line-through":""},children:e.code})]})}),n.jsx(er,{children:"Refer others with your Guild invite code"}),n.jsx(ea,{children:n.jsx(D,{style:{paddingTop:"10px"},children:n.jsxs(ed,{onClick:()=>{e.redeemer_id||k(o.$P+"/mana/invites/"+e.code)},children:[e.redeemer_id?"Redeemed":"Copy Invite Code",n.jsx(f(),{src:"/svg/copy.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]},e.code))}),(0,n.jsxs)(G,{onClick:()=>{y(!u)},style:{cursor:"pointer"},children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${i.has_lp?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/liquiditypools.svg",width:85.333,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Contribute to mevETH liquidity Pools"}),(0,n.jsx)(f(),{src:"/svg/up.svg",width:12,height:12,alt:"Mana",style:{marginRight:10,scale:u?"-1":"1"}})]})}),(0,n.jsx)(er,{children:"Add to mevETH liquidity pools on Convex and Balancer"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsxs)(ed,{children:["coming soon...",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]}),(0,n.jsxs)("div",{style:{display:"none"},children:[(0,n.jsxs)(X,{children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:"/svg/manacheckedbox.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/mevethFraxpool.svg",width:85.333,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"LP - Curve mevETH / frxETH"})]})}),(0,n.jsx)(er,{children:"Add to Curve LP - link to blog post"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsxs)(ed,{href:"/meveth",children:["Deposit via stakerBPT etc..."," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana"})]})})})]}),(0,n.jsxs)(X,{children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:"/svg/manacheckedbox.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/mevethpool.svg",width:85.333,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"LP - Curve mevETH / WETH"})]})}),(0,n.jsx)(er,{children:"Add to Balancer LP - link to blog post"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsxs)(ed,{href:"/meveth",children:["Deposit via stakerBPT etc..."," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana"})]})})})]})]}),(0,n.jsxs)(G,{onClick:()=>{M(!C)},style:{cursor:"pointer"},children:[(0,n.jsx)(ee,{children:(0,n.jsx)(D,{children:(0,n.jsx)(f(),{src:`/svg/mana${i.has_votes?"":"un"}checkedbox.svg`,width:32,height:32,alt:"Mana",style:{marginRight:10}})})}),(0,n.jsx)(ei,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/vote.svg",width:32,height:32,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Vote for mevETH liquidity in pools"}),(0,n.jsx)(f(),{src:"/svg/up.svg",width:12,height:12,alt:"Mana",style:{marginRight:10,scale:C?"-1":"1"}})]})}),(0,n.jsx)(er,{children:"Vote for mevETH liquidity in Curve, Convex, Balancer, Aura, or Staked yETH pools"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{children:(0,n.jsx)(ed,{href:"/meveth",children:"Share links on Voting"})})})]}),(0,n.jsxs)("div",{style:{display:C?"":"none"},children:[(0,n.jsxs)(X,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/yearn.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Yearn"})]})}),(0,n.jsx)(er,{children:"Vote for mevETH on Yearn st-yETH pools"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://snapshot.org/#/ylsd.eth",children:["Vote on Yearn"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]}),(0,n.jsxs)(X,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/curve-mana.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Curve"})]})}),(0,n.jsx)(er,{children:"Vote for mevETH on Curve"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://curve.fi",children:["Vote on Curve"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]}),(0,n.jsxs)(X,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/convex.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Convex"})]})}),(0,n.jsx)(er,{children:"Vote for mevETH on Convex"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://convexfinance.com/",children:["Vote on Convex"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]}),(0,n.jsxs)(X,{children:[(0,n.jsx)(Q,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(f(),{src:"/svg/balancer-mana.svg",width:24,height:24,alt:"Mana",style:{marginRight:10}}),(0,n.jsx)(et,{children:"Balancer/Aurora"})]})}),(0,n.jsx)(er,{children:"Vote for mevETH on Balancer/Aurora"}),(0,n.jsx)(ea,{children:(0,n.jsx)(D,{style:{paddingTop:"10px"},children:(0,n.jsxs)(ed,{href:"https://balancer.fi/",children:["Vote on Balancer"," ",(0,n.jsx)(f(),{src:"/svg/right.svg",width:16,height:16,alt:"Mana",style:{marginLeft:10}})]})})})]})]})]})]}),(0,n.jsx)(t.Z,{})]})}):(0,n.jsx)(p.S,{children:(0,n.jsx)(a.SR,{initial:{transform:"scale(0.9)"},animate:{transform:"scale(1)"},exit:{transform:"scale(0.9)"},layout:!0,children:(0,n.jsx)(R,{children:(0,n.jsx)(l.Z,{text:"Connect",onClick:()=>{}})})})})}function P(){return(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(M,{}),(0,n.jsx)(_,{}),(0,n.jsx)(r.Z,{})]})}let R=C.ZP.div.withConfig({componentId:"sc-9b45782c-0"})`
  display: flex;
  flex-direction: row;
  align-items: flex-center;
  padding: 0px;
  gap: 24px;

  width: 1296px;
  height: 158px;
`,H=C.ZP.div.withConfig({componentId:"sc-9b45782c-1"})`
  display: flex;
  flex-direction: column;
  align-items: flex-center;
  padding: 4px;
  gap: 24px;

  width: 100%;
`,I=C.ZP.div.withConfig({componentId:"sc-9b45782c-2"})`
  display: flex;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
`,Z=C.ZP.div.withConfig({componentId:"sc-9b45782c-3"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 32px;
  gap: 16px;

  width: 636px;
  height: 158px;
  margin-right: 30px;

  background: rgba(79, 79, 79, 0.23);
  border: 1px solid rgba(79, 79, 79, 0.19);
  backdrop-filter: blur(6px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 10px;
`,V=C.ZP.div.withConfig({componentId:"sc-9b45782c-4"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  gap: 16px;

  width: 100%;

  background: rgba(79, 79, 79, 0.23);
  border: 1px solid rgba(79, 79, 79, 0.19);
  backdrop-filter: blur(6px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 10px;
`,S=C.ZP.div.withConfig({componentId:"sc-9b45782c-5"})`
  font-size: 48px;
  font-weight: 600;
`,L=C.ZP.div.withConfig({componentId:"sc-9b45782c-6"})`
  font-size: 24px;
  font-weight: 600;
`,A=C.ZP.div.withConfig({componentId:"sc-9b45782c-7"})`
  margin-top: 16px;
`,B=C.ZP.div.withConfig({componentId:"sc-9b45782c-8"})`
  font-size: 28px;
`,D=C.ZP.div.withConfig({componentId:"sc-9b45782c-9"})`
  display: flex;

  flex-direction: row;

  align-items: center;
`,z=C.ZP.h2.withConfig({componentId:"sc-9b45782c-10"})`
  font-size: 16px;
  font-weight: 500;
`,N=C.ZP.div.withConfig({componentId:"sc-9b45782c-11"})`
  font-size: 24px;
  font-weight: 600;
  margin-top: 10px;
`,$=C.ZP.div.withConfig({componentId:"sc-9b45782c-12"})`
  margin-top: -5px;
  font-weight: 500;
`,q=C.ZP.div.withConfig({componentId:"sc-9b45782c-13"})`
  font-size: 24px;
  font-weight: 600;
  margin-top: 10px;

  margin-left: 50px;
`,O=C.ZP.div.withConfig({componentId:"sc-9b45782c-14"})`
  margin-top: -5px;
  font-weight: 500;
  margin-left: 50px;
`,F=C.ZP.div.withConfig({componentId:"sc-9b45782c-15"})`
  display: flex;
  flex-direction: column;
  align-items: flex-center;
  padding: 0px;
  margin-top: 24px;
`,Y=C.ZP.div.withConfig({componentId:"sc-9b45782c-16"})`
  display: flex;
  flex-direction: column;
  align-items: flex-center;
  padding: 0px;
  margin-top: 24px;
  width: 100%;
`,G=C.ZP.div.withConfig({componentId:"sc-9b45782c-17"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 32px;
  gap: 16px;

  width: 1296px;
  min-height: 74px;
  margin-bottom: 15px;
  background: #12151c;
  border: 1px solid rgba(79, 79, 79, 0.19);
  backdrop-filter: blur(6px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 10px;
`,W=C.ZP.div.withConfig({componentId:"sc-9b45782c-18"})`
  display: flex;
  flex-direction: row;
  width: 100%;

  align-items: flex-start;
`,J=C.ZP.div.withConfig({componentId:"sc-9b45782c-19"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  gap: 16px;

  width: 100%;
  min-height: 74px;
  margin-bottom: 15px;
  background: #12151c;
  border: 1px solid rgba(79, 79, 79, 0.19);
  backdrop-filter: blur(6px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 10px;
`,U=C.ZP.div.withConfig({componentId:"sc-9b45782c-20"})`
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
`,X=C.ZP.div.withConfig({componentId:"sc-9b45782c-21"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px 12px 12px 12px;
  gap: 16px;

  width: 1236px;
  min-height: 54px;
  margin-bottom: 15px;
  margin-left: 50px;
  background: #12151c;
  border: 1px solid rgba(79, 79, 79, 0.19);
  backdrop-filter: blur(6px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 10px;
`;C.ZP.div.withConfig({componentId:"sc-9b45782c-22"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px 12px 12px 12px;
  gap: 16px;

  width: 50%;
  min-height: 54px;
  margin-bottom: 15px;
  margin-left: 50px;
`;let K=C.ZP.div.withConfig({componentId:"sc-9b45782c-23"})`
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 32px;
  gap: 16px;

  width: 1296px;
  min-height: 74px;
  /* Note: backdrop-filter has minimal browser support */
`,Q=C.ZP.div.withConfig({componentId:"sc-9b45782c-24"})`
  flex-basis: 31%;
`,ee=C.ZP.div.withConfig({componentId:"sc-9b45782c-25"})`
  flex-basis: 1%;
  height: 32px;
`,ei=C.ZP.div.withConfig({componentId:"sc-9b45782c-26"})`
  flex-basis: 30%;
`,es=C.ZP.div.withConfig({componentId:"sc-9b45782c-27"})`
  flex-basis: 99%;
`,en=C.ZP.div.withConfig({componentId:"sc-9b45782c-28"})`
  flex-basis: 31%;
  font-weight: 500;
  font-size: 14px;
`,et=C.ZP.h2.withConfig({componentId:"sc-9b45782c-29"})`
  font-weight: 600;
  font-size: 16px;
`,er=C.ZP.div.withConfig({componentId:"sc-9b45782c-30"})`
  flex-basis: 50%;
  font-size: 14px;
  padding: 0;
`,el=C.ZP.div.withConfig({componentId:"sc-9b45782c-31"})`
  flex-basis: 50%;
  padding: 0;
  font-weight: 500;
  font-size: 14px;
`,ea=C.ZP.div.withConfig({componentId:"sc-9b45782c-32"})`
  flex-basis: 30%;
`,eh=C.ZP.div.withConfig({componentId:"sc-9b45782c-33"})`
  flex-basis: 100%;
`,ed=C.ZP.a.withConfig({componentId:"sc-9b45782c-34"})`
  background: #ffffff;
  color: #000000;
  border-radius: 40px;
  height: 38px;
  padding: 20px 36px 20px 36px;
  justify-content: space-between;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  margin-top: -15px;

  box-shadow: 0px 4px 12px 4px rgba(255, 255, 255, 0.15);

  &:hover {
    transform: scale(1.05);
    box-shadow-color: rgba(255, 255, 255, 0.25);
  }
  transition: transform 0.2s ease-in-out;
`}},function(e){e.O(0,[5090,5675,3853,1292,6878,1438,1482,9774,2888,179],function(){return e(e.s=36907)}),_N_E=e.O()}]);
//# sourceMappingURL=mana-e4bc5907828ffd76.js.map