text: function e(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}var t,o,i=Object.prototype,a=Function.prototype.toString,n=i.hasOwnProperty,s=a.call(Object),r=i.toString,l=(t=Object.getPrototypeOf,o=Object,function(e){return t(o(e))});function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o<t;o++)i[o]=e[o];return i}function m(e,t){var o;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(o=function(e,t){if(e){if("string"==typeof e)return c(e,void 0);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?c(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){o&&(e=o);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=e[Symbol.iterator]()).next.bind(o)}function d(){this.callbacksLookup={}}d.prototype={emit:function(e,t){for(var o,i=this.callbacksLookup["*"]||[],a=m(this.callbacksLookup[e]||[]);!(o=a()).done;)(0,o.value)({name:e,value:t});for(var n,s=m(i);!(n=s()).done;)(0,n.value)({name:e,value:t})},on:function(e,t){for(var o,i=m(Array.isArray(e)?e:[e]);!(o=i()).done;){var a=o.value;this.callbacksLookup[a]||(this.callbacksLookup[a]=[]),this.callbacksLookup[a].push(t)}}};var u,p=new d;function f(e,t){void 0===t&&(t={}),e=e||"tigerlily";var o=t.defaults,i=void 0===o?{}:o,c=JSON.parse(localStorage.getItem(e)||"{}",_);return c=Object.assign(i,c),new Proxy(c,function t(o){return{get:function(e,i){return g(e[i])?new Proxy(e[i],t(o)):e[i]},set:function(t,i,c){t[i]=c,localStorage.setItem(e,JSON.stringify(o,b));var m=t[i],d=g(m)?JSON.parse(JSON.stringify(m,b),_):m,u=g(c)?JSON.parse(JSON.stringify(c,b),_):c,f=function(e,t){if(e===t)return"";var o="";return function e(t,o,i){i=i||"",Array.isArray(t)?function(t,o,i){t.forEach((t,a,n)=>{const s=`${i}[${a}]`;o.call(n,t,a,n,s),e(n[a],o,s)})}(t,o,i):function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=r.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=l(e);if(null===t)return!0;var o=n.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&a.call(o)==s}(t)&&function(t,o,i){for(const a in t){const n=i?`${i}.${a}`:a;o.call(t,t[a],a,t,n),e(t[a],o,n)}}(t,o,i)}(e,function(e,i,a,n){e===t&&(o=n)}),o}(o,c)||i;return p.emit(f,{prop:i,path:f,oldValue:d,value:u}),!0}}}(c))}function g(e){return Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function b(e,t){if(this[e]instanceof Date){var o=this[e].getTime();return o?{__isDate:!0,ms:o}:void 0}return t}function _(e,t){return g(t)&&t.__isDate?new Date(t.ms):t}f.on=function(e,t){p.on(e,function(e){t(e.value)})},u||(u=f("polite-email-popup")),window.persistentGlobals=u;var v={};function h(){return E("modal")}function y(){return E("bottom-bar")}function E(e){var t="modal"===e?u.modalClosedDate:u.bottomBarClosedDate;if(t)return{days:Math.floor((Date.now()-t)/864e5)}}var x={pageViews:{content:{notAggressive:0,aggressive:0},marketing:{notAggressive:2,aggressive:1}},activeTimeOnPage:{content:{notAggressive:6,aggressive:4},marketing:{notAggressive:6,aggressive:4}},activeTimeOnSite:{content:{notAggressive:21,aggressive:14},marketing:{notAggressive:21,aggressive:14}},highestScrollPercentageAcrossAllPages:{content:{notAggressive:35,aggressive:25},marketing:{notAggressive:35,aggressive:25}}},O={pageViews:{content:{notAggressive:0,aggressive:0},marketing:{notAggressive:0,aggressive:0}},activeTimeOnPage:{content:{notAggressive:0,aggressive:0},marketing:{notAggressive:0,aggressive:0}},activeTimeOnSite:{content:{notAggressive:10,aggressive:7},marketing:{notAggressive:10,aggressive:7}},highestScrollPercentageAcrossAllPages:{content:{notAggressive:25,aggressive:20},marketing:{notAggressive:25,aggressive:20}}};function w(){var e,t=function(){var e,t,o=[{pageViews:x.pageViews[e=v.websiteType][t=v.beSlightlyMoreAggressive?"aggressive":"notAggressive"],activeTimeOnPage:x.activeTimeOnPage[e][t],activeTimeOnSite:x.activeTimeOnSite[e][t],highestScrollPercentageAcrossAllPages:x.highestScrollPercentageAcrossAllPages[e][t]},{pageViews:u.pageViews,activeTimeOnPage:u.activeTimeOnPage,activeTimeOnSite:u.activeTimeOnSite,highestScrollPercentageAcrossAllPages:u.highestScrollPercentageAcrossAllPages}],i=o[0],a=o[1],n=Object.keys(i).every(function(e){return a[e]>=i[e]}),s=y();s&&(n=n&&s.days>=2);var r=h();return r&&(n=n&&r.days>=2),v.isModalOpen&&(n=!1),[n,i,a]}(),o=t[0],i=t[1],a=t[2],n=function(){var e,t,o=[{pageViews:O.pageViews[e=v.websiteType][t=v.beSlightlyMoreAggressive?"aggressive":"notAggressive"],activeTimeOnPage:O.activeTimeOnPage[e][t],activeTimeOnSite:O.activeTimeOnSite[e][t],highestScrollPercentageAcrossAllPages:O.highestScrollPercentageAcrossAllPages[e][t]},{pageViews:u.pageViews,activeTimeOnPage:u.activeTimeOnPage,activeTimeOnSite:u.activeTimeOnSite,highestScrollPercentageAcrossAllPages:u.highestScrollPercentageAcrossAllPages}],i=o[0],a=o[1],n=Object.keys(i).every(function(e){return a[e]>=i[e]}),s=y();s&&(n=n&&s.days>=2);var r=h();return r&&(n=n&&r.days>=2),[n,i,a]}(),s=n[0],r=n[1],l=n[2];v.isModalOpenable=!!o,s&&(v.BOTTOM_BAR_ELEM.classList.add("show"),document.body.classList.add(v.BODY_CLASS_BOTTOM_BAR_OPEN)),v.showDebugNotice&&(v.DEBUG_NOTICE_ELEM.innerHTML=function(e){var t=e.modalRequirements,o=e.modalActualValues,i=e.modalMeetsRequirements,a=e.bottomBarRequirements,n=e.bottomBarMeetsRequirements,s=h(),r=y();return'<div class="debug-email-forms">\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Website type: </span>\n    <span class="debug-email-forms__stat-value">'+(v.websiteType.charAt(0).toUpperCase()+v.websiteType.slice(1))+' website</span>\n  </div>\n  <div class="debug-email-forms__stat debug-email-forms__stat--buttons">\n    <button class="debug-email-forms__reset" type="button">Reset data</button>\n    <button class="debug-email-forms__bypass" type="button">Bypass requirements</button>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Page views: </span>\n    <span class="debug-email-forms__stat-value">'+o.pageViews+'</span>\n    <ul class="debug-email-forms__stat-requirements">\n      <li class="debug-email-forms__stat-requirement">Modal requires: '+t.pageViews+'</li>\n      <li class="debug-email-forms__stat-requirement">Bottom bar requires: '+a.pageViews+'</li>\n    </ul>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Highest scroll percentage: </span>\n    <span class="debug-email-forms__stat-value">'+o.highestScrollPercentageAcrossAllPages+'% </span>\n    <ul class="debug-email-forms__stat-requirements">\n      <li class="debug-email-forms__stat-requirement">Modal requires: '+t.highestScrollPercentageAcrossAllPages+'%</li>\n      <li class="debug-email-forms__stat-requirement">Bottom bar requires: '+a.highestScrollPercentageAcrossAllPages+'%</li>\n    </ul>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Active time on site: </span>\n    <span class="debug-email-forms__stat-value">'+o.activeTimeOnSite+'s </span>\n    <ul class="debug-email-forms__stat-requirements">\n      <li class="debug-email-forms__stat-requirement">Modal requires: '+t.activeTimeOnSite+'s</li>\n      <li class="debug-email-forms__stat-requirement">Bottom bar requires: '+a.activeTimeOnSite+'s</li>\n    </ul>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Active time on page: </span>\n    <span class="debug-email-forms__stat-value">'+o.activeTimeOnPage+'s </span>\n    <ul class="debug-email-forms__stat-requirements">\n      <li class="debug-email-forms__stat-requirement">Modal requires: '+t.activeTimeOnPage+'s</li>\n      <li class="debug-email-forms__stat-requirement">Bottom bar requires: '+a.activeTimeOnPage+'s</li>\n    </ul>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Modal was closed: </span>\n    <span class="debug-email-forms__stat-value">'+(s?s.days+" day"+(1!==s.days?"s":"")+" ago":"never")+'</span>\n    <ul class="debug-email-forms__stat-requirements">\n      <li class="debug-email-forms__stat-requirement">Modal requires: never or 2 days ago</li>\n      <li class="debug-email-forms__stat-requirement">Bottom bar requires: never or 2 days ago</li>\n    </ul>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Bottom bar was closed: </span>\n    <span class="debug-email-forms__stat-value">'+(r?r.days+" day"+(1!==r.days?"s":"")+" ago":"never")+'</span>\n    <ul class="debug-email-forms__stat-requirements">\n      <li class="debug-email-forms__stat-requirement">Modal requires: never or 2 days ago</li>\n      <li class="debug-email-forms__stat-requirement">Bottom bar requires: never or 2 days ago</li>\n    </ul>\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Modal is openable: </span>\n    '+(i?'<span class="debug-email-forms__stat-value debug-email-forms__stat-value--success">Yes</span>':'<span class="debug-email-forms__stat-value debug-email-forms__stat-value--fail">No</span>')+'\n  </div>\n  <div class="debug-email-forms__stat">\n    <span class="debug-email-forms__stat-label">Bottom bar is open: </span>\n    '+(n?'<span class="debug-email-forms__stat-value debug-email-forms__stat-value--success">Yes</span>':'<span class="debug-email-forms__stat-value debug-email-forms__stat-value--fail">No</span>')+"\n  </div>\n</div>"}({modalRequirements:(e={modalRequirements:i,modalActualValues:a,modalMeetsRequirements:o,bottomBarRequirements:r,bottomBarActualValues:l,bottomBarMeetsRequirements:s}).modalRequirements,modalActualValues:e.modalActualValues,modalMeetsRequirements:e.modalMeetsRequirements,bottomBarRequirements:e.bottomBarRequirements,bottomBarActualValues:e.bottomBarActualValues,bottomBarMeetsRequirements:e.bottomBarMeetsRequirements}))}var T={};function A(e){return T[e]||document.querySelector(e)}function S(e){return"number"==typeof e&&!Number.isNaN(e)}function L(e){document.body.insertAdjacentHTML("beforeend",e)}
  /*! *****************************************************************************
  Copyright (c) Microsoft Corporation.
  
  Permission to use, copy, modify, and/or distribute this software for any
  purpose with or without fee is hereby granted.
  
  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  PERFORMANCE OF THIS SOFTWARE.
  ***************************************************************************** */
  var M,k=function(){return(k=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},C=function(){function e(e){this.options=e,this.listeners={}}return e.prototype.on=function(e,t){this.listeners[e]=(this.listeners[e]||[]).concat([t])},e.prototype.triggerEvent=function(e,t){var o=this;(this.listeners[e]||[]).forEach(function(e){return e({target:o,event:t})})},e}();!function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(M||(M={}));var N,B=function(){function e(){this.notifications=[]}return e.prototype.push=function(e){this.notifications.push(e),this.updateFn(e,M.Add,this.notifications)},e.prototype.splice=function(e,t){var o=this.notifications.splice(e,t)[0];return this.updateFn(o,M.Remove,this.notifications),o},e.prototype.indexOf=function(e){return this.notifications.indexOf(e)},e.prototype.onUpdate=function(e){this.updateFn=e},e}();!function(e){e.Dismiss="dismiss",e.Click="click"}(N||(N={}));var P={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},R=function(){function e(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var e=document.createDocumentFragment(),t=this._createHTLMElement({tagName:"div",className:"notyf"});e.appendChild(t),document.body.appendChild(e),this.container=t,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return e.prototype.on=function(e,t){var o;this.events=k(k({},this.events),((o={})[e]=t,o))},e.prototype.update=function(e,t){t===M.Add?this.addNotification(e):t===M.Remove&&this.removeNotification(e)},e.prototype.removeNotification=function(e){var t,o,i=this,a=this._popRenderedNotification(e);a&&((t=a.node).classList.add("notyf__toast--disappear"),t.addEventListener(this.animationEndEventName,o=function(e){e.target===t&&(t.removeEventListener(i.animationEndEventName,o),i.container.removeChild(t))}))},e.prototype.addNotification=function(e){var t=this._renderNotification(e);this.notifications.push({notification:e,node:t}),this._announce(e.options.message||"Notification")},e.prototype._renderNotification=function(e){var t,o=this._buildNotificationCard(e),i=e.options.className;return i&&(t=o.classList).add.apply(t,i.split(" ")),this.container.appendChild(o),o},e.prototype._popRenderedNotification=function(e){for(var t=-1,o=0;o<this.notifications.length&&t<0;o++)this.notifications[o].notification===e&&(t=o);if(-1!==t)return this.notifications.splice(t,1)[0]},e.prototype.getXPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.x)||"right"},e.prototype.getYPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.y)||"bottom"},e.prototype.adjustContainerAlignment=function(e){var t=this.X_POSITION_FLEX_MAP[this.getXPosition(e)],o=this.Y_POSITION_FLEX_MAP[this.getYPosition(e)],i=this.container.style;i.setProperty("justify-content",o),i.setProperty("align-items",t)},e.prototype._buildNotificationCard=function(e){var t,o=this,i=e.options,a=i.icon;this.adjustContainerAlignment(i);var n=this._createHTLMElement({tagName:"div",className:"notyf__toast"}),s=this._createHTLMElement({tagName:"div",className:"notyf__ripple"}),r=this._createHTLMElement({tagName:"div",className:"notyf__wrapper"}),l=this._createHTLMElement({tagName:"div",className:"notyf__message"});l.innerHTML=i.message||"";var c=i.background||i.backgroundColor;if(a&&"object"==typeof a){var m=this._createHTLMElement({tagName:"div",className:"notyf__icon"}),d=this._createHTLMElement({tagName:a.tagName||"i",className:a.className,text:a.text}),u=null!==(t=a.color)&&void 0!==t?t:c;u&&(d.style.color=u),m.appendChild(d),r.appendChild(m)}if(r.appendChild(l),n.appendChild(r),c&&(i.ripple?(s.style.background=c,n.appendChild(s)):n.style.background=c),i.dismissible){var p=this._createHTLMElement({tagName:"div",className:"notyf__dismiss"}),f=this._createHTLMElement({tagName:"button",className:"notyf__dismiss-btn"});p.appendChild(f),r.appendChild(p),n.classList.add("notyf__toast--dismissible"),f.addEventListener("click",function(t){var i,a;null===(a=(i=o.events)[N.Dismiss])||void 0===a||a.call(i,{target:e,event:t}),t.stopPropagation()})}n.addEventListener("click",function(t){var i,a;return null===(a=(i=o.events)[N.Click])||void 0===a?void 0:a.call(i,{target:e,event:t})});var g="top"===this.getYPosition(i)?"upper":"lower";return n.classList.add("notyf__toast--"+g),n},e.prototype._createHTLMElement=function(e){var t=e.className,o=e.text,i=document.createElement(e.tagName);return t&&(i.className=t),i.textContent=o||null,i},e.prototype._createA11yContainer=function(){var e=this._createHTLMElement({tagName:"div",className:"notyf-announcer"});e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),e.style.border="0",e.style.clip="rect(0 0 0 0)",e.style.height="1px",e.style.margin="-1px",e.style.overflow="hidden",e.style.padding="0",e.style.position="absolute",e.style.width="1px",e.style.outline="0",document.body.appendChild(e),this.a11yContainer=e},e.prototype._announce=function(e){var t=this;this.a11yContainer.textContent="",setTimeout(function(){t.a11yContainer.textContent=e},100)},e.prototype._getAnimationEndEventName=function(){var e,t=document.createElement("_fake"),o={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(e in o)if(void 0!==t.style[e])return o[e];return"animationend"},e}(),D=function(){function e(e){var t=this;this.dismiss=this._removeNotification,this.notifications=new B,this.view=new R;var o=this.registerTypes(e);this.options=k(k({},P),e),this.options.types=o,this.notifications.onUpdate(function(e,o){return t.view.update(e,o)}),this.view.on(N.Dismiss,function(e){var o=e.target,i=e.event;t._removeNotification(o),o.triggerEvent(N.Dismiss,i)}),this.view.on(N.Click,function(e){return e.target.triggerEvent(N.Click,e.event)})}return e.prototype.error=function(e){var t=this.normalizeOptions("error",e);return this.open(t)},e.prototype.success=function(e){var t=this.normalizeOptions("success",e);return this.open(t)},e.prototype.open=function(e){var t=this.options.types.find(function(t){return t.type===e.type})||{},o=k(k({},t),e);this.assignProps(["ripple","position","dismissible"],o);var i=new C(o);return this._pushNotification(i),i},e.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},e.prototype.assignProps=function(e,t){var o=this;e.forEach(function(e){t[e]=null==t[e]?o.options[e]:t[e]})},e.prototype._pushNotification=function(e){var t=this;this.notifications.push(e);var o=void 0!==e.options.duration?e.options.duration:this.options.duration;o&&setTimeout(function(){return t._removeNotification(e)},o)},e.prototype._removeNotification=function(e){var t=this.notifications.indexOf(e);-1!==t&&this.notifications.splice(t,1)},e.prototype.normalizeOptions=function(e,t){var o={type:e};return"string"==typeof t?o.message=t:"object"==typeof t&&(o=k(k({},o),t)),o},e.prototype.registerTypes=function(e){var t=(e&&e.types||[]).slice();return P.types.map(function(e){var o=-1;t.forEach(function(t,i){t.type===e.type&&(o=i)});var i=-1!==o?t.splice(o,1)[0]:{};return k(k({},e),i)}).concat(t)},e}(),q={success:function(){},error:function(){}};function F(e){q.success(e)}function Y(e){q.error(e)}function j(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,j)}function U(e){var t=e.event,o=e.email,i=e.success,a=e.message;i?v.showFormSubmissionNotices&&F(v.successMessage):v.showFormSubmissionNotices&&Y(a||v.failureMessage),v.onSubmit({event:t,email:o,success:i,message:a})}function I(e){(void 0===e?{}:e).dontRecordCloseDate||(u.bottomBarClosedDate=Date.now()),v.BOTTOM_BAR_ELEM.classList.remove("show"),document.body.classList.remove(v.BODY_CLASS_BOTTOM_BAR_OPEN)}function z(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}e(function(){q=new D({duration:8e3,position:{x:"center",y:"bottom"},dismissible:!0})});var H=!1;if("undefined"!=typeof window){var V={get passive(){H=!0}};window.addEventListener("testPassive",null,V),window.removeEventListener("testPassive",null,V)}var X="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),G=[],K=!1,J=-1,$=void 0,W=void 0,Q=function(e){return G.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})},Z=function(e){var t=e||window.event;return!!Q(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)};function ee(){I({dontRecordCloseDate:!0}),u.modalClosedDate=Date.now(),v.MODAL_ELEM.classList.remove("show"),document.body.classList.remove(v.BODY_CLASS_MODAL_OPEN),document.querySelectorAll(v.FOCUSABLE_SELECTORS).forEach(function(e){return e.removeAttribute("tabindex")}),document.querySelectorAll("body > [aria-hidden]").forEach(function(e){return e.removeAttribute("aria-hidden")}),v.MODAL_ELEM.setAttribute("aria-hidden","true"),v.activeElement&&v.activeElement.focus(),function(e){if(X){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,G=G.filter(function(t){return t.targetElement!==e}),K&&0===G.length&&(document.removeEventListener("touchmove",Z,H?{passive:!1}:void 0),K=!1)}else(G=G.filter(function(t){return t.targetElement!==e})).length||setTimeout(function(){void 0!==W&&(document.body.style.paddingRight=W,W=void 0),void 0!==$&&(document.body.style.overflow=$,$=void 0)})}(v.MODAL_ELEM),v.isModalOpen=!1,w()}function te(e){if(e.preventDefault(),e.currentTarget.closest(".bottom-bar")?I():e.currentTarget.closest(".email-modal")&&ee(),""===e.currentTarget.querySelector(".js-validate-not-robot").value){var t=e.currentTarget.querySelector(v.SELECTORS.BOTTOM_BAR_FORM_INPUT_ELEM_SELECTOR).value;v.mailchimpConfig&&v.mailchimpConfig.spamPreventionKey&&v.mailchimpConfig.formAction?function(e){for(var t=e.event,o=e.email,i=e.spamPreventionKey,a=(e.formAction||"").replace("/post?","/post-json?"),n="",s=t.currentTarget.querySelectorAll("input"),r=0;r<s.length;r++)n+="&"+s[r].name+"="+encodeURIComponent(s[r].value);n+="&"+i+"=";var l=document.createElement("script");l.src=a+n+"&c=mailchimpCallback",document.body.appendChild(l),window.mailchimpCallback=function(e){delete window.mailchimpCallback,document.body.removeChild(l),v.showFormSubmissionNotices&&("success"===e.result?F(v.successMessage):Y(v.failureMessage)),v.onSubmit("success"===e.result?{event:t,email:o,success:!0}:{event:t,email:o,success:!1})}}({event:e,email:t,spamPreventionKey:v.mailchimpConfig.spamPreventionKey,formAction:v.mailchimpConfig.formAction}):v.convertKitConfig&&v.convertKitConfig.formAction?function(e){var t,o,i,a,n;o=(t={event:e.event,email:e.email,formAction:e.formAction}).event,i=t.email,a=t.formAction,(n=new FormData).append("email_address",i),n.append("token",""),n.append("user",function(){var e=window.localStorage.getItem("ckid");if(e)return e;var t=j();return window.localStorage.setItem("ckid",t),t}()),n.append("referrer",document.referrer),fetch(a,{method:"POST",body:n,headers:{Accept:"application/json"}}).then(function(e){return e.json()}).then(function(e){"success"===e.status?U({event:o,email:i,success:!0}):e.errors.fields.includes("email_address")?U({event:o,email:i,success:!1,message:"Sign up failed: <br>Invalid email address"}):U({event:o,email:i,success:!1})}).catch(function(e){U({event:o,email:i,success:!1})})}({event:e,email:t,formAction:v.convertKitConfig.formAction}):(v.showFormSubmissionNotices&&F(v.successMessage),v.onSubmit({event:e,email:t}))}}function oe(e){27===e.keyCode&&document.body.classList.contains(v.BODY_CLASS_MODAL_OPEN)&&ee()}function ie(e){e.target.closest(v.SELECTORS.MODAL_FORM_ELEM_SELECTOR)||ee()}function ae(t){e(function(){var e,o,i,a,n,s;e=t,o={showDebugNotice:!1,websiteType:"content",beSlightlyMoreAggressive:!1,onSubmit:function(){},imageSrc:"",headingText:"Sign up for updates",descriptionText:"Get cutting edge articles and insights into our process",mainButtonText:"Sign up",closeButtonText:"Close",showFormSubmissionNotices:!0,successMessage:"Thank you signing up!",failureMessage:"Sorry, sign up failed...",mailchimpConfig:{},convertKitConfig:{},SELECTORS:{MODAL_ELEM_SELECTOR:".email-modal",MODAL_FORM_ELEM_SELECTOR:".email-modal__content",MODAL_FORM_INPUT_ELEM_SELECTOR:".email-signup-form-input",MODAL_CLOSE_BUTTON_ELEM_SELECTOR:".email-modal__close",BOTTOM_BAR_ELEM_SELECTOR:".bottom-bar",BOTTOM_BAR_FORM_INPUT_ELEM_SELECTOR:".email-signup-form-input",BOTTOM_BAR_FORM_ELEM_SELECTOR:"form.bottom-bar__content",BOTTOM_BAR_CLOSE_BUTTON_ELEM_SELECTOR:".bottom-bar__close",DEBUG_ELEM:".polite-email-popup__debug-notice",DEBUG_ELEM_RESET_SELECTOR:".debug-email-forms__reset",DEBUG_ELEM_BYPASS_SELECTOR:".debug-email-forms__bypass"},IS_MOBILE:window.matchMedia("only screen and (max-width: 780px)").matches,FOCUSABLE_SELECTORS:"a[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), *[tabindex]",BODY_CLASS_MODAL_OPEN:"email-modal-is-open",BODY_CLASS_BOTTOM_BAR_OPEN:"email-bottom-bar-is-open",isModalOpenable:!1,isModalOpen:!1},Object.assign(v,o,e),window.temporaryGlobals=v,L("<style>@-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{position:fixed;top:0;left:0;height:100%;width:100%;color:#fff;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;pointer-events:none;box-sizing:border-box;padding:20px;font-size:16px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',sans-serif}.notyf__icon--error,.notyf__icon--success{height:21px;width:21px;background:#fff;border-radius:50%;display:block;margin:0 auto;position:relative}.notyf__icon--error:after,.notyf__icon--error:before{content:\"\";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px;left:9px;height:12px;top:5px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{content:\"\";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px}.notyf__icon--success:after{height:6px;transform:rotate(-45deg);top:9px;left:6px}.notyf__icon--success:before{height:11px;transform:rotate(45deg);top:5px;left:10px}.notyf__toast{display:block;overflow:hidden;pointer-events:auto;-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);position:relative;padding:0 15px;border-radius:2px;max-width:300px;transform:translateY(25%);box-sizing:border-box;flex-shrink:0}.notyf__toast--disappear{transform:translateY(0);-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:50ms;animation-delay:50ms}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{height:400px;width:400px;position:absolute;transform-origin:bottom right;right:0;top:0;border-radius:50%;transform:scale(0) translateY(-51%) translateX(13%);z-index:5;-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards}.notyf__wrapper{display:flex;align-items:center;padding-top:17px;padding-bottom:17px;padding-right:15px;border-radius:3px;position:relative;z-index:10}.notyf__icon{width:22px;text-align:center;font-size:1.3em;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;margin-right:13px}.notyf__dismiss{position:absolute;top:0;right:0;height:100%;width:26px;margin-right:-15px;-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;opacity:0}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;transition:opacity .2s ease,background-color .2s ease;outline:0;opacity:.35;height:100%;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{content:\"\";background:#fff;height:12px;width:2px;border-radius:3px;position:absolute;left:calc(50% - 1px);top:calc(50% - 5px)}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{opacity:.7;background-color:rgba(0,0,0,.15)}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{vertical-align:middle;position:relative;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{height:600px;width:600px;-webkit-animation-duration:.5s;animation-duration:.5s}.notyf__toast{max-width:none;border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);width:100%}.notyf__dismiss{width:56px}}.bottom-bar,.email-modal{display:none;line-height:1.4;font-size:16px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',sans-serif}.bottom-bar.show,.email-modal.show{display:flex}.bottom-bar,.bottom-bar *,.email-modal,.email-modal *{box-sizing:border-box;margin:0;padding:0;color:#212529}.bottom-bar button,.email-modal button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:0 0;color:inherit;font:inherit;line-height:normal;cursor:pointer;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none}.bottom-bar button::-moz-focus-inner,.email-modal button::-moz-focus-inner{border:0;padding:0}.bottom-bar .bottom-bar__close,.bottom-bar .bottom-bar__sign-up,.email-modal .email-modal__sign-up{padding:9px 22px 11px;font-size:17px;font-weight:700;letter-spacing:.5px;color:#fff;background-color:#4263eb;border-radius:1px}.bottom-bar .bottom-bar__sign-up:hover,.email-modal .email-modal__sign-up:hover{background-color:#364fc7}@media (min-width:780px){.bottom-bar .hide-desktop,.email-modal .hide-desktop{display:none!important}}@media (max-width:779.9999px){.bottom-bar .hide-mobile,.email-modal .hide-mobile{display:none!important}}.email-modal{z-index:2147483647;flex-direction:column;align-items:center;justify-content:center;position:fixed;top:0;left:0;right:0;bottom:0;line-height:1.4;font-size:16px;background-color:rgba(0,0,0,.6)}.email-modal .email-modal__content{transform:translate(0,1000px);transition:transform .4s;position:relative;width:480px;max-width:calc(100vw - 3rem);padding:35px 32px 33px 32px;background-color:#fff;border-radius:5px;box-shadow:0 2px 8px 0 rgba(0,0,0,.24)}.email-modal-is-open .email-modal .email-modal__content{transform:translate(0,0)}.email-modal .email-modal__top{display:flex;margin-bottom:1.75rem}.email-modal .email-modal__top-media{width:108px;margin-right:22px}.email-modal .email-modal__top-image{box-sizing:content-box;display:block;max-width:100%;border:1px solid #dee2e6;border-radius:5px}.email-modal .email-modal__title{font-size:22px;font-weight:700;margin-bottom:.25rem}.email-modal .email-modal__description{font-size:18px;color:#757575}.email-modal .email-modal__input-container{margin-bottom:1.75rem}.email-modal .email-modal__input{display:block;width:100%;padding:9px 15px 10px;border:1px solid #dee2e6;font-size:16px;font-family:inherit}.email-modal .email-modal__button-container{text-align:center}.email-modal .email-modal__close{position:absolute;top:14px;right:13px;width:33px;height:33px}.email-modal .email-modal__close:hover::after,.email-modal .email-modal__close:hover::before{background-color:#b1bac4}.email-modal .email-modal__close::before{transform:rotate(45deg);position:absolute;top:0;left:0;bottom:0;right:0;width:5px;height:33px;margin:auto;content:\"\";background-color:#ced4da;border-radius:2px}.email-modal .email-modal__close::after{transform:rotate(-45deg);position:absolute;top:0;left:0;bottom:0;right:0;width:5px;height:33px;margin:auto;content:\"\";background-color:#ced4da;border-radius:2px}@media (max-width:779.9999px){.email-modal .email-modal__top{display:block}.email-modal .email-modal__top-media{width:75px;margin:0 auto 1.75rem auto}.email-modal .email-modal__top-content{text-align:center}}.bottom-bar{z-index:2147483647;position:fixed;left:0;bottom:0;justify-content:center;width:100%;border-top:1px solid #adb5bd;background-color:#f1f3f5}.bottom-bar .bottom-bar__content{padding:10px 0 11px 0}.bottom-bar__bottom{display:inline-block}.bottom-bar .bottom-bar__label-text{margin-top:-1px;margin-right:12px;font-weight:600;color:#343a40}.bottom-bar .bottom-bar__input{margin-right:11px;padding:6px 10px 7px;max-width:300px;width:31vw;border:1px solid #adb5bd;font-family:inherit;font-size:16px;border-radius:1px}.bottom-bar .bottom-bar__close,.bottom-bar .bottom-bar__sign-up{padding:7px 19px 9px;font-size:15px;font-weight:600;border-radius:999px}.bottom-bar .bottom-bar__close-container{position:absolute;top:0;right:0;padding:10px 16px 10px 0}.bottom-bar .bottom-bar__close{background-color:#ced4da;color:#495057}.bottom-bar .bottom-bar__close:hover{background-color:#adb5bd;color:#343a40}.bottom-bar .bottom-bar__close-x-icon{display:block;width:3px;height:20px;background-color:#868e96;transform:rotate(45deg)}.bottom-bar .bottom-bar__close-x-icon>span{display:block;width:3px;height:20px;background-color:#868e96;transform:rotate(-90deg)}@media (max-width:990px){.bottom-bar{justify-content:flex-start;padding-left:1.5rem}}@media (max-width:779.9999px){.bottom-bar.show{display:block;justify-content:center;padding-left:0}.bottom-bar .bottom-bar__content{padding:15px 21px 21px 22px}.bottom-bar__bottom{display:flex}.bottom-bar .bottom-bar__sign-up{flex:0 0 auto}.bottom-bar .bottom-bar__label-text{display:block;margin:0 0 12px 0}.bottom-bar .bottom-bar__input{width:100%;max-width:calc(100% - 16px)}.bottom-bar .bottom-bar__close-container{padding:0;transform:translate(0,-100%)}.bottom-bar .bottom-bar__close{padding:7px 17px 7px;border-radius:2px 0 0 0}}.debug-email-forms{display:flex;flex-wrap:wrap;position:fixed;top:18px;right:24px;max-width:600px;padding:16px 21px;font-size:16px;line-height:1.4;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',sans-serif;color:#343a40;background-color:#fff;box-shadow:1px 3px 6px rgba(0,0,0,.25);border-radius:5px}.debug-email-forms .debug-email-forms__stat{width:50%;flex:1 0 auto;margin-bottom:12px}.debug-email-forms .debug-email-forms__stat--buttons{text-align:right}.debug-email-forms .debug-email-forms__reset{margin-right:8px}.debug-email-forms .debug-email-forms__stat-label{font-weight:700;color:#ae3ec9}.debug-email-forms .debug-email-forms__stat-value{white-space:nowrap;font-weight:700;color:#212529}.debug-email-forms .debug-email-forms__stat-requirements{margin:6px 0;padding-left:20px}.debug-email-forms .debug-email-forms__stat-requirement{color:#868e96;font-size:14px}.debug-email-forms .debug-email-forms__stat-value--success{color:#2f9e44}.debug-email-forms .debug-email-forms__stat-value--fail{color:#e03131}</style>"),v.showDebugNotice&&L("<div class='polite-email-popup__debug-notice'></div>"),L('<div class="bottom-bar" aria-hidden="true">\n  <form class="bottom-bar__content" method="POST" action="/">\n    <label class="bottom-bar__label-text" for="bottom-bar-email">'+(i=v).headingText+'</label>\n    <div class="bottom-bar__bottom">\n      <input id="bottom-bar-email" class="bottom-bar__input email-signup-form-input" type="email" name="EMAIL" value="" placeholder="Your email address" required>\n      <div style="position: absolute; left: -5000px;" aria-hidden="true">\n        <input class="js-validate-not-robot" type="text" tabindex="-1" value="">\n      </div>\n      <button class="bottom-bar__sign-up" type="submit">'+i.mainButtonText+'</button>\n    </div>\n  </form>\n  <div class="bottom-bar__close-container">\n    <button class="bottom-bar__close" type="button">\n      <span class="hide-mobile">'+i.closeButtonText+'</span>\n      <span class="bottom-bar__close-x-icon hide-desktop"><span></span></span>\n    </button>\n  </div>\n</div>'),L('\n<div class="email-modal" role="dialog" aria-labelledby="email-modal-title" aria-describedby="email-modal-description" aria-hidden="true">\n  <form class="email-modal__content" method="POST" action="/">\n    <div class="email-modal__top">\n      '+((n=v.imageSrc)?'<div class="email-modal__top-media">\n        <img class="email-modal__top-image" src="'+n+'">\n      </div>':"")+'\n      <div class="email-modal__top-content">\n        <h2 class="email-modal__title" id="email-modal-title">'+v.headingText+'</h2>\n        <p class="email-modal__description" id="email-modal-description">'+v.descriptionText+'</p>\n      </div>\n    </div>\n    <div class="email-modal__input-container">\n      <input class="email-modal__input email-signup-form-input" type="email" name="EMAIL" value="" placeholder="Your email address" required>\n      <div style="position: absolute; left: -5000px;" aria-hidden="true">\n        <input class="js-validate-not-robot" type="text" tabindex="-1" value="">\n      </div>\n    </div>\n    <div class="email-modal__button-container">\n      <button class="email-modal__sign-up" type="submit">'+v.mainButtonText+'</button>\n    </div>\n    <button class="email-modal__close" type="button"></button>\n  </form>\n</div>\n'),a=v.SELECTORS,Object.assign(v,{MODAL_ELEM:A(a.MODAL_ELEM_SELECTOR),MODAL_FORM_ELEM:A(a.MODAL_FORM_ELEM_SELECTOR),MODAL_CLOSE_BUTTON_ELEM:A(a.MODAL_CLOSE_BUTTON_ELEM_SELECTOR),BOTTOM_BAR_ELEM:A(a.BOTTOM_BAR_ELEM_SELECTOR),BOTTOM_BAR_FORM_ELEM:A(a.BOTTOM_BAR_FORM_ELEM_SELECTOR),BOTTOM_BAR_CLOSE_BUTTON_ELEM:A(a.BOTTOM_BAR_CLOSE_BUTTON_ELEM_SELECTOR),DEBUG_NOTICE_ELEM:A(a.DEBUG_ELEM)}),f.on("*",w),S(u.pageViews)?u.pageViews++:u.pageViews=1,S(u.highestScrollPercentageAcrossAllPages)||(u.highestScrollPercentageAcrossAllPages=0),S(u.activeTimeOnSite)||(u.activeTimeOnSite=0),u.activeTimeOnPage=0,window.addEventListener("scroll",function(e,t){var o=!0,i=!1;return function(){var t=arguments;i||(i=!0,setTimeout(function(){e.apply(void 0,[].slice.call(t)),i=!1},o?0:1e3),o=!1)}}(function(){var e,t,o;t=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),o=window.pageYOffset/(t-document.documentElement.clientHeight),(e=Math.floor(100*o))>u.highestScrollPercentageAcrossAllPages&&(u.highestScrollPercentageAcrossAllPages=e),u.activeTimeOnPage++,u.activeTimeOnSite++})),v.showDebugNotice&&document.addEventListener("click",function(e){e.target.closest(v.SELECTORS.DEBUG_ELEM_RESET_SELECTOR)&&(window.localStorage.clear(),window.location.reload()),e.target.closest(v.SELECTORS.DEBUG_ELEM_BYPASS_SELECTOR)&&(u.pageViews=100,u.activeTimeOnPage=100,u.activeTimeOnSite=100,u.highestScrollPercentageAcrossAllPages=100,u.modalClosedDate=Date.now()-1728e5,u.bottomBarClosedDate=Date.now()-1728e5)}),s=function(){v.isModalOpenable&&function(){v.activeElement=document.activeElement,v.MODAL_ELEM.classList.add("show"),document.body.classList.add(v.BODY_CLASS_MODAL_OPEN),v.MODAL_ELEM.querySelector(v.FOCUSABLE_SELECTORS).focus();var e=document.querySelectorAll(v.FOCUSABLE_SELECTORS),t=v.MODAL_ELEM.querySelectorAll(v.FOCUSABLE_SELECTORS),o=Array.from(t);e.forEach(function(e){o.includes(e)||e.setAttribute("tabindex","-1")}),v.MODAL_ELEM.removeAttribute("aria-hidden"),Array.from(document.body.children).forEach(function(e){e!==v.MODAL_ELEM&&e.setAttribute("aria-hidden","true")}),function(e,t){if(X){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!G.some(function(t){return t.targetElement===e})){var o={targetElement:e,options:{}};G=[].concat(z(G),[o]),e.ontouchstart=function(e){1===e.targetTouches.length&&(J=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var o=e.targetTouches[0].clientY-J;!Q(e.target)&&(t&&0===t.scrollTop&&o>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&o<0?Z(e):e.stopPropagation())}(t,e)},K||(document.addEventListener("touchmove",Z,H?{passive:!1}:void 0),K=!0)}}else{setTimeout(function(){void 0===W&&(window,document),void 0===$&&($=document.body.style.overflow,document.body.style.overflow="hidden")});var i={targetElement:e,options:{}};G=[].concat(z(G),[i])}}(v.MODAL_ELEM),v.isModalOpen=!0,w()}()},document.addEventListener("mouseout",function(e){var t=e.clientY<20,o=null===e.relatedTarget,i="select"!==e.target.nodeName.toLowerCase()&&"input"!==e.target.nodeName.toLowerCase();t&&o&&i&&s&&s()}),v.MODAL_ELEM.addEventListener("click",ie),v.MODAL_FORM_ELEM.addEventListener("submit",te),v.MODAL_CLOSE_BUTTON_ELEM.addEventListener("click",ee),document.addEventListener("keydown",oe),v.BOTTOM_BAR_FORM_ELEM.addEventListener("submit",te),v.BOTTOM_BAR_CLOSE_BUTTON_ELEM.addEventListener("click",I)})}var ne={contentWebsite:function(e){e.websiteType="content",ae(e)},marketingWebsite:function(e){e.websiteType="marketing",ae(e)}};export default ne;
  //# sourceMappingURL=polite-email-popup.module.js.map
  