(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([["3413"],{236001:function(i){"use strict";i.exports={}},292216:function(i){"use strict";i.exports={}},891784:function(i){"use strict";i.exports={}},481714:function(i){"use strict";i.exports={}},401471:function(i){i.exports={"2a55ca78e8124468fd12f5631b591477":"Cookie banner","5c9e9d0cbf6046deb40eaa0a5c1722df":"These cookies provide quantitative measures of website visitors. With the usage of these cookies we are able to count visits and traffic sources to improve the performance of our site.","5d34f2ee7358fc231e5c0fb44bb6194d":"Close","67db752e6310686617e98c22c85b3963":"Necessary","6bf1c5ed97ddc6828e7cd5159df2a240":"Performance and Analytics","74472054366bb6c5316e7afadad1093e":"These cookies are used by advertising companies to serve ads that are relevant to your interests.","7f55fe8fa38cccf52495082b8a3b514e":"Required to enable core site functionality and to remember user preferences and choices, such as language preferences or customized settings.",ab24934bbb24336ecf14f4c74753cb74:"On",b14f9710c8c55c42330cec28b8e5a412:"Manage previously selected cookie options",bd5b0ea753d0acb71633f9924dd99e2e:"Advertising",c2796a555df59ff64708a37dca691b54:"Save Preferences",e1424f67804c73cbeabb38dc6ab1c5b4:"Manage Cookies",eed68b0b0145ca4107add1b0eba25227:"Off",f5d47dd8f48aea89af7ca857bb5999d2:"Cookie Preferences",f75292dded9e49e53481e31e94f738f7:"Always on"}},821783:function(i,A,t){"use strict";t.d(A,{ZP:()=>he});var b=t(845076),o=t.n(b),e=t(174161),g="gdpr-cookie-banner",y="manage-cookies-bar",U="manage-cookies-overlay",pe=t(392338),V=t(469629),Z="gdpr-cookie-banner";function Y(a){return t(741449)("./".concat(Z,".").concat(a,".yaml"))}function P(){var a=(0,V.Z)(Y),r=a.t,s=a.T;return{t:r,T:s}}var J=t(736397),D=t.n(J),Q=t(418008),X=t.n(Q);function q(){var a=(0,e.useState)(window.innerWidth),r=D()(a,2),s=r[0],l=r[1],c=(0,e.useMemo)(()=>X()(()=>l(window.innerWidth),250),[]);return(0,e.useEffect)(()=>(window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)}),[c]),s}var H=t(629200),ke=t(292216),_=576,F=()=>{},ee=a=>{var r=a.acceptCookiesLabel,s=a.bannerPosition,l=a.bannerText,c=a.declineCookiesLabel,u=a.hasManageCookies,d=a.hasDeclineCookies,h=a.manageButtonRef,C=a.manageCookiesLabel,p=a.theme,k=p===void 0?"":p,B=a.onAccept,G=B===void 0?F:B,N=a.onDecline,S=N===void 0?F:N,x=a.toggleManageOverlay,I=x===void 0?F:x,R=a.isPreview,v=P(),T=v.t,O=s!==H.t.TOP&&s!==H.t.BOTTOM,j=q(),L="wide";(O||j<_)&&(L="narrow");var $=o()("accept","sqs-button-element--primary","sqs-cookie-banner-v2-accept","sqs-cookie-banner-v2-cta"),w=o()("decline","sqs-button-element--secondary","sqs-cookie-banner-v2-deny","sqs-cookie-banner-v2-cta"),W=o()("button-group","sqs-cookie-banner-v2-cta-container"),K=o()("disclaimer-text","sqs-cookie-banner-v2-text"),n=e.createElement("button",{className:$,onClick:G},e.createElement("span",null,r)),m=e.createElement("button",{className:w,onClick:S},e.createElement("span",null,c)),E=e.createElement("button",{className:"manage sqs-button-element--tertiary",onClick:()=>{I(!0)},ref:h},e.createElement("span",null,C)),M=e.createElement("div",{className:W},u&&E,d&&m,n),f=e.createElement("div",{className:W},n,d&&m,u&&E);return e.createElement("section",{"data-section-theme":k,"aria-label":T("Cookie banner",null,{project:"gdpr-cookie-banner"}),className:o()(g,s,k,{bar:!O,popup:O,"full-styling":!R})},e.createElement("p",{className:K,dangerouslySetInnerHTML:{__html:l}}),L==="wide"?M:f)},ae=ee,te=t(273321),ne=t.n(te),Ee=t(891784),oe=a=>{var r=P(),s=r.t,l=a.savedPreferencesLayout,c=l===void 0?ne().PILL:l,u=a.savedPreferencesText,d=u===void 0?s("Cookie Preferences",null,{project:"gdpr-cookie-banner"}):u,h=a.theme,C=h===void 0?"":h,p=a.openOverlay,k=a.manageButtonRef;return e.createElement("section",{"data-dynamic-strings":"","data-section-theme":C,"aria-label":s("Manage previously selected cookie options",null,{project:"gdpr-cookie-banner"}),className:o()(y,C,c)},e.createElement("button",{className:"manage-bar-action",onClick:p,ref:k},d))},re=oe,se=t(994336),ce=t.n(se),ie=t(999762),le=t(972966),de=t.n(le),ye=t(236001),ve=a=>{var r=a.checked,s=a.onChange,l=a.inputProps,c=()=>{s(!r)},u=P(),d=u.t;return e.createElement("div",{className:"toggle-wrapper"},e.createElement("p",{"aria-hidden":"true"},r?d("On",null,{project:"gdpr-cookie-banner",notes:"A toggle is on"}):d("Off",null,{project:"gdpr-cookie-banner",notes:"A toggle is off"})),e.createElement("label",{className:o()("sqs-toggle",{checked:r,"sqs-toggle--on":r,"sqs-toggle--off":!r})},e.createElement("input",de()({type:"checkbox",checked:r,onChange:c},l))))},ue=ve,me=()=>e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M7 5.58594L12.293 0.292969L13.7072 1.70718L8.41421 7.00015L13.7072 12.2931L12.293 13.7073L7 8.41436L1.70718 13.7072L0.292969 12.293L5.58579 7.00015L0.292969 1.70733L1.70718 0.293119L7 5.58594Z",fill:"white"})),ge=me,Ce=t(481714),z=a=>{var r=ce().get(a);return r?r==="true":!1},fe=a=>{var r=a.theme,s=r===void 0?"":r,l=a.cookieNames,c=a.onClose,u=a.onSave,d=l.performance,h=l.marketing,C=(0,e.useState)(z(d)),p=D()(C,2),k=p[0],B=p[1],G=(0,e.useState)(z(h)),N=D()(G,2),S=N[0],x=N[1],I=P(),R=I.t,v=I.T,T=(0,e.useRef)(null),O=(0,e.useId)(),j=()=>{var n;return(((n=T.current)===null||n===void 0?void 0:n.ownerDocument)||document).documentElement},L=(0,e.useCallback)(n=>{n.code==="Escape"&&(n.stopPropagation(),c())},[c]);(0,e.useEffect)(()=>{var n=j();return n.addEventListener("keyup",L),function(){n.removeEventListener("keyup",L)}},[L]),(0,e.useEffect)(()=>{var n=(0,ie.containFocus)({container:T.current,root:j()});return n},[T]);var $=()=>{var n=[];k&&n.push(d),S&&n.push(h),u(n)},w={necessary:{title:e.createElement(v,{project:"gdpr-cookie-banner",notes:"This is a type of cookie. Necessary cookies are essential for websites and cannot be disabled."},"Necessary"),description:e.createElement(v,{project:"gdpr-cookie-banner"},"Required to enable core site functionality and to remember user preferences and choices, such as language preferences or customized settings.")},performance:{title:e.createElement(v,{project:"gdpr-cookie-banner",notes:"This is a type of cookie. Performance cookies collect website data and analytics."},"Performance and Analytics"),description:e.createElement(v,{project:"gdpr-cookie-banner"},"These cookies provide quantitative measures of website visitors. With the usage of these cookies we are able to count visits and traffic sources to improve the performance of our site.")},marketing:{title:e.createElement(v,{project:"gdpr-cookie-banner",notes:"This is a type of cookie. Marketing cookies are used to deliver targeted advertisements."},"Advertising"),description:e.createElement(v,{project:"gdpr-cookie-banner"},"These cookies are used by advertising companies to serve ads that are relevant to your interests.")}},W=[{name:"necessary"},{name:"performance",checked:k,onChange:B},{name:"marketing",checked:S,onChange:x}],K=n=>{var m=n.name,E=n.checked,M=n.onChange,f=(0,e.useId)();return e.createElement(e.Fragment,null,M?e.createElement("div",{className:"category-selection"},e.createElement("h4",{id:"".concat(f,"-title")},w[m].title),e.createElement(ue,{checked:!!E,onChange:M,inputProps:{"aria-labelledby":"".concat(f,"-title"),"aria-describedby":"".concat(f,"-description")}})):e.createElement("div",{className:"category-selection"},e.createElement("h4",null,w[m].title),e.createElement("p",null,R("Always on",null,{project:"gdpr-cookie-banner",notes:"This refers to the state of necessary website cookies, they are always on, or in other words they are always enabled"}))),e.createElement("p",{className:"category-description",id:"".concat(f,"-description")},w[m].description))};return e.createElement("div",{className:"manage-overlay-wrapper","data-dynamic-strings":"",role:"button"},e.createElement("div",{className:"manage-cookies-overlay-backdrop",onClick:c,role:"presentation"}),e.createElement("div",{"data-section-theme":s,"aria-labelledby":O+"-heading",className:o()(U,s),role:"dialog",ref:T},e.createElement("h3",{id:O+"-heading"},e.createElement(v,{project:"gdpr-cookie-banner",notes:"This is the title for a feature that allows site visitors to manage their cookie settings."},"Manage Cookies")),W.map((n,m)=>{var E=n.name,M=n.checked,f=n.onChange;return e.createElement(e.Fragment,{key:E},m>0&&e.createElement("hr",null),e.createElement(K,{name:E,checked:M,onChange:f}))}),e.createElement("div",{className:"button-group"},e.createElement("button",{className:"save sqs-button-element--primary",onClick:$},e.createElement(v,{project:"gdpr-cookie-banner",notes:"This is a button that saves a site visitor's cookie preferences."},"Save Preferences"))),e.createElement("button",{type:"button",className:"close-icon","aria-label":R("Close",null,{project:"gdpr-cookie-banner"}),onClick:c},e.createElement(ge,null))))},be=fe,he={Banner:ae,ManageBar:re,ManageOverlay:be}},629200:function(i,A,t){"use strict";t.d(A,{t:()=>b});var b=function(o){return o.TOP="TOP",o.BOTTOM_LEFT="BOTTOM_LEFT",o.BOTTOM_RIGHT="BOTTOM_RIGHT",o.TOP_LEFT="TOP_LEFT",o.TOP_RIGHT="TOP_RIGHT",o.BOTTOM="BOTTOM",o}({})},741449:function(i,A,t){var b={"./gdpr-cookie-banner.en-US.yaml":"401471"};function o(g){var y=e(g);return t(y)}function e(g){if(!t.o(b,g)){var y=new Error("Cannot find module '"+g+"'");throw y.code="MODULE_NOT_FOUND",y}return b[g]}o.keys=function(){return Object.keys(b)},o.resolve=e,i.exports=o,o.id=741449}}]); //# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/sourcemaps/7a054d5419a2b1f4/3413-e27698d75e5db647-min.en-US.js.map