1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15144,92763],{10571:e=>{e.exports={overlay:"styles_overlay__Q7uVf"}},15039:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}(n)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(s.default=s,e.exports=s):void 0===(n=(function(){return s}).apply(t,[]))||(e.exports=n)}()},45285:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(14232),s=n(86369),a=n.n(s);let o=(e,t)=>{let[n,s]=(0,r.useState)(()=>{try{let n="";return(n=window.localStorage.getItem(e))?JSON.parse(n):t}catch(e){return console.error(e),t}});return[n,t=>{try{let r=t instanceof Function?t(n):t;s(r),window.localStorage.setItem(e,a()(r,{isJSON:!0}))}catch(e){console.error(e)}}]}},49908:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(37876),s=n(14232),a=n(15039),o=n.n(a),l=n(98477),i=n(95062),d=n.n(i),c=n(96506),u=n(10571),_=n.n(u);let I=({className:e,shouldCloseOnEsc:t,shouldCloseOnOverlayClick:n,overlayClassName:a,isOpen:i,setIsOpen:d,children:u})=>{let I=(0,s.useRef)();return(0,c.A)(I,()=>{n&&d(!1)}),(0,s.useEffect)(()=>{if(t){let e=e=>{"Escape"===e.key&&d(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}},[t]),l.createPortal(i&&(0,r.jsx)("div",{className:o()(a,_().overlay),children:(0,r.jsx)("div",{ref:I,className:e,children:u})}),document.getElementById("modal-container"))};I.propTypes={className:d().string,shouldCloseOnEsc:d().bool,shouldCloseOnOverlayClick:d().bool,overlayClassName:d().string,isOpen:d().bool.isRequired,setIsOpen:d().func.isRequired,children:d().oneOfType([d().arrayOf(d().node),d().node])};let E=I},60806:e=>{e.exports={gcModal:"styles_gcModal__IjKFO",gcOverlay:"styles_gcOverlay__xPmLt",gcCloseContainer:"styles_gcCloseContainer__9mT8l",gcTitle:"styles_gcTitle___jhf6",gcContainer:"styles_gcContainer__tnUT7",modalSegmentC360:"styles_modalSegmentC360__8x7a4",simpleModal:"styles_simpleModal__hVAoX"}},77489:(e,t,n)=>{"use strict";function r(e,t,n){let r=new Date;r.setTime(r.getTime()+24*n*36e5);let s="expires="+r.toUTCString();document.cookie=e+"="+t+";"+s+";path=/"}function s(e){let t=e+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){let r=n[e];for(;" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return""}n.d(t,{R:()=>s,T:()=>r})},92763:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var r=n(37876),s=n(14232),a=n(95062),o=n.n(a),l=n(24715),i=n(2253),d=n(45285),c=n(20802),u=n(18847),_=n.n(u),I=n(49908),E=n(60806),O=n.n(E),T=n(77489);let f=_()(()=>Promise.all([n.e(35009),n.e(11944),n.e(36870),n.e(91408),n.e(76362),n.e(764)]).then(n.bind(n,764)),{loadableGenerated:{webpack:()=>[764]}}),S=_()(()=>Promise.all([n.e(8738),n.e(34654),n.e(67856),n.e(56247),n.e(85928),n.e(48230),n.e(82909),n.e(5068),n.e(14568),n.e(13591),n.e(85921)]).then(n.bind(n,85921)),{loadableGenerated:{webpack:()=>[85921]}}),m=_()(()=>Promise.all([n.e(69120),n.e(11944),n.e(76362),n.e(5071)]).then(n.bind(n,5071)),{loadableGenerated:{webpack:()=>[5071]}}),p=_()(()=>Promise.all([n.e(64557),n.e(48230),n.e(20423),n.e(97288)]).then(n.bind(n,97288)),{loadableGenerated:{webpack:()=>[97288]}}),A=_()(()=>Promise.all([n.e(59561),n.e(48230),n.e(20423),n.e(78494),n.e(9465),n.e(12524)]).then(n.bind(n,12524)),{loadableGenerated:{webpack:()=>[12524]}}),L=_()(()=>Promise.all([n.e(34654),n.e(67856),n.e(56247),n.e(39322),n.e(85928),n.e(48230),n.e(87189),n.e(20423),n.e(14568),n.e(98710),n.e(69360)]).then(n.bind(n,98710)),{loadableGenerated:{webpack:()=>[98710]}}),N=({content:e,type:t,isLoggedIn:n})=>{let[a,o]=(0,s.useState)(!1),u=1e3*Number.parseFloat(4).toFixed(2),[_,E]=(0,s.useState)(!u),[N,C]=(0,d.A)(`modal-${i.env.CTF_SPACE_ID}-${i.env.LOCALE_CODE}-${e?.fields?.id||""}_closed`);(0,s.useEffect)(()=>
1{if(t===c.GLOBAL_COMPONENT_POSITION.MODAL&&u){let e=setTimeout(()=>{N||(E(!0),o(!0),document.body.classList.add("no-scroll"))},u);return()=>{clearTimeout(e)}}},[u]);let[v,y]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if((0,T.R)("hasInteracted"))return void y(!0);let e=["click","scroll","mousemove","touchstart"],t=()=>{(0,T.T)("hasInteracted",!0,30),y(!0)};return e.forEach(e=>window.addEventListener(e,t,{once:!0})),()=>{e.forEach(e=>window.removeEventListener(e,t))}},[]);let P=(t,n=!1)=>{!t&&n&&(e?.fields?.data?.ignoreClosedCookie||C(!0),document.body.classList.remove("no-scroll")),document.body.classList.remove("no-scroll"),o(t)},g=e?.fields?.contentType===c.COMPONENTS.SPECIAL_INITIATIVES&&t===c.GLOBAL_COMPONENT_POSITION.MODAL?e?.fields?.data?.initiativeType===c.SPECIAL_INITIATIVES_TYPES.SEGMENT_C360?c.SPECIAL_INITIATIVES_TYPES.SEGMENT_C360:c.SPECIAL_INITIATIVES_TYPES.SIMPLE_MODAL:"default";a&&g===c.SPECIAL_INITIATIVES_TYPES.SEGMENT_C360&&window?.dataLayer&&window.dataLayer.push({event:"customEvent",GAeventCategory:"event_survey_action",GAeventAction:"event_survey_show",GAeventLabel:e?.fields?.data?.initiativeId||e?.fields?.id});let h=null;if(e&&e?.contentType!=="product")switch(g){case c.SPECIAL_INITIATIVES_TYPES.SEGMENT_C360:h=(0,r.jsx)(f,{data:e?.fields?.data,setIsOpen:P,trackEvents:e=>{window?.dataLayer&&window.dataLayer.push(e)}});break;case c.SPECIAL_INITIATIVES_TYPES.SIMPLE_MODAL:h=(0,r.jsx)(m,{data:e?.fields?.data,setIsOpen:P});break;default:h=(0,r.jsx)(l.A,{content:[e],isLoggedIn:n})}let b="";switch(t){case c.GLOBAL_COMPONENT_POSITION.MODAL:switch(g){case c.SPECIAL_INITIATIVES_TYPES.SEGMENT_C360:b=O().modalSegmentC360;break;case c.SPECIAL_INITIATIVES_TYPES.SIMPLE_MODAL:b=O().simpleModal;break;default:b=""}return _&&v&&(0,r.jsx)(I.A,{className:`${O().gcModal} ${b}`,shouldCloseOnEsc:!1,shouldCloseOnOverlayClick:!1,overlayClassName:O().gcOverlay,isOpen:a,setIsOpen:P,children:(0,r.jsx)("div",{className:O().gcContainer,children:h})});case c.GLOBAL_COMPONENT_POSITION.STATIC_BANNER:return(0,r.jsx)(S,{product:e?.fields});case c.GLOBAL_COMPONENT_POSITION.PROMO_BANNER:return(0,r.jsx)(p,{...e?.fields});case c.GLOBAL_COMPONENT_POSITION.BRAUN_CLUB_MODAL:return(0,r.jsx)(A,{...e?.fields});case c.GLOBAL_COMPONENT_POSITION.AFTER_HEADER:return(0,r.jsx)(L,{sectionContent:[e]});default:return h}};N.propTypes={type:o().string,content:o().object,isLoggedIn:o().bool},N.defaultProps={isLoggedIn:!1};let C=N},96506:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(14232);let s=(e,t,n=[])=>{(0,r.useEffect)(()=>{let n=n=>{e.current&&!e.current.contains(n.target)&&t()};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,...n])}}}]);
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.