Popups for Divi - Version 2.1.1

Version Description

  • Change JS API does not include deprecated function observe()! Use addAction() or addFilter() instead
  • Improve the JS API further and expose additional functions
  • Improve triggers on Modules: Links inside modules are treated as normal links, not as popup triggers
  • Fix bugs on some WooCommerce and Divi Builder archive pages
  • Fix some JS API issues for Divi Areas Pro integration

Plugin tested with WordPress 5.4.1 and Divi 4.4.6

Download this release

Release Info

Developer stracker.phil
Plugin Icon 128x128 Popups for Divi
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1.0 to 2.1.1

Files changed (5) hide show
  1. css/front.css +1 -1
  2. js/builder.js +1 -1
  3. js/front.js +1 -1
  4. plugin.php +2 -2
  5. readme.txt +18 -11
css/front.css CHANGED
@@ -1 +1 @@
1
- .evr_fb_popup_modal{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.55);z-index:99;transition:-webkit-backdrop-filter 1s 1s;transition:backdrop-filter 1s 1s;transition:backdrop-filter 1s 1s,-webkit-backdrop-filter 1s 1s;-webkit-backdrop-filter:none;backdrop-filter:none}.evr_popup_open .evr_fb_popup_modal{-webkit-backdrop-filter:saturate(180%) blur(5px);backdrop-filter:saturate(180%) blur(5px)}.divi-area-wrap-fly-in,[data-dm-type=popup][id]{box-shadow:0 3px 10px -1px rgba(0,0,0,.3),0 2px 50px 2px rgba(0,0,0,.2);background-color:#fff}.divi-area-wrap-fly-in.divi-area-wrap,[data-dm-type=popup][id].divi-area-wrap{background-color:transparent}.popup_outer_wrap{position:fixed;z-index:100;pointer-events:none;max-width:100vw;max-height:100vh}.popup_outer_wrap.type-popup{min-width:320px}@media screen and (min-width:981px){.popup_outer_wrap.type-popup{width:90%}}@media screen and (max-width:980px){.popup_outer_wrap.type-popup{width:calc(100% - 20px)}}.popup_outer_wrap.type-inline{position:relative;top:unset;bottom:unset;left:unset;right:unset;width:unset;height:unset;-webkit-transform:unset;transform:unset;max-width:unset;max-height:unset}.popup_outer_wrap:not([class*=" type-inline"]).position-top-left{left:0;top:0}.popup_outer_wrap:not([class*=" type-inline"]).position-top-center{left:50%;top:0;-webkit-transform:translate(-50%);transform:translate(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-top-center.type-hover{-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.popup_outer_wrap:not([class*=" type-inline"]).position-top-right{right:0;top:0}.popup_outer_wrap:not([class*=" type-inline"]).position-center-left{left:0;top:50%}.popup_outer_wrap:not([class*=" type-inline"]).position-center-left:not([class*=" popup_full_height"]){-webkit-transform:translateY(-50%);transform:translateY(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-center-left.type-hover{-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-center-center{left:50%;top:50%}.popup_outer_wrap:not([class*=" type-inline"]).position-center-center:not([class*=" popup_full_height"]){-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-center-right{right:0;top:50%}.popup_outer_wrap:not([class*=" type-inline"]).position-center-right:not([class*=" popup_full_height"]){-webkit-transform:translateY(-50%);transform:translateY(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-left{left:0;bottom:0}.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-center{left:50%;bottom:0;-webkit-transform:translate(-50%);transform:translate(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-right{right:0;bottom:0}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width{-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%;left:0}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width>[data-dm-type=popup]{max-width:100%;overflow-x:auto}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_height{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);height:100%;height:calc(100% - 20px);top:50%}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_height>[data-dm-type=popup]{max-height:100%;overflow-y:auto}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width.popup_full_height{-webkit-transform:none;transform:none}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width.popup_full_height>[data-dm-type=popup]{overflow:auto}.popup_outer_wrap .divi-area-wrap,.popup_outer_wrap [data-dm-type=popup]{position:relative;background-repeat:no-repeat;background-position:50%;margin:auto;transition:all .3s;pointer-events:all}.popup_outer_wrap .divi-area-wrap.with-loader,.popup_outer_wrap [data-dm-type=popup].with-loader{background-image:url(../img/spin.gif),radial-gradient(circle at center,#fff 65%,hsla(0,0%,100%,0) 66%)!important;background-size:32px 32px,48px 48px}.popup_outer_wrap .divi-area-wrap.no-shadow,.popup_outer_wrap [data-dm-type=popup].no-shadow{box-shadow:none}.popup_outer_wrap .divi-area-wrap .clearfix:after,.popup_outer_wrap .divi-area-wrap .et_pb_row:after,.popup_outer_wrap .divi-area-wrap .et_pb_row_inner:after,.popup_outer_wrap .divi-area-wrap .et_pb_slides:after,.popup_outer_wrap [data-dm-type=popup] .clearfix:after,.popup_outer_wrap [data-dm-type=popup] .et_pb_row:after,.popup_outer_wrap [data-dm-type=popup] .et_pb_row_inner:after,.popup_outer_wrap [data-dm-type=popup] .et_pb_slides:after{content:""}@media screen and (min-width:783px){.admin-bar .popup_outer_wrap.popup_full_height{height:calc(100% - 52px);margin-top:16px}}@media screen and (min-width:601px) and (max-width:782px){.admin-bar .popup_outer_wrap.popup_full_height{height:calc(100% - 66px);margin-top:23px}}#page-container #main-content{transition:all 0s}body.evr_popup_open{overflow:hidden}.divi-area-wrap{position:relative}#et-boc .divi-area-wrap.with-close .evr-close_wrap,.popup_outer_wrap [data-dm-type=popup].with-close .evr-close_wrap{display:block!important}#et-boc .divi-area-wrap.no-close .evr-close_wrap,.popup_outer_wrap [data-dm-type=popup].no-close .evr-close_wrap{display:none!important}#et-boc .divi-area-wrap .evr-close_wrap,.popup_outer_wrap [data-dm-type=popup] .evr-close_wrap{position:absolute;right:0;top:0;opacity:.2;z-index:100;text-align:right;transition:opacity .6s .3s}#et-boc .divi-area-wrap .evr-close,.popup_outer_wrap [data-dm-type=popup] .evr-close{display:block;box-sizing:content-box;width:30px;height:30px;line-height:30px;text-align:center!important;font-family:Courier New,monospace;font-size:20px;font-weight:700;cursor:pointer;color:#333;background:hsla(0,0%,100%,.13);opacity:.7;box-shadow:0 0 3px 1px rgba(0,0,0,.03);transition:all .3s}#et-boc .divi-area-wrap .evr-close:active,#et-boc .divi-area-wrap .evr-close:focus,#et-boc .divi-area-wrap .evr-close:hover,.popup_outer_wrap [data-dm-type=popup] .evr-close:active,.popup_outer_wrap [data-dm-type=popup] .evr-close:focus,.popup_outer_wrap [data-dm-type=popup] .evr-close:hover{color:#000;background:#fff;opacity:1;box-shadow:0 0 4px 0 rgba(0,0,0,.13),0 0 3px 1px rgba(0,0,0,.07);-webkit-transform:scale(1.1);transform:scale(1.1)}#et-boc .divi-area-wrap.dark .evr-close,.popup_outer_wrap [data-dm-type=popup].dark .evr-close{color:#eee;background:rgba(0,0,0,.13);box-shadow:0 0 0 1px hsla(0,0%,100%,.03);text-shadow:0 0 1px #000,0 0 3px rgba(0,0,0,.67)}#et-boc .divi-area-wrap.dark .evr-close:active,#et-boc .divi-area-wrap.dark .evr-close:focus,#et-boc .divi-area-wrap.dark .evr-close:hover,.popup_outer_wrap [data-dm-type=popup].dark .evr-close:active,.popup_outer_wrap [data-dm-type=popup].dark .evr-close:focus,.popup_outer_wrap [data-dm-type=popup].dark .evr-close:hover{color:#fff;background:#2b2b2b;box-shadow:0 0 1px 1px hsla(0,0%,100%,.2)}#et-boc .divi-area-wrap.is-open .evr-close_wrap,.popup_outer_wrap [data-dm-type=popup].is-open .evr-close_wrap{opacity:1;transition:opacity .6s .3s}#et-boc .divi-area-wrap.close-alt .evr-close,.popup_outer_wrap [data-dm-type=popup].close-alt .evr-close{box-shadow:none!important;background:transparent!important}#et-boc .divi-area-wrap .et_pb_contact_select,.popup_outer_wrap [data-dm-type=popup] .et_pb_contact_select{-moz-appearance:textfield}.popup_outer_wrap [data-dm-registered]{display:block!important}
1
+ .evr_fb_popup_modal{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.55);z-index:99;transition:-webkit-backdrop-filter 1s 1s;transition:backdrop-filter 1s 1s;transition:backdrop-filter 1s 1s,-webkit-backdrop-filter 1s 1s;-webkit-backdrop-filter:none;backdrop-filter:none}.evr_popup_open .evr_fb_popup_modal{-webkit-backdrop-filter:saturate(180%) blur(5px);backdrop-filter:saturate(180%) blur(5px)}.divi-area-wrap-fly-in,[data-dm-type=popup][id]{box-shadow:0 3px 10px -1px rgba(0,0,0,.3),0 2px 50px 2px rgba(0,0,0,.2);background-color:#fff}.divi-area-wrap-fly-in.divi-area-wrap,[data-dm-type=popup][id].divi-area-wrap{background-color:transparent}.popup_outer_wrap{position:fixed;z-index:100;pointer-events:none;max-width:100vw;max-height:100vh}.popup_outer_wrap.type-popup{min-width:320px}@media screen and (min-width:981px){.popup_outer_wrap.type-popup{width:90%}}@media screen and (max-width:980px){.popup_outer_wrap.type-popup{width:calc(100% - 20px)}}.popup_outer_wrap.type-inline{position:relative;top:unset;bottom:unset;left:unset;right:unset;width:unset;height:unset;-webkit-transform:unset;transform:unset;max-width:unset;max-height:unset}.popup_outer_wrap:not([class*=" type-inline"]).position-top-left{left:0;top:0}.popup_outer_wrap:not([class*=" type-inline"]).position-top-center{left:50%;top:0;-webkit-transform:translate(-50%);transform:translate(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-top-center.type-hover{-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.popup_outer_wrap:not([class*=" type-inline"]).position-top-right{right:0;top:0}.popup_outer_wrap:not([class*=" type-inline"]).position-center-left{left:0;top:50%}.popup_outer_wrap:not([class*=" type-inline"]).position-center-left:not([class*=" popup_full_height"]){-webkit-transform:translateY(-50%);transform:translateY(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-center-left.type-hover{-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-center-center{left:50%;top:50%}.popup_outer_wrap:not([class*=" type-inline"]).position-center-center:not([class*=" popup_full_height"]){-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-center-right{right:0;top:50%}.popup_outer_wrap:not([class*=" type-inline"]).position-center-right:not([class*=" popup_full_height"]){-webkit-transform:translateY(-50%);transform:translateY(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-left{left:0;bottom:0}.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-center{left:50%;bottom:0;-webkit-transform:translate(-50%);transform:translate(-50%)}.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-right{right:0;bottom:0}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width{-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%;left:0}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width>[data-dm-type=popup]{max-width:100%;overflow-x:auto}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_height{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);height:100%;height:calc(100% - 20px);top:50%}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_height>[data-dm-type=popup]{max-height:100%;overflow-y:auto}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width.popup_full_height{-webkit-transform:none;transform:none}.popup_outer_wrap:not([class*=" type-inline"]).popup_full_width.popup_full_height>[data-dm-type=popup]{overflow:auto}.popup_outer_wrap .divi-area-wrap,.popup_outer_wrap [data-dm-type=popup]{position:relative;background-repeat:no-repeat;background-position:50%;margin:auto;transition:all .3s;pointer-events:all}.popup_outer_wrap .divi-area-wrap.with-loader,.popup_outer_wrap [data-dm-type=popup].with-loader{background-image:url(../img/spin.gif),radial-gradient(circle at center,#fff 65%,hsla(0,0%,100%,0) 66%)!important;background-size:32px 32px,48px 48px}.popup_outer_wrap .divi-area-wrap.no-shadow,.popup_outer_wrap [data-dm-type=popup].no-shadow{box-shadow:none}.popup_outer_wrap .divi-area-wrap .clearfix:after,.popup_outer_wrap .divi-area-wrap .et_pb_row:after,.popup_outer_wrap .divi-area-wrap .et_pb_row_inner:after,.popup_outer_wrap .divi-area-wrap .et_pb_slides:after,.popup_outer_wrap [data-dm-type=popup] .clearfix:after,.popup_outer_wrap [data-dm-type=popup] .et_pb_row:after,.popup_outer_wrap [data-dm-type=popup] .et_pb_row_inner:after,.popup_outer_wrap [data-dm-type=popup] .et_pb_slides:after{content:""}@media screen and (min-width:783px){.admin-bar .popup_outer_wrap.popup_full_height{height:calc(100% - 52px);margin-top:16px}}@media screen and (min-width:601px) and (max-width:782px){.admin-bar .popup_outer_wrap.popup_full_height{height:calc(100% - 66px);margin-top:23px}}#page-container #main-content{transition:all 0s}body.evr_popup_open{overflow:hidden}.divi-area-wrap{position:relative}#et-boc .divi-area-wrap .evr-close_wrap,.popup_outer_wrap [data-dm-type=popup] .evr-close_wrap{display:block!important;position:absolute;right:0;top:0;opacity:.2;z-index:100;text-align:right;transition:opacity .6s .3s}#et-boc .divi-area-wrap .evr-close,.popup_outer_wrap [data-dm-type=popup] .evr-close{display:block;box-sizing:content-box;width:30px;height:30px;line-height:30px;text-align:center!important;font-family:Courier New,monospace;font-size:20px;font-weight:700;cursor:pointer;color:#333;background:hsla(0,0%,100%,.13);opacity:.7;box-shadow:0 0 3px 1px rgba(0,0,0,.03);transition:all .3s}#et-boc .divi-area-wrap .evr-close:active,#et-boc .divi-area-wrap .evr-close:focus,#et-boc .divi-area-wrap .evr-close:hover,.popup_outer_wrap [data-dm-type=popup] .evr-close:active,.popup_outer_wrap [data-dm-type=popup] .evr-close:focus,.popup_outer_wrap [data-dm-type=popup] .evr-close:hover{color:#000;background:#fff;opacity:1;box-shadow:0 0 4px 0 rgba(0,0,0,.13),0 0 3px 1px rgba(0,0,0,.07);-webkit-transform:scale(1.1);transform:scale(1.1)}#et-boc .divi-area-wrap.dark .evr-close,.popup_outer_wrap [data-dm-type=popup].dark .evr-close{color:#eee;background:rgba(0,0,0,.13);box-shadow:0 0 0 1px hsla(0,0%,100%,.03);text-shadow:0 0 1px #000,0 0 3px rgba(0,0,0,.67)}#et-boc .divi-area-wrap.dark .evr-close:active,#et-boc .divi-area-wrap.dark .evr-close:focus,#et-boc .divi-area-wrap.dark .evr-close:hover,.popup_outer_wrap [data-dm-type=popup].dark .evr-close:active,.popup_outer_wrap [data-dm-type=popup].dark .evr-close:focus,.popup_outer_wrap [data-dm-type=popup].dark .evr-close:hover{color:#fff;background:#2b2b2b;box-shadow:0 0 1px 1px hsla(0,0%,100%,.2)}#et-boc .divi-area-wrap.is-open .evr-close_wrap,.popup_outer_wrap [data-dm-type=popup].is-open .evr-close_wrap{opacity:1;transition:opacity .6s .3s}#et-boc .divi-area-wrap.close-alt .evr-close,.popup_outer_wrap [data-dm-type=popup].close-alt .evr-close{box-shadow:none!important;background:transparent!important}#et-boc .divi-area-wrap .et_pb_contact_select,.popup_outer_wrap [data-dm-type=popup] .et_pb_contact_select{-moz-appearance:textfield}.popup_outer_wrap [data-dm-registered]{display:block!important}
js/builder.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function o(a){if(t[a])return t[a].exports;var s=t[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)o.d(a,s,function(t){return e[t]}.bind(null,s));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=12)}([,,function(e,t,o){"use strict";var a="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};!function(e){e.Debug=e.Debug||{};var t=!1;e.Debug.group=function(e){if(DiviPopupData.debug&&console.group){var o=!t||e&&e!==t;if(t&&(console.groupEnd(),t=!1),e&&o){var a=Array.prototype.slice.call(arguments);a.unshift("[DiviAreas]"),console.group.apply(this,a),t=e}}},e.Debug.table=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),console.table?console.table.apply(this,e):console.log.apply(this,e)}},e.Debug.verbose=function(){if(DiviPopupData.debug&&DiviPopupData.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.debug=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.info=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),console.log.apply(this,e)}},e.Debug.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),console.error.apply(this,e)},e.Debug.sysInfo=function(){if(DiviArea.lib&&DiviArea.version&&console.log("JS API:",DiviArea.lib,DiviArea.version),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var e in console.log(""),console.log("System information:"),DiviPopupData.sys)try{console.log(" -",e+":",DiviPopupData.sys[e])}catch(e){}console.log("")},e.Debug.initErrorLogging=function(e){var t=function(e,t,o){if(!e[t]||!e[t].__dm_orig__){var a=e[t];for(var s in e[t]=function(){var e=!1;try{e=o.apply(this,arguments)}finally{try{if(!e&&a)return a.apply(this,arguments)}catch(e){throw e}}},a)a.hasOwnProperty(s)&&(e[t][s]=a[s]);e[t].__dm_orig__=a}},o=function(){var e=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var t=0;t<arguments.length;t++)if("object"===a(arguments[t])&&arguments[t]&&arguments[t].message&&arguments[t].stack){e=arguments[t];break}if(e){var o=[],s=e.stack.toString().split("\n");if(o.push("divimode.com Anonymized Error Report"),o.push("-".repeat(30)),o.push(e.name),e.message?o.push(e.message):o.push("-"),o.push(""),s&&s.length>1)for(var i=0;i<s.length;i++){var r=s[i];if(r.match(/(\/wp-includes\/|\/jquery\.js)/))break;r.match(/\.js/)&&(r=(r=(r=r.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),o.push(r))}if(DiviArea.info&&(o.push(""),o.push("js api:"+DiviArea.info)),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var n in o.push(""),DiviPopupData.sys)try{o.push(n+": "+DiviPopupData.sys[n])}catch(e){}o.push("-".repeat(30));var u=console.error.__dm_orig__||console.error;return console.log(""),u("✋ "+o.join("\n| ")),console.log(""),!0}return!1};t(e,"onerror",o),t(e.console,"error",o)}}(window.DiviArea=window.DiviArea||{})},,,,,,,,,,function(e,t,o){o(13),e.exports=o(15)},function(e,t,o){"use strict";var a=function(e){return e&&e.__esModule?e:{default:e}}(o(14));o(2),DiviArea.Debug.initErrorLogging(window),jQuery(window).on("et_fb_init",function(){window.DiviAreaVB=window.DiviAreaVB||new a.default})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,o,a){return o&&e(t.prototype,o),a&&e(t,a),t}}();var s=!1,i=!1,r=!1,n=!1,u={},l={module_id:"",module_class:"",da_is_popup:"off",da_popup_slug:"",da_exit_intent:"off",da_has_close:"on",da_alt_close:"off",da_dark_close:"off",da_not_modal:"on",da_is_singular:"off",da_with_loader:"off",da_has_shadow:"on",da_disable_devices:"off|off|off"},d=0,p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.init=this.init.bind(this),window.setTimeout(this.init,20)}return a(e,[{key:"init",value:function(){if(window.ET_Builder){var e=(window._daConfig||{}).divi_areas_cpt||"divi-area";((((ET_Builder.Frames||{}).app||{}).ETBuilderBackendDynamic||{}).postType||"page")!==e&&this.startObserver()}else{if(!(++d<10))throw new Error("Could not initilize the Library (ET_Builder is undefined)");window.setTimeout(this.init,250)}}},{key:"startObserver",value:function(){var e=this;s&&this.stopObserver();var t=this.getAppFrame();if(t){var o=jQuery(t.document),a=this.sanitizeSlug;s=window.setInterval(function(){return e.observeAttribs()},200),o.on("blur.da",'input[name="module_id"], input[name="module_class"]',function(){e.observeClasses()}),o.on("blur.da",'input[name="da_popup_slug"]',function(){jQuery(this).val(a(jQuery(this).val()))})}else window.setTimeout(function(){return e.startObserver()},100)}},{key:"stopObserver",value:function(){if(s){var e=this.getAppFrame(),t=jQuery(e.document);window.clearInterval(s),t.off(".da",'input[name="module_id"], input[name="module_class"], input[name="da_popup_slug"]'),s=!1}}},{key:"observeAttribs",value:function(){var e=this.getApp();if(e&&e.state.activeModule&&e.state.activeModule.props&&"et_pb_section"===e.state.activeModule.props.type)for(var t=0;t<e.state.sections.length;t++){var o=e.state.sections[t],a=!1;this.compareSectionAttrs(o)&&(a=this.setSectionClasses(o)),a&&this.setSectionState(o,a)}}},{key:"observeClasses",value:function(){var e=this.getApp();if(e&&e.state)for(var t=0;t<e.state.sections.length;t++){var o=e.state.sections[t],a=!1;this.compareSectionClasses(o)&&(a=this.setSectionAttrs(o),a=this.setSectionClasses(a)),a&&this.setSectionState(o,a)}}},{key:"getAppFrame",value:function(){return!!(window.top.ET_Builder&&window.top.ET_Builder.Frames&&window.top.ET_Builder.Frames.top)&&window.top.ET_Builder.Frames.top}},{key:"getApp",value:function(){var e=this.getAppFrame();if(!e)return!1;var t=jQuery(e.document).find("#et-fb-app .place-top");if(!t||!t.length)return!1;if(!r||!t[0][r])for(var o in t[0])if(0===o.indexOf("__reactInternalInstance$")){i=o.substr(24),r="__reactInternalInstance$"+i;break}var a=t[0][r],s=this.getProp(a,["alternate","return","alternate","return","alternate","memoizedProps","_owner","alternate","memoizedState"]),n=this.getProp(a,["return","stateNode","setState"]);return!(!s||!n)&&{state:s,setState:n.bind(a.return.stateNode)}}},{key:"getProp",value:function(e,t){if(!t.length)return e;var o=t.shift();return!(!e||void 0===e[o])&&this.getProp(e[o],t)}},{key:"setSectionState",value:function(e,t){var o=this.getAppFrame();for(var a in l)e.attrs[a]!==t.attrs[a]&&(void 0===t.attrs[a]?delete e.attrs[a]:e.attrs[a]=t.attrs[a]);n&&window.clearTimeout(n),n=window.setTimeout(function(){n=!1;var e=document.createEvent("MouseEvents"),t=document.createEvent("MouseEvents"),a=o.jQuery(".et-fb-modal__resize")[0],s=o;a&&s&&(e.initMouseEvent("mousedown",!0,!0),t.initMouseEvent("mouseup",!0,!0),a.dispatchEvent(e),s.dispatchEvent(t))},50)}},{key:"compareSectionAttrs",value:function(e){var t=u[e.address],o=!1;for(var a in t||(o=!0,t={}),l)0===a.indexOf("da_")&&e.attrs[a]!==t[a]&&(o=!0,t[a]=e.attrs[a]);return o&&(u[e.address]=t),o}},{key:"compareSectionClasses",value:function(e){var t=u[e.address],o=!1;return t||(o=!0,t={}),void 0===t.module_id&&(t.module_id=""),void 0===t.module_class&&(t.module_class=""),e.attrs.module_id!==t.module_id&&(e.attrs.module_id||t.module_id)&&(o=!0,t.module_id=e.attrs.module_id),e.attrs.module_class!==t.module_class&&(e.attrs.module_class||t.module_class)&&(o=!0,t.module_class=e.attrs.module_class),o&&(u[e.address]=t),o}},{key:"sanitizeSlug",value:function(e){return"string"!=typeof e&&(e=""),e=(e=(e=(e=e.replace(/#/g,"")).replace(/[^a-zA-Z0-9\-_]/g,"-")).replace(/\-+/g,"-")).replace(/^\-+|\-+$/g,"")}},{key:"setSectionClasses",value:function(e){var t=JSON.parse(JSON.stringify(e)),o=(e.attrs.module_class||"").split(" "),a=e.attrs.da_is_popup||"off",s=e.attrs.da_popup_slug||"",i=e.attrs.da_exit_intent||"off",r=e.attrs.da_has_close||"on",n=e.attrs.da_alt_close||"off",l=e.attrs.da_dark_close||"off",d=e.attrs.da_not_modal||"on",p=e.attrs.da_is_singular||"off",f=e.attrs.da_with_loader||"off",c=e.attrs.da_has_shadow||"on",_=(e.attrs.da_disable_devices||"off|off|off").split("|"),v=["popup","on-exit","no-close","close-alt","dark","is-modal","single","with-loader","no-shadow","not-mobile","not-tablet","not-desktop"];return o=o.filter(function(e){return-1===v.indexOf(e)}),"on"===a&&(o.push("popup"),"on"===i&&o.push("on-exit"),"on"!==r?o.push("no-close"):("on"===n&&o.push("close-alt"),"on"===l&&o.push("dark")),"on"!==d&&o.push("is-modal"),"on"===p&&o.push("single"),"on"===f&&o.push("with-loader"),"on"!==c&&o.push("no-shadow"),"on"===_[0]&&o.push("not-mobile"),"on"===_[1]&&o.push("not-tablet"),"on"===_[2]&&o.push("not-desktop"),s&&(t.attrs.module_id=this.sanitizeSlug(s))),t.attrs.module_class=o.filter(function(e){return e}).join(" "),u[t.address].module_class=t.attrs.module_class,u[t.address].module_id=t.attrs.module_id,t}},{key:"setSectionAttrs",value:function(e){var t=JSON.parse(JSON.stringify(e)),o=this.sanitizeSlug(e.attrs.module_id),a=(e.attrs.module_class||"").split(" "),s=["off","off","off"];return t.attrs.da_is_popup=-1!==a.indexOf("popup")?"on":"off",t.attrs.da_has_close=-1===a.indexOf("no-close")?"on":"off",t.attrs.da_exit_intent=-1!==a.indexOf("on-exit")?"on":"off",t.attrs.da_alt_close=-1!==a.indexOf("close-alt")?"on":"off",t.attrs.da_dark_close=-1!==a.indexOf("dark")?"on":"off",t.attrs.da_not_modal=-1===a.indexOf("is-modal")?"on":"off",t.attrs.da_is_singular=-1!==a.indexOf("single")?"on":"off",t.attrs.da_with_loader=-1!==a.indexOf("with-loader")?"on":"off",t.attrs.da_has_shadow=-1===a.indexOf("no-shadow")?"on":"off",s[0]=-1!==a.indexOf("not-mobile")?"on":"off",s[1]=-1!==a.indexOf("not-tablet")?"on":"off",s[2]=-1!==a.indexOf("not-desktop")?"on":"off",t.attrs.da_disable_devices=s.join("|"),o&&(t.attrs.da_popup_slug=o),u[t.address].da_is_popup=t.attrs.da_is_popup,u[t.address].da_popup_slug=this.sanitizeSlug(t.attrs.da_popup_slug),u[t.address].da_has_close=t.attrs.da_has_close,u[t.address].da_exit_intent=t.attrs.da_exit_intent,u[t.address].da_alt_close=t.attrs.da_alt_close,u[t.address].da_dark_close=t.attrs.da_dark_close,u[t.address].da_not_modal=t.attrs.da_not_modal,u[t.address].da_is_singular=t.attrs.da_is_singular,u[t.address].da_has_shadow=t.attrs.da_has_shadow,u[t.address].da_disable_devices=t.attrs.da_disable_devices,u[t.address].da_with_loader=t.attrs.da_with_loader,t}}]),e}();t.default=p},function(e,t,o){}]);
1
+ !function(e){var t={};function o(a){if(t[a])return t[a].exports;var s=t[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)o.d(a,s,function(t){return e[t]}.bind(null,s));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=12)}([,function(e,t,o){"use strict";var a="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};!function(e){e.Debug=e.Debug||{};var t=!1;e.Debug.group=function(e){if(DiviPopupData.debug&&console.group){var o=!t||e&&e!==t;if(t&&(console.groupEnd(),t=!1),e&&o){var a=Array.prototype.slice.call(arguments);a.unshift("[DiviAreas]"),console.group.apply(this,a),t=e}}},e.Debug.table=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),console.table?console.table.apply(this,e):console.log.apply(this,e)}},e.Debug.verbose=function(){if(DiviPopupData.debug&&DiviPopupData.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.debug=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.info=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),console.log.apply(this,e)}},e.Debug.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),console.error.apply(this,e)},e.Debug.sysInfo=function(){if(DiviArea.lib&&DiviArea.version&&console.log("JS API:",DiviArea.lib,DiviArea.version),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var e in console.log(""),console.log("System information:"),DiviPopupData.sys)try{console.log(" -",e+":",DiviPopupData.sys[e])}catch(e){}console.log("")},e.Debug.initErrorLogging=function(e){var t=function(e,t,o){if(!e[t]||!e[t].__dm_orig__){var a=e[t];for(var s in e[t]=function(){var e=!1;try{e=o.apply(this,arguments)}finally{try{if(!e&&a)return a.apply(this,arguments)}catch(e){throw e}}},a)a.hasOwnProperty(s)&&(e[t][s]=a[s]);e[t].__dm_orig__=a}},o=function(){var e=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var t=0;t<arguments.length;t++)if("object"===a(arguments[t])&&arguments[t]&&arguments[t].message&&arguments[t].stack){e=arguments[t];break}if(e){var o=[],s=e.stack.toString().split("\n");if(o.push("divimode.com Anonymized Error Report"),o.push("-".repeat(30)),o.push(e.name),e.message?o.push(e.message):o.push("-"),o.push(""),s&&s.length>1)for(var i=0;i<s.length;i++){var r=s[i];if(r.match(/(\/wp-includes\/|\/jquery\.js)/))break;r.match(/\.js/)&&(r=(r=(r=r.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),o.push(r))}if(DiviArea.info&&(o.push(""),o.push("js api:"+DiviArea.info)),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var n in o.push(""),DiviPopupData.sys)try{o.push(n+": "+DiviPopupData.sys[n])}catch(e){}o.push("-".repeat(30));var u=console.error.__dm_orig__||console.error;return console.log(""),u("✋ "+o.join("\n| ")),console.log(""),!0}return!1};t(e,"onerror",o),t(e.console,"error",o)}}(window.DiviArea=window.DiviArea||{})},,,,,,,,,,,function(e,t,o){o(13),e.exports=o(15)},function(e,t,o){"use strict";var a=function(e){return e&&e.__esModule?e:{default:e}}(o(14));o(1),DiviArea.Debug.initErrorLogging(window),jQuery(window).on("et_fb_init",function(){window.DiviAreaVB=window.DiviAreaVB||new a.default})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,o,a){return o&&e(t.prototype,o),a&&e(t,a),t}}();var s=!1,i=!1,r=!1,n=!1,u={},l={module_id:"",module_class:"",da_is_popup:"off",da_popup_slug:"",da_exit_intent:"off",da_has_close:"on",da_alt_close:"off",da_dark_close:"off",da_not_modal:"on",da_is_singular:"off",da_with_loader:"off",da_has_shadow:"on",da_disable_devices:"off|off|off"},d=0,p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.init=this.init.bind(this),window.setTimeout(this.init,20)}return a(e,[{key:"init",value:function(){if(window.ET_Builder){var e=(window._daConfig||{}).divi_areas_cpt||"divi-area";((((ET_Builder.Frames||{}).app||{}).ETBuilderBackendDynamic||{}).postType||"page")!==e&&this.startObserver()}else{if(!(++d<10))throw new Error("Could not initilize the Library (ET_Builder is undefined)");window.setTimeout(this.init,250)}}},{key:"startObserver",value:function(){var e=this;s&&this.stopObserver();var t=this.getAppFrame();if(t){var o=jQuery(t.document),a=this.sanitizeSlug;s=window.setInterval(function(){return e.observeAttribs()},200),o.on("blur.da",'input[name="module_id"], input[name="module_class"]',function(){e.observeClasses()}),o.on("blur.da",'input[name="da_popup_slug"]',function(){jQuery(this).val(a(jQuery(this).val()))})}else window.setTimeout(function(){return e.startObserver()},100)}},{key:"stopObserver",value:function(){if(s){var e=this.getAppFrame(),t=jQuery(e.document);window.clearInterval(s),t.off(".da",'input[name="module_id"], input[name="module_class"], input[name="da_popup_slug"]'),s=!1}}},{key:"observeAttribs",value:function(){var e=this.getApp();if(e&&e.state.activeModule&&e.state.activeModule.props&&"et_pb_section"===e.state.activeModule.props.type)for(var t=0;t<e.state.sections.length;t++){var o=e.state.sections[t],a=!1;this.compareSectionAttrs(o)&&(a=this.setSectionClasses(o)),a&&this.setSectionState(o,a)}}},{key:"observeClasses",value:function(){var e=this.getApp();if(e&&e.state)for(var t=0;t<e.state.sections.length;t++){var o=e.state.sections[t],a=!1;this.compareSectionClasses(o)&&(a=this.setSectionAttrs(o),a=this.setSectionClasses(a)),a&&this.setSectionState(o,a)}}},{key:"getAppFrame",value:function(){return!!(window.top.ET_Builder&&window.top.ET_Builder.Frames&&window.top.ET_Builder.Frames.top)&&window.top.ET_Builder.Frames.top}},{key:"getApp",value:function(){var e=this.getAppFrame();if(!e)return!1;var t=jQuery(e.document).find("#et-fb-app .place-top");if(!t||!t.length)return!1;if(!r||!t[0][r])for(var o in t[0])if(0===o.indexOf("__reactInternalInstance$")){i=o.substr(24),r="__reactInternalInstance$"+i;break}var a=t[0][r],s=this.getProp(a,["alternate","return","alternate","return","alternate","memoizedProps","_owner","alternate","memoizedState"]),n=this.getProp(a,["return","stateNode","setState"]);return!(!s||!n)&&{state:s,setState:n.bind(a.return.stateNode)}}},{key:"getProp",value:function(e,t){if(!t.length)return e;var o=t.shift();return!(!e||void 0===e[o])&&this.getProp(e[o],t)}},{key:"setSectionState",value:function(e,t){var o=this.getAppFrame();for(var a in l)e.attrs[a]!==t.attrs[a]&&(void 0===t.attrs[a]?delete e.attrs[a]:e.attrs[a]=t.attrs[a]);n&&window.clearTimeout(n),n=window.setTimeout(function(){n=!1;var e=document.createEvent("MouseEvents"),t=document.createEvent("MouseEvents"),a=o.jQuery(".et-fb-modal__resize")[0],s=o;a&&s&&(e.initMouseEvent("mousedown",!0,!0),t.initMouseEvent("mouseup",!0,!0),a.dispatchEvent(e),s.dispatchEvent(t))},50)}},{key:"compareSectionAttrs",value:function(e){var t=u[e.address],o=!1;for(var a in t||(o=!0,t={}),l)0===a.indexOf("da_")&&e.attrs[a]!==t[a]&&(o=!0,t[a]=e.attrs[a]);return o&&(u[e.address]=t),o}},{key:"compareSectionClasses",value:function(e){var t=u[e.address],o=!1;return t||(o=!0,t={}),void 0===t.module_id&&(t.module_id=""),void 0===t.module_class&&(t.module_class=""),e.attrs.module_id!==t.module_id&&(e.attrs.module_id||t.module_id)&&(o=!0,t.module_id=e.attrs.module_id),e.attrs.module_class!==t.module_class&&(e.attrs.module_class||t.module_class)&&(o=!0,t.module_class=e.attrs.module_class),o&&(u[e.address]=t),o}},{key:"sanitizeSlug",value:function(e){return"string"!=typeof e&&(e=""),e=(e=(e=(e=e.replace(/#/g,"")).replace(/[^a-zA-Z0-9\-_]/g,"-")).replace(/\-+/g,"-")).replace(/^\-+|\-+$/g,"")}},{key:"setSectionClasses",value:function(e){var t=JSON.parse(JSON.stringify(e)),o=(e.attrs.module_class||"").split(" "),a=e.attrs.da_is_popup||"off",s=e.attrs.da_popup_slug||"",i=e.attrs.da_exit_intent||"off",r=e.attrs.da_has_close||"on",n=e.attrs.da_alt_close||"off",l=e.attrs.da_dark_close||"off",d=e.attrs.da_not_modal||"on",p=e.attrs.da_is_singular||"off",f=e.attrs.da_with_loader||"off",c=e.attrs.da_has_shadow||"on",_=(e.attrs.da_disable_devices||"off|off|off").split("|"),v=["popup","on-exit","no-close","close-alt","dark","is-modal","single","with-loader","no-shadow","not-mobile","not-tablet","not-desktop"];return o=o.filter(function(e){return-1===v.indexOf(e)}),"on"===a&&(o.push("popup"),"on"===i&&o.push("on-exit"),"on"!==r?o.push("no-close"):("on"===n&&o.push("close-alt"),"on"===l&&o.push("dark")),"on"!==d&&o.push("is-modal"),"on"===p&&o.push("single"),"on"===f&&o.push("with-loader"),"on"!==c&&o.push("no-shadow"),"on"===_[0]&&o.push("not-mobile"),"on"===_[1]&&o.push("not-tablet"),"on"===_[2]&&o.push("not-desktop"),s&&(t.attrs.module_id=this.sanitizeSlug(s))),t.attrs.module_class=o.filter(function(e){return e}).join(" "),u[t.address].module_class=t.attrs.module_class,u[t.address].module_id=t.attrs.module_id,t}},{key:"setSectionAttrs",value:function(e){var t=JSON.parse(JSON.stringify(e)),o=this.sanitizeSlug(e.attrs.module_id),a=(e.attrs.module_class||"").split(" "),s=["off","off","off"];return t.attrs.da_is_popup=-1!==a.indexOf("popup")?"on":"off",t.attrs.da_has_close=-1===a.indexOf("no-close")?"on":"off",t.attrs.da_exit_intent=-1!==a.indexOf("on-exit")?"on":"off",t.attrs.da_alt_close=-1!==a.indexOf("close-alt")?"on":"off",t.attrs.da_dark_close=-1!==a.indexOf("dark")?"on":"off",t.attrs.da_not_modal=-1===a.indexOf("is-modal")?"on":"off",t.attrs.da_is_singular=-1!==a.indexOf("single")?"on":"off",t.attrs.da_with_loader=-1!==a.indexOf("with-loader")?"on":"off",t.attrs.da_has_shadow=-1===a.indexOf("no-shadow")?"on":"off",s[0]=-1!==a.indexOf("not-mobile")?"on":"off",s[1]=-1!==a.indexOf("not-tablet")?"on":"off",s[2]=-1!==a.indexOf("not-desktop")?"on":"off",t.attrs.da_disable_devices=s.join("|"),o&&(t.attrs.da_popup_slug=o),u[t.address].da_is_popup=t.attrs.da_is_popup,u[t.address].da_popup_slug=this.sanitizeSlug(t.attrs.da_popup_slug),u[t.address].da_has_close=t.attrs.da_has_close,u[t.address].da_exit_intent=t.attrs.da_exit_intent,u[t.address].da_alt_close=t.attrs.da_alt_close,u[t.address].da_dark_close=t.attrs.da_dark_close,u[t.address].da_not_modal=t.attrs.da_not_modal,u[t.address].da_is_singular=t.attrs.da_is_singular,u[t.address].da_has_shadow=t.attrs.da_has_shadow,u[t.address].da_disable_devices=t.attrs.da_disable_devices,u[t.address].da_with_loader=t.attrs.da_with_loader,t}}]),e}();t.default=p},function(e,t,o){}]);
js/front.js CHANGED
@@ -1 +1 @@
1
- !function(e){var i={};function t(a){if(i[a])return i[a].exports;var o=i[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=i,t.d=function(e,i,a){t.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,i){if(1&i&&(e=t(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var o in e)t.d(a,o,function(i){return e[i]}.bind(null,o));return a},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},t.p="",t(t.s=6)}([function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getId=u,i.getRealId=p,i.addAltId=function(e,i){if(e===i)return;i=u(i),null===e?delete d[i]:d[i]=e},i.getArea=c,i.registerArea=function(e,i,t){if(!(i=u(i)))return!1;var o=c(i);if(o)return o;var n=jQuery(i);if(!n.length)return!1;t&&(n=n.filter(t));if(!n||1!==n.length)return!1;"inline"===e?n.data("_visible","yes"):(n.closest(".et-l").length&&n.data("wrap-classes","et-l"),n.detach(),n.data("_visible","no"));var l=i.replace(/-/g,"_").replace(/^#/,"");n.addClass(e),n.attr("data-dm-type",e),n.attr("data-dm-registered",1),n.data("_id",i),n.data("_key",l),n.data("_type",e),DiviArea.Debug.debug("Area Type",e),DiviArea.Debug.debug("Area ID",i),DiviArea.Debug.debug("Area Hook",l),(0,a.attachCloseButton)(n),s[i]=n,n.hasClass(DiviArea.Utils.getOption("notMobileClass"))?n.data("on-mobile",!1):n.data("on-mobile",DiviArea.Utils.toBool(n.data("on-mobile")));n.hasClass(DiviArea.Utils.getOption("notTabletClass"))?n.data("on-tablet",!1):n.data("on-tablet",DiviArea.Utils.toBool(n.data("on-tablet")));n.hasClass(DiviArea.Utils.getOption("notDesktopClass"))?n.data("on-desktop",!1):n.data("on-desktop",DiviArea.Utils.toBool(n.data("on-desktop")));n.hasClass(DiviArea.Utils.getOption("withCloseClass"))?n.data("show-close",!0):n.hasClass(DiviArea.Utils.getOption("noCloseClass"))?n.data("show-close",!1):n.data("show-close",DiviArea.Utils.toBool(n.data("show-close")));n.hasClass(DiviArea.Utils.getOption("altCloseClass"))?n.data("close-alt",!0):n.data("close-alt",DiviArea.Utils.toBool(n.data("close-alt"),!1));n.hasClass(DiviArea.Utils.getOption("modalIndicatorClass"))?n.data("is-modal",!0):n.data("is-modal",DiviArea.Utils.toBool(n.data("is-modal"),!1));n.hasClass(DiviArea.Utils.getOption("exitIndicatorClass"))?n.data("trigger-exit",!0):n.data("trigger-exit",DiviArea.Utils.toBool(n.data("trigger-exit"),!1));n.hasClass(DiviArea.Utils.getOption("noShadowClass"))?n.data("no-shadow",!0):n.data("no-shadow",DiviArea.Utils.toBool(n.data("no-shadow"),!1));n.hasClass(DiviArea.Utils.getOption("darkModeClass"))?n.data("dark-mode",!0):n.data("dark-mode",DiviArea.Utils.toBool(n.data("dark-mode"),!1));n.hasClass(DiviArea.Utils.getOption("singletonClass"))?n.data("singleton",!0):n.data("singleton",DiviArea.Utils.toBool(n.data("singleton"),!1));return n.data("position","center-center"),n.data("position-v","center"),n.data("position-h","center"),(0,a.configArea)(n),(0,r.initializeAreaAnimation)(n),DiviArea.Debug.info("➕ Registered new area:",i,"("+e+")"),n},i.getAllIds=function(e){var i=[];if(e&&e instanceof jQuery){var t=e.data("_id");for(var a in i.push(t),d)t===d[a]&&i.push(a)}else{for(var o in s){var r=s[o];b(e,r)&&i.push(o)}for(var n in d){var l=d[n],u=s[l];b(e,u)&&i.push(n)}}return i},i.loopAllAreas=function(e,i){for(var t in s){var a=s[t];b(e,a)&&i(a,t)}},i.countVisibleAreas=v,i.addVisibleArea=function(e){if(!(e=c(e)))return!1;var i=e.data("_type");if(DiviArea.Debug.debug("Make area visible",e.data("_id")),"popup"!==i&&v("popup")){for(var t=0;t<l.length;t++)if("popup"===l[t].data("_type")){l.splice(t,0,e);break}}else l.push(e);if(e.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).off(".da"),e.find("."+DiviArea.Utils.getOption("closeButtonClass")).off(".da"),e.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).on("click.da",function(i){return DiviArea.Debug.debug("Click on custom close-button"),DiviArea.Hooks.doAction("close_area",e,"custom"),DiviArea.Hooks.doAction("close_area-"+e.data("_key"),e,"custom"),(0,o.broadcast)("Close",e),i.preventDefault(),!1}),e.hasClass(DiviArea.Utils.getOption("withCloseClass"))){var a=e.find("."+DiviArea.Utils.getOption("closeButtonClass"));a.on("click.da",function(i){return DiviArea.Debug.debug("Click on default close-button"),DiviArea.Hooks.doAction("close_area",e,"default"),DiviArea.Hooks.doAction("close_area-"+e.data("_key"),e,"default"),(0,o.broadcast)("Close",e),i.preventDefault(),!1})}},i.removeVisibleArea=function(e){if(!(e=c(e)))return!1;var i=e.data("_id");DiviArea.Debug.debug("Make area hidden",i);for(var t=l.length-1;t>=0;t--){var a=l[t];i===a.data("_id")&&l.splice(t,1)}e.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).off(".da"),e.find("."+DiviArea.Utils.getOption("closeButtonClass")).off(".da")},i.getVisibleArea=g,i.loopVisibleAreas=f,i.reorderVisibleAreas=function(){var e=DiviArea.Utils.getOption("zIndex"),i=1,t=[];function a(a){var n=a.data("_type"),s=a.parent(),l=e+i;if(isNaN(a.data("z-index"))||(l=a.data("z-index")),!s.hasClass(DiviArea.Utils.getOption("popupWrapperClass"))){"inline"===n?(a.wrap("<div>"),s=a.parent()):((s=jQuery("<div/>")).appendTo((0,o.getContext)()),a.detach().appendTo(s));var d=a.data("wrap-classes");d&&s.addClass(d),s.addClass(DiviArea.Utils.getOption("popupWrapperClass")),s.addClass("type-"+n),s.addClass("position-"+a.data("position"))}t.push({id:a.data("_id"),type:a.data("_type"),pos:i,zIndex:"inline"===n?"":l}),"inline"!==n&&s.css({zIndex:l}),i++,"yes"!==a.data("_visible")&&("skip"===a.data("_do_animation")?a.show():(DiviArea.Debug.info("✨ Animate the area (show)",a.data("_id")),(0,r.animateArea)(a,"show")),a.data("_visible","yes"),DiviArea.Hooks.doAction("show_area",a),DiviArea.Hooks.doAction("show_area-"+a.data("_key"),a),(0,o.broadcast)("Show",a))}DiviArea.Debug.debug("Refresh order (z-index) of visible areas"),f("all",o.blurArea),f("inline",a),f("!popup,inline",a),v("popup")&&(t.push({id:"-",type:"overlay",pos:i,zIndex:(0,n.showOverlay)()}),f("popup",a));DiviArea.Debug.info("👓 List of visible Areas:"),DiviArea.Debug.table(t),(0,o.focusArea)(g()),window.setTimeout(D,50)},i.doResizeAreas=D;var a=t(3),o=t(1),r=t(4),n=t(5),s={},l=[],d={};function u(e,i){if(e instanceof jQuery){if(e.data("_id"))return e.data("_id");e=e.attr("id")}if(!e)return"";if("#"!==e[0]&&(e="#"+e),i){var t=new RegExp("^#"+i+":");e=e.replace(t,"#",e)}return e?e.toString():""}function p(e){var i=u(e),t=u(d[i]);return void 0!==s[i]?i:void 0!==s[t]?t:""}function c(e){if(e instanceof jQuery)return!!e.data("_id")&&e;var i=p(e);return!!i&&s[i]}function v(e){if(!e||"all"===e)return l.length;var i=0;return f(e,function(){return i++}),i}function g(e,i){for(var t=l.length-1;t>=0;t--)if(b(e,l[t])){if(void 0===i||-1===i)return l[t];if(i===l[t].data("_id"))return l[t]}return!1}function f(e,i,t){for(var a=l.length,o=t?a-1:0,r=0;r<a;r++){var n=l[o];o+=t?-1:1,b(e,n)&&i(n,r)}}function D(){var e=parseInt(jQuery("html").css("marginTop")),i=jQuery(window).innerWidth(),t=jQuery(window).innerHeight()-e;f("all",function(e){var a,o,r=e.parent(),n=e.data("_type"),s={};"inline"===n||e.data("max-width")||(e.hasClass("et_pb_section")?e.data("max-width",e.outerWidth()+"px"):(e.data("max-width",e.children(".et_pb_section").first().outerWidth()+"px"),e.children(".et_pb_section").css({width:"100%",maxWidth:""})),DiviArea.Debug.debug("Auto max-width calculated:",e.data("_id"),e.data("max-width"))),e.data("max-height")&&(s.overflow="auto",s.maxHeight=e.data("max-height")),e.data("max-width")&&(s.maxWidth=e.data("max-width")),e.css(s),"popup"===n&&(o=isNaN(e[0].scrollHeight)?e.innerHeight:e[0].scrollHeight,a=isNaN(e[0].scrollWidth)?e.innerWidth:e[0].scrollWidth,i<a+20?r.addClass(DiviArea.Utils.getOption("fullWidthClass")):r.removeClass(DiviArea.Utils.getOption("fullWidthClass")),t<o+20?r.addClass(DiviArea.Utils.getOption("fullHeightClass")):r.removeClass(DiviArea.Utils.getOption("fullHeightClass")))})}function b(e,i){if(!e)return!0;if("all"===e)return!0;var t="!"===e[0],a=i.data("_type");e=e.replace("!","").split(",");for(var o=0;o<e.length;o++){if(e[o]=e[o].trim(),t&&e[o]===a)return!1;if(!t&&e[o]===a)return!0}return!!t}},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a="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};i.initializeModule=function(){DiviArea.Debug.debug("Initialize the app"),jQuery(document).trigger("DiviAreas:Loaded",[window.DiviAreas]),DiviArea.Hooks.doAction("load"),l("Load"),function(){var e=jQuery(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!e.length)return;e.parent().css({minHeight:e.outerHeight()})}(),v(u),g(o.doResizeAreas),jQuery(document).on("keyup",b),window.setTimeout(function(){DiviArea.Hooks.addAction("exit_intent",A)},DiviArea.Utils.getOption("onExitDelay")),DiviArea.Hooks.addAction("close_area",D),u(),DiviArea.Hooks.doAction("ready"),l("Ready")},i.broadcast=l,i.observe=function(e,i,t){var a=".__"+e,o="DiviPopup:"+e,r=d(t);function n(a,o){var n=window;return r?(DiviArea.Debug.verbose("Handle observed area event",e,t.data("_id")),n=t):(o&&jQuery(o).data("_id")&&(n=jQuery(o)),DiviArea.Debug.verbose("Handle observed global event",e)),i.apply(n,arguments)}DiviArea.Debug.error("observe() is deprecated. Use DiviArea.addAction() or DiviArea.addFilter() instead!"),r?(DiviArea.Debug.debug("[DEPRECATED] Observe area event:",e,t.data("_id")),t.off(a),t.on(o+a,n)):(DiviArea.Debug.debug("[DEPRECATED] Observe global event:",e),jQuery(document).off(a),jQuery(document).on(o+a,n))},i.isArea=d,i.reOrderAreas=function(e){if(!(0,o.countVisibleAreas)())return;(0,o.reorderVisibleAreas)(),e&&function(e){s&&!e.data("observe-resize")&&(s.observe(e[0]),e.data("observe-resize",!0))}(e);(0,o.countVisibleAreas)("popup")&&DiviPopup.showOverlay()},i.doActivateTriggers=u,i.doDeactivateTriggers=p,i.removeArea=function(e,i){var t=[],n=(e=jQuery(e)).data("_id"),u=[];"popup"===e.data("_type")&&((0,o.loopVisibleAreas)("popup",function(e){u.push(e.data("_id"))}),i?(t.push(n),n=!1):e.data("singleton")&&(t=u,n=!1));function p(e){"object"===(void 0===e?"undefined":a(e))&&(e=e.data("_id")),e&&e.length&&("#"!==e[0]&&(e="#"+e),t.push(e))}function c(e){if(d(e=jQuery(e))&&e.data("_key")){e.removeClass("__is_animating"),f(e),DiviArea.Hooks.doAction("hide_area",e),DiviArea.Hooks.doAction("hide_area-"+e.data("_key"),e),l("Hide",e),e.find("div .popup-trigger").off("._da"),function(e){s&&e.data("observe-resize")&&(s.unobserve(e[0]),e.data("observe-resize",!1))}(e);var i=e.parent();"skip"===e.data("_do_animation")?t():(DiviArea.Debug.info("✨ Animate the area (hide)",e.data("_id")),(0,r.animateArea)(e,"hide",t)),(0,o.removeVisibleArea)(e)}function t(){e.detach().hide().data("_visible","no"),i.hasClass(DiviArea.Utils.getOption("popupWrapperClass"))&&i.remove()}}i?(t=DiviArea.Hooks.applyFilters("hide_ids_before_hide",t,e,u),t=DiviArea.Hooks.applyFilters("hide_ids_before_hide-"+e.data("_key"),t,e,u),l("BeforeHide",e,u,p),DiviArea.Hooks.doAction("before_hide",e,t),DiviArea.Hooks.doAction("before_hide-"+e.data("_key"),e,t)):(t=DiviArea.Hooks.applyFilters("hide_ids_before_show",t,e,u),t=DiviArea.Hooks.applyFilters("hide_ids_before_show-"+e.data("_key"),t,e,u),l("BeforeShow",e,u,p),DiviArea.Hooks.doAction("before_show",e,t),DiviArea.Hooks.doAction("before_show-"+e.data("_key"),e,t));t.length&&(DiviArea.Debug.debug("Hide following areas:",t),(0,o.loopVisibleAreas)("all",function(e){var i=e.data("_id");-1!==t.indexOf(i)&&c(e)},!0));n&&c(n)},i.getContext=c,i.addDomObserver=v,i.addResizeObserver=g,i.initContext=function(){(n=jQuery(DiviArea.Utils.getOption("baseContext"))).length||DiviArea.Debug.error('Could not find the popup container "'+DiviArea.Utils.getOption("baseContext")+'"')},i.initExitIntent=function(){jQuery(window).on("mouseleave.da",function(e){var i;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(i=Math.max(document.documentElement.clientWidth,window.innerWidth||0),e.clientX>=i-50||e.clientY>=50||e.toElement||e.relatedTarget||(DiviArea.Debug.info("⚡️ Exit-intent detected"),DiviArea.Hooks.doAction("exit_intent"),l("ExitIntent")))})},i.blurArea=f,i.focusArea=function(e){var i=DiviArea.Utils.getOption("activePopupClass");e&&!e.hasClass(i)&&(e.addClass(i),DiviArea.Hooks.doAction("focus_area",e),DiviArea.Hooks.doAction("focus_area-"+e.data("_key"),e),l("Focus",e),u(e))};var o=t(0),r=t(4),n=null,s=null;function l(e,i){var t=void 0,a=void 0,r=Array.prototype.slice.call(arguments);r.shift();var n=["DiviPopup:"+e],s=d(r[0]),l=[];for(s?DiviArea.Debug.debug("Broadcast area event:",e,r[0].data("_id")):DiviArea.Debug.debug("Broadcast global event:",e),window.DiviArea&&n.unshift("DiviArea:"+e),t=0;t<n.length;t++){if(s){var u=(0,o.getAllIds)(i);for(l.push({obj:i,event:n[t],params:r.slice(1)}),DiviArea.Debug.verbose('⚙ $("'+i.data("_id")+'").on("'+n[t]+'")'),a=0;a<u.length;a++){var p=":"+u[a].replace(/^#/,"");l.push({obj:jQuery(document),event:n[t]+p,params:r}),DiviArea.Debug.verbose('⚙ $(document).on("'+n[t]+p+'")')}}l.push({obj:jQuery(document),event:n[t],params:r}),DiviArea.Debug.verbose('⚙ $(document).on("'+n[t]+'")')}for(t=0;t<l.length;t++)l[t].obj.triggerHandler(l[t].event,l[t].params)}function d(e){return e&&e.length&&e instanceof jQuery&&e.data("_id")}function u(e){var i,t=void 0===e,a=void 0,r=void 0;if(void 0===e&&(e=c()),function(e){e.find(DiviArea.Utils.getOption("popupSelector")).filter("[id]").each(function(){var e=jQuery(this);DiviArea.Debug.debug("Found an inline Popup Area:",e.attr("id")),DiviPopup.register(e,{},"popup")})}(e),(i=function(e,i){var t,a,o,r=[];if(!e.ids||!e.ids.length)return[];function n(e,i){var t;for(t=0;t<i.length;t++){var a=jQuery(i[t]);a.attr("data-area-id")||r.push({id:e,item:a})}}for(t=0;t<e.ids.length;t++)if(n(o=e.ids[t].replace(/^#/,""),jQuery('[href="#'+o+'"]',i)),e.linkPrefix&&n(o,jQuery('[href="#'+e.linkPrefix+o+'"]',i)),e.classPrefix&&n(o,jQuery("."+e.classPrefix+o,i)),e.dataAttrib&&n(o,jQuery("["+e.dataAttrib+'="'+o+'"]',i)),window.et_link_options_data)for(a=et_link_options_data.length-1;a>=0;a--)if("#"+o===et_link_options_data[a].url){var s=jQuery(".et_pb_module."+et_link_options_data[a].class,i);n(o,s),s.off("click"),et_link_options_data.splice(a,1)}return r}({ids:(0,o.getAllIds)("popup"),linkPrefix:"popup:",dataAttrib:DiviArea.Utils.getOption("idAttrib"),classPrefix:DiviArea.Utils.getOption("triggerClassPrefix")},e)).length){for(t?DiviArea.Debug.group("Activate all triggers in document"):DiviArea.Debug.group("Activate triggers in area",e.data("_id")),a=0;a<i.length;a++)h((r=i[a]).item,r.id);DiviArea.Debug.group()}else t?DiviArea.Debug.debug("No new triggers found in document"):DiviArea.Debug.debug("No new triggers found in area",e.data("_id"))}function p(e){void 0!==e&&(DiviArea.Debug.debug("Deactivate all triggers in area",e.data("_id")),e.find("[data-area-id]").each(function(){!function(e){DiviArea.Debug.debug("Remove trigger:",e[0]),e.removeAttr("data-area-id"),e.removeClass("popup-trigger"),e.off("._da")}(jQuery(this))}))}function c(){return n}function v(e){var i=window.MutationObserver||window.WebKitMutationObserver,t=window.addEventListener,a=c();i?new i(function(i,t){return i[0].addedNodes.length?(DiviArea.Debug.debug("DOM changed (nodes added)"),e()):i[0].removedNodes.length?(DiviArea.Debug.debug("DOM changed (nodes removed)"),e()):void 0}).observe(a[0],{childList:!0,subtree:!0}):t&&(a.addEventListener("DOMNodeInserted",e,!1),a.addEventListener("DOMNodeRemoved",e,!1))}function g(e){var i=window.ResizeObserver||window.WebKitResizeObserver;i?s=new i(e):window.setInterval(e,750),jQuery(window).resize(e)}function f(e){var i=DiviArea.Utils.getOption("activePopupClass");e&&(e.hasClass(i)&&(e.removeClass(i),DiviArea.Hooks.doAction("blur_area",e),DiviArea.Hooks.doAction("blur_area-"+e.data("_key"),e),l("Blur",e)),p(e))}function D(e,i){d(e)||(DiviArea.Debug.debug("Close the top-most area"),DiviPopup.hide())}function b(e){if(27===e.keyCode)return DiviArea.Debug.info("⚡️ ESC-key pressed"),DiviArea.Hooks.applyFilters("esc_key_pressed",!1)?(DiviArea.Debug.debug("Ignored, manually cancelled in filter"),!0):(0,o.countVisibleAreas)("popup")?(DiviArea.Debug.debug("Close top-most popup"),DiviArea.Hooks.doAction("close_area",!1,"esc"),l("Close"),!1):(DiviArea.Debug.debug("Ignored, no popup is visible"),!0)}function A(){var e=!1,i=!1;(0,o.loopAllAreas)("popup",function(i,t){e||i.hasClass(DiviArea.Utils.getOption("exitIndicatorClass"))&&(e=t)}),(0,o.loopAllAreas)("flyin",function(e,t){i||e.hasClass(DiviArea.Utils.getOption("exitIndicatorClass"))&&(i=t)}),e&&DiviArea.show(e),i&&DiviArea.show(i)}function h(e,i){var t;if(t=(0,o.getId)(i)){if(e.attr("data-area-id"))return e.off("._da"),e.on("click._da",a),void DiviArea.Debug.debug("Trigger already prepared",e[0]);(0,o.getArea)(t)?(e.attr("data-area-id",t),e.addClass("popup-trigger"),e.on("click._da",a),DiviArea.Debug.debug("Prepared trigger to open this area:",t,e[0])):DiviArea.Debug.debug("Ignore trigger. No area found with this ID:",e[0])}else DiviArea.Debug.debug("Ignore trigger. Invalid target ID:",i,e[0]);function a(e){return e.preventDefault(),DiviArea.Debug.debug("Trigger area:",t),DiviPopup.show(t),!1}}},function(e,i,t){"use strict";var a="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};!function(e){e.Debug=e.Debug||{};var i=!1;e.Debug.group=function(e){if(DiviPopupData.debug&&console.group){var t=!i||e&&e!==i;if(i&&(console.groupEnd(),i=!1),e&&t){var a=Array.prototype.slice.call(arguments);a.unshift("[DiviAreas]"),console.group.apply(this,a),i=e}}},e.Debug.table=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),console.table?console.table.apply(this,e):console.log.apply(this,e)}},e.Debug.verbose=function(){if(DiviPopupData.debug&&DiviPopupData.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.debug=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.info=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),console.log.apply(this,e)}},e.Debug.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),console.error.apply(this,e)},e.Debug.sysInfo=function(){if(DiviArea.lib&&DiviArea.version&&console.log("JS API:",DiviArea.lib,DiviArea.version),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var e in console.log(""),console.log("System information:"),DiviPopupData.sys)try{console.log(" -",e+":",DiviPopupData.sys[e])}catch(e){}console.log("")},e.Debug.initErrorLogging=function(e){var i=function(e,i,t){if(!e[i]||!e[i].__dm_orig__){var a=e[i];for(var o in e[i]=function(){var e=!1;try{e=t.apply(this,arguments)}finally{try{if(!e&&a)return a.apply(this,arguments)}catch(e){throw e}}},a)a.hasOwnProperty(o)&&(e[i][o]=a[o]);e[i].__dm_orig__=a}},t=function(){var e=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var i=0;i<arguments.length;i++)if("object"===a(arguments[i])&&arguments[i]&&arguments[i].message&&arguments[i].stack){e=arguments[i];break}if(e){var t=[],o=e.stack.toString().split("\n");if(t.push("divimode.com Anonymized Error Report"),t.push("-".repeat(30)),t.push(e.name),e.message?t.push(e.message):t.push("-"),t.push(""),o&&o.length>1)for(var r=0;r<o.length;r++){var n=o[r];if(n.match(/(\/wp-includes\/|\/jquery\.js)/))break;n.match(/\.js/)&&(n=(n=(n=n.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),t.push(n))}if(DiviArea.info&&(t.push(""),t.push("js api:"+DiviArea.info)),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var s in t.push(""),DiviPopupData.sys)try{t.push(s+": "+DiviPopupData.sys[s])}catch(e){}t.push("-".repeat(30));var l=console.error.__dm_orig__||console.error;return console.log(""),l("✋ "+t.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",t),i(e.console,"error",t)}}(window.DiviArea=window.DiviArea||{})},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a="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};i.attachCloseButton=function(e){var i=DiviArea.Utils.getOption("closeButtonClass"),t=i+"_wrap",a=DiviArea.Utils.getOption("noCloseClass"),o=DiviArea.Utils.getOption("withCloseClass");if(e.find("."+t).length)return;var r=jQuery("<span />").addClass(t),n=jQuery('<a href="#close" />').addClass(i);n.html("&times;"),n.appendTo(r),r.appendTo(e),e.hasClass(a)||e.hasClass(o)||(DiviArea.Utils.getOption("defaultShowCloseButton")?e.addClass(o):e.addClass(a));DiviArea.Debug.debug("Added default close button to area",e.data("_id"))},i.setupHoverArea=function(e){var i=jQuery(e.data("_trigger"));if(!i.length)return;var t=DiviArea.Utils.isPositon(i,"fixed"),a="#"+e.attr("id"),o=e.data("close-on"),n=1e3*e.data("close-delay"),s=e,l=!1,d=!1,u=!1;r&&(u=new r(function(e){var i=!0,t=!1,a=void 0;try{for(var o,r=e[Symbol.iterator]();!(i=(o=r.next()).done);i=!0){var n=o.value,s=n.contentRect,l=s.width+"-"+s.height;l!==d&&(d=l,c())}}catch(e){t=!0,a=e}finally{try{!i&&r.return&&r.return()}finally{if(t)throw a}}},{box:"border-box"}));function p(){DiviArea.Debug.info("📐 Position area relative to element:",i),s=e.closest(".popup_outer_wrap"),c(),DiviArea.Hooks.removeAction("show_area-"+e.data("_key"),p)}function c(){var a=t?i[0].getBoundingClientRect():DiviArea.Utils.getClientRect(i),o={left:"",top:"",right:"",bottom:"",width:"",height:"",position:t?"fixed":"absolute"};"top"===e.data("position-v")?o.top=a.top:"bottom"===e.data("position-v")?o.top=a.bottom:"left"===e.data("position-h")?(o.top=a.top+a.height/2,o.left=a.left):"right"===e.data("position-h")?(o.top=a.top+a.height/2,o.left=a.right):DiviArea.Debug.error("Invalid position",e.data("position")),DiviArea.Debug.debug("Area position:",o),s.css(o)}function v(){g(),l=window.setTimeout(function(){DiviArea.hide(e.data("_id"))},n)}function g(){l&&window.clearTimeout(l),l=!1}DiviArea.Hooks.addAction("show_area-"+e.data("_key"),function(){u&&u.observe(i[0]),function(){"click"===o?jQuery(document).on("click."+a,function(e){jQuery(e.target).closest(a).length||v()}):"hover"===o&&(e.on("mouseleave._dah",v),i.on("mouseleave._dah",v));i.on("mouseenter._dah",g),e.on("mouseenter._dah",g)}(),p()}),DiviArea.Hooks.addAction("hide_area-"+e.data("_key"),function(){u&&u.disconnect(),jQuery(document).off("."+a),e.off("._dah"),i.off("._dah")}),DiviArea.Debug.debug("Prepared positioning of hover area")},i.checkViewport=function(e){var i=!0,t=jQuery(window).innerWidth();i=t<768?!!e.data("on-mobile"):t<981?!!e.data("on-tablet"):!!e.data("on-desktop");return i},i.triggerLazyLoad=function(e){jQuery("body").trigger("post-load")},i.triggerAnimations=function(e){void 0!==window.et_reinit_waypoint_modules&&window.et_reinit_waypoint_modules()},i.initRecaptcha=function(e){if(!window.grecaptcha)return;if(!e.find('input[name="g-recaptcha-response"]').length)return;if(e.find("[data-sitekey].g-recaptcha").length>0)e.find("form").each(function(){var e=jQuery(this),i=e.find("[data-sitekey].g-recaptcha");if(i.length&&!e.find('iframe[src*="/recaptcha/"]').length){var t={sitekey:i.attr("data-sitekey"),type:i.attr("data-type"),size:i.attr("data-size"),theme:i.attr("data-theme"),badge:i.attr("data-badge"),tabindex:i.attr("data-tabindex")},a=i.attr("data-callback"),o=i.attr("data-expired-callback");a&&"function"==typeof window[a]&&(t.callback=window[a]),o&&"function"==typeof window[o]&&(t["expired-callback"]=window[o]);var r=grecaptcha.render(i[0],t);window.recaptchaWidgets&&recaptchaWidgets.push(r)}});else{var i=jQuery('script[src*="google.com/recaptcha/api.js"]').attr("src"),t=i.replace(/^.*render=(.*)$/,"$1").split("&")[0];grecaptcha.execute(t,{action:"homepage"}).then(function(i){e.find('form [name="g-recaptcha-response]').val(i)})}},i.configArea=function(e,i,t){var r,n,s=(0,o.getArea)(e);if(!s||1!==s.length)return;if(r=s.data("_id"),"object"===(void 0===i?"undefined":a(i))){for(var l in i)i.hasOwnProperty(l)&&DiviPopup.config(s,l,i[l]);return}if(void 0!==i){if("string"!=typeof i)return;switch(i=i.trim().toLowerCase().replace(/-/g,"")){case"notmobile":n=DiviArea.Utils.toBool(s.data("on-mobile")),s.data("on-mobile",!DiviArea.Utils.toBool(t,!n));break;case"onmobile":n=DiviArea.Utils.toBool(s.data("on-mobile")),s.data("on-mobile",DiviArea.Utils.toBool(t,n));break;case"nottablet":n=DiviArea.Utils.toBool(s.data("on-tablet")),s.data("on-tablet",!DiviArea.Utils.toBool(t,!n));break;case"ontablet":n=DiviArea.Utils.toBool(s.data("on-tablet")),s.data("on-tablet",DiviArea.Utils.toBool(t,n));break;case"notdesktop":n=DiviArea.Utils.toBool(s.data("on-desktop")),s.data("on-desktop",!DiviArea.Utils.toBool(t,!n));break;case"ondesktop":n=DiviArea.Utils.toBool(s.data("on-desktop")),s.data("on-desktop",DiviArea.Utils.toBool(t,n));break;case"triggerexit":s.data("trigger-exit",DiviArea.Utils.toBool(t));break;case"hideclose":s.data("show-close",!DiviArea.Utils.toBool(t));break;case"showclose":s.data("show-close",DiviArea.Utils.toBool(t));break;case"closealt":s.data("close-alt",DiviArea.Utils.toBool(t));break;case"ismodal":s.data("is-modal",DiviArea.Utils.toBool(t));break;case"notmodal":s.data("is-modal",!DiviArea.Utils.toBool(t));break;case"shadow":s.data("no-shadow",!DiviArea.Utils.toBool(t));break;case"noshadow":s.data("no-shadow",DiviArea.Utils.toBool(t));break;case"dark":s.data("dark-mode",DiviArea.Utils.toBool(t));break;case"maxwidth":s.data("max-width",t);break;case"maxheight":s.data("max-height",t);break;case"zindex":s.data("z-index",parseInt(t));break;case"singleton":s.data("singleton",DiviArea.Utils.toBool(t));break;case"ids":case"alternateid":Array.isArray(t)?t.forEach(function(e){return(0,o.addAltId)(r,e)}):(0,o.addAltId)(r,t);break;case"position":var d=[];-1!==t.indexOf("top")?d.push("top"):-1!==t.indexOf("bottom")?d.push("bottom"):d.push("center"),-1!==t.indexOf("left")?d.push("left"):-1!==t.indexOf("right")?d.push("right"):d.push("center"),s.data("position",d.join("-")),s.data("position-v",d[0]),s.data("position-h",d[1]);break;case"closetrigger":s.data("close-on",t);break;case"closedelay":s.data("close-delay",parseFloat(t))}}s.data("on-mobile")?s.removeClass(DiviArea.Utils.getOption("notMobileClass")):s.addClass(DiviArea.Utils.getOption("notMobileClass"));s.data("on-tablet")?s.removeClass(DiviArea.Utils.getOption("notTabletClass")):s.addClass(DiviArea.Utils.getOption("notTabletClass"));s.data("on-desktop")?s.removeClass(DiviArea.Utils.getOption("notDesktopClass")):s.addClass(DiviArea.Utils.getOption("notDesktopClass"));s.data("trigger-exit")?s.addClass(DiviArea.Utils.getOption("exitIndicatorClass")):s.removeClass(DiviArea.Utils.getOption("exitIndicatorClass"));s.data("show-close")?(s.addClass(DiviArea.Utils.getOption("withCloseClass")),s.removeClass(DiviArea.Utils.getOption("noCloseClass"))):(s.addClass(DiviArea.Utils.getOption("noCloseClass")),s.removeClass(DiviArea.Utils.getOption("withCloseClass")));s.data("close-alt")?s.addClass(DiviArea.Utils.getOption("altCloseClass")):s.removeClass(DiviArea.Utils.getOption("altCloseClass"));s.data("is-modal")?s.addClass(DiviArea.Utils.getOption("modalIndicatorClass")):s.removeClass(DiviArea.Utils.getOption("modalIndicatorClass"));s.data("no-shadow")?s.addClass(DiviArea.Utils.getOption("noShadowClass")):s.removeClass(DiviArea.Utils.getOption("noShadowClass"));s.data("dark-mode")?s.addClass(DiviArea.Utils.getOption("darkModeClass")):s.removeClass(DiviArea.Utils.getOption("darkModeClass"));s.data("singleton")?s.addClass(DiviArea.Utils.getOption("singletonClass")):s.removeClass(DiviArea.Utils.getOption("singletonClass"))};var o=t(0),r=window.ResizeObserver||window.WebKitResizeObserver},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.animateArea=function(e,i,t){var r=!1,n=!1;if("show"===i&&"yes"===e.data("_visible"))return DiviArea.Debug.debug("Skip opening-animation, area is already visible"),!1;if("hide"===i&&"yes"!==e.data("_visible"))return DiviArea.Debug.debug("Skip closing-animation, area is not visible"),!1;window.TweenLite&&"flyin"===e.data("_type")&&(n=!0);"function"!=typeof t&&(t=function(){});if("hide"===i&&"flyin"!==e.data("_type"))return void t();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var i=e.attr("data-animation"),t=!1;if(!i)return!1;if(!(t=a[i]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":t.style,"data-animation-repeat":"once"===t.repeat?"":"infinite","data-animation-duration":t.duration,"data-animation-delay":t.delay,"data-animation-intensity":t.intensity,"data-animation-starting-opacity":t.starting_opacity,"data-animation-speed-curve":t.speed_curve}),o(e,{offset:"100%",handler:function(){!function(e){var i=e.attr("data-animation-style"),t=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),o=e.attr("data-animation-delay"),r=e.attr("data-animation-intensity"),n=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var i=[],t=e.get(0).attributes,a=0;a<t.length;a++)"data-animation-"===t[a].name.substring(0,15)&&i.push(t[a].name);jQuery.each(i,function(i,t){e.removeAttr(t)})}(e);var l=isNaN(parseInt(n))?0:.01*parseInt(n);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":o,opacity:l,"animation-timing-function":s});for(var d={},u=isNaN(parseInt(r))?50:parseInt(r),p=["slide","zoom","flip","fold","roll"],c=!1,v=!1,g=0;g<p.length;g++){var f=p[g];if(i&&i.substr(0,f.length)===f){c=f,""!==(v=i.substr(f.length,i.length))&&(v=v.toLowerCase());break}}!1!==c&&!1!==v&&(d=function(e,i,t){var a={};switch(e){case"slide":switch(i){case"top":a={transform:"translate3d(0, "+(o=-2*t)+"%, 0)"};break;case"right":a={transform:"translate3d("+(o=2*t)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(o=2*t)+"%, 0)"};break;case"left":var o=-2*t;a={transform:"translate3d("+o+"%, 0, 0)"};break;default:a={transform:"scale3d("+(r=.01*(100-t))+", "+r+", "+r+")"}}break;case"zoom":var r=.01*(100-t);switch(i){case"top":case"right":case"bottom":case"left":default:a={transform:"scale3d("+r+", "+r+", "+r+")"}}break;case"flip":switch(i){case"right":a={transform:"perspective(2000px) rotateY("+(n=Math.ceil(.9*t))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(n=-1*Math.ceil(.9*t))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(n=Math.ceil(.9*t))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(n=-1*Math.ceil(.9*t))+"deg)"}}break;case"fold":switch(i){case"top":a={transform:"perspective(2000px) rotateX("+(n=-1*Math.ceil(.9*t))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(n=Math.ceil(.9*t))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(n=Math.ceil(.9*t))+"deg)"};break;case"right":default:a={transform:"perspective(2000px) rotateY("+(n=-1*Math.ceil(.9*t))+"deg)"}}break;case"roll":switch(i){case"right":case"bottom":a={transform:"rotateZ("+(n=-1*Math.ceil(3.6*t))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(n=Math.ceil(3.6*t))+"deg)"};break;default:var n=Math.ceil(3.6*t);a={transform:"rotateZ("+n+"deg)"}}}return a}(c,v,u)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(i),e.addClass(t)}(jQuery(this.element))}})}(e)&&(r=!0);n?function(e,i,t){DiviArea.Debug.debug("Animate Area using GSAP");var a=DiviArea.Utils.getOption("animateSpeed"),o={},r={};e.css({opacity:"show"===i?0:1,transition:"all 0s"}),e.show(),window.setTimeout(function(){"left"===e.data("position-h")?(o.left=-1*e.outerWidth(),r.left=0):"right"===e.data("position-h")?(o.right=-1*e.outerWidth(),r.right=0):"top"===e.data("position-v")?(o.top=-1*e.outerHeight(),r.top=0):"bottom"===e.data("position-v")&&(o.bottom=-1*e.outerHeight(),r.bottom=0),o.opacity=1,r.opacity=1,"hide"===i?(e.css(r),TweenLite.to(e,a/1e3,{css:o})):(e.css(o),TweenLite.to(e,a/1e3,{css:r})),window.setTimeout(t,a)},5)}(e,i,t):r?function(e,i,t){DiviArea.Debug.debug("Animate Area using a Divi Animation"),e.show(),e.css({opacity:0}),window.setTimeout(function(){e.css({opacity:""}),o(e,{offset:"100%",handler:function(){e.addClass("et-animated"),t()}},2)},10)}(e,0,t):function(e,i,t){"show"===i?(DiviArea.Debug.debug("Animate Area using jQuery fadeIn"),e.fadeIn(DiviArea.Utils.getOption("animateSpeed"),t)):"hide"===i&&(DiviArea.Debug.debug("Animate Area using jQuery fadeOut"),e.fadeOut(DiviArea.Utils.getOption("animateSpeed"),t))}(e,i,t)},i.initializeAreaAnimation=function(e){if(!window.et_animation_data||!window.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var i=0;i<et_animation_data.length;i++){var t=!1,o=et_animation_data[i];o&&(o.class&&e.hasClass(o.class)&&o.style&&o.repeat&&o.duration&&o.delay&&o.intensity&&o.starting_opacity&&o.speed_curve&&(t=o.class,e.addClass("pfd-waypoint"),e.attr("data-animation",t),a[t]=o,et_animation_data[i].class=void 0))}};var a={};function o(e,i,t){t=t||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<t){var o=e.waypoint(i);o&&o.length>0&&(a.push(o[0]),e.data("et_waypoint",a))}else for(var r=0;r<a.length;r++)a[r].context.refresh()}},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.showOverlay=function(){var e=DiviArea.Utils.getOption("zIndex");null===r&&((r=jQuery("<div />")).addClass(DiviArea.Utils.getOption("overlayClass")),r.prependTo((0,o.getContext)()),r.on("click.popup",l));e+=Math.max(0,(0,a.countVisibleAreas)()),r.css({zIndex:e}),n||(n=!0,DiviArea.Debug.info("⤴️ Show background overlay"),r.fadeIn(DiviArea.Utils.getOption("animateSpeed"),function(){jQuery("body").addClass(DiviArea.Utils.getOption("openPopupClass"))}),DiviArea.Hooks.doAction("show_overlay"),(0,o.broadcast)("OverlayShow"));return e},i.hideOverlay=s;var a=t(0),o=t(1),r=null,n=!1;function s(){n&&(n=!1,DiviArea.Debug.info("⤵️ Hide background overlay"),r.hide(),jQuery("body").removeClass(DiviArea.Utils.getOption("openPopupClass")),DiviArea.Hooks.doAction("hide_overlay"),(0,o.broadcast)("OverlayHide"))}function l(e){if(DiviArea.Debug.info("⚡️ Click on background overlay"),e.preventDefault(),DiviArea.Hooks.applyFilters("ignore_overlay_click",!1))return DiviArea.Debug.debug("Ignore click:","Manually cancelled via filter"),!1;if(DiviArea.Hooks.doAction("click_overlay"),(0,o.broadcast)("OverlayClick"),!(0,a.countVisibleAreas)("popup"))return DiviArea.Debug.debug("Ignore click:","No visible Popups found"),!1;var i=(0,a.getVisibleArea)("popup");return i.length?i.hasClass(DiviArea.Utils.getOption("modalIndicatorClass"))?(DiviArea.Debug.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):(DiviArea.Hooks.doAction("close_area",null,"overlay"),(0,a.countVisibleAreas)("popup")||s(),!1):(DiviArea.Debug.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1)}},function(e,i,t){t(7),e.exports=t(11)},function(e,i,t){"use strict";var a=function(e){return e&&e.__esModule?e:{default:e}}(t(8));window.DiviArea=window.DiviPopup=new a.default,t(2),t(9),t(10),DiviArea.init(!1)},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){function e(e,i){for(var t=0;t<i.length;t++){var a=i[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(i,t,a){return t&&e(i.prototype,t),a&&e(i,a),i}}(),o=t(0),r=t(3),n=t(1),s=t(5);function l(e,i){if((0,n.isArea)(e)){var t=!1;if(t=DiviArea.Hooks.applyFilters("before_close_area",!1,e,i),t=DiviArea.Hooks.applyFilters("before_close_area-"+e.data("_key"),t,e,i))return DiviArea.Debug.debug("Ignored, manually cancelled in filter"),!0;DiviArea.hide(e.data("_id"))}}var d=function(){function e(){!function(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}(this,e)}return a(e,[{key:"init",value:function(e){var i=[window.location.protocol,"//",window.location.host,"/wp-admin/edit.php?post_type=divi-area&page=settings#frontend"];this.app=e?"Divi Areas Pro":"Popups for Divi",this.lib=e?"DiviArea":"DiviPopup",this.version="1.1.0",this.info=this.lib+"-"+this.version,DiviArea.Debug.info("🚀 Initialize "+this.app,"- JS API:",this.info),e?DiviArea.Debug.info("ℹ️ You can disable the debug output on the Settings page:",i.join("")):DiviArea.Debug.info("ℹ️ You can disable the debug output by disabling WP_DEBUG"),DiviArea.Debug.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),DiviArea.Utils.init(),(0,n.initContext)(),(0,n.initExitIntent)(),DiviArea.Utils.getOption("initializeOnEvent")?jQuery(window,document).on(DiviArea.Utils.getOption("initializeOnEvent"),function(){window.setTimeout(n.initializeModule,1)}):window.setTimeout(n.initializeModule,1)}},{key:"markClosed",value:function(e,i){if(DiviArea.Utils.getOption("debug")){var t=(0,o.getId)(e);DiviArea.Debug.info("📌 Mark Area as closed for "+i+" minutes:",t)}DiviArea.Utils.setLocalData(e,"1",i)}},{key:"isClosed",value:function(e){var i=DiviArea.Utils.getLocalData(e);if(DiviArea.Utils.getOption("debug")){var t=(0,o.getId)(e);"1"===i?DiviArea.Debug.info("📌 Area is still closed:",t):DiviArea.Debug.info("📌 Area is not closed:",t)}return"1"===i}},{key:"register",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments[2];if(!(e=(0,o.getId)(e)))return!1;var a,s=(0,o.getArea)(e);if(s)return s;if(t||(t=(a=jQuery((0,o.getId)(e))).data("_type")),!t&&a.length)for(var l=a.attr("class").split(" "),d=0;d<l.length;d++)if(0===l[d].indexOf("divi-area-type-")){t=l[d].replace("divi-area-type-","");break}if(!t)return!1;DiviArea.Debug.group("Register Area | "+t+" | "+e);var u=(0,o.registerArea)(t,e,i.selector);return!(!u||!u.length)&&(Object.keys(i).forEach(function(e){(0,r.configArea)(u,e,i[e])}),"inline"===t&&((0,r.triggerLazyLoad)(u),this.show(e)),DiviArea.Debug.group(),DiviArea.Hooks.doAction("init_area",u),DiviArea.Hooks.doAction("init_area-"+u.data("_key"),u),(0,n.broadcast)("Init",u),u)}},{key:"config",value:function(e,i,t){(0,r.configArea)(e,i,t)}},{key:"show",value:function(e,i){var t=(0,o.getId)(e),a=(0,o.getArea)(t),s=0,d=!1;if(DiviArea.Debug.group("Show area",t),!a||!a.length)return DiviArea.Debug.error("Could not find an area with the ID:",t),DiviArea.Debug.group(),!1;if(!(0,r.checkViewport)(a))return DiviArea.Debug.debug("Do not trigger area on this device:",t),DiviArea.Debug.group(),!1;var u=a.data("_type");return"yes"===a.data("_visible")&&a.data("_do_animation","skip"),i&&(i.delegateTarget?d=i.delegateTarget:i.target&&(d=i.target)),a.data("_trigger",d),DiviArea.Debug.debug("Trigger element:",d||"(none)"),"inline"!==u&&((0,n.removeArea)(a),a.removeClass(DiviArea.Utils.getOption("exitIndicatorClass"))),"hover"===u&&(0,r.setupHoverArea)(a),(0,o.addVisibleArea)(a),DiviArea.Hooks.addAction("close_area-"+a.data("_key"),l),(0,n.reOrderAreas)(a),"inline"!==u&&("skip"!==a.data("_do_animation")&&a.data("animation")&&(a.css({transition:"none"}),s+=DiviArea.Utils.toMilliseconds(a.css("animation-delay")),s+=DiviArea.Utils.toMilliseconds(a.css("animation-duration")),a.addClass("__is_animating"),window.setTimeout(function(){"yes"===a.data("_visible")&&a.removeClass("__is_animating")},s+50)),window.setTimeout(function(){(0,r.triggerLazyLoad)(a),(0,r.triggerAnimations)(a),(0,r.initRecaptcha)(a)},50)),DiviArea.Debug.group(),a.data("_do_animation",""),!0}},{key:"hide",value:function(e){var i;if((0,o.countVisibleAreas)())if((i=e?(0,o.getVisibleArea)("all",(0,o.getRealId)(e)):(0,o.getVisibleArea)("all"))&&i.length)DiviArea.Debug.debug("Close area and unlink event handlers:",i.data("_id")),(0,n.removeArea)(i,!0);else if(e)return DiviArea.Debug.error("Could not find an area with the ID:",e),!1;(0,o.countVisibleAreas)("popup")?(0,n.reOrderAreas)():DiviPopup.hideOverlay()}},{key:"showOverlay",value:function(){(0,s.showOverlay)()}},{key:"hideOverlay",value:function(){(0,s.hideOverlay)()}},{key:"listAreas",value:function(){return(0,o.getAllIds)()}},{key:"addFilter",value:function(e,i,t){DiviArea.Hooks.addFilter.apply(window,arguments)}},{key:"addAction",value:function(e,i,t){DiviArea.Hooks.addAction.apply(window,arguments)}},{key:"addActionOnce",value:function(e,i){DiviArea.Hooks.addActionOnce.apply(window,arguments)}},{key:"removeFilter",value:function(e,i,t){DiviArea.Hooks.removeFilter.apply(window,arguments)}},{key:"removeAction",value:function(e,i,t){DiviArea.Hooks.removeAction.apply(window,arguments)}},{key:"applyFilters",value:function(e,i){return DiviArea.Hooks.applyFilters.apply(window,arguments)}},{key:"doAction",value:function(e,i){DiviArea.Hooks.doAction.apply(window,arguments)}},{key:"openPopup",value:function(e){DiviArea.Debug.error("DiviPopup.openPopup() is deprecated. Please use DiviPopup.show() instead"),DiviPopup.show(e)}},{key:"openArea",value:function(e){DiviArea.Debug.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),DiviPopup.show(e)}},{key:"closePopup",value:function(e){DiviArea.Debug.error("DiviPopup.closeArea() is deprecated. Please use DiviPopup.hide() instead"),DiviPopup.hide(e)}},{key:"closeArea",value:function(e){DiviArea.Debug.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),DiviPopup.hide(e)}},{key:"broadcast",value:function(e,i,t){DiviArea.Debug.error("DiviArea.broadcast() is deprecated. Please use DiviArea.doAction() instead"),n.broadcast.apply(window,arguments)}},{key:"observe",value:function(e,i,t){n.observe.apply(window,arguments)}}]),e}();i.default=d},function(e,i,t){"use strict";!function(e){e.Hooks=e.Hooks||{};var i={};function t(e,t,a){var o,r,n;if(i[e]){if(t)if((o=i[e])&&a)for(n=o.length;n--;)(r=o[n]).callback===t&&r.context===a&&(o[n]=!1);else for(n=o.length;n--;)o[n].callback===t&&(o[n]=!1)}else i[e]=[]}function a(e,t,a,o){var r={callback:t,priority:a,context:o},n=i[e];n?(n.push(r),n=function(e){var i,t,a,o,r=e.length;for(o=1;o<r;o++)for(i=e[o],t=o;t>0;t--)(a=e[t-1]).priority>i.priority&&(e[t]=a,e[t-1]=i);return e}(n)):n=[r],i[e]=n}function o(e,t,a){var o,r=i[t],n=!1,s=void 0;if(r){var l=r.length;for(o=0;o<l;o++)r[o]?"filter"===e?void 0!==(s=r[o].callback.apply(r[o].context,a))&&(a[0]=s):(!r[o]||r[o].callback,r[o].callback.apply(r[o].context,a)):n=1;if(n)for(o=l;o--;)r[o]||r.splice(o,1)}if("filter"===e)return a[0]}e.Hooks.removeFilter=function(e,i){"string"==typeof e&&(t(e,i),DiviArea.Debug.debug("Remove Filter:",e))},e.Hooks.removeAction=function(e,i){"string"==typeof e&&(t(e,i),DiviArea.Debug.debug("Remove Action:",e))},e.Hooks.applyFilters=function(e,i){var t=Array.prototype.slice.call(arguments);return"string"==typeof(e=t.shift())&&(DiviArea.Debug.info("📢️ Apply Filters:",e),DiviArea.Debug.debug('⚙ DiviArea.addFilter("'+e+'", callback)'),o("filter",e,t))},e.Hooks.doAction=function(e,i){var t=Array.prototype.slice.call(arguments);"string"==typeof(e=t.shift())&&(DiviArea.Debug.info("📢️ Do Action:",e),DiviArea.Debug.debug('⚙ DiviArea.addAction("'+e+'", callback)'),o("action",e,t))},e.Hooks.applyFiltersSilently=function(e,i){var t=Array.prototype.slice.call(arguments);return"string"==typeof(e=t.shift())&&(DiviArea.Debug.verbose("📢️ Apply Filters:",e),DiviArea.Debug.verbose('⚙ DiviArea.addFilter("'+e+'", callback)'),o("filter",e,t))},e.Hooks.addFilter=function(e,i,t,o){"string"==typeof e&&"function"==typeof i&&(a(e,i,parseInt(t||10,10),o||window),DiviArea.Debug.debug("Add Filter:",e))},e.Hooks.addAction=function(e,i,t,o){"string"==typeof e&&"function"==typeof i&&(a(e,i,parseInt(t||10,10),o||window),DiviArea.Debug.debug("Add Action:",e))},e.Hooks.addActionOnce=function(e,i,o,r){if("string"==typeof e&&"function"==typeof i){a(e,i,parseInt(o||10,10),r||window),a(e,function(){t(e,i)},1+parseInt(o||10,10),r||window),DiviArea.Debug.debug("Add Action Once:",e)}}}(window.DiviArea=window.DiviArea||{})},function(e,i,t){"use strict";!function(e,i){i.Utils=i.Utils||{},i.Utils.getOption=function(e){var i=DiviPopupData[e],t=e.toLowerCase();return DiviArea.Hooks.applyFiltersSilently("get_option_"+t,i)},i.Utils.toBool=function(e,i){return void 0===i&&(i=!0),void 0===e||null===e?!!i:!0===e||!1===e?e:("string"==typeof e&&(e=e.toLowerCase()),0!==e&&"0"!==e&&"n"!==e[0]&&"f"!==e[0]&&"off"!==e&&(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e||!!i))},i.Utils.toMilliseconds=function(e){var i,t=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":i=1e3*t;break;case"ms":i=t;break;default:i=0}return i},i.Utils.isPositon=function(e,t){var a=e.offsetParent();return"HTML"!==a.prop("tagName")&&(t===a.css("position")||i.Utils.isPositon(a,t))},i.Utils.setLocalData=function(e,t,a){(!a||isNaN(a)||a<1)&&(a=525600);var o=e.replace(/-/g,"_");if(t=DiviArea.Hooks.applyFilters("set_local_data_value-"+o,t,e,a),a=DiviArea.Hooks.applyFilters("set_local_data_expiration-"+o,a,e,t),window.localStorage){var r=new Date;r=r.setMinutes(r.getMinutes()+a),localStorage.setItem("_da_"+e,r+":"+t)}else i.Utils.setCookie("_da_"+e,t,a)},i.Utils.getLocalData=function(e){var t=!1;if(window.localStorage){var a=localStorage.getItem("_da_"+e);if(a){var o=a.split(":"),r=parseInt(o.shift()),n=o.join(":");r>new Date?t=n:localStorage.removeItem("_da_"+e)}}else t=i.Utils.getCookie("_da_"+e);var s=e.replace(/-/g,"_");return DiviArea.Hooks.applyFilters("get_local_data-"+s,t)},i.Utils.setCookie=function(e,i,t){var a=escape(i);if(t){var o=new Date;o.setMinutes(o.getMinutes()+t),a+="; expires="+o.toUTCString()}document.cookie=e+"="+a+"; path=/"},i.Utils.getCookie=function(e){var i,t,a,o=document.cookie.split(";");for(i=0;i<o.length;i++)if(t=o[i].substr(0,o[i].indexOf("=")),a=o[i].substr(o[i].indexOf("=")+1),(t=t.replace(/^\s+|\s+$/g,""))===e)return unescape(a);return!1},i.Utils.getWindow=function(i){return e.isWindow(i)?i:9===i.nodeType&&(i.defaultView||i.parentWindow)},i.Utils.getClientRect=function(i){var t={top:0,left:0,width:0,height:0,bottom:0,right:0};if(0===i.length)return t;var a,o=(i=i[0]).ownerDocument,r=o.documentElement;if(!e.contains(r,i))return t;if(e.support.getBoundingClientRect){try{a=i.getBoundingClientRect()}catch(e){}if(!a)return t;if(a.right===a.left&&a.top===a.bottom)return t;var n=DiviArea.Utils.getWindow(o);t.top=a.top+(n.pageYOffset||r.scrollTop)-(r.clientTop||0),t.left=a.left+(n.pageXOffset||r.scrollLeft)-(r.clientLeft||0),t.width=a.right-a.left,t.height=a.bottom-a.top}else{if("none"===i.css("display"))return t;(t=i.offset()).width=i.outerWidth(),t.height=i.outerHeight()}return t.bottom=t.top+t.height,t.right=t.left+t.width,t},i.Utils.init=function(){var i={popupSelector:".et_pb_section.popup",fullWidthClass:"popup_full_width",fullHeightClass:"popup_full_height",openPopupClass:"evr_popup_open",overlayClass:"evr_fb_popup_modal",modalIndicatorClass:"is-modal",exitIndicatorClass:"on-exit",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"evr-close",popupWrapperClass:"popup_outer_wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e5,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,initializeOnEvent:"et_pb_after_init_modules"};if(e.support.getBoundingClientRect="getBoundingClientRect"in document.documentElement,window.DiviPopupData)for(var t in i)void 0===DiviPopupData[t]&&(DiviPopupData[t]=i[t]),DiviPopupData[t].replace&&(DiviPopupData[t]=DiviPopupData[t].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));else window.DiviPopupData=i;DiviPopupData.zIndex=parseInt(DiviPopupData.zIndex),DiviPopupData.onExitDelay=parseInt(DiviPopupData.onExitDelay),DiviPopupData.animateSpeed=parseInt(DiviPopupData.animateSpeed),DiviPopupData.debug=!!DiviPopupData.debug,DiviPopupData.defaultShowCloseButton=!!DiviPopupData.defaultShowCloseButton,(!DiviPopupData.triggerClassPrefix||DiviPopupData.triggerClassPrefix.length<3)&&(DiviPopupData.triggerClassPrefix=!1),"body"===DiviPopupData.baseContext&&(1===e(".et-db #et-boc").length?(DiviPopupData.baseContext=".et-db #et-boc",DiviArea.Debug.info("🎚 Divi theme detected.","Inject Areas into #et-boc")):1===e("body.et_divi_theme #page-container").length&&(DiviPopupData.baseContext="#page-container",DiviArea.Debug.info("🎚 Divi theme detected.","Inject Areas into #page-container"))),"body"===DiviPopupData.baseContext||e(DiviPopupData.baseContext).length||(DiviPopupData.baseContext="body",DiviArea.Debug.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),DiviPopupData=DiviArea.Hooks.applyFilters("init_options",DiviPopupData)}}(window.jQuery,window.DiviArea=window.DiviArea||{})},function(e,i,t){}]);
1
+ !function(e){var i={};function t(a){if(i[a])return i[a].exports;var o=i[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=i,t.d=function(e,i,a){t.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,i){if(1&i&&(e=t(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var o in e)t.d(a,o,function(i){return e[i]}.bind(null,o));return a},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},t.p="",t(t.s=4)}([function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getId=l,i.getRealId=d,i.addAltId=function(e,i){if(e===i)return;i=l(i),null===e?delete s[i]:s[i]=e},i.getArea=u,i.registerArea=function(e,i,t){if(!(i=l(i)))return!1;var n=u(i);if(n)return n;var s=jQuery(i);if(!s.length)return!1;t&&(s=s.filter(t));if(!s||1!==s.length)return!1;"inline"===e?s.data("_visible","yes"):(s.closest(".et-l").length&&s.data("wrap-classes","et-l"),s.detach(),s.data("_visible","no"));var d=i.replace(/-/g,"_").replace(/^#/,"");s.addClass(e),s.attr("data-dm-type",e),s.attr("data-dm-registered",1),s.data("_id",i),s.data("_key",d),s.data("_type",e),DiviArea.Debug.debug("Area Type",e),DiviArea.Debug.debug("Area ID",i),DiviArea.Debug.debug("Area Hook",d),r[i]=s;var p={"show-close":!0,"on-mobile":!0,"on-tablet":!0,"on-desktop":!0,"close-alt":!1,"is-modal":!1,"trigger-exit":!1,"no-shadow":!1,"dark-mode":!1,singleton:!1};for(var c in p)p.hasOwnProperty(c)&&s.data(c,DiviArea.Utils.toBool(s.data(c),p[c]));s.hasClass(DiviArea.Utils.getOption("notMobileClass"))&&s.data("on-mobile",!1);s.hasClass(DiviArea.Utils.getOption("notTabletClass"))&&s.data("on-tablet",!1);s.hasClass(DiviArea.Utils.getOption("notDesktopClass"))&&s.data("on-desktop",!1);s.hasClass(DiviArea.Utils.getOption("withCloseClass"))?s.data("show-close",!0):s.hasClass(DiviArea.Utils.getOption("noCloseClass"))&&s.data("show-close",!1);s.hasClass(DiviArea.Utils.getOption("altCloseClass"))&&s.data("close-alt",!0);s.hasClass(DiviArea.Utils.getOption("modalIndicatorClass"))&&s.data("is-modal",!0);s.hasClass(DiviArea.Utils.getOption("exitIndicatorClass"))&&s.data("trigger-exit",!0);s.hasClass(DiviArea.Utils.getOption("noShadowClass"))&&s.data("no-shadow",!0);s.hasClass(DiviArea.Utils.getOption("darkModeClass"))&&s.data("dark-mode",!0);s.hasClass(DiviArea.Utils.getOption("singletonClass"))&&s.data("singleton",!0);return s.data("position","center-center"),s.data("position-v","center"),s.data("position-h","center"),(0,a.configArea)(s),DiviArea.Core.attachCloseButton(s),(0,o.initializeAreaAnimation)(s),DiviArea.Debug.info("➕ Registered new area:",i,"("+e+")"),s},i.getAllIds=function(e){var i=[];if(e&&e instanceof jQuery){var t=e.data("_id");for(var a in i.push(t),s)t===s[a]&&i.push(a)}else{for(var o in r){var n=r[o];v(e,n)&&i.push(o)}for(var l in s){var d=s[l],u=r[d];v(e,u)&&i.push(l)}}return i},i.loopAllAreas=function(e,i){for(var t in r){var a=r[t];v(e,a)&&i(a,t)}},i.countVisibleAreas=p,i.addVisibleArea=function(e){if(!(e=u(e)))return!1;var i=e.data("_type");if(DiviArea.Debug.debug("Make area visible",e.data("_id")),"popup"!==i&&p("popup")){for(var t=0;t<n.length;t++)if("popup"===n[t].data("_type")){n.splice(t,0,e);break}}else n.push(e);if(e.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).off(".da"),e.find("."+DiviArea.Utils.getOption("closeButtonClass")).off(".da"),e.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).on("click.da",function(i){return DiviArea.Debug.debug("Click on custom close-button"),DiviArea.Hooks.doAction("close_area",e,"custom"),DiviArea.Hooks.doAction("close_area-"+e.data("_key"),e,"custom"),i.preventDefault(),!1}),e.hasClass(DiviArea.Utils.getOption("withCloseClass"))){var a=e.find("."+DiviArea.Utils.getOption("closeButtonClass"));a.on("click.da",function(i){return DiviArea.Debug.debug("Click on default close-button"),DiviArea.Hooks.doAction("close_area",e,"default"),DiviArea.Hooks.doAction("close_area-"+e.data("_key"),e,"default"),i.preventDefault(),!1})}},i.removeVisibleArea=function(e){if(!(e=u(e)))return!1;var i=e.data("_id");DiviArea.Debug.debug("Make area hidden",i);for(var t=n.length-1;t>=0;t--){var a=n[t];i===a.data("_id")&&n.splice(t,1)}e.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).off(".da"),e.find("."+DiviArea.Utils.getOption("closeButtonClass")).off(".da")},i.getVisibleArea=function(e,i){for(var t=n.length-1;t>=0;t--)if(v(e,n[t])){if(void 0===i||-1===i)return n[t];if(i===n[t].data("_id"))return n[t]}return!1},i.loopVisibleAreas=c,i.doResizeAreas=function(){var e=parseInt(jQuery("html").css("marginTop")),i=jQuery(window).innerWidth(),t=jQuery(window).innerHeight()-e;c("all",function(e){var a,o,r=e.parent(),n=e.data("_type"),s={};"inline"===n||e.data("max-width")||(e.hasClass("et_pb_section")?e.data("max-width",e.outerWidth()+"px"):(e.data("max-width",e.children(".et_pb_section").first().outerWidth()+"px"),e.children(".et_pb_section").css({width:"100%",maxWidth:""})),DiviArea.Debug.debug("Auto max-width calculated:",e.data("_id"),e.data("max-width"))),e.data("max-height")&&(s.overflow="auto",s.maxHeight=e.data("max-height")),e.data("max-width")&&(s.maxWidth=e.data("max-width")),e.css(s),"popup"===n&&(o=isNaN(e[0].scrollHeight)?e.innerHeight:e[0].scrollHeight,a=isNaN(e[0].scrollWidth)?e.innerWidth:e[0].scrollWidth,i<a+20?r.addClass(DiviArea.Utils.getOption("fullWidthClass")):r.removeClass(DiviArea.Utils.getOption("fullWidthClass")),t<o+20?r.addClass(DiviArea.Utils.getOption("fullHeightClass")):r.removeClass(DiviArea.Utils.getOption("fullHeightClass")))})};var a=t(2),o=t(3),r={},n=[],s={};function l(e,i){if(e instanceof jQuery){if(e.data("_id"))return e.data("_id");e=e.attr("id")}if(!e)return"";if("#"!==e[0]&&(e="#"+e),i){var t=new RegExp("^#"+i+":");e=e.replace(t,"#",e)}return e?e.toString():""}function d(e){var i=l(e),t=l(s[i]);return void 0!==r[i]?i:void 0!==r[t]?t:""}function u(e){if(e instanceof jQuery)return!!e.data("_id")&&e;var i=d(e);return!!i&&r[i]}function p(e){if(!e||"all"===e)return n.length;var i=0;return c(e,function(){return i++}),i}function c(e,i,t){for(var a=n.length,o=t?a-1:0,r=0;r<a;r++){var s=n[o];o+=t?-1:1,v(e,s)&&i(s,r)}}function v(e,i){if(!e)return!0;if("all"===e)return!0;var t="!"===e[0],a=i.data("_type");e=e.replace("!","").split(",");for(var o=0;o<e.length;o++){if(e[o]=e[o].trim(),t&&e[o]===a)return!1;if(!t&&e[o]===a)return!0}return!!t}},function(e,i,t){"use strict";var a="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};!function(e){e.Debug=e.Debug||{};var i=!1;e.Debug.group=function(e){if(DiviPopupData.debug&&console.group){var t=!i||e&&e!==i;if(i&&(console.groupEnd(),i=!1),e&&t){var a=Array.prototype.slice.call(arguments);a.unshift("[DiviAreas]"),console.group.apply(this,a),i=e}}},e.Debug.table=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),console.table?console.table.apply(this,e):console.log.apply(this,e)}},e.Debug.verbose=function(){if(DiviPopupData.debug&&DiviPopupData.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.debug=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},e.Debug.info=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),console.log.apply(this,e)}},e.Debug.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),console.error.apply(this,e)},e.Debug.sysInfo=function(){if(DiviArea.lib&&DiviArea.version&&console.log("JS API:",DiviArea.lib,DiviArea.version),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var e in console.log(""),console.log("System information:"),DiviPopupData.sys)try{console.log(" -",e+":",DiviPopupData.sys[e])}catch(e){}console.log("")},e.Debug.initErrorLogging=function(e){var i=function(e,i,t){if(!e[i]||!e[i].__dm_orig__){var a=e[i];for(var o in e[i]=function(){var e=!1;try{e=t.apply(this,arguments)}finally{try{if(!e&&a)return a.apply(this,arguments)}catch(e){throw e}}},a)a.hasOwnProperty(o)&&(e[i][o]=a[o]);e[i].__dm_orig__=a}},t=function(){var e=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var i=0;i<arguments.length;i++)if("object"===a(arguments[i])&&arguments[i]&&arguments[i].message&&arguments[i].stack){e=arguments[i];break}if(e){var t=[],o=e.stack.toString().split("\n");if(t.push("divimode.com Anonymized Error Report"),t.push("-".repeat(30)),t.push(e.name),e.message?t.push(e.message):t.push("-"),t.push(""),o&&o.length>1)for(var r=0;r<o.length;r++){var n=o[r];if(n.match(/(\/wp-includes\/|\/jquery\.js)/))break;n.match(/\.js/)&&(n=(n=(n=n.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),t.push(n))}if(DiviArea.info&&(t.push(""),t.push("js api:"+DiviArea.info)),window.DiviPopupData&&DiviPopupData.sys&&DiviPopupData.sys.plugin)for(var s in t.push(""),DiviPopupData.sys)try{t.push(s+": "+DiviPopupData.sys[s])}catch(e){}t.push("-".repeat(30));var l=console.error.__dm_orig__||console.error;return console.log(""),l("✋ "+t.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",t),i(e.console,"error",t)}}(window.DiviArea=window.DiviArea||{})},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a="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};i.setupHoverArea=function(e){var i=jQuery(e.data("_trigger"));if(!i.length)return;var t=DiviArea.Utils.isPositon(i,"fixed"),a="#"+e.attr("id"),o=e.data("close-on"),n=1e3*e.data("close-delay"),s=e,l=!1,d=!1,u=!1;r&&(u=new r(function(e){var i=!0,t=!1,a=void 0;try{for(var o,r=e[Symbol.iterator]();!(i=(o=r.next()).done);i=!0){var n=o.value,s=n.contentRect,l=s.width+"-"+s.height;l!==d&&(d=l,c())}}catch(e){t=!0,a=e}finally{try{!i&&r.return&&r.return()}finally{if(t)throw a}}},{box:"border-box"}));function p(){DiviArea.Debug.info("📐 Position area relative to element:",i),s=e.closest(".popup_outer_wrap"),c(),DiviArea.Hooks.removeAction("show_area-"+e.data("_key"),p)}function c(){var a=t?i[0].getBoundingClientRect():DiviArea.Utils.getClientRect(i),o={left:"",top:"",right:"",bottom:"",width:"",height:"",position:t?"fixed":"absolute"};"top"===e.data("position-v")?o.top=a.top:"bottom"===e.data("position-v")?o.top=a.bottom:"left"===e.data("position-h")?(o.top=a.top+a.height/2,o.left=a.left):"right"===e.data("position-h")?(o.top=a.top+a.height/2,o.left=a.right):DiviArea.Debug.error("Invalid position",e.data("position")),DiviArea.Debug.debug("Area position:",o),s.css(o)}function v(){g(),l=window.setTimeout(function(){DiviArea.hide(e.data("_id"))},n)}function g(){l&&window.clearTimeout(l),l=!1}DiviArea.Hooks.addAction("show_area-"+e.data("_key"),function(){u&&u.observe(i[0]),function(){"click"===o?jQuery(document).on("click."+a,function(e){jQuery(e.target).closest(a).length||v()}):"hover"===o&&(e.on("mouseleave._dah",v),i.on("mouseleave._dah",v));i.on("mouseenter._dah",g),e.on("mouseenter._dah",g)}(),p()}),DiviArea.Hooks.addAction("hide_area-"+e.data("_key"),function(){u&&u.disconnect(),jQuery(document).off("."+a),e.off("._dah"),i.off("._dah")}),DiviArea.Debug.debug("Prepared positioning of hover area")},i.checkViewport=function(e){var i=!0,t=jQuery(window).innerWidth();i=t<768?!!e.data("on-mobile"):t<981?!!e.data("on-tablet"):!!e.data("on-desktop");return i},i.triggerLazyLoad=function(e){jQuery("body").trigger("post-load")},i.triggerAnimations=function(e){void 0!==window.et_reinit_waypoint_modules&&window.et_reinit_waypoint_modules()},i.initRecaptcha=function(e){if(!window.grecaptcha)return;if(!e.find('input[name="g-recaptcha-response"]').length)return;if(e.find("[data-sitekey].g-recaptcha").length>0)e.find("form").each(function(){var e=jQuery(this),i=e.find("[data-sitekey].g-recaptcha");if(i.length&&!e.find('iframe[src*="/recaptcha/"]').length){var t={sitekey:i.attr("data-sitekey"),type:i.attr("data-type"),size:i.attr("data-size"),theme:i.attr("data-theme"),badge:i.attr("data-badge"),tabindex:i.attr("data-tabindex")},a=i.attr("data-callback"),o=i.attr("data-expired-callback");a&&"function"==typeof window[a]&&(t.callback=window[a]),o&&"function"==typeof window[o]&&(t["expired-callback"]=window[o]);var r=grecaptcha.render(i[0],t);window.recaptchaWidgets&&recaptchaWidgets.push(r)}});else{var i=jQuery('script[src*="google.com/recaptcha/api.js"]').attr("src"),t=i.replace(/^.*render=(.*)$/,"$1").split("&")[0];grecaptcha.execute(t,{action:"homepage"}).then(function(i){e.find('form [name="g-recaptcha-response]').val(i)})}},i.configArea=function(e,i,t){var r,n,s=(0,o.getArea)(e);if(!s||1!==s.length)return;if(r=s.data("_id"),"object"===(void 0===i?"undefined":a(i))){for(var l in i)i.hasOwnProperty(l)&&DiviPopup.config(s,l,i[l]);return}if(void 0!==i){if("string"!=typeof i)return;switch(i=i.trim().toLowerCase().replace(/-/g,"")){case"notmobile":n=DiviArea.Utils.toBool(s.data("on-mobile")),s.data("on-mobile",!DiviArea.Utils.toBool(t,!n));break;case"onmobile":n=DiviArea.Utils.toBool(s.data("on-mobile")),s.data("on-mobile",DiviArea.Utils.toBool(t,n));break;case"nottablet":n=DiviArea.Utils.toBool(s.data("on-tablet")),s.data("on-tablet",!DiviArea.Utils.toBool(t,!n));break;case"ontablet":n=DiviArea.Utils.toBool(s.data("on-tablet")),s.data("on-tablet",DiviArea.Utils.toBool(t,n));break;case"notdesktop":n=DiviArea.Utils.toBool(s.data("on-desktop")),s.data("on-desktop",!DiviArea.Utils.toBool(t,!n));break;case"ondesktop":n=DiviArea.Utils.toBool(s.data("on-desktop")),s.data("on-desktop",DiviArea.Utils.toBool(t,n));break;case"triggerexit":s.data("trigger-exit",DiviArea.Utils.toBool(t));break;case"hideclose":s.data("show-close",!DiviArea.Utils.toBool(t));break;case"showclose":s.data("show-close",DiviArea.Utils.toBool(t));break;case"closealt":s.data("close-alt",DiviArea.Utils.toBool(t));break;case"ismodal":s.data("is-modal",DiviArea.Utils.toBool(t));break;case"notmodal":s.data("is-modal",!DiviArea.Utils.toBool(t));break;case"shadow":s.data("no-shadow",!DiviArea.Utils.toBool(t));break;case"noshadow":s.data("no-shadow",DiviArea.Utils.toBool(t));break;case"dark":s.data("dark-mode",DiviArea.Utils.toBool(t));break;case"maxwidth":s.data("max-width",t);break;case"maxheight":s.data("max-height",t);break;case"zindex":s.data("z-index",parseInt(t));break;case"singleton":s.data("singleton",DiviArea.Utils.toBool(t));break;case"ids":case"alternateid":Array.isArray(t)?t.forEach(function(e){return(0,o.addAltId)(r,e)}):(0,o.addAltId)(r,t);break;case"position":var d=[];-1!==t.indexOf("top")?d.push("top"):-1!==t.indexOf("bottom")?d.push("bottom"):d.push("center"),-1!==t.indexOf("left")?d.push("left"):-1!==t.indexOf("right")?d.push("right"):d.push("center"),s.data("position",d.join("-")),s.data("position-v",d[0]),s.data("position-h",d[1]);break;case"closetrigger":s.data("close-on",t);break;case"closedelay":s.data("close-delay",parseFloat(t))}}s.data("on-mobile")?s.removeClass(DiviArea.Utils.getOption("notMobileClass")):s.addClass(DiviArea.Utils.getOption("notMobileClass"));s.data("on-tablet")?s.removeClass(DiviArea.Utils.getOption("notTabletClass")):s.addClass(DiviArea.Utils.getOption("notTabletClass"));s.data("on-desktop")?s.removeClass(DiviArea.Utils.getOption("notDesktopClass")):s.addClass(DiviArea.Utils.getOption("notDesktopClass"));s.data("show-close")?(s.addClass(DiviArea.Utils.getOption("withCloseClass")),s.removeClass(DiviArea.Utils.getOption("noCloseClass"))):(s.addClass(DiviArea.Utils.getOption("noCloseClass")),s.removeClass(DiviArea.Utils.getOption("withCloseClass")));s.data("close-alt")?s.addClass(DiviArea.Utils.getOption("altCloseClass")):s.removeClass(DiviArea.Utils.getOption("altCloseClass"));s.data("is-modal")?s.addClass(DiviArea.Utils.getOption("modalIndicatorClass")):s.removeClass(DiviArea.Utils.getOption("modalIndicatorClass"));s.data("no-shadow")?s.addClass(DiviArea.Utils.getOption("noShadowClass")):s.removeClass(DiviArea.Utils.getOption("noShadowClass"));s.data("dark-mode")?s.addClass(DiviArea.Utils.getOption("darkModeClass")):s.removeClass(DiviArea.Utils.getOption("darkModeClass"));s.data("singleton")?s.addClass(DiviArea.Utils.getOption("singletonClass")):s.removeClass(DiviArea.Utils.getOption("singletonClass"))};var o=t(0),r=window.ResizeObserver||window.WebKitResizeObserver},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.animateArea=function(e,i,t){var r=!1,n=!1;if("show"===i&&"yes"===e.data("_visible"))return DiviArea.Debug.debug("Skip opening-animation, area is already visible"),!1;if("hide"===i&&"yes"!==e.data("_visible"))return DiviArea.Debug.debug("Skip closing-animation, area is not visible"),!1;window.TweenLite&&"flyin"===e.data("_type")&&(n=!0);"function"!=typeof t&&(t=function(){});if("hide"===i&&"flyin"!==e.data("_type"))return void t();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var i=e.attr("data-animation"),t=!1;if(!i)return!1;if(!(t=a[i]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":t.style,"data-animation-repeat":"once"===t.repeat?"":"infinite","data-animation-duration":t.duration,"data-animation-delay":t.delay,"data-animation-intensity":t.intensity,"data-animation-starting-opacity":t.starting_opacity,"data-animation-speed-curve":t.speed_curve}),o(e,{offset:"100%",handler:function(){!function(e){var i=e.attr("data-animation-style"),t=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),o=e.attr("data-animation-delay"),r=e.attr("data-animation-intensity"),n=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var i=[],t=e.get(0).attributes,a=0;a<t.length;a++)"data-animation-"===t[a].name.substring(0,15)&&i.push(t[a].name);jQuery.each(i,function(i,t){e.removeAttr(t)})}(e);var l=isNaN(parseInt(n))?0:.01*parseInt(n);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":o,opacity:l,"animation-timing-function":s});for(var d={},u=isNaN(parseInt(r))?50:parseInt(r),p=["slide","zoom","flip","fold","roll"],c=!1,v=!1,g=0;g<p.length;g++){var f=p[g];if(i&&i.substr(0,f.length)===f){c=f,""!==(v=i.substr(f.length,i.length))&&(v=v.toLowerCase());break}}!1!==c&&!1!==v&&(d=function(e,i,t){var a={};switch(e){case"slide":switch(i){case"top":a={transform:"translate3d(0, "+(o=-2*t)+"%, 0)"};break;case"right":a={transform:"translate3d("+(o=2*t)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(o=2*t)+"%, 0)"};break;case"left":var o=-2*t;a={transform:"translate3d("+o+"%, 0, 0)"};break;default:a={transform:"scale3d("+(r=.01*(100-t))+", "+r+", "+r+")"}}break;case"zoom":var r=.01*(100-t);switch(i){case"top":case"right":case"bottom":case"left":default:a={transform:"scale3d("+r+", "+r+", "+r+")"}}break;case"flip":switch(i){case"right":a={transform:"perspective(2000px) rotateY("+(n=Math.ceil(.9*t))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(n=-1*Math.ceil(.9*t))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(n=Math.ceil(.9*t))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(n=-1*Math.ceil(.9*t))+"deg)"}}break;case"fold":switch(i){case"top":a={transform:"perspective(2000px) rotateX("+(n=-1*Math.ceil(.9*t))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(n=Math.ceil(.9*t))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(n=Math.ceil(.9*t))+"deg)"};break;case"right":default:a={transform:"perspective(2000px) rotateY("+(n=-1*Math.ceil(.9*t))+"deg)"}}break;case"roll":switch(i){case"right":case"bottom":a={transform:"rotateZ("+(n=-1*Math.ceil(3.6*t))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(n=Math.ceil(3.6*t))+"deg)"};break;default:var n=Math.ceil(3.6*t);a={transform:"rotateZ("+n+"deg)"}}}return a}(c,v,u)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(i),e.addClass(t)}(jQuery(this.element))}})}(e)&&(r=!0);n?function(e,i,t){DiviArea.Debug.debug("Animate Area using GSAP");var a=DiviArea.Utils.getOption("animateSpeed"),o={},r={};e.css({opacity:"show"===i?0:1,transition:"all 0s"}),e.show(),window.setTimeout(function(){"left"===e.data("position-h")?(o.left=-1*e.outerWidth(),r.left=0):"right"===e.data("position-h")?(o.right=-1*e.outerWidth(),r.right=0):"top"===e.data("position-v")?(o.top=-1*e.outerHeight(),r.top=0):"bottom"===e.data("position-v")&&(o.bottom=-1*e.outerHeight(),r.bottom=0),o.opacity=1,r.opacity=1,"hide"===i?(e.css(r),TweenLite.to(e,a/1e3,{css:o})):(e.css(o),TweenLite.to(e,a/1e3,{css:r})),window.setTimeout(t,a)},5)}(e,i,t):r?function(e,i,t){DiviArea.Debug.debug("Animate Area using a Divi Animation"),e.show(),e.css({opacity:0}),window.setTimeout(function(){e.css({opacity:""}),o(e,{offset:"100%",handler:function(){e.addClass("et-animated"),t()}},2)},10)}(e,0,t):function(e,i,t){"show"===i?(DiviArea.Debug.debug("Animate Area using jQuery fadeIn"),e.fadeIn(DiviArea.Utils.getOption("animateSpeed"),t)):"hide"===i&&(DiviArea.Debug.debug("Animate Area using jQuery fadeOut"),e.fadeOut(DiviArea.Utils.getOption("animateSpeed"),t))}(e,i,t)},i.initializeAreaAnimation=function(e){if(!window.et_animation_data||!window.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var i=0;i<et_animation_data.length;i++){var t=!1,o=et_animation_data[i];o&&(o.class&&e.hasClass(o.class)&&o.style&&o.repeat&&o.duration&&o.delay&&o.intensity&&o.starting_opacity&&o.speed_curve&&(t=o.class,e.addClass("pfd-waypoint"),e.attr("data-animation",t),a[t]=o,et_animation_data[i].class=void 0))}};var a={};function o(e,i,t){t=t||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<t){var o=e.waypoint(i);o&&o.length>0&&(a.push(o[0]),e.data("et_waypoint",a))}else for(var r=0;r<a.length;r++)a[r].context.refresh()}},function(e,i,t){t(5),e.exports=t(11)},function(e,i,t){"use strict";var a=function(e){return e&&e.__esModule?e:{default:e}}(t(6));window.DiviArea=window.DiviPopup=new a.default,t(1),t(8),t(9),t(10),DiviArea.init(!1)},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){function e(e,i){for(var t=0;t<i.length;t++){var a=i[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(i,t,a){return t&&e(i.prototype,t),a&&e(i,a),i}}(),o=t(0),r=t(2),n=t(7);function s(e,i){if(DiviArea.Core.isArea(e)){var t=!1;if(t=DiviArea.Hooks.applyFilters("before_close_area",!1,e,i),t=DiviArea.Hooks.applyFilters("before_close_area-"+e.data("_key"),t,e,i))return DiviArea.Debug.debug("Ignored, manually cancelled in filter"),!0;DiviArea.hide(e.data("_id"))}}var l=function(){function e(){!function(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}(this,e)}return a(e,[{key:"init",value:function(e){var i=[window.location.protocol,"//",window.location.host,"/wp-admin/edit.php?post_type=divi-area&page=settings#frontend"];this.app=e?"Divi Areas Pro":"Popups for Divi",this.lib=e?"DiviArea":"DiviPopup",this.version="1.1.1",this.info=this.lib+"-"+this.version,DiviArea.Debug.info("🚀 Initialize "+this.app,"- JS API:",this.info),e?DiviArea.Debug.info("ℹ️ You can disable the debug output on the Settings page:",i.join("")):DiviArea.Debug.info("ℹ️ You can disable the debug output by disabling WP_DEBUG"),DiviArea.Debug.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),DiviArea.Utils.init(),DiviArea.Utils.getOption("initializeOnEvent")?jQuery(window,document).one(DiviArea.Utils.getOption("initializeOnEvent"),function(){window.setTimeout(DiviArea.Core.init,1)}):window.setTimeout(DiviArea.Core.init,1)}},{key:"markClosed",value:function(e,i){if(DiviArea.Utils.getOption("debug")){var t=(0,o.getId)(e);DiviArea.Debug.info("📌 Mark Area as closed for "+i+" minutes:",t)}DiviArea.Utils.setLocalData(e,"1",i)}},{key:"isClosed",value:function(e){e=e.toLowerCase().replace(/^#/,"");var i=DiviArea.Utils.getLocalData(e);if(DiviArea.Utils.getOption("debug")){var t=(0,o.getId)(e);"1"===i?DiviArea.Debug.info("📌 Area is still closed:",t):DiviArea.Debug.info("📌 Area is not closed:",t)}return"1"===i}},{key:"register",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments[2];if(!(e=(0,o.getId)(e)))return!1;var a,n=(0,o.getArea)(e);if(n)return n;if(t||(t=(a=jQuery((0,o.getId)(e))).data("_type")),!t&&a.length)for(var s=a.attr("class").split(" "),l=0;l<s.length;l++)if(0===s[l].indexOf("divi-area-type-")){t=s[l].replace("divi-area-type-","");break}if(!t)return!1;DiviArea.Debug.group("Register Area | "+t+" | "+e);var d=(0,o.registerArea)(t,e,i.selector);return!(!d||!d.length)&&(Object.keys(i).forEach(function(e){(0,r.configArea)(d,e,i[e])}),"inline"===t&&((0,r.triggerLazyLoad)(d),this.show(e)),DiviArea.Debug.group(),DiviArea.Hooks.doAction("init_area",d),DiviArea.Hooks.doAction("init_area-"+d.data("_key"),d),d)}},{key:"config",value:function(e,i,t){(0,r.configArea)(e,i,t)}},{key:"show",value:function(e,i){var t=(0,o.getId)(e),a=(0,o.getArea)(t),n=0,l=!1;if(DiviArea.Debug.group("Show area",t),!a||!a.length)return DiviArea.Debug.error("Could not find an area with the ID:",t),DiviArea.Debug.group(),!1;if(!(0,r.checkViewport)(a))return DiviArea.Debug.debug("Do not trigger area on this device:",t),DiviArea.Debug.group(),!1;var d=a.data("_type");return"yes"===a.data("_visible")&&a.data("_do_animation","skip"),i&&(i.delegateTarget?l=i.delegateTarget:i.target&&(l=i.target)),a.data("_trigger",l),DiviArea.Debug.debug("Trigger element:",l||"(none)"),"inline"!==d&&(DiviArea.Core.detachArea(a),a.data("trigger-exit",!1)),"hover"===d&&(0,r.setupHoverArea)(a),(0,o.addVisibleArea)(a),DiviArea.Hooks.addAction("close_area-"+a.data("_key"),s),DiviArea.Core.reOrderAreas(),"inline"!==d&&("skip"!==a.data("_do_animation")&&a.data("animation")&&(a.css({transition:"none"}),n+=DiviArea.Utils.toMilliseconds(a.css("animation-delay")),n+=DiviArea.Utils.toMilliseconds(a.css("animation-duration")),a.addClass("__is_animating"),window.setTimeout(function(){"yes"===a.data("_visible")&&a.removeClass("__is_animating")},n+50)),window.setTimeout(function(){(0,r.triggerLazyLoad)(a),(0,r.triggerAnimations)(a),(0,r.initRecaptcha)(a)},50)),DiviArea.Debug.group(),a.data("_do_animation",""),!0}},{key:"hide",value:function(e){var i;(0,o.countVisibleAreas)()&&(i=e?(0,o.getVisibleArea)("all",(0,o.getRealId)(e)):(0,o.getVisibleArea)("all"))&&i.length&&(DiviArea.Debug.debug("Close area and unlink event handlers:",i.data("_id")),DiviArea.Core.detachArea(i,!0)),DiviArea.Core.reOrderAreas()}},{key:"showOverlay",value:function(){return(0,n.showOverlay)()}},{key:"hideOverlay",value:function(){(0,n.hideOverlay)()}},{key:"listAreas",value:function(){return(0,o.getAllIds)()}},{key:"addFilter",value:function(e,i,t){DiviArea.Hooks.addFilter.apply(window,arguments)}},{key:"addAction",value:function(e,i,t){DiviArea.Hooks.addAction.apply(window,arguments)}},{key:"addActionOnce",value:function(e,i){DiviArea.Hooks.addActionOnce.apply(window,arguments)}},{key:"removeFilter",value:function(e,i,t){DiviArea.Hooks.removeFilter.apply(window,arguments)}},{key:"removeAction",value:function(e,i,t){DiviArea.Hooks.removeAction.apply(window,arguments)}},{key:"applyFilters",value:function(e,i){return DiviArea.Hooks.applyFilters.apply(window,arguments)}},{key:"doAction",value:function(e,i){DiviArea.Hooks.doAction.apply(window,arguments)}},{key:"openPopup",value:function(e){DiviArea.Debug.error("DiviPopup.openPopup() is deprecated. Please use DiviPopup.show() instead"),DiviPopup.show(e)}},{key:"openArea",value:function(e){DiviArea.Debug.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),DiviPopup.show(e)}},{key:"closePopup",value:function(e){DiviArea.Debug.error("DiviPopup.closeArea() is deprecated. Please use DiviPopup.hide() instead"),DiviPopup.hide(e)}},{key:"closeArea",value:function(e){DiviArea.Debug.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),DiviPopup.hide(e)}}]),e}();i.default=l},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.showOverlay=function(){var e=DiviArea.Utils.getOption("zIndex");null===o&&((o=jQuery("<div />")).addClass(DiviArea.Utils.getOption("overlayClass")),o.prependTo(DiviArea.Core.getContext()),o.on("click.popup",s));e+=Math.max(0,(0,a.countVisibleAreas)()),o.css({zIndex:e}),r||(r=!0,DiviArea.Debug.info("⤴️ Show background overlay"),o.fadeIn(DiviArea.Utils.getOption("animateSpeed"),function(){jQuery("body").addClass(DiviArea.Utils.getOption("openPopupClass"))}),DiviArea.Hooks.doAction("show_overlay"));return e},i.hideOverlay=n;var a=t(0),o=null,r=!1;function n(){r&&(r=!1,DiviArea.Debug.info("⤵️ Hide background overlay"),o.hide(),jQuery("body").removeClass(DiviArea.Utils.getOption("openPopupClass")),DiviArea.Hooks.doAction("hide_overlay"))}function s(e){if(DiviArea.Debug.info("⚡️ Click on background overlay"),e.preventDefault(),DiviArea.Hooks.applyFilters("ignore_overlay_click",!1))return DiviArea.Debug.debug("Ignore click:","Manually cancelled via filter"),!1;if(DiviArea.Hooks.doAction("click_overlay"),!(0,a.countVisibleAreas)("popup"))return DiviArea.Debug.debug("Ignore click:","No visible Popups found"),!1;var i=(0,a.getVisibleArea)("popup");return i.length?i.hasClass(DiviArea.Utils.getOption("modalIndicatorClass"))?(DiviArea.Debug.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):(DiviArea.Hooks.doAction("close_area",null,"overlay"),(0,a.countVisibleAreas)("popup")||n(),!1):(DiviArea.Debug.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1)}},function(e,i,t){"use strict";!function(e){e.Hooks=e.Hooks||{};var i={};function t(e,t,a){var o,r,n;if(i[e]){if(t)if((o=i[e])&&a)for(n=o.length;n--;)(r=o[n]).callback===t&&r.context===a&&(o[n]=!1);else for(n=o.length;n--;)o[n].callback===t&&(o[n]=!1)}else i[e]=[]}function a(e,t,a,o){var r={callback:t,priority:a,context:o},n=i[e];n?(n.push(r),n=function(e){var i,t,a,o,r=e.length;for(o=1;o<r;o++)for(i=e[o],t=o;t>0;t--)(a=e[t-1]).priority>i.priority&&(e[t]=a,e[t-1]=i);return e}(n)):n=[r],i[e]=n}function o(e,t,a){var o,r=i[t],n=!1,s=void 0;if(r){var l=r.length;for(o=0;o<l;o++)r[o]?"filter"===e?void 0!==(s=r[o].callback.apply(r[o].context,a))&&(a[0]=s):(!r[o]||r[o].callback,r[o].callback.apply(r[o].context,a)):n=1;if(n)for(o=l;o--;)r[o]||r.splice(o,1)}if("filter"===e)return a[0]}e.Hooks.removeFilter=function(e,i){"string"==typeof e&&(t(e,i),DiviArea.Debug.debug("Remove Filter:",e))},e.Hooks.removeAction=function(e,i){"string"==typeof e&&(t(e,i),DiviArea.Debug.debug("Remove Action:",e))},e.Hooks.applyFilters=function(e,i){var t=Array.prototype.slice.call(arguments);return"string"==typeof(e=t.shift())&&(DiviArea.Debug.info("📢️ Apply Filters:",e),DiviArea.Debug.debug('⚙ DiviArea.addFilter("'+e+'", callback)'),o("filter",e,t))},e.Hooks.doAction=function(e,i){var t=Array.prototype.slice.call(arguments);"string"==typeof(e=t.shift())&&(DiviArea.Debug.info("📢️ Do Action:",e),DiviArea.Debug.debug('⚙ DiviArea.addAction("'+e+'", callback)'),o("action",e,t))},e.Hooks.applyFiltersSilently=function(e,i){var t=Array.prototype.slice.call(arguments);return"string"==typeof(e=t.shift())&&(DiviArea.Debug.verbose("📢️ Apply Filters:",e),DiviArea.Debug.verbose('⚙ DiviArea.addFilter("'+e+'", callback)'),o("filter",e,t))},e.Hooks.addFilter=function(e,i,t,o){"string"==typeof e&&"function"==typeof i&&(a(e,i,parseInt(t||10,10),o||window),DiviArea.Debug.debug("Add Filter:",e))},e.Hooks.addAction=function(e,i,t,o){"string"==typeof e&&"function"==typeof i&&(a(e,i,parseInt(t||10,10),o||window),DiviArea.Debug.debug("Add Action:",e))},e.Hooks.addActionOnce=function(e,i,o,r){if("string"==typeof e&&"function"==typeof i){a(e,i,parseInt(o||10,10),r||window),a(e,function(){t(e,i)},1+parseInt(o||10,10),r||window),DiviArea.Debug.debug("Add Action Once:",e)}}}(window.DiviArea=window.DiviArea||{})},function(e,i,t){"use strict";!function(e,i){i.Utils=i.Utils||{},i.Utils.getOption=function(e){var i=DiviPopupData[e],t=e.toLowerCase();return DiviArea.Hooks.applyFiltersSilently("get_option_"+t,i)},i.Utils.toBool=function(e,i){return void 0===i&&(i=!0),void 0===e||null===e?!!i:!0===e||!1===e?e:("string"==typeof e&&(e=e.toLowerCase()),0!==e&&"0"!==e&&"n"!==e[0]&&"f"!==e[0]&&"off"!==e&&(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e||!!i))},i.Utils.toMilliseconds=function(e){var i,t=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":i=1e3*t;break;case"ms":i=t;break;default:i=0}return i},i.Utils.isPositon=function(e,t){var a=e.offsetParent();return"HTML"!==a.prop("tagName")&&(t===a.css("position")||i.Utils.isPositon(a,t))},i.Utils.setLocalData=function(e,t,a){(!a||isNaN(a)||a<1)&&(a=525600);var o=e.replace(/-/g,"_");if(t=DiviArea.Hooks.applyFilters("set_local_data_value-"+o,t,e,a),a=DiviArea.Hooks.applyFilters("set_local_data_expiration-"+o,a,e,t),window.localStorage){var r=new Date;r=r.setMinutes(r.getMinutes()+a),localStorage.setItem("_da_"+e,r+":"+t)}else i.Utils.setCookie("_da_"+e,t,a)},i.Utils.getLocalData=function(e){var t=!1;if(window.localStorage){var a=localStorage.getItem("_da_"+e);if(a){var o=a.split(":"),r=parseInt(o.shift()),n=o.join(":");r>new Date?t=n:localStorage.removeItem("_da_"+e)}}else t=i.Utils.getCookie("_da_"+e);var s=e.replace(/-/g,"_");return DiviArea.Hooks.applyFilters("get_local_data-"+s,t)},i.Utils.setCookie=function(e,i,t){var a=escape(i);if(t){var o=new Date;o.setMinutes(o.getMinutes()+t),a+="; expires="+o.toUTCString()}document.cookie=e+"="+a+"; path=/"},i.Utils.getCookie=function(e){var i,t,a,o=document.cookie.split(";");for(i=0;i<o.length;i++)if(t=o[i].substr(0,o[i].indexOf("=")),a=o[i].substr(o[i].indexOf("=")+1),(t=t.replace(/^\s+|\s+$/g,""))===e)return unescape(a);return!1},i.Utils.getWindow=function(i){return e.isWindow(i)?i:9===i.nodeType&&(i.defaultView||i.parentWindow)},i.Utils.getClientRect=function(i){var t={top:0,left:0,width:0,height:0,bottom:0,right:0};if(0===i.length)return t;var a,o=(i=i[0]).ownerDocument,r=o.documentElement;if(!e.contains(r,i))return t;if(e.support.getBoundingClientRect){try{a=i.getBoundingClientRect()}catch(e){}if(!a)return t;if(a.right===a.left&&a.top===a.bottom)return t;var n=DiviArea.Utils.getWindow(o);t.top=a.top+(n.pageYOffset||r.scrollTop)-(r.clientTop||0),t.left=a.left+(n.pageXOffset||r.scrollLeft)-(r.clientLeft||0),t.width=a.right-a.left,t.height=a.bottom-a.top}else{if("none"===i.css("display"))return t;(t=i.offset()).width=i.outerWidth(),t.height=i.outerHeight()}return t.bottom=t.top+t.height,t.right=t.left+t.width,t},i.Utils.init=function(){var i={popupSelector:".et_pb_section.popup",fullWidthClass:"popup_full_width",fullHeightClass:"popup_full_height",openPopupClass:"evr_popup_open",overlayClass:"evr_fb_popup_modal",modalIndicatorClass:"is-modal",exitIndicatorClass:"on-exit",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"evr-close",popupWrapperClass:"popup_outer_wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e5,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,initializeOnEvent:"et_pb_after_init_modules"};if(e.support.getBoundingClientRect="getBoundingClientRect"in document.documentElement,window.DiviPopupData)for(var t in i)void 0===DiviPopupData[t]&&(DiviPopupData[t]=i[t]),DiviPopupData[t].replace&&(DiviPopupData[t]=DiviPopupData[t].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));else window.DiviPopupData=i;DiviPopupData.zIndex=parseInt(DiviPopupData.zIndex),DiviPopupData.onExitDelay=parseInt(DiviPopupData.onExitDelay),DiviPopupData.animateSpeed=parseInt(DiviPopupData.animateSpeed),DiviPopupData.debug=!!DiviPopupData.debug,DiviPopupData.defaultShowCloseButton=!!DiviPopupData.defaultShowCloseButton,(!DiviPopupData.triggerClassPrefix||DiviPopupData.triggerClassPrefix.length<3)&&(DiviPopupData.triggerClassPrefix=!1),"body"===DiviPopupData.baseContext&&(1===e(".et-db #et-boc").length?(DiviPopupData.baseContext=".et-db #et-boc",DiviArea.Debug.info("🎚 Divi theme detected.","Inject Areas into #et-boc")):1===e("body.et_divi_theme #page-container").length&&(DiviPopupData.baseContext="#page-container",DiviArea.Debug.info("🎚 Divi theme detected.","Inject Areas into #page-container"))),"body"===DiviPopupData.baseContext||e(DiviPopupData.baseContext).length||(DiviPopupData.baseContext="body",DiviArea.Debug.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),DiviPopupData=DiviArea.Hooks.applyFilters("init_options",DiviPopupData)}}(window.jQuery,window.DiviArea=window.DiviArea||{})},function(e,i,t){"use strict";var a=t(0),o=t(3);!function(e){e.Core=e.Core||{};var i=null,t=null,r=!1;function n(e,i){DiviArea.Core.isArea(e)||(DiviArea.Debug.debug("Close the top-most area"),DiviPopup.hide())}function s(e){if(27===e.keyCode)return DiviArea.Debug.info("⚡️ ESC-key pressed"),DiviArea.Hooks.applyFilters("esc_key_pressed",!1)?(DiviArea.Debug.debug("Ignored, manually cancelled in filter"),!0):(0,a.countVisibleAreas)("popup")?(DiviArea.Debug.debug("Close top-most popup"),DiviArea.Hooks.doAction("close_area",!1,"esc"),!1):(DiviArea.Debug.debug("Ignored, no popup is visible"),!0)}function l(){var e=["popup","flyin"];for(var i in e){var t=!1;(0,a.loopAllAreas)(e[i],function(e,i){t||!0===e.data("trigger-exit")&&(DiviArea.isClosed(i)?e.data("trigger-exit",!1):(DiviArea.show(i),t=!0))})}}function d(e,i){var t;if(t=(0,a.getId)(i)){if(e.attr("data-area-id"))return e.off("._da"),e.on("click._da",o),void DiviArea.Debug.debug("Trigger already prepared",e[0]);(0,a.getArea)(t)?(e.attr("data-area-id",t),e.addClass("popup-trigger"),e.on("click._da",o),DiviArea.Debug.debug("Prepared trigger to open this area:",t,e[0])):DiviArea.Debug.debug("Ignore trigger. No area found with this ID:",e[0])}else DiviArea.Debug.debug("Ignore trigger. Invalid target ID:",i,e[0]);function o(e){var i=jQuery(e.target);return!("A"!==i.prop("tagName")||!i.attr("href").length||i.attr("data-area-id"))||(e.preventDefault(),DiviArea.Debug.debug("Trigger area:",t),DiviPopup.show(t),!1)}}e.Core.init=function(){r?DiviArea.Debug.error("Core.init() was already executed. It should not run twice, please review the code!"):(r=!0,DiviArea.Debug.debug("Initialize the app"),(i=jQuery(DiviArea.Utils.getOption("baseContext")).filter(":visible").first()).length?DiviArea.Debug.debug('Base context "'+DiviArea.Utils.getOption("baseContext")+'" found',i):DiviArea.Debug.error('Could not find the popup container "'+DiviArea.Utils.getOption("baseContext")+'"'),jQuery(document).trigger("DiviAreas:Loaded",[window.DiviAreas]),DiviArea.Hooks.doAction("load"),function(){var e=jQuery(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!e.length)return;e.parent().css({minHeight:e.outerHeight()})}(),function(e){var i=window.MutationObserver||window.WebKitMutationObserver,t=window.addEventListener,a=DiviArea.Core.getContext();if(i){var o=new i(function(i,t){return i[0].addedNodes.length?(DiviArea.Debug.debug("DOM changed (nodes added)"),e()):i[0].removedNodes.length?(DiviArea.Debug.debug("DOM changed (nodes removed)"),e()):void 0});o.observe(a[0],{childList:!0,subtree:!0})}else t&&(a.addEventListener("DOMNodeInserted",e,!1),a.addEventListener("DOMNodeRemoved",e,!1))}(DiviArea.Core.activateArea),function(e){var i=window.ResizeObserver||window.WebKitResizeObserver;i?t=new i(e):window.setInterval(e,750);jQuery(window).resize(e)}(a.doResizeAreas),jQuery(document).on("keyup",s),window.setTimeout(function(){jQuery(window).on("mouseleave.da",function(e){var i;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(i=Math.max(document.documentElement.clientWidth,window.innerWidth||0),e.clientX>=i-50||e.clientY>=50||e.toElement||e.relatedTarget||(DiviArea.Debug.info("⚡️ Exit-intent detected"),DiviArea.Hooks.doAction("exit_intent")))}),DiviArea.Hooks.addAction("exit_intent",l)},DiviArea.Utils.getOption("onExitDelay")),DiviArea.Hooks.addAction("close_area",n),DiviArea.Core.activateArea(),DiviArea.Hooks.doAction("ready"))},e.Core.isArea=function(e){return e&&e.length&&e instanceof jQuery&&e.data("_id")},e.Core.getContext=function(){return i},e.Core.reOrderAreas=function(){(0,a.countVisibleAreas)("popup")?DiviPopup.showOverlay():DiviPopup.hideOverlay(),(0,a.countVisibleAreas)()&&function(){var e=DiviArea.Utils.getOption("zIndex"),i=1,t=[];function r(a){var r=a.data("_type"),n=a.parent(),s=e+i;isNaN(a.data("z-index"))||(s=a.data("z-index")),n.hasClass(DiviArea.Utils.getOption("popupWrapperClass"))||a.wrap("<div>"),n=a.parent();var l=a.data("wrap-classes");l&&n.addClass(l),n.addClass(DiviArea.Utils.getOption("popupWrapperClass")),n.addClass("type-"+r),n.addClass("position-"+a.data("position")),n.attr("data-type",r),n.attr("data-position",a.data("position")),t.push({id:a.data("_id"),type:a.data("_type"),pos:i,zIndex:"inline"===r?"":s}),i++,"inline"!==r&&n.css("zIndex",s),"yes"!==a.data("_visible")&&("inline"!==r&&n.detach().appendTo(DiviArea.Core.getContext()),"skip"===a.data("_do_animation")?a.show():(DiviArea.Debug.info("✨ Animate the area (show)",a.data("_id")),(0,o.animateArea)(a,"show")),a.data("_visible","yes"),DiviArea.Hooks.doAction("show_area",a),DiviArea.Hooks.doAction("show_area-"+a.data("_key"),a))}DiviArea.Debug.debug("Refresh order (z-index) of visible areas"),(0,a.loopVisibleAreas)("all",DiviArea.Core.blurArea),(0,a.loopVisibleAreas)("inline",r),(0,a.loopVisibleAreas)("!popup,inline",r),(0,a.countVisibleAreas)("popup")&&(t.push({id:"-",type:"overlay",pos:i,zIndex:DiviArea.showOverlay()}),(0,a.loopVisibleAreas)("popup",r));DiviArea.Debug.info("👓 List of visible Areas:"),DiviArea.Debug.table(t),DiviArea.Core.focusArea((0,a.getVisibleArea)()),window.setTimeout(a.doResizeAreas,50)}()},e.Core.activateArea=function(e){var i,t=void 0===e,o=void 0,r=void 0;if(void 0===e&&(e=DiviArea.Core.getContext()),function(e){e.find(DiviArea.Utils.getOption("popupSelector")).filter("[id]").each(function(){var e=jQuery(this);DiviArea.Debug.debug("Found an inline Popup Area:",e.attr("id")),DiviPopup.register(e,{},"popup")})}(e),(i=function(e,i){var t,a,o,r=[];if(!e.ids||!e.ids.length)return[];function n(e,i){var t;for(t=0;t<i.length;t++){var a=jQuery(i[t]);a.attr("data-area-id")||r.push({id:e,item:a})}}for(t=0;t<e.ids.length;t++)if(n(o=e.ids[t].replace(/^#/,""),jQuery('[href="#'+o+'"]',i)),e.linkPrefix&&n(o,jQuery('[href="#'+e.linkPrefix+o+'"]',i)),e.classPrefix&&n(o,jQuery("."+e.classPrefix+o,i)),e.dataAttrib&&n(o,jQuery("["+e.dataAttrib+'="'+o+'"]',i)),window.et_link_options_data)for(a=et_link_options_data.length-1;a>=0;a--)if("#"+o===et_link_options_data[a].url){var s=jQuery(".et_pb_module."+et_link_options_data[a].class,i);n(o,s),s.off("click"),et_link_options_data.splice(a,1)}return r}({ids:(0,a.getAllIds)("popup"),linkPrefix:"popup:",dataAttrib:DiviArea.Utils.getOption("idAttrib"),classPrefix:DiviArea.Utils.getOption("triggerClassPrefix")},e)).length){for(t?DiviArea.Debug.group("Activate all triggers in document"):DiviArea.Debug.group("Activate triggers in area",e.data("_id")),o=0;o<i.length;o++)d((r=i[o]).item,r.id);DiviArea.Debug.group(),DiviArea.Core.initArea(e)}else t?DiviArea.Debug.debug("No new triggers found in document"):DiviArea.Debug.debug("No new triggers found in area",e.data("_id"))},e.Core.initArea=function(e){return window.et_fix_pricing_currency_position(e.find(".et_pb_pricing_table")),e},e.Core.deactivateArea=function(e){void 0!==e&&(DiviArea.Debug.debug("Deactivate all triggers in area",e.data("_id")),e.find("[data-area-id]").each(function(){!function(e){DiviArea.Debug.debug("Remove trigger:",e[0]),e.removeAttr("data-area-id"),e.removeClass("popup-trigger"),e.off("._da")}(jQuery(this))}))},e.Core.detachArea=function(e,i){var r=[],n=(e=jQuery(e)).data("_id"),s=[];function l(e,i){e.detach().hide().data("_visible","no"),i.hasClass(DiviArea.Utils.getOption("popupWrapperClass"))&&i.remove()}function d(e){if(e=jQuery(e),DiviArea.Core.isArea(e)&&e.data("_key")){e.removeClass("__is_animating"),DiviArea.Core.blurArea(e),DiviArea.Hooks.doAction("hide_area",e),DiviArea.Hooks.doAction("hide_area-"+e.data("_key"),e),e.find("div .popup-trigger").off("._da"),function(e){t&&e.data("observe-resize")&&(t.unobserve(e[0]),e.data("observe-resize",!1))}(e);var i=e.parent();"skip"===e.data("_do_animation")?l(e,i):(DiviArea.Debug.info("✨ Animate the area (hide)",e.data("_id")),(0,o.animateArea)(e,"hide",function(){return l(e,i)})),(0,a.removeVisibleArea)(e)}}"popup"===e.data("_type")&&((0,a.loopVisibleAreas)("popup",function(e){s.push(e.data("_id"))}),i?(r.push(n),n=!1):e.data("singleton")&&(r=s,n=!1)),i?(r=DiviArea.Hooks.applyFilters("hide_ids_before_hide",r,e,s),r=DiviArea.Hooks.applyFilters("hide_ids_before_hide-"+e.data("_key"),r,e,s),DiviArea.Hooks.doAction("before_hide",e,r),DiviArea.Hooks.doAction("before_hide-"+e.data("_key"),e,r)):(r=DiviArea.Hooks.applyFilters("hide_ids_before_show",r,e,s),r=DiviArea.Hooks.applyFilters("hide_ids_before_show-"+e.data("_key"),r,e,s),DiviArea.Hooks.doAction("before_show",e,r),DiviArea.Hooks.doAction("before_show-"+e.data("_key"),e,r)),r.length&&(DiviArea.Debug.debug("Hide following areas:",r),(0,a.loopVisibleAreas)("all",function(e){var i=e.data("_id");-1!==r.indexOf(i)&&d(e)},!0)),n&&d(n)},e.Core.focusArea=function(e){var i=DiviArea.Utils.getOption("activePopupClass");e&&(e.hasClass(i)||(e.addClass(i),DiviArea.Hooks.doAction("focus_area",e),DiviArea.Hooks.doAction("focus_area-"+e.data("_key"),e)),function(e){t&&!e.data("observe-resize")&&(t.observe(e[0]),e.data("observe-resize",!0))}(e),DiviArea.Core.activateArea(e))},e.Core.blurArea=function(e){var i=DiviArea.Utils.getOption("activePopupClass");e&&(e.hasClass(i)&&(e.removeClass(i),DiviArea.Hooks.doAction("blur_area",e),DiviArea.Hooks.doAction("blur_area-"+e.data("_key"),e)),DiviArea.Core.deactivateArea(e))},e.Core.attachCloseButton=function(e){var i=DiviArea.Utils.getOption("closeButtonClass"),t=i+"_wrap";if(!0!==e.data("show-close"))return e.find("."+t).remove(),void DiviArea.Debug.debug("Area has no default close button",e.data("_id"));if(!e.find("."+t).length){var a=jQuery("<span />").addClass(t);jQuery('<a href="#close" />').addClass(i).html("&times;").appendTo(a),a.appendTo(e),DiviArea.Debug.debug("Added default close button to area",e.data("_id"))}}}(window.DiviArea=window.DiviArea||{})},function(e,i,t){}]);
plugin.php CHANGED
@@ -13,7 +13,7 @@
13
  * Author: Philipp Stracker
14
  * Author URI: https://philippstracker.com/
15
  * Created: 30.12.2017
16
- * Version: 2.1.0
17
  * Text Domain: divi-popup
18
  * Domain Path: /lang
19
  * License: GPL v2 or later
@@ -40,7 +40,7 @@ defined( 'ABSPATH' ) || die();
40
  /**
41
  * A new version value will force refresh of CSS and JS files for all users.
42
  */
43
- define( 'DIVI_POPUP_VERSION', '2.1.0' );
44
 
45
  define( 'DIVI_POPUP_PLUGIN_FILE', __FILE__ );
46
  define( 'DIVI_POPUP_PLUGIN', plugin_basename( DIVI_POPUP_PLUGIN_FILE ) );
13
  * Author: Philipp Stracker
14
  * Author URI: https://philippstracker.com/
15
  * Created: 30.12.2017
16
+ * Version: 2.1.1
17
  * Text Domain: divi-popup
18
  * Domain Path: /lang
19
  * License: GPL v2 or later
40
  /**
41
  * A new version value will force refresh of CSS and JS files for all users.
42
  */
43
+ define( 'DIVI_POPUP_VERSION', '2.1.1' );
44
 
45
  define( 'DIVI_POPUP_PLUGIN_FILE', __FILE__ );
46
  define( 'DIVI_POPUP_PLUGIN', plugin_basename( DIVI_POPUP_PLUGIN_FILE ) );
readme.txt CHANGED
@@ -14,7 +14,7 @@ A quick and easy way to create Popup layers inside the Divi Visual Builder!
14
 
15
  After the plugin is activated, the Visual Builder displays a new tab called "Popup" in the Section Settings modal. In the "Popup" tab, you can turn a regular Section into a Popup!
16
 
17
- It's super simple, as you can see on the plugins Demo Page: [divimode.com/divi-popup/demo](https://divimode.com/divi-popup/demo/?_s=wpo)
18
 
19
  # ℹ️ How it works
20
 
@@ -27,7 +27,7 @@ First, activate the plugin (no configuration needed!)
27
 
28
  # ⭐️ Additional details
29
 
30
- Check out the [Plugin website](https://divimode.com/divi-popup/?_s=wpo) for more details. You'll find:
31
 
32
  * Examples
33
  * CSS class options
@@ -50,7 +50,7 @@ The course is available in your **wp-admin Dashboard** right after you install a
50
 
51
  # 🥳 Want more?
52
 
53
- If you want to get the most out of Divi, you need to have a look at **[Divi Areas Pro](https://divimode.com/divi-areas-pro/?_s=wpo)** to get additional features:
54
 
55
  > * An **admin UI** to create and configure your popups
56
  > * Choose between **4 Area Types**: Popup, Inline, Fly-in, Hover
@@ -77,7 +77,7 @@ If you want to get the most out of Divi, you need to have a look at **[Divi Area
77
  > * **Great documentation** built into the plugin and an online knowledge base
78
  > * and much more...
79
  >
80
- > 👉 [Learn more about **Divi Areas Pro**](https://divimode.com/divi-areas-pro/?_s=wpo) (with screenshots!)
81
 
82
  == Installation ==
83
 
@@ -112,7 +112,7 @@ We did test it with all releases since the initial Divi 3.0 release. Possibly it
112
 
113
  Yes, actually it will! But out of the box it is optimized to work with Divi 3.0 and later. If you use any other theme or site builder then you need to change the default options of the plugin via the `evr_divi_popup-js_data` filter.
114
 
115
- For more details visit [divimode.com/divi-popup](https://divimode.com/divi-popup/?_s=wpo)
116
 
117
  = Does this plugin display any ads? =
118
 
@@ -155,13 +155,13 @@ Alternatively you can replace the `popups-for-divi` folder via FTP: Extract the
155
 
156
  = I have more questions or need help =
157
 
158
- Please first visit the [**plugin website**](https://divimode.com/divi-popup/?_s=wpo), as it includes examples and documentation that could answer your questions.
159
 
160
- If that does not help, then head over to the [**support forum**](https://wordpress.org/support/plugin/popups-for-divi/?_s=wpo) to see if someone else had the same problem and found a solution to it. Also, feel free to ask for help there.
161
 
162
- You can also send us a private support request via the [**support form on divimode.com**](https://divimode.com/get-support//?_s=wpo). Please note, that might need a while to answer your private support requests.
163
 
164
- When you need additional features, then please have a look at our the Premium plugin [**Divi Areas Pro**](https://diivimode.com/divi-areas-pro/?_s=wpo) which comes with a lot of cool options!
165
 
166
  == Screenshots ==
167
 
@@ -173,6 +173,15 @@ When you need additional features, then please have a look at our the Premium pl
173
 
174
  == Changelog ==
175
 
 
 
 
 
 
 
 
 
 
176
  = 2.1.0 =
177
  * Add correct Area layout on WooCommerce pages
178
  * Add compatibility with the Divi Builder plugin
@@ -184,8 +193,6 @@ When you need additional features, then please have a look at our the Premium pl
184
  * Fix the "Close other Popups" behavior, so now it will really close other popups
185
  * Fix some minor bugs in the popup behavior
186
 
187
- Plugin tested with WordPress 5.4.1 and Divi 4.4.6
188
-
189
  = 2.0.5 =
190
  * Add new JS API: `DiviArea.addActionOnce()`
191
  * Fix a bug that happened for logged in users when WordPress runs on a Windows Server
14
 
15
  After the plugin is activated, the Visual Builder displays a new tab called "Popup" in the Section Settings modal. In the "Popup" tab, you can turn a regular Section into a Popup!
16
 
17
+ It's super simple, as you can see on the plugins Demo Page: [divimode.com/divi-popup/demo](https://divimode.com/divi-popup/demo/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi)
18
 
19
  # ℹ️ How it works
20
 
27
 
28
  # ⭐️ Additional details
29
 
30
+ Check out the [Plugin website](https://divimode.com/divi-popup/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi) for more details. You'll find:
31
 
32
  * Examples
33
  * CSS class options
50
 
51
  # 🥳 Want more?
52
 
53
+ If you want to get the most out of Divi, you need to have a look at **[Divi Areas Pro](https://divimode.com/divi-areas-pro/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi)** to get additional features:
54
 
55
  > * An **admin UI** to create and configure your popups
56
  > * Choose between **4 Area Types**: Popup, Inline, Fly-in, Hover
77
  > * **Great documentation** built into the plugin and an online knowledge base
78
  > * and much more...
79
  >
80
+ > 👉 [Learn more about **Divi Areas Pro**](https://divimode.com/divi-areas-pro/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi) (with screenshots!)
81
 
82
  == Installation ==
83
 
112
 
113
  Yes, actually it will! But out of the box it is optimized to work with Divi 3.0 and later. If you use any other theme or site builder then you need to change the default options of the plugin via the `evr_divi_popup-js_data` filter.
114
 
115
+ For more details visit [divimode.com/divi-popup](https://divimode.com/divi-popup/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi)
116
 
117
  = Does this plugin display any ads? =
118
 
155
 
156
  = I have more questions or need help =
157
 
158
+ Please first visit the [**plugin website**](https://divimode.com/divi-popup/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi), as it includes examples and documentation that could answer your questions.
159
 
160
+ If that does not help, then head over to the [**support forum**](https://wordpress.org/support/plugin/popups-for-divi/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi) to see if someone else had the same problem and found a solution to it. Also, feel free to ask for help there.
161
 
162
+ You can also send us a private support request via the [**support form on divimode.com**](https://divimode.com/get-support//?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi). Please note, that might need a while to answer your private support requests.
163
 
164
+ When you need additional features, then please have a look at our the Premium plugin [**Divi Areas Pro**](https://diivimode.com/divi-areas-pro/?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi) which comes with a lot of cool options!
165
 
166
  == Screenshots ==
167
 
173
 
174
  == Changelog ==
175
 
176
+ = 2.1.1 =
177
+ * Change JS API does not include deprecated function `observe()`! Use `addAction()` or `addFilter()` instead
178
+ * Improve the JS API further and expose additional functions
179
+ * Improve triggers on Modules: Links inside modules are treated as normal links, not as popup triggers
180
+ * Fix bugs on some WooCommerce and Divi Builder archive pages
181
+ * Fix some JS API issues for Divi Areas Pro integration
182
+
183
+ Plugin tested with WordPress 5.4.1 and Divi 4.4.6
184
+
185
  = 2.1.0 =
186
  * Add correct Area layout on WooCommerce pages
187
  * Add compatibility with the Divi Builder plugin
193
  * Fix the "Close other Popups" behavior, so now it will really close other popups
194
  * Fix some minor bugs in the popup behavior
195
 
 
 
196
  = 2.0.5 =
197
  * Add new JS API: `DiviArea.addActionOnce()`
198
  * Fix a bug that happened for logged in users when WordPress runs on a Windows Server