text: (this["webpackJsonppancake-frontend"]=this["webpackJsonppancake-frontend"]||[]).push([[21],{1169:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return At}));var c,i,r,a,b,s,o,j,l,d,u,x,p,O,m,h,g,f,v,k,y,w,F,S,z,Q,D,E,A,L,R,T,H,C,N,P,U,B,M,V,q,I,X,J,G,Y,K,W,Z,$,_,ee,ne,te,ce,ie,re,ae,be,se,oe,je,le,de,ue,xe,pe,Oe,me,he,ge,fe,ve,ke,ye,we,Fe,Se,ze,Qe,De,Ee,Ae,Le,Re,Te,He,Ce,Ne,Pe,Ue,Be,Me,Ve,qe,Ie,Xe,Je,Ge=t(28),Ye=t(0),Ke=t(11),We=t(5),Ze=t(24),$e=t(169),_e=t(2),en=(Ke.e.div(c||(c=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.img(i||(i=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(r||(r=Object(Ge.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(a||(a=Object(Ge.a)(["\n  margin-top: 24px;\n"]))),function(){var e=Object(Ze.b)().t,n=Object(Ke.e)(We.u)(b||(b=Object(Ge.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n"])));return Object(_e.jsx)(n,{children:Object(_e.jsx)(We.v,{children:Object(_e.jsx)(We.S,{scale:"xl",mb:"4px",children:e("Your EvoArmy:")})})})}),nn=t(3),tn=t.n(nn),cn=t(10),rn=t(21),an=t(17),bn=t(278),sn=t(897),on=(t(879),t(875)),jn=(t(18),t(33),t(37),t(16),t(277),t(12),function(){var e=Object(Ze.b)().t,n=Object(on.hb)(),t=Object(on.X)(),c=Object(on.pc)(),i=Object(on.nb)(),r=Object(on.rb)();function a(e,n){return e*n}var b=a(n,3),s=a(t,1),o=a(c,3),j=a(i,5),l=a(r,10),d=b+s+o+j+l;return Object(an.c)().account?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"25px",children:["  ",Object(_e.jsx)("img",{src:"/images/chickenwar/army.png",alt:""})," Total Army Power: ",d," "]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})}),ln=function(){var e=Object(Ze.b)().t,n=Object(on.X)();var t=n*1;return Object(an.c)().account?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"50px",children:[t," "]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},dn=function(){var e=Object(Ze.b)().t,n=Object(on.hb)();var t=n*1;return Object(an.c)().account?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"50px",children:[t," "]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},un=function(){var e=Object(Ze.b)().t,n=Object(on.pc)();var t=n*1;return Object(an.c)().account?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"50px",children:[t," "]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},xn=function(){var e=Object(Ze.b)().t,n=Object(on.nb)();var t=n*1;return Object(an.c)().account?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"50px",children:[t," "]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},pn=function(){var e=Object(Ze.b)().t,n=Object(on.rb)();var t=n*1;return Object(an.c)().account?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"50px",children:[t," "]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},On=function(){var e=Object(Ze.b)().t,n=Object(on.X)();var t=n*10,c=Object(an.c)().account,i=e("HP is the life of your army, the more HP you have, the more you will resist attacks."),r=Object(We.kc)(i,{placement:"bottom-end"}),a=r.targetRef,b=r.tooltip,s=r.tooltipVisible;return c?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.R,{ref:a,children:[Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"30px",children:[" ",Object(_e.jsx)("img",{src:"/images/chickenwar/hp.png",alt:""})," HP: ",t," "]}),s&&b,Object(_e.jsx)(We.T,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},mn=function(){var e=Object(Ze.b)().t,n=Object(on.hb)();var t=n*3,c=Object(an.c)().account,i=e("The amount of Attack of your army serves to reduce the life of your opponent.  "),r=Object(We.kc)(i,{placement:"bottom-end"}),a=r.targetRef,b=r.tooltip,s=r.tooltipVisible;return c?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.R,{ref:a,children:[Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"30px",children:["  ",Object(_e.jsx)("img",{src:"/images/chickenwar/attack.png",alt:""})," Attack: ",t," "]}),s&&b,Object(_e.jsx)(We.T,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},hn=function(){var e=Object(Ze.b)().t,n=Object(on.pc)();var t=n*3,c=Object(an.c)().account,i=e("Defense reduces the opponent s attack and protects your HP."),r=Object(We.kc)(i,{placement:"bottom-end"}),a=r.targetRef,b=r.tooltip,s=r.tooltipVisible;return c?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.R,{ref:a,children:[Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"30px",children:["  ",Object(_e.jsx)("img",{src:"/images/chickenwar/defense.png",alt:""})," Defense: ",t," "]}),s&&b,Object(_e.jsx)(We.T,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},gn=function(){var e=Object(Ze.b)().t,n=Object(on.nb)();var t=n*2,c=Object(an.c)().account,i=e("This attribute improves your statistics depending on the scenario where the army takes place (fire, water, air and stone)."),r=Object(We.kc)(i,{placement:"bottom-end"}),a=r.targetRef,b=r.tooltip,s=r.tooltipVisible;return c?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.R,{ref:a,children:[Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"30px",children:["  ",Object(_e.jsx)("img",{src:"/images/chickenwar/afinity.png",alt:""})," Elemental Afinity: ",t," "]}),s&&b,Object(_e.jsx)(We.T,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},fn=function(){var e=Object(Ze.b)().t,n=Object(on.rb)();var t=n*1,c=Object(an.c)().account,i=e("Luck increases the final reward you could win."),r=Object(We.kc)(i,{placement:"bottom-end"}),a=r.targetRef,b=r.tooltip,s=r.tooltipVisible;return c?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.R,{ref:a,children:[Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"30px",children:["  ",Object(_e.jsx)("img",{src:"/images/chickenwar/luck.png",alt:""})," Luck: ",t," "]}),s&&b,Object(_e.jsx)(We.T,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},vn=function(){var e=Object(Ze.b)().t,n=Object(on.rb)();var t=n*1,c=Object(an.c)().account,i=e("Reduces the opponent s defense giving the opportunity to inflict more damage."),r=Object(We.kc)(i,{placement:"bottom-end"}),a=r.targetRef,b=r.tooltip,s=r.tooltipVisible;return c?Object(_e.jsx)(_e.Fragment,{children:Object(_e.jsxs)(We.R,{ref:a,children:[Object(_e.jsxs)(We.Ob,{color:"textSubtle",fontSize:"30px",children:["  ",Object(_e.jsx)("img",{src:"/images/chickenwar/strategy.png",alt:""})," Strategy: ",t," "]}),s&&b,Object(_e.jsx)(We.T,{ml:"4px",width:"20px",height:"20px",color:"textSubtle"})]})}):Object(_e.jsx)(We.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},kn=Object(Ke.e)(We.u)(s||(s=Object(Ge.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),yn=Ke.e.div(o||(o=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),wn=(Ke.e.img(j||(j=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(l||(l=Object(Ge.a)(["\n  color: ",";\n  font-size: 34px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(d||(d=Object(Ge.a)(["\n  margin-top: 24px;\n"]))),function(){var e=Object(Ye.useState)(!1),n=Object(rn.a)(e,2),t=(n[0],n[1]),c=(Object(an.c)().account,Object(Ze.b)().t),i=Object(sn.a)().filter((function(e){return e.balance.toNumber()>0})),r=Object(Ye.useState)(!1),a=Object(rn.a)(r,2),b=(a[0],a[1],Object(bn.a)(i.map((function(e){return e.pid}))).onReward);Object(Ye.useCallback)(Object(cn.a)(tn.a.mark((function e(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t(!0),e.prev=1,e.next=4,b();case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:return e.prev=8,t(!1),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[1,6,8,11]])}))),[b]);return Object(_e.jsx)(kn,{children:Object(_e.jsxs)(We.v,{children:[Object(_e.jsx)(We.S,{scale:"xl",mb:"24px",children:c("")}),Object(_e.jsxs)(yn,{children:[Object(_e.jsx)(On,{}),Object(_e.jsx)(mn,{}),Object(_e.jsx)(hn,{}),Object(_e.jsx)(gn,{}),Object(_e.jsx)(fn,{}),Object(_e.jsx)(vn,{})]})]})})}),Fn=t(874),Sn=t(877),zn=t(878),Qn=t(876),Dn=Ke.e.div(u||(u=Object(Ge.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 56px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),En=Ke.e.div(x||(x=Object(Ge.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),An=Ke.e.div(p||(p=Object(Ge.a)(["\n  flex: 1;\n"]))),Ln=Ke.e.img(O||(O=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),Rn=Ke.e.img(m||(m=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),Tn=Object(Ke.e)(We.S).attrs({as:"h3"})(h||(h=Object(Ge.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Hn=Ke.e.div(g||(g=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Ln,(function(e){return e.theme.mediaQueries.md})),Cn=Ke.e.div(f||(f=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 100px;\n    width: 100px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Rn,(function(e){return e.theme.mediaQueries.md})),Nn=Ke.e.div(v||(v=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 64px;\n      width: 64px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Ln),Pn=(Ke.e.div(k||(k=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Rn),Object(Ke.e)(We.u)(y||(y=Object(Ge.a)(["\n  display: flex;\n  margin-bottom: 16px;\n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Un=(Object(Ke.e)(We.u)(w||(w=Object(Ge.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),Ke.e.img(F||(F=Object(Ge.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),Ke.e.div(S||(S=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.img(z||(z=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(Q||(Q=Object(Ge.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(D||(D=Object(Ge.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(an.c)().account;var e=Object(Ye.useState)(!1),n=Object(rn.a)(e,2),t=(n[0],n[1]),c=(Object(Ze.b)().t,Object(on.j)(),Object(We.ic)(Object(_e.jsx)(Qn.a,{}))),i=Object(rn.a)(c,1)[0],r=Object(Sn.b)(),a=(r.claimAmount,r.setLastUpdated),b=Object(Fn.Bb)().onMultiClaim,s=(Object(Fn.n)(),Object(zn.g)(i)),o=(s.handleApprove,s.requestedApproval,Object(_e.jsx)(Ln,{src:"/images/chickenwar/attackres.png",alt:"team avatar"})),j=Object(_e.jsx)(Rn,{src:"/images/chickenwar/evolutivecards.gif",alt:"team avatar"});Object(Ye.useCallback)(Object(cn.a)(tn.a.mark((function e(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(!0),e.next=4,b();case 4:e.sent&&(t(!1),a()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[b,t,a]);return Object(_e.jsxs)(Pn,{children:[Object(_e.jsx)(Nn,{children:j}),Object(_e.jsxs)(En,{children:[Object(_e.jsxs)(An,{children:[Object(_e.jsxs)(We.R,{alignItems:"center",mb:"16px",children:[Object(_e.jsx)(Cn,{children:j}),Object(_e.jsx)(Tn,{children:"Evolutive NFT"})]}),Object(_e.jsx)(We.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Purchase this NFT and up Attack of your EvoArmy."})]}),Object(_e.jsx)(Nn,{children:o}),Object(_e.jsx)(Hn,{children:o}),Object(_e.jsx)(Dn,{children:Object(_e.jsx)(We.Ob,{bold:!0,fontSize:"50px",children:Object(_e.jsx)(dn,{})})})]})]})}),Bn=Ke.e.div(E||(E=Object(Ge.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 56px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),Mn=Ke.e.div(A||(A=Object(Ge.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Vn=Ke.e.div(L||(L=Object(Ge.a)(["\n  flex: 1;\n"]))),qn=Ke.e.img(R||(R=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),In=Ke.e.img(T||(T=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),Xn=Object(Ke.e)(We.S).attrs({as:"h3"})(H||(H=Object(Ge.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Jn=Ke.e.div(C||(C=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),qn,(function(e){return e.theme.mediaQueries.md})),Gn=Ke.e.div(N||(N=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 100px;\n    width: 100px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),In,(function(e){return e.theme.mediaQueries.md})),Yn=Ke.e.div(P||(P=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 64px;\n      width: 64px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),qn),Kn=(Ke.e.div(U||(U=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),In),Object(Ke.e)(We.u)(B||(B=Object(Ge.a)(["\n  display: flex;\n  margin-bottom: 16px;\n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Wn=(Object(Ke.e)(We.u)(M||(M=Object(Ge.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),Ke.e.img(V||(V=Object(Ge.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),Ke.e.div(q||(q=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.img(I||(I=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(X||(X=Object(Ge.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(J||(J=Object(Ge.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(an.c)().account;var e=Object(Ye.useState)(!1),n=Object(rn.a)(e,2),t=(n[0],n[1]),c=(Object(Ze.b)().t,Object(on.j)(),Object(We.ic)(Object(_e.jsx)(Qn.a,{}))),i=Object(rn.a)(c,1)[0],r=Object(Sn.b)(),a=(r.claimAmount,r.setLastUpdated),b=Object(Fn.Bb)().onMultiClaim,s=(Object(Fn.n)(),Object(zn.g)(i)),o=(s.handleApprove,s.requestedApproval,Object(_e.jsx)(qn,{src:"/images/chickenwar/defenseres.png",alt:"team avatar"})),j=Object(_e.jsx)(In,{src:"/images/chickenwar/mineralcards.gif",alt:"team avatar"});Object(Ye.useCallback)(Object(cn.a)(tn.a.mark((function e(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(!0),e.next=4,b();case 4:e.sent&&(t(!1),a()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[b,t,a]);return Object(_e.jsxs)(Kn,{children:[Object(_e.jsx)(Yn,{children:j}),Object(_e.jsxs)(Mn,{children:[Object(_e.jsxs)(Vn,{children:[Object(_e.jsxs)(We.R,{alignItems:"center",mb:"16px",children:[Object(_e.jsx)(Gn,{children:j}),Object(_e.jsx)(Xn,{children:"Mineral NFT"})]}),Object(_e.jsx)(We.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Purchase this NFT and up Defense of your EvoArmy."})]}),Object(_e.jsx)(Yn,{children:o}),Object(_e.jsx)(Jn,{children:o}),Object(_e.jsx)(Bn,{children:Object(_e.jsx)(We.Ob,{bold:!0,fontSize:"50px",children:Object(_e.jsx)(un,{})})})]})]})}),Zn=Ke.e.div(G||(G=Object(Ge.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 56px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),$n=Ke.e.div(Y||(Y=Object(Ge.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),_n=Ke.e.div(K||(K=Object(Ge.a)(["\n  flex: 1;\n"]))),et=Ke.e.img(W||(W=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),nt=Ke.e.img(Z||(Z=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),tt=Object(Ke.e)(We.S).attrs({as:"h3"})($||($=Object(Ge.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),ct=Ke.e.div(_||(_=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),et,(function(e){return e.theme.mediaQueries.md})),it=Ke.e.div(ee||(ee=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 100px;\n    width: 100px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),nt,(function(e){return e.theme.mediaQueries.md})),rt=Ke.e.div(ne||(ne=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 64px;\n      width: 64px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),et),at=(Ke.e.div(te||(te=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),nt),Object(Ke.e)(We.u)(ce||(ce=Object(Ge.a)(["\n  display: flex;\n  margin-bottom: 16px;\n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),bt=(Object(Ke.e)(We.u)(ie||(ie=Object(Ge.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),Ke.e.img(re||(re=Object(Ge.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),Ke.e.div(ae||(ae=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.img(be||(be=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(se||(se=Object(Ge.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(oe||(oe=Object(Ge.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(an.c)().account;var e=Object(Ye.useState)(!1),n=Object(rn.a)(e,2),t=(n[0],n[1]),c=(Object(Ze.b)().t,Object(on.j)(),Object(We.ic)(Object(_e.jsx)(Qn.a,{}))),i=Object(rn.a)(c,1)[0],r=Object(Sn.b)(),a=(r.claimAmount,r.setLastUpdated),b=Object(Fn.Bb)().onMultiClaim,s=(Object(Fn.n)(),Object(zn.g)(i)),o=(s.handleApprove,s.requestedApproval,Object(_e.jsx)(et,{src:"/images/chickenwar/hpres.png",alt:"team avatar"})),j=Object(_e.jsx)(nt,{src:"/images/chickenwar/Essenciales1.gif",alt:"team avatar"});Object(Ye.useCallback)(Object(cn.a)(tn.a.mark((function e(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(!0),e.next=4,b();case 4:e.sent&&(t(!1),a()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[b,t,a]);return Object(_e.jsxs)(at,{children:[Object(_e.jsx)(rt,{children:j}),Object(_e.jsxs)($n,{children:[Object(_e.jsxs)(_n,{children:[Object(_e.jsxs)(We.R,{alignItems:"center",mb:"16px",children:[Object(_e.jsx)(it,{children:j}),Object(_e.jsx)(tt,{children:"Essential NFT"})]}),Object(_e.jsx)(We.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Purchase this NFT and up HP of your EvoArmy."})]}),Object(_e.jsx)(rt,{children:o}),Object(_e.jsx)(ct,{children:o}),Object(_e.jsx)(Zn,{children:Object(_e.jsx)(We.Ob,{bold:!0,fontSize:"50px",children:Object(_e.jsx)(ln,{})})})]})]})}),st=Ke.e.div(je||(je=Object(Ge.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 56px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),ot=Ke.e.div(le||(le=Object(Ge.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),jt=Ke.e.div(de||(de=Object(Ge.a)(["\n  flex: 1;\n"]))),lt=Ke.e.img(ue||(ue=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),dt=Ke.e.img(xe||(xe=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),ut=Object(Ke.e)(We.S).attrs({as:"h3"})(pe||(pe=Object(Ge.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),xt=Ke.e.div(Oe||(Oe=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),lt,(function(e){return e.theme.mediaQueries.md})),pt=Ke.e.div(me||(me=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 100px;\n    width: 100px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),dt,(function(e){return e.theme.mediaQueries.md})),Ot=Ke.e.div(he||(he=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 64px;\n      width: 64px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),lt),mt=(Ke.e.div(ge||(ge=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),dt),Object(Ke.e)(We.u)(fe||(fe=Object(Ge.a)(["\n  display: flex;\n  margin-bottom: 16px;\n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),ht=(Object(Ke.e)(We.u)(ve||(ve=Object(Ge.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),Ke.e.img(ke||(ke=Object(Ge.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),Ke.e.div(ye||(ye=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.img(we||(we=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(Fe||(Fe=Object(Ge.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(Se||(Se=Object(Ge.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(an.c)().account;var e=Object(Ye.useState)(!1),n=Object(rn.a)(e,2),t=(n[0],n[1]),c=(Object(Ze.b)().t,Object(on.j)(),Object(We.ic)(Object(_e.jsx)(Qn.a,{}))),i=Object(rn.a)(c,1)[0],r=Object(Sn.b)(),a=(r.claimAmount,r.setLastUpdated),b=Object(Fn.Bb)().onMultiClaim,s=(Object(Fn.n)(),Object(zn.g)(i)),o=(s.handleApprove,s.requestedApproval,Object(_e.jsx)(lt,{src:"/images/chickenwar/afinityres.png",alt:"team avatar"})),j=Object(_e.jsx)(dt,{src:"/images/chickenwar/fusioncards.gif",alt:"team avatar"});Object(Ye.useCallback)(Object(cn.a)(tn.a.mark((function e(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(!0),e.next=4,b();case 4:e.sent&&(t(!1),a()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[b,t,a]);return Object(_e.jsxs)(mt,{children:[Object(_e.jsx)(Ot,{children:j}),Object(_e.jsxs)(ot,{children:[Object(_e.jsxs)(jt,{children:[Object(_e.jsxs)(We.R,{alignItems:"center",mb:"16px",children:[Object(_e.jsx)(pt,{children:j}),Object(_e.jsx)(ut,{children:"Fusion NFT"})]}),Object(_e.jsx)(We.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Purchase this NFT and up Elemental Afinity of your EvoArmy."})]}),Object(_e.jsx)(Ot,{children:o}),Object(_e.jsx)(xt,{children:o}),Object(_e.jsx)(st,{children:Object(_e.jsx)(We.Ob,{bold:!0,fontSize:"50px",children:Object(_e.jsx)(xn,{})})})]})]})}),gt=Ke.e.div(ze||(ze=Object(Ge.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 56px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),ft=Ke.e.div(Qe||(Qe=Object(Ge.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),vt=Ke.e.div(De||(De=Object(Ge.a)(["\n  flex: 1;\n"]))),kt=Ke.e.img(Ee||(Ee=Object(Ge.a)(["\n  border-radius: 50%;\n"]))),yt=Ke.e.img(Ae||(Ae=Object(Ge.a)(["\n  border-radius: 10%;\n"]))),wt=Object(Ke.e)(We.S).attrs({as:"h3"})(Le||(Le=Object(Ge.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Ft=Ke.e.div(Re||(Re=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 64px;\n    width: 64px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),kt,(function(e){return e.theme.mediaQueries.md})),St=Ke.e.div(Te||(Te=Object(Ge.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 100px;\n    width: 100px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),yt,(function(e){return e.theme.mediaQueries.md})),zt=Ke.e.div(He||(He=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 64px;\n      width: 64px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),kt),Qt=(Ke.e.div(Ce||(Ce=Object(Ge.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 128px;\n      width: 128px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),yt),Object(Ke.e)(We.u)(Ne||(Ne=Object(Ge.a)(["\n  display: flex;\n  margin-bottom: 16px;\n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Dt=(Object(Ke.e)(We.u)(Pe||(Pe=Object(Ge.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),Ke.e.img(Ue||(Ue=Object(Ge.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),Ke.e.div(Be||(Be=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.img(Me||(Me=Object(Ge.a)(["\n  margin-bottom: 16px;\n"]))),Ke.e.div(Ve||(Ve=Object(Ge.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),Ke.e.div(qe||(qe=Object(Ge.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(an.c)().account;var e=Object(Ye.useState)(!1),n=Object(rn.a)(e,2),t=(n[0],n[1]),c=(Object(Ze.b)().t,Object(on.j)(),Object(We.ic)(Object(_e.jsx)(Qn.a,{}))),i=Object(rn.a)(c,1)[0],r=Object(Sn.b)(),a=(r.claimAmount,r.setLastUpdated),b=Object(Fn.Bb)().onMultiClaim,s=(Object(Fn.n)(),Object(zn.g)(i)),o=(s.handleApprove,s.requestedApproval,Object(_e.jsx)(kt,{src:"/images/chickenwar/luckres.png",alt:"team avatar"})),j=Object(_e.jsx)(kt,{src:"/images/chickenwar/strategyres.png",alt:"team avatar"}),l=Object(_e.jsx)(yt,{src:"/images/chickenwar/gemscard.gif",alt:"team avatar"});Object(Ye.useCallback)(Object(cn.a)(tn.a.mark((function e(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(!0),e.next=4,b();case 4:e.sent&&(t(!1),a()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[b,t,a]);return Object(_e.jsxs)(Qt,{children:[Object(_e.jsx)(zt,{children:l}),Object(_e.jsxs)(ft,{children:[Object(_e.jsxs)(vt,{children:[Object(_e.jsxs)(We.R,{alignItems:"center",mb:"16px",children:[Object(_e.jsx)(St,{children:l}),Object(_e.jsx)(wt,{children:"Gems NFT"})]}),Object(_e.jsx)(We.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Purchase this NFT and up Luck/Strategy of your EvoArmy."})]}),Object(_e.jsx)(zt,{children:o}),Object(_e.jsx)(zt,{children:j}),Object(_e.jsx)(Ft,{children:o}),Object(_e.jsx)(Ft,{children:j}),Object(_e.jsx)(gt,{children:Object(_e.jsx)(We.Ob,{bold:!0,fontSize:"50px",children:Object(_e.jsx)(pn,{})})})]})]})}),Et=(Ke.e.div(Ie||(Ie=Object(Ge.a)(["\n  align-items: center;\n  background-image: url('/images/machinesanders.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  background-position: top center;\n  display: flex;\n  justify-content: center;\n  flex-direction: column;\n  margin: auto;\n  margin-bottom: 10px;\n  padding-top: 116px;\n  text-align: center;\n\n  "," {\n    background-image: url('/images/machinesanders.gif');\n    background-position: Left;\n    background-size: contain;\n    height: 380px;\n    padding-top: 0;\n    \n  }\n"])),(function(e){return e.theme.mediaQueries.lg})),Object(Ke.e)(We.i)(Xe||(Xe=Object(Ge.a)(["\n  align-items: stretch;\n  justify-content: stretch;\n  margin-bottom: 24px;\n  grid-gap: 24px;\n\n  & > div {\n    grid-column: span 6;\n    width: 100%;\n  }\n\n  "," {\n    & > div {\n      grid-column: span 8;\n    }\n  }\n\n  "," {\n    margin-bottom: 32px;\n    grid-gap: 32px;\n\n    & > div {\n      grid-column: span 6;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.sm}),(function(e){return e.theme.mediaQueries.lg}))),At=(Object(Ke.e)(We.i)(Je||(Je=Object(Ge.a)(["\n  align-items: start;\n  margin-bottom: 24px;\n  grid-gap: 24px;\n\n  & > div {\n    grid-column: span 6;\n  }\n\n  "," {\n    & > div {\n      grid-column: span 8;\n    }\n  }\n\n  "," {\n    margin-bottom: 32px;\n    grid-gap: 32px;\n\n    & > div {\n      grid-column: span 4;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.sm}),(function(e){return e.theme.mediaQueries.lg})),function(){Object(Ze.b)().t;return Object(_e.jsxs)($e.a,{children:[Object(_e.jsx)(jn,{}),Object(_e.jsx)("div",{children:Object(_e.jsxs)(Et,{children:[Object(_e.jsx)(en,{}),Object(_e.jsx)(wn,{})]})}),Object(_e.jsxs)("div",{children:[Object(_e.jsx)(bt,{}),Object(_e.jsx)(Un,{}),Object(_e.jsx)(Wn,{}),Object(_e.jsx)(ht,{}),Object(_e.jsx)(Dt,{})]})]})})},879:function(e,n,t){"use strict";t.d(n,"b",(function(){return O})),t.d(n,"a",(function(){return m}));var c=t(3),i=t.n(c),r=t(10),a=t(21),b=t(0),s=t(16),o=t.n(s),j=t(17),l=t(22),d=t(34),u=t(30),x=t(143),p=t(275),O=function(e){var n=Object(b.useState)(d.c),t=Object(a.a)(n,2),c=t[0],s=t[1],p=Object(j.c)().account,O=Object(u.a)(),m=Object(x.a)().fastRefresh;return Object(b.useEffect)((function(){p&&function(){var n=Object(r.a)(i.a.mark((function n(){var t,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Object(l.a)(e,O),n.next=3,t.methods.balanceOf(p).call();case 3:c=n.sent,s(new o.a(c));case 5:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[p,e,O,m]),c},m=function(){var e=Object(b.useState)(d.c),n=Object(a.a)(e,2),t=n[0],c=n[1],s=Object(j.c)().account,l=Object(p.a)(),x=l.lastUpdated,O=l.setLastUpdated,m=Object(u.a)();return Object(b.useEffect)((function(){s&&function(){var e=Object(r.a)(i.a.mark((function e(){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.eth.getBalance(s);case 2:n=e.sent,c(new o.a(n));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[s,m,x,c]),{balance:t,refresh:O}}},897:function(e,n,t){"use strict";var c=t(3),i=t.n(c),r=t(12),a=t(10),b=t(21),s=t(0),o=t(16),j=t.n(o),l=t(17),d=t(60),u=t(18),x=t(101),p=t(147),O=t(143);n.a=function(){var e=Object(s.useState)([]),n=Object(b.a)(e,2),t=n[0],c=n[1],o=Object(l.c)().account,m=Object(O.a)().fastRefresh;return Object(s.useEffect)((function(){o&&function(){var e=Object(a.a)(i.a.mark((function e(){var n,t,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.a.map((function(e){return{address:Object(u.db)(),name:"pendingCake",params:[e.pid,o]}})),e.next=3,Object(d.a)(x,n);case 3:t=e.sent,a=p.a.map((function(e,n){return Object(r.a)(Object(r.a)({},e),{},{balance:new j.a(t[n])})})),c(a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[o,m]),t}}}]);
  //# sourceMappingURL=21.824bd610.chunk.js.map