PageSourceSearch

https://getamplifylife.com/_next/static/chunks/3587-2f1870c3d6f04313.js

js getamplifylife.com collected 2026-10-07 20:49:01 UTC 13,009 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3587],{13907:function(t,e,n){var i=n(85893);n(67294);var o=n(62315);let a={container:{minHeight:{xs:560,md:840},maxHeight:{md:840},padding:{md:"108px 60px",xl:"200px 60px"},justifyContent:"center"},contentContainer:{margin:0,padding:{xs:0,lg:"40px 120px"}},title:{color:"primary.main",margin:"0 0 32px 0"},button:{padding:{xs:"16px 20px",md:"20px 25px"},minWidth:"unset",minHeight:{xs:48,md:64},fontFamily:"Fredoka, sans-serif",fontWeight:500,fontSize:{xs:"1.4rem",md:"1.6rem"},lineHeight:"100%",letterSpacing:"0.05em",textTransform:"uppercase"},secondaryButton:{padding:{xs:"16px 20px",md:"20px 25px"},minWidth:"unset",minHeight:{xs:48,md:64},color:"#5ae288",borderColor:"#5ae288",fontFamily:"Fredoka, sans-serif",fontWeight:500,fontSize:{xs:"1.4rem",md:"1.6rem"},lineHeight:"100%",letterSpacing:"0.05em",textTransform:"uppercase"}},r=t=>{let{title:e,caption:n,description:r,btns:l,background:s,backgroundMobile:d,video:c,info:m}=t;return(0,i.jsx)(o.Z,{title:e,caption:n,description:r,background:s,backgroundMobile:d,button:null==l?void 0:l[0],buttonVariant:"contained",secondaryButton:null==l?void 0:l[1],secondaryButtonVariant:"outlined",video:null==c?void 0:c.url,info:m,sx:{container:a.container,contentContainer:a.contentContainer,title:a.title,button:a.button,secondaryButton:a.secondaryButton}})};e.Z=r},62315:function(t,e,n){var i=n(85893),o=n(87357),a=n(65582),r=n(15861),l=n(51233),s=n(83321),d=n(12756),c=n(32489),m=n(74578),x=n(93426),p=n(67294),g=n(64156),u=n.n(g),h=n(37211),v=n.n(h),Z=n(35836),f=n(39234);let y={imageSizes:"(max-width: 768px) 100vw, 33vw",video:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:"-1",objectFit:"cover"},videoContainer:{position:"relative",backgroundRepeat:"no-repeat",justifyContent:"flex-start",backgroundSize:"cover",backgroundPosition:"center center",minHeight:{xs:400,md:600},backgroundColor:"unset"},container:{display:"flex",position:"relative",flexDirection:{xs:"column",md:"row"},alignItems:"center",justifyContent:"center",padding:{xs:"0 12px 20px 12px",md:"0 40px 40px 80px"}},contentContainer:{display:"flex",flexDirection:"column",width:{xs:"100%",md:"100%"},alignItems:{xs:"center",md:"flex-start"},flex:{md:1.5},order:{xs:2,md:1}},fallbackImg:{position:"relative",height:"100%",width:"100%",minHeight:{xs:400,md:600},"& img":{objectFit:"cover"}},title:{fontFamily:"".concat(u().style.fontFamily," !important"),fontWeight:"400 !important",fontSize:{xs:"2.8rem !important",md:"7.2rem !important"},lineHeight:{xs:"100% !important",md:"120% !important"},letterSpacing:"0 !important",margin:{xs:"20px 0 20px 0",md:"12px 0 20px 0"},textAlign:{xs:"center",md:"left"},width:"100%",maxWidth:{md:"918px"}},caption:{fontFamily:"".concat(v().style.fontFamily," !important"),fontWeight:500,fontSize:"1.6rem",lineHeight:"140%",letterSpacing:"0.16em",textTransform:"uppercase",color:"primary.main",textAlign:{xs:"center",md:"left"}},description:{fontFamily:"".concat(v().style.fontFamily," !important"),fontWeight:400,fontSize:{xs:"1.8rem",md:"2.6rem"},lineHeight:{xs:"120%",md:"140%"},letterSpacing:0,color:"primary.main",margin:"0 0 24px 0",width:{xs:"85%",md:"75%"},textAlign:{xs:"center",md:"left"}},imageContainer:{position:"relative",order:{xs:1,md:2},flex:{md:2}},image:{"& img":{width:"100%",height:"auto"}}},j=t=>{let{title:e,description:n,button:g,secondaryButton:u,caption:h,buttonVariant:v,secondaryButtonVariant:j,sx:b,image:w,background:C,backgroundMobile:S,video:z,info:H}=t,[I]=(0,d.Z)(),k=(0,p.useRef)(null);(0,p.useEffect)(()=>{let t=()=>{if(null==k?void 0:k.current){let t=k.current.currentTime>0&&!k.current.paused&&!k.current.ended&&k.current.readyState>2;t||k.current.play()}},e=()=>{t()};return document.body.addEventListener("touchstart",e),()=>{document.body.removeEventListener("touchstart",e)}},[]);let B={backgroundImage:C&&!z?"url(".concat((0,c.b)(I<600&&S?S.url:C.url),")"):null};return(0,i.jsxs)(o.Z,{sx:[y.container,(C||z)&&y.videoContainer,null==b?void 0:b.container],style:B,children:[(0,i.jsxs)(a.Z,{sx:[y.contentContainer,null==b?void 0:b.contentContainer],children:[h&&(0,i.jsx)(r.Z,{variant:"caption2",component:"span",sx:[y.caption,null==b?void 0:b.caption],children:h}),(0,i.jsx)(r.Z,{variant:"h4",component:"h1",sx:[y.title,null==b?void 0:b.title],children:e}),H?(0,i.jsx)(o.Z,{sx:[y.description,null==b?void 0:b.description,{"& p":{margin:0},"& sup":{fontSize:"0.75em",verticalAlign:"super",lineHeight:0}}],children:(0,i.jsx)(Z.Z,{rehypePlugins:[[f.Z,{allowDangerousHtml:!0}]],children:H})}):n&&(0,i.jsx)(r.Z,{variant:"body2",component:"p",sx:[y.description,null==b?void 0:b.description],children:n}),(0,i.jsxs)(l.Z,{direction:{xs:"column",sm:"row"},spacing:6,children:[g&&(0,i.jsx)(m.Z,{href:(null==g?void 0:g.link)||"#",passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(s.Z,{variant:v||null,sx:[y.button,null==b?void 0:b.button],children:null==g?void 0:g.text})}),u&&(0,i.jsx)(m.Z,{href:(null==u?void 0:u.link)||"#",passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(s.Z,{variant:j||null,sx:[y.secondaryButton,null==b?void 0:b.secondaryButton],children:null==u?void 0:u.text})})]})]}),z&&(0,i.jsxs)(o.Z,{component:"video",id:"video-bg-elem",ref:k,preload:"auto",autoPlay:!0,loop:!0,muted:!0,playsInl
1ine:!0,sx:y.video,children:[(0,i.jsx)("source",{src:z,type:"video/mp4"}),(C||w)&&(0,i.jsx)(x.Z,{picture:C||w,sizes:"100vw",alt:"bg-img",sx:y.fallbackImg}),"Video not supported"]}),w&&!z&&(0,i.jsx)(o.Z,{sx:[y.imageContainer,null==b?void 0:b.imageContainer],children:(0,i.jsx)(x.Z,{picture:w,alt:"bg-img",sx:[y.image,null==b?void 0:b.image],sizes:y.imageSizes})})]})};e.Z=j},45615:function(t,e,n){n.d(e,{Z:function(){return z}});var i=n(85893),o=n(67294),a=n(93619),r=n(87357),l=n(15861),s=n(50135),d=n(83321),c=n(79976),m=n(76053),x=n(50594),p=n(50657),g=n(33090),u=n(93946),h=n(6514),v=n(93426),Z=n(83844);let f={modalRoot:{"& .MuiDialog-paper":{width:"100%",position:"relative",padding:{xs:Z.Z.spacing(6,8),md:Z.Z.spacing(12,14)},maxWidth:"504px"}},titleContainer:{padding:0,display:"flex",flexDirection:"column",marginBottom:Z.Z.spacing(12),color:"text.primary"},title:{fontWeight:700,fontSize:{sm:"4rem"}},closeIcon:{position:"absolute",top:"20px",right:"20px",padding:0,"& svg":{fontSize:{md:"3.4rem"}}},icon:{marginBottom:Z.Z.spacing(10),width:{xs:"38px",md:"48px"},height:{xs:"38px",md:"48px"}},subtitle:{marginTop:Z.Z.spacing(1),color:"text.gray"},content:{padding:0},contentItem:{"&:not(:last-child)":{marginBottom:{xs:Z.Z.spacing(8),md:Z.Z.spacing(12)}}},itemHeader:{display:"flex",alignItems:"center"},itemIcon:{marginRight:Z.Z.spacing(3),width:"26px",height:"26px"},insightTitle:{fontWeight:600,color:"#02A878",fontSize:"2.2rem"},insightDescription:{textTransform:"none",color:"#8E8E8E",fontWeight:500,lineHeight:"28px"}},y=t=>{let{open:e,onClose:n,data:o,modalTitle:a,modalSubtitle:s,modalIcon:d}=t;return(0,i.jsxs)(p.Z,{onClose:n,"aria-labelledby":"responsive-dialog-title",open:e,sx:f.modalRoot,children:[(0,i.jsxs)(g.Z,{id:"responsive-dialog-title",sx:f.titleContainer,children:[(0,i.jsx)(u.Z,{"aria-label":"close",onClick:n,sx:f.closeIcon,children:(0,i.jsx)(x.Z,{})}),d&&(0,i.jsx)(v.Z,{picture:d,sx:f.icon,alt:"icon"}),(0,i.jsx)(l.Z,{variant:"h4",component:"p",sx:f.title,children:a}),(0,i.jsx)(l.Z,{variant:"body4",component:"p",sx:f.subtitle,children:s})]}),(0,i.jsx)(h.Z,{sx:f.content,children:(null==o?void 0:o.length)&&o.map(t=>{let{icon:e,title:n,description:o}=t;return(0,i.jsxs)(r.Z,{sx:f.contentItem,children:[(0,i.jsxs)(r.Z,{sx:f.itemHeader,children:[e&&(0,i.jsx)(v.Z,{picture:e,fill:!1,alt:"icon",sx:f.itemIcon}),(0,i.jsx)(l.Z,{component:"h3",variant:"body3",sx:f.insightTitle,children:n})]}),(0,i.jsx)(l.Z,{component:"p",variant:"caption1",sx:f.insightDescription,children:o})]},n)})})]})},j=t=>"string"==typeof t?/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])(\.)[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9]?)*$/g.test(t)?null:{email:!0}:null,b={container:{padding:{xs:Z.Z.spacing(0,5,12),md:Z.Z.spacing(12,14)}},header:{padding:0,display:"flex",flexDirection:"column",alignItems:"center",marginBottom:{xs:Z.Z.spacing(10),md:Z.Z.spacing(12)},color:"text.primary"},title:{fontSize:{sm:"5.4rem"}},subtitle:{marginTop:{xs:Z.Z.spacing(1),sm:Z.Z.spacing(4)},color:"text.gray",textAlign:"center"},content:{padding:0,marginTop:{sm:Z.Z.spacing(4)},display:{md:"flex"}},contentItem:{"&:not(:last-child)":{marginBottom:{xs:Z.Z.spacing(8),md:Z.Z.spacing(0,12,0,0)}},maxWidth:{md:"338px"},marginBottom:{md:Z.Z.spacing(3)},width:{md:"100%"}},itemHeader:{display:"flex",alignItems:"center",marginBottom:Z.Z.spacing(1)},itemIcon:{marginRight:Z.Z.spacing(3),width:"26px",height:"26px","& img":{width:"100%",height:"auto"}},insightTitle:{color:"#02A878",fontWeight:600,fontSize:"2.2rem"},insightDescription:{textTransform:"none",color:"#8E8E8E",fontWeight:500,lineHeight:"28px"}},w=t=>{let{data:e,title:n,subtitle:o}=t;return(0,i.jsxs)(r.Z,{sx:b.container,children:[(0,i.jsxs)(r.Z,{sx:b.header,children:[(0,i.jsx)(l.Z,{variant:"h4",component:"p",sx:b.title,children:n}),(0,i.jsx)(l.Z,{variant:"body4",component:"p",sx:b.subtitle,children:o})]}),(0,i.jsx)(r.Z,{sx:b.content,children:(null==e?void 0:e.length)>0&&(null==e?void 0:e.map(t=>{let{icon:e,title:n,description:o}=t;return(0,i.jsxs)(r.Z,{sx:b.contentItem,children:[(0,i.jsxs)(r.Z,{sx:b.itemHeader,children:[(null==e?void 0:e.data)&&(0,i.jsx)(v.Z,{picture:e,alt:"icon",sx:b.itemIcon}),(0,i.jsx)(l.Z,{component:"h3",variant:"body3",sx:b.insightTitle,children:n})]}),(0,i.jsx)(l.Z,{component:"p",variant:"caption1",sx:b.insightDescription,children:o})]},n)}))})]})},C={container:{display:"flex",flexDirection:"column",alignItems:"center",padding:{xs:
1Z.Z.spacing(8,5,23),md:Z.Z.spacing(12,10,25),lg:Z.Z.spacing(20,10,31)}},title:{marginBottom:Z.Z.spacing(3),lineHeight:{xs:"36px",md:"110%"},fontSize:{md:"5.4rem"}},subtitle:{marginBottom:Z.Z.spacing(8),lineHeight:"21px",textAlign:"center"},inputContainer:{width:"100%",maxWidth:{xs:380,md:630},display:"flex"},button:{padding:{xs:Z.Z.spacing(4),md:Z.Z.spacing(6)},borderRadius:0,width:"fit-content",minWidth:"unset",backgroundColor:"text.primary",maxHeight:64,"& span":{margin:0},"&:hover":{backgroundColor:"text.primary"}},arrow:{fill:Z.Z.palette.primary.main},input:{width:"100%","& input::placeholder, & input":{fontSize:{md:"2.8rem"},lineHeight:{md:"140%"},padding:{md:Z.Z.spacing(5)}}},helperText:{fontSize:16}},S=new c.Z;var z=function(t){var e;let{title:n,subtitle:c,modalSubtitle:x,data:p,modalTitle:g,icon:u,withModal:h}=t,[v,Z]=(0,o.useState)(""),[f,b]=(0,o.useState)(!1),[z,H]=(0,o.useState)(!1),I=()=>{H(!0)},k=()=>{H(!1)},B=t=>{Z(t.target.value)},T=t=>{var e,n,i,o;b(null===(e=j(null==t?void 0:null===(n=t.target)||void 0===n?void 0:n.value))||void 0===e?void 0:e.email),(null==t?void 0:null===(i=t.target)||void 0===i?void 0:null===(o=i.value)||void 0===o?void 0:o.length)<1&&b(!1)},F=async()=>{await S.sendFormDataToHubspot(m.Z.HUBSPOT_FORM_ID,[{name:"email",value:v}]),Z(""),I()},W=()=>{var t;(null===(t=j(v))||void 0===t?void 0:t.email)||!v||F()},A=t=>{(null==t?void 0:t.key)==="Enter"&&W()};return(0,i.jsxs)(r.Z,{sx:C.container,children:[!h&&z?(0,i.jsx)(w,{data:p,title:g,subtitle:x}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Z,{component:"h3",variant:"h3",sx:C.title,children:n}),(0,i.jsx)(l.Z,{component:"h2",variant:"body4",sx:C.subtitle,children:c})]}),(0,i.jsxs)(r.Z,{sx:C.inputContainer,children:[(0,i.jsx)(s.Z,{variant:"outlined",placeholder:"your email here",sx:C.input,name:"email",type:"email",value:v,onKeyDown:A,onBlur:T,onFocus:()=>b(!1),error:f,onChange:B,helperText:!!f&&"Please enter valid email.",FormHelperTextProps:{style:C.helperText}}),(0,i.jsx)(d.Z,{type:"button",sx:C.button,endIcon:(0,i.jsx)(a.Z,{sx:C.arrow}),onClick:W})]}),h&&(0,i.jsx)(y,{modalIcon:null==u?void 0:null===(e=u.data)||void 0===e?void 0:e.attributes,data:p,open:z,onClose:k,modalTitle:g,modalSubtitle:x})]})}},74594:function(t,e,n){var i=n(85893);n(67294);var o=n(5152),a=n.n(o),r=n(77446),l=n(41895),s=n(87357),d=n(15686),c=n(11163);let m=a()(()=>n.e(2863).then(n.bind(n,22863)),{loadableGenerated:{webpack:()=>[22863]}}),x={header:{flexShrink:0},main:{flexGrow:1},footer:{flexShrink:0}},p=t=>{var e;let{globalContent:{pages:n,headerButton:o,footerNavigation:a,lightLogo:p,darkLogo:g,phone:u,email:h,disclaimer:v,socials:Z,cookieBanner:f,reengagementBanner:y,partnerConnectorImage:j}={},footerDisclaimer:b,sx:w,children:C}=t,S=(0,c.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Z,{sx:x.header,navItems:n,getQuoteBtn:o,logo:g,lightLogo:p,partnerConnectorImage:j}),(0,i.jsxs)(s.Z,{component:"main",sx:[x.main,w&&w],children:["/guide"!==S.pathname&&(0,i.jsx)(d.Z,{data:y}),C]}),(0,i.jsx)(m,{sx:x.footer,logo:null==p?void 0:null===(e=p.data)||void 0===e?void 0:e.attributes,icons:Z,pages:null==a?void 0:a.navItems,phone:u,email:h,disclaimer:v,footerDisclaimer:b}),(0,i.jsx)(r.Z,{text:f})]})};e.Z=p}}]);

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.