PageSourceSearch

https://www.clairol.com/_next/static/chunks/3111.4c7cbf92a28c4d21.js

js clairol.com collected 2026-09-25 19:25:04 UTC 4,481 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3111],{33111:function(e,t,o){"use strict";o.r(t);var n=o(85893),r=o(67294),i=o(11163),a=o(19845),s=o.n(a),u=o(65375),l=o(38023),c=o.n(l);let m=s().bind(c());t.default=e=>{let{data:t}=e,{form_io_source:o}=t,a=(0,i.useRouter)(),s=(0,r.useCallback)(()=>{let e=document.querySelector(".formio-form"),t=e?.querySelectorAll("span.help-block");t?.forEach(e=>{e.style.display="none"});let o=a?.locale,n=a.basePath||"",r=o&&"default"!==o?`/${o}`:"";window.location.href=`${n}${r}/contact-us-success`},[a]);return(0,n.jsx)("section",{className:m("contactForm","u-sectionPadding-h"),children:(0,n.jsx)(u.Z,{src:o,submission:{data:{Brand:"Clairol"}},onSubmitDone:s})})}},65375:function(e,t,o){"use strict";o.d(t,{Z:function(){return k}});var n=o(85893),r=o(67294),i=o(5152),a=o.n(i),s=o(9008),u=o.n(s),l=o(19845),c=o.n(l),m=o(61798),d=o(95044),_=o.n(d);let p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"An error occurred, please try again later";if("string"==typeof e)return e;if(e instanceof Error)return e.message;if(Array.isArray(e)){let o=e.map(e=>p(e,"")).filter(Boolean);return o.length?o.join(", "):t}return e&&"object"==typeof e&&"message"in e&&e.message?String(e.message):t},f=()=>"undefined"==typeof document?null:document.querySelector(".formio-form .formio-component.formio-error-wrapper:not(.formio-hidden), .formio-form .formio-component.has-error:not(.formio-hidden)"),h=()=>{if("undefined"==typeof document)return 0;let e=document.createElement("div");e.style.position="absolute",e.style.visibility="hidden",e.style.pointerEvents="none",e.style.scrollMarginTop="var(--header-combinedHeight)",document.body.appendChild(e);let t=Number.parseFloat(getComputedStyle(e).scrollMarginTop)||0;return e.remove(),t},F=e=>{let t=h(),{top:o}=e.getBoundingClientRect(),n="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;window.scrollTo({top:Math.max(0,o+window.scrollY-t),behavior:n?"auto":"smooth"})},b=e=>{F(e);let t=e.querySelector("input:not([type='hidden']), select, textarea, button, [tabindex]:not([tabindex='-1'])");t?.focus({preventScroll:!0})},C=e=>{F(e)},y=(e,t,o)=>{window.setTimeout(()=>{let n=f();if(n){b(n);return}t(p(e,o))},0)},g=c().bind(_()),x=a()(()=>Promise.all([o.e(4885),o.e(3662),o.e(6318),o.e(7286),o.e(7557),o.e(7154)]).then(o.t.bind(o,87154,23)).then(e=>e.Form),{loadableGenerated:{webpack:()=>[87154]},ssr:!1}),v={noAlerts:!0};var k=e=>{let{options:t,onChange:o,onError:i,...a}=e,{t:s}=(0,m.$G)("common"),l=s("contactForm.error"),[c,d]=(0,r.useState)(null),_=(0,r.useRef)(null),p=(0,r.useMemo)(()=>({...v,...t}),[t]);(0,r.useEffect)(()=>{c&&_.current&&C(_.current)},[c]);let f=(0,r.useCallback)((e,t,n)=>{n&&d(null),o?.(e,t,n)},[o]),h=(0,r.useCallback)(e=>{!1===e?d(null):y(e,d,l),i?.(e)},[i,l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u(),{children:(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdn.form.io/js/formio.form.min.css"})}),(0,n.jsxs)("div",{className:g("formioForm"),children:[c?(0,n.jsx)("div",{ref:_,className:g("globalError","u-labelSmall"),role:"alert",children:c}):null,(0,n.jsx)(x,{...a,options:p,onChange:f,onError:h})]})]})}},38023:function(e){e.exports={"u-visuallyHidden":"ContactForm_u-visuallyHidden__PxCkv","u-inputWrap":"ContactForm_u-inputWrap___xDsm","u-inputLabel":"ContactForm_u-inputLabel__R9XA5",isDisabled:"ContactForm_isDisabled__azV_f","u-input":"ContactForm_u-input__j7R8z",contactForm:"ContactForm_contactForm__ibffq",success:"ContactForm_success__Qkehf",hasError:"ContactForm_hasError__nUNLm","u-input--textArea":"ContactForm_u-input--textArea__LEn4t","u-input--search":"ContactForm_u-input--search__UBXsq","u-inputGroup":"ContactForm_u-inputGroup__2jwVz","u-inputAssistiveText":"ContactForm_u-inputAssistiveText__zPrVI","assistive-text-fade-in":"ContactForm_assistive-text-fade-in__robEX","u-inputIconContainer":"ContactForm_u-inputIconContainer__g6mOy","u-inputIconContainer--search":"ContactForm_u-inputIconContainer--search__KQkMJ","u-inputIcon":"ContactForm_u-inputIcon__75t5r","icon-fade-in-up":"ContactForm_icon-fade-in-up__hKRQx","u-inputResetButton":"ContactForm_u-inputResetButton__l9yiX",
1skeletonPulse:"ContactForm_skeletonPulse__YsEZd"}},95044:function(e){e.exports={"u-visuallyHidden":"FormioForm_u-visuallyHidden__A17I0",formioForm:"FormioForm_formioForm__dLc0o",globalError:"FormioForm_globalError__DzJYs",skeletonPulse:"FormioForm_skeletonPulse__gaNEr"}}}]);

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.