"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[70594],{17240:function(e,n,t){t.d(n,{A:function(){return i}}),t(63696);var s=t(91785),a=t(62540);function i(e){var n=e.styles,t=e.defaultTheme,i=void 0===t?{}:t,r="function"==typeof n?function(e){return n(null==(t=e)||0===Object.keys(t).length?i:e);var t}:n;return(0,a.jsx)(s.mL,{styles:r})}},19943:function(e,n,t){t.r(n),t.d(n,{NextUpPreferences:function(){return u}});var s=t(62540),a=t(94828),i=t(52502),r=t(37538),l=t(99797),p=t(58765),d=t(11e3),c=t(99851),x=(t(63696),t(9482));function u(e){var n=e.onChange,t=e.values;return(0,s.jsxs)(p.A,{spacing:3,children:[(0,s.jsx)(c.A,{variant:"h2",children:x.Ay.translate("NextUp")}),(0,s.jsxs)(i.A,{fullWidth:!0,children:[(0,s.jsx)(d.A,{"aria-describedby":"display-settings-max-days-next-up-description",value:t.maxDaysForNextUp,inputProps:{type:"number",inputMode:"numeric",max:"1000",min:"0",pattern:"[0-9]",required:!0,step:"1"},label:x.Ay.translate("LabelMaxDaysForNextUp"),name:"maxDaysForNextUp",onChange:n}),(0,s.jsx)(l.A,{id:"display-settings-max-days-next-up-description",children:x.Ay.translate("LabelMaxDaysForNextUpHelp")})]}),(0,s.jsxs)(i.A,{fullWidth:!0,children:[(0,s.jsx)(r.A,{"aria-describedby":"display-settings-next-up-rewatching-description",control:(0,s.jsx)(a.A,{checked:t.enableRewatchingInNextUp,onChange:n}),label:x.Ay.translate("EnableRewatchingNextUp"),name:"enableRewatchingInNextUp"}),(0,s.jsx)(l.A,{id:"display-settings-next-up-rewatching-description",children:x.Ay.translate("EnableRewatchingNextUpHelp")})]}),(0,s.jsxs)(i.A,{fullWidth:!0,children:[(0,s.jsx)(r.A,{"aria-describedby":"display-settings-next-up-images-description",control:(0,s.jsx)(a.A,{checked:t.episodeImagesInNextUp,onChange:n}),label:x.Ay.translate("UseEpisodeImagesInNextUp"),name:"episodeImagesInNextUp"}),(0,s.jsx)(l.A,{id:"display-settings-next-up-images-description",children:x.Ay.translate("UseEpisodeImagesInNextUpHelp")})]})]})}}}]);