1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4869],{12787:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var a=t(14232),o=t(41293),i=t(90350),s=t(15039),c=t.n(s),r=t(2171),l=t(11480),d=t(62319),u=t.n(d),h=t(76878),g=t.n(h),m=t(81074),p=t(65431),k=t(37876);let f=(0,r.connect)(function(e){return{constants:e.contentfulReducer}},null)(function(e){var n=e.children,t=e.constants,s=e.noHelp,d=e.isLogin,h=(e.logo,e.scanOfficeName),f=e.corpSiteName,x=new(g())(t,"comp.AuthLayout"),j=(0,l.useRouter)(),v=(0,r.useSelector)(function(e){return e}),b=v.authReducer,y=v.corporatePagesReducer.corporatePages,C=v.domainReducer.currentDomain,_=(0,a.useState)(null),N=_[0],A=_[1],w=j.query.site_name;(0,a.useEffect)(function(){A(m.regionHelper.getDomainHash(window.location.hostname))});var L=y.find(function(e){return e.url===w||e.url===f}),R=(null==C?void 0:C.countryCode)||"",S="costco"===w||"ecard"===w;L&&L.enabledCountries.length>0&&!L.enabledCountries.includes(R.toUpperCase())&&(L=null);var T=!0;N&&null!=N&&N.locales&&!(N.locales.length<2)||(T=!1);var E=d&&w&&L||d&&!w,H=function(){return w?"/".concat(w):h||h&&b.user?"/store/".concat(h):(b.user,"/")};return(0,k.jsxs)("div",{className:c()("base-layout",u()["auth-main-wrapper"],w&&u()["auth-main-wrapper-corp"]),children:[(0,k.jsxs)(o.A,{className:"justify-content-between",children:[(0,k.jsxs)("div",{className:u()["navbar-left-content"],children:[L&&L.headerLogo.file.url?null:(0,k.jsx)(o.A.Brand,{href:H(),className:u()["brand-logo"],style:{float:"left"},children:(0,k.jsx)("img",{src:x.get("logo-image-path"),width:"auto",height:"50",className:"d-inline-block align-top",alt:x.get("alt-image-text")})}),L&&L.headerLogo.file.url&&(0,k.jsx)(o.A.Brand,{href:H(),children:(0,k.jsx)("div",{className:u()["corporate-logo"],children:(0,k.jsx)("img",{src:L.headerLogo.file.url,width:"auto",height:"50",className:"d-inline-block align-top",alt:x.get("alt-image-text")})})}),L&&!L.headerLogo.file.url&&(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(o.A.Brand,{href:w&&"/".concat(w)||"/",children:(0,k.jsx)("div",{className:c()(u()["corporate-logo"],u()["corporate-logo-border"]),children:(0,k.jsx)("img",{src:L.logo.file.url,width:"costco"===L.url?"80":"auto",height:"50",className:"d-inline-block align-top",alt:x.get("alt-image-text")})})})})]}),E&&!S&&(0,k.jsx)(i.A,{className:"justify-content-end",children:(0,k.jsx)(o.A.Text,{children:(0,k.jsx)("a",{style:{color:"#019ace",paddingRight:"4px"},href:w?"/".concat(w,"/login"):h?"'/store/".concat(h,"/login"):"/login",children:x.get("login")})})}),!s&&"jp"!==R&&!S&&(0,k.jsx)(i.A,{className:"justify-content-end",children:(0,k.jsx)(o.A.Text,{children:(0,k.jsxs)("div",{className:c()(T?u()["get-help-align"]:""),children:[(0,k.jsx)("span",{className:"d-none d-sm-inline",children:x.get("having-trouble-text")})," ",(0,k.jsx)("a",{style:{color:"#019ace"},href:w&&b.user?"/".concat(w).concat(x.get("feedbackLink")):w&&!b.user?"/".concat(w).concat(x.get("contact-us-link")):h&&!b.user?"/store/".concat(h).concat(x.get("contact-us-link")):h&&b.user?"/store/".concat(h).concat(x.get("feedbackLink")):b.user?x.get("feedbackLink"):x.get("contact-us-link"),children:x.get("get-help-text")})]})})}),(0,k.jsx)(p.A,{domain:N,alwaysShow:!0})]}),(0,k.jsx)("div",{className:"auth-wrapper-content",children:n})]})})},62319:e=>{e.exports={"auth-main-wrapper":"authLayout_auth-main-wrapper__m5_Hy","blue-link":"authLayout_blue-link__rxNiy","auth-main-wrapper-corp":"authLayout_auth-main-wrapper-corp__unfJU","get-help-align":"authLayout_get-help-align__iHZFz","corporate-logo":"authLayout_corporate-logo__2Vrnc","corporate-logo-border":"authLayout_corporate-logo-border__gT0uC","navbar-left-content":"authLayout_navbar-left-content___pOmD","brand-logo":"authLayout_brand-logo__UKGIg"}},78852:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/manage_cookies",function(){return t(84735)}])},84735:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var a=t(14232),o=t(12787),i=t(67251),s=t(46126),c=t(29898),r=t(30291),l=t(76966),d=t(42969),u=t(72560),h=t(62040),g=t.n(h),m=t(37876);function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var k=function(e){function n(){(0,i.A)(this,n);for(var e,t,a,o=arguments.length,s=Array(o),l=0;l<o;l++)s[l]=arguments[l];return t=n,a=[].concat(s),t=(0,r.A)(t),e=(0,c.A)(this,p()?Reflect.construct(t,a||[],(0,r.A)(this).constructor):t.apply(this,a)),(0,d.A)(e,"state",{functionalityCookie
1s:!1,performanceCookies:!1,advertisingCookies:!1}),(0,d.A)(e,"onChange",function(n){var t=n.target,a=t.name,o=t.value;e.setState((0,d.A)({},a,"true"===o),function(){var n=e.state,t=n.functionalityCookies,a=n.performanceCookies,o=n.advertisingCookies;g().setCookieAccepted(!0,[t,a,o])}),window.setTimeout(function(){return window.location.reload()},1e3)}),e}return(0,l.A)(n,e),(0,s.A)(n,[{key:"componentDidMount",value:function(){var e=g().getAcceptCookieData().allowCategory||[];this.setState({functionalityCookies:!!e[1],performanceCookies:!!e[2],advertisingCookies:!!e[3]})}},{key:"render",value:function(){var e=this.props.translate,n=this.state,t=n.functionalityCookies,a=n.performanceCookies,o=n.advertisingCookies;return(0,m.jsx)("div",{className:"container pt-4",children:(0,m.jsx)("div",{className:"row",children:(0,m.jsxs)("div",{className:"col-lg-8 offset-lg-2",children:[(0,m.jsx)("h1",{className:"mb-4",children:e.get("cookie-settings")}),(0,m.jsxs)("div",{className:"text-dark-gray",children:[(0,m.jsx)("p",{children:e.get("cookie-settings-description-1")}),(0,m.jsx)("p",{children:e.get("cookie-settings-description-2")}),(0,m.jsx)("p",{dangerouslySetInnerHTML:{__html:e.get("cookie-settings-description-3")}}),(0,m.jsx)("p",{children:e.get("cookie-settings-description-4")}),(0,m.jsx)("h6",{className:"mb-3",children:e.get("cookie-save-message")}),(0,m.jsxs)("div",{className:"mb-5",children:[(0,m.jsx)("p",{children:(0,m.jsx)("strong",{children:e.get("necessary-cookies-title")})}),(0,m.jsx)("p",{children:e.get("necessary-cookies-message")}),(0,m.jsx)("div",{className:"inline-radios",children:(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("enabled"),name:"necessaryCookie
1s",type:"radio",defaultChecked:!0,id:"necessary-cookies-radio-enabled"})})]}),(0,m.jsxs)("div",{className:"mb-5",children:[(0,m.jsx)("p",{children:(0,m.jsx)("strong",{children:e.get("functionality-cookies-title")})}),(0,m.jsx)("p",{children:e.get("functionality-cookies-message")}),(0,m.jsxs)("div",{className:"inline-radios",children:[(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("enabled"),name:"functionalityCookies",type:"radio",value:"true",id:"functionality-cookies-radio-enabled",checked:!0===t,onChange:this.onChange}),(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("disabled"),name:"functionalityCookies",value:"false",type:"radio",id:"functionality-cookies-radio-disabled",checked:!1===t,onChange:this.onChange})]})]}),(0,m.jsxs)("div",{className:"mb-5",children:[(0,m.jsx)("p",{children:(0,m.jsx)("strong",{children:e.get("performance-cookies-title")})}),(0,m.jsx)("p",{children:e.get("performance-cookies-message")}),(0,m.jsxs)("div",{className:"inline-radios",children:[(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("enabled"),name:"performanceCookies",type:"radio",value:"true",id:"performance-cookies-radio-enabled",checked:!0===a,onChange:this.onChange}),(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("disabled"),name:"performanceCookies",type:"radio",value:"false",id:"performance-cookies-radio-disabled",checked:!1===a,onChange:this.onChange})]})]}),(0,m.jsxs)("div",{className:"mb-5",children:[(0,m.jsx)("p",{children:(0,m.jsx)("strong",{children:e.get("advertising-cookies-title")})}),(0,m.jsx)("p",{children:e.get("advertising-cookies-message")}),(0,m.jsxs)("div",{className:"inline-radios",children:[(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("enabled"),name:"advertisingCookies",type:"radio",value:"true",id:"advertising-cookies-radio-enabled",checked:!0===o,onChange:this.onChange}),(0,m.jsx)(u.A.Check,{inline:!0,custom:!0,label:e.get("disabled"),name:"advertisingCookies",type:"radio",value:"false",id:"advertising-cookies-radio-disabled",checked:!1===o,onChange:this.onChange})]})]})]})]})})})}}])}(a.Component),f=t(32840),x=t(76878),j=t.n(x);let v=function(e){var n=e.constants,t=new(j())(n,"page.manage-cookies");return(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(o.A,{children:(0,m.jsx)(k,{translate:t})}),(0,m.jsx)(f.A,{})]},"coookieFragment")}}},e=>{e.O(0,[1167,3371,6322,2951,2560,7758,636,6593,8792],()=>e(e.s=78852)),_N_E=e.O()}]);
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.