1import{u as I,s as L,M as l,a as d}from"./main-DrgE7FAP.js";import{g as v,j as s}from"./vendor-DbsMbOVk-1789482017689.js";import{u as z,S as A,a as V}from"./useSettings-Bpnm-PTU-1789482018365.js";import{S as p}from"./SettingsDropdown-CRg8AABZ-1789482018365.js";import{M as D}from"./FiltersTabsUI-CcxIQ-HP-1789482018365.js";import{A as O}from"./AccountMenu-DISX5mCD-1789482018365.js";import"./crypto-js-CJJSxndp-1789482017351.js";import"./lodash-ByDCjXp0-1789482017690.js";import"./framer-motion-D1KBGWJk-1789482017653.js";import"./shield-js-npm-CZORHk4v-1789482017809.js";import"./pako-CFLZ4Bv7-1789482017761.js";import"./WL_MyAccountMenuWrapper-BopaAO9Z-1789482018365.js";import"./useAccountMenu-CrZO2THM-1789482018365.js";const J=()=>{var u,m,c;const g=I(L.errorMessage),{t:a}=v(),{handleLanguageChange:h,handleTimezoneChange:x,handleOddTypeChange:b,transformLanguageData:n,transformOddsData:o,transformTimezonesData:t,handleNotificationChange:S,hasOddsSettingsDropdown:w,hasLanguageSettingsDropdown:C,hasTimezoneSettingsDropdown:j,userProfileNotifications:i,notificationTypes:r,userProfileLanguageId:f,userProfileOddTypeId:y,userProfileTimezoneCode:T}=z(),M=r==null?void 0:r.map(e=>s.jsx(A,{label:e.name,name:e.name,className:"mb-0",checked:(i==null?void 0:i.findIndex(N=>N.playerNotificationTypeId===e.id))!==-1,handleChange:S,value:e.id},e.id));return s.jsx(D.Page,{type:"settings",children:s.jsxs(O,{menuMode:"header",text:a(l.Settings.headerText),initOpen:!0,children:[g&&s.jsx(d.Message,{hasFormGroup:!0,content:g,type:"error"}
1),s.jsxs(d.Row,{children:[C&&s.jsx(p,{name:"uniqName1",dataQid:"userLang",options:n,inputValue:(u=n==null?void 0:n.find(e=>e.value===f))==null?void 0:u.label,label:a(l.Settings.languageLabel),onDropdownChange:h,colsClasses:"col-12 col-lg-6",disabled:!1}),j&&s.jsx(p,{name:"uniqName2",dataQid:"userTz",options:t,inputValue:(m=t==null?void 0:t.find(e=>e.value===T))==null?void 0:m.label,label:a(l.Settings.timezoneLabel),onDropdownChange:x,colsClasses:"col-12 col-lg-6",dropdownType:"timezone",disabled:!1})]}),w&&s.jsx(d.Row,{children:s.jsx(p,{name:"uniqName3",dataQid:"userOdds",options:o,inputValue:(c=o==null?void 0:o.find(e=>e.value===y))==null?void 0:c.label,label:a(l.Settings.oddTypeLabel),onDropdownChange:b,colsClasses:"col-12 col-lg-6",disabled:!1})}),s.jsx("div",{className:"my-account__settings-group",children:M}),window.isRNWebView&&s.jsx(V,{})]})})};export{J as default};
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.