!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c056716-b681-449b-af94-90ce2d6eea00",e._sentryDebugIdIdentifier="sentry-dbid-0c056716-b681-449b-af94-90ce2d6eea00")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9490],{99328:function(e,t,r){r.d(t,{C:function(){return v},R:function(){return f}});var n=r(95235),a=r(82269),i=r(13980),o=r.n(i),s=r(82731),l=r(52322),p=r(65902);const c=["children","className","horizontalUncenter","noWrap","reverse","stackMedium","verticalBaseline","verticalCenter"],m=["children","className","deep","span","large","xlarge","xxlarge"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{let{theme:t}=e;return t.pmp.layout.totalWidth}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>!e.stackMedium&&(0,s.css)(["display:flex;flex-wrap:wrap;justify-content:center;"])),(e=>e.noWrap&&(0,s.css)(["flex-wrap:nowrap;"])),(e=>e.verticalCenter&&(0,s.css)(["align-items:center;"])),(e=>e.verticalBaseline&&(0,s.css)(["align-items:baseline;"])),(e=>e.horizontalUncenter&&(0,s.css)(["justify-content:flex-start;"])),(e=>e.reverse&&(0,s.css)(["flex-direction:row-reverse;"])),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>e.stackMedium&&(0,s.css)(["display:flex;flex-wrap:wrap;justify-content:center;"]))),g=e=>{let{children:t,className:r,horizontalUncenter:n,noWrap:i,reverse:o,stackMedium:s,verticalBaseline:p,verticalCenter:m}=e,d=(0,a.Z)(e,c);return(0,l.jsx)(h,u(u({className:r,noWrap:i,verticalCenter:m,verticalBaseline:p,horizontalUncenter:n,stackMedium:s,reverse:o},d),{},{children:t}))};g.propTypes={children:o().node,className:o().string,horizontalUncenter:o().bool,noWrap:o().bool,reverse:o().bool,stackMedium:o().bool,verticalBaseline:o().bool,verticalCenter:o().bool};var f=g;const b=s.default.div.withConfig({componentId:"pmp-module__sc-fsfwz4-0"})(["&&{padding-right:calc(var(--gutter-width) * 0.5);padding-left:calc(var(--gutter-width) * 0.5);}@media ","{flex:0 0 auto;"," ","}@media ","{","}@media ","{","}@media ","{","}"],(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>e.$span&&(0,s.css)(["flex-basis:",";"],(0,p.g)(e.theme,e.$span))),(e=>e.deep&&(0,s.css)(["&&{padding-right:0;padding-left:0;}"])),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>e.large&&(0,s.css)(["flex-basis:",";"],(0,p.g)(e.theme,e.large))),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xlargeUp}),(e=>e.xlarge&&(0,s.css)(["flex-basis:",";"],(0,p.g)(e.theme,e.xlarge))),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xxlarge}),(e=>e.xxlarge&&(0,s.css)(["flex-basis:",";"],(0,p.g)(e.theme,e.xxlarge)))),y=e=>{let{children:t,className:r,deep:n,span:i,large:o,xlarge:s,xxlarge:p}=e,c=(0,a.Z)(e,m);return(0,l.jsx)(b,u(u({className:r,$span:i,large:o,xlarge:s,xxlarge:p,deep:n},c),{},{children:t}))};y.propTypes={className:o().string,span:o().number,large:o().number,xlarge:o().number,xxlarge:o().number,deep:o().bool,children:o().node};var v=y},73061:function(e,t,r){r.d(t,{P:function(){return W},S:function(){return Z},a:function(){return P},b:function(){return N},c:function(){return C},d:function(){return D},e:function(){return $},f:function(){return U},g:function(){return z},h:function(){return S},t:function(){return O}});var n=r(82269),a=r(95235),i=r(2784),o=r(13980),s=r.n(o),l=r(82731),p=r(82091),c=r(88577),m=r(65902),d=r(52322),u=r(34406);const h=["id","width","height","children","as"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,l.css)(["",";"],(e=>(0,l.css)(["box-shadow:0 0 0 2px ",",0 0 0 4px ",";"],e.pmp.colors.black,e.pmp.colors.white))(t))}));var y=(0,l.createGlobalStyle)([".","{color:",";text-size-adjust:none;h1,h2,h3,h4,h5,h6,p{margin:0;}p,ul,ol{font-weight:",";}b,strong{font-weight:",";}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return t.pmp.colors.main}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.regular}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.bold}));var v=(0,l.createGlobalStyle)([".","{.visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.focus-reverse:focus{","}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,l.css)(["",";"],(e=>(0,l.css)(["box-shadow:0 0 0 2px ",",0 0 0 4px ",";"],e.pmp.colors.white,e.pmp.colors.black))(t))}));var w=(0,l.createGlobalStyle)([".","{","}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,l.css)(["",";",";"],(e=>Object.entries(e.pmp.colors).reduce(((e,t)=>{let[r,n]=t;return e+`\n .color-${r} {\n color: ${n};\n }\n `}),""))(t),(e=>Object.entries(e.pmp.colors).reduce(((e,t)=>{let[r,n]=t;return e+`\n .bg-${r} {\n background-color: ${n};\n }\n `}),""))(t))}));const x=e=>`calc(${e} * 0.1 * 1s * var(--duration-factor))`,k=e=>`calc(((${e} - 1) * (var(--in-view-stagger-amount) * 1s) + var(--in-view-stagger-delay) * 1s) * var(--duration-factor))`;var j=(0,l.createGlobalStyle)([".","{.in-view__anim{","}.in-view{.in-view__anim{","}","}.in-view__anim--left{--start-x:50%;--start-y:0;--start-scale:1;}.in-view__anim--right{--start-x:-50%;--start-y:0;--start-scale:1;}.in-view__anim--up{--start-x:0;--start-y:50%;--start-scale:1;}.in-view__anim--up-min{--start-x:0;--start-y:30px;--start-scale:1;}.in-view__anim--down{--start-x:0;--start-y:-50%;--start-scale:1;}.in-view__anim--pop{--start-x:0;--start-y:0;--start-scale:0.5;--easing-fn-show:var(--ease-back-out);--easing-fn-hide:var(--ease-back-in);}.in-view__stagger{--in-view-stagger-delay:var(--in-view-delay);> *{","}}.in-view .in-view__stagger > *{","}"," .in-view__stagger--up-min{--start-x:0;--start-y:30px;--start-scale:1;}.in-view__stagger--pop{--start-x:0;--start-y:0;--start-scale:0.5;--easing-fn-show:var(--ease-back-out);--easing-fn-hide:var(--ease-back-in);}&.","{.in-view__anim,.in-view__stagger > *{opacity:1;transform:none;transition:none;}}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),"\n opacity: var(--start-alpha, 0);\n transform: translate(var(--start-x, 0), var(--start-y, 0)) scale(var(--start-scale, 1))\n rotate(var(--start-rotate, 0deg));\n transition-delay: 0s;\n transition-duration: var(--duration-hide, 0.4s);\n transition-property: transform, opacity;\n transition-timing-function: var(--easing-fn-hide, ease);\n ","\n opacity: var(--end-alpha, 1);\n transform: translate(var(--end-x, 0), var(--end-y, 0)) scale(var(--end-scale, 1))\n rotate(var(--end-rotate, 0deg));\n transition-delay: var(--in-view-delay);\n transition-duration: var(--duration-show, 0.4s);\n transition-timing-function: var(--easing-fn-show);\n ",(()=>{let e="";for(let t=0;t<=20;t++)e+=`\n .in-view__anim--delay-${t} {\n --in-view-delay: ${x(t)}\n }\n `;return e}),"\n opacity: var(--start-alpha, 0);\n transform: translate(var(--start-x, 0), var(--start-y, 0)) scale(var(--start-scale, 1))\n rotate(var(--start-rotate, 0deg));\n transition-delay: 0s;\n transition-duration: var(--duration-hide, 0.4s);\n transition-property: transform, opacity;\n transition-timing-function: var(--easing-fn-hide, ease);\n ","\n opacity: var(--end-alpha, 1);\n transform: translate(var(--end-x, 0), var(--end-y, 0)) scale(var(--end-scale, 1))\n rotate(var(--end-rotate, 0deg));\n transition-delay: var(--in-view-delay);\n transition-duration: var(--duration-show, 0.4s);\n transition-timing-function: var(--easing-fn-show);\n ",(()=>{let e="";for(let t=0;t<=10;t++)e+=`\n .in-view .in-view__stagger > *:nth-child(${t}) {\n --in-view-delay: ${k(t)}\n }\n `;return e}),m.R);const _=function(){for(var e=arguments.length,t=new Array(e),r=0;rr=>{const n=r?.theme?.pmp;if(!n)throw new Error("No PMP theme found");let a=n;for(const e of t)a=a[e];if(a=a[e],!a)throw new Error(`Value \`${a}\` not found in \`theme.pmp.${t.join(".")}\``);return a}},O=_("breakpoints"),P=_("colors"),$=_("gradients"),N=_("animation","easing"),z=_("typography","weights"),D=e=>e?(0,l.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"]):(0,l.css)(["-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;"]),U=e=>(0,l.css)(["font-family:",";font-weight:",";"],e.pmp.typography.families.heading,e.pmp.typography.weights.heading),S=e=>(0,l.css)(["font-family:",";font-weight:",";"],e.pmp.typography.families.legal,e.pmp.typography.weights.regular),C=e=>e/16+"rem",T=function(){let{size:e,letterSpacing:t,lineHeight:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return`\n font-size: ${C(e)};\n ${isNaN(t)||null===t?"":`letter-spacing: ${(t/e).toFixed(2)}em`};\n ${r?`line-height: ${(r/e).toFixed(2)}`:""};\n `},B=(e,t)=>{const r=e.pmp.typography[t];if(r){return Object.entries(r).reduce(((e,t)=>{let[r,n]=t,a=`.${r}`;return r.includes("title-")&&(a=`.${r}, h${r.slice(-1)}`),"body"===r&&(a=`.${r}, p, ul, ol`),e+`\n ${a} {\n ${T(n)}\n }\n\n `}),"")}};var E=(0,l.createGlobalStyle)([".","{"," "," .flex{display:flex;}.flex--center{place-content:center;}.flex--wrap{flex-wrap:wrap;}.block{display:block;}.fit{width:100%;}.center{margin-left:auto;margin-right:auto;}.relative{position:relative;}.hide-overflow{overflow:hidden;}@media ","{","}@media ","{","}@media ","{","}@media ","{","}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,l.css)([""," "," "," "," ",""],(0,m.a)({theme:t}),(0,m.b)({type:"margin",direction:"top",theme:t}),(0,m.b)({type:"margin",direction:"bottom",theme:t}),(0,m.b)({type:"padding",direction:"top",theme:t}),(0,m.b)({type:"padding",direction:"bottom",theme:t}))}),(0,m.d)(),O("small"),(e=>{let{theme:t}=e;return(0,l.css)([""," "," "," ",""],(0,m.a)({breakpoint:"small",theme:t}),(0,m.b)({type:"margin",direction:"top",breakpoint:"small",theme:t}),(0,m.b)({type:"padding",direction:"top",steps:5,breakpoint:"small",theme:t}),(0,m.b)({type:"padding",direction:"bottom",steps:5,breakpoint:"small",theme:t}))}),O("medium"),(e=>{let{theme:t}=e;return(0,l.css)([""," "," "," ",""],(0,m.a)({breakpoint:"medium",theme:t}),(0,m.b)({type:"margin",direction:"top",breakpoint:"medium",theme:t}),(0,m.b)({type:"padding",direction:"top",steps:5,breakpoint:"medium",theme:t}),(0,m.b)({type:"padding",direction:"bottom",steps:5,breakpoint:"medium",theme:t}))}),O("large"),(e=>{let{theme:t}=e;return(0,l.css)([""," ",""],(0,m.a)({breakpoint:"large",theme:t}),(0,m.b)({type:"margin",direction:"top",breakpoint:"large",theme:t}))}),O("xlarge"),(e=>{let{theme:t}=e;return(0,l.css)(["",""],(0,m.a)({breakpoint:"xlarge",theme:t}))}));var M=(0,l.createGlobalStyle)([".","{"," h1,.title-1,h2,.title-2,h3,.title-3,h4,.title-4,h5,.title-5,h6,.title-6{","}&,.body,p,ul,ol{","}.body--legal{}.text-center{text-align:center;}.text-nowrap{white-space:nowrap;}.text-weight-regular{font-weight:",";}.text-weight-bold{font-weight:",";}.font-smoothing-subpixel{",";}@media ","{","}@media ","{","}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,l.css)([""," ",""],T(t.pmp.typography.small.body),B(t,"small"))}),(e=>{let{theme:t}=e;return U(t)}),(e=>{let{theme:t}=e;return(e=>(0,l.css)(["font-family:",";font-weight:",";"],e.pmp.typography.families.body,e.pmp.typography.weights.body))(t)}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.regular}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.bold}),D(!1),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>{let{theme:t}=e;return(0,l.css)([""," ",""],T(t.pmp.typography.medium.body),B(t,"medium"))}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>{let{theme:t}=e;return(0,l.css)([""," ",""],T(t.pmp.typography.large.body),B(t,"large"))}));const G=l.default.div.withConfig({componentId:"pmp-module__sc-1r15whz-0"})(["--breakpoint:'S';overflow-x:clip;&::after{background:#fff;bottom:0;color:#000;content:var(--breakpoint);font-size:1.5rem;line-height:1;opacity:0;padding:14px;pointer-events:none;position:fixed;right:0;z-index:100;","}@media ","{--breakpoint:'M';}@media ","{--breakpoint:'L';}@media ","{--breakpoint:'XL';}@media ","{--breakpoint:'XXL';}"],(e=>{let{debug:t}=e;return t&&(0,l.css)(["opacity:1;"])}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xlargeUp}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xxlarge})),I=e=>{let{className:t,children:r}=e;const n=(0,m.u)(),a=(0,i.useMemo)((()=>(0,m.c)([m.N,n?m.R:"",t])),[t,n]);return(0,d.jsx)(G,{className:a,debug:"true"===u.env?.WTC_DEBUG,children:r})},R=e=>{let{pageProps:t,customTheme:r,i18n:n,className:a,children:i}=e;const o=f(f({},c.d),{},{pmp:(0,m.m)(m.P,r)});if(!t.marketingPage)throw new Error("You must supply a `marketingPage` prop containing Contentful data to your PMP Template.");return(0,d.jsx)(m.e,{marketingPage:t.marketingPage,DemoButton:t.DemoButton,locale:t.locale,children:(0,d.jsx)(p.LocalizerProvider,{locale:t.locale,translations:n,children:(0,d.jsx)(l.ThemeProvider,{theme:o,children:(0,d.jsxs)(I,{className:a,children:[(0,d.jsx)(b,{}),(0,d.jsx)(m.B,{}),(0,d.jsx)(y,{}),(0,d.jsx)(m.h,{}),(0,d.jsx)(v,{}),(0,d.jsx)(w,{}),(0,d.jsx)(E,{}),(0,d.jsx)(M,{}),(0,d.jsx)(j,{}),i]})})})})};I.propTypes={children:s().node,className:s().string},R.propTypes={children:s().node,className:s().string,customTheme:s().object,pageProps:s().shape({marketingPage:s().object.isRequired,DemoButton:s().node,locale:s().string.isRequired}),i18n:s().object};var W=R;const q=e=>{let{id:t,width:r,height:a,children:i,as:o}=e,s=(0,n.Z)(e,h);const l=o||"symbol";return(0,d.jsx)(l,f(f({id:"svg"===o?null:`${m.N}-icon-${t}`,viewBox:`0 0 ${r} ${a}`},s),{},{children:i}))};q.propTypes={id:o.string.isRequired,width:(0,o.oneOfType)([o.string,o.number]).isRequired,height:(0,o.oneOfType)([o.string,o.number]).isRequired,children:(0,o.oneOfType)([o.node,(0,o.arrayOf)(o.node)]),as:o.string};var Z=q}}]);
//# sourceMappingURL=9490.649823dc612ee7f2.js.map