1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6689],{96689:function(t,e,n){n.r(e);var o=n(85893),l=n(51377),u=n(9939);let r=t=>{var e,n,r,i,a;let{block:s,frequency:d,area:m}=t,{module_settings_theme:b,module_settings_title:c,module_settings_text:f,module_settings_form_id:_,module_settings_disclaimer_text:g,module_settings_disclaimer_link:x,module_settings_disclaimer_link_text:h}=s.attributes.data,{data:v}=(0,u.Z)(_),p=null!==(a=null==v?void 0:null===(e=v.gfForm)||void 0===e?void 0:e.databaseId)&&void 0!==a?a:0,w={databaseId:p,formId:p,formFields:{...null==v?void 0:null===(n=v.gfForm)||void 0===n?void 0:n.formFields},confirmations:{...null==v?void 0:null===(r=v.gfForm)||void 0===r?void 0:r.confirmations},button:{...null==v?void 0:null===(i=v.gfForm)||void 0===i?void 0:i.submitButton}};return(0,o.jsx)("div",{"data-og-block-area":m,"data-og-block-nth":d,"data-og-block-type":"email-signup-module-block",children:(0,o.jsx)(l.Z,{title:c,text:f,theme:b,disclaimerText:g,disclaimerLink:x,disclaimerLinkText:h,gfForm:w})})};e.default=r},31141:function(t,e,n){n.d(e,{Z:function(){return r}});var o=n(85893);n(67294);var l=n(93967),u=n.n(l);function r(t){let{confirmations:e,className:n}=t;if(!e[0].message)return null;let l=u()("email-signup-module-confirmation","text-left","flex","flex-col","justify-between","min-h-[160px]",n);return(0,o.jsx)("div",{className:l,dangerouslySetInnerHTML:{__html:e[0].message}})}},51377:function(t,e,n){n.d(e,{Z:function(){return d}});var o=n(85893),l=n(67294),u=n(93967),r=n.n(u),i=n(70522),a=n(31141),s=n(89633);function d(t){let[e,n]=(0,l.useState)(!1),{title:u,text:d,disclaimerText:m,disclaimerLink:b,disclaimerLinkText:c,theme:f="brightGreen",className:_,gfForm:g}=t,x=r()("@container/emailSignupModule","w-full","min-w-max","flex","flex-col","items-center","justify-center","rounded-lg","px-13","py-16",{"module-theme-brightGreen bg-brand-700 *:text-neutral-950 [&_button]:bg-neutral-950 [&_button:hover]:bg-neutral-500 [&_button:focus]:bg-neutral-500":"brightGreen"===f},{"module-theme-navy bg-brand-400 *:text-neutral-800 [&_button]:text-neutral-950 [&_button]:bg-white [&_button:hover]:bg-brand-200 [&_button:focus]:bg-brand-200":"navy"===f},{"module-theme-darkGreen bg-brand-900 *:text-neutral-800 [&_button]:text-neutral-950 [&_button]:bg-white [&_button:hover]:bg-brand-50 [&_button:focus]:bg-brand-50":"darkGreen"===f},{"module-theme-orange bg-brand-50 *:text-neutral-950 [&_button]:bg-neutral-950 [&_button:hover]:bg-white [&_button:focus]:bg-white [&_button:hover]:text-neutral-950 [&_button:focus]:text-neutral-950":"orange"===f},{"module-theme-yellow bg-brand-25 *:text-neutral-950 [&_button]:bg-neutral-950 [&_button:hover]:bg-white [&_button:focus]:bg-white [&_button:hover]:text-neutral-950 [&_button:focus]:text-neutral-950":"yellow"===f},{"module-theme-white bg-neutral-800 [&_input]:border-neutral-950/60 *:text-neutral-950 [&_button]:bg-neutral-950 [&_button:hover]:bg-neutral-500 [&_button:focus]:bg-neutral-500":"white"===f},_);return(0,o.jsx)("section",{className:x,children:(0,o.jsx)("div",{className:"mx-auto",children:(0,o.jsx)("div",{className:"flex flex-col items-start justify-between gap-y-6 text-center",children:e&&(null==g?void 0:g.confirmations)?(0,o.jsx)(a.Z,{confirmations:null==g?void 0:g.confirmations}):(0,o.jsxs)(o.Fragment,{children:[u?(0,o.jsx)("h2",{className:"w-full text-center text-4xl",children:u}):null,d?(0,o.jsx)("p",{className:"text-lg",children:d}):null,(0,o.jsxs)("div",{className:"form-wrapper flex w-full flex-col gap-y-3 [&>form]:flex [&>form]:w-full [&>form]:flex-col [&>form]:justify-center [&>form]:gap-4 @lg/emailSignupModule:[&>form]:flex-row [&_.MuiButtonBase-root.MuiButton-root]:max-w-max! [&_.MuiButtonBase-root.MuiButton-root]:text-lg [&_.MuiFormControl-root]:my-0 [&_.MuiFormControl-root]:rounded [&_.MuiInputLabel-shrink]:hidden [&_button]:mt-0 [&_button]:rounded [&_button]:px-6 [&_button]:py-3 [&_button]:normal-case [&_fieldset]:rounded [&_fieldset]:border-none [&_input]:text-lg [&_input]:rounded [&_input]:p-3 [&_label]:top-[-2px] [&_legend]:hidden",children:[g&&(0,o.jsx)(i.SM,{form:g,fieldComponents:{email:s.Z},hideOnSuccess:!0,onSuccess:()=>n(!0)}),m||c?(0,o.jsxs)("span",{className:"email-signup-disclaimer text-xs",children:[m,(null==b?void 0:b.url)!==""&&(0,o.jsx)("a",{className:"ml-0.5 underline hover:decoration-2",href:null==b?void 0:b.url,children:c})]}):null]})]})})})})}},9939:function(t,e,n){var o=n(36492),l=n(41748),u=n(28831),r=n(43169);let i=["email-signup-form"],a=t=>{let e=(0,r.nC)();return(0,o.a)(i,()=>(0,l.ZP)(u.i3,{dbid:t},"EmailSignupForm",e))};e.Z=a}}]);
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.