1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5277,5461],{45461:function(e,t,l){"use strict";l.r(t);var r=l(85893),i=l(19845),a=l.n(i),o=l(56472),s=l(71886),n=l(43971),c=l(99663),u=l(23607),d=l(13568),h=l(45669),g=l(15665),_=l(93241),p=l(4607),m=l.n(p);let b=a().bind(m());t.default=e=>{let{data:t,titleId:l}=e,{title:i,description:a,signpost:p,alignment:m,typeface:x,style:f,cta:y,color_mode:{color_mode:C},heading_tag:j,highlight_color:k,signpost_highlight_color:v,supporting_text:N,anchor_id:P}=t,{title:w,url:Z,enable_custom_style:B,color_mode:S}=y||{},L=b("calloutBlock",m),H="emphasis"===f,I="alternate"===x,E=b("body",H&&"fullWidth",H?I?"u-displayAlt u-strong":"u-display u-strong":I?"u-bodyAltXlarge":"u-bodyXlarge");return(0,r.jsx)("section",{...(0,g.d)(P),className:b("u-sectionPadding-h","section",(0,c.qi)(C)),children:(0,r.jsxs)("div",{className:L,"data-testid":"calloutBlock",children:[p&&(0,r.jsx)("p",{className:"u-signpost",children:(0,r.jsx)(s.Z,{text:p,highlightColor:(v??k)?.color_mode})}),(e=>{if(!e)return null;if(j){let t=(0,h.xM)(j);return u.Qb===_.r.WELLA_PROFESSIONALS.toString()||u.Qb===_.r.NIOXIN_PRO_CLINICAL.toString()?(0,r.jsx)(t,{id:l,className:b("body","fullWidth","u-h2"),children:(0,r.jsx)(s.Z,{text:e,highlightColor:k?.color_mode})}):(0,r.jsx)(t,{id:l,className:E,children:(0,r.jsx)(s.Z,{text:e,highlightColor:k?.color_mode})})}return u.Qb===_.r.WELLA_PROFESSIONALS.toString()?(0,r.jsx)("h2",{id:l,className:b("body","fullWidth"),children:(0,r.jsx)(s.Z,{text:e,highlightColor:k?.color_mode})}):H?(0,r.jsx)("h2",{id:l,className:E,children:(0,r.jsx)(s.Z,{text:e,highlightColor:k?.color_mode})}):(0,r.jsx)("p",{className:E,children:(0,r.jsx)(s.Z,{text:e,highlightColor:k?.color_mode})})})(i),a&&(0,r.jsx)("p",{className:b("description"),children:a}),N&&(0,r.jsx)(n.Z,{text:N,className:b("supportingText")}),w&&Z&&(0,r.jsx)(o.Z,{label:w,href:Z,type:o.L.SECONDARY,onClick:()=>{(0,d.NF)({pageName:document.title,pageUrl:window.location.href,ctaLabel:w,ctaUrl:Z})},className:b(B&&S&&(0,c.Lw)(S))})]})})}},52315:function(e,t,l){"use strict";l.d(t,{Z:function(){return x}});var r=l(85893),i=l(3),a=l(19845),o=l.n(a),s=l(61798),n=l(49744),c=l(82502),u=l(49996),d=l(66628),h=l(68836),g=l.n(h);let _=o().bind(g());var p=e=>{let{categories:t}=e,{t:l}=(0,s.$G)("common"),i=(0,d.a)({minWidth:u.Z.xs});return(0,r.jsxs)("section",{className:_("section","u-sectionPadding-h"),children:[(0,r.jsx)("h2",{className:_("title","u-strong","u-h3"),children:l("categories.title")}),i?(0,r.jsx)("div",{className:_("categoriesWrap"),children:0!==t.length&&(0,r.jsx)("div",{className:_("categories"),children:t.map((e,t)=>(0,r.jsx)(c.Z,{label:e.label,href:e.href,truncated:!0},t))})}):(0,r.jsx)(n.Z,{title:l("categories.accordion-title"),children:0!==t.length&&(0,r.jsx)("div",{className:_("categories"),children:t.map((e,t)=>(0,r.jsx)(c.Z,{label:e.label,href:e.href,truncated:!0},t))})})]})},m=l(38094);let b=(e,t,l)=>e.map(e=>{let l=e.value.split(";")[0],r=e.value.split(";")[1];return{label:l,href:(0,m.xD)(t,r)}}).reduce((e,t)=>{let r=e.some(e=>e.label===t.label),i=!!l&&t.label===l;return r||i||e.push(t),e},[]).sort((e,t)=>e.label.localeCompare(t.label)),x=e=>{let{locale:t,currentCategory:l}=e,{items:a}=(0,i.c)({attribute:"categories.chip"}),{items:o}=(0,i.c)({attribute:"subCategories.chip"}),s=b(a.concat(o),t,l);return s.length>0?(0,r.jsx)(p,{categories:s}):null}},34548:function(e,t,l){"use strict";l.d(t,{Z:function(){return h}});var r=l(85893),i=l(5152),a=l.n(i);let o=a()(()=>Promise.all([l.e(2728),l.e(8981)]).then(l.bind(l,28981)),{loadableGenerated:{webpack:()=>[28981]}}),s=a()(()=>Promise.all([l.e(2467),l.e(1003),l.e(3350)]).then(l.bind(l,23350)),{loadableGenerated:{webpack:()=>[23350]}}),n=a()(()=>Promise.all([l.e(2467),l.e(1003)]).then(l.bind(l,91003)),{loadableGenerated:{webpack:()=>[91003]}}),c=a()(()=>Promise.all([l.e(2467),l.e(725)]).then(l.bind(l,40725)),{loadableGenerated:{webpack:()=>[40725]}}),u=a()(()=>Promise.all([l.e(2467),l.e(1003),l.e(5716)]).then(l.bind(l,65716)),{loadableGenerated:{webpack:()=>[65716]}}),d=a()(()=>Promise.all([l.e(2467),l.e(3577)]).then(l.bind(l,13577)),{loadableGenerated:{webpack:()=>[13577]}});var h=e=>{let{hero:t}=e;switch(t?.__component){case"heroes.default":return(0,r.jsx)(o,{hero:t});case"heroes.compact":return(0,r.jsx)(n,{hero:t,priorityHigh:!0});case"heroes.compact-text-only":return(0,r.jsx)(c,{hero:t});case"heroes.video":return(0,r.jsx)(d,{hero:t});
1case"heroes.carousel":return(0,r.jsx)(s,{heroes:t.items.map((e,t)=>({hero:{...e,__component:"heroes.compact",layout:function(e){switch(e){case"leading-media":return"leading image";case"trailing-media":case"background-media":return"trailing image"}}(e.layout),font_colour:e.font_colour,heading_tag:e.heading_tag??(0===t?"h1":"h2")},backgroundImage:"background-media"===e.layout,isFirstCarouselSlide:0===t})),fullBleed:!!t.full_bleed});case"heroes.static":return(0,r.jsx)(u,{hero:t});default:return null}}},71886:function(e,t,l){"use strict";var r=l(85893),i=l(19845),a=l.n(i),o=l(78450),s=l(20634),n=l.n(s);let c=a().bind(n()),u=e=>{switch(e){case"primary":return{bg:"--color-bg-primary"};case"primary_inverted":return{bg:"--color-bg-primary-inverse",text:"--color-fg-primary-inverse"};case"secondary":return{bg:"--color-bg-secondary"};case"secondary_inverted":return{bg:"--color-bg-secondary-inverse",text:"--color-fg-primary-inverse"};default:{let t=e.replace("accent_","");return{bg:`--color-bg-accent-${t}`}}}};t.Z=e=>{let{text:t,highlightColor:l,className:i}=e,a=(0,o.lU)(t);return a.some(e=>e.highlighted)?(0,r.jsx)("span",{className:i,children:a.map((e,t)=>{if(e.highlighted&&l){let i=u(l);return(0,r.jsx)("span",{className:c("highlight"),style:{"--highlight-color":`var(${i.bg})`,...i.text&&{"--highlight-text-color":`var(${i.text})`}},children:e.text},t)}return e.highlighted?(0,r.jsx)("span",{className:c("highlight","defaultColor"),children:e.text},t):(0,r.jsx)("span",{className:c("segment"),children:e.text},t)})}):(0,r.jsx)(r.Fragment,{children:t})}},77266:function(e,t,l){"use strict";l.d(t,{c:function(){return o}});var r=l(85893),i=l(16274),a=l(83427);let o=e=>{let{category:t,categoriesRefineBy:l="subCategories",itemListName:o,pageType:s,colorMode:n,enableBidirectionalPagination:c=!0,basePath:u,localeForCommerce:d}=e,{products:h,isLastPage:g,isFirstPage:_,showMore:p,showPrevious:m,filterHeaderProps:b,currentPage:x}=(0,a.M)({category:t,categoriesRefineBy:l,itemListName:o,useBidirectionalPagination:c,localeForCommerce:d});return(0,r.jsx)(i.ZP,{cards:h,isLastPage:g,isFirstPage:_,showMore:p,showPrevious:m,filterHeader:b,pageType:s,colorMode:n,currentPage:x,basePath:u})}},12765:function(e,t,l){"use strict";l.d(t,{m:function(){return a}});var r=l(67294),i=l(82424);let a=e=>{let{locale:t,productName:l}=e;(0,r.useEffect)(()=>{if((0,i.j)(t)){let e,t,r,i;
1"undefined"!=typeof _satellite&&_satellite.getVar&&(e=_satellite.getVar("eRetailer"),t=_satellite.getVar("pdtName"),r=_satellite.getVar("Sku")),i=e&&t?`${e} | ${t}${r?` | ${r}`:""}`:l||"Unknown Product",window.bvCallback=function(e){e.pixel.trackConversion({type:"ClickToBuy",label:"Click to Buy",value:i})}}return()=>{window.bvCallback=()=>{}}},[t,l])}},35507:function(e,t,l){"use strict";l.d(t,{v:function(){return n}});var r=l(67294),i=l(75201),a=l(13568),o=l(80371),s=l(38094);function n(e){let{items:t}=(0,i.a)(),l=(0,r.useMemo)(()=>{if(!t?.length)return[];let l=new Map;return t.forEach((t,r)=>{let i=function(e,t,l){let r=e.primaryCategory?.name||e.productLine?.name||void 0,i=e.__position??t+1;return{product:{productEvent:"prodview-listing",productID:e.superSKU,listPosition:i,currency:(0,o.i)(l),category:{primaryCategory:r,subCategory1:e.subCategories?.[0],subCategory2:e.subCategories?.[1]},productInfo:{name:e.name,sku:e.superSKU,description:e.description||""},attributes:{productUrl:(0,s.wE)(l,e.productLine?.parentCategory?.slug||e.productLine?.slug||"",e.productLine?.parentCategory?e.productLine?.slug:void 0,e.slug),productImage:e.primaryImageUrl?[e.primaryImageUrl]:[]}}}}(t,r,e);l.set(i.product.productID,i)}),Array.from(l.values())},[t,e]);(0,r.useEffect)(()=>{l.length>0&&(0,a.ae)({products:l})},[l])}},7592:function(e,t,l){"use strict";l.d(t,{P:function(){return o}});var r=l(67294),i=l(55967),a=l(52381);let o=e=>{let{queryBy:t,pinnedProducts:l,perPage:o=20}=e,s=(0,a.S)(l);return(0,r.useMemo)(()=>(0,i.d)({query:"*",additionalSearchParameters:{query_by:t,per_page:o,...s&&{pinned_hits:s,filter_curated_hits:!0}}}),[t,o,s])}},52381:function(e,t,l){"use strict";l.d(t,{F:function(){return r},S:function(){return i}});let r=e=>[...e??[]].reverse(),i=e=>e&&0!==e.length?e.filter(e=>e.documentId&&e.locale).map((e,t)=>`${e.documentId}_${e.locale}:${t+1}`).join(","):""},4607:function(e){e.exports={"u-visuallyHidden":"CalloutBlock_u-visuallyHidden__ryF8O",section:"CalloutBlock_section__xmQbY",calloutBlock:"CalloutBlock_calloutBlock__z8yhg",center:"CalloutBlock_center__90jpu",left:"CalloutBlock_left__Zjg1x",supportingText:"CalloutBlock_supportingText__n_cjW",body:"CalloutBlock_body__mYKPV",fullWidth:"CalloutBlock_fullWidth__2J9bv",description:"CalloutBlock_description___zU7Z",skeletonPulse:"CalloutBlock_skeletonPulse__AP1r1"}},68836:function(e){e.exports={"u-visuallyHidden":"Categories_u-visuallyHidden__umO0S",section:"Categories_section__Z_su8",title:"Categories_title__NMwen",categoriesWrap:"Categories_categoriesWrap___RBRq",categories:"Categories_categories__kg3JV",skeletonPulse:"Categories_skeletonPulse__xjeHR"}},20634:function(e){e.exports={"u-visuallyHidden":"HighlightedText_u-visuallyHidden__YHtlm",highlight:"HighlightedText_highlight__H8kaK",defaultColor:"HighlightedText_defaultColor__KFU3u",segment:"HighlightedText_segment___LZQm",skeletonPulse:"HighlightedText_skeletonPulse__7S1Kx"}}}]);
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.