PageSourceSearch

https://nutrafol.com/_next/static/chunks/3978-2888f1bfd0eb85dc.js?dpl=dpl_2D94TiR76qEYkdFgaN4DeqcTczUU

js nutrafol.com collected 2026-09-24 10:02:55 UTC 39,062 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3978,7088],{5779:(e,t,s)=>{"use strict";s.d(t,{c:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0 3.2C0 2.0799 0 1.51984 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.51984 0 2.0799 0 3.2 0H20.8C21.9201 0 22.4802 0 22.908 0.217987C23.2843 0.409734 23.5903 0.715695 23.782 1.09202C24 1.51984 24 2.0799 24 3.2V20.8C24 21.9201 24 22.4802 23.782 22.908C23.5903 23.2843 23.2843 23.5903 22.908 23.782C22.4802 24 21.9201 24 20.8 24H3.2C2.0799 24 1.51984 24 1.09202 23.782C0.715695 23.5903 0.409734 23.2843 0.217987 22.908C0 22.4802 0 21.9201 0 20.8V3.2Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M11.9998 8.80005C11.9998 8.80005 11.9998 12.3883 11.9998 15.2M15.1998 12C15.1998 12 11.924 12 8.7998 12",stroke:"#041C1B",strokeLinecap:"square",strokeLinejoin:"round"})]})},9683:e=>{e.exports={progressAnimation:"Ingredients_components_progressAnimation__4IX2Z",progress:"Ingredients_components_progress__JgDyO"}},11610:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var l=s(95155);s(12115);var a=s(74078),n=s(51162),i=s(32816),r=s(55956),o=s(69686),c=s(42270);let d=e=>{let{data:t,theme:s="master",settings:d={},replaceFn:x=null}=e,{titleKey:m}=d,u=e=>{var t;let{lineImageMobile:d="https://images.ctfassets.net/0rbfqd9c4jdo/6IgkTeaxJvYj5cingc3sJR/d7a614f59e4d890cc92feda5edc287a1/linear-dotted-line-mobile.png",lineImage:u="https://images.ctfassets.net/0rbfqd9c4jdo/JLCPXuUw2rJ96kVc2tVei/53f3c4996ea28d152ead3b4c092e4d43/dotted-line.png",planeImageMobile:h,planeImage:p,tag:v,title:j,subtitle:f,button:g,variant:N="light",imageBackground:b,imageLeft:w}=e;if(!j)return null;let C=null!=(t=m?e[m]:void 0)?t:j;C.text="function"==typeof x?x(C.text):C.text;let y="men"===s,_=b?"bg-none overflow-hidden":y?"bg-nova-brand-darkblue-60":"bg-nova-base-black",k=null==g?void 0:g.onClick,B=g?(()=>{let{onClick:e,...t}=g;return t})():void 0;if("dark"===N)return w?(0,l.jsx)("div",{className:(0,c.cn)("relative mb-10 md:mb-6 lg:mb-10",g&&k&&!g.disabled&&"cursor-pointer"),onClick:g&&k&&!g.disabled?e=>k(e):void 0,children:(0,l.jsxs)("div",{className:(0,c.cn)("flex flex-row text-center transition-colors min-h-[90px] md:min-h-[115px] lg:min-h-[96px] rounded",_),children:[(0,l.jsx)("div",{children:(0,l.jsx)(i.A,{pictureClassName:"",src:w.src||"",sources:w.sources||[],alt:w.alt||"",role:w.role||"presentation",className:(0,c.cn)("rounded-tl rounded-bl h-[90px] md:h-[115px]",w.className)})}),v&&(0,l.jsx)("div",{className:"flex justify-center absolute top-0 left-0 right-0 -translate-y-1/2",children:(0,l.jsx)(a.A,{data:{line:(null==v?void 0:v.line)||"Limited Time Only",classes:(null==v?void 0:v.classes)||"bg-nova-brand-accent-80",fontclasses:(null==v?void 0:v.fontclasses)||""}})}),(0,l.jsxs)("div",{className:"relative flex flex-col items-start justify-center px-2 sm:px-4 md:px-6 md:gap-1",children:[C&&(0,l.jsx)(o.TextElementNova,{element:"span",classes:{default:"Body-10-Dia-Strong",768:"Body-30-Dia-Strong",1024:"Body-20-Dia-Strong"},className:"text-nova-base-white",...C}),f&&(0,l.jsx)(o.TextElementNova,{element:"span",classes:{default:"Body-10-Dia-Normal",768:"Body-20-Dia-Normal",1024:"Body-10-Dia-Normal"},className:"text-nova-base-white text-left",...f}),g&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.ButtonNova,{level:"Textlink",icon:"Right",size:"Small",theme:s,className:"md:hidden pt-[2px]",...B}),(0,l.jsx)(n.ButtonNova,{level:"Textlink",icon:"Right",theme:s,className:"hidden md:flex pt-[2px]",...B})]})]})]})}):(0,l.jsx)("div",{className:(0,c.cn)("relative mb-4 md:mb-6 lg:mb-8",g&&k&&!g.disabled&&"cursor-pointer"),onClick:g&&k&&!g.disabled?e=>k(e):void 0,children:(0,l.jsxs)("div",{className:(0,c.cn)("flex flex-col items-center justify-center text-center transition-colors px-6 lg:px-0 xl:px-6  pt-4 pb-4 1 min-h-[72px] md:min-h-[83px] lg:min-h-[89px] rounded",_),children:[b&&(0,l.jsx)(i.A,{pictureClassName:"absolute inset-0 w-full h-full object-cover",src:b.src||"",sources:b.sources||[],alt:b.alt||"",role:b.role||"presentation",className:(0,
1c.cn)("w-full h-full rounded object-cover lg:object-[33%_center]",b.className)}),v&&(0,l.jsx)("div",{className:"flex justify-center absolute top-0 left-0 right-0 -translate-y-1/2",children:(0,l.jsx)(a.A,{data:{line:(null==v?void 0:v.line)||"Limited Time Only",classes:(null==v?void 0:v.classes)||"bg-nova-brand-accent-80",fontclasses:(null==v?void 0:v.fontclasses)||""}})}),(0,l.jsxs)("div",{className:(0,c.cn)("relative flex flex-col items-center justify-center  ",f&&g?"pt-2":""),children:[C?y?(0,l.jsx)("div",{className:"pb-1 md:pb-2",children:(0,l.jsx)(r.TextElementMen,{element:"span",className:"text-nova-base-white Title-10-Super-Normal uppercase",...C})}):(0,l.jsx)("div",{className:"pb-1 md:pb-2",children:(0,l.jsx)(o.TextElementNova,{element:"span",className:"Body-30-Dia-Strong text-nova-base-white",...C})}):null,f&&(0,l.jsx)(o.TextElementNova,{element:"span",className:"Body-10-Dia-Normal text-nova-base-white pb-2",...f}),g&&(0,l.jsx)(n.ButtonNova,{level:"Textlink",icon:"Right",size:"Small",...B})]})]})});let T="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-0";return(0,l.jsxs)("div",{className:"pt-2 lg:pt-0 mb-10 md:mb-6 lg:mb-8",children:[(0,l.jsxs)("div",{className:"flex mx-auto text-center relative h-5 md:h-6",children:[(0,l.jsx)(i.A,{src:p||u,sources:[{media:"(max-width: 767px)",srcSet:h||d}],alt:"",role:"presentation",className:(0,c.cn)(T,"w-full")}),v&&(0,l.jsx)("div",{className:"relative z-10 flex justify-center mx-auto",children:(0,l.jsx)(a.A,{data:{line:v.line,fontclasses:(null==v?void 0:v.fontclasses)||"",classes:(0,c.cn)(y?"bg-nova-base-solid-20":"bg-nova-brand-accent-80","py-0")}})})]}),(0,l.jsxs)("div",{className:"py-2 flex flex-col items-center",children:[(0,l.jsx)("div",{className:(0,c.cn)("text-center mx-auto",y?"max-w-[250px] sm:max-w-[290px] lg:max-w-[300px]":"max-w-[250px] md:max-w-none"),children:C&&(0,l.jsx)(o.TextElementNova,{...C})}),f&&(0,l.jsx)("div",{className:"mt-1",children:(0,l.jsx)(o.TextElementNova,{element:"span",className:"Body-10-Dia-Normal text-nova-transparency-black-70",...f})})]}),(0,l.jsx)("div",{className:"mx-auto text-center relative h-[10px]",children:(0,l.jsx)(i.A,{src:u,sources:[{media:"(max-width: 767px)",srcSet:d}],alt:"",role:"presentation",className:(0,c.cn)(T,"w-full")})})]})};return Array.isArray(t)?(0,l.jsx)(l.Fragment,{children:t.map((e,t)=>{let s=e.vwoId;return(0,l.jsx)("div",{className:s?"abtest-".concat(s):void 0,children:u(e)},t)})}):u(t)}},22418:(e,t,s)=>{"use strict";s.d(t,{h:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"40",height:"41",viewBox:"0 0 40 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("g",{filter:"url(#filter0_b_2137_3316)",children:(0,l.jsxs)("g",{clipPath:"url(#clip0_2137_3316)",children:[(0,l.jsx)("path",{d:"M39.5 20.4349C39.5 9.69419 30.7707 0.985001 20 0.985001C9.22926 0.985001 0.5 9.69419 0.5 20.4349C0.5 31.1756 9.22926 39.8848 20 39.8848C30.7707 39.8848 39.5 31.1756 39.5 20.4349Z",stroke:"#041C1B"}),(0,l.jsx)("rect",{x:"-0.707993",width:"38.6903",height:"15.6442",rx:"7.82209",transform:"matrix(-0.707993 -0.706219 -0.707993 0.706219 38.7908 27.9148)",stroke:"#041C1B"}),(0,l.jsx)("line",{y1:"-0.5",x2:"15.0661",y2:"-0.5",transform:"matrix(-0.707993 0.706219 -0.707993 -0.706219 25.3333 14.6792)",stroke:"#041C1B"}),(0,l.jsx)("circle",{cx:"2.5",cy:"2.5",r:"2.5",transform:"matrix(1 0 0 -1 17.5 22.9602)",fill:"#FFC942"})]})}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("filter",{id:"filter0_b_2137_3316",x:"-100",y:"-99.6152",width:"240",height:"240",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"50"}),(0,l.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_2137_3316"}),(0,l.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_2137_3316",result:"shape"})]}),(0,l.jsx)("clipPath",{id:"clip0_2137_3316",children:(0,l.jsx)("path",{d:"M0 2.88477C0 1.50405 1.11929 0.384766 2.5 0.384766H40V40.3848H2.5C1.11929 40.3848 0 39.2655 0 37.8848V2.88477Z",fill:"white"})})]})]})},37281:(e,t,s)=>{"use strict";s.d(t,{K:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0 3.2C0 2.0799 0 1.51984 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.51984 0 2.0799 0 3.2 0H20.8C21.9201 0 22.4802 0 22.908 0.217987C23.2843 0.409734 23.5903 0.715695 23.782 1.09202C24 1.51984 24 2.0799 24 3.2V20.8C24 21.9201 24 22.4802 23.782 22.908C23.5903 23.2843 23.2843 23.5903 22.908 23.782C22.4802 24 21.9201 24 20.8 24H3.2C2.0799 24 1.51984 24 1.09202 23.782C0.715695 23.5903 0.409734 23.2843 0.217987 22.908C0 22.4802 0 21.9201 0 20.8V3.2Z",fill:"#DBE0E4",className:"icon-bg"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1528 7.64652L12.7992 7.29297L12.0921 8.00008L12.4457 8.35363L15.5915 11.4995H7.19922H6.69922V12.4995H7.19922H15.5927L12.4457 15.6465L12.0921 16.0001L12.7992 16.7072L13.1528 16.3536L17.1528 12.3536C17.348 12.1584 17.348 11.8418 17.1528 11.6465L13.1528 7.64652Z",fill:"#22202F"})]})},42056:(e,t,s)=>{"use strict";s.d(t,{B:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"40",height:"41",viewBox:"0 0 40 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("g",{filter:"url
1(#filter0_b_2137_3313)",children:(0,l.jsxs)("g",{clipPath:"url(#clip0_2137_3313)",children:[(0,l.jsx)("path",{d:"M27.7273 28.4868C32.6713 23.5413 36.2224 18.1733 37.9792 13.5098C39.7538 8.79924 39.6338 5.00904 37.6033 2.97847C35.5727 0.947908 31.783 0.828481 27.0734 2.60403C22.4109 4.36182 17.0442 7.91425 12.1002 12.8598C7.15614 17.8053 3.60505 23.1734 1.84823 27.8368C0.0736519 32.5474 0.193632 36.3376 2.2242 38.3682C4.25476 40.3987 8.04441 40.5182 12.754 38.7426C17.4165 36.9848 22.7832 33.4324 27.7273 28.4868Z",stroke:"#041C1B"}),(0,l.jsx)("path",{d:"M12.0994 28.4868C7.15536 23.5413 3.60426 18.1733 1.84744 13.5098C0.0728643 8.79924 0.192844 5.00904 2.22341 2.97847C4.25397 0.947908 8.04362 0.828481 12.7532 2.60403C17.4157 4.36182 22.7824 7.91425 27.7265 12.8598C32.6705 17.8053 36.2216 23.1734 37.9784 27.8368C39.753 32.5474 39.633 36.3376 37.6025 38.3682C35.5719 40.3987 31.7823 40.5182 27.0726 38.7426C22.4102 36.9848 17.0435 33.4324 12.0994 28.4868Z",stroke:"#041C1B"}),(0,l.jsx)("circle",{cx:"3",cy:"3",r:"3",transform:"matrix(1 0 0 -1 17 23.3848)",fill:"#FFC942"})]})}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("filter",{id:"filter0_b_2137_3313",x:"-100",y:"-99.6152",width:"240",height:"240",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"50"}),(0,l.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_2137_3313"}),(0,l.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_2137_3313",result:"shape"})]}),(0,l.jsx)("clipPath",{id:"clip0_2137_3313",children:(0,l.jsx)("path",{d:"M0 2.88477C0 1.50405 1.11929 0.384766 2.5 0.384766H40V40.3848H2.5C1.11929 40.3848 0 39.2655 0 37.8848V2.88477Z",fill:"white"})})]})]})},42128:(e,t,s)=>{"use strict";s.d(t,{Bf:()=>u,eS:()=>m,vm:()=>v});var l=s(95155),a=s(12115),n=s(48860),i=s(32816),r=s(55956),o=s(69686),c=s(42270),d=s(9683),x=s.n(d);let m=e=>{let{isActive:t,isPaused:s,label:a,image:n,onClick:r,showImageThumbail:d}=e;return(0,l.jsxs)("button",{className:(0,c.cn)("bg-nova-transparency-white-10 relative px-2 py-4 flex-wrap md:px-6 md:py-4 lg:p-6 rounded",{"bg-nova-base-solid-20":t}),onClick:r,"aria-label":a,children:[t&&!s&&(0,l.jsx)("div",{className:(0,c.cn)("absolute bg-nova-transparency-black-10 top-0 left-0 h-full rounded",x().progressAnimation)}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[d&&(0,l.jsx)(i.A,{src:null!=n?n:"",alt:a,className:"h-[16px] w-[16px] rounded-full"}),(0,l.jsx)(o.TextElementNova,{element:"h4",className:(0,c.cn)("CTA-20-Dia-Normal",t?"initial":"text-nova-base-white"),text:a})]})]})},u=e=>{let{src:t,alt:s}=e;return(0,l.jsx)(i.A,{src:t,alt:s,className:"w-full h-auto md:h-full object-cover rounded-sm md:rounded-none"})}
1,h=e=>{let{name:t,image:s,description:a,isFirst:n}=e;return(0,l.jsx)("div",{className:(0,c.cn)("p-4 px-2 md:p-4 md:px-2 md:pb-6 lg:p-6 lg:px-10",!n&&"border-t border-nova-transparency-black-20"),children:s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"relative flex flex-row items-center gap-4",children:[(0,l.jsx)(i.A,{src:"".concat(s,"&w=112"),alt:"",className:"w-[69px] h-[46px] md:w-[85px] md:h-[57px] lg:w-[100px] lg:h-[67px] rounded object-cover"}),(0,l.jsx)(o.TextElementNova,{className:"Body-20-Dia-Normal",text:t})]}),(0,l.jsx)("div",{className:"mt-4 md:mt-6 mx-4 md:mx-6",children:(0,l.jsx)(o.TextElementNova,{className:"Body-10-Dia-Normal",text:a})})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"relative flex flex-row items-center gap-4",children:(0,l.jsx)(o.TextElementNova,{className:"Body-20-Dia-Normal",text:t})}),(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(o.TextElementNova,{className:"Body-10-Dia-Normal",text:a})})]})})},p=e=>{let{title:t,children:s,theme:a,section:n}=e;return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("div",{className:(0,c.cn)("p-4 text-center rounded-t-sm border-t border-x border-nova-transparency-black-20","men"===a?"bg-nova-brand-darkblue-60":"bg-nova-base-solid-20"),children:"men"===a?(0,l.jsx)(r.TextElementMen,{element:"h2",className:"Caption-10-Dia-Mono text-nova-base-white",text:t}):(0,l.jsx)(o.TextElementNova,{element:"h2",text:t,className:"synergenComplex"===n?"Body-30-Dia-Strong":"Body-20-Dia-Strong"})}),(0,l.jsx)("div",{className:"border border-nova-transparency-black-20 rounded-b-sm",children:s})]})},v=e=>{let{closeModal:t,data:s,theme:i}=e;return(0,l.jsx)(n.e,{title:s.title,hideModal:t,children:(0,l.jsxs)("div",{className:"flex flex-wrap mx-auto w-full gap-8 md:gap-10",children:[!!s.caDisclaimer&&(0,l.jsx)(o.TextElementNova,{className:"Body-10-Dia-Normal",text:s.caDisclaimer}),!!s.synergenComplex&&(0,l.jsx)(p,{title:s.synergenComplex.title,theme:i,section:"synergenComplex",children:s.synergenComplex.items.map((e,t)=>(0,a.createElement)(h,{...e,isFirst:0===t,key:e.name}))}),!!s.keyActives&&(0,l.jsx)(p,{title:s.keyActives.title,theme:i,children:s.keyActives.items.map((e,t)=>(0,a.createElement)(h,{...e,isFirst:0===t,key:e.name}))}),!!s.supportingIngredients&&(0,l.jsx)(p,{title:s.supportingIngredients.title,theme:i,children:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-px bg-nova-transparency-black-20",children:[s.supportingIngredients.items.map(e=>(0,l.jsx)("div",{className:"p-4 text-center bg-nova-base-white",children:(0,l.jsx)(o.TextElementNova,{className:"Body-10-Dia-Normal",text:e})},e)),s.supportingIngredients.items.length%2!=0&&(0,l.jsx)("div",{className:"relative z-10 bg-nova-base-white  -mb-px h-[calc(100%+1px)] w-[calc(100%+2px)]","aria-hidden":"true"})]})})]})})}},45961:(e,t,s)=>{"use strict";s.d(t,{k:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0 3.2C0 2.0799 0 1.51984 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.51984 0 2.0799 0 3.2 0H20.8C21.9201 0 22.4802 0 22.908 0.217987C23.2843 0.409734 23.5903 0.715695 23.782 1.09202C24 1.51984 24 2.0799 24 3.2V20.8C24 21.9201 24 22.4802 23.782 22.908C23.5903 23.2843 23.2843 23.5903 22.908 23.782C22.4802 24 21.9201 24 20.8 24H3.2C2.0799 24 1.51984 24 1.09202 23.782C0.715695 23.5903 0.409734 23.2843 0.217987 22.908C0 22.4802 0 21.9201 0 20.8V3.2Z",fill:"#DBE0E4",className:"icon-bg"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8472 7.64652L11.2008 7.29297L11.9079 8.00008L11.5543 8.35363L8.40853 11.4995H16.8008H17.3008V12.4995H16.8008H8.40727L11.5543 15.6465L11.9079 16.0001L11.2008 16.7072L10.8472 16.3536L6.84719 12.3536C6.65203 12.1584 6.65203 11.8418 6.84719 11.6465L10.8472 7.64652Z",fill:"#22202F"})]})},48363:(e,t,s)=>{"use strict";s.d(t,{Q:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0 3.2C0 2.0799 0 1.51984 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.51984 0 2.0799 0 3.2 0H20.8C21.9201 0 22.4802 0 22.908 0.217987C23.2843 0.409734 23.5903 0.715695 23.782 1.09202C24 1.51984 24 2.0799 24 3.2V20.8C24 21.9201 24 22.4802 23.782 22.908C23.5903 23.2843 23.2843 23.5903 22.908 23.782C22.4802 24 21.9201 24 20.8 24H3.2C2.0799 24 1.51984 24 1.09202 23.782C0.715695 23.5903 0.409734 23.2843 0.217987 22.908C0 22.4802 0 21.9201 0 20.8V3.2Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M14.4001 12H9.6001",stroke:"#041C1B",strokeLinecap:"square",strokeLinejoin:"round"})]})},56928:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var l=s(95155);s(12115);var a=s(42056),n=s(22418),i=s(94488),r=s(55956),o=s(69686),c=s(42270);let d={AtomSmall:a.B,PillSmall:n.h,StudySmall:i.N},x=e=>{let{icon:t,title:s,theme:a="master"}=e,n=d[t];
1return(0,l.jsxs)("div",{className:(0,c.cn)("flex flex-col gap-4 items-center md:w-full xl:flex-row xl:w-1/3","pt-4 pb-2  xl:pt-6 xl:pb-6","master"===a?"flex-1":"w-[107px]"),children:[(0,l.jsx)("div",{className:"min-h-10 min-w-10 mx-auto lg:mx-0 lg:h-12 lg:min-w-12 [&>svg]:w-full [&>svg]:h-full",children:n&&(0,l.jsx)(n,{})}),(0,l.jsx)("p",{className:"",children:"men"===a?(0,l.jsx)(r.TextElementMen,{text:s,element:"span",className:"Caption-10-Dia-Uppercase inline-block text-center xl:text-left"}):(0,l.jsx)(o.TextElementNova,{text:s,element:"span",className:"inline-block text-center xl:text-left",classes:{default:"Body-10-Dia-Normal",1024:"Body-20-Dia-Normal",1280:"Body-20-Dia-Normal"}})})]})},m=e=>{let{data:t,className:s,theme:a="master"}=e;return(0,l.jsx)("div",{className:(0,c.cn)("flex flex-row justify-between","master"===a?"gap-2 xl:gap-6":"gap-1 xl:gap-8 justify-evenly",s),children:t.map((e,t)=>(0,l.jsx)(x,{icon:e.icon,title:e.title,theme:a},t))})}},59776:(e,t,s)=>{"use strict";s.d(t,{A:()=>k});var l=s(95155),a=s(12115),n=s(67370),i=s(52654),r=s(51162),o=s(53325),c=s(69686),d=s(70405),x=s(20556),m=s(32006),u=s(52876);let h="https://nutrafol.com/",p="Error getting cart quote. Please proceed to cart.";var v=s(54554),j=s(6829),f=s(42270),g=s(50976),N=s(74078),b=s(32816);let w=e=>{let{item:t}=e,{image:s,bundled_price:a,price:n,old_price:i,name:r,tag:o,info:d}=t;return(0,l.jsxs)("div",{className:(0,f.cn)("flex items-center"),children:[(0,l.jsx)("div",{className:(0,f.cn)("mr-4 w-20"),children:(0,l.jsx)(b.A,{src:s.url,alt:r,className:r})}),(0,l.jsxs)("div",{className:(0,f.cn)("flex flex-1 flex-col gap-1"),children:[(0,l.jsxs)("div",{className:"flex w-full",children:[(0,l.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,l.jsx)(c.TextElementNova,{text:r,className:"Body-20-Dia-Strong"}),(0,l.jsx)("div",{children:o?(0,l.jsx)(N.A,{data:{line:o,classes:"bg-nova-brand-accent-80"}}):null})]}),(0,l.jsx)("div",{className:"ml-auto",children:(0,l.jsx)(c.TextElementNova,{text:"$".concat((0,f.$g)(n||a)),className:"Body-20-Dia-Strong"})})]}),(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{children:(0,l.jsx)(c.TextElementNova,{text:d,className:"Body-10-Dia-Normal text-nova-transparency-black-60"})}),(0,l.jsx)("div",{className:"ml-auto",children:(0,l.jsx)(c.TextElementNova,{text:"$".concat(i),className:"Body-10-Dia-Normal  text-nova-transparency-black-60 line-through"})})]})})]})]})},C="View Cart",y="Checkout",_=()=>(0,l.jsxs)("div",{className:(0,f.cn)("flex  gap-2 items-center"),children:[(0,l.jsx)("div",{children:(0,l.jsx)(i.N,{className:"text-nova-brand-primary-80"})}),(0,l.jsx)("div",{children:(0,l.jsx)(c.TextElementNova,{text:"Item added to cart",className:"Body-20-Dia-Strong text-nova-brand-primary-80"})})]}),k=e=>{let{upsellOption:t,purchaseSource:s="todo",upsellCoupon:i,UPSELL_COMBO_PROPS:N,UPSELL_SOURCE:b,UPSELL_ITEM_PROPS:k,DESCRIPTION:B,REFS:T=null}=e,E=(0,v.m)(),{cartData:S}=(0,a.useContext)(d.A),{isLoggedIn:D}=(0,a.useContext)(x.Ay),{isSubmitted:A,upsellAdded:L,message:M,toggleUpsell:R}=function(e){let{upsellOption:t,upsellCoupon:s,purchaseSource:l,comboProps:n,source:i,isFirstRender:r}=e,[o,c]=(0,a.useState)(!1),[d,x]=(0,a.useState)(!1),[v,j]=(0,a.useState)(null);(0,a.useEffect)(()=>{r||(0,u.a5)(d?"Upsell Product Added":"Upsell Product Removed",{products:[{...n}],source:i})},[d,n,i,r]);let f=async()=>{let e=d?t.sku:n.sku,a=d?l:i,r=(0,m.V)(),o={skus:e,purchase_source:a,code:s,...null!==r&&{masked_id:r}};try{await fetch("".concat(h,"rest/V1/repack/add_to_cart/"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)}),x(!d),c(!1)}catch(e){c(!1),j("Error adding product to cart. Please proceed to cart."),window.console.error("Error adding:",e)}},g=async()=>{if(!o){j(null),c(!0);try{let a=await fetch("".concat(h,"rest/V1/nutrafol-carts/")),i=await a.json();if("object"!=typeof i){var e,s,l;let a=JSON.parse(i),r=d?null==(e=a.items)?void 0:e[n.sku]:null==(s=a.items)?void 0:s[t.sku],o=null==r?void 0:r.quote,x=null==a||null==(l=a.totals)?void 0:l.cart_id;if(r&&o&&x){let e={Accept:"application/json","Content-Type":"application/json; charset=UTF-8",Authorization:"Bearer ".concat("qzylitg2be1sbu41cr86oqtv6amsa9ht")},t="".concat(h,"rest/V1/carts/").concat(x,"/items/").concat(o.quote_item_id);1===o.qty?await fetch(t,{method:"DELETE",credentials:"include",headers:e}):await fetch(t,{method:"PUT",credentials:"include",headers:e,body:JSON.stringify({cartItem:{quoteId:Number(x),qty:o.qty-1}})}),f()}else j("Error removing original product. Please proceed to cart."),c(!1)}else j(p),c(!1)}catch(e){j(p),c(!1),window.console.error("toggleUpsell error:",e)}}};return{isSubmitted:o,upsellAdded:d,message:v,toggleUpsell:g}}({upsellOption:t,upsellCoupon:i,comboProps:N,source:b,isFirstRender:E,purchaseSource:s}),I=L?N.price:t.bundled_price;return t.info="Hair Growth Nutraceutical",(0,l.jsxs)("div",{children:[L&&A&&(0,l.jsx)(o.A,{}),(0,l.jsxs)("div",{className:(0,f.cn)("flex flex-col"),children:[(0,l.jsx)(c.TextElementNova,{text:"Your foundation for hair growth.",className:"pb-6 Body-30-Dia-Strong"}),(0,l.jsx)(w,{item:t}),(0,l.jsx)("div",{className:"py-6",children:(0,l.jsx)(_,{})}),(0,l.jsx)(n.A,{}),(0,l.jsx)(c.TextElementNova,{text:"Maximize your hair health potential.",className:"py-6 Body-20-Dia-Strong"}),(0,l.jsx)(w,{item:k}),(0,l.jsx)(c.TextElementNova,{text:B,className:"py-4 Body-10-Dia-Normal"}),M&&(0,l.jsx)(c.TextElementNova,{text:M,className:"py-6 Body-10-Dia-Strong text-nova-functional-error"}),L?(0,l.jsxs)("div",{className:"flex py-2",children:[(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(_,{})}),(0,l.jsx)(r.ButtonNova,{level:"Textlink",className:"",onClick:R,label:"Remove"})]}):(0,l.jsx)(r.ButtonNova,{width:"100%",loading:A,onClick:R,label:"Add to Subscription",className:(0,f.cn)(A&&"disabled")}),(0,l.jsx)("div",{className:"py-6",children:(0,l.jsx)(n.A,{})}),(0,l.jsxs)("div",{className:"flex w-full",children:[(0,l.jsx)(c.TextElementNova,{text:"Hair Health Plan",className:"Body-20-Dia-Strong"}),(0,l.jsx)(c.TextElementNova,{text:"$".concat(I,"/mo"),className:"ml-auto Body-20-Dia-Strongb"})]}),(0,l.jsx)(c.TextElementNova,{text:"Monthly Subscription",className:"flex w-full pt-1 Body-10-Dia-Normal text-nova-transparency-black-60"})]}),(0,l.jsxs)("div",{className:(0,f.cn)("flex flex-wrap w-full mt-8 justify-center"),children:[(0,l.jsx)("div",{className:"w-1/2 pr-1",children:(0,l.jsx)(r.ButtonNova,{onClick:()=>{(0,u.a5)("Marketing CTA Clicked",{destination:"/checkout/cart/",text:C,type:"button"}),setTimeout(()=>{window.location.href="/checkout/cart/"},500)},label:C,width:"100%",level:"Secondary"})}),(0,l.jsx)("div",{className:"w-1/2  pl-1",children:(0,l.jsx)(r.ButtonNova,{width:"100%",icon:"Right",label:y,onClick:()=>{(0,u.a5)("Marketing CTA Clicked",{destination:"/checkout/",text:y,type:"button"}),setTimeout(()=>{var e,t,s,l,a,n;let i=D?void 0:null!=(n=null!=(a=null==S||null==(e=S.totals)?void 0:e.masked_i
1d)?a:(0,j.v8)("masked_id"))?n:void 0,r=(null==S?void 0:S.items)?null==(l=Object.values(null==S?void 0:S.items))||null==(s=l[0])||null==(t=s.quote)?void 0:t.quote_id:void 0;(0,g.X)({maskedId:i,quote_id:r})},500)}})})]}),T&&(0,l.jsx)(c.TextElementNova,{text:T,className:"Body-10-Dia-Normal text-nova-transparency-black-60 mt-8"})]})}},74891:e=>{e.exports={accordion:"RootCauses_accordion__3v7uz",accordionSection:"RootCauses_accordionSection__AIdsM",expanded:"RootCauses_expanded__saXQI",accordionBody:"RootCauses_accordionBody__oSO8C",animationArea:"RootCauses_animationArea__zapgI",sliderControls:"RootCauses_sliderControls__Sm0Nk",disabled:"RootCauses_disabled__jXRDk",slideWrapper:"RootCauses_slideWrapper__bdIui",slideTrack:"RootCauses_slideTrack__ZWl8V",causeText:"RootCauses_causeText__2RSWp",divider:"RootCauses_divider__XOCFg",dots:"RootCauses_dots__FHBB8",dot:"RootCauses_dot__8jq1e",slide:"RootCauses_slide__fzWPG"}},94488:(e,t,s)=>{"use strict";s.d(t,{N:()=>a});var l=s(95155);let a=e=>(0,l.jsxs)("svg",{width:"40",height:"41",viewBox:"0 0 40 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("g",{filter:"url(#filter0_b_2137_3322)",children:(0,l.jsxs)("g",{clipPath:"url(#clip0_2137_3322)",children:[(0,l.jsx)("path",{d:"M0.666748 19.5892C0.666748 19.5892 20.0001 19.7705 20.0001 39.0514C20.0001 19.8165 39.3334 19.5892 39.3334 19.5892C19.9155 19.5892 19.8915 0.384766 19.8915 0.384766C19.8915 19.8446 0.666748 19.5892 0.666748 19.5892Z",stroke:"#041C1B",strokeMiterlimit:"10"}),(0,l.jsx)("circle",{cx:"2.5",cy:"2.5",r:"2.5",transform:"matrix(1 0 0 -1 17.5 22.3848)",fill:"#FFC942"}),(0,l.jsx)("circle",{cx:"20",cy:"20",r:"19.5",transform:"matrix(1 0 0 -1 0 40.3848)",stroke:"#041C1B"})]})}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("filter",{id:"filter0_b_2137_3322",x:"-100",y:"-99.6152",width:"240",height:"240",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,l.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"50"}),(0,l.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_2137_3322"}),(0,l.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_2137_3322",result:"shape"})]}),(0,l.jsx)("clipPath",{id:"clip0_2137_3322",children:(0,l.jsx)("path",{d:"M0 2.88477C0 1.50405 1.11929 0.384766 2.5 0.384766H40V40.3848H2.5C1.11929 40.3848 0 39.2655 0 37.8848V2.88477Z",fill:"white"})})]})]})},97088:(e,t,s)=>{"use strict";s.d(t,{default:()=>y});var l=s(95155),a=s(12115),n=s(55956),i=s(69686),r=s(42270),o=s(52876),c=s(48363),d=s(5779),x=s(74891),m=s.n(x);let u=e=>{let{causes:t,activeIndex:s,handleAccordionClick:a,isMen:o=!1,minusIconColor:x="text-nova-base-solid-20",plusIconColor:u="text-nova-base-solid-20",hideExpandedIcon:h=!1}=e;return(0,l.jsx)("div",{className:m().accordion,children:t.map((e,t)=>{let p=t===s;return(0,l.jsxs)("div",{className:(0,r.cn)(m().accordionSection,{[m().expanded]:p}),children:[(0,l.jsxs)("button",{onClick:()=>a(t),"aria-label":p?"Collapse":"Expand",children:[o?(0,l.jsx)(n.TextElementMen,{element:"span",text:e.name,className:"Title-10-Super-Normal uppercase"}):(0,l.jsx)(i.TextElementNova,{element:"span",text:e.name,className:"Body-30-Dia-Strong"}),p?(0,l.jsx)(c.Q,{className:(0,r.cn)(x,h&&"hidden")}):(0,l.jsx)(d.c,{className:u})]}),p?(0,l.jsx)("div",{className:m().accordionBody,children:(0,l.jsx)(i.TextElementNova,{element:"span",text:e.shortDescription,className:"Body-20-Dia-Normal"})}):null]},t)})})};var h=s(39957),p=s(47605),v=s(12389);let j=e=>{let{activeIndex:t,totalSlides:s,longestDescription:a,currentDescription:n,onPrev:o,onNext:c,disablePrev:d,disableNext:x}=e;return(0,l.jsxs)("div",{className:"max-w-[640px] text-center w-full mx-auto px-4 md:px-10 lg:px-6 lg:mt-14 xl:mt-20 min-[1520px]:p-0",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(i.TextElementNova,{element:"span",text:n,className:"Body-20-Dia-Normal text-nova-base-white absolute top-0 left-0 right-0"}),(0,l.jsx)(i.TextElementNova,{element:"span",text:a,className:"Body-20-Dia-Normal text-nova-base-white block invisible"})]}),(0,l.jsxs)("div",{className:(0,r.cn)(m().sliderControls,"flex lg:hidden"),children:[(0,l.jsx)("button",{className:(0,r.cn)("btn-prev",{[m().disabled]:d}),onClick:o,"aria-label":"Previous",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.91711 4.32614C7.07332 4.16993 7.32658 4.16993 7.48279 4.32614C7.639 4.48235 7.639 4.73562 7.48279 4.89183L4.16622 8.2084H12.8C13.0209 8.2084 13.2 8.38748 13.2 8.6084C13.2 8.82931 13.0209 9.0084 12.8 9.0084H4.16505L7.48279 12.3261C7.639 12.4824 7.639 12.7356 7.48279 12.8918C7.32658 13.048 7.07332 13.048 6.91711 12.8918L2.91711 8.89183C2.7609 8.73562 2.7609 8.48235 2.91711 8.32614L6.91711 4.32614Z"})})}),(0,l.jsx)(i.TextElementNova,{text:"".concat(t+1," / ").concat(s),className:"Body-10-Dia-Normal text-nova-base-white mx-4"}),(0,l.jsx)("button",{className:(0,r.cn)("btn-next",m().sliderControlsButton,{[m().disabled]:x}),onClick:c,"aria-label":"Next",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 16",fill:"none",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.08289 4.32614C8.92668 4.16993 8.67342 4.16993 8.51721 4.32614C8.361 4.48235 8.361 4.73562 8.51721 4.89183L11.8338 8.2084H3.20005C2.97913 8.2084 2.80005 8.38748 2.80005 8.6084C2.80005 8.82931 2.97913 9.0084 3.20005 9.0084H11.8349L8.51721 12.3261C8.361 12.4824 8.361 12.7356 8.51721 12.8918C8.67342 13.048 8.92668 13.048 9.08289 12.8918L13.0829 8.89183C13.2391 8.73562 13.2391 8.48235 13.0829 8.32614L9.08289 4.32614Z"})})})]})]})},f={height:260,waves:[1,20,40,60]},g=[1,20,40,60];function N(e,t){return e/Math.max(...t.map(e=>e.value))}let b=(e,t,s)=>{let l=s+e-Math.abs(t)*(s-1);return"M0 ".concat(s,"C106 ").concat(s," 89 ").concat(l," 150 ").concat(l,"C211 ").concat(l," 193 ").concat(s," 300 ").concat(s)},w=e=>{let{y:t,index:s,factor:n,isActive:i,height:r}=e,o=(0,a.useRef)(null);return(0,h.L)(()=>
1{if(o.current){let e=i?t:t+10,s=i?t+10:t;p.Ay.fromTo(o.current,{attr:{d:b(s,n,r)}},{duration:1,attr:{d:b(e,n,r)},ease:"circ.out",delay:1})}},[i,n,t,r]),(0,l.jsx)("path",{shapeRendering:"geometricPrecision",d:b(t+10,n,r),strokeLinejoin:"round",ref:o,stroke:"#fff",strokeWidth:"1",opacity:1-.25*s})};function C(e){let{causes:t,activeIndex:s,setActiveIndex:n,disabled:c,disableDuringAnimation:d}=e,x=(0,a.useRef)(null),u=(0,a.useRef)(null),b=(0,a.useRef)(null),C=(0,a.useRef)(null),[y,_]=(0,a.useState)(""),{height:k,waves:B}=(()=>{let[e,t]=(0,a.useState)(f);return(0,a.useEffect)(()=>{let e=()=>{window.innerWidth<767?t({height:Math.round(.45*window.innerWidth),waves:g}):t(f)},s=(0,r.sg)(e,250);return e(),window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s),"cancel"in s&&s.cancel()}},[]),e})();(0,a.useEffect)(()=>{_(t.reduce(function(e,t){return e.longDescription.length>t.longDescription.length?e:t}).longDescription)},[t]),(0,h.L)(()=>{p.Ay.timeline({}).fromTo(b.current,{opacity:1},{opacity:0,duration:.3}).fromTo(b.current,{opacity:0},{opacity:1,duration:.3,delay:.5},1)});let T=(0,a.useCallback)(()=>{var e,l;if(!b.current||!C.current||!(null==(l=u.current)||null==(e=l.innerSlider)?void 0:e.list))return;let a=(k+8)*N(t[s].value,t)-t[s].value;p.Ay.to(C.current,{ease:"circ.out",duration:1,y:-Math.abs(a)-C.current.offsetHeight/2})},[s,t,k]);return(0,h.L)(()=>{setTimeout(()=>{T()})},{dependencies:[s,t,k]}),(0,a.useEffect)(()=>{if(!u.current)return;let e=(0,r.sg)(()=>T(),250);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[t,T]),(0,a.useEffect)(()=>{if(!u.current)return;let e=setTimeout(()=>{var e;null==(e=u.current)||e.slickGoTo(s,!1)},50);return()=>clearTimeout(e)},[s]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:m().animationArea,children:(0,l.jsxs)("div",{ref:x,className:m().slideWrapper,children:[(0,l.jsx)("div",{ref:b,className:(0,r.cn)(m().causeText," relative z-10 mb-12 md:mb-[112px] lg:mb-8"),children:(0,l.jsx)(i.TextElementNova,{text:t[s].name,className:"Caption-10-Dia-Mono text-nova-base-white"})}),(0,l.jsx)("div",{className:m().divider}),(0,l.jsxs)("div",{className:m().slideTrack,style:{maxHeight:"".concat(k+8,"px")},children:[(0,l.jsx)(v.A,{...{dots:!1,infinite:!0,slidesToScroll:1,arrows:!1,speed:1e3,slidesToShow:1,centerMode:!0,variableWidth:!0,autoplay:!1,touchMove:!1,beforeChange:(e,t)=>
1{n(t)},responsive:[{breakpoint:1024,settings:{slidesToShow:1,touchMove:!0}}]},ref:u,children:t.map((e,a)=>{let n=N(e.value,t);return(0,l.jsx)("div",{className:(0,r.cn)(m().slide,"w-1/3 md:w-1/3 lg:w-1/3 xl:w-1/2"),children:(0,l.jsx)("svg",{width:"100%",viewBox:"0 0 300 ".concat(k),fill:"none",style:{transform:"translate3d(0px, 0px, 0px)"},children:B.map((e,t)=>(0,l.jsx)(w,{isActive:a===s,y:e,index:t,factor:n,height:k},t))})},a)})}),(0,l.jsxs)("div",{className:m().dots,children:[(0,l.jsx)("div",{ref:C,className:m().dot}),(0,l.jsx)("div",{className:(0,r.cn)(m().dot)})]})]})]})}),(0,l.jsx)(j,{activeIndex:s,totalSlides:t.length,longestDescription:y,currentDescription:t[s].longDescription,onPrev:()=>{var e;0===s||c||(d(),null==(e=u.current)||e.slickPrev(),(0,o.a5)("Carousel Clicked",{module_location:"mid_fold",module_name:"Root Causes",slide_name:t[s].name,slide_number:s+1,arrow:"left"}))},onNext:()=>{var e;s===t.length-1||c||(d(),null==(e=u.current)||e.slickNext(),(0,o.a5)("Carousel Clicked",{module_location:"mid_fold",module_name:"Root Causes",slide_name:t[s].name,slide_number:s+1,arrow:"right"}))},disablePrev:0===s,disableNext:s===t.length-1})]})}let y=e=>{let{data:t,theme:s="master"}=e,[c,d]=(0,a.useState)(!1),[x,m]=(0,a.useState)(0),h="men"===s,{title:p,subtitle:v,backgroundImage:j}=t,f=t.subtitleCls?t.subtitleCls:h?"lg:max-w-[1152px]":"lg:max-w-[760px]",g=()=>{d(!0),setTimeout(()=>{d(!1)},1100)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"text-center mx-auto max-w-[1152px]",children:[h?(0,l.jsx)(n.TextElementMen,{text:p,element:"h2",className:"Title-30-Super-Normal uppercase"}):(0,l.jsx)(i.TextElementNova,{text:p,element:"h2",className:"Title-20-Super-Normal"}),(0,l.jsx)("div",{className:(0,r.cn)("pt-4 pb-8 md:pt-6 lg:pb-20 mx-auto",f),children:(0,l.jsx)(i.TextElementNova,{text:v,className:"Body-30-Dia-Normal"})})]}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)(u,{causes:t.causes,activeIndex:x,handleAccordionClick:e=>{c||(g(),m(e),(0,o.a5)("Root Cause Accordion Clicked",{module_location:"mid_fold",text:t.causes[e].name}))},isMen:h,minusIconColor:"text-nova-brand-accent-80",hideExpandedIcon:null==t?void 0:t.hideExpandedIcon}),(0,l.jsx)("div",{className:(0,r.cn)("flex-1 overflow-hidden pb-8 md:pb-10 rounded-sm lg:rounded-l-none",j?"bg-cover bg-top md:bg-center":"bg-nova-base-black"),style:{backgroundImage:j?"url(".concat(j,")"):"none"},children:(0,l.jsx)(C,{causes:t.causes,activeIndex:x,setActiveIndex:m,disabled:c,setDisabled:d,disableDuringAnimation:g})})]})]})}},97790:(e,t,s)=>{"use strict";s.d(t,{default:()=>x});var l=s(95155),a=s(12115),n=s(51162),i=s(55956),r=s(69686),o=s(42270),c=s(52876),d=s(42128);let x=e=>{let{data:t,theme:s="master"}=e,x="men"===s,[m,u]=(0,a.useState)(0),[h,p]=(0,a.useState)(null),[v,j]=(0,a.useState)(!1),[f,g]=(0,a.useState)(!1),N=()=>{h&&clearInterval(h)};(0,a.useEffect)(()=>(v||p(setInterval(()=>{u(e=>(e+1)%t.ingredients.length)},5e3)),()=>N()),[v]),(0,a.useEffect)(()=>{m>=t.ingredients.length&&(u(0),j(!1))},[m,t.ingredients.length,j]);let b=(e,s)=>{N(),j(!0),u(s);let l={module_location:"mid_fold",module_name:t.header,type:"button",text:e};(0,c.a5)("Module Tab Clicked",l)};return m>=t.ingredients.length?null:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:(0,o.cn)("p-10 px-6 md:p-12 md:px-8 lg:p-20 lg:px-28",x?"bg-nova-brand-darkblue-100":"bg-nova-base-black"),children:[(0,l.jsxs)("div",{className:"max-w-[1600px] mx-auto",children:[(0,l.jsx)("div",{className:"mb-10 lg:mb-20 mx-auto",children:x?(0,l.jsx)(i.TextElementMen,{text:t.header,className:(0,o.cn)("Title-30-Super-Normal text-nova-base-white text-center mx-auto md:px-8",t.headerCls||""),element:"h2"}):(0,l.jsx)(r.TextElementNova,{text:t.header,className:(0,o.cn)("Title-20-Super-Normal text-nova-base-white text-center mx-auto md:px-8",t.headerCls||""),element:"h2"})}),(0,l.jsx)("div",{className:"flex flex-wrap gap-2 mb-6 lg:hidden",children:t.ingredients.map((e,t)=>(0,l.jsx)(d.eS,{isActive:m===t,isPaused:v,label:e.name,image:e.image,onClick:()=>b(e.name,t),showImageThumbail:x},e.name))}),(0,l.jsxs)("div",{className:"flex max-w-[1376px] mx-auto flex-col-reverse md:flex-row md:items-stretch",children:[(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-col md:w-1/2 md:border md:rounded-l md:border-r-0 md:justify-center lg:justify-between lg:p-6 xl:p-20",x?"md:border-nova-transparency-white-40":"md:border-nova-transparency-white-20"),children:[(0,l.jsx)("div",{className:"hidden flex-wrap gap-2 mb-10 lg:flex",children:t.ingredients.map((e,t)=>(0,l.jsx)(d.eS,{isActive:m===t,isPaused:v,label:e.name,image:e.image,onClick:()=>b(e.name,t),showImageThumbail:x},e.name))}),(0,l.jsx)("div",{className:"relative mb-4 rounded md:hidden",children:(0,l.jsx)(d.Bf,{src:t.ingredients[m].image,alt:t.ingredients[m].name})}),(0,l.jsx)("div",{className:"flex pb-6 border-b border-nova-transparency-white-20 md:pb-0 md:border-b-0 md:max-w-[234px] md:self-center lg:max-w-none lg:self-start",children:x?(0,l.jsx)(i.TextElementMen,{className:"text-nova-base-white",text:t.ingredients[m].description,classes:{default:"Body-20-Dia-Normal",768:"Body-20-Dia-Normal",1024:"Body-30-Dia-Normal"}}):(0,l.jsx)(r.TextElementNova,{className:"text-nova-base-white",text:t.ingredients[m].description,classes:{default:"Body-20-Dia-Normal",768:"Body-20-Dia-Normal",1024:"Body-30-Dia-Normal"}})})]}),(0,l.jsx)("div",{className:"w-full md:w-1/2 relative flex-shrink-0 hidden md:block md:rounded-r md:overflow-hidden",children:(0,l.jsx)("div",{className:"relative h-auto md:h-full",children:(0,l.jsx)(d.Bf,{src:t.ingredients[m].image,alt:t.ingredients[m].name})})})]}),!!t.modal&&(0,l.jsx)("div",{className:"flex md:justify-center [&_.textelement]:text-nova-base-white",children:(0,l.jsx)(n.ButtonNova,{level:"Tertiary",icon:"Left",className:"mt-10 md:mx-auto lg:mt-20",label:t.modal.buttonLabel,onClick:()=>{var e;e=t.modal.buttonLabel,g(!0),(0,c.a5)("Modal Viewed",{name:e})}})})]}),f&&(0,l.jsx)(d.vm,{closeModal:()=>g(!1),data:t.modal,theme:s})]})})}}}]);

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.