1(self.webpackChunkPylot_Frontend=self.webpackChunkPylot_Frontend||[]).push([[905,1381,2879,3286,3304,5260,5556,5667,6601,8048,8982],{2694:(e,t,n)=>{"use strict";var o=n(6925);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},14536:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(71354),r=n.n(o),i=n(76314),a=n.n(i)()(r());a.push([e.id,".parallax-image{overflow:hidden;display:flex;align-items:center;justify-content:center}.parallax-image:not(.parallax-image.side-to-side) img{max-width:1250px;transform:translate3d(0, 0, 0);-webkit-transform:translate3d(0, 0, 0)}@media(min-width: 1250px){.parallax-image:not(.parallax-image.side-to-side) img{max-width:none;width:100%}}.parallax-image.zoom{position:relative;height:600px}.parallax-image.zoom img{min-height:100%;min-width:100%;object-fit:contain}.react-parallax img{max-width:none}","",{version:3,sources:["webpack://./src/modules/parallax-image/index.scss"],names:[],mappings:"AAEA,gBAEI,eAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CAEI,sDACI,gBAAA,CACA,8BAAA,CACA,sCAAA,CAEJ,0BACI,sDACI,cAAA,CACA,UAAA,CAAA,CAIZ,qBACI,iBAAA,CACA,YAAA,CACA,yBACI,eAAA,CACA,cAAA,CACA,kBAAA,CAKR,oBACI,cAAA",sourcesContent:['@import "src/scss/variables";\n\n.parallax-image {\n // height: 270px;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n &:not(&.side-to-side) {\n img {\n max-width: 1250px;\n transform: translate3d(0, 0, 0);\n -webkit-transform: translate3d(0, 0, 0);\n }\n @media (min-width: $break-desktop) {\n img {\n max-width: none;\n width: 100%;\n }\n }\n }\n &.zoom {\n position: relative;\n height: 600px;\n img {\n min-height: 100%;\n min-width: 100%;\n object-fit: contain;\n }\n }\n}\n.react-parallax {\n img {\n max-width: none;\n }\n}'],sourceRoot:""}]);const l=a},29255:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var o=function(e,t,n){"string"==typeof e&&(e=(e="#"===e.charAt()?e.split("#")[1]:e).endsWith("/")?e.split("/")[0]:e,e=document.getElementById(e)),e&&window.scrollTo({behavior:n,top:e.getBoundingClientRect().top-document.body.getBoundingClientRect().top-t})}},30905:(e,t,n)=>{"use strict";n.d(t,{Nf:()=>v,Q1:()=>f,VH:()=>a,VS:()=>s,i0:()=>p,lx:()=>h,sK:()=>y,vB:()=>b});var o=n(80296),r=n(96540),i=n(94518),a=function(e,t){return e&&"dark"===e.toLowerCase()?c(t):l(t)},l=function(e){var t,n,a,l,c,s,u,d,f,g,m,p,h,y=(0,r.useContext)(i.lj),v=(0,o.A)(y,2),b=v[0];switch(v[1],e){case"solid-fill-primary":case"outline-primary":case"solid-fill-monochrome-primary":case"outline-monochrome-primary":return"".concat(null!==(t=b.mvk_theme_config.other)&&void 0!==t&&t.button_outline_width?null===(n=b.mvk_theme_config.other)||void 0===n?void 0:n.button_outline_width:"3","px solid ").concat(null===(a=b.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.primary_color);case"solid-fill-secondary":case"outline-secondary":case"solid-fill-monochrome-secondary":case"outline-monochrome-secondary":return"".concat(null!==(l=b.mvk_theme_config.other)&&void 0!==l&&l.button_outline_width?null===(c=b.mvk_theme_config.other)||void 0===c?void 0:c.button_outline_width:"3","px solid ").concat(null===(s=b.design)||void 0===s||null===(s=s.colors)||void 0===s?void 0:s.secondary_color);case"solid-fill-tertiary":case"outline-tertiary":return"".concat(null!==(u=b.mvk_theme_config.other)&&void 0!==u&&u.button_outline_width?null===(d=b.mvk_theme_config.other)||void 0===d?void 0:d.button_outline_width:"3","px solid ").concat(null===(f=b.design)||void 0===f||null===(f=f.colors)||void 0===f?void 0:f.tertiary_color);case"solid-fill-gradient":return"".concat(null!==(g=b.mvk_theme_config.other)&&void 0!==g&&g.button_outline_width?null===(m=b.mvk_theme_config.other)||void 0===m?void 0:m.button_outline_width:"3","px solid transparent");case"outline-gradient":case"outline-gradient-persistent":return"linear-gradient(90deg, ".concat(null===(p=b.design)||void 0===p||null===(p=p.colors)||void 0===p?void 0:p.gradient_color_1,", ").concat(null===(h=b.design)||void 0===h||null===(h=h.colors)||void 0===h?void 0:h.gradient_color_2,")");default:return"none"}},c=function(e){var t,n,a,l,c=(0,r.useContext)(i.lj),s=(0,o.A)(c,2),u=s[0];switch(s[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-tertiary":case"solid-fill-monochrome-primary":case"solid-fill-monochrome-secondary":case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-monochrome-primary":case"outline-monochrome-secondary":return"".concat(null!==(t=u.mvk_theme_config.other)&&void 0!==t&&t.button_outline_width?null===(n=u.mvk_theme_config.other)||void 0===n?void 0:n.button_outline_width:"3","px solid white");case"outline-gradient-persistent":return"linear-gradient(90deg, ".concat(null===(a=u.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.gradient_color_1,", ").concat(null===(l=u.design)||void 0===l||null===(l=l.colors)||void 0===l?void 0:l.gradient_color_2,")");default:return"none"}},s=function(e,t){return"dark"===e?d(t):u(t)},u=function(e){var t,n,a,l,c,s=(0,r.useContext)(i.lj),u=(0,o.A)(s,2),d=u[0];switch(u[1],e){case"solid-fill-primary":case"solid-fill-monochrome-primary":return"".concat(null===(t=d.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.primary_color);case"solid-fill-secondary":case"solid-fill-monochrome-secondary":return"".concat(null===(n=d.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.secondary_color);case"solid-fill-tertiary":return"".concat(null===(a=d.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.tertiary_color);case"solid-fill-gradient":case"solid-fill-gradient-persistent":return"linear-gradient(to right, ".concat(null===(l=d.design)||void 0===l||null===(l=l.colors)||void 0===l?void 0:l.gradient_color_1,", ").concat(null===(c=d.design)||void 0===c||null===(c=c.colors)||void 0===c?void 0:c.gradient_color_2,")");case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-gradient-persistent":case"outline-monochrome-primary":case"outline-monochrome-secondary":return"transparent";default:return"white"}},d=function(e){var t,n,a=(0,r.useContext)(i.lj),l=(0,o.A)(a,2),c=l[0];switch(l[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-tertiary":case"solid-fill-gradient":case"solid-fill-monochrome-primary":case"solid-fill-monochrome-secondary":default:return"white";case"solid-fill-gradient-persistent":return"linear-gradient(to right, ".concat(null===(t=c.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.gradient_color_1,", ").concat(null===(n=c.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.gradient_color_2,")");case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-gradient-persistent":case"outline-monochrome-primary":case"outline-monochrome-secondary":return"transparent"}},f=function(e,t){return"dark"===e?m(t):g(t)}
1,g=function(e){var t,n,a,l=(0,r.useContext)(i.lj),c=(0,o.A)(l,2),s=c[0];switch(c[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-monochrome-primary":case"solid-fill-monochrome-secondary":default:return"white";case"solid-fill-tertiary":case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-gradient-persistent":return"".concat(null===(t=s.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.body_copy_color);case"outline-monochrome-primary":return"".concat(null===(n=s.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.primary_color);case"outline-monochrome-secondary":return"".concat(null===(a=s.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.secondary_color)}},m=function(e){var t,n,a,l=(0,r.useContext)(i.lj),c=(0,o.A)(l,2),s=c[0];switch(c[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-tertiary":case"solid-fill-gradient":return"".concat(null===(t=s.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.body_copy_color);case"solid-fill-monochrome-primary":return"".concat(null===(n=s.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.primary_color);case"solid-fill-monochrome-secondary":return"".concat(null===(a=s.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.secondary_color);default:return"white"}},p=function(e){var t,n,a,l,c,s=(0,r.useContext)(i.lj),u=(0,o.A)(s,2),d=u[0];switch(u[1],e){case"background_color":return"".concat(null===(t=d.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.background_color);case"primary_color":return"".concat(null===(n=d.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.primary_color);case"secondary_color":return"".concat(null===(a=d.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.secondary_color);case"tertiary_color":return"".concat(null===(l=d.design)||void 0===l||null===(l=l.colors)||void 0===l?void 0:l.tertiary_color);case"body_copy_color":return"".concat(null===(c=d.design)||void 0===c||null===(c=c.colors)||void 0===c?void 0:c.body_copy_color);default:return""}},h=function(e){switch(e){case"background_color":return"background-bg";case"primary_color":return"primary-bg";case"secondary_color":return"secondary-bg";case"tertiary_color":return"tertiary-bg";case"body_copy_color":return"body-copy-bg";case"white":return"white-bg";default:return""}},y=function(e){switch(e){case"dark":return"white-txt";case"light":return"body-copy-txt";default:return""}},v=function(e){var t,n,a,l,c,s=(0,r.useContext)(i.lj),u=(0,o.A)(s,2),d=u[0];switch(u[1],e){case"primary-bg":return"".concat(null===(t=d.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.primary_color);case"secondary-bg":return"".concat(null===(n=d.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.secondary_color);case"tertiary-bg":return"".concat(null===(a=d.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.tertiary_color);case"custom":return"".concat(null===(l=d.mvk_theme_config.other)||void 0===l?void 0:l.cs_custom_color);default:return"".concat(null===(c=d.design)||void 0===c||null===(c=c.colors)||void 0===c?void 0:c.body_copy_color)}},b=function(e){switch(e){case"solid-fill-primary":return"outline-primary";case"solid-fill-secondary":return"outline-secondary";case"solid-fill-tertiary":return"outline-tertiary";case"solid-fill-gradient":return"outline-gradient";case"solid-fill-gradient-persistent":return"outline-gradient-persistent";case"solid-fill-monochrome-primary":return"outline-monochrome-primary";case"solid-fill-monochrome-secondary":return"outline-monochrome-secondary";case"outline-primary":return"solid-fill-primary";case"outline-secondary":return"solid-fill-secondary";case"outline-tertiary":return"solid-fill-tertiary";case"outline-gradient":return"solid-fill-gradient";case"outline-gradient-persistent":return"solid-fill-gradient-persistent";case"outline-monochrome-primary":return"solid-fill-monochrome-primary";case"outline-monochrome-secondary":return"solid-fill-monochrome-secondary"}}},47248:function(e,t,n){var o;"undefined"!=typeof self&&self,o=function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};
1return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Background=t.Parallax=void 0;var u=s(n(0)),d=function(e){i(n,e);var t=l(n);function n(){return r(this,n),t.apply(this,arguments)}return n}(u.default.Component);t.Parallax=d;var f=function(e){i(n,e);var t=l(n);function n(){return r(this,n),t.apply(this,arguments)}return n}(u.default.Component);t.Background=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.getNodeHeight=t.isScrolledIntoView=t.getWindowHeight=void 0,t.getWindowHeight=function(e){if(!e)return 0;var t=window,n=document,o=n.documentElement,r=n.getElementsByTagName("body")[0];return t.innerHeight||o.clientHeight||r.clientHeight},t.isScrolledIntoView=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;if(!o)return!1;var r=e.getBoundingClientRect().top-n,i=e.getBoundingClientRect().bottom+n;return r<=t.getWindowHeight(o)&&i>=0},t.getNodeHeight=function(e,n){return e?n&&"clientHeight"in n?n.clientHeight:t.getWindowHeight(e):0},t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Background=t.Parallax=void 0;var r=o(n(4));t.Parallax=r.default;var i=o(n(7));t.Background=i.default},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}
1function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=l(n(0)),s=n(1),u=n(5),d=n(2),f=l(n(6)),g={position:"absolute",left:"50%",WebkitTransform:"translate3d(-50%, 0, 0)",transform:"translate3d(-50%, 0, 0)",WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",MozBackfaceVisibility:"hidden",MsBackfaceVisibility:"hidden"},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}(n);function n(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=t.call(this,e)).onWindowResize=function(){o.parentHeight=d.getNodeHeight(o.canUseDOM,o.parent),o.updatePosition()},o.onWindowLoad=function(){o.updatePosition()},o.onScroll=function(){if(o.canUseDOM){var e=Date.now();e-o.timestamp>=10&&d.isScrolledIntoView(o.node,100,o.canUseDOM)&&(window.requestAnimationFrame(o.updatePosition),o.timestamp=e)}},o.onContentMount=function(e){o.content=e},o.updatePosition=function(){if(o.content){var e=!1;o.contentHeight=o.content.getBoundingClientRect().height,o.contentWidth=o.node.getBoundingClientRect().width,o.img&&o.img.naturalWidth/o.img.naturalHeight<o.contentWidth/o.getImageHeight()&&(e=!0);var t=u.getRelativePosition(o.node,o.canUseDOM),n=!!o.img,r=o.bg&&o.state.splitChildren.bgChildren.length>0;n&&o.setImagePosition(t,e),r&&o.setBackgroundPosition(t),n||r||o.setState({percentage:t})}},o.state={bgImage:e.bgImage,bgImageSrcSet:e.bgImageSrcSet,bgImageSizes:e.bgImageSizes,imgStyle:g,bgStyle:Object.assign(Object.assign({},g),e.bgStyle),percentage:0,splitChildren:u.getSplitChildren(e)},o.canUseDOM=d.canUseDOM(),o.node=null,o.content=null,o.bgImageLoaded=!1,o.bgImageRef=void 0,o.parent=e.parent,o.parentHeight=d.getNodeHeight(o.canUseDOM,o.parent),o.timestamp=Date.now(),o.isDynamicBlur=u.getHasDynamicBlur(e.blur),o}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(n,[{key:"componentDidMount",value:function(){var e=this.props.parent,t=this.state,n=t.bgImage,o=t.bgImageSrcSet,r=t.bgImageSizes;this.parent=e||document,this.addListeners(),n?this.loadImage(n,o,r):this.updatePosition()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.parent,o=t.bgImage,r=t.bgImageSrcSet,i=t.bgImageSizes,a=this.state.bgImage;e.parent!==n&&(this.removeListeners(this.parent),this.parent=n,n&&this.addListeners()),this.parentHeight=d.getNodeHeight(this.canUseDOM,this.parent),a!==o&&this.loadImage(o,r,i)}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.parent),this.releaseImage()}},{key:"setBackgroundPosition",value:function(e){var t=this.props,n=t.disabled,o=t.strength,r=Object.assign({},this.state.bgStyle);if(!n){var i="translate3d(-50%, ".concat((o<0?o:0)-o*e,"px, 0)");r.WebkitTransform=i,r.transform=i}this.setState({bgStyle:r,percentage:e})}},{key:"setImagePosition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.props,o=n.disabled,r=n.strength,i=n.blur,a=t?"auto":"".concat(this.getImageHeight(),"px"),l=t?"".concat(this.contentWidth,"px"):"auto",c=Object.assign(Object.assign({},this.state.imgStyle),{height:a,width:l});if(!o){var s="translate3d(-50%, ".concat((r<0?r:0)-r*e,"px, 0)"),d="none";i&&(d="blur(".concat(u.getBlurValue(this.isDynamicBlur,i,e),"px)")),c.WebkitTransform=s,c.transform=s,c.WebkitFilter=d,c.filter=d}this.setState({imgStyle:c,percentage:e})}},{key:"getImageHeight",value:function(){var e=this.props.strength,t=(e<0?2.5:1)*M
1ath.abs(e);return Math.floor(this.contentHeight+t)}},{key:"loadImage",value:function(e,t,n){var o=this;this.releaseImage(),this.bgImageRef=new Image,this.bgImageRef.onload=function(r){o.setState({bgImage:e,bgImageSrcSet:t,bgImageSizes:n},(function(){return o.updatePosition()})),o.props.onLoad&&o.props.onLoad(r)},this.bgImageRef.onerror=this.bgImageRef.onload,this.bgImageRef.src=e,this.bgImageRef.srcset=t||"",this.bgImageRef.sizes=n||""}},{key:"releaseImage",value:function(){this.bgImageRef&&(this.bgImageRef.onload=null,this.bgImageRef.onerror=null,delete this.bgImageRef)}},{key:"addListeners",value:function(){this.canUseDOM&&this.parent&&(this.parent.addEventListener("scroll",this.onScroll,!1),window.addEventListener("resize",this.onWindowResize,!1),window.addEventListener("load",this.onWindowLoad,!1))}},{key:"removeListeners",value:function(e){this.canUseDOM&&(e&&e.removeEventListener("scroll",this.onScroll,!1),window.removeEventListener("resize",this.onWindowResize,!1),window.removeEventListener("load",this.onWindowLoad,!1))}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,o=t.style,r=t.bgClassName,i=t.contentClassName,a=t.bgImageAlt,l=t.renderLayer,s=t.bgImageStyle,u=t.lazy,d=this.state,g=d.bgImage,m=d.bgImageSrcSet,p=d.bgImageSizes,h=d.percentage,y=d.imgStyle,v=d.bgStyle,b=d.splitChildren;return c.default.createElement("div",{className:"react-parallax ".concat(n),style:Object.assign({position:"relative",overflow:"hidden"},o),ref:function(t){e.node=t}},g?c.default.createElement("img",{className:r,src:g,srcSet:m,sizes:p,ref:function(t){e.img=t},alt:a,style:Object.assign(Object.assign({},y),s),loading:u?"lazy":"eager"}):null,l?l(-(h-1)):null,b.bgChildren.length>0?c.default.createElement("div",{className:"react-parallax-background-children",ref:function(t){e.bg=t},style:v},b.bgChildren):null,c.default.createElement(f.default,{onMount:this.onContentMount,className:i},b.children))}}],[{key:"getDerivedStateFromProps",value:function(e){return{splitChildren:u.getSplitChildren(e)}}}]),n}(s.Parallax);m.defaultProps={bgClassName:"react-parallax-bgimage",bgImageAlt:"",className:"",contentClassName:"",disabled:!1,strength:100},t.default=m},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.setBlur=t.getBlurValue=t.getHasDynamicBlur=t.getSplitChildren=t.getRelativePosition=t.getPercentage=void 0;var r=n(0),i=n(2);t.getPercentage=function(e,t,n){return(n-e)/(t-e)||0},t.getRelativePosition=function(e,n){if(!n)return 0;var o=e.getBoundingClientRect(),r=o.top,a=o.height,l=i.getNodeHeight(n),c=a>l?a:l,s=Math.round(r>c?c:r);return t.getPercentage(0,c,s)},t.getSplitChildren=function(e){var t=[],n=r.Children.toArray(e.children);return n.forEach((function(e,o){var r=e;r.type&&r.type.isParallaxBackground&&(t=t.concat(n.splice(o,1)))})),{bgChildren:t,children:n}},t.getHasDynamicBlur=function(e){return"object"===o(e)&&void 0!==e.min&&void 0!==e.max},t.getBlurValue=function(e,t,n){return e?t.min+(1-n)*t.max:t},t.setBlur=function(e,t){e.style.webkitFilter="blur(".concat(t,"px)"),e.style.filter="blur(".concat(t,"px)")}},function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0));t.default=function(e){var t=e.children,n=e.onMount,o=e.className;return r.default.createElement("div",{ref:function(e){return n(e)},className:o||"react-parallax-content",style:{position:"relative"}},t)}},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}
1function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=l(n(0)),s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}(n);function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t.apply(this,arguments)}return function(e,t){t&&r(e.prototype,t)}(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return c.default.createElement("div",{className:"react-parallax-background ".concat(t)},n)}}]),n}
1(n(1).Background);s.defaultProps={className:""},s.isParallaxBackground=!0,t.default=s}])},e.exports=o(n(96540))},48211:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>j});var o,r=n(80296),i=n(96540),a=n(47248),l=n(85692),c=n(30905),s=n(26564),u=n(72919),d=n(57528),f=n(21250).Ay.div(o||(o=(0,d.A)(["\n min-height: ","px;\n @media (min-width: 1024px) {\n min-height: ","px;\n }\n .parallax-content {\n padding: 1rem 0;\n }\n &.side-to-side {\n position: relative;\n background-color: ",";\n &.image {\n background-position: center center;\n background-size: cover;\n background-repeat: no-repeat;\n &.add-bg-image {\n background-image: url(",");\n }\n }\n .react-parallax {\n width: 100%;\n min-height: ","px;\n @media (min-width: 1024px) {\n min-height: ","px;\n }\n }\n .moving-image {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-2000%, -50%);\n }\n .grid-container {\n width: 100%;\n min-height: 200px;\n position: relative;\n overflow: hidden;\n box-sizing: border-box;\n min-height: ","px;\n @media (min-width: 1024px) {\n min-height: ","px;\n }\n }\n &.color {\n .grid-container {\n &:before {\n content: '';\n position: absolute;\n height: 100%;\n width: 100px;\n background: linear-gradient(to right, ",", transparent);\n left: 0;\n top: 0;\n z-index: 1;\n }\n &:after {\n content: '';\n position: absolute;\n height: 100%;\n width: 100px;\n background: linear-gradient(to left, ",", transparent);\n right: 0;\n top: 0;\n }\n }\n }\n }\n"])),(function(e){var t;return null!==(t=e.heightMobile)&&void 0!==t?t:"270"}),(function(e){var t;return null!==(t=e.heightDesktop)&&void 0!==t?t:"475"}),(function(e){return e.backgroundColor}),(function(e){return e.backgroundImage}),(function(e){var t;return null!==(t=e.heightMobile)&&void 0!==t?t:"270"}),(function(e){var t;return null!==(t=e.heightDesktop)&&void 0!==t?t:"475"}),(function(e){var t;return null!==(t=e.heightMobile)&&void 0!==t?t:"270"}),(function(e){var t;return null!==(t=e.heightDesktop)&&void 0!==t?t:"475"}),(function(e){return e.backgroundColor}),(function(e){return e.backgroundColor})),g=n(85072),m=n.n(g),p=n(97825),h=n.n(p),y=n(77659),v=n.n(y),b=n(55056),_=n.n(b),w=n(10540),x=n.n(w),k=n(41113),A=n.n(k),C=n(14536),S={};S.styleTagTransform=A(),S.setAttributes=_(),S.insert=v().bind(null,"head"),S.domAPI=h(),S.insertStyleElement=x(),m()(C.A,S),C.A&&C.A.locals&&C.A.locals;var O=i.lazy((function(){return Promise.resolve().then(n.bind(n,28610))})),I=function(e){var t,n,o,r=e.data,s=e.image,d=e.heightMobile,g=e.heightDesktop,m=e.settings,p=(0,u.o)(0),h="custom"!==r.background_color?(0,c.i0)(r.background_color):r.custom_background,y=16*(null!=m&&null!==(t=m.mvk_theme_config)&&void 0!==t&&null!==(t=t.layout)&&void 0!==t&&t.site_max_width?null==m||null===(n=m.mvk_theme_config)||void 0===n||null===(n=n.layout)||void 0===n?void 0:n.site_max_width:75),v=(0,l.Wx)({triggerOnce:!0,fallbackInView:!0}),b=v.ref,_=v.inView;return i.createElement(f,{ref:b,className:"parallax-image side-to-side ".concat(r.background_type," ").concat(_?"add-bg-image":""),backgroundColor:h,backgroundImage:"image"===r.background_type?null===(o=r.background_image)||void 0===o?void 0:o.url:"",heightMobile:d,heightDesktop:g},_?i.createElement(a.Parallax,{renderLayer:function(e){var t="left-right"===r.direction?y*e*2-1.25*y:y*-e*2+1.25*y;return i.createElement("div",{className:"grid-container".concat("image"===r.background_type?" full":"")},s&&i.createElement(O,{className:"moving-image",data:s,style:{transform:"translate(".concat(t,"px, -50%)"),opacity:p?1:0}
1}))}}):null)},P=function(e){var t=e.data,n=e.image,o=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useState)(.2),s=(0,r.A)(l,2),u=s[0],d=s[1];(0,i.useEffect)((function(){window.innerWidth<768&&d(.75);var e=function(){var e=a.current.getBoundingClientRect().top,t=o.current>window.scrollY;if(o.current=1e3-e,null!=t){var n=o.current/1e3,r=n*(6*n);d(r>.2?r:.2)}};return window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}),[]);var f="custom"!==t.background_color?(0,c.i0)(t.background_color):t.custom_background;return f=f?{"background-color":f}:null,i.createElement("div",{ref:a,class:"parallax-image zoom",style:f},n&&i.createElement(O,{data:n,style:{transform:"scale(".concat(u,")")}}))};const j=function(e){var t=e.data,n=e.settings,o=e.placeholders,r=t.module_height_mobile?t.module_height_mobile:270,c=t.module_height_desktop?t.module_height_desktop:270,u=o&&"dynamic"===t.image_selection?o.image[t.image_dynamic]:t.image,d=(0,l.Wx)({triggerOnce:!0,fallbackInView:!0}),g=d.ref,m=d.inView;return i.createElement(i.Fragment,null,"scroll"===t.type&&i.createElement(a.Parallax,{bgImage:null==u?void 0:u.url,bgImageAlt:null==u?void 0:u.alt,strength:425},i.createElement(f,{ref:g,className:"parallax-image",heightMobile:r,heightDesktop:c},m&&t.content?i.createElement("div",{className:"grid-container"},i.createElement("div",{className:"grid-x"},i.createElement("div",{className:"cell parallax-content"},i.createElement(s.default,{html:t.content})))):null)),"side-to-side"===t.type&&i.createElement(I,{data:t,image:u,heightMobile:r,heightDesktop:c,settings:n}),"zoom"===t.type&&i.createElement(P,{data:t,image:u}))}}}]); 2//# sourceMappingURL=091a805c4f4f7a56458b.js.map
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.