1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76166,55742],{490:(e,r,t)=>{t.r(r),t.d(r,{default:()=>k});var o=t(57437),i=t(92776),a=t(2265),n=t(38093),l=t(18784),s=t(40824),c=t(56503),u=t(15175),d=t(18012),m=t(19547),p=t(5661),h=t(9974),f=t(97495),g=t(75379),y=t(54437),x=t(84027),C=t(48897),b=t(74112),w=t(23180);let k=()=>{let{t:e}=(0,n.$G)("common"),r=x.useModalsStore.use.close(),t=(0,y.c)(),k=m.Y,R=t.use.countryCode(),v=(0,a.useRef)(),{trigger:_,isMutating:j}=(0,g.u)({key:"updatePlayerDetails",fetcher:l.vP,options:{populateCache:!0,onSuccess:()=>{(0,b.V_)(),r()},onError:()=>{(0,h.h)({type:C.R.ERROR,body:e("confirmRegistration.error")})}}}),S=(0,a.useCallback)(e=>{let{values:r}=e;_({profileAttributes:{country:r.country}})},[_]),E=(0,a.useMemo)(()=>k.map(e=>{let{name:r,code:t}=e;return{name:r,value:t,icon:(0,d.Ts)(t.toLowerCase())}}),[k]);return(0,o.jsxs)(w.ScConfirmGoogleCountry,{children:[(0,o.jsx)("h1",{children:e("confirmRegistration.title")}),(0,o.jsxs)(i.l0,{className:"terms-form",formApiRef:v,onSubmit:S,children:[(0,o.jsx)(c.c,{title:e("auth.registration.form.country"),wide:!0,children:(0,o.jsx)(u.P,{"aria-label":e("auth.registration.form.country"),initialValue:R,mode:p.hY.Light,name:"country",options:E,placeholder:e("auth.registration.form.country"),validate:f.C1})}),(0,o.jsx)(s.z,{isLoading:j,large:!0,primary:!0,type:"submit",wide:!0,children:e("submit")})]})]})}},23180:(e,r,t)=>{t.r(r),t.d(r,{ScConfirmGoogleCountry:()=>a});var o=t(89183),i=t(38571);let a=o.ZP.div.withConfig({displayName:"styled__ScConfirmGoogleCountry",componentId:"sc-fc62aa42-0"})(["width:480px;padding:32px;background-color:",";color:",";margin:0 auto;border-radius:24px;position:relative;display:flex;flex-direction:column;gap:32px;align-items:center;h1{"," text-transform:uppercase;text-align:center;@media (","){","}}.terms-form{width:100%;}@media (","){width:calc(100% - 16px);padding:32px 16px;margin:0 8px;}"],e=>{let{theme:r}=e;return r.whiteColor},e=>{let{theme:r}=e;return r.blackColor},i.cp.headline1,i.Uh.mobile,i.cp.headline1mobile,i.Uh.mobile)}}]); 2//# sourceMappingURL=dialog-ConfirmGoogleCountry.ad8d583849e180c8.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.