Version Description
Download this release
Release Info
Developer | stracker.phil |
Plugin | Popups for Divi |
Version | 2.3.6 |
Comparing to | |
See all releases |
Code changes from version 2.3.5 to 2.3.6
- changelog.txt +14 -5
- includes/core/class-pfd-asset.php +43 -27
- includes/helper/plugin-compatibility.php +23 -4
- plugin.php +2 -2
- scripts/front.min.js +1 -1
- scripts/loader.min.js +1 -1
- styles/front.min.css +1 -1
changelog.txt
CHANGED
@@ -1,14 +1,23 @@
|
|
1 |
|
2 |
-
=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
* Fix: Triggering a Popup required 2-3 taps on certain pages on iOS.
|
4 |
* Fix: Prevent scrolling page when opening a Popup in Safari.
|
5 |
* Fix: Rare bug solved where an Exit-Intent Popup could not be closed anymore after triggering it via the JS API.
|
6 |
|
7 |
-
=
|
8 |
* Change: Rename JS and CSS assets to comply with the naming conventions of Divi.
|
9 |
* Fix: Certain websites experienced a delay between triggering a Popup and the Popup becoming visible.
|
10 |
|
11 |
-
=
|
12 |
* Improve: Popups do not cover the Admin Toolbar anymore for logged in users.
|
13 |
* Change: New JS action to customize Area positioning - `position_boundary`
|
14 |
* Change: When a Popup is visible, a new CSS class is added to the body tag.
|
@@ -26,7 +35,7 @@
|
|
26 |
* Fix: CF7 ReCaptcha is supported inside Popups.
|
27 |
* Fix: Layout compatibility with wpDataTables.
|
28 |
|
29 |
-
=
|
30 |
* Improve: We have made the Visual Builder integration (the "Popup-Tab") faster and more stable.
|
31 |
* Improve: Do not include the JS API for certain 404 results, such as missing images.
|
32 |
* Change: New JS API function `DiviAreaItem.isPrepared()` to check if an Area is fully initialized.
|
@@ -37,7 +46,7 @@
|
|
37 |
* Fix: The z-index is correctly applied again.
|
38 |
* Fix: Improve the full-height calculation of Popups
|
39 |
|
40 |
-
=
|
41 |
* Improve: Area sizes are more accurate when using Divis responsive sizes.
|
42 |
* Improve: Images inside Popups are instantly loaded in Chrome (fixed a lazy-load bug).
|
43 |
* Improve: Area size is re-calculated when the Area contents change, e.g. when an accordion is opened or closed.
|
1 |
|
2 |
+
= 2.3.6 =
|
3 |
+
* Change: Rename JS API function: `DiviArea.Core.focusArea()` is now `DiviAreaItem.focus()`
|
4 |
+
* Change: Rename JS API function: `DiviArea.Core.blurArea()` is now `DiviAreaItem.blur()`
|
5 |
+
* Change New JS API function `DiviAreaItem.show()` and `DiviAreaItem.hide()`
|
6 |
+
* Fix: The "Popup" tab works for all post-types.
|
7 |
+
* Fix: Anchor links inside Popups now correctly scroll the Popup content to reveal the anchor.
|
8 |
+
* Fix: Divis "Dot Navigation" now works when the page contains Popups or other Areas.
|
9 |
+
* Fix: wpDataTables front-end editing now displays the media-modal with correct z-index.
|
10 |
+
|
11 |
+
= 2.3.5 =
|
12 |
* Fix: Triggering a Popup required 2-3 taps on certain pages on iOS.
|
13 |
* Fix: Prevent scrolling page when opening a Popup in Safari.
|
14 |
* Fix: Rare bug solved where an Exit-Intent Popup could not be closed anymore after triggering it via the JS API.
|
15 |
|
16 |
+
= 2.3.4 =
|
17 |
* Change: Rename JS and CSS assets to comply with the naming conventions of Divi.
|
18 |
* Fix: Certain websites experienced a delay between triggering a Popup and the Popup becoming visible.
|
19 |
|
20 |
+
= 2.3.0 =
|
21 |
* Improve: Popups do not cover the Admin Toolbar anymore for logged in users.
|
22 |
* Change: New JS action to customize Area positioning - `position_boundary`
|
23 |
* Change: When a Popup is visible, a new CSS class is added to the body tag.
|
35 |
* Fix: CF7 ReCaptcha is supported inside Popups.
|
36 |
* Fix: Layout compatibility with wpDataTables.
|
37 |
|
38 |
+
= 2.2.5 =
|
39 |
* Improve: We have made the Visual Builder integration (the "Popup-Tab") faster and more stable.
|
40 |
* Improve: Do not include the JS API for certain 404 results, such as missing images.
|
41 |
* Change: New JS API function `DiviAreaItem.isPrepared()` to check if an Area is fully initialized.
|
46 |
* Fix: The z-index is correctly applied again.
|
47 |
* Fix: Improve the full-height calculation of Popups
|
48 |
|
49 |
+
= 2.2.4 =
|
50 |
* Improve: Area sizes are more accurate when using Divis responsive sizes.
|
51 |
* Improve: Images inside Popups are instantly loaded in Chrome (fixed a lazy-load bug).
|
52 |
* Improve: Area size is re-calculated when the Area contents change, e.g. when an accordion is opened or closed.
|
includes/core/class-pfd-asset.php
CHANGED
@@ -22,18 +22,6 @@ class PFD_Asset extends PFD_Component {
|
|
22 |
*/
|
23 |
public function setup() {
|
24 |
add_filter( 'divi_areas_debug_infos', [ $this, 'generate_debug_infos' ] );
|
25 |
-
add_action( 'init', [ $this, 'setup_hooks' ], 11 );
|
26 |
-
|
27 |
-
}
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Set up custom hooks for this module.
|
31 |
-
*
|
32 |
-
* @since 2.0.1
|
33 |
-
* @return void
|
34 |
-
*/
|
35 |
-
public function setup_hooks() {
|
36 |
-
add_filter( 'divi_areas_is_build_mode', 'et_fb_is_enabled' );
|
37 |
|
38 |
}
|
39 |
|
@@ -64,7 +52,7 @@ class PFD_Asset extends PFD_Component {
|
|
64 |
return;
|
65 |
}
|
66 |
|
67 |
-
if (
|
68 |
$base_name = 'builder';
|
69 |
} elseif ( $this->need_js_api() ) {
|
70 |
$base_name = 'front';
|
@@ -444,27 +432,36 @@ class PFD_Asset extends PFD_Component {
|
|
444 |
}
|
445 |
|
446 |
/**
|
447 |
-
* Enqueues
|
|
|
448 |
*
|
449 |
* @since 2.0.0
|
450 |
* @return void
|
451 |
*/
|
452 |
public function enqueue_ie_scripts() {
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
$cache_version = DIVI_POPUP_VERSION;
|
458 |
-
}
|
459 |
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
[],
|
464 |
-
$cache_version,
|
465 |
-
false
|
466 |
-
);
|
467 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
}
|
469 |
|
470 |
/**
|
@@ -610,6 +607,25 @@ class PFD_Asset extends PFD_Component {
|
|
610 |
return $infos;
|
611 |
}
|
612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
/**
|
614 |
* Determines, whether the current request needs the JS API library.
|
615 |
*
|
22 |
*/
|
23 |
public function setup() {
|
24 |
add_filter( 'divi_areas_debug_infos', [ $this, 'generate_debug_infos' ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
}
|
27 |
|
52 |
return;
|
53 |
}
|
54 |
|
55 |
+
if ( $this->is_visual_builder() ) {
|
56 |
$base_name = 'builder';
|
57 |
} elseif ( $this->need_js_api() ) {
|
58 |
$base_name = 'front';
|
432 |
}
|
433 |
|
434 |
/**
|
435 |
+
* Enqueues polyfills for compatibility with IE11. Required by the front.js
|
436 |
+
* bundle, but not in the Visual Builder.
|
437 |
*
|
438 |
* @since 2.0.0
|
439 |
* @return void
|
440 |
*/
|
441 |
public function enqueue_ie_scripts() {
|
442 |
+
// Not needed anywhere in the admin dashboard.
|
443 |
+
if ( is_admin() ) {
|
444 |
+
return;
|
445 |
+
}
|
|
|
|
|
446 |
|
447 |
+
// Not needed while editing any page/post in the Visual Builder.
|
448 |
+
if ( apply_filters( 'divi_areas_is_build_mode', false ) ) {
|
449 |
+
return;
|
|
|
|
|
|
|
|
|
450 |
}
|
451 |
+
|
452 |
+
if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
|
453 |
+
$cache_version = time();
|
454 |
+
} else {
|
455 |
+
$cache_version = DIVI_POPUP_VERSION;
|
456 |
+
}
|
457 |
+
|
458 |
+
wp_enqueue_script(
|
459 |
+
'dap-ie',
|
460 |
+
DIVI_POPUP_URL . 'scripts/ie-compat.min.js',
|
461 |
+
[],
|
462 |
+
$cache_version,
|
463 |
+
false
|
464 |
+
);
|
465 |
}
|
466 |
|
467 |
/**
|
607 |
return $infos;
|
608 |
}
|
609 |
|
610 |
+
/**
|
611 |
+
* Returns true, if Divis Visual Builder is present on the current page.
|
612 |
+
*
|
613 |
+
* @since 2.3.6
|
614 |
+
* @return bool True, if the VB is present.
|
615 |
+
*/
|
616 |
+
protected function is_visual_builder() {
|
617 |
+
if ( et_core_is_fb_enabled() ) {
|
618 |
+
return true;
|
619 |
+
}
|
620 |
+
|
621 |
+
if ( et_builder_filter_bfb_enabled() ) {
|
622 |
+
return true;
|
623 |
+
}
|
624 |
+
|
625 |
+
|
626 |
+
return false;
|
627 |
+
}
|
628 |
+
|
629 |
/**
|
630 |
* Determines, whether the current request needs the JS API library.
|
631 |
*
|
includes/helper/plugin-compatibility.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* This compatibility module does NOT add or extend any features of the plugin
|
5 |
* but only makes existing features compatible with other plugins.
|
6 |
*
|
7 |
-
* @free
|
8 |
* @package PopupsForDivi
|
9 |
*/
|
10 |
|
@@ -71,18 +71,37 @@ function divi_popups_helper_wpdatatables_styles() {
|
|
71 |
}
|
72 |
|
73 |
?>
|
|
|
74 |
<style>
|
75 |
-
|
|
|
|
|
76 |
z-index: 990000003;
|
77 |
}
|
78 |
|
79 |
-
|
|
|
|
|
80 |
z-index: 990000002;
|
81 |
}
|
82 |
|
83 |
-
|
|
|
|
|
84 |
z-index: 990000001;
|
85 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
</style>
|
87 |
<?php
|
88 |
}
|
4 |
* This compatibility module does NOT add or extend any features of the plugin
|
5 |
* but only makes existing features compatible with other plugins.
|
6 |
*
|
7 |
+
* @free include file
|
8 |
* @package PopupsForDivi
|
9 |
*/
|
10 |
|
71 |
}
|
72 |
|
73 |
?>
|
74 |
+
<!-- Divi Areas compatibility with wpDataTables -->
|
75 |
<style>
|
76 |
+
.da-popup-visible .dt-button-collection,
|
77 |
+
.da-hover-visible .dt-button-collection,
|
78 |
+
.da-flyin-visible .dt-button-collection {
|
79 |
z-index: 990000003;
|
80 |
}
|
81 |
|
82 |
+
.da-popup-visible .wpdt-c .modal,
|
83 |
+
.da-hover-visible .wpdt-c .modal,
|
84 |
+
.da-flyin-visible .wpdt-c .modal {
|
85 |
z-index: 990000002;
|
86 |
}
|
87 |
|
88 |
+
.da-popup-visible .modal-backdrop,
|
89 |
+
.da-hover-visible .modal-backdrop,
|
90 |
+
.da-flyin-visible .modal-backdrop {
|
91 |
z-index: 990000001;
|
92 |
}
|
93 |
+
|
94 |
+
.da-popup-visible .media-modal,
|
95 |
+
.da-hover-visible .media-modal,
|
96 |
+
.da-flyin-visible .media-modal {
|
97 |
+
z-index: 990001000;
|
98 |
+
}
|
99 |
+
|
100 |
+
.da-popup-visible .media-modal-backdrop,
|
101 |
+
.da-hover-visible .media-modal-backdrop,
|
102 |
+
.da-flyin-visible .media-modal-backdrop {
|
103 |
+
z-index: 990000990;
|
104 |
+
}
|
105 |
</style>
|
106 |
<?php
|
107 |
}
|
plugin.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
* Author: divimode.com
|
14 |
* Author URI: https://divimode.com/?utm_source=wpadmin&utm_medium=link&utm_campaign=popups-for-divi
|
15 |
* Created: 30.12.2017
|
16 |
-
* Version: 2.3.
|
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.3.
|
44 |
|
45 |
/**
|
46 |
* Absolute path and file name of the main plugin file.
|
13 |
* Author: divimode.com
|
14 |
* Author URI: https://divimode.com/?utm_source=wpadmin&utm_medium=link&utm_campaign=popups-for-divi
|
15 |
* Created: 30.12.2017
|
16 |
+
* Version: 2.3.6
|
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.3.6' );
|
44 |
|
45 |
/**
|
46 |
* Absolute path and file name of the main plugin file.
|
scripts/front.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var front=function(){"use strict";!function(e,t,i){t.DiviArea=t.DiviArea||{},DiviArea.Utils=DiviArea.Utils||{};var a=DiviArea.Debug=DiviArea.Debug||{},r=DiviArea.Utils,n=!1,o=null,s=null;function l(t,i,a){var r,n;for(Array.isArray(t)&&(t=e(t).map(e.fn.toArray)),t=e(t),i=i.split(/\s+/),r=0;r<t.length;r++)for(n=0;n<i.length;n++)a(t[r],i[n])}function d(e){var t=r.getOption("storageMethod").toString().toLowerCase();return"none"!==(t=(t=DiviArea.applyFilters("storage_method",t,e)).toString().toLowerCase().trim())&&"cookie"!==t&&"local"!==t&&(t="auto"),"auto"===t&&(t=window.localStorage?"local":"cookie"),t}r.getOption=function(e){var t=DiviAreaConfig[e],i=r.sanitizeHookName(e);return DiviArea.Hooks.silent().applyFilters("get_option_"+i,t)},r.toBool=function(e,t){return void 0===t&&(t=!0),null==e?!!t:!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||!!t))},r.toMilliseconds=function(e){var t,i=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":t=1e3*i;break;case"ms":t=i;break;default:t=0}return t},r.sanitizeHookName=function(e){return e.toLowerCase().replace(/-/g,"_").replace(/[^a-z0-9_]+/,"")},r.showOnViewport=function(i){var a=e(t).innerWidth();return!i||!!(a<768?Array.isArray(i)?i[2]:i.getData("onmobile"):a<981?Array.isArray(i)?i[1]:i.getData("ontablet"):Array.isArray(i)?i[0]:i.getData("ondesktop"))},r.isPosition=function(e,t){var i=e.offsetParent();return"HTML"!==i.prop("tagName")&&(t===i.css("position")||r.isPosition(i,t))},r.setLocalData=function(e,t,i){e=e.replace(/^_da_/,""),(!i||isNaN(i)||i<1)&&(i=525600);var a=r.sanitizeHookName(e),n=d(e);if(t=DiviArea.applyFilters("set_data",t,e),t=DiviArea.applyFilters("set_data_"+a,t,e),i=DiviArea.applyFilters("set_data_expire",i,e,t),i=DiviArea.applyFilters("set_data_expire_"+a,i,e,t),!(!1===t||i<=0))if("local"===n){var o=new Date;o=o.setMinutes(o.getMinutes()+i),localStorage.setItem("_da_"+e,o+":"+t)}else"cookie"===n&&r.setCookie("_da_"+e,t,i)},r.getLocalData=function(e){var t="",i=d(e=e.replace(/^_da_/,""));if("local"===i){var a=localStorage.getItem("_da_"+e);if(a){var n=a.split(":"),o=parseInt(n.shift()),s=n.join(":");o>new Date?t=s:localStorage.removeItem("_da_"+e)}}else"cookie"===i&&(t=r.getCookie("_da_"+e));var l=r.sanitizeHookName(e);return t=DiviArea.applyFilters("get_data",t,e),t=DiviArea.applyFilters("get_data_"+l,t,e)},r.setCookie=function(e,t,a){var r=escape(t);if(a){var n=new Date;n.setMinutes(n.getMinutes()+a),r+="; expires="+n.toUTCString()}i.cookie=e+"="+r+"; path=/"},r.getCookie=function(e){var t,a,r,n=i.cookie.split(";");for(t=0;t<n.length;t++)if(a=n[t].substr(0,n[t].indexOf("=")),r=n[t].substr(n[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(r);return!1},r.getUrlParam=function(e){if(null===s){s={};var i=t.location.search.slice(1);if(i)for(var a=(i=i.split("#")[0]).split("&"),r=0;r<a.length;r++){var n=a[r].split("="),o=n[0],l=void 0===n[1]||n[1];if(o=o.toLowerCase(),"string"==typeof l&&(l=l.toLowerCase()),o.match(/\[(\d+)?\]$/)){var d=o.replace(/\[(\d+)?\]/,"");if(s[d]||(s[d]=[]),o.match(/\[\d+\]$/)){var c=/\[(\d+)\]/.exec(o)[1];s[d][c]=l}else s[d].push(l)}else s[o]?s[o]&&"string"==typeof s[o]?(s[o]=[s[o]],s[o].push(l)):s[o].push(l):s[o]=l}}return e?s[e]:Object.assign({},s)},r.getWindow=function(t){return e.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)},r.getClientRect=function(t){var i={top:0,left:0,width:0,height:0,bottom:0,right:0};if(0===t.length)return i;var a,n=(t=t[0]).ownerDocument,o=n.documentElement;if(!e.contains(o,t))return i;if(e.support.getBoundingClientRect){try{a=t.getBoundingClientRect()}catch(e){}if(!a)return i;if(a.right===a.left&&a.top===a.bottom)return i;var s=r.getWindow(n);i.top=a.top+(s.pageYOffset||o.scrollTop)-(o.clientTop||0),i.left=a.left+(s.pageXOffset||o.scrollLeft)-(o.clientLeft||0),i.width=a.right-a.left,i.height=a.bottom-a.top}else{if("none"===t.css("display"))return i;(i=t.offset()).width=t.outerWidth(),i.height=t.outerHeight()}return i.bottom=i.top+i.height,i.right=i.left+i.width,i},r.bindPassiveEvent=function(e,t,i){var a;a=!!n&&{passive:!1,capture:!1},l(e,t,(function(e,t){e.addEventListener(t,i,a)}))},r.unbindPassiveEvent=function(e,t,i){var a;a=!!n&&{passive:!1,capture:!1},l(e,t,(function(e,t){e.removeEventListener(t,i,a)}))},r.init=function(){var r,o={popupSelector:".et_pb_section.popup",fullHeightClass:"full-height",openPopupClass:"da-overlay-visible",overlayClass:"da-overlay",modalIndicatorClass:"is-modal",blockingIndicatorClass:"is-blocking",exitIndicatorClass:"on-exit",hoverTriggerClass:"on-hover",clickTriggerClass:"on-click",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",withLoaderClass:"with-loader",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"da-close",popupWrapperClass:"area-outer-wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e6,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,storageMethod:"auto",initializeOnEvent:"et_pb_after_init_modules"},s="";if(function(){try{var e={get passive(){return n=!0,!1}};t.addEventListener("test",null,e),t.removeEventListener("test",null,e)}catch(e){n=!1}}(),e.support.getBoundingClientRect="getBoundingClientRect"in i.documentElement,(r=t.DiviAreaConfig)&&"object"==typeof r||(r=o),t.DiviPopupData)for(s in DiviPopupData)DiviPopupData.hasOwnProperty(s)&&(r[s]=DiviPopupData[s]);for(s in o)void 0===r[s]&&(r[s]=o[s]);for(s in r)r.hasOwnProperty(s)&&r[s].replace&&(r[s]=r[s].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));r.zIndex=parseInt(r.zIndex.toString())||o.zIndex,r.onExitDelay=parseInt(r.onExitDelay.toString())||o.onExitDelay,r.animateSpeed=parseInt(r.animateSpeed.toString())||o.animateSpeed,r.debug=!!r.debug,r.defaultShowCloseButton=!!r.defaultShowCloseButton,(!r.triggerClassPrefix||r.triggerClassPrefix.length<3)&&(r.triggerClassPrefix=!1),"body"===r.baseContext&&(1===e("#et_builder_outer_content").length?(r.baseContext="#et_builder_outer_content",a.info("🎚 Divi plugin detected.","Inject Areas into #et_builder_outer_content")):1===e("body.et_divi_theme #page-container").length?(r.baseContext="#page-container",a.info("🎚 Divi theme detected.","Inject Areas into #page-container")):1===e(".et-db #et-boc").length&&(r.baseContext=".et-db #et-boc",a.info("🎚 Divi theme detected.","Inject Areas into #et-boc"))),"body"===r.baseContext||e(r.baseContext).length||(r.baseContext="body",a.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),t.DiviAreaConfig=t.DiviPopupData=DiviArea.applyFilters("init_options",r)},r.initErrorLogging=function(e){var i=function(e,t,i){if(!e[t]||!e[t].__dm_orig__){var a=e[t],r=void 0;for(var n in e[t]=function(){var e=!1;try{e=i.apply(this,arguments)}finally{!e&&a&&(r=a.apply(this,arguments))}return r},a)a.hasOwnProperty(n)&&(e[t][n]=a[n]);e[t].__dm_orig__=a}},a=function(){var e=arguments,i=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var a=0;a<arguments.length;a++)if("object"==typeof e[a]&&e[a]&&e[a].message&&e[a].stack){i=e[a];break}if(i){var r=[],n=i.stack.toString().split("\n");if(r.push("divimode.com Anonymized Error Report"),r.push("-".repeat(30)),r.push(i.name),i.message?r.push(i.message):r.push("-"),r.push(""),n&&n.length>1)for(var o=0;o<n.length;o++){var s=n[o];if(s.match(/(\/wp-includes\/|\/jquery\.js)/))break;s.match(/\.js/)&&(s=(s=(s=s.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),r.push(s))}if(DiviArea.info&&(r.push(""),r.push("js api:"+DiviArea.info)),t.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var l in r.push(""),DiviAreaConfig.sys)try{r.push(l+": "+DiviAreaConfig.sys[l])}catch(e){}r.push("-".repeat(30));var d=console.error.__dm_orig__||console.error;return console.log(""),d("✋ "+r.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",a),i(e.console,"error",a)},r.toPixel=function(e,a,r){if(o||((o={}).PPI=void 0,o.getPPI=function(){return o.PPI=o.PPI||o.getSizeBrutal("in",i.body),o.PPI},o.parseUnit=function(e){var t=[0,""];return e=String(e),t[0]=parseFloat(e,10),t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t},o.getPropertyInPx=function(e,t){var i=o.parseUnit(getComputedStyle(e).getPropertyValue(t));return i[0]*o.conversionFactor(i[1],e)},o.getSizeBrutal=function(e,t){var a=i.createElement("div");a.style.height="128"+e,t.appendChild(a);var r=o.getPropertyInPx(a,"height")/128;return t.removeChild(a),r},o.conversionFactor=function(e,a){switch(e=(e+""||"px").trim().toLowerCase()){case"%":return a.clientHeight/100;case"ch":case"ex":return o.getSizeBrutal(e,a);case"em":return o.getPropertyInPx(a,"font-size");case"rem":return o.getPropertyInPx(i.body,"font-size");case"vw":return t.innerWidth/100;case"vh":return t.innerHeight/100;case"vmin":return Math.min(t.innerWidth,t.innerHeight)/100;case"vmax":return Math.max(t.innerWidth,t.innerHeight)/100;case"in":return o.getPPI();case"cm":return o.getPPI()/2.54;case"mm":return o.getPPI()/25.4;case"pt":return o.getPPI()/72;case"pc":return o.getPPI()/6;case"px":return 1}return 0}),!e)return 0;if((r=r||i.body)!==t&&r!==i||(r=i.body),!isNaN(e)){if(a){var n=o.conversionFactor(a,r);return"number"==typeof n?e*n:0}return e}return 0},r.getStyleDef=function(e,t,i){var n,o,s="",l=!1,d=[],c=[],u="StyleDef "+t;if(a.profile(u,{el:e}),n=window.innerWidth<=980?window.innerWidth>767?"tablet":"phone":"desktop","string"==typeof e){var p=e.split(" "),f=DiviArea.getArea(p.shift());if(!f)return a.profile(u,!1),"";e=f.get(p.join(" "))[0]}if(e&&e instanceof jQuery&&(e=e.get(0)),!e||window.HTMLElement&&!e instanceof HTMLElement)return a.profile(u,!1),"";if(e.style&&""!==e.style[t])return a.profile(u,"Use inline style"),a.profile(u,!1),e.style[t];if(e._DAStyles||(e._DAStyles={}),!e._DAStyles[n])for(e._DAStyles[n]=[],a.profile(u,'Before "_getRelevantRules()"'),function(e){var t,i,r;for(o=0;o<document.styleSheets.length;o++)for(h(document.styleSheets[o]);t=d.shift();)if(t.styleSheet)h(t.styleSheet);else if(t.media)h(t);else if(t.selectorText)for(r=t.selectorText.split(","),i=0;i<r.length;i++)if(r[i]&&!(r[i].indexOf(":")>0)){try{if(!e.matches(r[i]))continue}catch(e){a.error("Invalid CSS rule",r[i]);continue}c.push(t);break}}(e),a.profile(u,'After "_getRelevantRules()"'),o=c.length-1;o>=0;o--)e._DAStyles[n].push({selectorText:c[o].selectorText,style:c[o].style});for(a.profile(u,"Start to evaluate relevant rules"),o=0;o<e._DAStyles[n].length;o++){var v=e._DAStyles[n][o];if((!i||!i.length||-1===i.indexOf(v.selectorText))&&""!==v.style[t]){var g=r.getCssSpecificity(v.selectorText,v.style[t]);r.compareCssSpecificity(g,l)>0&&(l=g,s=v.style[t])}}return a.profile(u,!1),s;function h(e){try{var t=e.media&&e.media.mediaText;if(e.disabled||t&&!window.matchMedia(t).matches)return;Array.prototype.unshift.apply(d,function(e){if(null==e)return[];try{return"function"==typeof Array.from?Array.from(e):[].slice.call(e)}catch(e){return[]}}(e.cssRules))}catch(e){}}},r.getCssSpecificity=function(e,t){var i=e.split(",");if(i.length>1){for(var a,n=[],o=0;o<i.length;o++)a=r.getCssSpecificity(i[o]),r.compareCssSpecificity(a,n)>0&&(n=a);return n}var s,l=e,d={a:0,b:0,c:0};function c(e,t){var i,a,r,n,o;if(e.test(l))for(a=0,r=(i=l.match(e)).length;a<r;a+=1)d[t]+=1,n=i[a],l.indexOf(n),o=n.length,l=l.replace(n,Array(o+1).join(" "))}function u(e){var t,i,a,r;if(e.test(l))for(i=0,a=(t=l.match(e)).length;i<a;i+=1)r=t[i],l=l.replace(r,Array(r.length+1).join("A"))}s="string"==typeof t&&t.indexOf("!important")>0;u(/\\[0-9A-Fa-f]{6}\s?/g),u(/\\[0-9A-Fa-f]{1,5}\s/g),u(/\\./g);var p=/{[^]*/gm;if(p.test(l))for(var f=l.match(p),v=0,g=f.length;v<g;v+=1)l=l.replace(f[v],Array(f[v].length+1).join(" "));return c(/(\[[^\]]+\])/g,"b"),c(/(#[^#\s\+>~\.\[:\)]+)/g,"a"),c(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),c(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),c(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),c(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),l=(l=(l=(l=(l=(l=l.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),c(/([^\s\+>~\.\[:]+)/g,"c"),[s?1:0,d.a,d.b,d.c]},r.compareCssSpecificity=function(e,t){for(var i=0;i<4;i+=1){var a=parseInt(isNaN(e[i])?0:e[i]),r=parseInt(isNaN(t[i])?0:t[i]);if(a<r)return-1;if(a>r)return 1}return 0}}(jQuery,window,document),window.DiviAreaItem=function(e,t){var i,a,r,n,o,s,l,d=jQuery,c=this,u=window.ResizeObserver||window.WebKitResizeObserver,p=d(e),f={},v={hideclose:!1,showclose:!0,notmobile:!1,onmobile:!0,nottablet:!1,ontablet:!0,notdesktop:!1,ondesktop:!0,closealt:!1,notmodal:!0,ismodal:!1,notblocking:!1,isblocking:!1,triggerexit:!1,shadow:!0,noshadow:!1,darkmode:!1,singleton:!1,static:!1,withloader:!1,pushcontent:!1},g={hideclose:"showclose",notdesktop:"ondesktop",notmobile:"onmobile",notmodal:"ismodal",notblocking:"isblocking",nottablet:"ontablet",shadow:"noshadow",dynamic:"static"},h=null,A=null,D=0,b=null,m=null,y=null,w={};function _(){for(var e in i=p.attr("id"),a=DiviArea.Utils.sanitizeHookName(i),r=H(t),n=p.closest(document.documentElement).length,o=n&&p[0].getClientRects().length,s={},l=!1,DiviArea.Debug.debug("Area Type",c.theType()),DiviArea.Debug.debug("Area ID",c.theId()),DiviArea.Debug.debug("Area Hook",c.theKey()),V(p),c.setData("zIndex",0),c.setData("container",d("body")),c.setData("hasShowAnim",!0),c.setData("position","center-center"),c.setData("positionV","center"),c.setData("positionH","center"),c.setData("overflow","clip"),c.setData("size","auto"),c.setData("animationSpeedIn",DiviArea.Utils.getOption("animateSpeed")),c.setData("animationSpeedOut",DiviArea.Utils.getOption("animateSpeed")),v)void 0!==p.data("da-"+e)?(c.setData(DiviArea.Utils.toBool(p.data("da-"+e))),p.removeAttr("data-da-"+e)):void 0!==p.data(e)?(c.setData(DiviArea.Utils.toBool(p.data(e))),p.removeAttr("data-"+e)):c.setData(e,v[e]);var f={};for(var g in f[DiviArea.Utils.getOption("notMobileClass")]=["onmobile",!1],f[DiviArea.Utils.getOption("notTabletClass")]=["ontablet",!1],f[DiviArea.Utils.getOption("notDesktopClass")]=["ondesktop",!1],f[DiviArea.Utils.getOption("noCloseClass")]=["showclose",!1],f[DiviArea.Utils.getOption("withCloseClass")]=["showclose",!0],f[DiviArea.Utils.getOption("altCloseClass")]=["closealt",!0],f[DiviArea.Utils.getOption("modalIndicatorClass")]=["ismodal",!0],f[DiviArea.Utils.getOption("blockingIndicatorClass")]=["isblocking",!0],f[DiviArea.Utils.getOption("exitIndicatorClass")]=["triggerexit",!0],f[DiviArea.Utils.getOption("noShadowClass")]=["noshadow",!0],f[DiviArea.Utils.getOption("darkModeClass")]=["darkmode",!0],f[DiviArea.Utils.getOption("singletonClass")]=["singleton",!0],f[DiviArea.Utils.getOption("withLoaderClass")]=["withloader",!0],f)if(p.hasClass(g)){var A=f[g];c.setData(A[0],A[1]),p.removeClass(g)}DiviArea.UI.initializeAreaAnimation(c),O(),I(),C(),u&&(b=new u((function(){var e=p[0].scrollHeight-p[0].clientHeight;e>0&&e-p[0].scrollTop<1&&(p[0].scrollTop-=1),s.width=0,s.height=0,s.contentWidth=0,s.contentHeight=0,N("resize",T)}),{box:"border-box"}),m=new u((function(){s.wrapperWidth=0,s.wrapperHeight=0,N("resize",T)}),{box:"border-box"})),p.on("resize",(function(){return N("resize",T)})),h.on("resize",(function(){return N("resize",T)}))}function C(){p.attr("data-da-area",i),h.attr("data-da-area",i),h.attr("data-da-registered",1),h.attr("data-da-type",c.theType()),h.attr("data-da-close-btn",c.getData("showclose")?"yes":"no"),h.attr("data-da-close-bg",c.getData("closeAlt")?"none":"solid"),h.attr("data-da-loader",c.getData("withLoader")?"yes":"no"),h.attr("data-da-shadow",c.getData("shadow")?"yes":"no"),h.attr("data-da-color",c.getData("darkMode")?"dark":"light"),h.attr("data-da-overflow",c.getData("overflow")),h.attr("data-da-size",c.getData("size"));var e=c.getData("wrapClasses");e&&h.addClass(e),N("position",c.setPosition),c.doAction("refresh_area")}function x(){if(c.isVisible()){p.find("."+DiviArea.Utils.getOption("closeButtonClass")).off(".da");var e=function(e,t){return DiviArea.Debug.debug("Click on",t,"close-button"),c.doAction("close_area",c,t),e.preventDefault(),!1};h.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).off(".da").on("click.da",(function(t){return e(t,"custom")})),A.find("a").off(".da").on("click.da",(function(t){return e(t,"default")})),d(window).on("resize",z),c.addAction("close_area",S)}else h.find("div ."+DiviArea.Utils.getOption("triggerCloseClass")).off(".da"),A.find("a").off(".da"),d(window).off("resize",z),c.removeAction("close_area")}function k(e){c.isVisible()?c.getData("hasShowAnim")?(DiviArea.Debug.info("✨ Animate the area (show)",c.theId()),DiviArea.UI.animateArea(c,"show",(function(){return function(e){c.getData("showclose")&&(DiviArea.Debug.debug("Show the default close button"),A.show()),e()}(e)}))):e():c.getData("hasShowAnim")?(A.hide(),DiviArea.Debug.info("✨ Animate the area (hide)",c.theId()),DiviArea.UI.animateArea(c,"hide",e)):e()}function I(){if(!A){var e=DiviArea.Utils.getOption("closeButtonClass"),t=e+"-wrap";A=d("<span>").addClass(t).appendTo(h),d("<a>").attr("href","#close").addClass(e).html("×").appendTo(A),A.hide(),c.doAction("area_close_button",A,c)}}function O(){if(!h){var e=DiviArea.Utils.getOption("popupWrapperClass");(h=p.parent()).hasClass(e)||(p.wrap("<div>"),(h=p.parent()).addClass(e)),h.detach().appendTo("body"),V(h),c.doAction("area_wrap",h,c)}}function P(){var e=this;D&&clearTimeout(D),D=setTimeout((function(){D=0,e.inDom()&&C()}),20)}function H(e){return e.toLowerCase().trim().replace(/-/,"")}function S(e,t){var i=this,a=!1;if(a=i.applyFilters("ignore_close_area",a,i,t))return DiviArea.Debug.debug("Ignored, manually cancelled in filter"),!0;DiviArea.hide(i)}function z(){s.windowWidth=0,s.windowHeight=0,s.wrapperWidth=0,s.wrapperHeight=0,N("resize",T)}function T(){if(c.isVisible()){var e=c.getSize(),t=[e.width,e.height,e.contentWidth,e.contentHeight,e.windowWidth,e.windowHeight].join("-");if(f._resizeState!==t){if(f._resizeState=t,A.css({width:e.width,height:e.height}),(c.isType("popup")||c.isType("flyin"))&&"show"!==c.getData("overflow")&&"full-height"!==c.getData("size")&&"full-screen"!==c.getData("size")){var i="auto"===c.getData("size")?20:0;if(h.attr("data-da-size-full-height"))e.windowHeight-e.contentHeight>=i&&(h.removeAttr("data-da-size-full-height"),h.removeClass(DiviArea.Utils.getOption("fullHeightClass")));else e.windowHeight-e.contentHeight<i&&(h.attr("data-da-size-full-height",1),h.addClass(DiviArea.Utils.getOption("fullHeightClass")))}N("position",c.setPosition)}}}function U(e,t){var i,a="";if(t||""===(a=DiviArea.Utils.getStyleDef(h[0],e))&&(a=DiviArea.Utils.getStyleDef(p[0],e)),""===a){var r=h.find(".et_pb_section");for(i=0;i<r.length&&!a;i++)a=DiviArea.Utils.getStyleDef(r[i],e,['[class*="et_pb_section_dap_"]'])}return a}function F(){var e=U("width",!1),t=U("max-width",!0);e&&"auto"!==e||(c.isType("popup")||h.css("width","100%"),p.css("width","100%")),t&&p.css("max-width",t)}function N(e,t){var i=this;w[e]||(w[e]=window.setTimeout((function(){w[e]=!1,t.apply(i)}),4))}function V(e){e.data("is-area",!0),e.data("area",c),e.data("area-config",f),e.getArea=function(){return c},e[0].DiviArea=c,e[0].DiviAreaConfig=f}function M(){}this.theId=function(){return"#"+i},this.theKey=function(){return a},this.hasId=function(e){e=e.replace(/^#/,"",e);var t=DiviArea.Data.getRealId(e);return t||(t=DiviArea.Data.getRealId("divi-area-"+e)),!(!t||t!==this.theId())},this.theType=function(){return r},this.isType=function(e){if(!e)return!0;if("string"!=typeof e)throw new Error("DiviAreaItem.isType() expects a string parameter. Given value is a "+typeof e);if((e=H(e))===r)return!0;if("any"===e||"all"===e)return!0;for(var t=0===e.indexOf("not:"),i=e.replace(/^not:\s*/,"").split(/\s*,\s*/),a=0;a<i.length;a++)if(i[a]===r)return!t;return t},this.get=function(e){return e?d(e,p):p},this.getWrap=function(){return h},this.attach=function(){if(P(),c.isPrepared(!0)||(o=!1),c.inDom()&&c.isVisible())return c;n=!0;var e=c.findHook();if(p.hide(),e){var t=e.data("area-place"),i=e;"before"!==t&&(i=e.nextAll(":not([data-area-hook])").first()),i.after(h.detach()),"replace"===t&&(y=i.detach())}else h.detach().appendTo(c.getData("container"));return h.closest("#et-boc").length||(h.wrap('<div id="et-boc" class="dynamic">'),h.wrap('<div class="et-l dynamic">')),N("position",c.setPosition),c.setVisible(!0,(function(){if(DiviArea.Debug.debug("Prepare Size-Observer and position the Area"),b){var e=DiviArea.Utils.getOption("closeButtonClass")+"-wrap";p.children().each((function(t,i){-1===i.className.indexOf(e)&&b.observe(i)})),b.observe(p[0]),m.observe(h[0])}N("position",c.setPosition),DiviArea.Debug.debug("Area.attach() is completed for Area",c.theId())})),c},this.detach=function(){if(c.isPrepared()&&!c.inDom())return c;c.isPrepared(!0)||(o=!0);var e=c.findHook();return b&&b.disconnect(),m&&m.disconnect(),c.setVisible(!1,(function(){DiviArea.Debug.debug("Remove Area from DOM",c.theId());var t=h.parent();p.hide(),h.detach(),t.hasClass("dynamic")&&!t.children().length&&t.parent().remove(),y&&(e.after(y),y=null),DiviArea.Debug.debug("Area.detach() is completed for Area",c.theId())})),c},this.findHook=function(){var e='[data-area-hook="'+c.getData("hookid")+'"]',t=d(e);return!!t.length&&t},this.setVisible=function(e,t){return e=!!e,c.isPrepared()&&c.isVisible()===e||("function"!=typeof t&&(t=M),o=e,x(),c.isPrepared()?(DiviArea.Debug.debug((e?"Show":"Hide")+" the prepared Area: Trigger animation",i),k(t)):(DiviArea.Debug.debug((e?"Show":"Hide")+" Area early (unprepared): No animation",i),t()),c.isVisible()?(F(),c.doAction("show_area")):c.doAction("hide_area")),c},this.setPosition=function(){var e={},t={};if(!c.isVisible()||!c.inDom())return c;if(c.getData("maxheight")&&(e.overflow="auto",e.maxHeight="100%",t.maxHeight=c.getData("maxheight")),c.getData("maxwidth")&&(e.maxWidth="100%",t.maxWidth=c.getData("maxwidth")),t.zIndex=c.getData("zindex"),c.doAction("resize_area"),c.isType("inline")||c.isType("hover"))h.removeAttr("data-da-position"),h.removeAttr("data-da-position-h"),h.removeAttr("data-da-position-v");else{var i=c.getData("positionh"),a=c.getData("positionv"),r=c.getData("size"),n=c.getSize(),o={minX:0,minY:0,maxX:n.windowWidth,maxY:n.windowHeight};if(h.attr("data-da-position",c.getData("position")),h.attr("data-da-position-h",i),h.attr("data-da-position-v",a),c.isType("flyin")&&(o.minY=parseInt(d("html").css("margin-top"))),c.doAction("position_boundary",o,c),o.minX>o.maxX){var s=o.maxX;o.maxX=o.minX,o.minX=s}if(o.minY>o.maxY){var l=o.maxY;o.maxY=o.minY,o.minY=l}if("full-width"===r||"full-screen"===r)t.left=o.minX+"px";else switch(i){case"left":t.left=o.minX+"px";break;case"right":t.right=parseInt(n.windowWidth-o.maxX)+"px";break;case"center":t.left=o.minX+parseInt((o.maxX-o.minX)/2-n.wrapperWidth/2)+"px"}if("full-height"===r||"full-screen"===r)t.top=o.minY+"px";else if(!h.attr("data-da-size-full-height"))switch(a){case"top":t.top=o.minY+"px";break;case"bottom":t.bottom=parseInt(n.windowHeight-o.maxY)+"px";break;case"center":t.top=o.minY+parseInt((o.maxY-o.minY)/2-n.wrapperHeight/2)+"px"}c.doAction("position_area",t,e,c)}return p.css(e),h.css(t),c},this.setTriggerEvent=function(t){var i=!1;return t&&(c.setData("event",t),t.currentTarget?i=t.currentTarget:t instanceof jQuery?i=t.first():window.HTMLElement&&e instanceof window.HTMLElement&&(i=d(t))),c.setData("attachto",i),DiviArea.Debug.debug("Attached to element:",i||"(none)"),c},this.isVisible=function(){return o},this.inDom=function(){return n},this.isPrepared=function(e){void 0===e&&(e=!1);var t=l;return!l&&e&&(n=!0,l=!0),t},this.getSize=function(){var e=c.isVisible();if(s&&void 0!==s.width||(s={}),s.width||(s.width=e?p[0].clientWidth:0),s.height||(s.height=e?p[0].clientHeight:0),s.contentWidth||(s.contentWidth=e?p[0].scrollWidth:0),!s.contentHeight&&(s.contentHeight=0,e))if(p.hasClass("et_pb_section")){var t=window.getComputedStyle(p[0]);s.contentHeight+=parseInt(t["border-top-width"]),s.contentHeight+=parseInt(t["padding-top"]),s.contentHeight+=parseInt(t["padding-bottom"]),s.contentHeight+=parseInt(t["border-bottom-width"]),p.children().each((function(){s.contentHeight+=this.offsetHeight}))}else s.contentHeight=p[0].scrollHeight;return s.wrapperWidth||(s.wrapperWidth=e?h[0].offsetWidth:0),s.wrapperHeight||(s.wrapperHeight=e?h[0].offsetHeight:0),s.windowWidth||(s.windowWidth=window.innerWidth),s.windowHeight||(s.windowHeight=window.innerHeight),s},this.getData=function(e){var t;return e?(e=e.toLowerCase().replace(/[^a-z0-9]/,""),g.hasOwnProperty(e)?(e=g[e],t=!f[e]):t=f[e]):t=Object.keys(f).filter((function(e){return"string"==typeof e&&"_"!==e[0]})).reduce((function(e,t){return e[t]=f[t],e}),{}),t},this.setData=function(e,t){if(void 0===t)return this;if(e=e.toLowerCase().replace(/[^a-z0-9]/,""),v.hasOwnProperty(e))t=DiviArea.Utils.toBool(t,v[e]),g.hasOwnProperty(e)&&(e=g[e],t=!t);else switch(e){case"fixzindex":case"zindex":t=parseInt(t);break;case"closedelay":t=parseFloat(t);break;case"position":-1!==t.indexOf("top")?f.positionv="top":-1!==t.indexOf("bottom")?f.positionv="bottom":f.positionv="center",-1!==t.indexOf("left")?f.positionh="left":-1!==t.indexOf("right")?f.positionh="right":f.positionh="center",t=f.positionv+"-"+f.positionh;break;case"positionh":if("left"!==t&&"right"!==t&&"center"!==t)return c;break;case"positionv":if("top"!==t&&"bottom"!==t&&"center"!==t)return c;break;case"container":(t=d(t).first()).length||(t=d("body"));break;case"attachto":t=d(t).first()}switch(f[e]=t,e){case"positionh":case"positionv":f.position=f.positionv+"-"+f.positionh}return P(),c},this.doAction=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];t.length||(t=[c]),DiviArea.doAction.apply(DiviArea,[[e,e+"_"+c.theKey()]].concat(t))},this.applyFilters=function(e,t){for(var i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return i.length||(i=[c]),DiviArea.applyFilters.apply(DiviArea,[[e,e+"_"+c.theKey()],t].concat(i))},this.addFilter=function(e,t,i,a){DiviArea.addFilter(e+"_"+c.theKey(),t,i,a)},this.addAction=function(e,t,i,a){DiviArea.addAction(e+"_"+c.theKey(),t,i,a)},this.removeFilter=function(e,t){DiviArea.removeFilter(e+"_"+c.theKey(),t)},this.removeAction=function(e,t){DiviArea.removeAction(e+"_"+c.theKey(),t)},this.addActionOnce=function(e,t,i,a){DiviArea.addActionOnce(e+"_"+c.theKey(),t,i,a)},this.hasClass=p.hasClass.bind(p),this.addClass=p.addClass.bind(p),this.removeClass=p.removeClass.bind(p),this.attr=p.attr.bind(p),this.removeAttr=p.removeAttr.bind(p),this.find=p.find.bind(p),this.css=p.css.bind(p),function(e){for(var t in _=_.bind(e),C=C.bind(e),x=x.bind(e),k=k.bind(e),P=P.bind(e),O=O.bind(e),I=I.bind(e),S=S.bind(e),z=z.bind(e),T=T.bind(e),U=U.bind(e),F=F.bind(e),N=N.bind(e),V=V.bind(e),e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=e[t].bind(e))}(c),_()};var e,t,i,a,r,n,o,s={isPro:!1,version:"2.3.5",lib:"DiviPopup",app:"Popups for Divi",_notice:"You can disable the debug output by disabling WP_DEBUG"};e=jQuery,t=0,DiviArea.init=function(){var e=s;for(var t in e)e.hasOwnProperty(t)&&!this.hasOwnProperty(t)&&"_"!==t[0]&&(this[t]=e[t]);this.info=this.lib+"-"+this.version,this.loaded=!0,DiviArea.Debug.info("🚀 Initialize "+this.app,"- JS API:",this.info),DiviArea.Debug.info("ℹ️",e._notice),DiviArea.Debug.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),DiviArea.Utils.init(),DiviArea.UI.init(),DiviArea.Core.smartInit()},DiviArea.markClosed=function(e,t){var i=DiviArea.getArea(e);i&&(e=i.theId()),e=e.replace(/^#/,""),DiviArea.Utils.getOption("debug")&&DiviArea.Debug.info("📌 Mark Area as closed for "+t+" minutes:",e),DiviArea.Utils.setLocalData(e,"1",t)},DiviArea.isClosed=function(e){var t=DiviArea.getArea(e);t&&(e=t.theId()),e=e.replace(/^#/,"");var i=DiviArea.Utils.getLocalData(e);if(DiviArea.Utils.getOption("debug")){var a=DiviArea.Data.sanitizeId(e);"1"===i?DiviArea.Debug.info("📌 Area is still closed:",a):DiviArea.Debug.info("📌 Area is not closed:",a)}return"1"===i},DiviArea.register=function(i,a,r,n){var o;if(void 0===a&&(a={}),void 0===r&&(r=!1),"string"!=typeof i||e(i).length||(i=DiviArea.Data.sanitizeId(i)),i&&(o=e(i)),!o||1!==o.length)return DiviArea.Debug.error("Cannot find the Area element:",i),!1;var s=DiviArea.getArea(i);if(s)return s;if("string"!=typeof i&&((i=o.attr("id"))&&!DiviArea.getArea(i)||(i=o.data("id")),i&&!DiviArea.getArea(i)||(i="dynamic-area-"+ ++t),o.attr("id",i)),o.length&&a.selector&&(o=o.filter(a.selector),delete a.selector),!o.length)return DiviArea.Debug.error("Cannot find the Area element:",i),!1;if(o.length>1)return DiviArea.Debug.error("Multiple matching elements found, but require exactly one:",i,o),!1;if("function"!=typeof r||n||(n=r,r=!1),!r){if(o.data("da-type"))r=o.data("da-type"),o.removeAttr("data-da-type");else if(o.data("type"))r=o.data("type"),o.removeAttr("data-type");else for(var l=o[0].className.split(/\s+/),d=0;d<l.length;d++)if(0===l[d].indexOf("divi-area-type-")){r=l[d].replace("divi-area-type-",""),o.removeClass(l[d]);break}if(!r)return DiviArea.Debug.error("Cannot determine the type for this Area",i,o),!1}if(DiviArea.Debug.group("Register Area | "+r+" | "+i),a.areaHook&&a.hookId&&"inline"===r){var c=e(a.areaHook).first();if(c.length){var u=e("<span>");u.attr("data-area-hook",a.hookId),u.attr("data-area-place",a.areaPlace),c.before(u)}else DiviArea.Debug.error("Inline hook not found:",a.areaHook)}var p=DiviArea.Data.createArea(o,r,i);return a.alternateid?DiviArea.Data.addAltId(p.theId(),a.alternateid):a.alternateId?DiviArea.Data.addAltId(p.theId(),a.alternateId):a.ids&&DiviArea.Data.addAltId(p.theId(),a.ids),delete a.alternateid,delete a.alternateId,delete a.ids,Object.keys(a).forEach((function(e){p.setData(e,a[e])})),p.setData("wrapClasses","et-l entry-content"),p.setData("container",DiviArea.Core.getContext()),p.applyFilters("pre_init_area",!1)||(p.isType("inline")&&p.getData("static")?(DiviArea.Core.initContainer(p),DiviArea.show(i,"static")):p.detach()),DiviArea.Debug.info("➕ Registered new area:",i,"("+r+")"),DiviArea.Debug.group(),"function"==typeof n&&n(p),p.doAction("init_area"),p},DiviArea.show=function(e,t){if(!e)return!1;var i=DiviArea.getArea(e);return i?DiviArea.Utils.showOnViewport(i)?(DiviArea.Debug.group("Show area",i.theId()),i.setData("hasShowAnim",!i.isVisible()),i.setTriggerEvent(t),i.isType("hover")&&DiviArea.Core.setupHoverArea(i),DiviArea.Core.attachArea(i),DiviArea.Core.reOrderAreas(),DiviArea.Debug.group(),!0):(DiviArea.Debug.debug("Do not trigger area on this device:",i.theId()),!1):(DiviArea.Debug.error("Could not find an area with the ID:",e),!1)},DiviArea.hide=function(e){var t=DiviArea.Data.getVisibleArea(e);t&&(t.setData("hasShowAnim",!0),t.setData("event",void 0),DiviArea.Debug.debug("Close area and unlink event handlers:",t.theId()),DiviArea.Core.detachArea(t)),DiviArea.Core.reOrderAreas()},function(e,t,i){var a=DiviArea.Core=DiviArea.Core||{},r=DiviArea.Utils=DiviArea.Utils||{},n=DiviArea.Debug=DiviArea.Debug||{},o=t.ResizeObserver||t.WebKitResizeObserver,s=null,l=!1,d=!1,c=e("body");function u(e,t){a.isArea(e)||(e=DiviArea.Data.getVisibleArea())&&(n.debug("Close the top-most area"),e.doAction("close_area",e,"default"))}function p(e){if(27===e.keyCode)return function(){n.info("⚡️ ESC-key pressed");var e=!1,t=DiviArea.Data.getVisibleArea(null,"popup");return t?(e=t.getData("isblocking"),(e=DiviArea.applyFilters("ignore_esc_key",e))?(n.debug("Ignored, manually cancelled in filter"),!0):(n.debug("Close top-most popup"),DiviArea.doAction("close_area",null,"esc"),!1)):(n.debug("Ignored, no popup is visible"),!0)}()}function f(){var e,t=["popup","flyin","inline"];function i(t,i){e||t.getData("triggerexit")&&(DiviArea.isClosed(i)?t.setData("triggerexit",!1):DiviArea.show(i,"exit")&&(t.setData("triggerexit",!1),e=!0))}for(var a in t)e=!1,DiviArea.Data.loopAllAreas(i,t[a])}function v(e,t){var i=[];if(t.isType("popup")&&"show"===e&&t.getData("singleton")&&(DiviArea.Data.loopVisibleAreas("popup",(function(e){e.theId()!==t.theId()&&i.push(e.theId())})),n.debug("Singleton Popup detected. Close all open Popups:",i)),"hide"===e?t.doAction("before_hide_area",t,i):t.doAction("before_show_area",t,i),i.length)for(var r in n.debug("Hide following areas:",i),i){var o=DiviArea.getArea(i[r]);o&&o.inDom()&&a.detachArea(o)}}function g(t,i){var a;if(a=DiviArea.Data.sanitizeId(i))if(t.attr("data-area-id"))n.debug("Trigger already prepared",t[0]);else if(DiviArea.getArea(a)){var o=r.getOption("hoverTriggerClass"),s=r.getOption("clickTriggerClass");t.attr("data-area-id",a),t.addClass("popup-trigger"),t.off("click"),t.hasClass(o)&&(t.on("mouseenter._da",l),n.debug("Prepared Hover trigger to open this area:",a,t[0])),t.hasClass(o)&&!t.hasClass(s)||(t.on("click._da",l),n.debug("Prepared Click trigger to open this area:",a,t[0]))}else n.debug("Ignore trigger. No area found with this ID:",t[0]);else n.debug("Ignore trigger. Invalid target ID:",i,t[0]);function l(t){var i=e(t.target);return!("A"!==i.prop("tagName")||!i.attr("href").length||i.attr("data-area-id"))||(t.preventDefault(),t.stopImmediatePropagation(),n.debug("Trigger area:",a),DiviArea.show(a,t),!1)}}function h(i,a){void 0===a&&(a=0),t.recaptcha_test=i;var r=t.grecaptcha,o=t.__recaptcha_api;if(r&&i&&i.length)if(o&&r.render&&r.execute){var s=((e('script[src*="google.com/recaptcha/api.js"]').attr("src")||"").split("?")[1]||"").split("&");try{var l=u("onload"),d=u("render"),c=t.etCore&&etCore.api&&etCore.api.spam&&etCore.api.spam.recaptcha&&etCore.api.spam.recaptcha.isEnabled&&etCore.api.spam.recaptcha.isEnabled()?etCore.api.spam.recaptcha:null;c&&i.find(".et_pb_recaptcha_enabled").length&&c.init(),l&&"function"==typeof t[l]&&t[l](),i.find("form [data-sitekey]").length>0&&i.find("form").each((function(){var i=e(this),a=i.find("[data-sitekey]");if(a.length&&!i.find('iframe[src*="/recaptcha/"]').length){var n={sitekey:a.attr("data-sitekey"),type:a.attr("data-type"),size:a.attr("data-size"),theme:a.attr("data-theme"),badge:a.attr("data-badge"),tabindex:a.attr("data-tabindex")},o=a.attr("data-callback"),s=a.attr("data-expired-callback");o&&"function"==typeof t[o]&&(n.callback=t[o]),s&&"function"==typeof t[s]&&(n["expired-callback"]=t[s]);var l=r.render(a[0],n);t.recaptchaWidgets&&recaptchaWidgets.push(l)}})),d.length>10&&r.execute(d,{action:"homepage"}).then((function(e){i.find('form [name="g-recaptcha-response"]').val(e)}))}catch(e){n.debug("ReCaptcha init failed:",e)}}else a<5&&(isNaN(a)&&(a=0),setTimeout((function(){return h(i,a+1)}),250));function u(e){var t=s.filter((function(t){return 0===t.indexOf(e+"=")}))[0];return t=t?t.replace(/^.*?=/,""):""}}function A(t){var i=e(t.target).closest("[data-da-type][data-da-registered]"),a=r.getOption("fullHeightClass");return!(!i.length||!i.hasClass(a)&&"show"!==i.attr("data-da-overflow"))||(t.preventDefault(),t.stopPropagation(),!1)}a.smartInit=function(){var n=r.getOption("initializeOnEvent");function o(){l||setTimeout(a.init,1)}n?(e(t).add(i).one(n,(function(){setTimeout(DiviArea.Core.init,1)})),t.addEventListener("error",o),DiviArea.addAction("load",(function(){t.removeEventListener("error",o)})),setTimeout(a.init,350)):setTimeout(DiviArea.Core.init,1)},a.init=function(){l||(l=!0,n.debug("Initialize the app"),DiviArea.doAction("load"),(s=e(r.getOption("baseContext")).filter(":visible").first()).length?(s.closest("#et-boc").length||(s.append('<div id="et-boc" class="dm-base-context"><div class="et-l"></div></div></div>'),s=s.find(".dm-base-context#et-boc .et-l").first()),n.debug('Base context "'+r.getOption("baseContext")+'" found',s)):n.error('Could not find the popup container "'+r.getOption("baseContext")+'"'),function(){var t=e(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!t.length)return;t.parent().css({minHeight:t.outerHeight()})}(),setTimeout((function(){e(t).on("mouseleave.da",(function(e){var a;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(a=Math.max(i.documentElement.clientWidth,t.innerWidth||0),e.clientX>=a-50||e.clientY>=50||e.toElement||e.relatedTarget||(n.info("⚡️ Exit-intent detected (mouse leave)"),DiviArea.doAction("exit_intent","mouse-leave")))})),DiviArea.addAction("exit_intent",f)}),r.getOption("onExitDelay")),DiviArea.addAction("ready",(function(){DiviArea.addAction("close_area",u),function(e){var i=t.MutationObserver||t.WebKitMutationObserver,r=t.addEventListener,o=a.getContext(),s=!1;function l(){s||(s=setTimeout((function(){s=!1,n.debug("DOM changed"),e()}),50))}if(i){new i((function(e){if(e[0].addedNodes.length||e[0].removedNodes.length)return l()})).observe(o[0],{childList:!0,subtree:!0})}else r&&(o.addEventListener("DOMNodeInserted",l,!1),o.addEventListener("DOMNodeRemoved",l,!1))}(a.activateContainer),e(i).on("keyup",p)}),1),DiviArea.addAction("ready",(function(){a.activateContainer()}),9),DiviArea.doAction("ready"))},a.isArea=function(e){return e&&e instanceof DiviAreaItem},a.getContext=function(){return s},a.reOrderAreas=function(){var e=DiviArea.Data.countVisibleAreas("popup"),t=DiviArea.Data.countVisibleAreas("flyin"),i=DiviArea.Data.countVisibleAreas("hover");if(e?c.addClass("da-popup-visible"):(DiviArea.hideOverlay(),c.removeClass("da-popup-visible")),t?c.addClass("da-flyin-visible"):c.removeClass("da-flyin-visible"),i?c.addClass("da-hover-visible"):c.removeClass("da-hover-visible"),DiviArea.Data.countVisibleAreas()){var o=r.getOption("zIndex"),s=DiviArea.Data.countVisibleAreas("not: inline"),l=DiviArea.Data.countVisibleAreas("popup"),d=[],u=0,p=0,f={};if(n.debug("Refresh the z-index of visible areas"),DiviArea.Data.loopVisibleAreas("any",a.blurArea),a.focusArea(DiviArea.Data.getVisibleArea()),DiviArea.Data.loopVisibleAreas("not: inline",(function(e){var t,i=e.getData("fixZIndex");e.isType("popup")?(p++,t=o+s-l+p,e.hasClass(r.getOption("activePopupClass"))&&(f.overlay=t,t+=1)):(u++,t=o+u),isNaN(i)||(t=i),f[e.theId()]=t})),(f=DiviArea.applyFilters("reorder_areas",f)).overlay&&!isNaN(f.overlay)){var v=DiviArea.showOverlay(f.overlay);d.push({id:"-",type:"overlay","z-index":v})}for(var g in f)f.hasOwnProperty(g)&&h(g);n.info("👓 List of visible Areas:"),n.table(d)}function h(e){if("overlay"!==e){var t=DiviArea.getArea(e);if(t){var i=t.applyFilters("apply_z_index",f[e],t);i&&!isNaN(i)&&t.setData("zindex",i),t.isType("popup")&&t.attach(),d.push({id:t.theId(),type:t.theType(),"z-index":t.getData("zindex")||null})}}}},a.activateContainer=function(i){var o,s,l=!i;if(void 0===i?i=c:a.isArea(i)&&(i=i.get()),function(t){t.find(r.getOption("popupSelector")).not("[data-da-area]").filter("[id],."+r.getOption("exitIndicatorClass")).each((function(){var t=e(this);n.debug("Found an inline Popup Area:",t.attr("id")),DiviArea.register(t,{},"popup")}))}(i),(s=function(i,a){var r,n,o,s=[];if(!i.ids||!i.ids.length)return[];function l(t,i){var a;for(a=0;a<i.length;a++){var r=e(i[a]);r.attr("data-area-id")||(r.attr("data-da-area")||r.hasClass("divi-area-wrap")||r.hasClass("et_pb_section")&&r.hasClass("popup")||s.push({id:t,item:r}))}}for(r=0;r<i.ids.length;r++){var d="#"+(o=i.ids[r].replace(/^#/,"")),c=i.linkPrefix?"#"+i.linkPrefix+o:"",u="."+o,p=i.classPrefix?"."+i.classPrefix+o:"",f=i.dataAttrib?i.dataAttrib+'="'+o+'"':"";if(l(o,e('[href="'+d+'"]',a)),c&&l(o,e('[href="'+c+'"]',a)),l(o,e(u,a)),p&&l(o,e(p,a)),f&&l(o,e("["+f+"]",a)),t.et_link_options_data)for(n=et_link_options_data.length-1;n>=0;n--)if(d===et_link_options_data[n].url||c===et_link_options_data[n].url){var v=e("."+et_link_options_data[n].class,a);l(o,v),v.off("click"),et_link_options_data.splice(n,1)}}return s}({ids:DiviArea.listAreas(),linkPrefix:"popup:",dataAttrib:r.getOption("idAttrib"),classPrefix:r.getOption("triggerClassPrefix")},i)).length){for(l?n.group("Activate all triggers in document"):n.group("Activate triggers in area",i.attr("id")),o=0;o<s.length;o++){var d=s[o];g(d.item,d.id)}n.group()}else l?n.debug("No new triggers found in document"):n.debug("No new triggers found in area",i.attr("id"));a.initContainer(i)},a.initContainer=function(i){var n=!1,o=!1;if(a.isArea(i)?(n=i,i=i.get()):i.data("is-area")&&(n=i.getArea()),n&&(o=n.getData("post_id")),n&&i.data("is-area"))return!0!==i.data("area-init-done")&&(i.data("area-init-done",!0),c.trigger("post-load"),i.find("img[loading=lazy]").attr("loading","eager"),"function"==typeof t.et_fix_pricing_currency_position&&et_fix_pricing_currency_position(i.find(".et_pb_pricing_table")),o&&i.find(".et_pb_newsletter_form").length&&i.find(".et_pb_newsletter_form [name=et_pb_signup_post_id]").val(o),h(i),function(t){var i=t.getArea();t.find("img").on("load",(function(){return t.trigger("resize")})),"show"!==i.getData("overflow")&&t.find(".et_pb_row").each((function(){var t=e(this),i=r.getStyleDef(t[0],"height"),a=r.getStyleDef(t[0],"max-height");i&&(t.css("height","auto"),r.getStyleDef(t[0],"min-height")||t.css("min-height",i)),a&&t.css("max-height","none")}));t.trigger("resize")}(i)),void 0!==t.et_reinit_waypoint_modules&&t.et_reinit_waypoint_modules(),i},a.deactivateContainer=function(t){a.isArea(t)&&(n.debug("Deactivate all triggers in area",t.theId()),t.find("[data-area-id]").each((function(){!function(e){n.debug("Remove trigger:",e[0]),e.removeAttr("data-area-id"),e.removeClass("popup-trigger"),e.off("._da")}(e(this))})))},a.attachArea=function(e){d||(d=!0,v("show",e),d=!1),DiviArea.Data.addVisibleArea(e),e.attach()},a.detachArea=function(e){if(d||(d=!0,v("hide",e),d=!1),e.inDom()){if(!a.isArea(e)||!e.inDom())return;e.removeClass("__is_animating"),DiviArea.Data.removeVisibleArea(e),a.blurArea(e),e.detach()}},a.focusArea=function(e){var t=r.getOption("activePopupClass");e&&(e.get(),a.activateContainer(e),e.hasClass(t)||(e.addClass(t),e.doAction("focus_area")))},a.blurArea=function(e){var t=r.getOption("activePopupClass");e&&(e.get(),a.deactivateContainer(e),e.hasClass(t)&&(e.removeClass(t),e.doAction("blur_area")))},a.setupHoverArea=function(a){var s=a.getData("attachto"),l=a.get(),d=a.getWrap();if(s.length){var c=r.isPosition(s,"fixed"),u=a.theId(),p=a.getData("closeTrigger"),f=1e3*a.getData("closedelay"),v=!1,g=!1,h=!1;o&&(h=new o((function(e){for(var t=0;t<e.length;t++){var i=e[t].contentRect,a=i.width+"-"+i.height;a!==g&&(g=a,A())}}),{box:"border-box"})),h&&h.observe(s[0]),a.addAction("resize_area",A),"click"===p?e(i).on("click."+a.theKey(),(function(t){e(t.target).closest(u).length||D()})):"hover"===p&&(l.on("mouseleave._dah",D),s.on("mouseleave._dah",D)),s.on("mouseenter._dah",b),l.on("mouseenter._dah",b),n.debug("Prepared positioning of hover area")}else n.error("Hover Area without alignment element found");function A(){var e=c?s[0].getBoundingClientRect():r.getClientRect(s),i=a.getData("positionv"),o=a.getData("positionh"),l=a.getSize(),u={},p={left:"",top:"",right:"",bottom:"",width:"",height:"",position:c?"fixed":"absolute"};"top"===i||"bottom"===i?(p.top="top"===i?e.top-l.height:e.bottom,p.left=e.left+e.width/2-l.width/2):"left"===o||"right"===o?(p.left="left"===o?e.left-l.width:e.right,p.top=e.top+e.height/2-l.height/2):"center"===o&&"center"===i?(p.left=e.left+e.width/2-l.width/2,p.top=e.top+e.height/2-l.height/2):n.error("Invalid position",a.getData("position")),p.top<0&&(p.top=0),p.left<0&&(p.left=0),p.left+l.width>t.innerWidth&&(p.left=t.innerWidth-l.width),a.doAction("position_area",p,u,a),n.debug("Area position:",p),d.css(p),a.css(u)}function D(){b(),v=setTimeout((function(){var t=a.getData("attachto");t&&t.length&&s!==t||(h&&h.disconnect(),a.removeAction("resize_area",A),e(i).off("."+a.theKey()),l.off("._dah"),s.off("._dah"),DiviArea.hide(a))}),f)}function b(){v&&clearTimeout(v),v=!1}},a.disableBodyScroll=function(){if(!0!==c.data("da-disable-scroll")){c.data("da-disable-scroll",!0),r.bindPassiveEvent([c,DiviArea.getOverlay()],"mousewheel touchmove",A);var a=t.innerWidth-i.body.clientWidth;c.addClass(r.getOption("openPopupClass")),a&&(c.css("padding-right",a),c.hasClass("et_boxed_layout")||e(".et_fixed_nav #main-header").css("padding-right",a)),DiviArea.doAction("disabled_scrolling")}},a.enableBodyScroll=function(){!0===c.data("da-disable-scroll")&&(c.data("da-disable-scroll",!1),r.unbindPassiveEvent([c,DiviArea.getOverlay()],"mousewheel touchmove",A),c.removeClass(r.getOption("openPopupClass")),c.css("padding-right",""),e(".et_fixed_nav #main-header").css("padding-right",""),DiviArea.doAction("enabled_scrolling"))},a.closeMainMenu=function(){e(".et_pb_fullscreen_menu_active").length?e(".et_toggle_fullscreen_menu").first().trigger("click"):e(".et_pb_slide_menu_active").length&&e(".et_toggle_slide_menu").first().trigger("click")}}(jQuery,window,document),function(e){DiviArea.Data=DiviArea.Data||{};var t={},i=[],a={};DiviArea.Data.sanitizeId=function(e,t){if(!e)return"";if(e instanceof DiviAreaItem)return e.theId();if(e instanceof jQuery)return"#"+e.attr("id");if(e){if(t){var i=new RegExp("^#"+t+":");e=e.replace(i,"#",e)}"#"!==e[0]&&(e="#"+e)}return e.length>1?e:""},DiviArea.Data.getRealId=function(e){var i=[];if(!e||"string"!=typeof e)return"";for(e=e.toString().trim(),i.push(DiviArea.Data.sanitizeId(e)),-1===e.indexOf("divi-area-")&&i.push(DiviArea.Data.sanitizeId("divi-area-"+e));i.length;){var r=i.shift();if(r){if(void 0!==t[r])return r;if(a[r]&&(r=DiviArea.Data.sanitizeId(a[r])),r&&void 0!==t[r])return r}}return""},DiviArea.Data.addAltId=function(e,t){function i(t){t=DiviArea.Data.sanitizeId(t),e!==t&&(null===e?delete a[t]:a[t]=e)}e=DiviArea.Data.sanitizeId(e),Array.isArray(t)?t.forEach((function(e){return i(e)})):i(t)},DiviArea.Data.getArea=function(e){if(void 0===e)return DiviArea.Data.getVisibleArea();if(e instanceof DiviAreaItem)return e;e instanceof jQuery&&(e=e.attr("id"));var i=DiviArea.Data.getRealId(e);return!!i&&t[i]},DiviArea.Data.createArea=function(e,i,a){return a=DiviArea.Data.sanitizeId(a),t[a]=new DiviAreaItem(e,i),t[a]},DiviArea.Data.getAllIds=function(e){var i=[];if(e||(e="all"),DiviArea.Core.isArea(e)){var r=e.theId();for(var n in i.push(r),a)r===a[n]&&i.push(n)}else{for(var o in t){t[o].isType(e)&&i.push(o)}for(var s in a){var l=a[s];t[l].isType(e)&&i.push(s)}}return i},DiviArea.Data.loopAllAreas=function(e,i){if("function"==typeof i){var a=e;e=i,i=a}for(var r in i||(i="all"),t){var n=t[r];n.isType(i)&&e(n,r)}},DiviArea.Data.countVisibleAreas=function(e){if(!e||"any"===e)return i.length;var t=0;return DiviArea.Data.loopVisibleAreas(e,(function(){return t++})),t},DiviArea.Data.addVisibleArea=function(e){if(!(e=DiviArea.getArea(e)))return!1;if(DiviArea.Data.removeVisibleArea(e),e.isType("popup")||!DiviArea.Data.countVisibleAreas("popup"))i.push(e);else for(var t=0;t<i.length;t++)if(i[t].isType("popup")){i.splice(t,0,e);break}},DiviArea.Data.removeVisibleArea=function(e){if(!(e=DiviArea.getArea(e)))return!1;for(var t=e.theId(),a=i.length-1;a>=0;a--){i[a].theId()===t&&i.splice(a,1)}},DiviArea.Data.getVisibleArea=function(e,t){var a=i.length-1;if(!e&&!t)return i[a];if(e){var r=DiviArea.getArea(e);return!!r&&(!!r.isType(t)&&(!!r.isVisible()&&r))}for(var n=a;n>=0;n--){var o=i[n];if(o.isType(t))return o}return!1},DiviArea.Data.loopVisibleAreas=function(e,t,a){for(var r=i.length,n=a?r-1:0,o=0;o<r;o++){var s=i[n];n+=a?-1:1,s.isType(e)&&t(s,o)}}}(),function(e){var t=null,i=!1;function a(e){DiviArea.Debug.info("⚡️ Click on background overlay"),e.preventDefault(),DiviArea.doAction("click_overlay",t);var i=DiviArea.Data.getVisibleArea(null,"popup");return i?i.getData("ismodal")?(DiviArea.Debug.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):DiviArea.applyFilters("ignore_overlay_click",!1)?(DiviArea.Debug.debug("Ignore click:","Manually cancelled via filter"),!1):(DiviArea.doAction("close_area",null,"overlay"),DiviArea.Data.countVisibleAreas("popup")||DiviArea.hideOverlay(),!1):(DiviArea.Debug.debug("Ignore click:","No visible Popups found"),!1)}DiviArea.showOverlay=function(e){var t=DiviArea.getOverlay();return e&&!isNaN(e)||(e=DiviArea.Utils.getOption("zIndex"),e+=Math.max(0,DiviArea.Data.countVisibleAreas())),t.css({zIndex:e}),i||(i=!0,DiviArea.Debug.info("⤴️ Show background overlay"),DiviArea.Core.disableBodyScroll(),t.detach().appendTo(DiviArea.Core.getContext()),t.fadeIn(DiviArea.Utils.getOption("animateSpeed")),DiviArea.doAction("show_overlay",t),DiviArea.Core.closeMainMenu()),e},DiviArea.hideOverlay=function(){i&&(i=!1,DiviArea.Debug.info("⤵️ Hide background overlay"),t.hide().detach(),DiviArea.Core.enableBodyScroll(),DiviArea.doAction("hide_overlay",t))},DiviArea.getOverlay=function(){return null===t&&((t=e("<div />")).addClass(DiviArea.Utils.getOption("overlayClass")),t.on("click.popup",a),DiviArea.doAction("init_overlay",t)),t}}(jQuery),function(e){DiviArea.UI=DiviArea.UI||{};var t={};function i(e,t){var i;return i="show"===t?parseInt(e.getData("animationSpeedIn")):parseInt(e.getData("animationSpeedOut")),(isNaN(i)||i<0)&&(i=0),i}function a(e){return e.push(".et_fixed_nav #main-header"),e}function r(t,i,a,r){var o,s="da-push-"+t,l="margin-"+t,d="top"===t||"bottom"===t?"v":"h";if(DiviArea.Debug.debug("Add Container Space (push content)",t,i+"px"),"top"===t?o=e("body"):(o=e("#page-container")).length||(o=e("body")),void 0===o.data(s)){var c=parseInt(o.css(l));isNaN(c)&&(c=0),o.data(s,c)}isNaN(i)&&(i=0);var u=parseInt(o.data(s))+i;isNaN(u)&&(u=i),u<0&&(u=0);var p=!u;if(o.data(s,u),n(o,l,u,a,p),"h"===d){var f=parseInt(o.css("width"));i>0&&o.css("width",f),n(o,"width",f-i,a,p)}e(r).each((function(){var r=e(this),o=parseInt(r.css(t)),s=(isNaN(o)?0:o)+i;if(i>0&&r.css(t,o),"h"===d){var l=parseInt(r.css("width"));i>0&&r.css("width",l),n(r,"width",l-i,a,p)}n(r,t,s,a,p)}))}function n(e,t,i,a,r,n){void 0===r&&(r=!1),void 0===n&&(n="ease-in-out"),DiviArea.Debug.debug(" Push Content",e.prop("tagName")+"#"+e.attr("id"),t+": "+e.css(t)+" → "+i+"px");var o=e.css("transition");e.css("transition",o+", "+t+" "+a+"ms "+n),e.css(t,i+"px"),setTimeout((function(){e.css("transition",""),r&&e.css(t,"")}),a+20)}function o(e,t,i){i=i||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<i){var r=e.waypoint(t);r&&r.length>0&&(a.push(r[0]),e.data("et_waypoint",a))}else for(var n=0;n<a.length;n++)a[n].context.refresh()}DiviArea.UI.init=function(){DiviArea.addAction("push_fixed_elements_top",a),DiviArea.addAction("push_fixed_elements_left",a),DiviArea.addAction("push_fixed_elements_right",a)},DiviArea.UI.animateArea=function(e,a,n){var s=!1,l=!1,d=!1,c=function(){DiviArea.Debug.debug("Area animation is complete",a,e.theId()),"function"==typeof n&&n()};if(e.isType("flyin"))window.TweenLite&&(l=!0),d=!!e.getData("pushContent");else if("hide"===a)return void c();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var i=e.attr("data-animation"),a=!1;if(!i)return!1;if(!(a=t[i]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":a.style,"data-animation-repeat":"once"===a.repeat?"":"infinite","data-animation-duration":a.duration,"data-animation-delay":a.delay,"data-animation-intensity":a.intensity,"data-animation-starting-opacity":a.starting_opacity,"data-animation-speed-curve":a.speed_curve}),o(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),i=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),r=e.attr("data-animation-delay"),n=e.attr("data-animation-intensity"),o=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],i=e.get(0).attributes,a=0;a<i.length;a++)"data-animation-"===i[a].name.substring(0,15)&&t.push(i[a].name);jQuery.each(t,(function(t,i){e.removeAttr(i)}))}(e);var l=isNaN(parseInt(o))?0:.01*parseInt(o);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":r,opacity:l,"animation-timing-function":s});for(var d={},c=isNaN(parseInt(n))?50:parseInt(n),u=["slide","zoom","flip","fold","roll"],p=!1,f=!1,v=0;v<u.length;v++){var g=u[v];if(t&&t.substr(0,g.length)===g){p=g,""!==(f=t.substr(g.length,t.length))&&(f=f.toLowerCase());break}}!1!==p&&!1!==f&&(d=function(e,t,i){var a={};switch(e){case"slide":switch(t){case"top":a={transform:"translate3d(0, "+(r=-2*i)+"%, 0)"};break;case"right":a={transform:"translate3d("+(r=2*i)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(r=2*i)+"%, 0)"};break;case"left":var r=-2*i;a={transform:"translate3d("+r+"%, 0, 0)"};break;default:a={transform:"scale3d("+(n=.01*(100-i))+", "+n+", "+n+")"}}break;case"zoom":var n=.01*(100-i);switch(t){case"top":case"right":case"bottom":case"left":default:a={transform:"scale3d("+n+", "+n+", "+n+")"}}break;case"flip":switch(t){case"right":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"fold":switch(t){case"top":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"right":default:a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":a={transform:"rotateZ("+(o=-1*Math.ceil(3.6*i))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(o=Math.ceil(3.6*i))+"deg)"};break;default:var o=Math.ceil(3.6*i);a={transform:"rotateZ("+o+"deg)"}}}return a}(p,f,c)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(t),e.addClass(i)}(jQuery(this.element))}})}(e.get())&&(s=!0),l?function(e,t,a){DiviArea.Debug.debug("Animate Area using GSAP");var r={},n={},o=e.get();o.css({opacity:"show"===t?0:1,transition:"all 0s"}),o.show(),window.setTimeout((function(){var s=e.getData("positionH"),l=e.getData("positionV"),d=i(e,t);"left"===s?(r.left=-1*o.outerWidth(),n.left=0):"right"===s?(r.right=-1*o.outerWidth(),n.right=0):"top"===l?(r.top=-1*o.outerHeight(),n.top=0):"bottom"===l&&(r.bottom=-1*o.outerHeight(),n.bottom=0),r.opacity=1,n.opacity=1,"show"===t?(o.css(r),TweenLite.to(o,d/1e3,{css:n})):(o.css(n),TweenLite.to(o,d/1e3,{css:r})),window.setTimeout(a,d)}),5)}(e,a,c):s?function(e,t,i){DiviArea.Debug.debug("Animate Area using a Divi Animation");var a=e.get();a.show(),a.css({opacity:0}),window.setTimeout((function(){a.css({opacity:""}),o(a,{offset:"100%",handler:function(){a.addClass("et-animated"),i()}},2)}),10)}(e,0,c):function(e,t,a){var r=e.get(),n=i(e,t);"show"===t?(DiviArea.Debug.debug("Animate Area using jQuery fadeIn",n),r.fadeIn(n,a)):"hide"===t&&(DiviArea.Debug.debug("Animate Area using jQuery fadeOut",n),r.fadeOut(n,a))}(e,a,c),d&&setTimeout((function(){return function(e,t){DiviArea.Debug.debug("Push content:",t);var a=e.getData("positionH"),n=e.getData("positionV"),o=i(e,t),s=e.getSize(),l="",d=0;"right"===a||"left"===a?(d=s.width,l=a):"top"!==n&&"bottom"!==n||(d=s.height,l=n);if(l){var c=e.applyFilters("push_fixed_elements_"+l,[],l);r(l,"show"===t?d:-1*d,o,c)}else DiviArea.Debug.debug("Could not determine edge to push",n,a)}(e,a)})),DiviArea.Debug.debug("Animate Area finished - animation might continue asynchronously")},DiviArea.UI.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 a=!1,r=et_animation_data[i];if(r&&(r.class&&e.hasClass(r.class)&&r.style&&r.repeat&&r.duration&&r.delay&&r.intensity&&r.starting_opacity&&r.speed_curve))return a=r.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),t[a]=r,et_animation_data[i].class=void 0,!0}return!1}}(jQuery),i=DiviArea.Debug=DiviArea.Debug||{},DiviArea.Hooks=DiviArea.Hooks||{},a=!1,r={},n=[],o=window.DiviAreaConfig,i.group=function(e){if(o.debug&&console.group){var t=!a||e&&e!==a;if(a&&(console.groupEnd(),a=!1),e&&t){var i=Array.prototype.slice.call(arguments);i.unshift("[DiviAreas]"),console.group.apply(this,i),a=e}}},i.profile=function(e,t){if(o.debug&&o.debugVerbose&&window.performance&&performance.now){var i=performance.now(),a=["[DiviAreas Timer]"];if(r[e]&&!0!==t){if(r[e]){var s=i-r[e],l=s.toFixed(4).padStart(8)+" ms";!1===t||void 0===t?(a.push("End |",e,"|",l),delete r[e],n.push({group:e,duration:l,value:s})):t&&a.push("Log |",e,"|",l,"|",t)}}else r[e]=i,a.push("Start |",e),t&&a.push("|",t);a.length>1&&console.log.apply(this,a)}},i.profileSummary=function(){if(o.debug&&o.debugVerbose)if(n.length){var e=n.reduce((function(e,t){return("number"==typeof e?e:0)+t.value}))/n.length;console.table(n),console.log("Average:",e.toFixed(4).padStart(8)+" ms /",n.length+" entries")}else console.log("No profile data collected yet")},i.table=function(){if(o.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)}},i.verbose=function(){if(o.debug&&o.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)}},i.debug=function(){if(o.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},i.info=function(){if(o.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),console.log.apply(this,e)}},i.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),console.error.apply(this,e)},i.sysInfo=function(){var e=["\n----------"];if(e.push("Please copy-paste this information into your support ticket:"),e.push("----------\n"),DiviArea.lib&&DiviArea.version&&e.push(" • js_api: "+DiviArea.lib+" "+DiviArea.version),window.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var t in DiviAreaConfig.sys)try{e.push(" • "+t+": "+" ".repeat(Math.max(0,11-t.length))+DiviAreaConfig.sys[t])}catch(e){}return e.push(" • browser: "+navigator.userAgent),e.push("\n----------\n"),e.join("\n")},function(){var e=DiviArea.Debug=DiviArea.Debug||{},t=DiviArea.Hooks=DiviArea.Hooks||{},i=!0,a={};a.silent=t.silent,a.removeFilter=t.removeFilter,a.removeAction=t.removeAction,a.applyFilters=t.applyFilters,a.doAction=t.doAction,a.addFilter=t.addFilter,a.addAction=t.addAction,a.addActionOnce=t.addActionOnce,t.silent=function(){return i=!1,a.silent.apply(this,arguments)},DiviArea.removeFilter=t.removeFilter=function(t){return i&&e.debug("Remove Filter:",t),i=!0,a.removeFilter.apply(this,arguments)},DiviArea.removeAction=t.removeAction=function(t){return i&&e.debug("Remove Action:",t),i=!0,a.removeAction.apply(this,arguments)},DiviArea.applyFilters=t.applyFilters=function(t){if(i){Array.isArray(t)||(t=[t]),e.info("📢️ Apply Filters:",t.join(" → "));for(var r=0;r<t.length;r++)e.debug(' ⚙ DiviArea.addFilter("'+t[r]+'", callback)')}return i=!0,a.applyFilters.apply(this,arguments)},DiviArea.doAction=t.doAction=function(t){if(i){Array.isArray(t)||(t=[t]),e.info("📢️ Do Action:",t.join(" → "));for(var r=0;r<t.length;r++)e.debug(' ⚙ DiviArea.addAction("'+t[r]+'", callback)')}return i=!0,a.doAction.apply(this,arguments)},DiviArea.addFilter=t.addFilter=function(t){return i&&e.debug("Add Filter:",t),i=!0,a.addFilter.apply(this,arguments)},DiviArea.addAction=t.addAction=function(t){return i&&e.debug("Add Action:",t),i=!0,a.addAction.apply(this,arguments)},DiviArea.addActionOnce=t.addActionOnce=function(t){return i&&e.debug("Add Action Once:",t),i=!0,a.addActionOnce.apply(this,arguments)}}(),DiviArea.openPopup=function(e){DiviArea.Debug.error("DiviArea.openPopup() is deprecated. Please use DiviArea.show() instead"),DiviArea.show(e)},DiviArea.openArea=function(e){DiviArea.Debug.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),DiviArea.show(e)},DiviArea.closePopup=function(e){DiviArea.Debug.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),DiviArea.hide(e)},DiviArea.closeArea=function(e){DiviArea.Debug.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),DiviArea.hide(e)},DiviArea.Data.configArea=function(e,t,i){DiviArea.Debug.error("DiviArea.configArea() is deprecated. Please use area.setData() instead");var a=DiviArea.getArea(e);if(a)if("object"!=typeof t)a.setData(t,i);else for(var r in t)t.hasOwnProperty(r)&&a.setData(r,t[r])},DiviArea.Hooks.silent().addAction("init_area",(function(e){DiviArea.Hooks.silent().doAction("init_area-"+e.theKey(),e)}),1),DiviArea.Hooks.silent().addAction("show_area",(function(e){DiviArea.Hooks.silent().doAction("show_area-"+e.theKey(),e)}),1),DiviArea.Hooks.silent().addAction("hide_area",(function(e){DiviArea.Hooks.silent().doAction("hide_area-"+e.theKey(),e)}),1),DiviArea.Hooks.silent().addAction("close_area",(function(e,t){e&&DiviArea.Hooks.silent().doAction("close_area-"+e.theKey(),e,t)}),1),DiviArea.Hooks.silent().addAction("blur_area",(function(e){DiviArea.Hooks.silent().doAction("blur_area-"+e.theKey(),e)}),1),DiviArea.Hooks.silent().addAction("focus_area",(function(e){DiviArea.Hooks.silent().doAction("focus_area-"+e.theKey(),e)}),1),DiviArea.Hooks.silent().addAction("before_show_area",(function(e,t){DiviArea.Hooks.silent().doAction("before_show_area-"+e.theKey(),e,t)}),1),DiviArea.Hooks.silent().addAction("before_hide_area",(function(e,t){DiviArea.Hooks.silent().doAction("before_hide_area-"+e.theKey(),e,t)}),1),DiviArea.Hooks.silent().addFilter("ignore_close_area",(function(e,t,i){return e=DiviArea.Hooks.silent().applyFilters("before_close_area",e,t,i),e=DiviArea.Hooks.silent().applyFilters("before_close_area-"+t.theKey(),e,t,i)}),1),DiviArea.Hooks.silent().addFilter("ignore_esc_key",(function(e){return e=DiviArea.Hooks.silent().applyFilters("esc_key_pressed",e)}),1),DiviArea.Hooks.silent().addAction("area_close_button",(function(e){e.addClass("evr-close_wrap"),e.find(">a").addClass("evr-close")}),1),DiviArea.Hooks.silent().addAction("area_wrap",(function(e){e.addClass("popup_outer_wrap")}),1),DiviArea.Hooks.silent().addAction("init_overlay",(function(e){e.addClass("evr_fb_popup_modal")}),1),DiviArea.Hooks.silent().addAction("refresh_area",(function(e){var t={notmobile:DiviArea.Utils.getOption("notMobileClass"),nottablet:DiviArea.Utils.getOption("notTabletClass"),notdesktop:DiviArea.Utils.getOption("notDesktopClass"),showclose:DiviArea.Utils.getOption("withCloseClass"),hideclose:DiviArea.Utils.getOption("noCloseClass"),closealt:DiviArea.Utils.getOption("altCloseClass"),ismodal:DiviArea.Utils.getOption("modalIndicatorClass"),noshadow:DiviArea.Utils.getOption("noShadowClass"),darkmode:DiviArea.Utils.getOption("darkModeClass"),singleton:DiviArea.Utils.getOption("singletonClass")};for(var i in t)e.getData(i)?e.addClass(t[i]):e.removeClass(t[i])}),1),DiviArea.listAreas=DiviArea.Data.getAllIds,DiviArea.configArea=DiviArea.Data.configArea,DiviArea.getArea=DiviArea.Data.getArea,DiviArea.init();return{}}();
|
1 |
+
var front=function(){"use strict";!function(e,t,i){var a=t.DiviArea=t.DiviArea||{},n=a.Utils=a.Utils||{},o=a.Debug=a.Debug||{},r=a.Hooks=a.Hooks||{},s=!1,l=null,d=null;function c(t,i,a){var n,o;for(Array.isArray(t)&&(t=e(t).map(e.fn.toArray)),t=e(t),i=i.split(/\s+/),n=0;n<t.length;n++)for(o=0;o<i.length;o++)a(t[n],i[o])}function p(e){var t=n.getOption("storageMethod").toString().toLowerCase();return"none"!==(t=(t=a.applyFilters("storage_method",t,e)).toString().toLowerCase().trim())&&"cookie"!==t&&"local"!==t&&(t="auto"),"auto"===t&&(t=window.localStorage?"local":"cookie"),t}n.getOption=function(e){var t=DiviAreaConfig[e],i=n.sanitizeHookName(e);return r.silent().applyFilters("get_option_"+i,t)},n.toBool=function(e,t){return void 0===t&&(t=!0),null==e?!!t:!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||!!t))},n.toMilliseconds=function(e){var t,i=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":t=1e3*i;break;case"ms":t=i;break;default:t=0}return t},n.sanitizeHookName=function(e){return e.toLowerCase().replace(/-/g,"_").replace(/[^a-z0-9_]+/,"")},n.showOnViewport=function(i){var a=e(t).innerWidth();return!i||!!(a<768?Array.isArray(i)?i[2]:i.getData("onmobile"):a<981?Array.isArray(i)?i[1]:i.getData("ontablet"):Array.isArray(i)?i[0]:i.getData("ondesktop"))},n.isPosition=function(e,t){var i=e.offsetParent();return"HTML"!==i.prop("tagName")&&(t===i.css("position")||n.isPosition(i,t))},n.setLocalData=function(e,t,i){e=e.replace(/^_da_/,""),(!i||isNaN(i)||i<1)&&(i=525600);var o=n.sanitizeHookName(e),r=p(e);if(t=a.applyFilters("set_data",t,e),t=a.applyFilters("set_data_"+o,t,e),i=a.applyFilters("set_data_expire",i,e,t),i=a.applyFilters("set_data_expire_"+o,i,e,t),!(!1===t||i<=0))if("local"===r){var s=new Date;s=s.setMinutes(s.getMinutes()+i),localStorage.setItem("_da_"+e,s+":"+t)}else"cookie"===r&&n.setCookie("_da_"+e,t,i)},n.getLocalData=function(e){var t="",i=p(e=e.replace(/^_da_/,""));if("local"===i){var o=localStorage.getItem("_da_"+e);if(o){var r=o.split(":"),s=parseInt(r.shift()),l=r.join(":");s>new Date?t=l:localStorage.removeItem("_da_"+e)}}else"cookie"===i&&(t=n.getCookie("_da_"+e));var d=n.sanitizeHookName(e);return t=a.applyFilters("get_data",t,e),t=a.applyFilters("get_data_"+d,t,e)},n.setCookie=function(e,t,a){var n=escape(t);if(a){var o=new Date;o.setMinutes(o.getMinutes()+a),n+="; expires="+o.toUTCString()}i.cookie=e+"="+n+"; path=/"},n.getCookie=function(e){var t,a,n,o=i.cookie.split(";");for(t=0;t<o.length;t++)if(a=o[t].substr(0,o[t].indexOf("=")),n=o[t].substr(o[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(n);return!1},n.getUrlParam=function(e){if(null===d){d={};var i=t.location.search.slice(1);if(i)for(var a=(i=i.split("#")[0]).split("&"),n=0;n<a.length;n++){var o=a[n].split("="),r=o[0],s=void 0===o[1]||o[1];if(r=r.toLowerCase(),"string"==typeof s&&(s=s.toLowerCase()),r.match(/\[(\d+)?\]$/)){var l=r.replace(/\[(\d+)?\]/,"");if(d[l]||(d[l]=[]),r.match(/\[\d+\]$/)){var c=/\[(\d+)\]/.exec(r)[1];d[l][c]=s}else d[l].push(s)}else d[r]?d[r]&&"string"==typeof d[r]?(d[r]=[d[r]],d[r].push(s)):d[r].push(s):d[r]=s}}return e?d[e]:Object.assign({},d)},n.getWindow=function(t){return e.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)},n.getClientRect=function(t){var i={top:0,left:0,width:0,height:0,bottom:0,right:0};if(0===t.length)return i;var a,o=(t=t[0]).ownerDocument,r=o.documentElement;if(!e.contains(r,t))return i;if(e.support.getBoundingClientRect){try{a=t.getBoundingClientRect()}catch(e){}if(!a)return i;if(a.right===a.left&&a.top===a.bottom)return i;var s=n.getWindow(o);i.top=a.top+(s.pageYOffset||r.scrollTop)-(r.clientTop||0),i.left=a.left+(s.pageXOffset||r.scrollLeft)-(r.clientLeft||0),i.width=a.right-a.left,i.height=a.bottom-a.top}else{if("none"===t.css("display"))return i;(i=t.offset()).width=t.outerWidth(),i.height=t.outerHeight()}return i.bottom=i.top+i.height,i.right=i.left+i.width,i},n.bindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},c(e,t,(function(e,t){e.addEventListener(t,i,a)}))},n.unbindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},c(e,t,(function(e,t){e.removeEventListener(t,i,a)}))},n.init=function(){var n,r={popupSelector:".et_pb_section.popup",fullHeightClass:"full-height",openPopupClass:"da-overlay-visible",overlayClass:"da-overlay",modalIndicatorClass:"is-modal",blockingIndicatorClass:"is-blocking",exitIndicatorClass:"on-exit",hoverTriggerClass:"on-hover",clickTriggerClass:"on-click",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",withLoaderClass:"with-loader",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"da-close",popupWrapperClass:"area-outer-wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e6,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,storageMethod:"auto",initializeOnEvent:"et_pb_after_init_modules"},l="";if(function(){try{var e={get passive(){return s=!0,!1}};t.addEventListener("test",null,e),t.removeEventListener("test",null,e)}catch(e){s=!1}}(),e.support.getBoundingClientRect="getBoundingClientRect"in i.documentElement,(n=t.DiviAreaConfig)&&"object"==typeof n||(n=r),t.DiviPopupData)for(l in DiviPopupData)DiviPopupData.hasOwnProperty(l)&&(n[l]=DiviPopupData[l]);for(l in r)void 0===n[l]&&(n[l]=r[l]);for(l in n)n.hasOwnProperty(l)&&n[l].replace&&(n[l]=n[l].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));n.zIndex=parseInt(n.zIndex.toString())||r.zIndex,n.onExitDelay=parseInt(n.onExitDelay.toString())||r.onExitDelay,n.animateSpeed=parseInt(n.animateSpeed.toString())||r.animateSpeed,n.debug=!!n.debug,n.defaultShowCloseButton=!!n.defaultShowCloseButton,(!n.triggerClassPrefix||n.triggerClassPrefix.length<3)&&(n.triggerClassPrefix=!1),"body"===n.baseContext&&(1===e("#et_builder_outer_content").length?(n.baseContext="#et_builder_outer_content",o.info("🎚 Divi plugin detected.","Inject Areas into #et_builder_outer_content")):1===e("body.et_divi_theme #page-container").length?(n.baseContext="#page-container",o.info("🎚 Divi theme detected.","Inject Areas into #page-container")):1===e(".et-db #et-boc").length&&(n.baseContext=".et-db #et-boc",o.info("🎚 Divi theme detected.","Inject Areas into #et-boc"))),"body"===n.baseContext||e(n.baseContext).length||(n.baseContext="body",o.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),t.DiviAreaConfig=t.DiviPopupData=a.applyFilters("init_options",n)},n.initErrorLogging=function(e){var i=function(e,t,i){if(!e[t]||!e[t].__dm_orig__){var a=e[t],n=void 0;for(var o in e[t]=function(){var e=!1;try{e=i.apply(this,arguments)}finally{!e&&a&&(n=a.apply(this,arguments))}return n},a)a.hasOwnProperty(o)&&(e[t][o]=a[o]);e[t].__dm_orig__=a}},n=function(){var e=arguments,i=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var n=0;n<arguments.length;n++)if("object"==typeof e[n]&&e[n]&&e[n].message&&e[n].stack){i=e[n];break}if(i){var o=[],r=i.stack.toString().split("\n");if(o.push("divimode.com Anonymized Error Report"),o.push("-".repeat(30)),o.push(i.name),i.message?o.push(i.message):o.push("-"),o.push(""),r&&r.length>1)for(var s=0;s<r.length;s++){var l=r[s];if(l.match(/(\/wp-includes\/|\/jquery\.js)/))break;l.match(/\.js/)&&(l=(l=(l=l.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),o.push(l))}if(a.info&&(o.push(""),o.push("js api:"+a.info)),t.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var d in o.push(""),DiviAreaConfig.sys)try{o.push(d+": "+DiviAreaConfig.sys[d])}catch(e){}o.push("-".repeat(30));var c=console.error.__dm_orig__||console.error;return console.log(""),c("✋ "+o.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",n),i(e.console,"error",n)},n.toPixel=function(e,a,n){if(l||((l={}).PPI=void 0,l.getPPI=function(){return l.PPI=l.PPI||l.getSizeBrutal("in",i.body),l.PPI},l.parseUnit=function(e){var t=[0,""];return e=String(e),t[0]=parseFloat(e,10),t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t},l.getPropertyInPx=function(e,t){var i=l.parseUnit(getComputedStyle(e).getPropertyValue(t));return i[0]*l.conversionFactor(i[1],e)},l.getSizeBrutal=function(e,t){var a=i.createElement("div");a.style.height="128"+e,t.appendChild(a);var n=l.getPropertyInPx(a,"height")/128;return t.removeChild(a),n},l.conversionFactor=function(e,a){switch(e=(e+""||"px").trim().toLowerCase()){case"%":return a.clientHeight/100;case"ch":case"ex":return l.getSizeBrutal(e,a);case"em":return l.getPropertyInPx(a,"font-size");case"rem":return l.getPropertyInPx(i.body,"font-size");case"vw":return t.innerWidth/100;case"vh":return t.innerHeight/100;case"vmin":return Math.min(t.innerWidth,t.innerHeight)/100;case"vmax":return Math.max(t.innerWidth,t.innerHeight)/100;case"in":return l.getPPI();case"cm":return l.getPPI()/2.54;case"mm":return l.getPPI()/25.4;case"pt":return l.getPPI()/72;case"pc":return l.getPPI()/6;case"px":return 1}return 0}),!e)return 0;if((n=n||i.body)!==t&&n!==i||(n=i.body),!isNaN(e)){if(a){var o=l.conversionFactor(a,n);return"number"==typeof o?e*o:0}return e}return 0},n.getStyleDef=function(e,t,i){var r,s,l="",d=!1,c=[],p=[],u="StyleDef "+t;if(o.profile(u,{el:e}),r=window.innerWidth<=980?window.innerWidth>767?"tablet":"phone":"desktop","string"==typeof e){var f=e.split(" "),h=a.getArea(f.shift());if(!h)return o.profile(u,!1),"";e=h.get(f.join(" "))[0]}if(e&&e instanceof jQuery&&(e=e.get(0)),!e||window.HTMLElement&&!e instanceof HTMLElement)return o.profile(u,!1),"";if(e.style&&""!==e.style[t])return o.profile(u,"Use inline style"),o.profile(u,!1),e.style[t];if(e._DAStyles||(e._DAStyles={}),!e._DAStyles[r])for(e._DAStyles[r]=[],o.profile(u,'Before "_getRelevantRules()"'),function(e){var t,i,a;for(s=0;s<document.styleSheets.length;s++)for(m(document.styleSheets[s]);t=c.shift();)if(t.styleSheet)m(t.styleSheet);else if(t.media)m(t);else if(t.selectorText)for(a=t.selectorText.split(","),i=0;i<a.length;i++)if(a[i]&&!(a[i].indexOf(":")>0)){try{if(!e.matches(a[i]))continue}catch(e){o.error("Invalid CSS rule",a[i]);continue}p.push(t);break}}(e),o.profile(u,'After "_getRelevantRules()"'),s=p.length-1;s>=0;s--)e._DAStyles[r].push({selectorText:p[s].selectorText,style:p[s].style});for(o.profile(u,"Start to evaluate relevant rules"),s=0;s<e._DAStyles[r].length;s++){var g=e._DAStyles[r][s];if((!i||!i.length||-1===i.indexOf(g.selectorText))&&""!==g.style[t]){var v=n.getCssSpecificity(g.selectorText,g.style[t]);n.compareCssSpecificity(v,d)>0&&(d=v,l=g.style[t])}}return o.profile(u,!1),l;function m(e){try{var t=e.media&&e.media.mediaText;if(e.disabled||t&&!window.matchMedia(t).matches)return;Array.prototype.unshift.apply(c,function(e){if(null==e)return[];try{return"function"==typeof Array.from?Array.from(e):[].slice.call(e)}catch(e){return[]}}(e.cssRules))}catch(e){}}},n.getCssSpecificity=function(e,t){var i=e.split(",");if(i.length>1){for(var a,o=[],r=0;r<i.length;r++)a=n.getCssSpecificity(i[r]),n.compareCssSpecificity(a,o)>0&&(o=a);return o}var s,l=e,d={a:0,b:0,c:0};function c(e,t){var i,a,n,o,r;if(e.test(l))for(a=0,n=(i=l.match(e)).length;a<n;a+=1)d[t]+=1,o=i[a],l.indexOf(o),r=o.length,l=l.replace(o,Array(r+1).join(" "))}function p(e){var t,i,a,n;if(e.test(l))for(i=0,a=(t=l.match(e)).length;i<a;i+=1)n=t[i],l=l.replace(n,Array(n.length+1).join("A"))}s="string"==typeof t&&t.indexOf("!important")>0;p(/\\[0-9A-Fa-f]{6}\s?/g),p(/\\[0-9A-Fa-f]{1,5}\s/g),p(/\\./g);var u=/{[^]*/gm;if(u.test(l))for(var f=l.match(u),h=0,g=f.length;h<g;h+=1)l=l.replace(f[h],Array(f[h].length+1).join(" "));return c(/(\[[^\]]+\])/g,"b"),c(/(#[^#\s\+>~\.\[:\)]+)/g,"a"),c(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),c(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),c(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),c(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),l=(l=(l=(l=(l=(l=l.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),c(/([^\s\+>~\.\[:]+)/g,"c"),[s?1:0,d.a,d.b,d.c]},n.compareCssSpecificity=function(e,t){for(var i=0;i<4;i+=1){var a=parseInt(isNaN(e[i])?0:e[i]),n=parseInt(isNaN(t[i])?0:t[i]);if(a<n)return-1;if(a>n)return 1}return 0}}(jQuery,window,document),window.DiviAreaItem=function(e,t){var i,a,n,o,r,s,l,d=jQuery,c=DiviArea.Core,p=DiviArea.Utils,u=DiviArea.Debug,f=this,h=window.ResizeObserver||window.WebKitResizeObserver,g=d(e),v={},m={hideclose:!1,showclose:!0,notmobile:!1,onmobile:!0,nottablet:!1,ontablet:!0,notdesktop:!1,ondesktop:!0,closealt:!1,notmodal:!0,ismodal:!1,notblocking:!1,isblocking:!1,triggerexit:!1,shadow:!0,noshadow:!1,darkmode:!1,singleton:!1,static:!1,withloader:!1,pushcontent:!1},b={hideclose:"showclose",notdesktop:"ondesktop",notmobile:"onmobile",notmodal:"ismodal",notblocking:"isblocking",nottablet:"ontablet",shadow:"noshadow",dynamic:"static"},y=null,A=null,_=0,w=null,D=null,C=null,k={};function x(){for(var e in i=g.attr("id"),a=p.sanitizeHookName(i),n=z(t),o=g.closest(document.documentElement).length,r=o&&g[0].getClientRects().length,s={},l=!1,u.debug("Area Type",f.theType()),u.debug("Area ID",f.theId()),u.debug("Area Hook",f.theKey()),E(g),f.setData("zIndex",0),f.setData("container",d("body")),f.setData("hasShowAnim",!0),f.setData("position","center-center"),f.setData("positionV","center"),f.setData("positionH","center"),f.setData("overflow","clip"),f.setData("size","auto"),f.setData("animationSpeedIn",p.getOption("animateSpeed")),f.setData("animationSpeedOut",p.getOption("animateSpeed")),m)void 0!==g.data("da-"+e)?(f.setData(p.toBool(g.data("da-"+e))),g.removeAttr("data-da-"+e)):void 0!==g.data(e)?(f.setData(p.toBool(g.data(e))),g.removeAttr("data-"+e)):f.setData(e,m[e]);var c={};for(var v in c[p.getOption("notMobileClass")]=["onmobile",!1],c[p.getOption("notTabletClass")]=["ontablet",!1],c[p.getOption("notDesktopClass")]=["ondesktop",!1],c[p.getOption("noCloseClass")]=["showclose",!1],c[p.getOption("withCloseClass")]=["showclose",!0],c[p.getOption("altCloseClass")]=["closealt",!0],c[p.getOption("modalIndicatorClass")]=["ismodal",!0],c[p.getOption("blockingIndicatorClass")]=["isblocking",!0],c[p.getOption("exitIndicatorClass")]=["triggerexit",!0],c[p.getOption("noShadowClass")]=["noshadow",!0],c[p.getOption("darkModeClass")]=["darkmode",!0],c[p.getOption("singletonClass")]=["singleton",!0],c[p.getOption("withLoaderClass")]=["withloader",!0],c)if(g.hasClass(v)){var b=c[v];f.setData(b[0],b[1]),g.removeClass(v)}DiviArea.UI.initializeAreaAnimation(f),S(),H(),I(),h&&(w=new h((function(){var e=g[0].scrollHeight-g[0].clientHeight;e>0&&e-g[0].scrollTop<1&&(g[0].scrollTop-=1),s.width=0,s.height=0,s.contentWidth=0,s.contentHeight=0,j("resize",V)}),{box:"border-box"}),D=new h((function(){s.wrapperWidth=0,s.wrapperHeight=0,j("resize",V)}),{box:"border-box"})),g.on("resize",(function(){return j("resize",V)})),y.on("resize",(function(){return j("resize",V)}))}function I(){g.attr("data-da-area",i),y.attr("data-da-area",i),y.attr("data-da-registered",1),y.attr("data-da-type",f.theType()),y.attr("data-da-close-btn",f.getData("showclose")?"yes":"no"),y.attr("data-da-close-bg",f.getData("closeAlt")?"none":"solid"),y.attr("data-da-loader",f.getData("withLoader")?"yes":"no"),y.attr("data-da-shadow",f.getData("shadow")?"yes":"no"),y.attr("data-da-color",f.getData("darkMode")?"dark":"light"),y.attr("data-da-overflow",f.getData("overflow")),y.attr("data-da-size",f.getData("size"));var e=f.getData("wrapClasses");e&&y.addClass(e),j("position",f.setPosition),f.doAction("refresh_area")}function O(){if(f.isVisible()){g.find("."+p.getOption("closeButtonClass")).off(".da");var e=function(e,t){return u.debug("Click on",t,"close-button"),f.doAction("close_area",f,t),e.preventDefault(),!1};y.find("div ."+p.getOption("triggerCloseClass")).off(".da").on("click.da",(function(t){return e(t,"custom")})),A.find("a").off(".da").on("click.da",(function(t){return e(t,"default")})),d(window).on("resize",N),f.addAction("close_area",F)}else y.find("div ."+p.getOption("triggerCloseClass")).off(".da"),A.find("a").off(".da"),d(window).off("resize",N),f.removeAction("close_area")}function P(e){f.isVisible()?f.getData("hasShowAnim")?(u.info("✨ Animate the area (show)",f.theId()),DiviArea.UI.animateArea(f,"show",(function(){return function(e){f.getData("showclose")&&(u.debug("Show the default close button"),A.show()),e()}(e)}))):e():f.getData("hasShowAnim")?(A.hide(),u.info("✨ Animate the area (hide)",f.theId()),DiviArea.UI.animateArea(f,"hide",e)):e()}function H(){if(!A){var e=p.getOption("closeButtonClass"),t=e+"-wrap";A=d("<span>").addClass(t).appendTo(y),d("<a>").attr("href","#close").addClass(e).html("×").appendTo(A),A.hide(),f.doAction("area_close_button",A,f)}}function S(){if(!y){var e=p.getOption("popupWrapperClass");(y=g.parent()).hasClass(e)||(g.wrap("<div>"),(y=g.parent()).addClass(e)),y.detach().appendTo("body"),E(y),f.doAction("area_wrap",y,f)}}function T(){var e=this;_&&clearTimeout(_),_=setTimeout((function(){_=0,e.inDom()&&I()}),20)}function z(e){return e.toLowerCase().trim().replace(/-/,"")}function F(e,t){var i=this,a=!1;if(a=i.applyFilters("ignore_close_area",a,i,t))return u.debug("Ignored, manually cancelled in filter"),!0;DiviArea.hide(i)}function N(){s.windowWidth=0,s.windowHeight=0,s.wrapperWidth=0,s.wrapperHeight=0,j("resize",V)}function V(){if(f.isVisible()){var e=f.getSize(),t=[e.width,e.height,e.contentWidth,e.contentHeight,e.windowWidth,e.windowHeight].join("-");if(v._resizeState!==t){if(v._resizeState=t,A.css({width:e.width,height:e.height}),(f.isType("popup")||f.isType("flyin"))&&"show"!==f.getData("overflow")&&"full-height"!==f.getData("size")&&"full-screen"!==f.getData("size")){var i="auto"===f.getData("size")?20:0;if(y.attr("data-da-size-full-height"))e.windowHeight-e.contentHeight>=i&&(y.removeAttr("data-da-size-full-height"),y.removeClass(p.getOption("fullHeightClass")));else e.windowHeight-e.contentHeight<i&&(y.attr("data-da-size-full-height",1),y.addClass(p.getOption("fullHeightClass")))}j("position",f.setPosition)}}}function M(e,t){var i,a="";if(t||""===(a=p.getStyleDef(y[0],e))&&(a=p.getStyleDef(g[0],e)),""===a){var n=y.find(".et_pb_section");for(i=0;i<n.length&&!a;i++)a=p.getStyleDef(n[i],e,['[class*="et_pb_section_dap_"]'])}return a}function W(){var e=M("width",!1),t=M("max-width",!0);e&&"auto"!==e||(f.isType("popup")||y.css("width","100%"),g.css("width","100%")),t&&g.css("max-width",t)}function j(e,t){var i=this;k[e]||(k[e]=window.setTimeout((function(){k[e]=!1,t.apply(i)}),4))}function E(e){e.data("isArea",!0),e.data("area",f),e.data("areaConfig",v),e.getArea=function(){return f},e[0].DiviAreaItem=f,e[0].DiviAreaConfig=v}function L(){}this.theId=function(){return"#"+i},this.theKey=function(){return a},this.hasId=function(e){e=e.replace(/^#/,"",e);var t=DiviArea.Data.getRealId(e);return t||(t=DiviArea.Data.getRealId("divi-area-"+e)),!(!t||t!==this.theId())},this.theType=function(){return n},this.isType=function(e){if(!e)return!0;if("string"!=typeof e)throw new Error("DiviAreaItem.isType() expects a string parameter. Given value is a "+typeof e);if((e=z(e))===n)return!0;if("any"===e||"all"===e)return!0;for(var t=0===e.indexOf("not:"),i=e.replace(/^not:\s*/,"").split(/\s*,\s*/),a=0;a<i.length;a++)if(i[a]===n)return!t;return t},this.show=function(){DiviArea.show(this)},this.hide=function(){DiviArea.hide(this)},this.get=function(e){return e?d(e,g):g},this.getWrap=function(){return y},this.getCloseButton=function(){return A},this.focus=function(){var e=p.getOption("activePopupClass");c.activateContainer(g),f.hasClass(e)||(f.addClass(e),f.doAction("focus_area"))},this.blur=function(){var e=p.getOption("activePopupClass");c.deactivateContainer(g),f.hasClass(e)&&(f.removeClass(e),f.doAction("blur_area"))},this.attach=function(){if(T(),f.isPrepared(!0)||(r=!1),f.inDom()&&f.isVisible())return f;o=!0;var e=f.findHook();return g.hide(),e?("replace"===e.position&&!0===e.target.data("isArea")?(e.target.blur(),e.target.data("area").detach(!1),e=f.findHook()):"before"===e.position&&(e.target=e.target.prev()),e.target.after(y.detach()),y.attr("data-inline-pos",e.position),"replace"===e.position&&(C=e.target.detach())):y.detach().appendTo(f.getData("container")),y.closest("#et-boc").length||(y.wrap('<div id="et-boc" class="dynamic">'),y.wrap('<div class="et-l dynamic">')),j("position",f.setPosition),f.setVisible(!0,(function(){if(u.debug("Prepare Size-Observer and position the Area"),w){var e=p.getOption("closeButtonClass")+"-wrap";g.children().each((function(t,i){-1===i.className.indexOf(e)&&w.observe(i)})),w.observe(g[0]),D.observe(y[0])}j("position",f.setPosition),u.debug("Area.attach() is completed for Area",f.theId())})),f},this.detach=function(e){if(void 0===e&&(e=!0),f.isPrepared()&&!f.inDom())return f;return f.isPrepared(!0)||(r=!0),w&&w.disconnect(),D&&D.disconnect(),f.setVisible(!1,(function(){u.debug("Remove Area from DOM",f.theId());var e=y.parent();C&&(y.after(C),C=null),g.hide(),y.detach(),y.removeAttr("data-inline-pos"),e.hasClass("dynamic")&&!e.children().length&&e.parent().remove(),u.debug("Area.detach() is completed for Area",f.theId())}),e),f},this.findHook=function(){var e='[data-area-hook="'+f.getData("hookid")+'"]',t=d(e);return!!t.length&&{position:t.data("area-place"),target:t.nextAll(':not([data-area-hook]):not([data-inline-pos="before"]):not([data-inline-pos="after"])').first()}},this.setVisible=function(e,t,a){if(void 0===a&&(a=!0),e=!!e,f.isPrepared()&&f.isVisible()===e)return f;"function"!=typeof t&&(t=L),r=e;var n=e?"Show":"Hide";return O(),a&&f.isPrepared()?(u.debug(n+" the prepared Area: Trigger animation",i),P(t)):(u.debug(n+" the Area without animation",i),t()),f.isVisible()?(W(),f.doAction("show_area")):f.doAction("hide_area"),f},this.setPosition=function(){var e={},t={};if(!f.isVisible()||!f.inDom())return f;if(f.getData("maxheight")&&(e.overflow="auto",e.maxHeight="100%",t.maxHeight=f.getData("maxheight")),f.getData("maxwidth")&&(e.maxWidth="100%",t.maxWidth=f.getData("maxwidth")),t.zIndex=f.getData("zindex"),f.doAction("resize_area"),f.isType("inline")||f.isType("hover"))y.removeAttr("data-da-position"),y.removeAttr("data-da-position-h"),y.removeAttr("data-da-position-v");else{var i=f.getData("positionh"),a=f.getData("positionv"),n=f.getData("size"),o=f.getSize(),r={minX:0,minY:0,maxX:o.windowWidth,maxY:o.windowHeight};if(y.attr("data-da-position",f.getData("position")),y.attr("data-da-position-h",i),y.attr("data-da-position-v",a),f.isType("flyin")&&(r.minY=parseInt(d("html").css("margin-top"))),f.doAction("position_boundary",r,f),r.minX>r.maxX){var s=r.maxX;r.maxX=r.minX,r.minX=s}if(r.minY>r.maxY){var l=r.maxY;r.maxY=r.minY,r.minY=l}if("full-width"===n||"full-screen"===n)t.left=r.minX,t.right=r.maxX,t.width="auto";else switch(i){case"left":t.left=r.minX;break;case"right":t.right=parseInt(o.windowWidth-r.maxX);break;case"center":t.left=parseInt(r.minX+(r.maxX-r.minX-o.wrapperWidth)/2)}if("full-height"===n||"full-screen"===n)t.top=r.minY,t.bottom=r.maxY,t.height="auto";else if(!y.attr("data-da-size-full-height"))switch(a){case"top":t.top=r.minY;break;case"bottom":t.bottom=parseInt(o.windowHeight-r.maxY);break;case"center":t.top=parseInt(r.minY+(r.maxY-r.minY-o.wrapperHeight)/2)}f.doAction("position_area",t,e,f)}return g.css(e),y.css(t),f},this.setTriggerEvent=function(t){var i=!1;return t&&(f.setData("event",t),t.currentTarget?i=t.currentTarget:t instanceof jQuery?i=t.first():window.HTMLElement&&e instanceof window.HTMLElement&&(i=d(t))),f.setData("attachto",i),u.debug("Attached to element:",i||"(none)"),f},this.isVisible=function(){return r},this.inDom=function(){return o},this.isPrepared=function(e){void 0===e&&(e=!1);var t=l;return!l&&e&&(o=!0,l=!0),t},this.getSize=function(){var e=f.isVisible();if(s&&void 0!==s.width||(s={}),s.width||(s.width=e?g[0].clientWidth:0),s.height||(s.height=e?g[0].clientHeight:0),s.contentWidth||(s.contentWidth=e?g[0].scrollWidth:0),!s.contentHeight&&(s.contentHeight=0,e))if(g.hasClass("et_pb_section")){var t=window.getComputedStyle(g[0]);s.contentHeight+=parseInt(t["border-top-width"]),s.contentHeight+=parseInt(t["padding-top"]),s.contentHeight+=parseInt(t["padding-bottom"]),s.contentHeight+=parseInt(t["border-bottom-width"]),g.children().each((function(){s.contentHeight+=this.offsetHeight}))}else s.contentHeight=g[0].scrollHeight;return s.wrapperWidth||(s.wrapperWidth=e?y[0].offsetWidth:0),s.wrapperHeight||(s.wrapperHeight=e?y[0].offsetHeight:0),s.windowWidth||(s.windowWidth=window.innerWidth),s.windowHeight||(s.windowHeight=window.innerHeight),s},this.getData=function(e){var t;return e?(e=e.toLowerCase().replace(/[^a-z0-9]/,""),b.hasOwnProperty(e)?(e=b[e],t=!v[e]):t=v[e]):t=Object.keys(v).filter((function(e){return"string"==typeof e&&"_"!==e[0]})).reduce((function(e,t){return e[t]=v[t],e}),{}),t},this.setData=function(e,t){if(void 0===t)return this;if(e=e.toLowerCase().replace(/[^a-z0-9]/,""),m.hasOwnProperty(e))t=p.toBool(t,m[e]),b.hasOwnProperty(e)&&(e=b[e],t=!t);else switch(e){case"fixzindex":case"zindex":t=parseInt(t);break;case"closedelay":t=parseFloat(t);break;case"position":-1!==t.indexOf("top")?v.positionv="top":-1!==t.indexOf("bottom")?v.positionv="bottom":v.positionv="center",-1!==t.indexOf("left")?v.positionh="left":-1!==t.indexOf("right")?v.positionh="right":v.positionh="center",t=v.positionv+"-"+v.positionh;break;case"positionh":if("left"!==t&&"right"!==t&&"center"!==t)return f;break;case"positionv":if("top"!==t&&"bottom"!==t&&"center"!==t)return f;break;case"container":(t=d(t).first()).length||(t=d("body"));break;case"attachto":t=d(t).first()}switch(v[e]=t,e){case"positionh":case"positionv":v.position=v.positionv+"-"+v.positionh}return T(),f},this.doAction=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];t.length||(t=[f]),DiviArea.doAction.apply(DiviArea,[[e,e+"_"+f.theKey()]].concat(t))},this.applyFilters=function(e,t){for(var i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return i.length||(i=[f]),DiviArea.applyFilters.apply(DiviArea,[[e,e+"_"+f.theKey()],t].concat(i))},this.addFilter=function(e,t,i,a){DiviArea.addFilter(e+"_"+f.theKey(),t,i,a)},this.addAction=function(e,t,i,a){DiviArea.addAction(e+"_"+f.theKey(),t,i,a)},this.removeFilter=function(e,t){DiviArea.removeFilter(e+"_"+f.theKey(),t)},this.removeAction=function(e,t){DiviArea.removeAction(e+"_"+f.theKey(),t)},this.addActionOnce=function(e,t,i,a){DiviArea.addActionOnce(e+"_"+f.theKey(),t,i,a)},this.hasClass=g.hasClass.bind(g),this.addClass=g.addClass.bind(g),this.removeClass=g.removeClass.bind(g),this.attr=g.attr.bind(g),this.removeAttr=g.removeAttr.bind(g),this.find=g.find.bind(g),this.css=g.css.bind(g),function(e){for(var t in x=x.bind(e),I=I.bind(e),O=O.bind(e),P=P.bind(e),T=T.bind(e),S=S.bind(e),H=H.bind(e),F=F.bind(e),N=N.bind(e),V=V.bind(e),M=M.bind(e),W=W.bind(e),j=j.bind(e),E=E.bind(e),e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=e[t].bind(e))}(f),x()};var e,t,i,a,n,o,r,s={isPro:!1,version:"2.3.6",lib:"DiviPopup",app:"Popups for Divi",_notice:"You can disable the debug output by disabling WP_DEBUG"};e=jQuery,t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Debug=t.Debug||{},o=t.Data=t.Data||{},r=0,t.init=function(){var e=s;for(var o in e)e.hasOwnProperty(o)&&!this.hasOwnProperty(o)&&"_"!==o[0]&&(this[o]=e[o]);this.info=this.lib+"-"+this.version,this.loaded=!0,n.info("🚀 Initialize "+this.app,"- JS API:",this.info),n.info("ℹ️",e._notice),n.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),a.init(),t.UI.init(),i.smartInit()},t.markClosed=function(e,i){var o=t.getArea(e);o&&(e=o.theId()),e=e.replace(/^#/,""),a.getOption("debug")&&n.info("📌 Mark Area as closed for "+i+" minutes:",e),a.setLocalData(e,"1",i)},t.isClosed=function(e){var i=t.getArea(e);i&&(e=i.theId()),e=e.replace(/^#/,"");var r=a.getLocalData(e);if(a.getOption("debug")){var s=o.sanitizeId(e);"1"===r?n.info("📌 Area is still closed:",s):n.info("📌 Area is not closed:",s)}return"1"===r},t.register=function(a,s,l,d){var c;if(void 0===s&&(s={}),void 0===l&&(l=!1),"string"!=typeof a||e(a).length||(a=o.sanitizeId(a)),a&&(c=e(a)),!c||1!==c.length)return n.error("Cannot find the Area element:",a),!1;var p=t.getArea(a);if(p)return p;if("string"!=typeof a&&((a=c.attr("id"))&&!t.getArea(a)||(a=c.data("id")),a&&!t.getArea(a)||(a="dynamic-area-"+ ++r),c.attr("id",a)),c.length&&s.selector&&(c=c.filter(s.selector),delete s.selector),!c.length)return n.error("Cannot find the Area element:",a),!1;if(c.length>1)return n.error("Multiple matching elements found, but require exactly one:",a,c),!1;if("function"!=typeof l||d||(d=l,l=!1),!l){if(c.data("da-type"))l=c.data("da-type"),c.removeAttr("data-da-type");else if(c.data("type"))l=c.data("type"),c.removeAttr("data-type");else for(var u=c[0].className.split(/\s+/),f=0;f<u.length;f++)if(0===u[f].indexOf("divi-area-type-")){l=u[f].replace("divi-area-type-",""),c.removeClass(u[f]);break}if(!l)return n.error("Cannot determine the type for this Area",a,c),!1}if(n.group("Register Area | "+l+" | "+a),s.areaHook&&s.hookId&&"inline"===l){var h=e(s.areaHook).first();if(h.length){var g=e("<span>");g.attr("data-area-hook",s.hookId),g.attr("data-area-place",s.areaPlace),h.before(g)}else n.error("Inline hook not found:",s.areaHook)}var v=o.createArea(c,l,a);return s.alternateid?o.addAltId(v.theId(),s.alternateid):s.alternateId?o.addAltId(v.theId(),s.alternateId):s.ids&&o.addAltId(v.theId(),s.ids),delete s.alternateid,delete s.alternateId,delete s.ids,Object.keys(s).forEach((function(e){v.setData(e,s[e])})),v.setData("wrapClasses","et-l entry-content"),v.setData("container",i.getContext()),v.applyFilters("pre_init_area",!1)||(v.isType("inline")&&v.getData("static")?(i.initContainer(v),t.show(a,"static")):v.detach()),n.info("➕ Registered new area:",a,"("+l+")"),n.group(),"function"==typeof d&&d(v),v.doAction("init_area"),v},t.show=function(e,o){if(!e)return!1;var r=t.getArea(e);return r?a.showOnViewport(r)?(n.group("Show area",r.theId()),r.setData("hasShowAnim",!r.isVisible()),r.setTriggerEvent(o),r.isType("hover")&&i.setupHoverArea(r),i.attachArea(r),i.reOrderAreas(),n.group(),!0):(n.debug("Do not trigger area on this device:",r.theId()),!1):(n.error("Could not find an area with the ID:",e),!1)},t.hide=function(e){var t=o.getVisibleArea(e);t&&(t.setData("hasShowAnim",!0),t.setData("event",void 0),n.debug("Close area and unlink event handlers:",t.theId()),i.detachArea(t)),i.reOrderAreas()},function(e,t,i){var a=t.DiviArea||{},n=a.Core=a.Core||{},o=a.Utils=a.Utils||{},r=a.Debug=a.Debug||{},s=t.ResizeObserver||t.WebKitResizeObserver,l=null,d=!1,c=!1,p=e("body");function u(e,t){n.isArea(e)||(e=a.Data.getVisibleArea())&&(r.debug("Close the top-most area"),e.doAction("close_area",e,"default"))}function f(e){if(27===e.keyCode)return function(){r.info("⚡️ ESC-key pressed");var e=!1,t=a.Data.getVisibleArea(null,"popup");return t?(e=t.getData("isblocking"),(e=a.applyFilters("ignore_esc_key",e))?(r.debug("Ignored, manually cancelled in filter"),!0):(r.debug("Close top-most popup"),a.doAction("close_area",null,"esc"),!1)):(r.debug("Ignored, no popup is visible"),!0)}()}function h(){var e,t=["popup","flyin","inline"];function i(t,i){e||t.getData("triggerexit")&&(a.isClosed(i)?t.setData("triggerexit",!1):a.show(i,"exit")&&(t.setData("triggerexit",!1),e=!0))}for(var n in t)e=!1,a.Data.loopAllAreas(i,t[n])}function g(e,t){var i=[];if(t.isType("popup")&&"show"===e&&t.getData("singleton")&&(a.Data.loopVisibleAreas("popup",(function(e){e.theId()!==t.theId()&&i.push(e.theId())})),r.debug("Singleton Popup detected. Close all open Popups:",i)),"hide"===e?t.doAction("before_hide_area",t,i):t.doAction("before_show_area",t,i),i.length)for(var o in r.debug("Hide following areas:",i),i){var s=a.getArea(i[o]);s&&s.inDom()&&n.detachArea(s)}}function v(t,i){var n;if(n=a.Data.sanitizeId(i))if(t.attr("data-area-id"))r.debug("Trigger already prepared",t[0]);else if(a.getArea(n)){var s=o.getOption("hoverTriggerClass"),l=o.getOption("clickTriggerClass");t.attr("data-area-id",n),t.addClass("popup-trigger"),t.off("click"),t.hasClass(s)&&(t.on("mouseenter._da",d),r.debug("Prepared Hover trigger to open this area:",n,t[0])),t.hasClass(s)&&!t.hasClass(l)||(t.on("click._da",d),r.debug("Prepared Click trigger to open this area:",n,t[0]))}else r.debug("Ignore trigger. No area found with this ID:",t[0]);else r.debug("Ignore trigger. Invalid target ID:",i,t[0]);function d(t){var i=e(t.target);return!("A"!==i.prop("tagName")||!i.attr("href").length||i.attr("data-area-id"))||(t.preventDefault(),t.stopImmediatePropagation(),r.debug("Trigger area:",n),a.show(n,t),!1)}}function m(i,a){void 0===a&&(a=0),t.recaptcha_test=i;var n=t.grecaptcha,o=t.__recaptcha_api;if(n&&i&&i.length)if(o&&n.render&&n.execute){var s=((e('script[src*="google.com/recaptcha/api.js"]').attr("src")||"").split("?")[1]||"").split("&");try{var l=p("onload"),d=p("render"),c=t.etCore&&etme.api&&etme.api.spam&&etme.api.spam.recaptcha&&etme.api.spam.recaptcha.isEnabled&&etme.api.spam.recaptcha.isEnabled()?etme.api.spam.recaptcha:null;c&&i.find(".et_pb_recaptcha_enabled").length&&c.init(),l&&"function"==typeof t[l]&&t[l](),i.find("form [data-sitekey]").length>0&&i.find("form").each((function(){var i=e(this),a=i.find("[data-sitekey]");if(a.length&&!i.find('iframe[src*="/recaptcha/"]').length){var o={sitekey:a.attr("data-sitekey"),type:a.attr("data-type"),size:a.attr("data-size"),theme:a.attr("data-theme"),badge:a.attr("data-badge"),tabindex:a.attr("data-tabindex")},r=a.attr("data-callback"),s=a.attr("data-expired-callback");r&&"function"==typeof t[r]&&(o.callback=t[r]),s&&"function"==typeof t[s]&&(o["expired-callback"]=t[s]);var l=n.render(a[0],o);t.recaptchaWidgets&&recaptchaWidgets.push(l)}})),d.length>10&&n.execute(d,{action:"homepage"}).then((function(e){i.find('form [name="g-recaptcha-response"]').val(e)}))}catch(e){r.debug("ReCaptcha init failed:",e)}}else a<5&&(isNaN(a)&&(a=0),setTimeout((function(){return m(i,a+1)}),250));function p(e){var t=s.filter((function(t){return 0===t.indexOf(e+"=")}))[0];return t=t?t.replace(/^.*?=/,""):""}}function b(t){var i=e(t.target).closest("[data-da-type][data-da-registered]"),a=o.getOption("fullHeightClass");return!(!i.length||!i.hasClass(a)&&"show"!==i.attr("data-da-overflow"))||(t.preventDefault(),t.stopPropagation(),!1)}n.smartInit=function(){var r=o.getOption("initializeOnEvent");function s(){d||setTimeout(n.init,1)}r?(e(t).add(i).one(r,(function(){setTimeout(n.init,1)})),t.addEventListener("error",s),a.addAction("load",(function(){t.removeEventListener("error",s)})),setTimeout(n.init,350)):setTimeout(n.init,1)},n.init=function(){d||(d=!0,r.debug("Initialize the app"),a.doAction("load"),(l=e(o.getOption("baseContext")).filter(":visible").first()).length?(l.closest("#et-boc").length||(l.append('<div id="et-boc" class="dm-base-context"><div class="et-l"></div></div></div>'),l=l.find(".dm-base-context#et-boc .et-l").first()),r.debug('Base context "'+o.getOption("baseContext")+'" found',l)):r.error('Could not find the popup container "'+o.getOption("baseContext")+'"'),function(){var t=e(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!t.length)return;t.parent().css({minHeight:t.outerHeight()})}(),setTimeout((function(){e(t).on("mouseleave.da",(function(e){var n;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(n=Math.max(i.documentElement.clientWidth,t.innerWidth||0),e.clientX>=n-50||e.clientY>=50||e.toElement||e.relatedTarget||(r.info("⚡️ Exit-intent detected (mouse leave)"),a.doAction("exit_intent","mouse-leave")))})),a.addAction("exit_intent",h)}),o.getOption("onExitDelay")),a.addAction("ready",(function(){a.addAction("close_area",u),function(e){var i=t.MutationObserver||t.WebKitMutationObserver,a=t.addEventListener,o=n.getContext(),s=!1;function l(){s||(s=setTimeout((function(){s=!1,r.debug("DOM changed"),e()}),50))}if(i){new i((function(e){if(e[0].addedNodes.length||e[0].removedNodes.length)return l()})).observe(o[0],{childList:!0,subtree:!0})}else a&&(o.addEventListener("DOMNodeInserted",l,!1),o.addEventListener("DOMNodeRemoved",l,!1))}(n.activateContainer),e(i).on("keyup",f)}),1),a.addAction("ready",(function(){n.activateContainer()}),9),a.doAction("ready"),"function"==typeof t.et_pb_side_nav_page_init&&(e(t).off("scroll",et_pb_window_side_nav_scroll_init),e("#main-content .et_pb_side_nav").off("click",".et_pb_side_nav a").remove(),et_pb_side_nav_page_init()))},n.isArea=function(e){return e&&e instanceof DiviAreaItem},n.getContext=function(){return l},n.reOrderAreas=function(){var e=a.Data.countVisibleAreas("popup"),t=a.Data.countVisibleAreas("flyin"),i=a.Data.countVisibleAreas("hover");if(e?p.addClass("da-popup-visible"):(a.hideOverlay(),p.removeClass("da-popup-visible")),t?p.addClass("da-flyin-visible"):p.removeClass("da-flyin-visible"),i?p.addClass("da-hover-visible"):p.removeClass("da-hover-visible"),a.Data.countVisibleAreas()){var n=o.getOption("zIndex"),s=a.Data.countVisibleAreas("not: inline"),l=a.Data.countVisibleAreas("popup"),d=[],c=0,u=0,f={};if(r.debug("Refresh the z-index of visible areas"),a.Data.loopVisibleAreas("not:inline",(function(e){return e.blur()})),a.Data.getVisibleArea().focus(),a.Data.loopVisibleAreas("not: inline",(function(e){var t,i=e.getData("fixZIndex");e.isType("popup")?(u++,t=n+s-l+u,e.hasClass(o.getOption("activePopupClass"))&&(f.overlay=t,t+=1)):(c++,t=n+c),isNaN(i)||(t=i),f[e.theId()]=t})),(f=a.applyFilters("reorder_areas",f)).overlay&&!isNaN(f.overlay)){var h=a.showOverlay(f.overlay);d.push({id:"-",type:"overlay","z-index":h})}for(var g in f)f.hasOwnProperty(g)&&v(g);r.info("👓 List of visible Areas:"),r.table(d)}function v(e){if("overlay"!==e){var t=a.getArea(e);if(t){var i=t.applyFilters("apply_z_index",f[e],t);i&&!isNaN(i)&&t.setData("zindex",i),t.isType("popup")&&t.attach(),d.push({id:t.theId(),type:t.theType(),"z-index":t.getData("zindex")||null})}}}},n.activateContainer=function(i){var s,l,d=!i?"document":"the Area #"+i.attr("id");if(void 0===i?i=p:n.isArea(i)&&(i=i.get()),function(t){t.find(o.getOption("popupSelector")).not("[data-da-area]").filter("[id],."+o.getOption("exitIndicatorClass")).each((function(){var t=e(this);r.debug("Found an inline Popup Area:",t.attr("id")),a.register(t,{},"popup")}))}(i),(l=function(i,a){var n,o,r,s=[];if(!i.ids||!i.ids.length)return[];function l(t,i){var a;for(a=0;a<i.length;a++){var n=e(i[a]);n.attr("data-area-id")||(n.attr("data-da-area")||n.hasClass("divi-area-wrap")||n.hasClass("et_pb_section")&&n.hasClass("popup")||s.push({id:t,item:n}))}}for(n=0;n<i.ids.length;n++){var d="#"+(r=i.ids[n].replace(/^#/,"")),c=i.linkPrefix?"#"+i.linkPrefix+r:"",p="."+r,u=i.classPrefix?"."+i.classPrefix+r:"",f=i.dataAttrib?i.dataAttrib+'="'+r+'"':"";if(l(r,e('[href="'+d+'"]',a)),c&&l(r,e('[href="'+c+'"]',a)),l(r,e(p,a)),u&&l(r,e(u,a)),f&&l(r,e("["+f+"]",a)),t.et_link_options_data)for(o=et_link_options_data.length-1;o>=0;o--)if(d===et_link_options_data[o].url||c===et_link_options_data[o].url){var h=e("."+et_link_options_data[o].class,a);l(r,h),h.off("click"),et_link_options_data.splice(o,1)}}return s}({ids:a.listAreas(),linkPrefix:"popup:",dataAttrib:o.getOption("idAttrib"),classPrefix:o.getOption("triggerClassPrefix")},i)).length){for(r.group("Activate all triggers in "+d),s=0;s<l.length;s++){var c=l[s];v(c.item,c.id)}r.group()}else r.debug("No new triggers found in "+d);n.initContainer(i)},n.initContainer=function(i){var n,r=a.getArea(i);if(r)return i=r.get(),n=r.getData("post_id"),!0!==i.data("_daInitDone")&&(i.data("_daInitDone",!0),p.trigger("post-load"),i.find("img[loading=lazy]").attr("loading","eager"),"function"==typeof t.et_fix_pricing_currency_position&&et_fix_pricing_currency_position(i.find(".et_pb_pricing_table")),n&&i.find(".et_pb_newsletter_form").length&&i.find(".et_pb_newsletter_form [name=et_pb_signup_post_id]").val(n),m(i),function(t){var i=t.getArea();t.find("img").on("load",(function(){return t.trigger("resize")})),"show"!==i.getData("overflow")&&t.find(".et_pb_row").each((function(){var t=e(this),i=o.getStyleDef(t[0],"height"),a=o.getStyleDef(t[0],"max-height");i&&(t.css("height","auto"),o.getStyleDef(t[0],"min-height")||t.css("min-height",i)),a&&t.css("max-height","none")}));t.trigger("resize")}(i),function(t){function i(){var i=e(this),n=i.attr("href").split("#")[1];try{t.find('[id="'+n+'"],a[name="'+n+'"]').length&&i.off("click").on("click",a)}catch(e){}}function a(i){var a=e(this).attr("href").split("#")[1],n=t.find('[id="'+a+'"],a[name="'+a+'"]').first();return t.animate({scrollTop:n.position().top},400),i.preventDefault(),!1}t.find("[href*=#]").each(i)}(i)),void 0!==t.et_reinit_waypoint_modules&&t.et_reinit_waypoint_modules(),i},n.deactivateContainer=function(t){n.isArea(t)&&(r.debug("Deactivate all triggers in area",t.theId()),t.find("[data-area-id]").each((function(){!function(e){r.debug("Remove trigger:",e[0]),e.removeAttr("data-area-id"),e.removeClass("popup-trigger"),e.off("._da")}(e(this))})))},n.attachArea=function(e){c||(c=!0,g("show",e),c=!1),a.Data.addVisibleArea(e),e.attach()},n.detachArea=function(e){if(c||(c=!0,g("hide",e),c=!1),e.inDom()){if(!n.isArea(e)||!e.inDom())return;e.removeClass("__is_animating"),a.Data.removeVisibleArea(e),e.blur(),e.detach()}},n.setupHoverArea=function(a){var n=a.getData("attachto"),l=a.get(),d=a.getWrap();if(n.length){var c,p=o.isPosition(n,"fixed"),u=a.theId(),f=a.getData("closeTrigger"),h=1e3*a.getData("closedelay"),g=e("html")[0],v=e("#page-container")[0],m=!1,b=!1,y=!1;s&&(y=new s((function(e){for(var t=0;t<e.length;t++){var i=e[t].contentRect,a=i.width+"-"+i.height;a!==b&&(b=a,A())}}),{box:"border-box"})),y&&y.observe(n[0]),a.addAction("resize_area",A),c=a.getCloseButton(),"click"===f?e(i).on("click."+a.theKey(),(function(t){e(t.target).closest(u).length||_()})):"hover"===f&&(l.on("mouseleave._dah",_),c.on("mouseleave._dah",_),n.on("mouseleave._dah",_)),n.on("mouseenter._dah",w),c.on("mouseenter._dah",w),l.on("mouseenter._dah",w),a.addAction("close_area",D),r.debug("Prepared positioning of hover area")}else r.error("Hover Area without alignment element found");function A(){var e=p?n[0].getBoundingClientRect():o.getClientRect(n),i=a.getData("positionv"),s=a.getData("positionh"),l=a.getSize(),c=parseInt(getComputedStyle(g).marginTop),u=parseInt(getComputedStyle(v).marginTop),f={},h={left:"",top:"",right:"",bottom:"",width:"",height:"",position:p?"fixed":"absolute"};"top"===i||"bottom"===i?(h.top="top"===i?e.top-l.height:e.bottom,h.left=e.left+e.width/2-l.width/2):"left"===s||"right"===s?(h.left="left"===s?e.left-l.width:e.right,h.top=e.top+e.height/2-l.height/2):"center"===s&&"center"===i?(h.left=e.left+e.width/2-l.width/2,h.top=e.top+e.height/2-l.height/2):r.error("Invalid position",a.getData("position")),h.top-=c+u,h.top<0&&(h.top=0),h.left<0&&(h.left=0),h.left+l.width>t.innerWidth&&(h.left=t.innerWidth-l.width),a.doAction("position_area",h,f,a),r.debug("Area position:",h),d.css(h),a.css(f)}function _(){w(),m=setTimeout(D,h)}function w(){m&&clearTimeout(m),m=!1}function D(){var t=a.getData("attachto");t&&t.length&&n!==t||(y&&y.disconnect(),a.removeAction("resize_area",A),e(i).off("."+a.theKey()),l.off("._dah"),n.off("._dah"),a.removeAction("close_area",D),a.hide())}},n.disableBodyScroll=function(){if(!0!==p.data("da-disable-scroll")){p.data("da-disable-scroll",!0),o.bindPassiveEvent([p,a.getOverlay()],"mousewheel touchmove",b);var n=t.innerWidth-i.body.clientWidth;p.addClass(o.getOption("openPopupClass")),n&&(p.css("padding-right",n),p.hasClass("et_boxed_layout")||e(".et_fixed_nav #main-header").css("padding-right",n)),a.doAction("disabled_scrolling")}},n.enableBodyScroll=function(){!0===p.data("da-disable-scroll")&&(p.data("da-disable-scroll",!1),o.unbindPassiveEvent([p,a.getOverlay()],"mousewheel touchmove",b),p.removeClass(o.getOption("openPopupClass")),p.css("padding-right",""),e(".et_fixed_nav #main-header").css("padding-right",""),a.doAction("enabled_scrolling"))},n.closeMainMenu=function(){e(".et_pb_fullscreen_menu_active").length?e(".et_toggle_fullscreen_menu").first().trigger("click"):e(".et_pb_slide_menu_active").length&&e(".et_toggle_slide_menu").first().trigger("click")}}(jQuery,window,document),function(e){var t=window.DiviArea||{},i=t.Data=t.Data||{},a=t.Core=t.Core||{},n={},o=[],r={};i.sanitizeId=function(e,t){if(!e)return"";if(e instanceof DiviAreaItem)return e.theId();if(e instanceof jQuery)return"#"+e.attr("id");if(e){if(t){var i=new RegExp("^#"+t+":");e=e.replace(i,"#")}"#"!==e[0]&&(e="#"+e)}return e.length>1?e:""},i.getRealId=function(e){var t=[];if(!e||"string"!=typeof e)return"";for(e=e.toString().trim(),t.push(i.sanitizeId(e)),-1===e.indexOf("divi-area-")&&t.push(i.sanitizeId("divi-area-"+e));t.length;){var a=t.shift();if(a){if(void 0!==n[a])return a;if(r[a]&&(a=i.sanitizeId(r[a])),a&&void 0!==n[a])return a}}return""},i.addAltId=function(e,t){function a(t){t=i.sanitizeId(t),e!==t&&(null===e?delete r[t]:r[t]=e)}e=i.sanitizeId(e),Array.isArray(t)?t.forEach((function(e){return a(e)})):a(t)},i.getArea=function(e){if(void 0===e)return i.getVisibleArea();if(e instanceof DiviAreaItem)return e;if("function"==typeof e.getArea)return e.getArea();if(e.DiviAreaItem&&e.DiviAreaItem instanceof DiviAreaItem)return e.DiviAreaItem;if(e instanceof jQuery){if(!0===e.data("isArea"))return e.data("area");e=e.attr("id")}var t=i.getRealId(e);return!!t&&n[t]},i.createArea=function(e,t,a){return a=i.sanitizeId(a),n[a]=new DiviAreaItem(e,t),n[a]},i.getAllIds=function(e){var t=[];if(e||(e="all"),a.isArea(e)){var i=e.theId();for(var o in t.push(i),r)i===r[o]&&t.push(o)}else{for(var s in n){n[s].isType(e)&&t.push(s)}for(var l in r){var d=r[l];n[d].isType(e)&&t.push(l)}}return t},i.loopAllAreas=function(e,t){if("function"==typeof t){var i=e;e=t,t=i}for(var a in t||(t="all"),n){var o=n[a];o.isType(t)&&e(o,a)}},i.countVisibleAreas=function(e){if(!e||"any"===e)return o.length;var t=0;return i.loopVisibleAreas(e,(function(){return t++})),t},i.addVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;if(i.removeVisibleArea(e),e.isType("popup")||!i.countVisibleAreas("popup"))o.push(e);else for(var a=0;a<o.length;a++)if(o[a].isType("popup")){o.splice(a,0,e);break}},i.removeVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;for(var i=e.theId(),a=o.length-1;a>=0;a--){o[a].theId()===i&&o.splice(a,1)}},i.getVisibleArea=function(e,i){var a=o.length-1;if(!e&&!i)return o[a];if(e){var n=t.getArea(e);return!!n&&(!!n.isType(i)&&(!!n.isVisible()&&n))}for(var r=a;r>=0;r--){var s=o[r];if(s.isType(i))return s}return!1},i.loopVisibleAreas=function(e,t,i){for(var a=o.length,n=i?a-1:0,r=0;r<a;r++){var s=o[n];n+=i?-1:1,s.isType(e)&&t(s,r)}}}(),function(e){var t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Data=t.Data||{},o=t.Debug=t.Debug||{},r=null,s=!1;function l(e){o.info("⚡️ Click on background overlay"),e.preventDefault(),t.doAction("click_overlay",r);var i=n.getVisibleArea(null,"popup");return i?i.getData("ismodal")?(o.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):t.applyFilters("ignore_overlay_click",!1)?(o.debug("Ignore click:","Manually cancelled via filter"),!1):(t.doAction("close_area",null,"overlay"),n.countVisibleAreas("popup")||t.hideOverlay(),!1):(o.debug("Ignore click:","No visible Popups found"),!1)}t.showOverlay=function(e){var r=t.getOverlay();return e&&!isNaN(e)||(e=a.getOption("zIndex"),e+=Math.max(0,n.countVisibleAreas())),r.css({zIndex:e}),s||(s=!0,o.info("⤴️ Show background overlay"),i.disableBodyScroll(),r.detach().appendTo(i.getContext()),r.fadeIn(a.getOption("animateSpeed")),t.doAction("show_overlay",r),i.closeMainMenu()),e},t.hideOverlay=function(){s&&(s=!1,o.info("⤵️ Hide background overlay"),r.hide().detach(),i.enableBodyScroll(),t.doAction("hide_overlay",r))},t.getOverlay=function(){return null===r&&((r=e("<div />")).addClass(a.getOption("overlayClass")),r.on("click.popup",l),t.doAction("init_overlay",r)),r}}(jQuery),function(e,t){var i=t.DiviArea||{},a=i.UI=i.UI||{},n=i.Debug=i.Debug||{},o={};function r(e,t){var i;return i="show"===t?parseInt(e.getData("animationSpeedIn")):parseInt(e.getData("animationSpeedOut")),(isNaN(i)||i<0)&&(i=0),i}function s(e){return e.push(".et_fixed_nav #main-header"),e}function l(t,i,a,o){var r,s="da-push-"+t,l="margin-"+t,c="top"===t||"bottom"===t?"v":"h";if(n.debug("Add Container Space (push content)",t,i+"px"),"top"===t?r=e("body"):(r=e("#page-container")).length||(r=e("body")),void 0===r.data(s)){var p=parseInt(r.css(l));isNaN(p)&&(p=0),r.data(s,p)}isNaN(i)&&(i=0);var u=parseInt(r.data(s))+i;isNaN(u)&&(u=i),u<0&&(u=0);var f=!u;if(r.data(s,u),d(r,l,u,a,f),"h"===c){var h=parseInt(r.css("width"));i>0&&r.css("width",h),d(r,"width",h-i,a,f)}e(o).each((function(){var n=e(this),o=parseInt(n.css(t)),r=(isNaN(o)?0:o)+i;if(i>0&&n.css(t,o),"h"===c){var s=parseInt(n.css("width"));i>0&&n.css("width",s),d(n,"width",s-i,a,f)}d(n,t,r,a,f)}))}function d(e,t,i,a,o,r){void 0===o&&(o=!1),void 0===r&&(r="ease-in-out"),n.debug(" Push Content",e.prop("tagName")+"#"+e.attr("id"),t+": "+e.css(t)+" → "+i+"px");var s=e.css("transition");e.css("transition",s+", "+t+" "+a+"ms "+r),e.css(t,i+"px"),setTimeout((function(){e.css("transition",""),o&&e.css(t,"")}),a+20)}function c(e,t,i){i=i||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<i){var n=e.waypoint(t);n&&n.length>0&&(a.push(n[0]),e.data("et_waypoint",a))}else for(var o=0;o<a.length;o++)a[o].context.refresh()}a.init=function(){i.addAction("push_fixed_elements_top",s),i.addAction("push_fixed_elements_left",s),i.addAction("push_fixed_elements_right",s)},a.animateArea=function(e,i,a){var s=!1,d=!1,p=!1,u=function(){n.debug("Area animation is complete",i,e.theId()),"function"==typeof a&&a()};if(e.isType("flyin"))t.TweenLite&&(d=!0),p=!!e.getData("pushContent");else if("hide"===i)return void u();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var t=e.attr("data-animation"),i=!1;if(!t)return!1;if(!(i=o[t]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":i.style,"data-animation-repeat":"once"===i.repeat?"":"infinite","data-animation-duration":i.duration,"data-animation-delay":i.delay,"data-animation-intensity":i.intensity,"data-animation-starting-opacity":i.starting_opacity,"data-animation-speed-curve":i.speed_curve}),c(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),i=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),n=e.attr("data-animation-delay"),o=e.attr("data-animation-intensity"),r=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],i=e.get(0).attributes,a=0;a<i.length;a++)"data-animation-"===i[a].name.substring(0,15)&&t.push(i[a].name);jQuery.each(t,(function(t,i){e.removeAttr(i)}))}(e);var l=isNaN(parseInt(r))?0:.01*parseInt(r);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":n,opacity:l,"animation-timing-function":s});for(var d={},c=isNaN(parseInt(o))?50:parseInt(o),p=["slide","zoom","flip","fold","roll"],u=!1,f=!1,h=0;h<p.length;h++){var g=p[h];if(t&&t.substr(0,g.length)===g){u=g,""!==(f=t.substr(g.length,t.length))&&(f=f.toLowerCase());break}}!1!==u&&!1!==f&&(d=function(e,t,i){var a={};switch(e){case"slide":switch(t){case"top":a={transform:"translate3d(0, "+(n=-2*i)+"%, 0)"};break;case"right":a={transform:"translate3d("+(n=2*i)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(n=2*i)+"%, 0)"};break;case"left":var n=-2*i;a={transform:"translate3d("+n+"%, 0, 0)"};break;default:a={transform:"scale3d("+(o=.01*(100-i))+", "+o+", "+o+")"}}break;case"zoom":var o=.01*(100-i);switch(t){case"top":case"right":case"bottom":case"left":default:a={transform:"scale3d("+o+", "+o+", "+o+")"}}break;case"flip":switch(t){case"right":a={transform:"perspective(2000px) rotateY("+(r=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(r=-1*Math.ceil(.9*i))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(r=Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(r=-1*Math.ceil(.9*i))+"deg)"}}break;case"fold":switch(t){case"top":a={transform:"perspective(2000px) rotateX("+(r=-1*Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(r=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(r=Math.ceil(.9*i))+"deg)"};break;case"right":default:a={transform:"perspective(2000px) rotateY("+(r=-1*Math.ceil(.9*i))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":a={transform:"rotateZ("+(r=-1*Math.ceil(3.6*i))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(r=Math.ceil(3.6*i))+"deg)"};break;default:var r=Math.ceil(3.6*i);a={transform:"rotateZ("+r+"deg)"}}}return a}(u,f,c)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(t),e.addClass(i)}(jQuery(this.element))}})}(e.get())&&(s=!0),d?function(e,i,a){n.debug("Animate Area using GSAP");var o={},s={},l=e.get();l.css({opacity:"show"===i?0:1,transition:"all 0s"}),l.show(),t.setTimeout((function(){var n=e.getData("positionH"),d=e.getData("positionV"),c=r(e,i);"left"===n?(o.left=-1*l.outerWidth(),s.left=0):"right"===n?(o.right=-1*l.outerWidth(),s.right=0):"top"===d?(o.top=-1*l.outerHeight(),s.top=0):"bottom"===d&&(o.bottom=-1*l.outerHeight(),s.bottom=0),o.opacity=1,s.opacity=1,"show"===i?(l.css(o),TweenLite.to(l,c/1e3,{css:s})):(l.css(s),TweenLite.to(l,c/1e3,{css:o})),t.setTimeout(a,c)}),5)}(e,i,u):s?function(e,i,a){n.debug("Animate Area using a Divi Animation");var o=e.get();o.show(),o.css({opacity:0}),t.setTimeout((function(){o.css({opacity:""}),c(o,{offset:"100%",handler:function(){o.addClass("et-animated"),a()}},2)}),10)}(e,0,u):function(e,t,i){var a=e.get(),o=r(e,t);"show"===t?(n.debug("Animate Area using jQuery fadeIn",o),a.fadeIn(o,i)):"hide"===t&&(n.debug("Animate Area using jQuery fadeOut",o),a.fadeOut(o,i))}(e,i,u),p&&setTimeout((function(){return function(e,t){n.debug("Push content:",t);var i=e.getData("positionH"),a=e.getData("positionV"),o=r(e,t),s=e.getSize(),d="",c=0;"right"===i||"left"===i?(c=s.width,d=i):"top"!==a&&"bottom"!==a||(c=s.height,d=a);if(d){var p=e.applyFilters("push_fixed_elements_"+d,[],d);l(d,"show"===t?c:-1*c,o,p)}else n.debug("Could not determine edge to push",a,i)}(e,i)})),n.debug("Animate Area finished - animation might continue asynchronously")},a.initializeAreaAnimation=function(e){if(!t.et_animation_data||!t.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 a=!1,n=et_animation_data[i];if(n&&(n.class&&e.hasClass(n.class)&&n.style&&n.repeat&&n.duration&&n.delay&&n.intensity&&n.starting_opacity&&n.speed_curve))return a=n.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),o[a]=n,et_animation_data[i].class=void 0,!0}return!1}}(jQuery,window),function(e){var t=e.DiviArea||{},i=t.Debug=t.Debug||{},a=t.Hooks=t.Hooks||{},n=e.console,o=!1,r={},s=[],l=e.DiviAreaConfig;i.group=function(e){if(l.debug&&n.group){var t=!o||e&&e!==o;if(o&&(n.groupEnd(),o=!1),e&&t){var i=Array.prototype.slice.call(arguments);i.unshift("[DiviAreas]"),n.group.apply(this,i),o=e}}},i.profile=function(t,i){if(l.debug&&l.debugVerbose&&e.performance&&performance.now){var a=performance.now(),o=["[DiviAreas Timer]"];if(r[t]&&!0!==i){if(r[t]){var d=a-r[t],c=d.toFixed(4).padStart(8)+" ms";!1===i||void 0===i?(o.push("End |",t,"|",c),delete r[t],s.push({group:t,duration:c,value:d})):i&&o.push("Log |",t,"|",c,"|",i)}}else r[t]=a,o.push("Start |",t),i&&o.push("|",i);o.length>1&&n.log.apply(this,o)}},i.profileSummary=function(){if(l.debug&&l.debugVerbose)if(s.length){var e=s.reduce((function(e,t){return("number"==typeof e?e:0)+t.value}))/s.length;n.table(s),n.log("Average:",e.toFixed(4).padStart(8)+" ms /",s.length+" entries")}else n.log("No profile data collected yet")},i.table=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),n.table?n.table.apply(this,e):n.log.apply(this,e)}},i.verbose=function(){if(l.debug&&l.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),n.debug.apply(this,e)}},i.debug=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),n.debug.apply(this,e)}},i.info=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),n.log.apply(this,e)}},i.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),n.error.apply(this,e)},i.sysInfo=function(){var i=["\n----------"];if(i.push("Please copy-paste this information into your support ticket:"),i.push("----------\n"),t.lib&&t.version&&i.push(" • js_api: "+t.lib+" "+t.version),e.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var a in DiviAreaConfig.sys)try{i.push(" • "+a+": "+" ".repeat(Math.max(0,11-a.length))+DiviAreaConfig.sys[a])}catch(e){}return i.push(" • browser: "+navigator.userAgent),i.push("\n----------\n"),i.join("\n")};var d=!0,c={};c.silent=a.silent,c.removeFilter=a.removeFilter,c.removeAction=a.removeAction,c.applyFilters=a.applyFilters,c.doAction=a.doAction,c.addFilter=a.addFilter,c.addAction=a.addAction,c.addActionOnce=a.addActionOnce,a.silent=function(){return d=!1,c.silent.apply(this,arguments)},t.removeFilter=a.removeFilter=function(e){return d&&i.debug("Remove Filter:",e),d=!0,c.removeFilter.apply(this,arguments)},t.removeAction=a.removeAction=function(e){return d&&i.debug("Remove Action:",e),d=!0,c.removeAction.apply(this,arguments)},t.applyFilters=a.applyFilters=function(e){if(d){Array.isArray(e)||(e=[e]),i.info("📢️ Apply Filters:",e.join(" → "));for(var t=0;t<e.length;t++)i.debug(' ⚙ App.addFilter("'+e[t]+'", callback)')}return d=!0,c.applyFilters.apply(this,arguments)},t.doAction=a.doAction=function(e){if(d){Array.isArray(e)||(e=[e]),i.info("📢️ Do Action:",e.join(" → "));for(var t=0;t<e.length;t++)i.debug(' ⚙ App.addAction("'+e[t]+'", callback)')}return d=!0,c.doAction.apply(this,arguments)},t.addFilter=a.addFilter=function(e){return d&&i.debug("Add Filter:",e),d=!0,c.addFilter.apply(this,arguments)},t.addAction=a.addAction=function(e){return d&&i.debug("Add Action:",e),d=!0,c.addAction.apply(this,arguments)},t.addActionOnce=a.addActionOnce=function(e){return d&&i.debug("Add Action Once:",e),d=!0,c.addActionOnce.apply(this,arguments)}}(window),function(){var e=window.DiviArea||{},t=e.Debug=e.Debug||{},i=e.Utils=e.Utils||{},a=e.Data=e.Data||{};e.openPopup=function(i){t.error("DiviArea.openPopup() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.openArea=function(i){t.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.closePopup=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},e.closeArea=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},a.configArea=function(i,a,n){t.error("DiviArea.configArea() is deprecated. Please use DiviArea.setData() instead");var o=e.getArea(i);if(o)if("object"==typeof a)for(var r in a)a.hasOwnProperty(r)&&o.setData(r,a[r]);else o.setData(a,n)},e.Hooks.silent().addAction("init_area",(function(t){e.Hooks.silent().doAction("init_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("show_area",(function(t){e.Hooks.silent().doAction("show_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("hide_area",(function(t){e.Hooks.silent().doAction("hide_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("close_area",(function(t,i){t&&e.Hooks.silent().doAction("close_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("blur_area",(function(t){e.Hooks.silent().doAction("blur_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("focus_area",(function(t){e.Hooks.silent().doAction("focus_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("before_show_area",(function(t,i){e.Hooks.silent().doAction("before_show_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("before_hide_area",(function(t,i){e.Hooks.silent().doAction("before_hide_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addFilter("ignore_close_area",(function(t,i,a){return t=e.Hooks.silent().applyFilters("before_close_area",t,i,a),t=e.Hooks.silent().applyFilters("before_close_area-"+i.theKey(),t,i,a)}),1),e.Hooks.silent().addFilter("ignore_esc_key",(function(t){return t=e.Hooks.silent().applyFilters("esc_key_pressed",t)}),1),e.Hooks.silent().addAction("area_close_button",(function(e){e.addClass("evr-close_wrap"),e.find(">a").addClass("evr-close")}),1),e.Hooks.silent().addAction("area_wrap",(function(e){e.addClass("popup_outer_wrap")}),1),e.Hooks.silent().addAction("init_overlay",(function(e){e.addClass("evr_fb_popup_modal")}),1),e.Hooks.silent().addAction("refresh_area",(function(e){var t={notmobile:i.getOption("notMobileClass"),nottablet:i.getOption("notTabletClass"),notdesktop:i.getOption("notDesktopClass"),showclose:i.getOption("withCloseClass"),hideclose:i.getOption("noCloseClass"),closealt:i.getOption("altCloseClass"),ismodal:i.getOption("modalIndicatorClass"),noshadow:i.getOption("noShadowClass"),darkmode:i.getOption("darkModeClass"),singleton:i.getOption("singletonClass")};for(var a in t)e.getData(a)?e.addClass(t[a]):e.removeClass(t[a])}),1),e.listAreas=a.getAllIds,e.configArea=a.configArea,e.getArea=a.getArea}(),DiviArea.init();return{}}();
|
scripts/loader.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var loader=function(){"use strict";!function(){
|
1 |
+
var loader=function(){"use strict";!function(t){t.DiviArea=t.DiviPopup={loaded:!1};var n=t.DiviArea,i=n.Hooks={},r={};function e(t,n,i){var e,o,c;if("string"==typeof t)if(r[t]){if(n)if((e=r[t])&&i)for(c=e.length;c--;)(o=e[c]).callback===n&&o.context===i&&(e[c]=!1);else for(c=e.length;c--;)e[c].callback===n&&(e[c]=!1)}else r[t]=[]}function o(t,n,i,e){if("string"==typeof t){var o={callback:n,priority:i,context:e},c=r[t];c?(c.push(o),c=function(t){var n,i,r,e,o=t.length;for(e=1;e<o;e++)for(n=t[e],i=e;i>0;i--)(r=t[i-1]).priority>n.priority&&(t[i]=r,t[i-1]=n);return t}(c)):c=[o],r[t]=c}}function c(t,n,i){var e,o;for("string"==typeof n&&(n=[n]),e=0;e<n.length;e++){var c=r[n[e]],f=!1,a=void 0;if(c){var l=c.length;for(o=0;o<l;o++)if(c[o])if("filter"===t)void 0!==(a=c[o].callback.apply(c[o].context,i))&&(i[0]=a);else{if(!c[o]||"function"!=typeof c[o].callback)return!1;c[o].callback.apply(c[o].context,i)}else f=!0;if(f)for(o=l;o--;)c[o]||c.splice(o,1)}}if("filter"===t)return i[0]}i.silent=function(){return i},n.removeFilter=i.removeFilter=function(t,n){e(t,n)},n.removeAction=i.removeAction=function(t,n){e(t,n)},n.applyFilters=i.applyFilters=function(t){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return c("filter",t,n)},n.doAction=i.doAction=function(t){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];c("action",t,n)},n.addFilter=i.addFilter=function(n,i,r,e){o(n,i,parseInt(r||10,10),e||t)},n.addAction=i.addAction=function(n,i,r,e){o(n,i,parseInt(r||10,10),e||t)},n.addActionOnce=i.addActionOnce=function(n,i,r,c){o(n,i,parseInt(r||10,10),c||t),o(n,(function(){e(n,i)}),1+parseInt(r||10,10),c||t)}}(window);return{}}();
|
styles/front.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
[class*=et_pb_section_dap_]{width:100%}#et-boc .area-outer-wrap{position:fixed;z-index:100;pointer-events:none;max-width:100vw;max-height:100vh}#et-boc .area-outer-wrap.entry-content{padding:0}#et-boc .area-outer-wrap[data-da-type=popup]{min-width:320px;padding:10px}@media screen and (min-width:981px){#et-boc .area-outer-wrap[data-da-type=popup]{width:90%}}@media screen and (max-width:980px){#et-boc .area-outer-wrap[data-da-type=popup]{width:100%}}@media (min-width:981px){#et-boc .area-outer-wrap .et_pb_row.et_pb_equal_columns,#et-boc .area-outer-wrap .et_pb_row_inner.et_pb_equal_columns,#et-boc .area-outer-wrap .et_pb_section.et_pb_equal_columns>.et_pb_row{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}}#et-boc .area-outer-wrap[data-da-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}#et-boc .area-outer-wrap>[data-da-area]{position:relative;margin:auto;pointer-events:all;-ms-scroll-chaining:none;overscroll-behavior:contain;height:100%;display:block!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#et-boc .area-outer-wrap>[data-da-area]>.et_pb_section{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}#et-boc .area-outer-wrap>[data-da-area] .clearfix:after,#et-boc .area-outer-wrap>[data-da-area] .et_pb_row:after,#et-boc .area-outer-wrap>[data-da-area] .et_pb_row_inner:after,#et-boc .area-outer-wrap>[data-da-area] .et_pb_slides:after{content:""}#et-boc .area-outer-wrap>[data-da-area] .et_pb_contact_select{-moz-appearance:textfield}#et-boc .area-outer-wrap.full-height[data-da-overflow=full-height]>[data-da-area],#et-boc .area-outer-wrap[data-da-overflow=clip]>[data-da-area]{overflow:auto}#et-boc .area-outer-wrap[data-da-overflow=show]>[data-da-area]{overflow:visible}#et-boc .area-outer-wrap[data-da-type=flyin].full-height,#et-boc .area-outer-wrap[data-da-type=popup].full-height{height:auto!important;top:0!important;bottom:0!important;margin-top:0!important}#et-boc .area-outer-wrap[data-da-type=flyin].full-height [data-da-area],#et-boc .area-outer-wrap[data-da-type=popup].full-height [data-da-area]{max-height:100%}#et-boc .area-outer-wrap[data-da-type=flyin].full-height[data-da-size=auto] .da-close-wrap,#et-boc .area-outer-wrap[data-da-type=popup].full-height[data-da-size=auto] .da-close-wrap{height:calc(100% - 20px)!important}#et-boc .area-outer-wrap[data-da-type=flyin].full-height:not([data-da-size=auto]) .da-close-wrap,#et-boc .area-outer-wrap[data-da-type=popup].full-height:not([data-da-size=auto]) .da-close-wrap{height:100%!important}#et-boc .area-outer-wrap[data-da-size=full-screen],#et-boc .area-outer-wrap[data-da-size=full-width]{width:100vw;min-width:100vw;max-width:100vw;padding-left:0;padding-right:0}#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-v=bottom],#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-v=top],#et-boc .area-outer-wrap[data-da-size=full-width][data-da-position-v=bottom],#et-boc .area-outer-wrap[data-da-size=full-width][data-da-position-v=top]{padding-top:0;padding-bottom:0}#et-boc .area-outer-wrap[data-da-size=full-screen] .et_pb_section,#et-boc .area-outer-wrap[data-da-size=full-width] .et_pb_section{width:100%;min-width:100%;max-width:none}#et-boc .area-outer-wrap[data-da-size=full-height],#et-boc .area-outer-wrap[data-da-size=full-screen]{height:100vh;min-height:100vh;max-height:100vh;padding-top:0;padding-bottom:0}#et-boc .area-outer-wrap[data-da-size=full-height][data-da-position-h=left],#et-boc .area-outer-wrap[data-da-size=full-height][data-da-position-h=right],#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-h=left],#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-h=right]{padding-left:0;padding-right:0}#et-boc .area-outer-wrap .da-close-wrap{display:block;position:absolute;left:50%;top:50%;z-index:100;text-align:right;-webkit-transition:opacity .6s .3s;-o-transition:opacity .6s .3s;transition:opacity .6s .3s;overflow:visible;pointer-events:none;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}#et-boc .area-outer-wrap .da-close{position:absolute;right:0;top:0;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;width:30px;height:30px;line-height:30px;text-decoration:none;text-align:center;font-family:Courier New,monospace;font-size:20px;font-weight:700;cursor:pointer;opacity:.7;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;pointer-events:all}#et-boc .area-outer-wrap .da-close:
|
1 |
+
[class*=et_pb_section_dap_]{width:100%}#et-boc .area-outer-wrap{position:fixed;z-index:100;pointer-events:none;max-width:100vw;max-height:100vh}#et-boc .area-outer-wrap.entry-content{padding:0}#et-boc .area-outer-wrap[data-da-type=popup]{min-width:320px;padding:10px}@media screen and (min-width:981px){#et-boc .area-outer-wrap[data-da-type=popup]{width:90%}}@media screen and (max-width:980px){#et-boc .area-outer-wrap[data-da-type=popup]{width:100%}}@media (min-width:981px){#et-boc .area-outer-wrap .et_pb_row.et_pb_equal_columns,#et-boc .area-outer-wrap .et_pb_row_inner.et_pb_equal_columns,#et-boc .area-outer-wrap .et_pb_section.et_pb_equal_columns>.et_pb_row{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}}#et-boc .area-outer-wrap[data-da-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}#et-boc .area-outer-wrap>[data-da-area]{position:relative;margin:auto;pointer-events:all;-ms-scroll-chaining:none;overscroll-behavior:contain;height:100%;display:block!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#et-boc .area-outer-wrap>[data-da-area]>.et_pb_section{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}#et-boc .area-outer-wrap>[data-da-area] .clearfix:after,#et-boc .area-outer-wrap>[data-da-area] .et_pb_row:after,#et-boc .area-outer-wrap>[data-da-area] .et_pb_row_inner:after,#et-boc .area-outer-wrap>[data-da-area] .et_pb_slides:after{content:""}#et-boc .area-outer-wrap>[data-da-area] .et_pb_contact_select{-moz-appearance:textfield}#et-boc .area-outer-wrap.full-height[data-da-overflow=full-height]>[data-da-area],#et-boc .area-outer-wrap[data-da-overflow=clip]>[data-da-area]{overflow:auto}#et-boc .area-outer-wrap[data-da-overflow=show]>[data-da-area]{overflow:visible}#et-boc .area-outer-wrap[data-da-type=flyin].full-height,#et-boc .area-outer-wrap[data-da-type=popup].full-height{height:auto!important;top:0!important;bottom:0!important;margin-top:0!important}#et-boc .area-outer-wrap[data-da-type=flyin].full-height [data-da-area],#et-boc .area-outer-wrap[data-da-type=popup].full-height [data-da-area]{max-height:100%}#et-boc .area-outer-wrap[data-da-type=flyin].full-height[data-da-size=auto] .da-close-wrap,#et-boc .area-outer-wrap[data-da-type=popup].full-height[data-da-size=auto] .da-close-wrap{height:calc(100% - 20px)!important}#et-boc .area-outer-wrap[data-da-type=flyin].full-height:not([data-da-size=auto]) .da-close-wrap,#et-boc .area-outer-wrap[data-da-type=popup].full-height:not([data-da-size=auto]) .da-close-wrap{height:100%!important}#et-boc .area-outer-wrap[data-da-size=full-screen],#et-boc .area-outer-wrap[data-da-size=full-width]{width:100vw;min-width:100vw;max-width:100vw;padding-left:0;padding-right:0}#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-v=bottom],#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-v=top],#et-boc .area-outer-wrap[data-da-size=full-width][data-da-position-v=bottom],#et-boc .area-outer-wrap[data-da-size=full-width][data-da-position-v=top]{padding-top:0;padding-bottom:0}#et-boc .area-outer-wrap[data-da-size=full-screen] .et_pb_section,#et-boc .area-outer-wrap[data-da-size=full-width] .et_pb_section{width:100%;min-width:100%;max-width:none}#et-boc .area-outer-wrap[data-da-size=full-height],#et-boc .area-outer-wrap[data-da-size=full-screen]{height:100vh;min-height:100vh;max-height:100vh;padding-top:0;padding-bottom:0}#et-boc .area-outer-wrap[data-da-size=full-height][data-da-position-h=left],#et-boc .area-outer-wrap[data-da-size=full-height][data-da-position-h=right],#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-h=left],#et-boc .area-outer-wrap[data-da-size=full-screen][data-da-position-h=right]{padding-left:0;padding-right:0}#et-boc .area-outer-wrap .da-close-wrap{display:block;position:absolute;left:50%;top:50%;z-index:100;text-align:right;-webkit-transition:opacity .6s .3s;-o-transition:opacity .6s .3s;transition:opacity .6s .3s;overflow:visible;pointer-events:none;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}#et-boc .area-outer-wrap .da-close{position:absolute;right:0;top:0;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;width:30px;height:30px;line-height:30px;text-decoration:none;text-align:center;font-family:Courier New,monospace;font-size:20px;font-weight:700;cursor:pointer;opacity:.7;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;pointer-events:all}#et-boc .area-outer-wrap .da-close:focus,#et-boc .area-outer-wrap .da-close:hover{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}#et-boc .area-outer-wrap[data-da-close-btn=no] .da-close-wrap{display:none!important}#et-boc .area-outer-wrap[data-da-close-btn=yes] .da-close-wrap{display:block}#et-boc .area-outer-wrap[data-da-color=light] .da-close{color:#333;background:hsla(0,0%,100%,.13333333333333333);-webkit-box-shadow:0 0 3px 1px rgba(0,0,0,.03137254901960784);box-shadow:0 0 3px 1px rgba(0,0,0,.03137254901960784)}#et-boc .area-outer-wrap[data-da-color=light] .da-close:focus,#et-boc .area-outer-wrap[data-da-color=light] .da-close:hover{color:#000;background:#fff;-webkit-box-shadow:0 0 4px 0 rgba(0,0,0,.13333333333333333),0 0 3px 1px rgba(0,0,0,.06666666666666667);box-shadow:0 0 4px 0 rgba(0,0,0,.13333333333333333),0 0 3px 1px rgba(0,0,0,.06666666666666667)}#et-boc .area-outer-wrap[data-da-color=dark] .da-close{color:#eee;background:rgba(0,0,0,.13333333333333333);-webkit-box-shadow:0 0 0 1px hsla(0,0%,100%,.03137254901960784);box-shadow:0 0 0 1px hsla(0,0%,100%,.03137254901960784);text-shadow:0 0 1px #000,0 0 3px rgba(0,0,0,.6666666666666666)}#et-boc .area-outer-wrap[data-da-color=dark] .da-close:focus,#et-boc .area-outer-wrap[data-da-color=dark] .da-close:hover{color:#fff;background:#2b2b2b;-webkit-box-shadow:0 0 1px 1px hsla(0,0%,100%,.2);box-shadow:0 0 1px 1px hsla(0,0%,100%,.2)}#et-boc .area-outer-wrap[data-da-close-bg=none] .da-close,#et-boc .area-outer-wrap[data-da-close-bg=none] .da-close:focus,#et-boc .area-outer-wrap[data-da-close-bg=none] .da-close:hover{-webkit-box-shadow:none;box-shadow:none;background:transparent}#et-boc .area-outer-wrap[data-da-loader=yes] [data-da-area]{background-image:url(../images/spin.gif),-o-radial-gradient(center,circle,#fff 65%,hsla(0,0%,100%,0) 66%)!important;background-image:url(../images/spin.gif),radial-gradient(circle at center,#fff 65%,hsla(0,0%,100%,0) 66%)!important;background-size:32px 32px,48px 48px;background-repeat:no-repeat;background-position:50%}#et-boc .area-outer-wrap[data-da-shadow=yes] [data-da-area]{-webkit-box-shadow:0 3px 10px -1px rgba(0,0,0,.3),0 2px 50px 2px rgba(0,0,0,.2);box-shadow:0 3px 10px -1px rgba(0,0,0,.3),0 2px 50px 2px rgba(0,0,0,.2)}#et-boc .area-outer-wrap[data-da-shadow=no] [data-da-area]{-webkit-box-shadow:none;box-shadow:none}.area-outer-wrap [data-da-area]{display:block;pointer-events:all}.da-overlay{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,backdrop-filter 1s 1s;backdrop-filter:none;-webkit-backdrop-filter:none}.da-overlay-visible{overflow:hidden}.da-overlay-visible .da-overlay{backdrop-filter:saturate(180%) blur(5px);-webkit-backdrop-filter:saturate(180%) blur(5px)}[data-area-hook]{display:none!important;visibility:hidden!important}.da-flyin-visible .mfp-bg,.da-hover-visible .mfp-bg,.da-popup-visible .mfp-bg{z-index:20000000}.da-flyin-visible .mfp-wrap,.da-hover-visible .mfp-wrap,.da-popup-visible .mfp-wrap{z-index:20000001}
|