//Weekend to Remember
function FL_WTR_mapsInit(element) {
const locations = [];
const infowindow = new google.maps.InfoWindow({});
let latlng = new google.maps.LatLng(39.099727, -94.578567);
let mapOptions = {
zoom: 4,
center: latlng,
panControl: true,
panControlOptions: {
position: google.maps.ControlPosition.LEFT_TOP
},
mapTypeControl: false,
scaleControl: false,
streetViewControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.LEFT_BOTTOM
},
overviewMapControl: false,
rotateControl: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
let map = new google.maps.Map(element, mapOptions);
addMarker();
function addMarker() {
//query Events API
let today = new Date();
let addDay = 0;
today.setDate(today.getDate() + addDay);
let enddate = new Date();
let dd = today.getDate();
let mm = today.getMonth() + 1; //January is 0!
let startyyyy = today.getFullYear();
let endYear = today.getFullYear() + 1;
if (dd < 10) {
dd = '0' + dd;
}
if (mm < 10) {
mm = '0' + mm;
}
today = startyyyy + '-' + mm + '-' + dd;
enddate = endYear + '-' + mm + '-' + dd;
let parameterList = 'eventType=wtr';
let apiAccessor = new FamilyLife.api();
let firstEventDate;
apiAccessor.getEventsByDateRange(today, enddate, parameterList,
function (error, results) {
let setCounter = true;
for (let i = 0; i < results.length; i++) {
// obtain the attribues of each marker
let lat = parseFloat(results[i].latitude);
let lng = parseFloat(results[i].longitude);
let title = results[i].title;
let startDate = results[i].startDate.substring(0, 10);
let endDate = results[i].endDate.substring(0, 10);
let price = results[i].price;
let url = results[i].url;
let isGetaway = results[i].isGetaway;
let eventId = results[i].eventId;
//per Jordan Thomas - display sold out msg for Napa Feb 2017 event
let soldOutMsg = "";
if (eventId == "WTR17APC1") {
soldOutMsg = "SOLD OUT";
}
if (localStorage.getItem("utm_campaign") != null) {
url = url + '?utm_campaign=' + localStorage.getItem("utm_campaign");
if (localStorage.getItem("utm_medium") != null) {
url = url + '&utm_medium=' + localStorage.getItem("utm_medium");
}
if (localStorage.getItem("utm_source") != null) {
url = url + '&utm_source=' + localStorage.getItem("utm_source");
}
if (localStorage.getItem("utm_content") != null) {
url = url + '&utm_content=' + localStorage.getItem("utm_content");
}
}
let myLatlng = new google.maps.LatLng(lat, lng);
let groupName = getUrlVars()["groupName"];
let contentString = "";
contentString += "
";
contentString += "
";
contentString += "" + title + "
";
if (soldOutMsg != "") {
contentString += soldOutMsg + "
";
}
contentString += "Start Date: " + startDate + "
";
contentString += "End Date: " + endDate + "
";
contentString += "Price: $" + price + "/person
";
if (groupName == null) {
contentString += "Register";
}
else {
contentString += "Register";
}
contentString += "
";
contentString += "
";
let marker;
if (isGetaway.toLowerCase() == "true") {
marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: title,
//icon: "/_images/blueumbrella.png"
});
} else {
marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: title,
});
}
for (let j = 0; j < locations.length; j++) {
if (marker.title == locations[j].title) {
contentString = locations[j]['infowindow'] + '
' + contentString;
}
}
marker['infowindow'] = contentString;
locations[i] = marker;
google.maps.event.addListener(locations[i], 'click', function () {
infowindow.setContent(this['infowindow']);
infowindow.open(map, this);
});
}
});
}
return map;
}
jQuery(document).ready(function ($) {
function isMobileWidth() {
if ($(document).width() <= 768) {
return true;
}
}
$('.toggle-mobile-menu').on('click', function () {
$(this).toggleClass('mobile-menu-open');
let mainNav = $('#main-navigation-mobile');
mainNav.slideToggle(500, function () {
mainNav.toggleClass('open-menu');
});
});
function showScrollToTop() {
if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight - 200) {
$('#to-top').addClass('show');
}
if ((window.innerHeight + window.scrollY) <= document.body.offsetHeight / 2) {
$('#to-top').removeClass('show');
}
}
if (!isMobileWidth()) {
if ($('.single-wpfc_sermon, .tax-wpfc_sermon, .single-fl_today, .header-sticky-on-mobile').length === 0) {
let lastpos = 0;
document.addEventListener('scroll', function () {
let pos = document.documentElement.scrollTop || document.body.scrollTop;
let windowHeight = document.documentElement.clientHeight || window.innerHeight;
let sHeight = document.documentElement.scrollHeight;
let top = document.getElementById('main-header');
let body = document.getElementsByTagName('body')[0];
if (pos > top.clientHeight && (pos >= sHeight - windowHeight - 100 || lastpos <= pos)) {
//top.classList.remove('sticky-active');
//body.classList.remove('sticky-header');
top.style.top = (-top.clientHeight) + 'px';
} else {
if (pos !== 0) {
top.classList.add('sticky-active');
body.classList.add('sticky-header');
top.style.top = '0';
}
}
lastpos = pos;
if (pos === 0) {
top.classList.remove('sticky-active');
body.classList.remove('sticky-header');
}
//Scroll to top
showScrollToTop();
}, true);
}
}
if ($('body').hasClass('header-sticky-on-mobile') || $('.single-weekend-to-remember').length > 0) {
document.addEventListener('scroll', function () {
showScrollToTop();
}, true);
}
if (isMobileWidth()) {
$('li.menu-item-has-children').on('click', function (e) {
$(this).toggleClass('open-submenu');
});
}
$.expr[':'].parents = function (a, i, m) {
return $(a).parents(m[3]).length < 1;
};
let selectBoxes = $('select').filter(':parents(.disable-select2)');
if (selectBoxes.length) {
if($('body').hasClass('rtl')) {
// For arabic.
selectBoxes.select2({
minimumResultsForSearch: -1,
dir: "rtl"
});
} else {
// non-RTL languages
selectBoxes.select2({
minimumResultsForSearch: -1
});
}
}
let owl = $(".owl-carousel");
if (owl.length) {
let owlNav = parseInt(owl.data('nav'));
let owlItems = parseInt(owl.data('items'));
if (isNaN(owlItems)) {
owlItems = 0;
}
if (isNaN(owlNav)) {
owlNav = 0;
}
owl.owlCarousel({
loop: false,
margin: 0,
navRewind: true,
responsive: {
0: {
items: 1,
nav: true,
dots: true
},
1000: {
items: owlItems !== 0 ? owlItems : 1,
nav: owlNav !== 0 ? owlNav : true,
dots: true
}
}
})
}
//WTR Map Click to Activate
let onInteractMap = jQuery('.wtr-on-interact-map');
let originalCanvas = jQuery('#map-canvas');
onInteractMap.on('click', function () {
if (typeof google === 'object' && typeof google.maps === 'object') {
let parent = onInteractMap.parent('.inner');
if (!parent.length) {
parent = onInteractMap.parent('.map-widget-wrap');
}
if (parent.length) {
parent.addClass('interactive-clicked-map');
FL_WTR_mapsInit(parent[0])
}
}
});
if ((originalCanvas.length > 0) && onInteractMap.length === 0) {
FL_WTR_mapsInit(originalCanvas[0]);
}
//Add span tag to checkboxes for styling
$('input[type="checkbox"]').each(function () {
if(!$(this).hasClass("ui-styled-toggle")){ //check if checkbox is not a UI Toggle Box
//check if for relationship exists
let id = $(this).attr('id');
if (typeof id !== typeof undefined && id !== false && $('label[for="' + id + '"]').length > 0) {
$('label[for="' + id + '"]').prepend('');
$(this).addClass('restyled');
}
}
});
//Added for Spanish site
if ($('body').hasClass('es_ES') || $('body').hasClass('collapse-elementor-accordions')) {
setTimeout(function () {
if ($('.elementor-widget-accordion').length > 0) {
$('.elementor-widget-accordion').each(function () {
$(this).find('.elementor-tab-title:first').removeClass('elementor-active');
$(this).find('.elementor-tab-content:first').css('display', 'none');
});
}
}, 100);
}
$('.below-content-social-links a').on('click', function () {
let network = $(this).attr('class');
let link = $(this).attr('href');
ga('send', 'social', network, 'share', link);
});
//Add audio custom script for play one at a time.
$('audio').bind('play', function () {
let activated = this;
$('audio').each(function () {
if (this != activated) this.pause();
});
});
$('.toggle-rebrand-menu').on('click', function (e) {
e.preventDefault();
$(window).scrollTop(0);
$('#rebrand-menu').toggleClass('open');
});
// CLOSE HAMBURGER MENU ON CLICK
//
$('.close-menu').on('click', function (e) {
$('#rebrand-menu').toggleClass('open');
});
$('.dropdown-subscribe-form').find('.ginput_container_email input').on('click', function () {
let height = $(this).parents('form').height();
$(this).parents('.gform_wrapper').addClass('open');
});
$('.tab-titles li').on('click', function (e) {
e.preventDefault();
//Remove active
$('.tab-titles li').removeClass('active');
$('.tab-content li').removeClass('active');
$(this).addClass('active');
let tab = $(this).data('tab');
$('.tab-content li[data-tab="' + tab + '"]').addClass('active');
});
function fancyTimeFormat(duration) {
// Hours, minutes and seconds
let hrs = ~~(duration / 3600);
let mins = ~~((duration % 3600) / 60);
let secs = ~~duration % 60;
// Output like "1:01" or "4:03:59" or "123:03:59"
let ret = "";
if (hrs > 0) {
ret += "" + hrs + ":" + (mins < 10 ? "0" : "");
}
ret += "" + mins + ":" + (secs < 10 ? "0" : "");
ret += "" + secs;
return ret;
}
$('body').on('click', '.rebrand-podcast-player-buttons .play', function (e) {
e.preventDefault();
let duration = '00:00';
let clickedButton = $(this);
let player = clickedButton.parents('.rebrand-podcast-player');
let progressBar = player.find('.rebrand-podcast-player-progress-bar');
duration = player.find('.time').last();
let currentDuration = player.find('.time').first();
player.find('audio').on('timeupdate', function () {
progressBar.val((this.currentTime / this.duration) * 100);
currentDuration.html(fancyTimeFormat(this.currentTime));
if (this.currentTime === 0 || this.currentTime === this.duration) {
clickedButton.removeClass('playing');
}
});
if (clickedButton.hasClass('playing')) {
player.find('audio')[0].pause();
clickedButton.removeClass('playing')
} else {
player.find('audio')[0].play();
clickedButton.addClass('playing');
}
duration.html(fancyTimeFormat(player.find('audio')[0].duration));
});
$('.rebrand-podcast-player-progress-bar').on('input', function (e) {
let player = $(this).parents('.rebrand-podcast-player');
player.find('audio')[0].currentTime = player.find('audio')[0].duration * ($(this).val() / 100);
player.find('audio').on('timeupdate', function () {
//progressBar.attr('value', (this.currentTime / this.duration)*100);
});
});
function fancyTimeFormat(duration) {
// Hours, minutes and seconds
let hrs = ~~(duration / 3600);
let mins = ~~((duration % 3600) / 60);
let secs = ~~duration % 60;
// Output like "1:01" or "4:03:59" or "123:03:59"
let ret = "";
if (hrs > 0) {
ret += "" + hrs + ":" + (mins < 10 ? "0" : "");
}
ret += "" + mins + ":" + (secs < 10 ? "0" : "");
ret += "" + secs;
return ret;
}
$('.elementor-podcast-widget-play').on('click', function (e) {
e.preventDefault();
let duration = '00:00';
let player = $(this).parents('.podcast-post-widget').find('.podcast-post-widget-player');
let progressBar = $(this).parents('.podcast-post-widget').find('.podcast-widget-seekbar');
duration = $(this).parents('.podcast-post-widget').find('.play-bar-duration');
player.on('timeupdate', function () {
progressBar.attr('value', this.currentTime / this.duration);
//console.log(this.duration);
});
let buttonBar = $(this).parents('.podcast-play-bar');
if (buttonBar.hasClass('playing')) {
player[0].pause();
buttonBar.removeClass('playing')
} else {
player[0].play();
buttonBar.addClass('playing');
}
duration.html(fancyTimeFormat(player[0].duration));
});
$('.rebrand-subscribe').on('click', function (e) {
let clickedButton = $(this).find('a');
let subscribeButtonIcons = '';
let the_subscribe_buttons_array = '';
if($(this).hasClass('rebrand-subscribe-single')){
if((FAMILYLIFE_THEME.subscribe_buttons_single != null) && (FAMILYLIFE_THEME.subscribe_buttons_single.length != 0)){
the_subscribe_buttons_array = FAMILYLIFE_THEME.subscribe_buttons_single;
}
else if((FAMILYLIFE_THEME.subscribe_buttons_parent_service_type != null) && (FAMILYLIFE_THEME.subscribe_buttons_parent_service_type.length != 0)){
the_subscribe_buttons_array = FAMILYLIFE_THEME.subscribe_buttons_parent_service_type;
}
else{
the_subscribe_buttons_array = FAMILYLIFE_THEME.subscribe_buttons_general;
}
} else if($(this).hasClass('rebrand-subscribe-wpfc-service-type') &&
(FAMILYLIFE_THEME.subscribe_buttons_service_type != null) && (FAMILYLIFE_THEME.subscribe_buttons_service_type.length != 0)){
the_subscribe_buttons_array = FAMILYLIFE_THEME.subscribe_buttons_service_type;
}
else{
the_subscribe_buttons_array = FAMILYLIFE_THEME.subscribe_buttons_general;
}
if(the_subscribe_buttons_array != ''){
$.each(the_subscribe_buttons_array, function (index, element) {
subscribeButtonIcons += '
';
});
}
/*console.log(clickedButton);*/
/*console.log(subscribeButtonIcons);*/
let subscribeButtons =
'' + subscribeButtonIcons + '
';
if (clickedButton.find('.rebrand-floating-subscribe').length > 0) {
//Floating subscribe already exists
if (clickedButton.find('.rebrand-floating-subscribe').is(':visible')) {
clickedButton.find('.rebrand-floating-subscribe').hide();
} else {
clickedButton.find('.rebrand-floating-subscribe').show();
}
} else {
$(subscribeButtons).appendTo(clickedButton);
}
});
$('.rebrand-like').on('click', function () {
//Save likes to cookie
//Send AJAX to site to record likes
});
// Homepage play video from toggle switch
$('.video-toggle .elementor-tab-title').on('click', function () {
if (!($(this).hasClass("playedVideo"))) {
let parent = $(this).parents(".video-section");
let video = $(parent).find("video.elementor-video");
let videoOverlay = $(parent).find(".elementor-custom-embed-image-overlay");
$(videoOverlay).hide();
$(video).get(0).play();
$(this).addClass("playedVideo");
}
});
// Masonry function
$.fn.masonryGrid = function (options) {
// Get options
var settings = $.extend({
columns: 3,
breakpoint: 767
}, options);
var $this = $(this),
currentColumn = 1,
i = 1,
itemCount = 1,
isDesktop = true;
// Add class to already existent items
$this.addClass('masonry-grid-origin');
$this.children().addClass('masonry-grid-item');
function createMasonry() {
currentColumn = 1;
// Add columns
for (columnCount = 1; columnCount <= settings.columns; columnCount++) {
$this.each(function () {
$(this).append('');
});
}
// Add basic styles to columns
$this.each(function () {
$(this).css('display', 'flex').find('.masonry-grid-column').css('width', '100%');
});
$this.each(function () {
var currentGrid = $(this);
currentGrid.find('.masonry-grid-item').each(function () {
// Reset current column
if (currentColumn > settings.columns) currentColumn = 1;
// Add ident to element and put it in a column
$(this).attr('id', 'masonry_grid_item_' + itemCount)
.appendTo(currentGrid.find('.masonry-grid-column-' + currentColumn));
// Increase current column and item count
currentColumn++;
itemCount++;
});
});
}
function destroyMasonry() {
// Put items back in first level of origin container
$this.each(function () {
while (i < itemCount) {
// Append item to parent container
$(this).find('#masonry_grid_item_' + i).appendTo($this);
i++;
}
// Remove columns
$(this).find('.masonry-grid-column').remove();
// Remove basic styles
$(this).css('display', 'block').find('.masonry-grid-column').css('width', 'auto');
});
}
// Call functions
if ($(window).width() > settings.breakpoint) {
isDesktop = true;
createMasonry();
} else if ($(window).width() <= settings.breakpoint) {
isDesktop = false;
destroyMasonry();
}
$(window).on('resize', function () {
if ($(window).width() > settings.breakpoint && isDesktop == false) {
isDesktop = true;
createMasonry();
} else if ($(window).width() <= settings.breakpoint && isDesktop == true) {
isDesktop = false;
destroyMasonry();
}
});
}
// Masonry layour for posts&podcasts category archive, Search results page
$(function () {
$('.grid-archive-masonry').masonryGrid({
'columns': 3
});
});
// Slick slider function
function sgsBriefSlick() {
$('.sgs-brief').slick({
arrows: false,
infinite: false,
slidesToShow: 4,
dots: false,
adaptiveHeight: true,
responsive: [
{
breakpoint: 770,
settings: {
infinite: true,
arrows: true,
slidesToShow: 2,
slidesToScroll: 2
}
}
]
});
}
function destroysgsBriefSlick() {
if ($('.sgs-brief').hasClass('slick-initialized')) {
$('.sgs-brief').slick('destroy');
}
}
sgsBriefSlick();
// Small Group Studies Filters and Actions
// TOPIC FILTER
$(".sgs-topics span").on('click', function () {
let that = $(this);
let topic = that.data('topic');
let ajaxUrl = $(".sgs-filters").data('url');
if (!$(".sgs-topics").hasClass('loading-topics')) {
$(".sgs-topics").addClass('loading-topics');
$(".sgs-filter-criterias input").prop('checked', false);
$(".show-filter-critarias").addClass('loading-topics').removeClass('has-filters-activated');
$(".sgs-loading-icon").slideDown(300);
$.ajax({
url: ajaxUrl,
type: 'post',
data: {
topic: topic,
action: 'filter_small_group_studies'
},
error: function (response) {
console.log(response);
$(".sgs-loading-icon").slideUp(300);
$(".sgs-topics").removeClass('loading-topics');
$(".show-filter-critarias").removeClass('loading-topics');
},
success: function (response) {
$('.sgs-main-wrapper').html(response);
$(".sgs-loading-icon").slideUp(300);
$(".sgs-topics span").removeClass('active-topic-filter');
that.addClass('active-topic-filter');
$(".sgs-topics").removeClass('loading-topics');
$(".show-filter-critarias").removeClass('loading-topics');
//reset brief slick slider
destroysgsBriefSlick();
sgsBriefSlick();
}
});
} else {
console.log('still loading');
}
});
// MAIN FILTER
//
$(".sgs-filter-button").on('click', function () {
if($(this).hasClass('sgs-filter-button-small-group-studies')){
var ajax_action_name = 'filter_small_group_studies';
}else if($(this).hasClass('sgs-filter-button-wtr-reviews')){
var ajax_action_name = 'filter_wtr_reviews';
}
let that = $(this);
let number_of_active_filters = 0;
let ajaxUrl = $(".sgs-filters").data('url');
//Small Group Studies Filter
let audience_filter = '';
$(".audience-filter input").each(function () {
if ($(this).is(":checked")) {
audience_filter = $(this).data('audience');
number_of_active_filters++;
}
});
let materialType_filter = '';
$(".materialType-filter input").each(function () {
if ($(this).is(":checked")) {
materialType_filter = $(this).data('material');
number_of_active_filters++;
}
});
let sgs_price_filter = '';
$(".sgs-price-filter input").each(function () {
if ($(this).is(":checked")) {
sgs_price_filter = $(this).data('price');
number_of_active_filters++;
}
});
//WTR Reviews Topic Filter
let wtr_topics_filter = '';
let wtr_topics_list = [];
$(".wtrReviewTopics-filter input").each(function () {
if ($(this).is(":checked")) {
wtr_topics_filter = $(this).data('wtr-review-topic');
wtr_topics_list.push(wtr_topics_filter);
number_of_active_filters++;
}
});
if (number_of_active_filters > 0) {
$('.show-filter-critarias').addClass('has-filters-activated');
$('.nr-of-active-filters').html(number_of_active_filters);
}
$('.sgs-filter-criterias-popup').hide().removeClass('filter-popup-active');
$(".show-filter-critarias").addClass('loading-topics');
$(".sgs-loading-icon").slideDown(300);
//Topic filter interaction
$(".sgs-topics").addClass('loading-topics');
$.ajax({
url: ajaxUrl,
type: 'post',
data: {
audience_filter: audience_filter,
materialType_filter: materialType_filter,
sgs_price_filter: sgs_price_filter,
wtr_topics_list: wtr_topics_list,
action: ajax_action_name
},
error: function (response) {
console.log(response);
$(".sgs-loading-icon").slideUp(300);
$(".sgs-topics").removeClass('loading-topics');
$(".show-filter-critarias").removeClass('loading-topics');
},
success: function (response) {
$('.sgs-main-wrapper').html(response);
$(".sgs-loading-icon").slideUp(300);
$(".show-filter-critarias").removeClass('loading-topics');
//Topic filter interaction
$(".sgs-topics span").removeClass('active-topic-filter');
$(".all-topics").addClass('active-topic-filter');
$(".sgs-topics").removeClass('loading-topics');
//reset brief slick slider
destroysgsBriefSlick();
sgsBriefSlick();
}
});
});
// FILTER MISCELLANEOUS
//
$(".sgs-filter-clear-all").on('click', function () {
$(".sgs-filter-criterias input").prop('checked', false);
$(".show-filter-critarias").removeClass('has-filters-activated');
});
// MAIN FILTER POPUP
//
$(".show-filter-critarias").on('click', function () {
if (!$(this).hasClass('loading-topics')) {
$(this).parents('.sgs-filters').find('.sgs-filter-criterias-popup').fadeIn(100).addClass('filter-popup-active');
}
});
$(".hide-filter-critarias").on('click', function () {
$('.sgs-filter-criterias-popup').hide().removeClass('filter-popup-active');
});
// SGS TOGGLES
//
$(".sgs-main-wrapper").on('click', '.sgs-toggle-title', function () {
if (!$(this).hasClass('opened-tab')) {
$('.sgs-toggle-body').slideUp();
$(".sgs-toggle-title").removeClass('opened-tab');
$(this).parents('.sgs-toggle').find('.sgs-toggle-body').slideDown();
$(this).addClass('opened-tab');
} else {
$(this).parents('.sgs-toggle').find('.sgs-toggle-body').slideUp();
$(this).removeClass('opened-tab');
}
});
$(".sgs-main-wrapper").on('mouseenter', '.sgs-featured-image', function () {
$(this).find('.sgs-primary-img').toggle();
$(this).find('.sgs-secondary-img').toggle();
});
$(".sgs-main-wrapper").on('mouseleave', '.sgs-featured-image', function () {
$(this).find('.sgs-primary-img').toggle();
$(this).find('.sgs-secondary-img').toggle();
});
// SGS PREVIEW POPUP
//
$(".sgs-main-wrapper").on('click', '.preview-sgs', function () {
$(this).parents('.sgs-single-buttons').find('.sgs-preview-video-popup').fadeIn().addClass('preview-active');
let play_current_sgs_preview_video = $(this).parents('.sgs-single-buttons').find('video');
$(play_current_sgs_preview_video).get(0).play();
});
$(".sgs-main-wrapper").on('click', '.close-sgs-video-popup', function () {
$(this).parents('.sgs-single-buttons').find('.sgs-preview-video-popup').hide().removeClass('preview-active');
let pause_current_sgs_preview_video = $(this).parents('.sgs-preview-video-inner').find('video');
$(pause_current_sgs_preview_video).get(0).pause();
$(pause_current_sgs_preview_video).get(0).currentTime = 0;
});
// SGS COMPARE FUNCTION
//
let compare_limit = 3;
$('.compare-input').on('change', function (evt) {
let currently_selected_to_compare = $('.compare-input:checked').length;
$(".dynamic-selcted span").html(currently_selected_to_compare);
if (currently_selected_to_compare > 0) {
$(".compare-button-sgs").show();
} else {
$(".compare-button-sgs").hide();
}
if (currently_selected_to_compare >= compare_limit) {
this.checked = false;
$(".dynamic-selcted span").html(currently_selected_to_compare - 1);
}
});
$(".compare-button-sgs").on('click', function () {
let active_checkboxes = new Array();
$(".compare-input").each(function () {
if ($(this).is(":checked")) {
let current_checkbox_value = $(this).data('compare');
active_checkboxes.push(current_checkbox_value);
}
});
$('.compare-item').hide();
$(active_checkboxes).each(function () {
if (this == 'art-of-marriage') {
$('.sgs1-c').show();
}
if (this == 'art-of-marriage-connect') {
$('.sgs2-c').show();
}
if (this == 'llymi') {
$('.sgs3-c').show();
}
if (this == 'vertical-marriage') {
$('.sgs4-c').show();
}
if (this == 'couple-studies') {
$('.sgs5-c').show();
}
if (this == 'art-of-parenting') {
$('.sgs6-c').show();
}
if (this == 'stepping-up') {
$('.sgs7-c').show();
}
if (this == 'the-smart-stepfamily') {
$('.sgs8-c').show();
}
if (this == 'no-perfect-parent') {
$('.sgs9-c').show();
}
if (this == 'art-of-marriage-2-0') {
$('.sgs10-c').show();
}
});
});
$(".sgs-clear-all-compare").on('click', function () {
$(".sgs-compare-controls input").prop('checked', false);
$(".dynamic-selcted span").html("0");
$('.compare-button-sgs').hide();
});
$(".compare-button-sgs").on('click', function () {
$('.sgs-compare-controls').hide();
$('.sgs-compare-results, .back-to-compare-sgs').show();
});
$(".back-to-compare-sgs").on('click', function () {
$('.sgs-compare-controls').show();
$('.sgs-compare-results, .back-to-compare-sgs').hide();
});
// SGS POPUP
//
$(".show-compare-table").on('click', function () {
$('.sgs-compare-popup').fadeIn(100).addClass('compare-popup-active');
});
$(".hide-compare").on('click', function () {
$('.sgs-compare-popup').hide().removeClass('compare-popup-active');
});
// SGS SLIDERS
//
$('.sgs-testimonials').slick({
arrows: true,
infinite: true,
dots: true,
adaptiveHeight: true,
responsive: [
{
breakpoint: 1000,
settings: {
arrows: false,
}
}
]
});
// ANCHOR TO HELP
//
$(".sgs-main-wrapper").on('click', '.jump-to-more-info', function () {
$([document.documentElement, document.body]).animate({
scrollTop: $("#we-can-help").offset().top
}, 700);
});
// STICKY FILTERS
//
$(document).scroll(function () {
if($(".sgs-filters").length){
var top_of_screen = $(window).scrollTop();
var top_of_filter_box = $(".sgs-filters").offset().top;
const filter_box = $(".sgs-filters");
if(!filter_box.hasClass('filters-not-sticky')){
if ((top_of_screen > top_of_filter_box) && !($(filter_box).hasClass('is-sticky-filter'))) {
$(filter_box).addClass('is-sticky-filter');
}
if ((top_of_screen < 550) && ($(filter_box).hasClass('is-sticky-filter'))) {
$(filter_box).removeClass("is-sticky-filter");
}
}
}
});
// SECONDARY NAVIGATION TOGGLE
//
$(".secondary-navigation-container__heading").on('click', function () {
$(this).parents('.secondary-navigation-container').find('.menu').slideToggle();
});
// Hide a popup
$('.hide-popup').click(function(){
$(this).parents('.popup').find('.popup-container').removeClass('active');
});
// Taxonomy Posts Carousel - used with shortcode [taxonomy-post-carousel]
//
$('.tax-posts-carousel-menu').on('click', function(){
let postSlide = $(this).parents('.taxonomy-post-carousel').find('.posts');
if(!$(this).hasClass('active')){
let currentTaxSlug = $(this).data('taxslug');
$('.tax-posts-carousel-menu').removeClass('active');
$(postSlide).hide().removeClass('posts__active');
$(this).addClass('active');
$(postSlide).each(function(i, currentPostSlide) {
if(currentTaxSlug == $(currentPostSlide).data('taxslug')){
$(currentPostSlide).fadeIn(500).css( "display", "grid" );
}
});
}
});
// Copy to Clipboard Function
//
function copyToClipboard(targetToCopy, sucessAlert) { //targetToCopy needs to be an input
targetToCopy.select();
targetToCopy.setSelectionRange(0, 99999);
navigator.clipboard.writeText(targetToCopy.value);
if(sucessAlert.length){
const initialButtonText = sucessAlert.text();
sucessAlert.text('Copied');
setTimeout(function(){ sucessAlert.text(initialButtonText); }, 1000);
}
}
//Equip Share Resource copyToClipboard
$(".copyToClipboard").click(function(){
let linkToCopy = $(this).parents('.equip-popup-wrapper__share-resource').find('.linkToCopy');
copyToClipboard(linkToCopy[0], $(this));
});
//Toggle User Profile Box
//
$('.user-info-box-button').on('click', function(e) {
$('.user-info-box-dropdown').toggleClass('active');
});
$(document).scroll(function () {
if($(".user-info-box-dropdown").length && $('.user-info-box-dropdown').hasClass('active')){
$('.user-info-box-dropdown').removeClass('active');
}
});
// CATEGORY PAGES FILTERS
//
$("#category-resourcetype-filter").on('select2:select', function (e) {
let data = e.params.data.id;
const currentUrl = window.location.href;
const newUrl = new URL(currentUrl.replace(/page\/[0-9]+\//i, ''));
newUrl.searchParams.set('resource_type', data);
window.location.href = newUrl.href;
});
$("#category-sort-filter").on('select2:select', function (e) {
let data = e.params.data.id;
const url = new URL(window.location.href);
url.searchParams.set('order', data);
window.location.href = url.href;
});
// HORIZONTAL MASONRY INIT
//
if ( $.isFunction($.fn.masonry) ) {
$('.horizontal-masonry-container').masonry({
percentPosition: true,
columnWidth: '.horizontal-masonry-grid-sizer',
gutter: '.horizontal-masonry-gutter-sizer',
itemSelector: '.grid-item-post-archive',
horizontalOrder: true,
});
}
}); // Document ready
jQuery(window).on('load', function(){
var $ = jQuery;
// HORIZONTAL MASONRY SET LAYOUT - AFTER IMAGES ARE LOADED
//
function showHorizontalMasonry() {
if ( $.isFunction($.fn.masonry) && $('.horizontal-masonry-container').length > 0) {
$('.horizontal-masonry-container').masonry('layout');
setTimeout(function(){
$('.masonry-loading-icon').hide();
$('.horizontal-masonry-container').css({opacity: 0, visibility: "visible"}).animate({opacity: 1}, 500);
}, 500);
}
}
showHorizontalMasonry();
}); // Window on load;
jQuery(document).ready(function ($) {
// Redirect search form for term cruise
$("form.search-form").on('submit', function (event) {
let searched_term = $(this).find("input.search-field").val().toLowerCase();
if (searched_term == 'cruise' || searched_term == 'love like you mean it' || searched_term == 'love like you mean it couples cruise' ||
searched_term == 'marriage cruise' || searched_term == 'love like you mean it marriage cruise') {
event.preventDefault();
window.location.href = "https://www.familylife.com/cruise";
}
});
});;
!function(e){var a=[],t=!1,i=!1;window.is_fb_loggedin=!1,window.is_google_loggedin=!1;var n=window.location.hash.substring(1),o=new RegExp("^[\\w\\-]+$").test(n),l=function(a){a.css("width","100%"),0!=a.closest(".elementor-section").length&&a.css("height"," "),0!=a.closest(".e-con").length&&a.css("height","100%"),max=-1,a.find("img").each(function(){max"):e.wrap("")}),e.hasClass("uael-gf-ajax-yes")?jQuery(document).on("gform_confirmation_loaded",function(e,a){i.hide(),n.hide()}):t.length>0?(i.hide(),n.hide()):(i.show(),n.show()),"undefined"!=typeof gform&&gform.addAction("gform_input_change",function(a){e.find(".gfield_radio .gchoice_button").length&&!e.hasClass("uael-gf-check-default-yes")&&"radio"==e.find(a).attr("type")&&(e.find(a).parent().hasClass("uael-radio-active")?e.find(a).parent().removeClass("uael-radio-active"):(e.find(".gchoice_button").removeClass("uael-radio-active"),e.find(a).parent().addClass("uael-radio-active")))},10,3)}},r=function(e,a){void 0!==e&&(e.find("select").wrap(""),t(e),a(document).on("cf.add",function(){t(e)}));function t(e){e.find("input:radio").each(function(){var e=a(this);e.next().hasClass("uael-caf-radio-custom")||e.after("")})}},d=function(e,a){if(void 0!==e){var t=e.find("select:not([multiple])"),i=e.find("span.ajax-loader");t.wrap(""),i.wrap("");var n=document.querySelector(".wpcf7");null!==n&&n.addEventListener("wpcf7submit",function(a){e.find(".wpcf7-not-valid-tip").wrap("")},!1)}},c=function(){var a=e(this).data("id"),t=e(this).find(".uael-fancy-text-node"),i=t.data("animation"),n=t.data("strings"),o=".elementor-element-"+a,l=t.data("type-speed"),s=t.data("back-speed"),r=t.data("start-delay"),d=t.data("back-delay"),c=t.data("loop"),u=t.data("show_cursor"),f=t.data("cursor-char"),p=t.data("speed"),m=t.data("pause"),g=t.data("mousepause");"type"==i?e(o+" .uael-typed-main").typed({strings:n,typeSpeed:l,startDelay:r,backSpeed:s,backDelay:d,loop:c,showCursor:u,cursorChar:f}):"slide"==i?(e(o+" .uael-fancy-text-slide").css("opacity","1"),e(o+" .uael-slide-main").vTicker("init",{strings:n,speed:p,pause:m,mousePause:g})):UAELEffects._animateHeadline(e(o).find(".uael-slide-main_ul"),t)},u=function(e,n){if(void 0!==e){var o,l,s=e.data("id"),r=e.find(".uael-hotspot-container"),d=r.data("side"),c=r.data("hotspottrigger"),u=r.data("arrow"),f=r.data("distance"),p=r.data("delay"),m=r.data("animation"),g=r.data("animduration"),h="uael-tooltip-wrap-"+s+" uael-hotspot-tooltip",v=r.data("zindex"),w=r.data("autoplay"),_=r.data("repeat"),y=r.data("overlay"),k=r.data("length"),b=r.data("tourinterval"),C=r.data("autoaction"),x=!1,E=r.data("hotspotviewport"),L=r.data("tooltip-maxwidth"),A=r.data("tooltip-minwidth");if(passtrigger="custom"==c?"click":c,clearInterval(a[s]),l=c,n(".uael-hotspot-main-"+s).tooltipster({theme:["tooltipster-noir","tooltipster-noir-customized"],minWidth:A,maxWidth:L,side:d,trigger:l,arrow:u,distance:f,delay:p,animation:m,uaelclass:h,zIndex:v,interactive:!0,animationDuration:g}),"custom"==c){var F=e.find(".uael-hotspot-overlay");W()}else clearInterval(a[s])}function T(){"yes"!=_&&(n(".uael-prev-"+s+'[data-tooltipid="1"]').addClass("inactive"),n(".uael-next-"+s+'[data-tooltipid="'+k+'"]').addClass("inactive"))}function I(){a[s]=setInterval(function(){var i=n(".uael-hotspot-main-"+s+".open");if(o=i.data("uaeltour"),!t)if(i.trigger("click"),"yes"==_)if(elementorFrontend.isEditMode())oi);else{var l=n(".uael-hotspot-main-"+s+".open");l.tooltipster("close"),l.removeClass("open"),clearInterval(a[s]),W(),n(F).show()}x=!1}o==k?o=1:o+=1,n(".uael-hotspot-main-"+s+'[data-uaeltour="'+o+'"]').trigger("click"),n(window).on("scroll",function(){x||(x=!0,window.requestAnimationFrame?window.requestAnimationFrame(l):setTimeout(l,300))})}else"no"==_&&(o',nextSelector:"#uael-timeline-"+y+" a.next",contentSelector:".elementor-element-"+y+" .uael-timeline-main",callback:function(){window.addEventListener("load",k),window.addEventListener("resize",k),window.addEventListener("scroll",k)}})})}function k(){if((i=e.find(".uael-timeline-main")).length<1)return!1;var h=a(document);if(c=r.first().position(),u=r.last().position(),d=e.find(".uael-timeline-field").last(),s.css("top",c.top),m=d.height(),g=d.offset().top-t.offset().top,e.hasClass("uael-timeline-arrow-center"))s.css("bottom",u.top),p=g-c.top,f=p+u.top;else if(e.hasClass("uael-timeline-arrow-top")){var v=m-u.top;s.css("bottom",v),f=g}else if(e.hasClass("uael-timeline-arrow-bottom")){var _=m-u.top;s.css("bottom",_),p=g-c.top,f=p+u.top}w=f+20;var y,k,b,C,x=document.documentElement.clientHeight/2,E=(b=t.offset().top)+c.top-h.scrollTop();E=E<0?Math.abs(E):-Math.abs(E),b=w&&l.height(w):E+xE?(l.height(x-Math.abs(E)),0):l.height(x+E):E+x>=w&&l.height(w),o=e.find(".uael-timeline-marker"),n=e.find(".animate-border");for(var L=0;L"),i=a(this),n=i.data("url"),o=i.closest(".uael-video__gallery-item").find(".uael-vg__overlay"),l=i.closest(".uael-video__gallery-iframe");t.attr("src",n),t.attr("frameborder","0"),t.attr("allowfullscreen","1"),t.attr("allow","autoplay;encrypted-media;"),l.html(t),l.attr("style","background:#000;"),o.hide()}),"carousel"==i){var d=t.data("vg_slider");t.find(".uael-video__gallery-iframe").imagesLoaded({background:!0})&&t.slick(d)}if(a("html").on("click",function(){r.removeClass("show-list")}),e.on("click",".uael-filters-dropdown-button",function(e){e.stopPropagation(),r.addClass("show-list")}),t.hasClass("uael-video-gallery-filter")){var c=e.find(".uael-video__gallery-filters"),u="*";if(""!==n&&o){var f=c.find("[data-filter='."+n.toLowerCase()+"']");f.length>0&&(u="."+n.toLowerCase(),f.siblings().removeClass("uael-filter__current"),f.addClass("uael-filter__current"))}if(c.length>0)""!==(m=c.data("default"))&&(u=m,def_cat_sel=c.find('[data-filter="'+m+'"]'),def_cat_sel.length>0&&(def_cat_sel.siblings().removeClass("uael-filter__current"),def_cat_sel.addClass("uael-filter__current")),-1===s.indexOf(u.replace(/\./g,""))&&(u="*"));var p={};if(t.imagesLoaded({background:".item"},function(e){p=t.isotope({filter:u,layoutMode:"masonry",itemSelector:".uael-video__gallery-item"}),t.find(".uael-video__gallery-item").resize(function(){p.isotope("layout")})}),e.find(".uael-video__gallery-filter").on("click",function(){a(this).siblings().removeClass("uael-filter__current"),a(this).addClass("uael-filter__current");var i=a(this).data("filter");if("*"===i?e.find(".uael-video-gallery-wrap").data("filter-default"):i.replace(".filter-",""),e.find(".uael-video__gallery-filters").data("default"))e.find(".uael-video__gallery-filters").data("default").length;else e.find(".uael-video-gallery-wrap").data("filter-default").length;var n=e.find(".uael-filter__current").text(),o=e.find(".uael-filters-dropdown-list .uael-filter__current").text(),l=window.location.hash.replace("#",""),s=n.replace(o,""),r=n.replace(s,"");(!l&&window.screen.availWidth>768||l)&&(r=n.replace(o,"")),l&&window.screen.availWidth<768&&(r=n.replace(s,"")),e.find(".uael-filters-dropdown-button").text(r),t.isotope({filter:i})}),e.find(".uael-video__gallery-filters").data("default"))(m=e.find(".uael-video__gallery-filters").data("default")).length;else{var m;(m=e.find(".uael-video-gallery-wrap").data("filter-default")).length}var g=e.find(".uael-filter__current").first().text();e.find(".uael-filters-dropdown-button").text(g)}}}},w=function(e,a){if(void 0!==e){var t,l=e.find(".uael-img-justified-wrap"),s=l.data("rowheight"),r=l.data("lastrow"),d=e.find(".uael-filters-dropdown-list"),c=e.find(".uael-image-lightbox-wrap"),u=[],f="uael-fancybox-gallery-"+e.data("id"),p=c.data("lightbox-gallery-loop");t=e.find(".uael-masonry-filters").data("default")?e.find(".uael-masonry-filters").data("default"):e.find(".uael-img-gallery-wrap").data("filter-default"),c.length>0&&(u=JSON.parse(c.attr("data-lightbox_actions")));var m=function(a){e.find(a+' [data-fancybox="uael-gallery"]').fancybox({buttons:u,animationEffect:"fade",baseClass:f,loop:p})};void 0!==t&&m(""===t||"All"===t?".uael-grid-item":".uael-grid-item."+t.substr(1)),e.on("click",".uael-masonry-filter",function(){var e=a(this).attr("data-filter");m("*"===e?".uael-grid-item":".uael-grid-item."+e.substr(1))}),l.length>0&&l.imagesLoaded(function(){}).done(function(e){l.justifiedGallery({rowHeight:s,lastRow:r,selector:"div",waitThumbnailsLoad:!0})}),a("html").on("click",function(){d.removeClass("show-list")}),e.on("click",".uael-filters-dropdown-button",function(e){e.stopPropagation(),d.addClass("show-list")});var g=e.find(".uael-img-carousel-wrap");if(g.length>0){var h=function(e,t){var i=t.$slider,n=-1;i.find(".slick-slide.slick-active").each(function(e){var t=a(this).innerHeight();n0&&(k="."+n.toLowerCase(),b.siblings().removeClass("uael-current"),b.addClass("uael-current"))}if(y.length>0)""!==(E=y.attr("data-default"))&&(k=E,def_cat_sel=y.find('[data-filter="'+E+'"]'),def_cat_sel.length>0&&(def_cat_sel.siblings().removeClass("uael-current"),def_cat_sel.addClass("uael-current")));if(l.length>0)l.imagesLoaded(function(){}).done(function(e){l.justifiedGallery({filter:k,rowHeight:s,lastRow:r,selector:"div"})});else{var C={filter:k,itemSelector:".uael-grid-item",percentPosition:!0,layoutMode:_,hiddenStyle:{opacity:0}},x={};e.imagesLoaded(function(e){x=w.isotope(C)})}if(e.on("click",".uael-masonry-filter",function(){var t=a(this),i=t.attr("data-filter");if(t.siblings().removeClass("uael-current"),t.addClass("uael-current"),"*"===i?e.find(".uael-img-gallery-wrap").data("filter-default"):i.substr(1),e.find(".uael-masonry-filters").data("default"))e.find(".uael-masonry-filters").data("default");else e.find(".uael-img-gallery-wrap").data("filter-default");var n=e.find(".uael-masonry-filters-wrapper .uael-current").text(),o=e.find(".uael-filters-dropdown-list .uael-current").text(),d=window.location.hash.replace("#",""),c=n.replace(o,""),u=n.replace(c,"");(!d&&window.screen.availWidth>768||d)&&(u=n.replace(o,"")),d&&window.screen.availWidth<768&&(u=n.replace(c,"")),e.find(".uael-filters-dropdown-button").text(u),l.length>0?l.justifiedGallery({filter:i,rowHeight:s,lastRow:r,selector:"div"}):x.isotope({filter:i})}),e.find(".uael-masonry-filters").data("default"))var E=e.find(".uael-masonry-filters").data("default");else E="."+e.find(".uael-img-gallery-wrap").data("filter-default");var L=e.find(".uael-filters-dropdown-list .uael-current").text();e.find(".uael-filters-dropdown-button").text(L)}}};UAELVideo={_play:function(a,t){var i=e(""),n=a.data("src");if(0==a.find("iframe").length&&((t.hasClass("uael-video-type-vimeo")||t.hasClass("uael-video-type-youtube")||t.hasClass("uael-video-type-wistia"))&&i.attr("src",n),i.attr("frameborder","0"),i.attr("allowfullscreen","1"),i.attr("allow","autoplay;encrypted-media;"),a.html(i),t.hasClass("uael-video-type-hosted"))){var o=JSON.parse(t.data("hosted-html"));i.ready(function(){i.contents().find("body").css({margin:"0px"}).html(o),i.contents().find("video").css({width:"100%",height:"100%"}),i.contents().find("video").attr("autoplay","autoplay")})}a.closest(".uael-video__outer-wrap").find(".uael-vimeo-wrap").hide()}},UAELEffects={_animateHeadline:function(a,t){a.each(function(){var a=e(this),i=t.data("speed");setTimeout(function(){UAELEffects._hideWord(a.find(".uael-active-heading"),t)},i)})},_hideWord:function(e,a){var t=UAELEffects._takeNext(e),i=a.data("animation"),n=a.data("speed");if("clip"==i){var o=a.data("clip_speed"),l=a.data("pause_time");e.parents(".uael-slide-main_ul").animate({width:"0px"},o,function(){setTimeout(function(){UAELEffects._switchWord(e,t),UAELEffects._showWord(t,a)},l)})}else UAELEffects._switchWord(e,t),setTimeout(function(){UAELEffects._hideWord(t,a)},n)},_takeNext:function(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()},_switchWord:function(e,a){e.removeClass("uael-active-heading").addClass("uael-inactive-heading"),a.removeClass("uael-inactive-heading").addClass("uael-active-heading")},_showWord:function(e,a){if("clip"==a.data("animation")){var t=a.data("clip_speed"),i=a.data("pause_time");e.parents(".uael-slide-main_ul").animate({width:e.width()+3},t,function(){setTimeout(function(){UAELEffects._hideWord(e,a)},i)})}}};var _=function(e,a){if(void 0!==e){var t=e.find(".uael-video__outer-wrap"),n=e.find(".uael-video-inner-wrap"),o=t.data("hidedesktop"),l=t.data("hidetablet"),s=t.data("hidemobile"),r=t.data("stickybottom"),d=(t.data("vsticky-viewport"),t.hasClass("uael-video-play-lightbox"));if(t.off("click").on("click",function(e){if("yes"==t.data("vsticky")){var i=e.target.className;if(i.toString().indexOf("uael-sticky-close-icon")>=0||i.toString().indexOf("uael-video-sticky-close")>=0)return!1}var n=a(this).find(".uael-video__play");d||UAELVideo._play(n,t)}),"1"!=t.data("autoplay")&&1!=t.data("device")||d||UAELVideo._play(e.find(".uael-video__play"),t),"yes"==t.data("vsticky")){var c=new IntersectionObserver(function(i){i.forEach(function(i){!i.isIntersecting&&i.boundingClientRect.top<0?(t.removeClass("uael-sticky-hide"),t.addClass("uael-sticky-apply"),a(document).trigger("uael_after_sticky_applied",[e])):i.isIntersecting&&(t.removeClass("uael-sticky-apply"),t.addClass("uael-sticky-hide"))})},{root:null,rootMargin:"0px 0px 0px 0px",threshold:0});c.observe(t[0]),e.find(".uael-video-sticky-close").off("click.closetrigger").on("click.closetrigger",function(e){c.unobserve(t[0]),t.removeClass("uael-sticky-apply"),t.removeClass("uael-sticky-hide")}),u(c),f(),window.addEventListener("scroll",f),a(window).on("resize",function(e){u(c)})}a(document).on("uael_after_sticky_applied",function(e,a){var t=a.find(".uael-video-sticky-infobar");if(0!==t.length){var i=t.outerHeight();if((a.hasClass("uael-video-sticky-center_left")||a.hasClass("uael-video-sticky-center_right"))&&(i=Math.ceil(i/2),n.css("top","calc( 50% - "+i+"px )")),(a.hasClass("uael-video-sticky-bottom_left")||a.hasClass("uael-video-sticky-bottom_right"))&&""!==r){var o=(i=Math.ceil(i))+r;n.css("bottom",o)}}}),a(window).on("load",function(){setTimeout(function(){var e=a(".uael-video__outer-wrap iframe");e.length&&e.contents().find("body").css("margin","0")},1e3)})}function u(e){var a=elementorFrontend.getCurrentDeviceMode();""!==o&&a===o||""!==l&&a===l||""!==s&&a===s?function(e){e.unobserve(t[0]),t.removeClass("uael-sticky-apply"),t.removeClass("uael-sticky-hide")}(e):e.observe(t[0])}function f(){!i&&t.hasClass("uael-sticky-apply")&&n.draggable({start:function(){a(this).css({transform:"none",top:a(this).offset().top+"px",left:a(this).offset().left+"px"})},containment:"window"})}},y=function(e,a){if(void 0!==e){var t,i,n,o,l,s=e.data("id"),r=uael_script.ajax_url,d=e.find(".uael-login-form-wrapper").find(".uael-form"),c=e.find(".uael-login-form-submit"),u=c.find(".elementor-button-text"),f=e.find(".uael-login-form-username"),p=e.find(".uael-login-form-password"),m=e.find(".uael-login-form-remember"),g=e.find(".uaelFacebookContentWrapper"),h=g.find(".uael-facebook-text"),v=e.find(".uaelGoogleContentWrapper"),w=e.find(".uael-login-form-wrapper").data("redirect-url"),_=e.find(".uael-login-form-social-wrapper").data("send-email"),y=e.find(".uael-login-form-wrapper").data("nonce"),k=c.data("ajax-enable"),b=e.find(".toggle-password");if(e.find(".elementor-field").on("keyup",function(e){a(this).siblings(".uael-register-field-message").remove()}),e.find(".uael-password-wrapper").on("keyup",function(e){a(this).next(".uael-register-field-message").remove()}),b.on("click",function(){var e=a(this);e.toggleClass("fa-eye fa-eye-slash");var t=e.parent().find("input");"password"==t.attr("type")?t.attr("type","text"):t.attr("type","password")}),c.on("click",function(){var t=!1,i=e.find(".uael-loginform-error");if(""===f.val()&&(E(e,f,uael_login_form_script.required),t=!0),""===p.val()&&(E(e,p,uael_login_form_script.required),t=!0),!elementorFrontend.isEditMode()){if("yes"!==k)return!t&&0===i.length&&(d.animate({opacity:"0.45"},500).addClass("uael-form-waiting"),u.hasClass("disabled")||(u.addClass("disabled"),u.append('')),!0);if(event.preventDefault(),!t&&0===i.length){var n={username:f.val(),password:p.val(),rememberme:m.val()};a.post(r,{action:"uael_login_form_submit",data:n,nonce:y,method:"post",dataType:"json",beforeSend:function(){d.animate({opacity:"0.45"},500).addClass("uael-form-waiting"),u.hasClass("disabled")||(u.addClass("disabled"),u.append(''))}},function(a){d.animate({opacity:"1"},100).removeClass("uael-form-waiting"),u.find(".uael-form-loader").remove(),u.removeClass("disabled"),!0===a.success?(e.find(".uael-register-field-message").remove(),e.find(".uael-form").trigger("reset"),void 0===w?location.reload():window.location=w):!1===a.success&&"incorrect_password"===a.data?E(e,p,uael_login_form_script.incorrect_password):!1===a.success&&"invalid_username"===a.data?E(e,f,uael_login_form_script.invalid_username):!1===a.success&&"invalid_email"===a.data&&E(e,f,uael_login_form_script.invalid_email)})}}}),!elementorFrontend.isEditMode()){if(g.length>0){g.on("click",function(){is_fb_loggedin||FB.login(function(t){t.authResponse&&FB.api("/me",{fields:"id, name, first_name, last_name, email, link, gender, locale, picture"},function(t){var i=FB.getAuthResponse().userID,n=FB.getAuthResponse().accessToken;window.is_fb_loggedin=!0;var o={id:t.id,name:t.name,first_name:t.first_name,last_name:t.last_name,email:t.email,link:t.link,send_email:_};a.post(r,{action:"uael_login_form_facebook",data:o,nonce:y,method:"post",dataType:"json",userID:i,security_string:n,beforeSend:function(){d.animate({opacity:"0.45"},500).addClass("uael-form-waiting"),h.hasClass("disabled")||(h.addClass("disabled"),h.append(''))}},function(a){!0===a.success?(d.animate({opacity:"1"},100).removeClass("uael-form-waiting"),h.find(".uael-form-loader").remove(),h.removeClass("disabled"),e.find(".status").addClass("success").text(uael_login_form_script.logged_in_message+t.first_name+"!"),void 0===w?location.reload():window.location=w):location.reload()})})},{scope:"email"})}),window.fbAsyncInit=function(){var e=g.data("appid");FB.init({appId:e,cookie:!0,xfbml:!0,version:"v2.8"})},t=document,i="script",n="facebook-jssdk",l=t.getElementsByTagName(i)[0],t.getElementById(n)||((o=t.createElement(i)).id=n,o.src="//connect.facebook.net/en_US/sdk.js",l.parentNode.insertBefore(o,l))}if(v.length>0){var C=v.data("clientid"),x=document.getElementById("uael-google-login-"+s);gapi.load("auth2",function(){auth2=gapi.auth2.init({client_id:C,cookiepolicy:"single_host_origin"}),auth2.attachClickHandler(x,{},function(t){var i={send_email:_};if(window.is_google_loggedin){var n=t.getAuthResponse().id_token,o=v.find(".uael-google-text");a.ajax({url:r,method:"post",dataType:"json",data:{nonce:y,action:"uael_login_form_google",data:i,id_token:n},beforeSend:function(){d.animate({opacity:"0.45"},500).addClass("uael-form-waiting"),o.hasClass("disabled")||(o.addClass("disabled"),o.append(''))},success:function(a){!0===a.success&&(d.animate({opacity:"1"},100).removeClass("uael-form-waiting"),o.find(".uael-form-loader").remove(),o.removeClass("disabled"),e.find(".status").addClass("success").text(uael_login_form_script.logged_in_message+a.username+"!"),void 0===w?location.reload():window.location=w)}})}},function(e){})})}}v.on("click",function(){window.is_google_loggedin=!0})}function E(e,a,t){var i=a.attr("name"),n=e.find(".uael-password-wrapper"),o=n.next().hasClass("uael-register-field-message"),l=a.next().hasClass("uael-register-field-message");switch(i){case"password":if(o)return;n.after(''+t+"");break;default:if(l)return;a.after(''+t+"")}}},k=function(e,a){var t=e.find(".uael-faq-accordion > .uael-accordion-content"),i=e.find(".uael-faq-container").data("layout");e.find(".uael-accordion-title").on("click keypress",function(e){e.preventDefault(),$this=a(this),function(e){if("toggle"==i)e.hasClass("uael-title-active")?(e.removeClass("uael-title-active"),e.attr("aria-expanded","false")):(e.addClass("uael-title-active"),e.attr("aria-expanded","true")),e.next(".uael-accordion-content").slideToggle("normal","swing");else if("accordion"==i)e.hasClass("uael-title-active")?(e.removeClass("uael-title-active"),e.next(".uael-accordion-content").slideUp("normal","swing",function(){a(this).prev().removeClass("uael-title-active"),e.attr("aria-expanded","false")})):(t.hasClass("uael-title-active")&&t.removeClass("uael-title-active"),t.slideUp("normal","swing",function(){a(this).prev().removeClass("uael-title-active")}),e.addClass("uael-title-active"),e.next(".uael-accordion-content").slideDown("normal","swing",function(){a(this).prev().addClass("uael-title-active"),e.attr("aria-expanded","true")}))}($this)})},b=function(e,a){void 0!==e&&e.find("select:not([multiple])").each(function(){a(this).wrap("")})},C=function(e,a){if(void 0!==e){var t=e.find(".uael-welcome-track"),i=e.find(".uael-welcome-music-container"),n=t.length>0?t.data("autoplay"):"",o=i.data("volume"),l=t.length>0?t[0]:"",s=e.find("#uael-play-pause"),r=s.find(".play"),d=s.find(".pause");if(n){var c=l.play();c&&c.catch(e=>{"NotAllowedError"!==e.name&&"NotSupportedError"!==e.name||(s.toggleClass("uael-pause"),s.toggleClass("uael-play"))}).then(()=>{s.toggleClass("uael-play"),s.toggleClass("uael-pause")})}s.on("click",function(){var e=a(this);e.hasClass("uael-play")?(l.play(),e.toggleClass("uael-play"),e.toggleClass("uael-pause")):(l.pause(),e.toggleClass("uael-pause"),e.toggleClass("uael-play"))}),a(".uael-welcome-track").on("ended",function(){s.toggleClass("uael-pause"),r.css("display","block"),s.toggleClass("uael-play"),d.css("display","none")}),Number.isNaN(Number(o))||""===o||void 0===o||""===l||(l.volume=parseFloat(o/100))}},x=function(e,a){var t=e.data("id"),n=function(e){var a={},t=e.data("model-cid");if(i&&t){var n=elementorFrontend.config.elements.data[t],o=elementorFrontend.config.elements.keys[n.attributes.widgetType||n.attributes.elType];jQuery.each(n.getActiveControls(),function(e){-1!==o.indexOf(e)&&(a[e]=n.attributes[e])})}else a=e.data("settings")||{};return a}(e),o=e.find(".uael-instagram-feed").eq(0),l=n.uae_insta_layout_type;if(o.length&&"masonry"===l)var s=a("#uael-instafeed-"+t).imagesLoaded(function(){s.masonry({itemSelector:".uael-feed-item",percentPosition:!0})})},E=function(e,a){var t=e.find(".uael-twitter-feed-carousel");if(t.length>0){var i=function(e,t){var i=t.$slider,n=-1;i.find(".slick-slide.slick-active").each(function(e){var t=a(this).innerHeight();n{elementor.hooks.addAction("panel/open_editor/"+a,function(a,t,i){a.$el.on("change",'[data-setting="display_condition_enable"]',function(a){if(e(this).is(":checked")){var t=(new Date).getTimezoneOffset();t=0==t?0:-t;var i="https:"===document.location.protocol?"secure":"";document.cookie="GetLocalTimeZone="+t+";SameSite=Strict;"+i}else document.cookie="GetLocalTimeZone= ; expires = Thu, 01 Jan 1970 00:00:00 GMT"})})}))})}(jQuery);;
/**
* tooltipster http://calebjacob.github.io/tooltipster/
* A rockin' custom tooltip jQuery plugin
* Developed by Caleb Jacob and Louis Ameline
* MIT license
*/
!function(t,i){"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(t)}):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(0,function(t){var i={animation:"fade",animationDuration:350,content:null,uaelclass:"",contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},o="undefined"!=typeof window?window:null,e={hasTouchCapability:!(!o||!("ontouchstart"in o||o.DocumentTouch&&o.document instanceof o.DocumentTouch||o.navigator.maxTouchPoints)),hasTransitions:function(){if(!o)return!1;var t=(o.document.body||o.document.documentElement).style,i="transition",e=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[i])return!0;i=i.charAt(0).toUpperCase()+i.substr(1);for(var n=0;n0?e=this.__plugins[o]:t.each(this.__plugins,function(t,i){if(i.name.substring(i.name.length-o.length-1)=="."+o)return e=i,!1}),e}if(i.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return this.__plugins[i.name]=i,i.core&&this.__bridge(i.core,this,i.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(i){var o=[];return t(i||".tooltipstered").each(function(){var i=t(this),e=i.data("tooltipster-ns");e&&t.each(e,function(t,e){o.push(i.data(e))})}),o},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(i){return t((i?i+" ":"")+".tooltipstered").toArray()},setDefaults:function(o){return t.extend(i,o),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.tooltipster=new n,t.Tooltipster=function(i,o){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(i,o)},t.Tooltipster.prototype={__init:function(o,n){var s=this;if(s._$origin=t(o),s.__options=t.extend(!0,{},i,n),s.__optionsFormat(),!e.IE||e.IE>=s.__options.IEmin){var r=null;if(void 0===s._$origin.data("tooltipster-initialTitle")&&(void 0===(r=s._$origin.attr("title"))&&(r=null),s._$origin.data("tooltipster-initialTitle",r)),null!==s.__options.content)s.__contentSet(s.__options.content);else{var _,a=s._$origin.attr("data-tooltip-content");a&&(_=t(a)),_&&_[0]?s.__contentSet(_.first()):s.__contentSet(r)}s._$origin.removeAttr("title").addClass("tooltipstered"),s.__prepareOrigin(),s.__prepareGC(),t.each(s.__options.plugins,function(t,i){s._plug(i)}),e.hasTouchCapability&&t(e.window.document.body).on("touchmove."+s.__namespace+"-triggerOpen",function(t){s._touchRecordEvent(t)}),s._on("created",function(){s.__prepareTooltip()})._on("repositioned",function(t){s.__lastPosition=t.position})}else s.__options.disabled=!0},__contentInsert:function(){var t=this._$tooltip.find(".tooltipster-content"),i=this.__Content;return this._trigger({type:"format",content:this.__Content,format:function(t){i=t}}),this.__options.functionFormat&&(i=this.__options.functionFormat.call(this,this,{origin:this._$origin[0]},this.__Content)),"string"!=typeof i||this.__options.contentAsHTML?t.empty().append(i):t.text(i),this},__contentSet:function(i){return i instanceof t&&this.__options.contentCloning&&(i=i.clone(!0)),this.__Content=i,this._trigger({type:"updated",content:i}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var i=this._$origin,o=this._$origin.is("area");if(o){var n=this._$origin.parent().attr("name");i=t('img[usemap="#'+n+'"]')}var s=i[0].getBoundingClientRect(),r=t(e.window.document),_=t(e.window),a=i,l={available:{document:null,window:null},document:{size:{height:r.height(),width:r.width()}},window:{scroll:{left:e.window.scrollX||e.window.document.documentElement.scrollLeft,top:e.window.scrollY||e.window.document.documentElement.scrollTop},size:{height:_.height(),width:_.width()}},origin:{fixedLineage:!1,offset:{},size:{height:s.bottom-s.top,width:s.right-s.left},usemapImage:o?i[0]:null,windowOffset:{bottom:s.bottom,left:s.left,right:s.right,top:s.top}}};if(o){var p=this._$origin.attr("shape"),c=this._$origin.attr("coords");if(c&&(c=c.split(","),t.map(c,function(t,i){c[i]=parseInt(t)})),"default"!=p)switch(p){case"circle":var h=c[0],d=c[1],u=c[2],g=d-u,f=h-u;l.origin.size.height=2*u,l.origin.size.width=l.origin.size.height,l.origin.windowOffset.left+=f,l.origin.windowOffset.top+=g;break;case"rect":var m=c[0],w=c[1],v=c[2],y=c[3];l.origin.size.height=y-w,l.origin.size.width=v-m,l.origin.windowOffset.left+=m,l.origin.windowOffset.top+=w;break;case"poly":for(var b=0,$=0,C=0,O=0,T="even",z=0;zC&&(C=E,0===z&&(b=C)),EO&&(O=E,1==z&&($=O)),E<$&&($=E),T="even")}l.origin.size.height=O-$,l.origin.size.width=C-b,l.origin.windowOffset.left+=b,l.origin.windowOffset.top+=$}}for(this._trigger({type:"geometry",edit:function(t){l.origin.size.height=t.height,l.origin.windowOffset.left=t.left,l.origin.windowOffset.top=t.top,l.origin.size.width=t.width},geometry:{height:l.origin.size.height,left:l.origin.windowOffset.left,top:l.origin.windowOffset.top,width:l.origin.size.width}}),l.origin.windowOffset.right=l.origin.windowOffset.left+l.origin.size.width,l.origin.windowOffset.bottom=l.origin.windowOffset.top+l.origin.size.height,l.origin.offset.left=l.origin.windowOffset.left+l.window.scroll.left,l.origin.offset.top=l.origin.windowOffset.top+l.window.scroll.top,l.origin.offset.bottom=l.origin.offset.top+l.origin.size.height,l.origin.offset.right=l.origin.offset.left+l.origin.size.width,l.available.document={bottom:{height:l.document.size.height-l.origin.offset.bottom,width:l.document.size.width},left:{height:l.document.size.height,width:l.origin.offset.left},right:{height:l.document.size.height,width:l.document.size.width-l.origin.offset.right},top:{height:l.origin.offset.top,width:l.document.size.width}},l.available.window={bottom:{height:Math.max(l.window.size.height-Math.max(l.origin.windowOffset.bottom,0),0),width:l.window.size.width},left:{height:l.window.size.height,width:Math.max(l.origin.windowOffset.left,0)},right:{height:l.window.size.height,width:Math.max(l.window.size.width-Math.max(l.origin.windowOffset.right,0),0)},top:{height:Math.max(l.origin.windowOffset.top,0),width:l.window.size.width}};"html"!=a[0].tagName.toLowerCase();){if("fixed"==a.css("position")){l.origin.fixedLineage=!0;break}a=a.parent()}return l},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=t(e.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=t(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var i=this;return i.__options.selfDestruction?i.__garbageCollector=setInterval(function(){var o=(new Date).getTime();i.__touchEvents=t.grep(i.__touchEvents,function(t,i){return o-t.time>6e4}),_(i._$origin)||i.close(function(){i.destroy()})},2e4):clearInterval(i.__garbageCollector),i},__prepareOrigin:function(){var t=this;if(t._$origin.off("."+t.__namespace+"-triggerOpen"),e.hasTouchCapability&&t._$origin.on("touchstart."+t.__namespace+"-triggerOpen touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen",function(i){t._touchRecordEvent(i)}),t.__options.triggerOpen.click||t.__options.triggerOpen.tap&&e.hasTouchCapability){var i="";t.__options.triggerOpen.click&&(i+="click."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.tap&&e.hasTouchCapability&&(i+="touchend."+t.__namespace+"-triggerOpen"),t._$origin.on(i,function(i){t._touchIsMeaningfulEvent(i)&&t._open(i)})}if(t.__options.triggerOpen.mouseenter||t.__options.triggerOpen.touchstart&&e.hasTouchCapability){i="";t.__options.triggerOpen.mouseenter&&(i+="mouseenter."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.touchstart&&e.hasTouchCapability&&(i+="touchstart."+t.__namespace+"-triggerOpen"),t._$origin.on(i,function(i){!t._touchIsTouchEvent(i)&&t._touchIsEmulatedEvent(i)||(t.__pointerIsOverOrigin=!0,t._openShortly(i))})}if(t.__options.triggerClose.mouseleave||t.__options.triggerClose.touchleave&&e.hasTouchCapability){i="";t.__options.triggerClose.mouseleave&&(i+="mouseleave."+t.__namespace+"-triggerOpen "),t.__options.triggerClose.touchleave&&e.hasTouchCapability&&(i+="touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen"),t._$origin.on(i,function(i){t._touchIsMeaningfulEvent(i)&&(t.__pointerIsOverOrigin=!1)})}return t},__prepareTooltip:function(){var i=this,o=i.__options.interactive?"auto":"";return i._$tooltip.attr("id",i.__namespace).css({"pointer-events":o,zIndex:i.__options.zIndex}),t.each(i.__previousThemes,function(t,o){i._$tooltip.removeClass(o)}),t.each(i.__options.theme,function(t,o){i._$tooltip.addClass(o)}),i.__previousThemes=t.merge([],i.__options.theme),i},__scrollHandler:function(i){if(this.__options.triggerClose.scroll)this._close(i);else if(_(this._$origin)&&_(this._$tooltip)){var o=null;if(i.target===e.window.document)this.__Geometry.origin.fixedLineage||this.__options.repositionOnScroll&&this.reposition(i);else{o=this.__geometry();var n=!1;if("fixed"!=this._$origin.css("position")&&this.__$originParents.each(function(i,e){var s=t(e),r=s.css("overflow-x"),_=s.css("overflow-y");if("visible"!=r||"visible"!=_){var a=e.getBoundingClientRect();if("visible"!=r&&(o.origin.windowOffset.lefta.right))return n=!0,!1;if("visible"!=_&&(o.origin.windowOffset.topa.bottom))return n=!0,!1}if("fixed"==s.css("position"))return!1}),n)this._$tooltip.css("visibility","hidden");else if(this._$tooltip.css("visibility","visible"),this.__options.repositionOnScroll)this.reposition(i);else{var s=o.origin.offset.left-this.__Geometry.origin.offset.left,r=o.origin.offset.top-this.__Geometry.origin.offset.top;this._$tooltip.css({left:this.__lastPosition.coord.left+s,top:this.__lastPosition.coord.top+r})}}this._trigger({type:"scroll",event:i,geo:o})}return this},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,t.each(this.__timeouts.close,function(t,i){clearTimeout(i)}),this.__timeouts.close=[],this},__trackerStart:function(){var t=this,i=t._$tooltip.find(".tooltipster-content");return t.__options.trackTooltip&&(t.__contentBcr=i[0].getBoundingClientRect()),t.__tracker=setInterval(function(){if(_(t._$origin)&&_(t._$tooltip)){if(t.__options.trackOrigin){var o=t.__geometry(),e=!1;r(o.origin.size,t.__Geometry.origin.size)&&(t.__Geometry.origin.fixedLineage?r(o.origin.windowOffset,t.__Geometry.origin.windowOffset)&&(e=!0):r(o.origin.offset,t.__Geometry.origin.offset)&&(e=!0)),e||(t.__options.triggerClose.mouseleave?t._close():t.reposition())}if(t.__options.trackTooltip){var n=i[0].getBoundingClientRect();n.height===t.__contentBcr.height&&n.width===t.__contentBcr.width||(t.reposition(),t.__contentBcr=n)}}else t._close()},t.__options.trackerInterval),t},_close:function(i,o,n){var s=this,r=!0;if(s._trigger({type:"close",event:i,stop:function(){r=!1}}),r||n){o&&s.__callbacks.close.push(o),s.__callbacks.open=[],s.__timeoutsClear();var _=function(){t.each(s.__callbacks.close,function(t,o){o.call(s,s,{event:i,origin:s._$origin[0]})}),s.__callbacks.close=[]};if("closed"!=s.__state){var a=!0,l=(new Date).getTime()+s.__options.animationDuration[1];if("disappearing"==s.__state&&l>s.__closingTime&&s.__options.animationDuration[1]>0&&(a=!1),a){s.__closingTime=l,"disappearing"!=s.__state&&s.__stateSet("disappearing");var p=function(){clearInterval(s.__tracker),s._trigger({type:"closing",event:i}),s._$tooltip.off("."+s.__namespace+"-triggerClose").removeClass("tooltipster-dying"),t(e.window).off("."+s.__namespace+"-triggerClose"),s.__$originParents.each(function(i,o){t(o).off("scroll."+s.__namespace+"-triggerClose")}),s.__$originParents=null,t(e.window.document.body).off("."+s.__namespace+"-triggerClose"),s._$origin.off("."+s.__namespace+"-triggerClose"),s._off("dismissable"),s.__stateSet("closed"),s._trigger({type:"after",event:i}),s.__options.functionAfter&&s.__options.functionAfter.call(s,s,{event:i,origin:s._$origin[0]}),_()};e.hasTransitions?(s._$tooltip.css({"-moz-animation-duration":s.__options.animationDuration[1]+"ms","-ms-animation-duration":s.__options.animationDuration[1]+"ms","-o-animation-duration":s.__options.animationDuration[1]+"ms","-webkit-animation-duration":s.__options.animationDuration[1]+"ms","animation-duration":s.__options.animationDuration[1]+"ms","transition-duration":s.__options.animationDuration[1]+"ms"}),s._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),s.__options.animationDuration[1]>0&&s._$tooltip.delay(s.__options.animationDuration[1]),s._$tooltip.queue(p)):s._$tooltip.stop().fadeOut(s.__options.animationDuration[1],p)}}else _()}return s},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(i,o){var n=this;if(!n.__destroying&&_(n._$origin)&&n.__enabled){var s=!0;if("closed"==n.__state&&(n._trigger({type:"before",event:i,stop:function(){s=!1}}),s&&n.__options.functionBefore&&(s=n.__options.functionBefore.call(n,n,{event:i,origin:n._$origin[0]}))),!1!==s&&null!==n.__Content){o&&n.__callbacks.open.push(o),n.__callbacks.close=[],n.__timeoutsClear();var r,a=function(){"stable"!=n.__state&&n.__stateSet("stable"),t.each(n.__callbacks.open,function(t,i){i.call(n,n,{origin:n._$origin[0],tooltip:n._$tooltip[0]})}),n.__callbacks.open=[]};if("closed"!==n.__state)r=0,"disappearing"===n.__state?(n.__stateSet("appearing"),e.hasTransitions?(n._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),n.__options.animationDuration[0]>0&&n._$tooltip.delay(n.__options.animationDuration[0]),n._$tooltip.queue(a)):n._$tooltip.stop().fadeIn(a)):"stable"==n.__state&&a();else{if(n.__stateSet("appearing"),r=n.__options.animationDuration[0],n.__contentInsert(),n.reposition(i,!0),e.hasTransitions?(n._$tooltip.addClass("tooltipster-"+n.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":n.__options.animationDuration[0]+"ms","-ms-animation-duration":n.__options.animationDuration[0]+"ms","-o-animation-duration":n.__options.animationDuration[0]+"ms","-webkit-animation-duration":n.__options.animationDuration[0]+"ms","animation-duration":n.__options.animationDuration[0]+"ms","transition-duration":n.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=n.__state&&(n._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),n.__options.animationDuration[0]>0&&n._$tooltip.delay(n.__options.animationDuration[0]),n._$tooltip.queue(a))},0)):n._$tooltip.css("display","none").fadeIn(n.__options.animationDuration[0],a),n.__trackerStart(),t(e.window).on("resize."+n.__namespace+"-triggerClose",function(i){var o=t(document.activeElement);(o.is("input")||o.is("textarea"))&&t.contains(n._$tooltip[0],o[0])||n.reposition(i)}).on("scroll."+n.__namespace+"-triggerClose",function(t){n.__scrollHandler(t)}),n.__$originParents=n._$origin.parents(),n.__$originParents.each(function(i,o){t(o).on("scroll."+n.__namespace+"-triggerClose",function(t){n.__scrollHandler(t)})}),n.__options.triggerClose.mouseleave||n.__options.triggerClose.touchleave&&e.hasTouchCapability){n._on("dismissable",function(t){t.dismissable?t.delay?(h=setTimeout(function(){n._close(t.event)},t.delay),n.__timeouts.close.push(h)):n._close(t):clearTimeout(h)});var l=n._$origin,p="",c="",h=null;n.__options.interactive&&(l=l.add(n._$tooltip)),n.__options.triggerClose.mouseleave&&(p+="mouseenter."+n.__namespace+"-triggerClose ",c+="mouseleave."+n.__namespace+"-triggerClose "),n.__options.triggerClose.touchleave&&e.hasTouchCapability&&(p+="touchstart."+n.__namespace+"-triggerClose",c+="touchend."+n.__namespace+"-triggerClose touchcancel."+n.__namespace+"-triggerClose"),l.on(c,function(t){if(n._touchIsTouchEvent(t)||!n._touchIsEmulatedEvent(t)){var i="mouseleave"==t.type?n.__options.delay:n.__options.delayTouch;n._trigger({delay:i[1],dismissable:!0,event:t,type:"dismissable"})}}).on(p,function(t){!n._touchIsTouchEvent(t)&&n._touchIsEmulatedEvent(t)||n._trigger({dismissable:!1,event:t,type:"dismissable"})})}n.__options.triggerClose.originClick&&n._$origin.on("click."+n.__namespace+"-triggerClose",function(t){n._touchIsTouchEvent(t)||n._touchIsEmulatedEvent(t)||n._close(t)}),(n.__options.triggerClose.click||n.__options.triggerClose.tap&&e.hasTouchCapability)&&setTimeout(function(){if("closed"!=n.__state){var i="",o=t(e.window.document.body);n.__options.triggerClose.click&&(i+="click."+n.__namespace+"-triggerClose "),n.__options.triggerClose.tap&&e.hasTouchCapability&&(i+="touchend."+n.__namespace+"-triggerClose"),o.on(i,function(i){n._touchIsMeaningfulEvent(i)&&(n._touchRecordEvent(i),n.__options.interactive&&t.contains(n._$tooltip[0],i.target)||n._close(i))}),n.__options.triggerClose.tap&&e.hasTouchCapability&&o.on("touchstart."+n.__namespace+"-triggerClose",function(t){n._touchRecordEvent(t)})}},0),n._trigger("ready"),n.__options.functionReady&&n.__options.functionReady.call(n,n,{origin:n._$origin[0],tooltip:n._$tooltip[0]})}if(n.__options.timer>0){h=setTimeout(function(){n._close()},n.__options.timer+r);n.__timeouts.close.push(h)}}}return n},_openShortly:function(t){var i=this,o=!0;if("stable"!=i.__state&&"appearing"!=i.__state&&!i.__timeouts.open&&(i._trigger({type:"start",event:t,stop:function(){o=!1}}),o)){var e=0==t.type.indexOf("touch")?i.__options.delayTouch:i.__options.delay;e[0]?i.__timeouts.open=setTimeout(function(){i.__timeouts.open=null,i.__pointerIsOverOrigin&&i._touchIsMeaningfulEvent(t)?(i._trigger("startend"),i._open(t)):i._trigger("startcancel")},e[0]):(i._trigger("startend"),i._open(t))}return i},_optionsExtract:function(i,o){var e=this,n=t.extend(!0,{},o),s=e.__options[i];return s||(s={},t.each(o,function(t,i){var o=e.__options[t];void 0!==o&&(s[t]=o)})),t.each(n,function(i,o){void 0!==s[i]&&("object"!=typeof o||o instanceof Array||null==o||"object"!=typeof s[i]||s[i]instanceof Array||null==s[i]?n[i]=s[i]:t.extend(n[i],s[i]))}),n},_plug:function(i){var o=t.tooltipster._plugin(i);if(!o)throw new Error('The "'+i+'" plugin is not defined');return o.instance&&t.tooltipster.__bridge(o.instance,this,o.name),this},_touchIsEmulatedEvent:function(t){for(var i=!1,o=(new Date).getTime(),e=this.__touchEvents.length-1;e>=0;e--){var n=this.__touchEvents[e];if(!(o-n.time<500))break;n.target===t.target&&(i=!0)}return i},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var i=!1,o=this.__touchEvents.length-1;o>=0;o--){var e=this.__touchEvents[o];if("touchmove"==e.type){i=!0;break}if("touchstart"==e.type&&t===e.target)break}return i},_trigger:function(){var i=Array.prototype.slice.apply(arguments);return"string"==typeof i[0]&&(i[0]={type:i[0]}),i[0].instance=this,i[0].origin=this._$origin?this._$origin[0]:null,i[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,i),t.tooltipster._trigger.apply(t.tooltipster,i),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,i),this},_unplug:function(i){var o=this;if(o[i]){var e=t.tooltipster._plugin(i);e.instance&&t.each(e.instance,function(t,e){o[t]&&o[t].bridged===o[i]&&delete o[t]}),o[i].__destroy&&o[i].__destroy(),delete o[i]}return o},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var i=this;if(void 0===t)return i.__Content;if(i.__destroyed)i.__destroyError();else if(i.__contentSet(t),null!==i.__Content){if("closed"!==i.__state&&(i.__contentInsert(),i.reposition(),i.__options.updateAnimation))if(e.hasTransitions){var o=i.__options.updateAnimation;i._$tooltip.addClass("tooltipster-update-"+o),setTimeout(function(){"closed"!=i.__state&&i._$tooltip.removeClass("tooltipster-update-"+o)},1e3)}else i._$tooltip.fadeTo(200,.5,function(){"closed"!=i.__state&&i._$tooltip.fadeTo(200,1)})}else i._close();return i},destroy:function(){var i=this;if(i.__destroyed)i.__destroyError();else{"closed"!=i.__state?i.option("animationDuration",0)._close(null,null,!0):i.__timeoutsClear(),i._trigger("destroy"),i.__destroyed=!0,i._$origin.removeData(i.__namespace).off("."+i.__namespace+"-triggerOpen"),t(e.window.document.body).off("."+i.__namespace+"-triggerOpen");var o=i._$origin.data("tooltipster-ns");if(o)if(1===o.length){var n=null;"previous"==i.__options.restoration?n=i._$origin.data("tooltipster-initialTitle"):"current"==i.__options.restoration&&(n="string"==typeof i.__Content?i.__Content:t("").append(i.__Content).html()),n&&i._$origin.attr("title",n),i._$origin.removeClass("tooltipstered"),i._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else o=t.grep(o,function(t,o){return t!==i.__namespace}),i._$origin.data("tooltipster-ns",o);i._trigger("destroyed"),i._off(),i.off(),i.__Content=null,i.__$emitterPrivate=null,i.__$emitterPublic=null,i.__options.parent=null,i._$origin=null,i._$tooltip=null,t.tooltipster.__instancesLatestArr=t.grep(t.tooltipster.__instancesLatestArr,function(t,o){return i!==t}),clearInterval(i.__garbageCollector)}return i},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){if(!this.__destroyed)return this._$origin[0];this.__destroyError()},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(i,o){return void 0===o?this.__options[i]:(this.__destroyed?this.__destroyError():(this.__options[i]=o,this.__optionsFormat(),t.inArray(i,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===i&&this.__prepareGC()),this)},reposition:function(t,i){return this.__destroyed?this.__destroyError():"closed"!=this.__state&&_(this._$origin)&&(i||_(this._$tooltip))&&(i||this._$tooltip.detach(),this.__Geometry=this.__geometry(),this._trigger({type:"reposition",event:t,helper:{geo:this.__Geometry}})),this},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.fn.tooltipster=function(){var o=Array.prototype.slice.apply(arguments),e="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof o[0]){var n="#*$~&";return this.each(function(){var i=t(this).data("tooltipster-ns"),s=i?t(this).data(i[0]):null;if(!s)throw new Error("You called Tooltipster's \""+o[0]+'" method on an uninitialized element');if("function"!=typeof s[o[0]])throw new Error('Unknown method "'+o[0]+'"');this.length>1&&"content"==o[0]&&(o[1]instanceof t||"object"==typeof o[1]&&null!=o[1]&&o[1].tagName)&&!s.__options.contentCloning&&s.__options.debug&&console.log(e);var r=s[o[0]](o[1],o[2]);if(r!==s||"instance"===o[0])return n=r,!1}),"#*$~&"!==n?n:this}t.tooltipster.__instancesLatestArr=[];var s=o[0]&&void 0!==o[0].multiple,r=s&&o[0].multiple||!s&&i.multiple,_=o[0]&&void 0!==o[0].content,a=_&&o[0].content||!_&&i.content,l=o[0]&&void 0!==o[0].contentCloning,p=l&&o[0].contentCloning||!l&&i.contentCloning,c=o[0]&&void 0!==o[0].debug,h=c&&o[0].debug||!c&&i.debug;return this.length>1&&(a instanceof t||"object"==typeof a&&null!=a&&a.tagName)&&!p&&h&&console.log(e),this.each(function(){var i=!1,e=t(this),n=e.data("tooltipster-ns"),s=null;n?r?i=!0:h&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):i=!0,i&&(s=new t.Tooltipster(this,o[0]),n||(n=[]),n.push(s.__namespace),e.data("tooltipster-ns",n),e.data(s.__namespace,s),s.__options.functionInit&&s.__options.functionInit.call(s,s,{origin:this}),s._trigger("init")),t.tooltipster.__instancesLatestArr.push(s)}),this},s.prototype={__init:function(i){this.__$tooltip=i,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=t('').append(this.__$tooltip).appendTo(e.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,i){return this.constraints={width:t,height:i},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),i={size:{height:t.height||t.bottom-t.top,width:t.width||t.right-t.left}};if(this.constraints){var o=this.__$tooltip.find(".tooltipster-content"),n=this.__$tooltip.outerHeight(),s=o[0].getBoundingClientRect(),r={height:n<=this.constraints.height,width:t.width<=this.constraints.width&&s.width>=o[0].scrollWidth-1};i.fits=r.height&&r.width}return e.IE&&e.IE<=11&&i.size.width!==e.window.document.documentElement.clientWidth&&(i.size.width=Math.ceil(i.size.width)+1),i}};var a=navigator.userAgent.toLowerCase();-1!=a.indexOf("msie")?e.IE=parseInt(a.split("msie")[1]):-1!==a.toLowerCase().indexOf("trident")&&-1!==a.indexOf(" rv:11")?e.IE=11:-1!=a.toLowerCase().indexOf("edge/")&&(e.IE=parseInt(a.toLowerCase().split("edge/")[1]));return t.tooltipster._plugin({name:"tooltipster.sideTip",instance:{__defaults:function(){return{arrow:!0,uaelclass:"",distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var i=this;i.__instance=t,i.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),i.__previousState="closed",i.__options,i.__optionsFormat(),i.__instance._on("state."+i.__namespace,function(t){"closed"==t.state?i.__close():"appearing"==t.state&&"closed"==i.__previousState&&i.__create(),i.__previousState=t.state}),i.__instance._on("options."+i.__namespace,function(){i.__optionsFormat()}),i.__instance._on("reposition."+i.__namespace,function(t){i.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof t&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var i=t('');this.__options.arrow||i.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&i.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&i.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=i,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){if(this.__options=this.__instance._optionsExtract("tooltipster.sideTip",this.__defaults()),this.__options.position&&(this.__options.side=this.__options.position),"object"!=typeof this.__options.distance&&(this.__options.distance=[this.__options.distance]),this.__options.distance.length<4&&(void 0===this.__options.distance[1]&&(this.__options.distance[1]=this.__options.distance[0]),void 0===this.__options.distance[2]&&(this.__options.distance[2]=this.__options.distance[0]),void 0===this.__options.distance[3]&&(this.__options.distance[3]=this.__options.distance[1]),this.__options.distance={top:this.__options.distance[0],right:this.__options.distance[1],bottom:this.__options.distance[2],left:this.__options.distance[3]}),"string"==typeof this.__options.side){this.__options.side=[this.__options.side,{top:"bottom",right:"left",bottom:"top",left:"right"}[this.__options.side]],"left"==this.__options.side[0]||"right"==this.__options.side[0]?this.__options.side.push("top","bottom"):this.__options.side.push("right","left")}6===t.tooltipster._env.IE&&!0!==this.__options.arrow&&(this.__options.arrow=!1)},__reposition:function(i,o){var e,n=this,s=n.__targetFind(o),r=[];n.__instance._$tooltip.detach();var _=n.__instance._$tooltip.clone(),a=t.tooltipster._getRuler(_),l=!1,p=n.__instance.option("animation");switch(p&&_.removeClass("tooltipster-"+p),t.each(["window","document"],function(e,p){var c=null;if(n.__instance._trigger({container:p,helper:o,satisfied:l,takeTest:function(t){c=t},results:r,type:"positionTest"}),1==c||0!=c&&0==l&&("window"!=p||n.__options.viewportAware))for(e=0;e=_.outerSize.width&&o.geo.available[p][d].height>=_.outerSize.height?_.fits=!0:_.fits=!1:_.fits=u.fits,"window"==p&&(_.fits?_.whole="top"==d||"bottom"==d?o.geo.origin.windowOffset.right>=n.__options.minIntersection&&o.geo.window.size.width-o.geo.origin.windowOffset.left>=n.__options.minIntersection:o.geo.origin.windowOffset.bottom>=n.__options.minIntersection&&o.geo.window.size.height-o.geo.origin.windowOffset.top>=n.__options.minIntersection:_.whole=!1),r.push(_),_.whole)l=!0;else if("natural"==_.mode&&(_.fits||_.size.width<=o.geo.available[p][d].width))return!1}})}}),n.__instance._trigger({edit:function(t){r=t},event:i,helper:o,results:r,type:"positionTested"}),r.sort(function(t,i){return t.whole&&!i.whole?-1:!t.whole&&i.whole?1:t.whole&&i.whole?(o=n.__options.side.indexOf(t.side))<(e=n.__options.side.indexOf(i.side))?-1:o>e?1:"natural"==t.mode?-1:1:t.fits&&!i.fits?-1:!t.fits&&i.fits?1:t.fits&&i.fits?(o=n.__options.side.indexOf(t.side))<(e=n.__options.side.indexOf(i.side))?-1:o>e?1:"natural"==t.mode?-1:1:"document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1;var o,e}),(e=r[0]).coord={},e.side){case"left":case"right":e.coord.top=Math.floor(e.target-e.size.height/2);break;case"bottom":case"top":e.coord.left=Math.floor(e.target-e.size.width/2)}switch(e.side){case"left":e.coord.left=o.geo.origin.windowOffset.left-e.outerSize.width;break;case"right":e.coord.left=o.geo.origin.windowOffset.right+e.distance.horizontal;break;case"top":e.coord.top=o.geo.origin.windowOffset.top-e.outerSize.height;break;case"bottom":e.coord.top=o.geo.origin.windowOffset.bottom+e.distance.vertical}"window"==e.container?"top"==e.side||"bottom"==e.side?e.coord.left<0?o.geo.origin.windowOffset.right-this.__options.minIntersection>=0?e.coord.left=0:e.coord.left=o.geo.origin.windowOffset.right-this.__options.minIntersection-1:e.coord.left>o.geo.window.size.width-e.size.width&&(o.geo.origin.windowOffset.left+this.__options.minIntersection<=o.geo.window.size.width?e.coord.left=o.geo.window.size.width-e.size.width:e.coord.left=o.geo.origin.windowOffset.left+this.__options.minIntersection+1-e.size.width):e.coord.top<0?o.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?e.coord.top=0:e.coord.top=o.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:e.coord.top>o.geo.window.size.height-e.size.height&&(o.geo.origin.windowOffset.top+this.__options.minIntersection<=o.geo.window.size.height?e.coord.top=o.geo.window.size.height-e.size.height:e.coord.top=o.geo.origin.windowOffset.top+this.__options.minIntersection+1-e.size.height):(e.coord.left>o.geo.window.size.width-e.size.width&&(e.coord.left=o.geo.window.size.width-e.size.width),e.coord.left<0&&(e.coord.left=0)),n.__sideChange(_,e.side),o.tooltipClone=_[0],o.tooltipParent=n.__instance.option("parent").parent[0],o.mode=e.mode,o.whole=e.whole,o.origin=n.__instance._$origin[0],o.tooltip=n.__instance._$tooltip[0],delete e.container,delete e.fits,delete e.mode,delete e.outerSize,delete e.whole,e.distance=e.distance.horizontal||e.distance.vertical;var c,h,d,u=t.extend(!0,{},e);if(n.__instance._trigger({edit:function(t){e=t},event:i,helper:o,position:u,type:"position"}),n.__options.functionPosition){var g=n.__options.functionPosition.call(n,n.__instance,o,u);g&&(e=g)}a.destroy(),"top"==e.side||"bottom"==e.side?(c={prop:"left",val:e.target-e.coord.left},h=e.size.width-this.__options.minIntersection):(c={prop:"top",val:e.target-e.coord.top},h=e.size.height-this.__options.minIntersection),c.valh&&(c.val=h),d=o.geo.origin.fixedLineage?o.geo.origin.windowOffset:{left:o.geo.origin.windowOffset.left+o.geo.window.scroll.left,top:o.geo.origin.windowOffset.top+o.geo.window.scroll.top},e.coord={left:d.left+(e.coord.left-o.geo.origin.windowOffset.left),top:d.top+(e.coord.top-o.geo.origin.windowOffset.top)},n.__sideChange(n.__instance._$tooltip,e.side),o.geo.origin.fixedLineage?n.__instance._$tooltip.css("position","fixed"):n.__instance._$tooltip.css("position",""),n.__instance._$tooltip.css({left:e.coord.left,top:e.coord.top,height:e.size.height,width:e.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(c.prop,c.val),n.__instance._$tooltip.appendTo(n.__instance.option("parent")),n.__instance._trigger({type:"repositioned",event:i,position:e})},__sideChange:function(t,i){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+i)},__targetFind:function(t){var i={},o=this.__instance._$origin[0].getClientRects();o.length>1&&(1==this.__instance._$origin.css("opacity")&&(this.__instance._$origin.css("opacity",.99),o=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1)));if(o.length<2)i.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),i.bottom=i.top,i.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),i.right=i.left;else{var e=o[0];i.top=Math.floor(e.left+(e.right-e.left)/2),e=o.length>2?o[Math.ceil(o.length/2)-1]:o[0],i.right=Math.floor(e.top+(e.bottom-e.top)/2),e=o[o.length-1],i.bottom=Math.floor(e.left+(e.right-e.left)/2),e=o.length>2?o[Math.ceil((o.length+1)/2)-1]:o[o.length-1],i.left=Math.floor(e.top+(e.bottom-e.top)/2)}return i}}}),t});;
/*! This file is auto-generated */
/*!
* imagesLoaded PACKAGED v5.0.0
* JavaScript is all like "You images are done yet or what?"
* MIT License
*/
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
/*!
* imagesLoaded v5.0.0
* JavaScript is all like "You images are done yet or what?"
* MIT License
*/
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));;
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=101)}({101:function(e,t,n){"use strict";n.r(t);var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e,t){return function(n,i,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(o(n)&&r(i))if("function"==typeof a)if("number"==typeof s){var c={callback:a,priority:s,namespace:i};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach((function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++}))}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,i,a,s)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var s=e[t];if(o(i)&&(n||r(a))){if(!s[i])return 0;var l=0;if(n)l=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else for(var c=s[i].handlers,u=function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach((function(t){t.name===i&&t.currentIndex>=e&&t.currentIndex--})))},d=c.length-1;d>=0;d--)u(d);return"hookRemoved"!==i&&e.doAction("hookRemoved",i,a),l}}};var s=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l0){var s=a.data("custom-id-offset");s=s?parseFloat(s):0,e("html, body").animate({scrollTop:e(o).offset().top-s},300)}}}catch(e){}})),e(document).on("click",".e-n-tab-title",(function(){setTimeout((function(){window.dispatchEvent(new Event("resize"))}),100)}))}(jQuery),(b=jQuery)(document).on("click",".theme-savoy .eael-product-popup .nm-qty-minus, .theme-savoy .eael-product-popup .nm-qty-plus",(function(e){var t=b(this),n=t.closest(".quantity").find(".qty"),r=parseFloat(n.val()),o=parseFloat(n.attr("max")),i=parseFloat(n.attr("min")),a=n.attr("step");r&&""!==r&&"NaN"!==r||(r=0),""!==o&&"NaN"!==o||(o=""),""!==i&&"NaN"!==i||(i=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),t.hasClass("nm-qty-plus")?o&&(o==r||r>o)?n.val(o):n.val(r+parseFloat(a)):i&&(i==r||r0&&n.val(r-parseFloat(a))})),function(e){e.fn.isInViewport=function(){if(e(this).length<1)return!1;var t=e(this).offset().top,n=t+e(this).outerHeight()/2,r=e(window).scrollTop(),o=r+e(window).height()/2;return n>r&&t{"use strict";var e,r,a,c={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return c[e].call(a.exports,a,a.exports,__webpack_require__),a.exports}__webpack_require__.m=c,e=[],__webpack_require__.O=(r,a,c,n)=>{if(!a){var i=1/0;for(b=0;b=n)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](a[d])))?a.splice(d--,1):(_=!1,n0&&e[b-1][2]>n;b--)e[b]=e[b-1];e[b]=[a,c,n]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,a)=>(__webpack_require__.f[a](e,r),r)),[])),__webpack_require__.u=e=>714===e?"code-highlight.28a979661569ddbbf60d.bundle.min.js":721===e?"video-playlist.74fca1f2470fa6474595.bundle.min.js":256===e?"paypal-button.3d0d5af7df85963df32c.bundle.min.js":699===e?"60745ddf42fde6647dbc.bundle.min.js":156===e?"stripe-button.2acbca466dfeb9585680.bundle.min.js":241===e?"progress-tracker.53951a08af7543da98e6.bundle.min.js":26===e?"animated-headline.3efc6517c2a055f6c242.bundle.min.js":534===e?"media-carousel.aca2224ef13e6f999011.bundle.min.js":369===e?"carousel.9b02b45d7826c1c48f33.bundle.min.js":804===e?"countdown.be941c879efa861dbbfa.bundle.min.js":888===e?"hotspot.6ab1751404c381bfe390.bundle.min.js":680===e?"form.c4bc7eaa69583834a7d5.bundle.min.js":121===e?"gallery.8ca9a354ce039d1ba641.bundle.min.js":288===e?"lottie.565b778d23c04461c4ea.bundle.min.js":42===e?"nav-menu.e65811186e94a386ba7b.bundle.min.js":50===e?"popup.085c1727e36940b18f29.bundle.min.js":985===e?"load-more.bc9573b5d1f73abd80b9.bundle.min.js":287===e?"posts.caaf3e27e57db8207afc.bundle.min.js":824===e?"portfolio.b5c5e89624dc6b81a11a.bundle.min.js":58===e?"share-buttons.08f4daf4a4285a8632b8.bundle.min.js":114===e?"slides.fb6b9afd278bb9c5e75b.bundle.min.js":443===e?"social.2d2e44e8608690943f29.bundle.min.js":838===e?"table-of-contents.8fd1a0cc520a3fc67bd8.bundle.min.js":685===e?"archive-posts.d30c917134774f65dd6d.bundle.min.js":858===e?"search-form.a25a87283d08dad12f18.bundle.min.js":102===e?"woocommerce-menu-cart.faa7b80e9ba9e5072070.bundle.min.js":1===e?"woocommerce-purchase-summary.46445ab1120a8c28c05c.bundle.min.js":124===e?"woocommerce-checkout-page.b18af78282979b6f74e4.bundle.min.js":859===e?"woocommerce-cart.fc30c6cb753d4098eff5.bundle.min.js":979===e?"woocommerce-my-account.3ee10d01e625dad87f73.bundle.min.js":497===e?"woocommerce-notices.aaa7a3d06f24f7ea6951.bundle.min.js":800===e?"product-add-to-cart.023d7d31fbf96c3dbdfc.bundle.min.js":149===e?"loop.4f538ab2476dd2d124e6.bundle.min.js":153===e?"loop-carousel.4e8fd6593adbba21698e.bundle.min.js":356===e?"ajax-pagination.a8dae0f5699fe9733e7d.bundle.min.js":495===e?"mega-menu.43866105e5e8e1a3f38d.bundle.min.js":157===e?"mega-menu-stretch-content.60ca9e1e97c52ac3bf8c.bundle.min.js":244===e?"menu-title-keyboard-handler.8482fb61223805f5ee8f.bundle.min.js":209===e?"nested-carousel.3ff3a0e309cbbd122254.bundle.min.js":188===e?"taxonomy-filter.b42e9c10a9d0abc3454e.bundle.min.js":725===e?"off-canvas.38087f3bf0da88e5e2e9.bundle.min.js":8===e?"contact-buttons.09c69d0d12aa67f9133e.bundle.min.js":322===e?"contact-buttons-var-10.b255e00e3feea456660f.bundle.min.js":464===e?"search.d0787a5c582ce238adf0.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},a="elementor-pro:",__webpack_require__.l=(e,c,n,i)=>{if(r[e])r[e].push(c);else{var _,d;if(void 0!==n)for(var t=document.getElementsByTagName("script"),b=0;b{_.onerror=_.onload=null,clearTimeout(u);var n=r[e];if(delete r[e],_.parentNode&&_.parentNode.removeChild(_),n&&n.forEach((e=>e(c))),a)return a(c)},u=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:_}),12e4);_.onerror=onScriptComplete.bind(null,_.onerror),_.onload=onScriptComplete.bind(null,_.onload),d&&document.head.appendChild(_)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var a=r.getElementsByTagName("script");if(a.length)for(var c=a.length-1;c>-1&&!e;)e=a[c--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={396:0};__webpack_require__.f.j=(r,a)=>{var c=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==c)if(c)a.push(c[2]);else if(396!=r){var n=new Promise(((a,n)=>c=e[r]=[a,n]));a.push(c[2]=n);var i=__webpack_require__.p+__webpack_require__.u(r),_=new Error;__webpack_require__.l(i,(a=>{if(__webpack_require__.o(e,r)&&(0!==(c=e[r])&&(e[r]=void 0),c)){var n=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;_.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",_.name="ChunkLoadError",_.type=n,_.request=i,c[1](_)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,a)=>{var c,n,[i,_,d]=a,t=0;if(i.some((r=>0!==e[r]))){for(c in _)__webpack_require__.o(_,c)&&(__webpack_require__.m[c]=_[c]);if(d)var b=d(__webpack_require__)}for(r&&r(a);t{"use strict";var e,r,_,t,a,i={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var _=n[e]={exports:{}};return i[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=i,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var i=1/0;for(u=0;u=a)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[c])))?_.splice(c--,1):(n=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var i={};r=r||[null,_({}),_([]),_(_)];for(var n=2&t&&e;"object"==typeof n&&!~r.indexOf(n);n=_(n))Object.getOwnPropertyNames(n).forEach((r=>i[r]=()=>e[r]));return i.default=()=>e,__webpack_require__.d(a,i),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>906===e?"nested-title-keyboard-handler.0b608656da2be746fb80.bundle.min.js":723===e?"lightbox.01a419d1fcdd47a75a77.bundle.min.js":48===e?"text-path.39fb59e43970222f5a3e.bundle.min.js":209===e?"accordion.8799675460c73eb48972.bundle.min.js":745===e?"alert.cbc2a0fee74ee3ed0419.bundle.min.js":120===e?"counter.02cef29c589e742d4c8c.bundle.min.js":192===e?"progress.985f012a6336ab21cb44.bundle.min.js":520===e?"tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js":181===e?"toggle.31881477c45ff5cf9d4d.bundle.min.js":791===e?"video.78c625e89ab767d621c5.bundle.min.js":268===e?"image-carousel.4455c6362492d9067512.bundle.min.js":357===e?"text-editor.2c35aafbe5bf0e127950.bundle.min.js":52===e?"wp-audio.75f0ced143febb8cd31a.bundle.min.js":609===e?"nested-accordion.c3b109b714293a16bd95.bundle.min.js":8===e?"contact-buttons.31aad77620f461830ce9.bundle.min.js":273===e?"floating-bars.e4547b87bc6fb09381ca.bundle.min.js":413===e?"container.c65a2a923085e1120e75.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementor:",__webpack_require__.l=(e,r,_,i)=>{if(t[e])t[e].push(r);else{var n,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),u=0;u{n.onerror=n.onload=null,clearTimeout(p);var a=t[e];if(delete t[e],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach((e=>e(_))),r)return r(_)},p=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=onScriptComplete.bind(null,n.onerror),n.onload=onScriptComplete.bind(null,n.onload),c&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&!e;)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={162:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(162!=r){var a=new Promise(((_,a)=>t=e[r]=[_,a]));_.push(t[2]=a);var i=__webpack_require__.p+__webpack_require__.u(r),n=new Error;__webpack_require__.l(i,(_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),i=_&&_.target&&_.target.src;n.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",n.name="ChunkLoadError",n.type=a,n.request=i,t[1](n)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[i,n,c]=_,o=0;if(i.some((r=>0!==e[r]))){for(t in n)__webpack_require__.o(n,t)&&(__webpack_require__.m[t]=n[t]);if(c)var u=c(__webpack_require__)}for(r&&r(_);o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const n of t)if(e.constructor.name===n.prototype[Symbol.toStringTag])return!0;return!1}},8135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),(n=>{t[n]=e.attributes[n]}))}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each(((e,t)=>setTimeout((()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",(()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))})):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},1292:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2821));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:`.${elementorFrontend.config.swiperClass}`,swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,n=1===t,r=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:n?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(r).reverse().forEach((t=>{const n=i[t]?i[t]:o;s.breakpoints[r[t].value]={slidesPerView:+e["slides_to_show_"+t]||n,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[r[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||n})),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),n?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,l="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),l&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>``}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetWidgetAriaDetails(),this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,n){const r=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&r&&"none"!==r)switch(r){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(){if(super.onInit(...arguments),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,n=e.originalEvent.code,r=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(n)))return!0;(t?"ArrowRight":"ArrowLeft")===n?this.swiper.slidePrev():r===n&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],n=this.swiper.params;switch(e){case"autoplay_speed":n.autoplay.delay=t;break;case"speed":n.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),n=t?t[1]:"desktop",r=this.getSpaceBetween(n);"desktop"!==n&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[n].value].spaceBetween=r),this.swiper.params.spaceBetween=r,this.swiper.update()}getPaginationBullets(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"array";const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetWidgetAriaDetails(){const e=this.$element;e.attr("aria-roledescription","carousel"),e.attr("aria-label",elementorFrontend.config.i18n.a11yCarouselWrapperAriaLabel)}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach((e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")}));const n="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&n&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(){if("number"!=typeof("initialisation"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")?0:this.swiper?.activeIndex))return;const e=this.getSwiperWrapperTranformXValue(),t=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each(((n,r)=>{0<=r.offsetLeft+e&&t>r.offsetLeft+e?(r.removeAttribute("aria-hidden"),r.removeAttribute("inert")):(r.setAttribute("aria-hidden",!0),r.setAttribute("inert",""))}))}handleElementHandlers(){}}t.default=CarouselHandlerBase},2821:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3090));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},3090:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter((function(){return jQuery(this).parent().closest(".elementor-element").is(t)}))},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let n="change";"global"!==t&&(n+=":"+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,n){if(n.model.cid!==e.getModelCID())return;const r=Object.keys(t.changed)[0];e.onEditSettingsChange(r,t.changed[r])}}),["page"].forEach((function(t){var n="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[n]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[n](t.changed)}})}))},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)}))},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)}))},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const n=this.getModelCID();if(this.isEdit&&n){const e=elementorFrontend.config.elements.data[n],r=e.attributes;let i=r.widgetType||r.elType;r.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,((e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)}))),jQuery.each(e.getActiveControls(),(function(e){if(-1!==s.indexOf(e)){let n=r[e];n.toJSON&&(n=n.toJSON()),t[e]=n}}))}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},2263:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3090));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...arguments),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},6412:(e,t,n)=>{"use strict";var r=n(3203),i=r(n(5955)),s=r(n(8135)),o=r(n(5658)),a=r(n(2263)),l=r(n(3090)),c=r(n(2821)),u=r(n(1292)),d=r(n(7323));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:l.default,StretchedElement:a.default,SwiperBase:c.default,CarouselBase:u.default,NestedTabs:d.default}}},5658:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,r=t.innerWidth(),i=n.offset().left,s="fixed"===n.css("position"),o=s?0:i,a=window===t[0];if(!a){var l=t.offset().left;s&&(o=l),i>l&&(o=i-l)}if(e.considerScrollbar&&a){o-=window.innerWidth-r}s||(elementorFrontend.config.is_rtl&&(o=r-(n.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var c={};let u=r;e.margin&&(u-=2*e.margin),c.width=u+"px",c[e.direction]=o+"px","variables"!==e.cssOutput?n.css(c):this.applyCssVariables(n,c)},reset(){const e={},t=this.getSettings(),n=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",n.css(e)):this.resetCssVariables(n)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},6630:(e,t)=>{"use strict";function getChildrenWidth(e){let t=0;const n=e[0].parentNode,r=getComputedStyle(n),i=parseFloat(r.gap)||0;for(let n=0;ne.clientWidth;if(!r||!i||!s)return;n.preventDefault();const o=parseFloat(e.dataset.pageX),a=n.pageX-o;let l=0;l=20a?-5:a;e.scrollLeft=e.scrollLeft-l,e.classList.add("e-scroll-active")}},2618:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(740);var i=r(n(7597)),s=r(n(381));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),typeof n[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),!(n[e]instanceof t||(0,s.default)(n[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),n[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0,n(740);class ForceMethodImplementation extends Error{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),n=t.startsWith("at new")?"constructor":t.split(" ")[1],r={};if(r.functionName=n,r.fullName=n,r.functionName.includes(".")){const e=r.functionName.split(".");r.className=e[0],r.functionName=e[1]}else r.isStatic=!0;throw new ForceMethodImplementation(r,e)}},7597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach((e=>this instanceof e))}}t.default=InstanceType},1192:(e,t,n)=>{"use strict";n(740);const Module=function(){const e=jQuery,t=arguments,n=this,r={};let i;this.getItems=function(e,t){if(t){const n=t.split("."),r=n.splice(0,1);if(!n.length)return e[r];if(!e[r])return;return this.getItems(e[r],n.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,r,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),n;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),n.setSettings(o.join("."),r,s[a])):(s[a]=r,n)},this.getErrorMessage=function(e,t){let n;if("forceMethodImplementation"===e)n=`The method '${t}' must to be implemented in the inheritor child.`;else n="An error occurs";return n},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,(function(e){n.on(e,this)})),n;return t.split(" ").forEach((function(e){r[e]||(r[e]=[]),r[e].push(i)})),n},this.off=function(e,t){if(!r[e])return n;if(!t)return delete r[e],n;const i=r[e].indexOf(t);return-1!==i&&(delete r[e][i],r[e]=r[e].filter((e=>e))),n},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);n[i]&&n[i].apply(n,s);const o=r[t];return o?(e.each(o,(function(e,t){t.apply(n,s)})),n):n},n.__construct.apply(n,t),e.each(n,(function(e){const t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})})),function(){i=n.getDefaultSettings();const r=t[0];r&&e.extend(!0,i,r)}(),n.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,n=this,child=function(){return n.apply(this,arguments)};return t.extend(child,n),(child.prototype=Object.create(t.extend({},n.prototype,e))).constructor=child,child.__super__=n.prototype,child},e.exports=Module},6516:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2640)).default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),r=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(i){var s=Math.floor(i/r),o=jQuery(this),a=o[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(s){var l=o.position(),c=i%r,u=l.top-t-e[c];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[c]+=a}else e.push(a)}))}});t.default=i},400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Scroll{static scrollObserver(e){let t=0;const n={root:e.root||null,rootMargin:e.offset||"0px",threshold:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=[];if(e>0&&e<=100){const n=100/e;for(let e=0;e<=100;e+=n)t.push(e/100)}else t.push(0);return t}(e.sensitivity)};return new IntersectionObserver((function handleIntersect(n){const r=n[0].boundingClientRect.y,i=n[0].isIntersecting,s=r1&&void 0!==arguments[1]?arguments[1]:{};const n=e[0].getBoundingClientRect(),r=t.start||0,i=t.end||0,s=window.innerHeight*r/100,o=window.innerHeight*i/100,a=n.top-window.innerHeight,l=0-a+s,c=n.top+s+e.height()-a+o,u=Math.max(0,Math.min(l/c,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=e.start||0,r=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*n/100,o=i+s+i*r/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},2640:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1192)).default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}});t.default=i},5955:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1192)),s=r(n(2640)),o=r(n(2618)),a=r(n(6516)),l=r(n(400)),c=r(n(869)),u=window.elementorModules={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:c.default,utils:{Masonry:a.default,Scroll:l.default}};t.default=u},7323:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3090)),s=n(6630);class NestedTabs extends i.default{getTabTitleFilterSelector(e){return`[${this.getSettings("dataAttributes").tabIndex}="${e}"]`}getTabContentFilterSelector(e){return`*:nth-child(${e})`}getTabIndex(e){return e.getAttribute(this.getSettings("dataAttributes").tabIndex)}getActiveTabIndex(){const e=this.getSettings(),t=e.ariaAttributes.activeTitleSelector,n=e.dataAttributes.tabIndex;return this.elements.$tabTitles.filter(t).attr(n)||null}getWidgetNumber(){return this.$element.find("> .elementor-widget-container > .e-n-tabs, > .e-n-tabs").attr("data-widget-number")}getDefaultSettings(){const e=this.getWidgetNumber();return{selectors:{widgetContainer:`[data-widget-number="${e}"]`,tabTitle:`[aria-controls*="e-n-tab-content-${e}"]`,tabTitleIcon:`[id*="e-n-tab-title-${e}"] > .e-n-tab-icon`,tabTitleText:`[id*="e-n-tab-title-${e}"] > .e-n-tab-title-text`,tabContent:`[data-widget-number="${e}"] > .e-n-tabs-content > .e-con`,headingContainer:`[data-widget-number="${e}"] > .e-n-tabs-heading`,activeTabContentContainers:`[id*="e-n-tab-content-${e}"].e-active`},classes:{active:"e-active"},dataAttributes:{tabIndex:"data-tab-index"},ariaAttributes:{titleStateAttribute:"aria-selected",activeTitleSelector:'[aria-selected="true"]'},showTabFn:"show",hideTabFn:"hide",toggleSelf:!1,hidePrevious:!0,autoExpand:!0}}getDefaultElements(){const e=this.getSettings("selectors");return{$widgetContainer:this.findElement(e.widgetContainer),$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent),$headingContainer:this.findElement(e.headingContainer)}}getKeyboardNavigationSettings(){return this.getSettings()}activateDefaultTab(){const e=this.getSettings(),t=this.getEditSettings("activeItemIndex")||1,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n),this.elements.$widgetContainer.addClass("e-activated")}deactivateActiveTab(e){const t=this.getSettings(),n=t.classes.active,r=t.ariaAttributes.activeTitleSelector,i="."+n,s=this.elements.$tabTitles.filter(r),o=this.elements.$tabContents.filter(i);return this.setTabDeactivationAttributes(s,e),o.removeClass(n),o[t.hideTabFn](0,(()=>this.onHideTabContent(o))),o}getTitleActivationAttributes(){return{tabindex:"0",[this.getSettings("ariaAttributes").titleStateAttribute]:"true"}}setTabDeactivationAttributes(e){const t=this.getSettings("ariaAttributes").titleStateAttribute;e.attr({tabindex:"-1",[t]:"false"})}onHideTabContent(){}activateTab(e){const t=this.getSettings(),n=t.classes.active,r="show"===t.showTabFn?0:400;let i=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e)),s=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e));if(!i.length){const t=Math.max(e-1,1);i=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(t)),s=this.elements.$tabContents.filter(this.getTabContentFilterSelector(t))}i.attr(this.getTitleActivationAttributes()),s.addClass(n),s[t.showTabFn](r,(()=>this.onShowTabContent(s)))}onShowTabContent(e){elementorFrontend.elements.$window.trigger("elementor-pro/motion-fx/recalc"),elementorFrontend.elements.$window.trigger("elementor/nested-tabs/activate",e),elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc")}isActiveTab(e){const t=this.getSettings(),n="true"===this.elements.$tabTitles.filter(`[${t.dataAttributes.tabIndex}="${e}"]`).attr(t.ariaAttributes.titleStateAttribute),r=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).hasClass(this.getActiveClass());return n&&r}onTabClick(e){e.preventDefault(),this.changeActiveTab(e.currentTarget?.getAttribute(this.getSettings("dataAttributes").tabIndex),!0)}getTabEvents(){return{click:this.onTabClick.bind(this)}}getHeadingEvents(){const e=this.elements.$headingContainer[0];return{mousedown:s.changeScrollStatus.bind(this,e),mouseup:s.changeScrollStatus.bind(this,e),mouseleave:s.changeScrollStatus.bind(this,e),mousemove:s.setHorizontalTitleScrollValues.bind(this,e,this.getHorizontalScrollSetting())}}bindEvents(){this.elements.$tabTitles.on(this.getTabEvents()),this.elements.$headingContainer.on(this.getHeadingEvents()),elementorFrontend.elements.$window.on("resize",this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.on("resize",this.setTouchMode.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.on("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$tabTitles.off(),this.elements.$headingContainer.off(),this.elements.$tabContents.children().off(),elementorFrontend.elements.$window.off("resize",this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.off("resize",this.setTouchMode.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.off("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}reInitSwipers(e,t){const n=t.querySelectorAll(`.${elementorFrontend.config.swiperClass}`);for(const e of n){if(!e.swiper)return;e.swiper.initialized=!1,e.swiper.init()}}onInit(){super.onInit(...arguments),this.getSettings("autoExpand")&&this.activateDefaultTab(),(0,s.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()),this.setTouchMode(),"nested-tabs.default"===this.getSettings("elementName")&&n.e(906).then(n.bind(n,6752)).then((e=>{let{default:t}=e;new t(this.getKeyboardNavigationSettings())})).catch((e=>{console.error("Error importing module:",e)}))}onEditSettingsChange(e,t){"activeItemIndex"===e&&this.changeActiveTab(t,!1)}onElementChange(e){this.checkSliderPropsToWatch(e)&&(0,s.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}checkSliderPropsToWatch(e){return 0===e.indexOf("horizontal_scroll")||"breakpoint_selector"===e||0===e.indexOf("tabs_justify_horizontal")||0===e.indexOf("tabs_title_space_between")}changeActiveTab(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&this.isEdit&&this.isElementInTheCurrentDocument())return window.top.$e.run("document/repeater/select",{container:elementor.getContainer(this.$element.attr("data-id")),index:parseInt(e)});const t=this.isActiveTab(e),n=this.getSettings();if(!n.toggleSelf&&t||!n.hidePrevious||this.deactivateActiveTab(e),!n.hidePrevious&&t&&this.deactivateActiveTab(e),!t){if(this.isAccordionVersion())return void this.activateMobileTab(e);this.activateTab(e)}}changeActiveTabByKeyboard(e,t){t.widgetId.toString()===this.getID().toString()&&this.changeActiveTab(t.titleIndex,!0)}activateMobileTab(e){setTimeout((()=>{this.activateTab(e),this.forceActiveTabToBeInViewport(e)}),10)}forceActiveTabToBeInViewport(e){if(!elementorFrontend.isEditMode())return;const t=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e));elementor.helpers.isInViewport(t[0])||t[0].scrollIntoView({block:"center"})}getActiveClass(){return this.getSettings().classes.active}getTabsDirection(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"tabs_justify_horizontal","",e)}getHorizontalScrollSetting(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"horizontal_scroll","",e)}isAccordionVersion(){return"contents"===this.elements.$headingContainer.css("display")}setTouchMode(){const e=this.getSettings("selectors").widgetContainer;if(elementorFrontend.isEditMode()||"resize"===event?.type){const t=["mobile","mobile_extra","tablet","tablet_extra"],n=elementorFrontend.getCurrentDeviceMode();if(-1!==t.indexOf(n))return void this.$element.find(e).attr("data-touch-mode","true")}else if("ontouchstart"in window)return void this.$element.find(e).attr("data-touch-mode","true");this.$element.find(e).attr("data-touch-mode","false")}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),r=this.$element.data("id"),i=t.view.$el;if(n===r&&(this.updateIndexValues(),this.updateListeners(i),elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent("elementor/elements/link-data-bindings"))),!this.getActiveTabIndex()){const t=e.detail.index+1||1;this.changeActiveTab(t)}}updateListeners(e){this.elements.$tabContents=e.find(this.getSettings("selectors.tabContent")),this.elements.$tabTitles=e.find(this.getSettings("selectors.tabTitle")),this.elements.$tabTitles.on(this.getTabEvents())}updateIndexValues(){const{$widgetContainer:e,$tabContents:t,$tabTitles:n}=this.getDefaultElements(),r=this.getSettings(),i=r.dataAttributes.tabIndex,s=e.data("widgetNumber");n.each(((e,n)=>{const o=e+1,a=`e-n-tab-title-${s}${o}`,l=`e-n-tab-content-${s}${o}`;n.setAttribute("id",a),n.setAttribute("style",`--n-tabs-title-order: ${o}`),n.setAttribute(i,o),n.setAttribute("aria-controls",l),n.querySelector(r.selectors.tabTitleIcon)?.setAttribute("data-binding-index",o),n.querySelector(r.selectors.tabTitleText).setAttribute("data-binding-index",o),t[e].setAttribute("aria-labelledby",a),t[e].setAttribute(i,o),t[e].setAttribute("id",l),t[e].setAttribute("style",`--n-tabs-title-order: ${o}`)}))}onResizeUpdateHorizontalScrolling(){(0,s.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}getHorizontalScrollingSettings(){return{element:this.elements.$headingContainer[0],direction:this.getTabsDirection(),justifyCSSVariable:"--n-tabs-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()}}}t.default=NestedTabs},5089:(e,t,n)=>{"use strict";var r=n(930),i=n(9268),s=TypeError;e.exports=function(e){if(r(e))return e;throw s(i(e)+" is not a function")}},1378:(e,t,n)=>{"use strict";var r=n(930),i=String,s=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw s("Can't set "+i(e)+" as a prototype")}},6112:(e,t,n)=>{"use strict";var r=n(8759),i=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw s(i(e)+" is not an object")}},6198:(e,t,n)=>{"use strict";var r=n(4088),i=n(7740),s=n(2871),createMethod=function(e){return function(t,n,o){var a,l=r(t),c=s(l),u=i(o,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},2306:(e,t,n)=>{"use strict";var r=n(8240),i=r({}.toString),s=r("".slice);e.exports=function(e){return s(i(e),8,-1)}},375:(e,t,n)=>{"use strict";var r=n(2371),i=n(930),s=n(2306),o=n(211)("toStringTag"),a=Object,l="Arguments"==s(function(){return arguments}());e.exports=r?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:l?s(t):"Object"==(r=s(t))&&i(t.callee)?"Arguments":r}},8474:(e,t,n)=>{"use strict";var r=n(9606),i=n(6095),s=n(4399),o=n(7826);e.exports=function(e,t,n){for(var a=i(t),l=o.f,c=s.f,u=0;u{"use strict";var r=n(5283),i=n(7826),s=n(5736);e.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},5736:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1343:(e,t,n)=>{"use strict";var r=n(930),i=n(7826),s=n(3712),o=n(9444);e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(r(n)&&s(n,c,a),a.global)l?e[t]=n:o(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9444:(e,t,n)=>{"use strict";var r=n(2086),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},5283:(e,t,n)=>{"use strict";var r=n(3677);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7886:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},821:(e,t,n)=>{"use strict";var r=n(2086),i=n(8759),s=r.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},4999:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},1448:(e,t,n)=>{"use strict";var r,i,s=n(2086),o=n(4999),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},8684:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},79:(e,t,n)=>{"use strict";var r=n(8240),i=Error,s=r("".replace),o=String(i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=s(e,a,"");return e}},8395:(e,t,n)=>{"use strict";var r=n(2585),i=n(79),s=n(2114),o=Error.captureStackTrace;e.exports=function(e,t,n,a){s&&(o?o(e,t):r(e,"stack",i(n,a)))}},2114:(e,t,n)=>{"use strict";var r=n(3677),i=n(5736);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},1695:(e,t,n)=>{"use strict";var r=n(2086),i=n(4399).f,s=n(2585),o=n(1343),a=n(9444),l=n(8474),c=n(7189);e.exports=function(e,t){var n,u,d,h,g,p=e.target,f=e.global,m=e.stat;if(n=f?r:m?r[p]||a(p,{}):(r[p]||{}).prototype)for(u in t){if(h=t[u],d=e.dontCallGetSet?(g=i(n,u))&&g.value:n[u],!c(f?u:p+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&s(h,"sham",!0),o(n,u,h,e)}}},3677:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7258:(e,t,n)=>{"use strict";var r=n(6059),i=Function.prototype,s=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(s):function(){return o.apply(s,arguments)})},6059:(e,t,n)=>{"use strict";var r=n(3677);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9413:(e,t,n)=>{"use strict";var r=n(6059),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},4398:(e,t,n)=>{"use strict";var r=n(5283),i=n(9606),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=i(s,"name"),l=a&&"something"===function something(){}.name,c=a&&(!r||r&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},1518:(e,t,n)=>{"use strict";var r=n(8240),i=n(5089);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},8240:(e,t,n)=>{"use strict";var r=n(6059),i=Function.prototype,s=i.call,o=r&&i.bind.bind(s,s);e.exports=r?o:function(e){return function(){return s.apply(e,arguments)}}},563:(e,t,n)=>{"use strict";var r=n(2086),i=n(930);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},2964:(e,t,n)=>{"use strict";var r=n(5089),i=n(1858);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},2086:function(e,t,n){"use strict";var check=function(e){return e&&e.Math==Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},9606:(e,t,n)=>{"use strict";var r=n(8240),i=n(3060),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},7153:e=>{"use strict";e.exports={}},6761:(e,t,n)=>{"use strict";var r=n(5283),i=n(3677),s=n(821);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},5974:(e,t,n)=>{"use strict";var r=n(8240),i=n(3677),s=n(2306),o=Object,a=r("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o},5070:(e,t,n)=>{"use strict";var r=n(930),i=n(8759),s=n(7530);e.exports=function(e,t,n){var o,a;return s&&r(o=t.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&s(e,a),e}},9277:(e,t,n)=>{"use strict";var r=n(8240),i=n(930),s=n(4489),o=r(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},8945:(e,t,n)=>{"use strict";var r=n(8759),i=n(2585);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},3278:(e,t,n)=>{"use strict";var r,i,s,o=n(640),a=n(2086),l=n(8759),c=n(2585),u=n(9606),d=n(4489),h=n(8944),g=n(7153),p="Object already initialized",f=a.TypeError,m=a.WeakMap;if(o||d.state){var b=d.state||(d.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw f(p);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},s=function(e){return b.has(e)}}else{var v=h("state");g[v]=!0,r=function(e,t){if(u(e,v))throw f(p);return t.facade=e,c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},s=function(e){return u(e,v)}}e.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw f("Incompatible receiver, "+e+" required");return n}}}},930:(e,t,n)=>{"use strict";var r=n(7886),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},7189:(e,t,n)=>{"use strict";var r=n(3677),i=n(930),s=/#|\.prototype\./,isForced=function(e,t){var n=a[o(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},l=isForced.NATIVE="N",c=isForced.POLYFILL="P";e.exports=isForced},1858:e=>{"use strict";e.exports=function(e){return null==e}},8759:(e,t,n)=>{"use strict";var r=n(930),i=n(7886),s=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===s}:function(e){return"object"==typeof e?null!==e:r(e)}},3296:e=>{"use strict";e.exports=!1},2071:(e,t,n)=>{"use strict";var r=n(563),i=n(930),s=n(5516),o=n(1876),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&s(t.prototype,a(e))}},2871:(e,t,n)=>{"use strict";var r=n(4005);e.exports=function(e){return r(e.length)}},3712:(e,t,n)=>{"use strict";var r=n(8240),i=n(3677),s=n(930),o=n(9606),a=n(5283),l=n(4398).CONFIGURABLE,c=n(9277),u=n(3278),d=u.enforce,h=u.get,g=String,p=Object.defineProperty,f=r("".slice),m=r("".replace),b=r([].join),v=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),S=e.exports=function(e,t,n){"Symbol("===f(g(t),0,7)&&(t="["+m(g(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&o(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return o(r,"source")||(r.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=S((function toString(){return s(this)&&h(this).source||c(this)}),"toString")},5681:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function trunc(e){var r=+e;return(r>0?n:t)(r)}},1879:(e,t,n)=>{"use strict";var r=n(4059);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},7826:(e,t,n)=>{"use strict";var r=n(5283),i=n(6761),s=n(8202),o=n(6112),a=n(2258),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",g="writable";t.f=r?s?function defineProperty(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&g in n&&!n[g]){var r=u(e,t);r&&r[g]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function defineProperty(e,t,n){if(o(e),t=a(t),o(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},4399:(e,t,n)=>{"use strict";var r=n(5283),i=n(9413),s=n(7446),o=n(5736),a=n(4088),l=n(2258),c=n(9606),u=n(6761),d=Object.getOwnPropertyDescriptor;t.f=r?d:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return o(!i(s.f,e,t),e[t])}},62:(e,t,n)=>{"use strict";var r=n(1352),i=n(8684).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},6952:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},5516:(e,t,n)=>{"use strict";var r=n(8240);e.exports=r({}.isPrototypeOf)},1352:(e,t,n)=>{"use strict";var r=n(8240),i=n(9606),s=n(4088),o=n(6198).indexOf,a=n(7153),l=r([].push);e.exports=function(e,t){var n,r=s(e),c=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&l(u,n);for(;t.length>c;)i(r,n=t[c++])&&(~o(u,n)||l(u,n));return u}},7446:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=r(this,e);return!!t&&t.enumerable}:n},7530:(e,t,n)=>{"use strict";var r=n(1518),i=n(6112),s=n(1378);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function setPrototypeOf(n,r){return i(n),s(r),t?e(n,r):n.__proto__=r,n}}():void 0)},7999:(e,t,n)=>{"use strict";var r=n(9413),i=n(930),s=n(8759),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!s(a=r(n,e)))return a;if(i(n=e.valueOf)&&!s(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!s(a=r(n,e)))return a;throw o("Can't convert object to primitive value")}},6095:(e,t,n)=>{"use strict";var r=n(563),i=n(8240),s=n(62),o=n(6952),a=n(6112),l=i([].concat);e.exports=r("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),n=o.f;return n?l(t,n(e)):t}},1632:(e,t,n)=>{"use strict";var r=n(7826).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},9586:(e,t,n)=>{"use strict";var r=n(1858),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},8944:(e,t,n)=>{"use strict";var r=n(9197),i=n(5422),s=r("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},4489:(e,t,n)=>{"use strict";var r=n(2086),i=n(9444),s="__core-js_shared__",o=r[s]||i(s,{});e.exports=o},9197:(e,t,n)=>{"use strict";var r=n(3296),i=n(4489);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5558:(e,t,n)=>{"use strict";var r=n(1448),i=n(3677),s=n(2086).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7740:(e,t,n)=>{"use strict";var r=n(9502),i=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):s(n,t)}},4088:(e,t,n)=>{"use strict";var r=n(5974),i=n(9586);e.exports=function(e){return r(i(e))}},9502:(e,t,n)=>{"use strict";var r=n(5681);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},4005:(e,t,n)=>{"use strict";var r=n(9502),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},3060:(e,t,n)=>{"use strict";var r=n(9586),i=Object;e.exports=function(e){return i(r(e))}},1288:(e,t,n)=>{"use strict";var r=n(9413),i=n(8759),s=n(2071),o=n(2964),a=n(7999),l=n(211),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var n,l=o(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||s(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2258:(e,t,n)=>{"use strict";var r=n(1288),i=n(2071);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},2371:(e,t,n)=>{"use strict";var r={};r[n(211)("toStringTag")]="z",e.exports="[object z]"===String(r)},4059:(e,t,n)=>{"use strict";var r=n(375),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},9268:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},5422:(e,t,n)=>{"use strict";var r=n(8240),i=0,s=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1876:(e,t,n)=>{"use strict";var r=n(5558);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8202:(e,t,n)=>{"use strict";var r=n(5283),i=n(3677);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},640:(e,t,n)=>{"use strict";var r=n(2086),i=n(930),s=r.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},211:(e,t,n)=>{"use strict";var r=n(2086),i=n(9197),s=n(9606),o=n(5422),a=n(5558),l=n(1876),c=r.Symbol,u=i("wks"),d=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(c,e)?c[e]:d("Symbol."+e)),u[e]}},1557:(e,t,n)=>{"use strict";var r=n(563),i=n(9606),s=n(2585),o=n(5516),a=n(7530),l=n(8474),c=n(1632),u=n(5070),d=n(1879),h=n(8945),g=n(8395),p=n(5283),f=n(3296);e.exports=function(e,t,n,m){var b="stackTraceLimit",v=m?2:1,y=e.split("."),S=y[y.length-1],w=r.apply(null,y);if(w){var E=w.prototype;if(!f&&i(E,"cause")&&delete E.cause,!n)return w;var C=r("Error"),x=t((function(e,t){var n=d(m?t:e,void 0),r=m?new w(e):new w;return void 0!==n&&s(r,"message",n),g(r,x,r.stack,2),this&&o(E,this)&&u(r,this,x),arguments.length>v&&h(r,arguments[v]),r}));if(x.prototype=E,"Error"!==S?a?a(x,C):l(x,C,{name:!0}):p&&b in w&&(c(x,w,b),c(x,w,"prepareStackTrace")),l(x,w),!f)try{E.name!==S&&s(E,"name",S),E.constructor=x}catch(e){}return x}}},740:(e,t,n)=>{"use strict";var r=n(1695),i=n(2086),s=n(7258),o=n(1557),a="WebAssembly",l=i[a],c=7!==Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(e,t){var n={};n[e]=o(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},exportWebAssemblyErrorCauseWrapper=function(e,t){if(l&&l[e]){var n={};n[e]=o(a+"."+e,t,c),r({target:a,stat:!0,constructor:!0,arity:1,forced:c},n)}};exportGlobalErrorCauseWrapper("Error",(function(e){return function Error(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("EvalError",(function(e){return function EvalError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("RangeError",(function(e){return function RangeError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("ReferenceError",(function(e){return function ReferenceError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("SyntaxError",(function(e){return function SyntaxError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("TypeError",(function(e){return function TypeError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("URIError",(function(e){return function URIError(t){return s(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("CompileError",(function(e){return function CompileError(t){return s(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("LinkError",(function(e){return function LinkError(t){return s(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("RuntimeError",(function(e){return function RuntimeError(t){return s(e,this,arguments)}}))},3203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},e=>{var t;t=6412,e(e.s=t)}]);;