(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6456],{64470:function(e,r,a){"use strict";a.d(r,{d:function(){return t},x:function(){return n}});var o=a(24020),l=a(32607);let n="Competition Pages",t={[o.Z.SUMMARY]:l.ZV.SUMMARY,[o.Z.NEWS]:l.ZV.NEWS,[o.Z.STANDINGS]:l.ZV.STANDINGS,[o.Z.TEAM_STATS]:l.ZV.TEAM_STATS,[o.Z.MATCHES]:l.ZV.MATCHES,[o.Z.PLAYER_STATS]:l.ZV.PLAYER_STATS,[o.Z.TOP_PLAYERS]:l.ZV.TOP_PLAYERS}},36700:function(e,r,a){"use strict";a.d(r,{GE:function(){return b},Gf:function(){return s},IP:function(){return n},IS:function(){return c},Ve:function(){return g},X0:function(){return i},_s:function(){return _},b0:function(){return d},zd:function(){return t}});var o=a(84462),l=a(8872);let n="2023-12-19T13:00:00.000Z",t="2023-12-11T09:00:00.000Z",i=50,s=600,_="Goal 50 fan vote",b=.2,d={calendar:"gregory",day:"2-digit",month:"long",year:"numeric",numberingSystem:"latn"},c=[{country:o.c.Argentina,editions:[l.c.SpanishArgentina,l.c.Spanish]},{country:o.c.Germany,editions:[l.c.German]},{country:o.c.Japan,editions:[l.c.Japanese]},{country:o.c.Nigeria,editions:[l.c.EnglishNigeria,l.c.English]},{country:o.c.SouthAfrica,editions:[l.c.EnglishSouthAfrica,l.c.English]},{country:o.c.UnitedKingdom,editions:[l.c.EnglishGreatBritain,l.c.English]},{country:o.c.UnitedStates,editions:[l.c.EnglishUnitedStates,l.c.English]}],g={MEN:"goal-50-man-2023",WOMEN:"goal-50-woman-2023"}},65294:function(e,r,a){"use strict";var o=a(74817),l=a(67621),n=a(51235),t=a(27644),i=a(36700),s=a(38386),_=a(94648),b=a.n(_);r.Z=()=>{let e=(0,s.Z)(({votingData:e})=>e?.isDrawEnabled,t.X),{t:r}=(0,l.Z)(),{formattedDate:a}=(0,n.e)(i.zd,{dateFormat:i.b0});return e?(0,o.jsx)("p",{className:b().disclaimer,children:r("page.goal50.2023.welcomeScreen.drawDeadline",{param1:a})}):null}},19832:function(e,r,a){"use strict";a.d(r,{Z:function(){return _2023}});var o=a(74817),l=a(51808),n=a(54907),t=a.n(n),i=a(88744),s=a(98821),_=a.n(s),b=a(71248),d=a(83417),c=a(49396),g=a(58641),u=a(76285),m=a(27644),w=a(36700),p=a(69443),h=a(38386),x=a(68135);let useScreenComponent=e=>{let{serverDate:r}=(0,p.B)(),[a,o]=(0,h.Z)(({computed:{details:e},isOnboardingPassed:r})=>[e,r],m.X),l=a?.endDate,[n,t]=(0,b.useState)((0,x.Tc)({isDemo:e.isDemo,endDate:l,serverDate:r,isOnboardingPassed:o}));return(0,b.useEffect)(()=>{t((0,x.Tc)({isDemo:e.isDemo,endDate:l,serverDate:r,isOnboardingPassed:o}))},[e.isDemo,l,r,o]),n};var f=a(30164),j=a.n(f),y=a(21362),v=a(22293);let S=_()(()=>Promise.all([a.e(6450),a.e(4367),a.e(8158),a.e(8575),a.e(7988),a.e(5703),a.e(6596),a.e(3730),a.e(47),a.e(2275),a.e(3673),a.e(6743),a.e(709),a.e(9008),a.e(5014),a.e(3404),a.e(9903),a.e(9159),a.e(6423),a.e(9372),a.e(2973),a.e(592),a.e(7189),a.e(586),a.e(8763),a.e(848),a.e(1479),a.e(1882),a.e(4101),a.e(7950),a.e(327),a.e(4911),a.e(6198),a.e(1717),a.e(5407),a.e(5869),a.e(1005),a.e(5936),a.e(5632),a.e(7654),a.e(2423),a.e(2751),a.e(2049),a.e(593),a.e(4092),a.e(9689),a.e(1944),a.e(6935),a.e(7546),a.e(2741),a.e(4592),a.e(8462),a.e(8885),a.e(3934),a.e(7098),a.e(258),a.e(1461),a.e(8127),a.e(9651),a.e(5639),a.e(6456),a.e(1141),a.e(893),a.e(9931),a.e(2277),a.e(9115),a.e(5255),a.e(8771),a.e(3662),a.e(8844),a.e(379),a.e(822),a.e(9185),a.e(9077),a.e(496),a.e(787),a.e(716),a.e(9321),a.e(6689),a.e(9213),a.e(2585),a.e(6384),a.e(6511),a.e(3395),a.e(614),a.e(6330),a.e(631),a.e(6050),a.e(2336),a.e(3781),a.e(3308),a.e(1859),a.e(4247),a.e(2916),a.e(1443),a.e(4307),a.e(9849),a.e(2851),a.e(1114),a.e(5),a.e(8587)]).then(a.bind(a,30876)),{loadableGenerated:{webpack:()=>[30876]},ssr:!1}),Z=_()(()=>Promise.all([a.e(6450),a.e(4367),a.e(8158),a.e(8575),a.e(7988),a.e(5703),a.e(6596),a.e(3730),a.e(47),a.e(2275),a.e(3673),a.e(6743),a.e(709),a.e(9008),a.e(5014),a.e(3404),a.e(9903),a.e(9159),a.e(6423),a.e(9372),a.e(2973),a.e(592),a.e(7189),a.e(586),a.e(8763),a.e(848),a.e(1479),a.e(1882),a.e(4101),a.e(7950),a.e(327),a.e(4911),a.e(6198),a.e(1717),a.e(5407),a.e(5869),a.e(1005),a.e(5936),a.e(5632),a.e(7654),a.e(2423),a.e(2751),a.e(2049),a.e(593),a.e(4092),a.e(9689),a.e(1944),a.e(6935),a.e(7546),a.e(2741),a.e(4592),a.e(8462),a.e(8885),a.e(3934),a.e(7098),a.e(258),a.e(1461),a.e(8127),a.e(9651),a.e(5639),a.e(6456),a.e(1141),a.e(893),a.e(9931),a.e(2277),a.e(9115),a.e(5255),a.e(8771),a.e(3662),a.e(8844),a.e(379),a.e(822),a.e(9185),a.e(9077),a.e(496),a.e(787),a.e(716),a.e(9321),a.e(6689),a.e(9213),a.e(2585),a.e(6384),a.e(6511),a.e(3395),a.e(614),a.e(6330),a.e(631),a.e(6050),a.e(2336),a.e(3781),a.e(3308),a.e(1859),a.e(4247),a.e(2916),a.e(1443),a.e(4307),a.e(9849),a.e(2851),a.e(1114),a.e(1127),a.e(7842),a.e(4653)]).then(a.bind(a,94653)),{loadableGenerated:{webpack:()=>[94653]},ssr:!1}),N=_()(()=>Promise.all([a.e(6450),a.e(4367),a.e(8158),a.e(8575),a.e(7988),a.e(5703),a.e(6596),a.e(3730),a.e(47),a.e(2275),a.e(3673),a.e(6743),a.e(709),a.e(9008),a.e(5014),a.e(3404),a.e(9903),a.e(9159),a.e(6423),a.e(9372),a.e(2973),a.e(592),a.e(7189),a.e(586),a.e(8763),a.e(848),a.e(1479),a.e(1882),a.e(4101),a.e(7950),a.e(327),a.e(4911),a.e(6198),a.e(1717),a.e(5407),a.e(5869),a.e(1005),a.e(5936),a.e(5632),a.e(7654),a.e(2423),a.e(2751),a.e(2049),a.e(593),a.e(4092),a.e(9689),a.e(1944),a.e(6935),a.e(7546),a.e(2741),a.e(4592),a.e(8462),a.e(8885),a.e(3934),a.e(7098),a.e(258),a.e(1461),a.e(8127),a.e(9651),a.e(5639),a.e(6456),a.e(1141),a.e(893),a.e(9931),a.e(2277),a.e(9115),a.e(5255),a.e(8771),a.e(3662),a.e(8844),a.e(379),a.e(822),a.e(9185),a.e(9077),a.e(496),a.e(787),a.e(716),a.e(9321),a.e(6689),a.e(9213),a.e(2585),a.e(6384),a.e(6511),a.e(3395),a.e(614),a.e(6330),a.e(631),a.e(6050),a.e(2336),a.e(3781),a.e(3308),a.e(1859),a.e(4247),a.e(2916),a.e(1443),a.e(4307),a.e(9849),a.e(2851),a.e(1114),a.e(8857)]).then(a.bind(a,78857)),{loadableGenerated:{webpack:()=>[78857]},ssr:!1});var _2023=({content:e,topNavigation:r,votingData:a,page:n})=>{let[s,_,p,x,f,k]=(0,h.Z)(({setPlayersAndDetails:e,setVotingData:r,setNews:a,loadPairs:o,votingData:l,setResults:n})=>[e,r,a,o,l?.isMobileApp,n],m.X),A=useScreenComponent(a);return(0,b.useEffect)(()=>{s(e.voting),_(a),p(e.news),k(e.results),x()},[]),(0,o.jsx)(l.C1,{steps:[],showDots:!1,showBadge:!1,highlightedMaskClassName:j()["highlighted-mask"],maskClassName:j().mask,className:j().popover,ContentComponent:d.Z,children:(0,o.jsx)(u.Z,{...n,disabledAds:!0,children:(0,o.jsxs)("div",{className:t()(j().page,{[j()["mobile-app"]]:a.isMobileApp}),children:[!a.isMobileApp&&r&&(0,o.jsx)("header",{className:j().header,children:(0,o.jsx)(c.Z,{...r})}),(0,o.jsx)(i.M,{children:A&&(e=>{switch(e){case"Onboarding":case"Voting":return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Z,{},"onboarding"),(0,o.jsx)(S,{},"voting")]});case"Voting closed":return(0,o.jsx)(N,{})}})(A)}),!f&&(0,o.jsx)(g.Z,{heightValue:w.Gf,children:(0,o.jsx)(v.Z,{})}),(0,o.jsx)(y.Z,{})]})})})}},29732:function(e,r,a){"use strict";a.d(r,{aU:function(){return ea},sC:function(){return er},Hz:function(){return eo}});var o=a(74817),l=a(54907),n=a.n(l),t=a(89122),i=a(67621),s=a(36700),_=a(65294),b=a(21246),d=a(72564),c=a(27644),g=a(38386),u=a(12189),m=a.n(u),content_button=({onClick:e,text:r,filled:a=!1,type:l})=>(0,o.jsx)("button",{type:l??"button",onClick:e,className:n()(m().button,{[m().filled]:a},"button"),children:r}),w=a(1756),p=a(11931),h=a.n(p),heading=({title:e,showCloseButton:r,onClose:a})=>{let l=(0,g.Z)(({setIsModalOpened:e})=>e,c.X);return(0,o.jsxs)("div",{className:n()(h().heading,{[h()["with-close-button"]]:r}),children:[(0,o.jsx)("p",{className:h().title,children:e}),r&&(0,o.jsx)("button",{className:h()["close-button"],onClick:()=>{a?.(),l(!1)},children:(0,o.jsx)(w.Z,{glyph:"close"})})]})},x=a(62909),f=a.n(x),j=a(68135),y=a(37451),v=a.n(y),S=a(73674),Z=a(50748),N=a.n(Z),k=a(71260),A=a(69443),E=a(19868),G=a(53493),z=a(47677),T=a.n(z),form_checkbox=({name:e,label:r,required:a=!0})=>{let{t:l}=(0,i.Z)(),{register:t,formState:{errors:s}}=(0,k.Gc)();return(0,o.jsxs)("label",{className:T().checkbox,children:[!!s[e]&&(0,o.jsx)(w.Z,{glyph:"error"}),(0,o.jsx)("input",{className:n()(T().control,{[T().invalid]:!!s[e]}),type:"checkbox",...t(e,{required:a})}),(0,o.jsx)("p",{className:T().label,children:r??l(`page.goal50.2023.votingScreen.prompt.${e}`)})]})},D=a(8872);let O=[D.c.English,D.c.EnglishUnitedStates,D.c.EnglishNigeria,D.c.EnglishSouthAfrica,D.c.EnglishGreatBritain];var q=a(68675),X=a.n(q),country_select=()=>{let{t:e}=(0,i.Z)(),{edition:r}=(0,A.B)(),{register:a,formState:{errors:l},watch:t}=(0,k.Gc)(),_=new Intl.DisplayNames([r===D.c.Japanese?"ja":r],{type:"region"}),b=t("country");return(0,o.jsxs)("div",{className:X()["country-select"],children:[(0,o.jsxs)("select",{...a("country",{required:!0}),className:X().input,tabIndex:0,children:[(0,o.jsx)("option",{value:"",disabled:!0,selected:!0,hidden:!0,children:e("page.goal50.2023.votingScreen.prompt.countryOfResidence")}),s.IS.map(({country:e})=>(0,o.jsx)("option",{value:e,children:_.of(e)},e))]}),(0,o.jsxs)("div",{className:n()(X()["display-box"],{[X().invalid]:!!l.country}),children:[b?_.of(b):e("page.goal50.2023.votingScreen.prompt.countryOfResidence"),(0,o.jsx)(w.Z,{glyph:"error"})]}),l.country?.message&&(0,o.jsxs)("p",{className:X()["error-message"],children:[(0,o.jsx)(w.Z,{glyph:"error"}),l.country?.message]})]})},C=a(60307),M=a.n(C),P=a(51235);let U={calendar:"gregory",day:"numeric",month:"short",year:"numeric",numberingSystem:"latn"};var V=a(53593),I=a.n(V),input=({name:e,placeholder:r,required:a=!0,type:l="text",maxLength:t=255})=>{let{t:s}=(0,i.Z)(),{watch:_,register:b,formState:{errors:d}}=(0,k.Gc)(),c=_(e),{formattedDate:g}=(0,P.e)("string"==typeof c?c:null,{dateFormat:U});return(0,o.jsxs)("div",{className:I().input,children:[(0,o.jsx)("input",{className:n()(I().field,{[I().invalid]:!!d[e]}),maxLength:t,placeholder:r??s(`page.goal50.2023.votingScreen.prompt.${e}`),type:l,tabIndex:0,...b(e,{required:a})}),"date"===l&&(0,o.jsx)("input",{placeholder:r??s(`page.goal50.2023.votingScreen.prompt.${e}`),className:n()(I()["date-overlay"],{[I().invalid]:!!d[e]}),value:g??"",disabled:!0,tabIndex:-1}),(0,o.jsx)(w.Z,{glyph:"error"}),d[e]?.message&&(0,o.jsxs)("p",{className:I()["error-message"],children:[(0,o.jsx)(w.Z,{glyph:"error"}),d[e]?.message]})]})},prize_draw_form=()=>{let{t:e}=(0,i.Z)(),{edition:r}=(0,A.B)(),[a,l,n]=(0,g.Z)(({setEmail:e,setHasSubmittedForPrize:r,votingData:a})=>[e,r,a?.isDemo],c.X),s=G.Ry().shape({firstName:G.Z_().required(e("page.goal50.2023.votingScreen.prompt.form.errors.required")),surname:G.Z_().required(e("page.goal50.2023.votingScreen.prompt.form.errors.required")),dateOfBirth:G.Z_().required(e("page.goal50.2023.votingScreen.prompt.form.errors.required")).test("is-18-years-old",e("page.goal50.2023.votingScreen.prompt.form.errors.atLeast18"),e=>{let r=new Date("2023-11-13T12:00:00.000Z");return r.setFullYear(r.getFullYear()-18),new Date(e)<=r}),email:G.Z_().matches(E.C,e("generic.errors.email")).required(e("page.goal50.2023.votingScreen.prompt.form.errors.required")),country:G.Z_().required(e("page.goal50.2023.votingScreen.prompt.form.errors.oneOfOptions")),consent:G.O7().optional(),termsOfUse:G.O7().oneOf([!0],e("page.goal50.2023.votingScreen.prompt.form.errors.termsOfUse")).required()}).required(),_=(0,k.cI)({resolver:(0,S.X)(s),mode:"onSubmit"}),{handleSubmit:b}=_,submit=async e=>{let{email:r}=e;try{n||(0,j.Wx)({action:"Enter Prize Draw click"})}catch{}finally{a(r),l(!0)}};return(0,o.jsx)(k.RV,{..._,children:(0,o.jsxs)("form",{className:M().form,onSubmit:b(submit),children:[(0,o.jsx)("p",{className:M().text,children:e("page.goal50.2023.votingScreen.prompt.typeYourEmail")}),(0,o.jsx)(input,{name:"firstName"}),(0,o.jsx)(input,{name:"surname"}),(0,o.jsx)(input,{type:"date",name:"dateOfBirth"}),(0,o.jsx)(input,{maxLength:100,name:"email",placeholder:e("page.goal50.2023.votingScreen.prompt.emailInput.placeholder")}),(0,o.jsx)(country_select,{}),O.includes(r)&&(0,o.jsx)(form_checkbox,{name:"consent",required:!1}),(0,o.jsx)(form_checkbox,{name:"termsOfUse",label:(0,o.jsx)(t.Z,{i18nKey:"page.goal50.2023.votingScreen.prompt.checkbox",components:{terms:(0,o.jsx)("a",{className:M().link,href:"https://www.footballco.com/terms",target:"_blank",rel:"noopener"}),privacy:(0,o.jsx)("a",{className:M().link,href:"https://www.footballco.com/privacy-policy",target:"_blank",rel:"noopener"})}})}),(0,o.jsx)(content_button,{type:"submit",filled:!0,text:N()(e("page.goal50.2023.votingScreen.prompt.enterTheDraw"))})]})})},R=a(73146),L=a.n(R),B=a(40989),K=a.n(B),submitted=()=>{let{t:e}=(0,i.Z)(),r=(0,g.Z)(({email:e})=>e,c.X);return(0,o.jsxs)("div",{className:K().submitted,children:[(0,o.jsxs)("div",{className:K().wrapper,children:[(0,o.jsx)("img",{alt:"Check",src:"/img/goal50-2023/check-circle.svg",width:"24",height:"24"}),(0,o.jsx)("p",{className:K().message,children:(0,o.jsx)(t.Z,{i18nKey:"page.goal50.2023.votingScreen.prompt.weWillEmail",components:{b:(0,o.jsx)("span",{className:K().email})},values:{param1:r}})})]}),(0,o.jsx)("p",{className:K().text,children:e("page.goal50.2023.votingScreen.prompt.prizeDraw")})]})},prize_draw=()=>{let e=(0,g.Z)(({hasSubmittedForPrize:e})=>e,c.X);return(0,o.jsx)("div",{className:L()["prize-draw"],children:e?(0,o.jsx)(submitted,{}):(0,o.jsx)(prize_draw_form,{})})},congratulations=()=>{let e=(0,g.Z)(({votingData:e})=>e?.isDrawEnabled,c.X),{t:r}=(0,i.Z)();return(0,o.jsxs)("div",{className:v().content,children:[(0,o.jsx)("p",{className:v().info,children:r(`page.goal50.2023.votingScreen.prompt.${e?"prizeDrawUnlocked":"reachedTheMilestone"}`)}),(0,o.jsx)(b.Z,{shouldAnimate:!0}),e?(0,o.jsx)(prize_draw,{}):(0,o.jsx)("p",{className:v()["keep-voting"],children:r("page.goal50.2023.votingScreen.prompt.keepVotingToIncrease")})]})},W=a(98821),F=a.n(W),H=a(39946),J=a.n(H);let Q=F()(()=>Promise.all([a.e(6450),a.e(4367),a.e(8158),a.e(8575),a.e(7988),a.e(5703),a.e(6596),a.e(3730),a.e(47),a.e(2275),a.e(3673),a.e(6743),a.e(709),a.e(9008),a.e(5014),a.e(3404),a.e(9903),a.e(9159),a.e(6423),a.e(9372),a.e(2973),a.e(592),a.e(7189),a.e(586),a.e(8763),a.e(848),a.e(1479),a.e(1882),a.e(4101),a.e(7950),a.e(327),a.e(4911),a.e(6198),a.e(1717),a.e(5407),a.e(5869),a.e(1005),a.e(5936),a.e(5632),a.e(7654),a.e(2423),a.e(2751),a.e(2049),a.e(593),a.e(4092),a.e(9689),a.e(1944),a.e(6935),a.e(7546),a.e(2741),a.e(4592),a.e(8462),a.e(8885),a.e(3934),a.e(7098),a.e(258),a.e(1461),a.e(8127),a.e(9651),a.e(5639),a.e(6456),a.e(1141),a.e(893),a.e(9931),a.e(2277),a.e(9115),a.e(5255),a.e(8771),a.e(3662),a.e(8844),a.e(379),a.e(822),a.e(9185),a.e(9077),a.e(496),a.e(787),a.e(716),a.e(9321),a.e(6689),a.e(9213),a.e(2585),a.e(6384),a.e(6511),a.e(3395),a.e(614),a.e(6330),a.e(631),a.e(6050),a.e(2336),a.e(3781),a.e(3308),a.e(1859),a.e(4247),a.e(2916),a.e(1443),a.e(4307),a.e(9849),a.e(2851),a.e(1114),a.e(9977)]).then(a.bind(a,49977)),{loadableGenerated:{webpack:()=>[49977]},ssr:!1});var go_again=()=>{let{t:e}=(0,i.Z)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:J().content,children:[(0,o.jsx)("p",{className:J().info,children:e("page.goal50.2023.votingScreen.prompt.keepPlaying")}),(0,o.jsx)(b.Z,{}),(0,o.jsx)(d.Z,{}),(0,o.jsx)(_.Z,{})]}),(0,o.jsxs)("div",{className:n()(J().content,J()["second-part"]),children:[(0,o.jsx)("p",{className:J().text,children:e("page.goal50.2023.votingScreen.prompt.prizeDraw")}),(0,o.jsx)(Q,{})]})]})},Y=a(96166),$=a.n(Y);let ee=F()(()=>Promise.all([a.e(6450),a.e(4367),a.e(8158),a.e(8575),a.e(7988),a.e(5703),a.e(6596),a.e(3730),a.e(47),a.e(2275),a.e(3673),a.e(6743),a.e(709),a.e(9008),a.e(5014),a.e(3404),a.e(9903),a.e(9159),a.e(6423),a.e(9372),a.e(2973),a.e(592),a.e(7189),a.e(586),a.e(8763),a.e(848),a.e(1479),a.e(1882),a.e(4101),a.e(7950),a.e(327),a.e(4911),a.e(6198),a.e(1717),a.e(5407),a.e(5869),a.e(1005),a.e(5936),a.e(5632),a.e(7654),a.e(2423),a.e(2751),a.e(2049),a.e(593),a.e(4092),a.e(9689),a.e(1944),a.e(6935),a.e(7546),a.e(2741),a.e(4592),a.e(8462),a.e(8885),a.e(3934),a.e(7098),a.e(258),a.e(1461),a.e(8127),a.e(9651),a.e(5639),a.e(6456),a.e(1141),a.e(893),a.e(9931),a.e(2277),a.e(9115),a.e(5255),a.e(8771),a.e(3662),a.e(8844),a.e(379),a.e(822),a.e(9185),a.e(9077),a.e(496),a.e(787),a.e(716),a.e(9321),a.e(6689),a.e(9213),a.e(2585),a.e(6384),a.e(6511),a.e(3395),a.e(614),a.e(6330),a.e(631),a.e(6050),a.e(2336),a.e(3781),a.e(3308),a.e(1859),a.e(4247),a.e(2916),a.e(1443),a.e(4307),a.e(9849),a.e(2851),a.e(1114),a.e(9977)]).then(a.bind(a,49977)),{loadableGenerated:{webpack:()=>[49977]},ssr:!1}),er={0:()=>{let{t:e}=(0,i.Z)(),[r,a]=(0,g.Z)(({setIsModalOpened:e,votingData:r})=>[e,r?.isDrawEnabled],c.X);return(0,o.jsxs)("div",{className:f().container,children:[(0,o.jsx)(heading,{title:e("page.goal50.2023.votingScreen.prompt.ready")}),a&&(0,o.jsxs)("div",{className:n()(f().content,{[f()["is-draw-enabled"]]:a}),children:[(0,o.jsx)("p",{className:f().text,children:(0,o.jsx)(t.Z,{i18nKey:"page.goal50.2023.votingScreen.prompt.castMoreVotesPrize",components:{b:(0,o.jsx)("b",{})},values:{param1:s.X0}})}),(0,o.jsx)(b.Z,{}),(0,o.jsx)(d.Z,{}),(0,o.jsx)(_.Z,{})]}),(0,o.jsx)(content_button,{text:e("page.goal50.2023.votingScreen.prompt.startVoting"),onClick:()=>r(!1),filled:!0})]})},[s.X0/2]:()=>{let{t:e}=(0,i.Z)(),[r,a,l,u]=(0,g.Z)(({currentVotes:e,setIsModalOpened:r,votingData:a})=>[e,r,a?.isDrawEnabled,a?.isDemo],c.X);return(0,o.jsxs)("div",{className:n()($().container,{[$()["is-draw-enabled"]]:l}),children:[(0,o.jsx)(heading,{title:e("page.goal50.2023.votingScreen.prompt.50Votes")}),l&&(0,o.jsxs)("div",{className:n()($().content,{[$()["is-draw-enabled"]]:l}),children:[(0,o.jsx)("p",{className:$().text,children:(0,o.jsx)(t.Z,{i18nKey:"page.goal50.2023.votingScreen.prompt.castMoreVotesPrize",components:{b:(0,o.jsx)("b",{})},values:{param1:s.X0-r}})}),(0,o.jsx)(b.Z,{}),(0,o.jsx)(d.Z,{}),(0,o.jsx)(_.Z,{})]}),(0,o.jsxs)("div",{className:$().content,children:[(0,o.jsx)("p",{className:$().text,children:l?e("page.goal50.2023.votingScreen.prompt.prizeDraw"):(0,o.jsx)(t.Z,{i18nKey:"page.goal50.2023.votingScreen.prompt.castMoreVotes",components:{b:(0,o.jsx)("b",{})},values:{param1:s.X0-r}})}),l?(0,o.jsx)(ee,{}):(0,o.jsx)(b.Z,{})]}),(0,o.jsx)(content_button,{text:e("page.goal50.2023.votingScreen.prompt.keepVoting"),onClick:()=>{a(!1),u||(0,j.Wx)({action:"Continue voting click",label:r.toString()})},filled:!0})]})},[s.X0]:()=>{let[e,r,a,l,n,t,s,_,b,d]=(0,g.Z)(({currentVotes:e,setIsModalOpened:r,clearCurrentVotes:a,votingData:o,setHasSubmittedForPrize:l,hasSubmittedForPrize:n,congratulationsPopupPhase:t,setCongratulationsPopupPhase:i,setEmail:s})=>[e,r,a,o?.isDrawEnabled,l,n,t,i,s,o?.isDemo],c.X),{t:u}=(0,i.Z)(),m="CONGRATULATIONS"===s,w=m&&l&&t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(heading,{title:u(m?"page.goal50.2023.votingScreen.prompt.congratulations":"page.goal50.2023.votingScreen.prompt.goAgain")}),m?(0,o.jsx)(congratulations,{}):(0,o.jsx)(go_again,{}),(0,o.jsx)(content_button,{filled:!w,text:u(w?"page.goal50.continueVoting":"page.goal50.2023.votingScreen.prompt.keepVoting"),onClick:()=>{w?(_("GO_AGAIN"),n(!1),b(null)):(d||(0,j.Wx)({action:"Continue voting click",label:e.toString()}),setTimeout(()=>{a(),_("CONGRATULATIONS")},1e3*ea),r(!1))}})]})}},ea=.9,eo="calc((100svh - var(--navigation-height) - 100%)/2 + 100% + 20px)"},94648:function(e){e.exports={"barlow1-semi-bold":"draw-info_barlow1-semi-bold__evzNN","barlow1-regular":"draw-info_barlow1-regular__9iENm","barlow2-semi-bold":"draw-info_barlow2-semi-bold__a8wdT","barlow2-regular":"draw-info_barlow2-regular__F2y1f","barlow3-semi-bold":"draw-info_barlow3-semi-bold__QZV15","barlow3-regular":"draw-info_barlow3-regular__dTSEZ","barlow4-semi-bold":"draw-info_barlow4-semi-bold__pntZD","barlow4-regular":"draw-info_barlow4-regular__ODXjr",heading1:"draw-info_heading1__uaP7T",disclaimer:"draw-info_disclaimer__CXFYe"}},30164:function(e){e.exports={"barlow1-semi-bold":"__2023_barlow1-semi-bold__J5q7u","barlow1-regular":"__2023_barlow1-regular__EWL24","barlow2-semi-bold":"__2023_barlow2-semi-bold__ULpFB","barlow2-regular":"__2023_barlow2-regular__Daz37","barlow3-semi-bold":"__2023_barlow3-semi-bold__D9CDQ","barlow3-regular":"__2023_barlow3-regular__DoSKp","barlow4-semi-bold":"__2023_barlow4-semi-bold__00BUb","barlow4-regular":"__2023_barlow4-regular__iT5nI",heading1:"__2023_heading1__u1RdC",page:"__2023_page__sUoae",header:"__2023_header__X1hrg",content:"__2023_content__h_8jT","mobile-app":"__2023_mobile-app__HzLhE",popover:"__2023_popover__FjWZm","highlighted-mask":"__2023_highlighted-mask__oyx25",mask:"__2023_mask__dpvD0"}},12189:function(e){e.exports={"barlow1-semi-bold":"button_barlow1-semi-bold___QleQ","barlow1-regular":"button_barlow1-regular__A5PPM","barlow2-semi-bold":"button_barlow2-semi-bold__H6j6c","barlow2-regular":"button_barlow2-regular__sOaZG","barlow3-semi-bold":"button_barlow3-semi-bold__t3e6_","barlow3-regular":"button_barlow3-regular__AjuGJ","barlow4-semi-bold":"button_barlow4-semi-bold__zjBsT","barlow4-regular":"button_barlow4-regular__GkB4C",heading1:"button_heading1__gwGS0",button:"button_button__Xwj1T",filled:"button_filled__1wg2y"}},37451:function(e){e.exports={"barlow1-semi-bold":"congratulations_barlow1-semi-bold__VW_xv","barlow1-regular":"congratulations_barlow1-regular__jP4Sl","barlow2-semi-bold":"congratulations_barlow2-semi-bold__AZl90","barlow2-regular":"congratulations_barlow2-regular__r1UhO","barlow3-semi-bold":"congratulations_barlow3-semi-bold__MHC4J","barlow3-regular":"congratulations_barlow3-regular__vjfZM","barlow4-semi-bold":"congratulations_barlow4-semi-bold__SHLHc","barlow4-regular":"congratulations_barlow4-regular__lvxiS",heading1:"congratulations_heading1__tFKLq",content:"congratulations_content__0ijrZ",info:"congratulations_info__KgcNr","keep-voting":"congratulations_keep-voting__7BrVh"}},47677:function(e){e.exports={"barlow1-semi-bold":"checkbox_barlow1-semi-bold__t6L8c","barlow1-regular":"checkbox_barlow1-regular__8_a0N","barlow2-semi-bold":"checkbox_barlow2-semi-bold__A6RlU","barlow2-regular":"checkbox_barlow2-regular__KqNRv","barlow3-semi-bold":"checkbox_barlow3-semi-bold__rIOat","barlow3-regular":"checkbox_barlow3-regular__8Xt6O","barlow4-semi-bold":"checkbox_barlow4-semi-bold___B809","barlow4-regular":"checkbox_barlow4-regular__WbSqe",heading1:"checkbox_heading1__e66GR",checkbox:"checkbox_checkbox__n_dLo",control:"checkbox_control__p1Hm6",invalid:"checkbox_invalid__KTYjJ",label:"checkbox_label__07651",link:"checkbox_link__RtgI_"}},68675:function(e){e.exports={"barlow1-semi-bold":"country-select_barlow1-semi-bold__cWOyi","barlow1-regular":"country-select_barlow1-regular__rEuhN","barlow2-semi-bold":"country-select_barlow2-semi-bold__mo32W","barlow2-regular":"country-select_barlow2-regular__LMSGs","barlow3-semi-bold":"country-select_barlow3-semi-bold___7IWJ","barlow3-regular":"country-select_barlow3-regular__GMOtu","barlow4-semi-bold":"country-select_barlow4-semi-bold__Cqcni","barlow4-regular":"country-select_barlow4-regular__Os7Pp",heading1:"country-select_heading1__RqXgt","country-select":"country-select_country-select__dNx67",input:"country-select_input__MX1wh","display-box":"country-select_display-box__nk_uG",invalid:"country-select_invalid__jAJG0","error-message":"country-select_error-message__XG68q"}},60307:function(e){e.exports={"barlow1-semi-bold":"form_barlow1-semi-bold__GCUi4","barlow1-regular":"form_barlow1-regular__WKqZ_","barlow2-semi-bold":"form_barlow2-semi-bold__gRJo1","barlow2-regular":"form_barlow2-regular__HQ7uA","barlow3-semi-bold":"form_barlow3-semi-bold__6vdBT","barlow3-regular":"form_barlow3-regular__OGFaj","barlow4-semi-bold":"form_barlow4-semi-bold__FiXfC","barlow4-regular":"form_barlow4-regular__y_HA3",heading1:"form_heading1__5QqFU",form:"form_form__PKycy",text:"form_text__exqTX",link:"form_link__xX3fj"}},53593:function(e){e.exports={"barlow1-semi-bold":"input_barlow1-semi-bold__cQfOp","barlow1-regular":"input_barlow1-regular__aZ2qG","barlow2-semi-bold":"input_barlow2-semi-bold__bb4wT","barlow2-regular":"input_barlow2-regular__EtkcQ","barlow3-semi-bold":"input_barlow3-semi-bold__icrj9","barlow3-regular":"input_barlow3-regular___qA56","barlow4-semi-bold":"input_barlow4-semi-bold__5TpPq","barlow4-regular":"input_barlow4-regular___gDQA",heading1:"input_heading1__DR_08",input:"input_input___ciwp","date-overlay":"input_date-overlay__sqnuj",field:"input_field___OpcR",invalid:"input_invalid__yxKt2","error-message":"input_error-message__rx2w7"}},73146:function(e){e.exports={"barlow1-semi-bold":"prize-draw_barlow1-semi-bold__xEoCd","barlow1-regular":"prize-draw_barlow1-regular__JY0X_","barlow2-semi-bold":"prize-draw_barlow2-semi-bold__7dkfI","barlow2-regular":"prize-draw_barlow2-regular__PBpmr","barlow3-semi-bold":"prize-draw_barlow3-semi-bold___sMSt","barlow3-regular":"prize-draw_barlow3-regular__x6sfv","barlow4-semi-bold":"prize-draw_barlow4-semi-bold__f5Bjc","barlow4-regular":"prize-draw_barlow4-regular__Sk5hd",heading1:"prize-draw_heading1__JkQhS","prize-draw":"prize-draw_prize-draw__Om71W"}},40989:function(e){e.exports={"barlow1-semi-bold":"submitted_barlow1-semi-bold___z2JU","barlow1-regular":"submitted_barlow1-regular__jjx0F","barlow2-semi-bold":"submitted_barlow2-semi-bold__Jft4U","barlow2-regular":"submitted_barlow2-regular__5yoIj","barlow3-semi-bold":"submitted_barlow3-semi-bold__RdL1E","barlow3-regular":"submitted_barlow3-regular__eGpAN","barlow4-semi-bold":"submitted_barlow4-semi-bold__jHqnH","barlow4-regular":"submitted_barlow4-regular__aszSJ",heading1:"submitted_heading1__vFcuk",submitted:"submitted_submitted__xsmz9",wrapper:"submitted_wrapper__i6mXe",message:"submitted_message__pVWTG",email:"submitted_email__wX8dS",text:"submitted_text__HyUNH"}},39946:function(e){e.exports={"barlow1-semi-bold":"go-again_barlow1-semi-bold__nP2Dz","barlow1-regular":"go-again_barlow1-regular__6hOAs","barlow2-semi-bold":"go-again_barlow2-semi-bold__XA7uh","barlow2-regular":"go-again_barlow2-regular__8OAvI","barlow3-semi-bold":"go-again_barlow3-semi-bold__v8jQA","barlow3-regular":"go-again_barlow3-regular___HU9a","barlow4-semi-bold":"go-again_barlow4-semi-bold__wN8k5","barlow4-regular":"go-again_barlow4-regular__UfkUF",heading1:"go-again_heading1__Kbbph",content:"go-again_content__N3zfp",info:"go-again_info__qlEVE",text:"go-again_text__4eu_P","second-part":"go-again_second-part__jadld"}},96166:function(e){e.exports={"barlow1-semi-bold":"half-way-there_barlow1-semi-bold__qj2GI","barlow1-regular":"half-way-there_barlow1-regular__LmSYu","barlow2-semi-bold":"half-way-there_barlow2-semi-bold___fd3A","barlow2-regular":"half-way-there_barlow2-regular__t4529","barlow3-semi-bold":"half-way-there_barlow3-semi-bold__zLypG","barlow3-regular":"half-way-there_barlow3-regular__9h6wG","barlow4-semi-bold":"half-way-there_barlow4-semi-bold__bS7hd","barlow4-regular":"half-way-there_barlow4-regular__59zxG",heading1:"half-way-there_heading1__a0uff",container:"half-way-there_container__hZ05Q","is-draw-enabled":"half-way-there_is-draw-enabled__cqOIW",content:"half-way-there_content__ii0zH",text:"half-way-there_text__J01jn"}},11931:function(e){e.exports={"barlow1-semi-bold":"heading_barlow1-semi-bold__fuUGz","barlow1-regular":"heading_barlow1-regular__KZGne","barlow2-semi-bold":"heading_barlow2-semi-bold__PPhrw","barlow2-regular":"heading_barlow2-regular__4dyBO","barlow3-semi-bold":"heading_barlow3-semi-bold___J6h2","barlow3-regular":"heading_barlow3-regular__iD4xc","barlow4-semi-bold":"heading_barlow4-semi-bold__7U9Av","barlow4-regular":"heading_barlow4-regular__tgU6E",heading1:"heading_heading1__r2z9o",heading:"heading_heading__hoszx","with-close-button":"heading_with-close-button__vQq_x",title:"heading_title__MWV14","close-button":"heading_close-button__jqBpk"}},62909:function(e){e.exports={"barlow1-semi-bold":"ready_barlow1-semi-bold__OE9Ri","barlow1-regular":"ready_barlow1-regular__vKbBI","barlow2-semi-bold":"ready_barlow2-semi-bold___018V","barlow2-regular":"ready_barlow2-regular__vENKw","barlow3-semi-bold":"ready_barlow3-semi-bold__t33KJ","barlow3-regular":"ready_barlow3-regular__IMIih","barlow4-semi-bold":"ready_barlow4-semi-bold__iX2Sa","barlow4-regular":"ready_barlow4-regular__Kstqa",heading1:"ready_heading1__NZV4O",container:"ready_container__AfqoN",content:"ready_content__rFD00","is-draw-enabled":"ready_is-draw-enabled__S8HAA",text:"ready_text__MIZLW"}}}]);