(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{309:function(t,e,o){"use strict";var n=o(0),r=o(1),i=o(5);o(324);e.a=function(t){var e=t.onClose,o=t.title,c=t.isDismissible,u=void 0===c||c;return Object(n.createElement)("div",{className:"bwf-modal-custom-header bwf-flex bwf--space-between"},Object(n.createElement)("div",{className:"bwf-modal-title"},o),u&&Object(n.createElement)("div",{className:"bwf-modal-close bwf-cursor-pointer",title:Object(r.__)("Close","funnel-builder"),onClick:function(){return e()}},Object(n.createElement)(i.a,{icon:"close",size:20})))}},324:function(t,e,o){},360:function(t,e,o){"use strict";var n=o(0),r=o(16),i=o.n(r);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}function f(t,e,o){return e=s(e),function(t,e){if(e&&("object"==c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,o||[],s(t).constructor):e.apply(t,o))}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(t){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=f(this,e,[t])).scrollTo=o.scrollTo.bind(o),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(e,t),o=e,(r=[{key:"componentDidMount",value:function(){setTimeout(this.scrollTo,window.location.hash?100:250)}},{key:"scrollTo",value:function(){var t=this.props.offset,e=void 0===t?"0":t,o=window.location.hash?window.location.hash.substring(1):null,n=document.getElementById(o);if(n){var r=n.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:r-parseInt(e,10),behavior:"smooth"})}else this.ref.current?window.scrollTo({top:0,behavior:"smooth"}):setTimeout(this.scrollTo,250)}},{key:"render",value:function(){var t=this.props.children;return this.ref=Object(n.createRef)(),Object(n.createElement)("div",{ref:this.ref},t)}}])&&u(o.prototype,r),i&&u(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,r,i}(n.Component);p.propTypes={offset:i.a.string},e.a=p}}]);