1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8752],{2087:(e,i,t)=>{"use strict";t.d(i,{a:()=>m});var n=t(6029),r=t(55729),o=t(79945),a=t(26160),l=t(71238),s=t(12457);let d=({dynamicSizes:e,isDesktop:i,variant:t})=>{switch(t){case"small":return e[i?"desktop":"mobile"]["Height/Choice card"];case"medium":return"86px";case"x-medium":return"96px";default:return"140px"}},c=o.I4.button.withConfig({componentId:"sc-c54238e3-0"})(["position:relative;display:flex;overflow:hidden;width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin:0;color:",";cursor:pointer;text-align:left;transition:all 0.3s ease;"," "," ",";&[disabled]{cursor:not-allowed;pointer-events:none;}"],({theme:e})=>e.colors["N Content/Primary"],({theme:e,$backgroundVariant:i})=>"blur"===i?(0,o.AH)(["backdrop-filter:blur(4px);background:",";outline:2px solid ",";"],e.colors["N Surface/BG Blur Primary"],e.colors["N Outline/Primary"]):(0,o.AH)(["background:",";outline:2px solid transparent;"],e.colors["N Surface/Primary"]),({theme:e,$variant:i})=>(0,o.AH)(["min-height:",";padding:0;border:none;border-radius:","px;@media ","{min-height:",";}"],d({dynamicSizes:e.dynamicSizes,isDesktop:!1,variant:i}),e.radius["Radius LG"],s.L.MD,d({dynamicSizes:e.dynamicSizes,isDesktop:!0,variant:i})),({$isHighlighted:e,theme:i})=>e?(0,o.AH)(["outline-color:",";"],i.colors["N Outline/Brand Selected"]):(0,o.AH)(["@media (hover:hover) and (pointer:fine){&:focus-visible,&:hover{outline-color:",";}}"],i.colors["N Outline/Brand Hover"])),h=o.I4.div.withConfig({componentId:"sc-c54238e3-1"})(["display:flex;width:100%;flex-direction:column;order:",";padding:",";hyphens:auto;overflow-wrap:break-word;",""],({$imagePosition:e})=>"left"===e?2:1,({$hasCheckbox:e,$hasImage:i,$imagePosition:t})=>{let n=i?"0":"10px";return`${n} ${i&&"right"===t?"0":e?"48px":"16px"} ${n} 16px`},({$hasCheckbox:e,$hasImage:i,$imageWidth:t})=>e?i&&t?(0,o.AH)(["max-width:calc(100% - ","px);"],t):null:(0,o.AH)(["flex-grow:1;align-items:center;text-align:center;"])),u=(0,o.I4)(l.o).withConfig({componentId:"sc-c54238e3-2"})(["white-space:pre-line;"]),g=o.I4.img.withConfig({componentId:"sc-c54238e3-3"})(["max-height:",";order:",";object-fit:contain;@media ","{max-height:",";}"],({$variant:e,theme:i})=>d({dynamicSizes:i.dynamicSizes,isDesktop:!1,variant:e}),({$imagePosition:e})=>"left"===e?1:2,s.L.MD,({$variant:e,theme:i})=>d({dynamicSizes:i.dynamicSizes,isDesktop:!0,variant:e})),p=o.I4.div.withConfig({componentId:"sc-c54238e3-4"})(["position:absolute;top:50%;right:16px;display:",";width:","px;height:","px;align-items:center;justify-content:center;transform:translateY(-50%);"],({$hasCheckbox:e})=>e?"flex":"none",28,28),m=({backgroundVariant:e="solid",hasCheckbox:i=!0,imagePosition:t="right",imageProps:s,isSelected:d,onSelect:m,subtitle:v,title:b,unselectedRadioVariant:x,value:f,variant:w,...y})=>{let _=(0,o.DP)(),[$,k]=(0,r.useState)(!1),C=(0,r.useRef)(null),j=d||$,S=(0,r.useCallback)(()=>{y.disabled||m(f)},[y,m,f]);return(0,r.useEffect)(()=>()=>{null!==C.current&&(cancelAnimationFrame(C.current),C.current=null)},[]),(0,n.jsxs)(c,{$backgroundVariant:e,$isHighlighted:j,$variant:w,onClick:S,role:"button","aria-pressed":d,"aria-label":b,onPointerLeave:()=>{y.disabled||k(!1)},onPointerUp:()=>{y.disabled||(null!==C.current&&(cancelAnimationFrame(C.current),C.current=null),C.current=requestAnimationFrame(()=>{k(!1),C.current=null}))},onPointerDown:()=>{y.disabled||k(!0)},...y,children:[(0,n.jsxs)(h,{$hasImage:!!s,$hasCheckbox:i,$imagePosition:t,$imageWidth:s?.width,$variant:w,children:[(0,n.jsx)(u,{$color:y.disabled?_.colors["N Content/Disabled"]:_.colors["N Content/Primary"],$variant:"Poppins/T2 - Medium",children:b}),v&&(0,n.jsx)(l.o,{$color:y.disabled?_.colors["N Content/Disabled"]:_.colors["N Content/Secondary"],$variant:"Poppins/T3",children:v})]}),s&&(0,n.jsx)(g,{$imagePosition:t,$variant:w,...s}),(0,n.jsx)(p,{$hasCheckbox:i,children:(0,n.jsx)(a.s,{isSelected:d,isDisabled:y.disabled,unselectedVariant:x})})]})}},62935:(e,i,t)=>{"use strict";t.d(i,{t:()=>k});var n=t(6029),r=t(82066),o=t(2087),a=t(56788),l=t(83617),s=t(77271),d=t(98600),c=t(45391),h=t(9842),u=t(12457),g=t(4147),p=t(79945);
1let m=p.I4.div.withConfig({componentId:"sc-822366e5-0"})(["position:absolute;top:","rem;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;"],({theme:e})=>e.sizes.headerHeight),v=p.I4.picture.withConfig({componentId:"sc-822366e5-1"})(["display:contents;"]),b=p.I4.div.withConfig({componentId:"sc-822366e5-2"})(["position:absolute;inset:0;pointer-events:none;",";"],({$backgroundStyle:e,theme:i})=>{let{base:t,secondary:n}=(0,g.w)({backgroundStyle:e,theme:i});return(0,p.AH)(["background:linear-gradient( 180deg,"," 10%,rgba(0,0,0,0) 40%,rgba(0,0,0,0) 70%,"," 95% );"],t,n)}),x=(e,i)=>(0,p.AH)(["max-width:","px;height:calc(min(100dvw,","px) * ",");max-height:","px;"],e,e,i?i/e:0,i),f=({$align:e,$width:i,$height:t,$desktopWidth:n,$desktopHeight:r})=>(0,p.AH)(["bottom:0;",":0;width:100%;",";",";"],e,x(i,t),n&&r&&(0,p.AH)(["@media ","{",";}"],u.L.MD,x(n,r))),w=p.I4.div.withConfig({componentId:"sc-822366e5-3"})(["position:absolute;background:",";",";"],({theme:e,$align:i})=>`radial-gradient(80% 100% at ${"left"===i?"15%":"85%"} 70%, ${e.colors["N General/Brand"]}55 10%, transparent 70%)`,f),y=p.I4.img.withConfig({componentId:"sc-8223
166e5-4"})(["position:absolute;",";"],({$variant:e,...i})=>"cover"===e?(0,p.AH)(["width:100%;height:100%;inset:0;object-fit:cover;object-position:top center;"]):f(i)),_=({variant:e,image:i,imageDesktop:t,align:r="right",hasGradient:o=!1,hasOverlay:a=!1})=>{let l=(0,h.Br)("onboarding_background_style");return(0,n.jsxs)(m,{children:["corner"===e&&o&&(0,n.jsx)(w,{$align:r,$width:i.width,$height:i.height,$desktopWidth:t?.width,$desktopHeight:t?.height}),(0,n.jsxs)(v,{children:[t&&(0,n.jsx)("source",{media:u.L.MD,srcSet:t.srcSet,width:t.width,height:t.height}),(0,n.jsx)(y,{src:i.src,srcSet:i.srcSet,$variant:e,$align:r,$width:i.width,$height:i.height,$desktopWidth:t?.width,$desktopHeight:t?.height})]}),a&&(0,n.jsx)(b,{$backgroundStyle:l})]})};var $=t(58886);let k=({analyticsMapping:e,children:i,choiceBackgroundVariant:t,choiceUnselectedRadioVariant:h,funnel:u,heading:g,isMultiChoice:p=!1,onChange:m,options:v,pageConfig:b,subtitle:x,subtitleColorVariant:f,title:w,titleAlign:y,titleSize:k,value:C,variant:j})=>{let{t:S}=(0,l.Bd)(),{handleChange:I,handleContinue:N,isValid:P}=(0,c.u)({analyticsMapping:e,funnel:u,isMultiChoice:p,onChange:m,options:v,value:C});return(0,n.jsxs)($.P,{backgroundImage:b&&(0,n.jsx)(_,{variant:b.variant,image:b.image,imageDesktop:b.imageDesktop,align:b.align,hasGradient:b.hasGradient,hasOverlay:b.hasOverlay}),bottomContent:p?(0,n.jsx)(r.$,{type:"button",isDisabled:!P,onClick:N,children:S("common_cta_continue")}):void 0,title:w,children:[(0,n.jsx)(a.l,{align:y,title:g??w,titleSize:k,subtitle:x,subtitleColorVariant:f||"secondary-highlight-brand"}),(0,n.jsx)(d.R,{isMultiChoice:p,children:(0,n.jsx)(s.Mz,{$imageAlign:b?.align,$widthVariant:b?.choicesWidthVariant,children:v.map(e=>(0,n.jsx)(o.a,{backgroundVariant:t,hasCheckbox:!0,imagePosition:e.imagePosition,imageProps:e.imageProps,isSelected:C.includes(e.value),onSelect:I,value:e.value,variant:j,title:e.title,subtitle:e.subtitle,unselectedRadioVariant:h||(p?"circle":"none")},`${e.value}`))})}),"function"==typeof i?i({handleChange:I}):i]})}},66049:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSG:()=>h,default:()=>u});var n=t(6029),r=t(2729),o=t(83617),a=t(55729),l=t(62935),s=t(18075),d=t(29837);let c=({funnel:e})=>{let{t:i}=(0,o.Bd)(),{data:t}=(0,d.Zc)(e),c=(0,a.useMemo)(()=>[{title:i("energy_levels_option_low_all_day"),value:s.vN.EnergyLevels.LowAllDay},{title:i("energy_levels_option_drop_after_lunch"),value:s.vN.EnergyLevels.DropAfterLunch},{title:i("energy_levels_option_drained_before_meals"),value:s.vN.EnergyLevels.DrainedBeforeMeals},{title:i("energy_levels_option_high"),value:s.vN.EnergyLevels.High}],[i]);return(0,n.jsx)(l.t,{funnel:e,onChange:e=>({energy_levels:e[0]}),options:c,title:i("energy_levels_title"),value:(0,r.O9)(t.energy_levels)?[t.energy_levels]:[],variant:"small"})};var h=!0;function u({funnel:e}){return(0,n.jsx)(c,{funnel:e})}},97981:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[funnelId]/energy-levels",function(){return t(66049)}])}},e=>{e.O(0,[9151,391,8886,3581,636,6593,8792],()=>e(e.s=97981)),_N_E=e.O()}]); 2//# sourceMappingURL=energy-levels-535dcf1d77b8d9fe.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.