(function($, window){
'use strict';
window.NggTikTokVideo=window.NggTikTokVideo||{};
let linkHandlersInitialized=false;
const galleryIdCache=new Map();
const DEFAULT_DIMENSIONS={ width: 480, height: 854 };
const ASPECT_RATIO=9 / 16;
const MAX_DEPTH=15;
const INIT_DELAY=100;
NggTikTokVideo.getTikTokSettings=(galleryId)=> {
if(!window.ngg_tiktok_gallery_settings){
window.ngg_tiktok_gallery_settings={
global: {
link: '0',
link_target: '0'
}};}
const settings=window.ngg_tiktok_gallery_settings;
const galleryIdStr=galleryId ? String(galleryId):null;
if(galleryIdStr&&settings[`gallery_${galleryIdStr}`]){
const gallerySettings=settings[`gallery_${galleryIdStr}`];
if(gallerySettings&&(gallerySettings.link!==undefined||gallerySettings.link_target!==undefined)){
return {
link: String(gallerySettings.link ?? '0'),
link_target: String(gallerySettings.link_target ?? '0')
};}}
const globalSettings=settings.global||{};
return {
link: String(globalSettings.link||'0'),
link_target: String(globalSettings.link_target||'0')
};};
const findGalleryId=($anchor, imageId)=> {
const cacheKey=imageId||$anchor[0];
const cachedResult=galleryIdCache.get(cacheKey);
if(cachedResult){
return cachedResult;
}
let $galleryContainer=null;
let galleryId=null;
$galleryContainer=$anchor.closest('[data-gallery-id]');
if($galleryContainer.length){
galleryId=$galleryContainer.attr('data-gallery-id')||$galleryContainer.data('gallery-id');
}
if(!galleryId){
$galleryContainer=$anchor.closest('.ngg-galleryoverview, .ngg-imagebrowser, .ngg-slideshow');
if($galleryContainer.length){
galleryId=$galleryContainer.attr('data-gallery-id') ||
$galleryContainer.data('gallery-id') ||
$galleryContainer.attr('data-nextgen-gallery-id') ||
$galleryContainer.data('nextgen-gallery-id');
}}
if(!galleryId){
let $current=$anchor;
let depth=0;
while (depth < MAX_DEPTH&&$current.length){
if($current.is('[data-gallery-id]')){
galleryId=$current.attr('data-gallery-id')||$current.data('gallery-id');
$galleryContainer=$current;
break;
}
const $sibling=$current.siblings('[data-gallery-id]').first();
if($sibling.length){
galleryId=$sibling.attr('data-gallery-id')||$sibling.data('gallery-id');
$galleryContainer=$sibling;
break;
}
$current=$current.parent();
depth++;
}}
if(!galleryId&&imageId){
const $allContainers=$('[data-gallery-id]');
$allContainers.each(function(){
const $container=$(this);
if($container.find($anchor).length > 0){
galleryId=$container.attr('data-gallery-id')||$container.data('gallery-id');
$galleryContainer=$container;
return false;
}});
}
const result={
galleryId: galleryId ? String(galleryId):null,
$galleryContainer
};
galleryIdCache.set(cacheKey, result);
return result;
};
const getTikTokDataFromAnchor=($anchor, imageId)=> {
if(imageId&&window.ngg_tiktok_images?.[imageId]){
return window.ngg_tiktok_images[imageId];
}
const playUrl=$anchor.attr('data-tiktok-play-url');
const shareUrl=$anchor.attr('data-tiktok-share-url');
const embedUrl=$anchor.attr('data-tiktok-embed-url');
if(playUrl||shareUrl||embedUrl){
return {
playUrl: playUrl||'',
shareUrl: shareUrl||'',
embedUrl: embedUrl||''
};}
return null;
};
const handleTikTokLinkClick=(e)=> {
const anchor=e.target.closest('a[data-image-id]');
if(!anchor){
return;
}
const $anchor=$(anchor);
const imageId=$anchor.attr('data-image-id');
const tiktokData=getTikTokDataFromAnchor($anchor, imageId);
if(!tiktokData){
return;
}
const { galleryId }=findGalleryId($anchor, imageId);
const tiktokSettings=NggTikTokVideo.getTikTokSettings(galleryId);
const linkSetting=String(tiktokSettings.link||'0');
const linkTarget=String(tiktokSettings.link_target||'0');
if(linkSetting!=='1'&&linkSetting!=='2'){
return;
}
if(linkSetting==='1'&&!tiktokData.shareUrl){
return;
}
if(linkSetting==='2'&&!tiktokData.embedUrl&&!tiktokData.shareUrl){
return;
}
e.preventDefault();
e.stopPropagation();
const openNewTab=linkTarget==='1'||linkTarget==='_blank';
let targetUrl='';
if(linkSetting==='1'){
targetUrl=tiktokData.shareUrl||'';
}else if(linkSetting==='2'){
targetUrl=tiktokData.embedUrl||tiktokData.shareUrl||'';
}
if(targetUrl){
if(openNewTab){
window.open(targetUrl, '_blank', 'noopener,noreferrer');
}else{
window.location.href=targetUrl;
}}
};
NggTikTokVideo.initLinkHandlers=()=> {
if(linkHandlersInitialized){
return;
}
linkHandlersInitialized=true;
document.addEventListener('click', handleTikTokLinkClick, true);
};
NggTikTokVideo.isTikTokImage=(element)=> {
const $el=$(element);
const $anchor=$el.is('a') ? $el:$el.closest('a');
if($anchor.attr('data-ngg-tiktok-source')==='true'){
return true;
}
const imageId=$anchor.attr('data-image-id');
if(imageId&&window.ngg_tiktok_images?.[imageId]){
const $galleryContainer=$anchor.closest('[data-gallery-id]');
const galleryId=$galleryContainer.length ? $galleryContainer.attr('data-gallery-id'):null;
const settings=NggTikTokVideo.getTikTokSettings(galleryId);
return String(settings.link||'0')==='0';
}
return false;
};
NggTikTokVideo.getTikTokData=(element)=> {
const $el=$(element);
const $anchor=$el.is('a') ? $el:$el.closest('a');
const playUrl=$anchor.attr('data-ngg-tiktok-play-url');
const shareUrl=$anchor.attr('data-ngg-tiktok-share-url');
const embedUrl=$anchor.attr('data-ngg-tiktok-embed-url');
const tiktokId=$anchor.attr('data-ngg-tiktok-id');
if(playUrl||shareUrl||embedUrl){
return {
tiktokId: tiktokId||'',
playUrl: playUrl||'',
shareUrl: shareUrl||'',
embedUrl: embedUrl||'',
linkSetting: '0'
};}
const imageId=$anchor.attr('data-image-id');
if(imageId&&window.ngg_tiktok_images?.[imageId]){
return window.ngg_tiktok_images[imageId];
}
return null;
};
NggTikTokVideo.getVideoUrl=(tiktokData)=> {
if(!tiktokData){
return '';
}
if(tiktokData.playUrl?.length > 0){
return tiktokData.playUrl;
}
if(tiktokData.shareUrl?.length > 0){
return tiktokData.shareUrl;
}
return '';
};
NggTikTokVideo.getEmbedUrl=(tiktokData)=> {
if(!tiktokData){
return '';
}
if(tiktokData.embedUrl){
return tiktokData.embedUrl;
}
if(tiktokData.shareUrl){
const match=tiktokData.shareUrl.match(/video\/(\d+)/);
if(match?.[1]){
return `https://www.tiktok.com/embed/v2/${match[1]}`;
}}
return '';
};
const createErrorMessage=(message)=> {
return $('<div class="ngg-tiktok-error"></div>')
.text(message)
.css({
color: '#fff',
textAlign: 'center',
padding: '20px'
});
};
const createVideoElement=(videoUrl, autoplay, onReady, onError)=> {
const $video=$('<video></video>').attr({
src: videoUrl,
controls: true,
autoplay: autoplay,
playsinline: true,
preload: 'auto'
}).css({
width: '100%',
height: '100%',
objectFit: 'contain'
});
$video.on('loadeddata', ()=> {
onReady($video[0]);
});
$video.on('error', ()=> {
$video.remove();
onError(new Error('Video failed to load'));
});
return $video;
};
NggTikTokVideo.createPlayer=(options={})=> {
const {
tiktokData,
width=DEFAULT_DIMENSIONS.width,
height=DEFAULT_DIMENSIONS.height,
autoplay=true,
onReady=()=> {},
onError=()=> {}}=options;
const $container=$('<div class="ngg-tiktok-video-container"></div>').css({
position: 'relative',
width,
height,
maxWidth: '100%',
maxHeight: '100%',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
});
const videoUrl=NggTikTokVideo.getVideoUrl(tiktokData);
if(videoUrl&&videoUrl.includes('tiktokcdn.com')){
const $video=createVideoElement(videoUrl, autoplay, onReady, (error)=> {
$container.append(createErrorMessage('Video failed to load'));
onError(error);
});
$container.append($video);
}else{
$container.append(createErrorMessage('Video not available'));
onError(new Error('No video URL available'));
}
return $container;
};
NggTikTokVideo._createEmbedPlayer=($container, embedUrl, width, height, autoplay, onReady, onError)=> {
$container.empty();
if(!embedUrl){
$container.append(createErrorMessage('Video not available'));
onError(new Error('No embed URL available'));
return;
}
const url=autoplay
? `${embedUrl}${embedUrl.includes('?') ? '&':'?'}autoplay=1`
: embedUrl;
const $iframe=$('<iframe></iframe>').attr({
src: url,
frameborder: '0',
allowfullscreen: true,
allow: 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture'
}).css({
width: '100%',
height: '100%',
border: 'none'
});
$iframe.on('load', ()=> {
onReady($iframe[0]);
});
$iframe.on('error', ()=> {
onError(new Error('Failed to load TikTok embed'));
});
$container.append($iframe);
};
NggTikTokVideo.replaceImageWithVideo=(imageElement, options={})=> {
const $image=$(imageElement);
const $anchor=$image.closest('a');
const tiktokData=options.tiktokData||NggTikTokVideo.getTikTokData($anchor);
if(!tiktokData){
return null;
}
const width=options.width||$image.width()||DEFAULT_DIMENSIONS.width;
const height=options.height||$image.height()||DEFAULT_DIMENSIONS.height;
const playerOptions={
...options,
tiktokData,
width,
height
};
const $player=NggTikTokVideo.createPlayer(playerOptions);
$image.replaceWith($player);
return $player;
};
NggTikTokVideo.createLightboxPlayer=(tiktokData, lightboxOptions={})=> {
const {
maxWidth=window.innerWidth * 0.8,
maxHeight=window.innerHeight * 0.9,
onReady,
onError
}=lightboxOptions;
let width, height;
if(maxHeight * ASPECT_RATIO <=maxWidth){
height=maxHeight;
width=height * ASPECT_RATIO;
}else{
width=maxWidth;
height=width / ASPECT_RATIO;
}
return NggTikTokVideo.createPlayer({
tiktokData,
width: Math.round(width),
height: Math.round(height),
autoplay: true,
onReady,
onError
});
};
NggTikTokVideo.destroyPlayer=($container)=> {
if(!$container?.length){
return;
}
const $video=$container.find('video');
if($video.length){
$video[0].pause();
$video.attr('src', '');
}
const $iframe=$container.find('iframe');
if($iframe.length){
$iframe.attr('src', '');
}
$container.remove();
};
$(()=> {
setTimeout(()=> {
NggTikTokVideo.initLinkHandlers();
}, INIT_DELAY);
});
})(jQuery, window);
(function($){
"use strict";
window.NextGEN_Video={
detect_platform: function(url){
if(!url) return null;
url=url.trim().toLowerCase();
if(url.match(/youtube\.com|youtu\.be|youtube-nocookie\.com/)){
return 'youtube';
}
if(url.match(/vimeo\.com/)){
return 'vimeo';
}
if(url.match(/dailymotion\.com|dai\.ly/)){
return 'dailymotion';
}
if(url.match(/twitch\.tv/)){
return 'twitch';
}
if(url.match(/videopress\.com|video\.wordpress\.com/)){
return 'videopress';
}
if(url.match(/wistia\.com|wistia\.net/)){
return 'wistia';
}
if(url.match(/\.(mp4|webm|ogg|ogv|mov|avi|wmv|flv|mkv)(\?|$)/i)){
return 'local';
}
return null;
},
extract_youtube_id: function(url){
if(!url) return null;
var patterns=[
/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/|youtube-nocookie\.com\/embed\/)([^&\n?#]+)/,
/youtube\.com\/.*[?&]v=([^&\n?#]+)/,
];
for (var i=0; i < patterns.length; i++){
var match=url.match(patterns[i]);
if(match&&match[1]){
return match[1];
}}
return null;
},
extract_vimeo_id: function(url){
if(!url) return null;
var patterns=[
/vimeo\.com\/(\d+)/,
/vimeo\.com\/.*\/(\d+)/,
/player\.vimeo\.com\/video\/(\d+)/,
];
for (var i=0; i < patterns.length; i++){
var match=url.match(patterns[i]);
if(match&&match[1]){
return match[1];
}}
return null;
},
extract_dailymotion_id: function(url){
if(!url) return null;
var patterns=[
/dailymotion\.com\/video\/([^/?]+)/,
/dai\.ly\/([^/?]+)/,
/dailymotion\.com\/embed\/video\/([^/?]+)/,
];
for (var i=0; i < patterns.length; i++){
var match=url.match(patterns[i]);
if(match&&match[1]){
return match[1];
}}
return null;
},
extract_twitch_id: function(url){
if(!url) return null;
var videoMatch=url.match(/twitch\.tv\/videos\/(\d+)/);
if(videoMatch&&videoMatch[1]){
return { videoId: videoMatch[1], type: 'video' };}
var clipMatch=url.match(/(?:twitch\.tv\/|clips\.twitch\.tv\/)([^/?]+)/);
if(clipMatch&&clipMatch[1]){
return { videoId: clipMatch[1], type: 'clip' };}
return null;
},
extract_videopress_id: function(url){
if(!url) return null;
var patterns=[
/videopress\.com\/v\/([^/?]+)/,
/video\.wordpress\.com\/v\/([^/?]+)/,
];
for (var i=0; i < patterns.length; i++){
var match=url.match(patterns[i]);
if(match&&match[1]){
return match[1];
}}
return null;
},
extract_wistia_id: function(url){
if(!url) return null;
var patterns=[
/wistia\.(?:com|net)\/medias\/([^/?]+)/,
/wistia\.(?:com|net)\/embed\/([^/?]+)/,
];
for (var i=0; i < patterns.length; i++){
var match=url.match(patterns[i]);
if(match&&match[1]){
return match[1];
}}
return null;
},
get_embed_url: function(platform, videoId, settings){
if(!platform||!videoId) return null;
settings=settings||{};
var autoplay=settings.autoplay_videos ? 1:0;
var controls=settings.show_video_controls!==false ? 1:0;
switch (platform){
case 'youtube':
var youtubeId=typeof videoId==='string' ? videoId:videoId.videoId;
return 'https://www.youtube.com/embed/' + youtubeId +
'?autoplay=' + autoplay +
'&controls=' + controls +
'&rel=0&modestbranding=1';
case 'vimeo':
var vimeoId=typeof videoId==='string' ? videoId:videoId.videoId;
return 'https://player.vimeo.com/video/' + vimeoId +
'?autoplay=' + autoplay +
'&controls=' + controls;
case 'dailymotion':
var dmId=typeof videoId==='string' ? videoId:videoId.videoId;
return 'https://www.dailymotion.com/embed/video/' + dmId +
'?autoplay=' + autoplay +
'&controls=' + controls;
case 'twitch':
var twitchData=typeof videoId==='object' ? videoId:{ videoId: videoId, type: 'video' };
if(twitchData.type==='clip'){
return 'https://clips.twitch.tv/embed?clip=' + twitchData.videoId +
'&autoplay=' + autoplay +
'&parent=' + window.location.hostname;
}else{
return 'https://player.twitch.tv/?video=v' + twitchData.videoId +
'&autoplay=' + autoplay +
'&parent=' + window.location.hostname;
}
case 'videopress':
var vpId=typeof videoId==='string' ? videoId:videoId.videoId;
return 'https://videopress.com/embed/' + vpId +
'?autoplay=' + autoplay +
'&controls=' + controls;
case 'wistia':
var wistiaId=typeof videoId==='string' ? videoId:videoId.videoId;
return 'https://fast.wistia.net/embed/iframe/' + wistiaId +
'?autoplay=' + autoplay +
'&controlsVisibleOnLoad=' + controls;
case 'local':
return typeof videoId==='string' ? videoId:null;
default:
return null;
}},
create_local_player: function(videoUrl, settings, containerClass, videoClass){
var container=document.createElement("div");
container.className=containerClass||"ngg-video-container";
var video=document.createElement("video");
video.className=videoClass||"ngg-video-player";
video.controls=settings.show_video_controls!==false;
video.autoplay=settings.autoplay_videos===true;
video.playsInline=true;
video.preload="auto";
video.setAttribute("playsinline", "");
video.setAttribute("webkit-playsinline", "");
video.src=videoUrl;
video.addEventListener("error", function(e){
console.error("Video player error:", {
error: e,
videoUrl: videoUrl,
errorCode: video.error ? video.error.code:"unknown",
errorMessage: video.error ? video.error.message:"Unknown error"
});
});
video.addEventListener("loadedmetadata", function (){
var naturalWidth=video.videoWidth;
var naturalHeight=video.videoHeight;
if(naturalWidth&&naturalHeight){
var container=video.closest('.ngg-video-container');
var displayWidth=naturalWidth;
var displayHeight=naturalHeight;
if(container){
var fancyboxContent=container.closest('#fancybox-content');
var tbWindow=container.closest('#TB_window');
var slImage=container.closest('.sl-image');
var shWrap=container.closest('#shWrap');
if(shWrap){
var wiH=window.innerHeight||0;
var dbH=document.body.clientHeight||0;
var deH=document.documentElement ? document.documentElement.clientHeight:0;
var wHeight;
if(wiH > 0){
wHeight=((wiH - dbH) > 1&&(wiH - dbH) < 30) ? dbH:wiH;
wHeight=((wHeight - deH) > 1&&(wHeight - deH) < 30) ? deH:wHeight;
}else{
wHeight=(deH > 0) ? deH:dbH;
}
if(document.getElementsByTagName("body")[0].className.match(/admin-bar/)
&& document.getElementById('wpadminbar')!==null){
wHeight=wHeight - document.getElementById('wpadminbar').offsetHeight;
}
var shHeight=wHeight - 50;
var deW=document.documentElement ? document.documentElement.clientWidth:0;
var dbW=window.innerWidth||document.body.clientWidth;
var wWidth=(deW > 1) ? deW:dbW;
if(displayHeight > shHeight){
displayWidth=displayWidth * (shHeight / displayHeight);
displayHeight=shHeight;
}
if(displayWidth > (wWidth - 16)){
displayHeight=displayHeight * ((wWidth - 16) / displayWidth);
displayWidth=wWidth - 16;
}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.style.maxWidth="none";
video.style.maxHeight="none";
video.setAttribute("width", displayWidth);
video.setAttribute("height", displayHeight);
}else if(fancyboxContent){
setTimeout(function(){
var contentRect=fancyboxContent.getBoundingClientRect();
if(contentRect.width > 10&&contentRect.height > 10){
var maxW=contentRect.width;
var maxH=contentRect.height;
if(displayWidth > maxW||displayHeight > maxH){
var ratio=displayWidth / displayHeight > maxW / maxH
? displayWidth / maxW
: displayHeight / maxH;
displayWidth=displayWidth / ratio;
displayHeight=displayHeight / ratio;
}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.setAttribute("width", displayWidth);
video.setAttribute("height", displayHeight);
}}, 50);
return;
}else if(tbWindow){
var pageWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;
var pageHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;
var x=pageWidth - 150;
var y=pageHeight - 150;
if(displayWidth > x){
displayHeight=displayHeight * (x / displayWidth);
displayWidth=x;
if(displayHeight > y){
displayWidth=displayWidth * (y / displayHeight);
displayHeight=y;
}}else if(displayHeight > y){
displayWidth=displayWidth * (y / displayHeight);
displayHeight=y;
if(displayWidth > x){
displayHeight=displayHeight * (x / displayWidth);
displayWidth=x;
}}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.setAttribute("width", displayWidth);
video.setAttribute("height", displayHeight);
}else if(slImage){
var widthRatio=0.8;
var heightRatio=0.9;
var windowWidth=window.innerWidth;
var windowHeight=window.innerHeight;
var maxWidth=windowWidth * widthRatio;
var maxHeight=windowHeight * heightRatio;
if(displayWidth > maxWidth||displayHeight > maxHeight){
var ratio=displayWidth / displayHeight > maxWidth / maxHeight
? displayWidth / maxWidth
: displayHeight / maxHeight;
displayWidth /=ratio;
displayHeight /=ratio;
}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.style.maxWidth=maxWidth + "px";
video.style.maxHeight=maxHeight + "px";
}}
}});
if(settings.autoplay_videos){
video.addEventListener("canplay", function (){
video.play().catch(function (error){
console.error("Video autoplay failed:", error);
});
});
}
container.appendChild(video);
return container;
},
create_embed_player: function(embedUrl, settings, containerClass){
var container=document.createElement("div");
container.className=containerClass||"ngg-video-container";
var iframe=document.createElement("iframe");
iframe.src=embedUrl;
iframe.frameBorder="0";
iframe.allowFullscreen=true;
iframe.setAttribute("allow", "autoplay; encrypted-media");
iframe.style.width="100%";
iframe.style.height="100%";
iframe.style.border="none";
iframe.addEventListener("error", function(e){
console.error("Video iframe error:", {
error: e,
embedUrl: embedUrl
});
});
iframe.addEventListener("load", function(){
try {
var iframeDoc=iframe.contentDocument||iframe.contentWindow.document;
} catch (e){
if(e.name!=="SecurityError"){
console.error("Video iframe load error:", e);
}}
});
var aspectRatio=16 / 9;
var maxWidth=window.innerWidth * 0.9;
var maxHeight=window.innerHeight * 0.9;
var width=Math.min(maxWidth, 1080);
var height=width / aspectRatio;
if(height > maxHeight){
height=maxHeight;
width=height * aspectRatio;
}
container.style.width=width + "px";
container.style.height=height + "px";
container.style.maxWidth="100%";
container.style.maxHeight="90vh";
container.appendChild(iframe);
return container;
},
handle_content: function(options){
var self=this;
var videoUrl=options.videoUrl;
var $targetContainer=$(options.container);
var settings=options.settings||{};
if(!videoUrl){
console.error("Video URL is required");
return null;
}
try {
var platform=self.detect_platform(videoUrl);
if(!platform){
console.warn("Unrecognized video URL:", videoUrl);
return null;
}} catch (error){
console.error("Error detecting video platform:", error);
return null;
}
var videoContent=null;
var videoId=null;
switch (platform){
case 'youtube':
videoId=self.extract_youtube_id(videoUrl);
break;
case 'vimeo':
videoId=self.extract_vimeo_id(videoUrl);
break;
case 'dailymotion':
videoId=self.extract_dailymotion_id(videoUrl);
break;
case 'twitch':
videoId=self.extract_twitch_id(videoUrl);
break;
case 'videopress':
videoId=self.extract_videopress_id(videoUrl);
break;
case 'wistia':
videoId=self.extract_wistia_id(videoUrl);
break;
case 'local':
videoId=videoUrl;
break;
}
if(!videoId){
var errorMsg=self.create_error("Could not extract video ID from URL", options.errorClass);
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(errorMsg);
$targetContainer.append(errorMsg);
return errorMsg;
}
try {
if(platform==='local'){
videoContent=self.create_local_player(videoId, settings, options.containerClass, options.videoClass);
}else{
var embedUrl=self.get_embed_url(platform, videoId, settings);
if(embedUrl){
videoContent=self.create_embed_player(embedUrl, settings, options.containerClass);
}else{
var errorMsg=self.create_error("Could not generate embed URL", options.errorClass);
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(errorMsg);
$targetContainer.append(errorMsg);
return errorMsg;
}}
if(videoContent){
if(platform==='local'){
var video=videoContent.querySelector("video");
if(video){
video.onerror=function (){
$(videoContent).remove();
var errorMsg=self.create_error("Video failed to load", options.errorClass);
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(errorMsg);
$targetContainer.append(errorMsg);
};}}
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(videoContent);
$targetContainer.append(videoContent);
}} catch (error){
console.error("Error creating video player:", error);
var errorMsg=self.create_error("Video player creation failed", options.errorClass);
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(errorMsg);
$targetContainer.append(errorMsg);
return errorMsg;
}
return videoContent;
},
create_error: function(message, containerClass){
var container=document.createElement("div");
container.className=containerClass||"ngg-video-error";
container.innerHTML =
'<div class="ngg-video-error-content">' +
'<span class="ngg-video-error-icon">&#9888;</span>' +
'<span class="ngg-video-error-text">' +
(message||"Video failed to load") +
"</span>" +
"</div>";
return container;
}};})(jQuery);
function nextgen_lightbox_filter_selector($, selector){
if(nextgen_lightbox_settings&&nextgen_lightbox_settings.context){
var context=nextgen_lightbox_settings.context;
if(context=='all_images'){
selector=selector.add($('a > img').parent());
}
else if(context=='all_images_direct'){
selector=selector.add($('a[href] > img').parent()
.filter(function(){
var href=$(this).attr('href').toLowerCase();
var ext=href.substring(href.length - 3);
var ext2=href.substring(href.length - 4);
return (ext=='jpg'||ext=='gif'||ext=='png'||ext2=='tiff'||ext2=='jpeg'||ext2=='webp');
}));
}
else if(context=='nextgen_and_wp_images'){
selector=selector.add($('a > img[class*="wp-image-"]').parent());
}
selector=selector.not('.gallery_link');
selector=selector.not('.use_imagebrowser_effect');
}
return selector;
};
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t<d/2)6 h.i.A(x,t*2,0,c,d)*.5+b;6 h.i.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|easing|pow|75|70158|else|sin|sqrt||5625|asin|||undefined|easeOutBounce|abs||def|swing|easeInBounce|525|cos|easeOutQuad|easeOutBack|easeInBack|easeInSine|easeOutElastic|easeInOutQuint|easeOutQuint|easeInQuint|easeInOutQuart|easeOutQuart|easeInQuart|extend|easeInElastic|easeInOutCirc|easeInOutCubic|easeOutCirc|easeInOutElastic|easeOutCubic|easeInCirc|easeInOutExpo|easeInCubic|easeOutExpo|easeInExpo||9375|easeInOutSine|easeInOutQuad|25|easeOutSine|easeInOutBack|easeInQuad|625|984375|jswing|easeInOutBounce'.split('|'),0,{}));
(s=>{function i(){f.hide(),k.onerror=k.onload=null,C&&C.abort(),l.empty()}function h(){!1===w.onError(m,u,w)?(f.hide(),A=!1):(w.titleShow=!1,w.width="auto",w.height="auto",l.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>'),E())}function a(){var n,t,e,a,o,d,c,r=m[u];if(i(),w=s.extend({},s.fn.fancybox.defaults,void 0===s(r).data("fancybox")?w:s(r).data("fancybox")),!1===(d=w.onStart(m,u,w)))A=!1;else{e=(w="object"==typeof d?s.extend(w,d):w).title||(r.nodeName?s(r).attr("title"):r.title)||"",r.nodeName&&!w.orig&&(w.orig=s(r).children("img:first").length?s(r).children("img:first"):s(r)),""===e&&w.orig&&w.titleFromAlt&&(e=w.orig.attr("alt"));let i={A:["href","class","title"],BR:[],EM:[],I:[],STRONG:[],B:[],U:[],P:["class"],DIV:["class","id"],SPAN:["class","id"]};if(c=e,(c=(new DOMParser).parseFromString(c,"text/html")).body.querySelectorAll("*").forEach(e=>{i[e.tagName]?[...e.attributes].forEach(t=>{i[e.tagName].includes(t.name)||e.removeAttribute(t.name)}):e.remove()}),e=c.body.innerHTML,n=w.href||(r.nodeName?s(r).attr("href"):r.href)||null,!/^(?:javascript)/i.test(n)&&"#"!=n||(n=null),w.type?(t=w.type,n=n||w.content):w.content?t="html":n&&(t=n.match(O)?"image":n.match(z)?"swf":s(r).hasClass("iframe")?"iframe":0===n.indexOf("#")?"inline":"ajax"),t)switch("inline"==t&&(r=n.substr(n.indexOf("#")),t=0<s(r).length?"inline":"ajax"),w.type=t,w.href=n,w.title=e,w.autoDimensions&&("html"==w.type||"inline"==w.type||"ajax"==w.type?(w.width="auto",w.height="auto"):w.autoDimensions=!1),w.modal&&(w.overlayShow=!0,w.hideOnOverlayClick=!1,w.hideOnContentClick=!1,w.enableEscapeButton=!1,w.showCloseButton=!1),w.padding=parseInt(w.padding,10),w.margin=parseInt(w.margin,10),l.css("padding",w.padding+w.margin),s(".fancybox-inline-tmp").off("fancybox-cancel").on("fancybox-change",function(){s(this).replaceWith(p.children())}),t){case"html":l.html(w.content),E();break;case"inline":!0===s(r).parent().is("#fancybox-content")?A=!1:(s('<div class="fancybox-inline-tmp" />').hide().insertBefore(s(r)).on("fancybox-cleanup",function(){s(this).replaceWith(p.children())}).on("fancybox-cancel",function(){s(this).replaceWith(l.children())}),s(r).appendTo(l),E());break;case"image":A=!1,s.fancybox.showActivity(),(k=new Image).onerror=function(){h()},k.onload=function(){A=!0,k.onerror=k.onload=null,w.width=k.width,w.height=k.height,s("<img />").attr({id:"fancybox-img",src:k.src,alt:w.title}).appendTo(l),P()},k.src=n;break;case"swf":w.scrolling="no",a='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+w.width+'" height="'+w.height+'"><param name="movie" value="'+n+'"></param>',o="",s.each(w.swf,function(t,e){a+='<param name="'+t+'" value="'+e+'"></param>',o+=" "+t+'="'+e+'"'}),a+='<embed src="'+n+'" type="application/x-shockwave-flash" width="'+w.width+'" height="'+w.height+'"'+o+"></embed></object>",l.html(a),E();break;case"ajax":A=!1,s.fancybox.showActivity(),w.ajax.win=w.ajax.success,C=s.ajax(s.extend({},w.ajax,{url:n,data:w.ajax.data||{},error:function(t,e,i){0<t.status&&h()},success:function(t,e,i){if(200==("object"==typeof i?i:C).status){if("function"==typeof w.ajax.win){if(!1===(d=w.ajax.win(n,t,e,i)))return void f.hide();"string"!=typeof d&&"object"!=typeof d||(t=d)}l.html(t),E()}}}));break;case"iframe":P()}else h()}}function M(t){var e=t.offset();return e.top+=parseInt(t.css("paddingTop"),10)||0,e.left+=parseInt(t.css("paddingLeft"),10)||0,e.top+=parseInt(t.css("border-top-width"),10)||0,e.left+=parseInt(t.css("border-left-width"),10)||0,e.width=t.width(),e.height=t.height(),e}function L(){f.is(":visible")?(s("div",f).css("top",-40*j+"px"),j=(j+1)%12):clearInterval(e)}var l,f,n,o,t,p,d,c,r,g,e,b,y,u=0,w={},m=[],x=0,v={},I=[],C=null,k=new Image,O=/\.(jpg|gif|png|bmp|jpeg|webp)(.*)?$/i,z=/[^\.]\.(swf)\s*$/i,j=1,S=0,T="",A=!1,D=s.extend(s("<div/>")[0],{prop:0}),N=!1,E=function(){var t=w.width,e=w.height,t=-1<t.toString().indexOf("%")?parseInt((s(window).width()-2*w.margin)*parseFloat(t)/100,10)+"px":"auto"==t?"auto":t+"px",e=-1<e.toString().indexOf("%")?parseInt((s(window).height()-2*w.margin)*parseFloat(e)/100,10)+"px":"auto"==e?"auto":e+"px";l.wrapInner('<div style="width:'+t+";height:"+e+";overflow: "+("auto"==w.scrolling?"auto":"yes"==w.scrolling?"scroll":"hidden")+';position:relative;"></div>'),w.width=l.width(),w.height=l.height(),P()},P=function(){var t,e;f.hide(),o.is(":visible")&&!1===v.onCleanup(I,x,v)?(s.event.trigger("fancybox-cancel"),A=!1):(A=!0,s(p.add(n)).off(),s(window).off("resize.fb scroll.fb"),s(document).off("keydown.fb"),o.is(":visible")&&"outside"!==v.titlePosition&&o.css("height",o.height()),I=m,x=u,(v=w).overlayShow?(n.css({"background-color":v.overlayColor,opacity:v.overlayOpacity,cursor:v.hideOnOverlayClick?"pointer":"auto",height:s(document).height()}),n.is(":visible")||(N&&s("select:not(#fancybox-tmp select)").filter(function(){return"hidden"!==this.style.visibility}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"}),n.show())):n.hide(),y=q(),R(),o.is(":visible")?(s(d.add(r).add(g)).hide(),t=o.position(),b={top:t.top,left:t.left,width:o.width(),height:o.height()},e=b.width==y.width&&b.height==y.height,p.fadeTo(v.changeFade,.3,function(){function t(){p.html(l.contents()).fadeTo(v.changeFade,1,F)}s.event.trigger("fancybox-change"),p.empty().removeAttr("filter").css({"border-width":v.padding,width:y.width-2*v.padding,height:w.autoDimensions?"auto":y.height-S-2*v.padding}),e?t():(D.prop=0,s(D).animate({prop:1},{duration:v.changeSpeed,easing:v.easingChange,step:B,complete:t}))})):(o.removeAttr("style"),p.css("border-width",v.padding),"elastic"==v.transitionIn?(b=U(),p.html(l.contents()),o.show(),v.opacity&&(y.opacity=0),D.prop=0,s(D).animate({prop:1},{duration:v.speedIn,easing:v.easingIn,step:B,complete:F})):("inside"==v.titlePosition&&0<S&&c.show(),p.css({width:y.width-2*v.padding,height:w.autoDimensions?"auto":y.height-S-2*v.padding}).html(l.contents()),o.css(y).fadeIn("none"==v.transitionIn?0:v.speedIn,F))))},H=function(t){return!(!t||!t.length)&&("float"==v.titlePosition?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+t+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+v.titlePosition+'">'+t+"</div>")},R=function(){if((T=v.title||"",S=0,c.empty().removeAttr("style").removeClass(),!1!==v.titleShow)&&((T="function"==typeof v.titleFormat?v.titleFormat(T,I,x,v):H(T))&&""!==T))switch(c.addClass("fancybox-title-"+v.titlePosition).html(T).appendTo("body").show(),v.titlePosition){case"inside":c.css({width:y.width-2*v.padding,marginLeft:v.padding,marginRight:v.padding}),S=c.outerHeight(!0),c.appendTo(t),y.height+=S;break;case"over":c.css({marginLeft:v.padding,width:y.width-2*v.padding,bottom:v.padding}).appendTo(t);break;case"float":c.css("left",-1*parseInt((c.width()-y.width-40)/2,10)).appendTo(o);break;default:c.css({width:y.width-2*v.padding,paddingLeft:v.padding,paddingRight:v.padding}).appendTo(o)}c.hide()},K=function(){(v.enableEscapeButton||v.enableKeyboardNav)&&s(document).on("keydown.fb",function(t){27==t.keyCode&&v.enableEscapeButton?(t.preventDefault(),s.fancybox.close()):37!=t.keyCode&&39!=t.keyCode||!v.enableKeyboardNav||"INPUT"===t.target.tagName||"TEXTAREA"===t.target.tagName||"SELECT"===t.target.tagName||(t.preventDefault(),s.fancybox[37==t.keyCode?"prev":"next"]())}),v.showNavArrows?((v.cyclic&&1<I.length||0!==x)&&r.show(),(v.cyclic&&1<I.length||x!=I.length-1)&&g.show()):(r.hide(),g.hide())},F=function(){s.support.opacity||(p.get(0).style.removeProperty("filter"),o.get(0).style.removeProperty("filter")),w.autoDimensions&&p.css("height","auto"),o.css("height","auto"),T&&T.length&&c.show(),v.showCloseButton&&d.show(),K(),v.hideOnContentClick&&p.on("click",s.fancybox.close),v.hideOnOverlayClick&&n.on("click",s.fancybox.close),s(window).on("resize.fb",s.fancybox.resize),v.centerOnScroll&&s(window).on("scroll.fb",s.fancybox.center),"iframe"==v.type&&s('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0"  scrolling="'+w.scrolling+'" src="'+v.href+'"></iframe>').appendTo(p),o.show(),A=!1,s.fancybox.center(),v.onComplete(I,x,v),Q()},Q=function(){var t;I.length-1>x&&void 0!==(t=I[x+1].href)&&t.match(O)&&((new Image).src=t),0<x&&void 0!==(t=I[x-1].href)&&t.match(O)&&((new Image).src=t)},B=function(t){var e={width:parseInt(b.width+(y.width-b.width)*t,10),height:parseInt(b.height+(y.height-b.height)*t,10),top:parseInt(b.top+(y.top-b.top)*t,10),left:parseInt(b.left+(y.left-b.left)*t,10)};void 0!==y.opacity&&(e.opacity=t<.5?.5:t),o.css(e),p.css({width:e.width-2*v.padding,height:e.height-S*t-2*v.padding})},W=function(){return[s(window).width()-2*v.margin,s(window).height()-2*v.margin,s(document).scrollLeft()+v.margin,s(document).scrollTop()+v.margin]},q=function(){var t=W(),e={},i=v.autoScale,n=2*v.padding;return-1<v.width.toString().indexOf("%")?e.width=parseInt(t[0]*parseFloat(v.width)/100,10):e.width=v.width+n,-1<v.height.toString().indexOf("%")?e.height=parseInt(t[1]*parseFloat(v.height)/100,10):e.height=v.height+n,i&&(e.width>t[0]||e.height>t[1])&&("image"==w.type||"swf"==w.type?(i=v.width/v.height,e.width>t[0]&&(e.width=t[0],e.height=parseInt((e.width-n)/i+n,10)),e.height>t[1]&&(e.height=t[1],e.width=parseInt((e.height-n)*i+n,10))):(e.width=Math.min(e.width,t[0]),e.height=Math.min(e.height,t[1]))),e.top=parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-e.height-40)),10),e.left=parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-e.width-40)),10),e},U=function(){var t=!!w.orig&&s(w.orig);return t&&t.length?{width:(t=M(t)).width+2*v.padding,height:t.height+2*v.padding,top:t.top-v.padding-20,left:t.left-v.padding-20}:(t=W(),{width:2*v.padding,height:2*v.padding,top:parseInt(t[3]+.5*t[1],10),left:parseInt(t[2]+.5*t[0],10)})};s.fn.fancybox=function(t){return s(this).length&&s(this).data("fancybox",s.extend({},t,s.metadata?s(this).metadata():{})).off("click.fb").on("click.fb",function(t){t.preventDefault(),A||(A=!0,s(this).trigger("blur"),m=[],u=0,(t=s(this).attr("rel")||"")&&""!=t&&"nofollow"!==t?(m=s("a[rel="+t+"], area[rel="+t+"]"),u=m.index(this)):m.push(this),a())}),this},s.fancybox=function(t){var e;if(!A){if(A=!0,e=void 0!==arguments[1]?arguments[1]:{},m=[],u=parseInt(e.index,10)||0,Array.isArray(t)){for(var i=0,n=t.length;i<n;i++)"object"==typeof t[i]?s(t[i]).data("fancybox",s.extend({},e,t[i])):t[i]=s({}).data("fancybox",s.extend({content:t[i]},e));m=jQuery.merge(m,t)}else"object"==typeof t?s(t).data("fancybox",s.extend({},e,t)):t=s({}).data("fancybox",s.extend({content:t},e)),m.push(t);(u>m.length||u<0)&&(u=0),a()}},s.fancybox.showActivity=function(){clearInterval(e),f.show(),e=setInterval(L,66)},s.fancybox.hideActivity=function(){f.hide()},s.fancybox.next=function(){return s.fancybox.pos(x+1)},s.fancybox.prev=function(){return s.fancybox.pos(x-1)},s.fancybox.pos=function(t){A||(t=parseInt(t),m=I,-1<t&&t<I.length?(u=t,a()):v.cyclic&&1<I.length&&(u=t>=I.length?0:I.length-1,a()))},s.fancybox.cancel=function(){A||(A=!0,s.event.trigger("fancybox-cancel"),i(),w.onCancel(m,u,w),A=!1)},s.fancybox.close=function(){var t;function e(){n.fadeOut("fast"),c.empty().hide(),o.hide(),s.event.trigger("fancybox-cleanup"),p.empty(),v.onClosed(I,x,v),I=w=[],x=u=0,v=w={},A=!1}A||o.is(":hidden")||(A=!0,v&&!1===v.onCleanup(I,x,v)?A=!1:(i(),s(d.add(r).add(g)).hide(),s(p.add(n)).off(),s(window).off("resize.fb scroll.fb"),s(document).off("keydown.fb"),p.find("iframe").attr("src",N&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank"),"inside"!==v.titlePosition&&c.empty(),o.stop(),"elastic"==v.transitionOut?(b=U(),t=o.position(),y={top:t.top,left:t.left,width:o.width(),height:o.height()},v.opacity&&(y.opacity=1),c.empty().hide(),D.prop=1,s(D).animate({prop:0},{duration:v.speedOut,easing:v.easingOut,step:B,complete:e})):o.fadeOut("none"==v.transitionOut?0:v.speedOut,e)))},s.fancybox.resize=function(){n.is(":visible")&&n.css("height",s(document).height()),s.fancybox.center(!0)},s.fancybox.center=function(){var t,e;A||(e=!0===arguments[0]?1:0,t=W(),!e&&(o.width()>t[0]||o.height()>t[1]))||o.stop().animate({top:parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-p.height()-40)-v.padding)),left:parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-p.width()-40)-v.padding))},"number"==typeof arguments[0]?arguments[0]:200)},s.fancybox.init=function(){s("#fancybox-wrap").length||(s("body").append(l=s('<div id="fancybox-tmp"></div>'),f=s('<div id="fancybox-loading"><div></div></div>'),n=s('<div id="fancybox-overlay"></div>'),o=s('<div id="fancybox-wrap"></div>')),(t=s('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(o)).append(p=s('<div id="fancybox-content"></div>'),d=s('<a id="fancybox-close"></a>'),c=s('<div id="fancybox-title"></div>'),r=s('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),g=s('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')),d.on("click",s.fancybox.close),f.on("click",s.fancybox.cancel),r.on("click",function(t){t.preventDefault(),s.fancybox.prev()}),g.on("click",function(t){t.preventDefault(),s.fancybox.next()}),s.fn.mousewheel&&o.on("mousewheel.fb",function(t,e){A?t.preventDefault():0!=s(t.target).get(0).clientHeight&&s(t.target).get(0).scrollHeight!==s(t.target).get(0).clientHeight||(t.preventDefault(),s.fancybox[0<e?"prev":"next"]())}),s.support.opacity||o.addClass("fancybox-ie"),N&&(f.addClass("fancybox-ie6"),o.addClass("fancybox-ie6"),s('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(t)))},s.fn.fancybox.defaults={padding:10,margin:40,opacity:!1,modal:!1,cyclic:!1,scrolling:"auto",width:560,height:340,autoScale:!0,autoDimensions:!0,centerOnScroll:!1,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayShow:!0,overlayOpacity:.7,overlayColor:"#777",titleShow:!0,titlePosition:"float",titleFormat:null,titleFromAlt:!1,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:!0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}},jQuery(function(t){t.fancybox.init()})})(jQuery);
(function($){
"use strict";
window.NextGEN_TikTok={
extract_id: function(url){
if(!url) return null;
url=url.trim();
var patterns=[
/tiktok\.com\/@[^\/]+\/video\/(\d+)/i,
/tiktok\.com\/v\/(\d+)/i,
/tiktok\.com\/embed\/v2\/(\d+)/i,
/tiktok\.com\/.*[?&]v=(\d+)/i,
/\/video\/(\d+)/i,
/^(\d{15,25})$/,
];
for (var i=0; i < patterns.length; i++){
var match=url.match(patterns[i]);
if(match&&match[1]){
return match[1];
}}
if(url.match(/vm\.tiktok\.com|tiktok\.com\/t\//i)){
var idMatch=url.match(/(\d{15,25})/);
if(idMatch){
return idMatch[1];
}
return null;
}
return null;
},
create_player: function(videoUrl, containerClass, videoClass){
var container=document.createElement("div");
container.className=containerClass||"ngg-tiktok-container";
var video=document.createElement("video");
video.className=videoClass||"ngg-tiktok-video";
video.controls=true;
video.autoplay=true;
video.playsInline=true;
video.muted=true;
video.loop=true;
video.preload="auto";
video.setAttribute("playsinline", "");
video.setAttribute("webkit-playsinline", "");
video.src=videoUrl;
video.addEventListener("loadedmetadata", function (){
var naturalWidth=video.videoWidth;
var naturalHeight=video.videoHeight;
if(naturalWidth&&naturalHeight){
var container=video.closest('.ngg-tiktok-container');
var displayWidth=naturalWidth;
var displayHeight=naturalHeight;
if(container){
var fancyboxContent=container.closest('#fancybox-content');
var tbWindow=container.closest('#TB_window');
var slImage=container.closest('.sl-image');
var shWrap=container.closest('#shWrap');
if(shWrap){
var wiH=window.innerHeight||0;
var dbH=document.body.clientHeight||0;
var deH=document.documentElement ? document.documentElement.clientHeight:0;
var wHeight;
if(wiH > 0){
wHeight=((wiH - dbH) > 1&&(wiH - dbH) < 30) ? dbH:wiH;
wHeight=((wHeight - deH) > 1&&(wHeight - deH) < 30) ? deH:wHeight;
}else{
wHeight=(deH > 0) ? deH:dbH;
}
if(document.getElementsByTagName("body")[0].className.match(/admin-bar/)
&& document.getElementById('wpadminbar')!==null){
wHeight=wHeight - document.getElementById('wpadminbar').offsetHeight;
}
var shHeight=wHeight - 50;
var deW=document.documentElement ? document.documentElement.clientWidth:0;
var dbW=window.innerWidth||document.body.clientWidth;
var wWidth=(deW > 1) ? deW:dbW;
if(displayHeight > shHeight){
displayWidth=displayWidth * (shHeight / displayHeight);
displayHeight=shHeight;
}
if(displayWidth > (wWidth - 16)){
displayHeight=displayHeight * ((wWidth - 16) / displayWidth);
displayWidth=wWidth - 16;
}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.style.maxWidth="none";
video.style.maxHeight="none";
video.setAttribute("width", displayWidth);
video.setAttribute("height", displayHeight);
}else if(fancyboxContent){
setTimeout(function(){
var contentRect=fancyboxContent.getBoundingClientRect();
if(contentRect.width > 10&&contentRect.height > 10){
var maxW=contentRect.width;
var maxH=contentRect.height;
if(displayWidth > maxW||displayHeight > maxH){
var ratio=displayWidth / displayHeight > maxW / maxH
? displayWidth / maxW
: displayHeight / maxH;
displayWidth=displayWidth / ratio;
displayHeight=displayHeight / ratio;
}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.setAttribute("width", displayWidth);
video.setAttribute("height", displayHeight);
}}, 50);
return;
}else if(tbWindow){
var pageWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;
var pageHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;
var x=pageWidth - 150;
var y=pageHeight - 150;
if(displayWidth > x){
displayHeight=displayHeight * (x / displayWidth);
displayWidth=x;
if(displayHeight > y){
displayWidth=displayWidth * (y / displayHeight);
displayHeight=y;
}}else if(displayHeight > y){
displayWidth=displayWidth * (y / displayHeight);
displayHeight=y;
if(displayWidth > x){
displayHeight=displayHeight * (x / displayWidth);
displayWidth=x;
}}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.setAttribute("width", displayWidth);
video.setAttribute("height", displayHeight);
}else if(slImage){
var widthRatio=0.8;
var heightRatio=0.9;
var windowWidth=window.innerWidth;
var windowHeight=window.innerHeight;
var maxWidth=windowWidth * widthRatio;
var maxHeight=windowHeight * heightRatio;
if(displayWidth > maxWidth||displayHeight > maxHeight){
var ratio=displayWidth / displayHeight > maxWidth / maxHeight
? displayWidth / maxWidth
: displayHeight / maxHeight;
displayWidth /=ratio;
displayHeight /=ratio;
}
video.style.width=displayWidth + "px";
video.style.height=displayHeight + "px";
video.style.maxWidth=maxWidth + "px";
video.style.maxHeight=maxHeight + "px";
}}
}});
video.addEventListener("canplay", function (){
video.play().catch(function (){});
});
container.appendChild(video);
return container;
},
handle_content: function(options){
var self=this;
var playUrl=options.playUrl;
var $targetContainer=$(options.container);
if(!playUrl) return null;
var tiktokContent=null;
var applyDimensions=function (el){
if(options.width){
var w=typeof options.width==="number" ? options.width + "px":options.width;
el.style.width=w;
var inner=el.querySelector("video, iframe, .ngg-tiktok-error-content");
if(inner) inner.style.width="100%";
}
if(options.height){
var h=typeof options.height==="number" ? options.height + "px":options.height;
el.style.height=h;
var inner=el.querySelector("video, iframe, .ngg-tiktok-error-content");
if(inner) inner.style.height="100%";
}};
if(playUrl){
var decodedUrl=playUrl;
try {
decodedUrl=decodeURIComponent(playUrl);
} catch (e){}
tiktokContent=self.create_player(decodedUrl, options.containerClass, options.videoClass);
if(tiktokContent){
applyDimensions(tiktokContent);
var video=tiktokContent.querySelector("video");
if(video){
video.onerror=function (){
$(tiktokContent).remove();
var errorMsg=self.create_error("Video failed to load", options.errorClass);
applyDimensions(errorMsg);
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(errorMsg);
$targetContainer.append(errorMsg);
};}
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(tiktokContent);
$targetContainer.append(tiktokContent);
}}else{
var errorMsg=self.create_error("Video not available", options.errorClass);
applyDimensions(errorMsg);
if(typeof options.onBeforeAppend==="function") options.onBeforeAppend(errorMsg);
$targetContainer.append(errorMsg);
tiktokContent=errorMsg;
}
return tiktokContent;
},
create_error: function(message, containerClass){
var container=document.createElement("div");
container.className=containerClass||"ngg-tiktok-error";
container.innerHTML =
'<div class="ngg-tiktok-error-content">' +
'<span class="ngg-tiktok-error-icon">&#9888;</span>' +
'<span class="ngg-tiktok-error-text">' +
(message||"Video failed to load") +
"</span>" +
"</div>";
return container;
}};})(jQuery);
jQuery(function($){
var nextgen_fancybox_init=function(){
var selector=nextgen_lightbox_filter_selector($, $(".ngg-fancybox"));
window.addEventListener("click",
e=> {
let $target=$(e.target);
var $anchor=$target.is('a') ? $target:$target.parents('a').first();
if(!$anchor.is(selector)&&!$target.is(selector)){
return;
}
if($anchor.attr('data-dribbble-direct')==='true'){
return;
}
var imageId=$anchor.attr('data-image-id');
var isTikTokImage=false;
var tiktokData=null;
if(imageId&&window.ngg_tiktok_images&&window.ngg_tiktok_images[imageId]){
isTikTokImage=true;
tiktokData=window.ngg_tiktok_images[imageId];
}else if($anchor.attr('data-tiktok-play-url')||$anchor.attr('data-tiktok-share-url')){
isTikTokImage=true;
tiktokData={
playUrl: $anchor.attr('data-tiktok-play-url')||'',
shareUrl: $anchor.attr('data-tiktok-share-url')||'',
embedUrl: $anchor.attr('data-tiktok-embed-url')||''
};}
if(isTikTokImage&&tiktokData){
var $galleryContainer=$anchor.closest('[data-gallery-id]');
var galleryId=null;
if($galleryContainer.length){
galleryId=$galleryContainer.attr('data-gallery-id')||$galleryContainer.data('gallery-id');
}else{
$galleryContainer=$anchor.closest('.ngg-galleryoverview, .ngg-imagebrowser, .ngg-slideshow');
if($galleryContainer.length){
galleryId=$galleryContainer.attr('data-gallery-id') ||
$galleryContainer.data('gallery-id') ||
$galleryContainer.attr('data-nextgen-gallery-id') ||
$galleryContainer.data('nextgen-gallery-id');
}}
if(galleryId){
galleryId=String(galleryId);
}
var tiktokSettings={};
if(window.NggTikTokVideo&&typeof window.NggTikTokVideo.getTikTokSettings==='function'){
tiktokSettings=window.NggTikTokVideo.getTikTokSettings(galleryId);
}else{
if(window.ngg_tiktok_gallery_settings){
if(galleryId&&window.ngg_tiktok_gallery_settings['gallery_' + galleryId]){
tiktokSettings=window.ngg_tiktok_gallery_settings['gallery_' + galleryId];
}else if(window.ngg_tiktok_gallery_settings.global){
tiktokSettings=window.ngg_tiktok_gallery_settings.global;
}}
}
var linkSetting=String(tiktokSettings.link||'0');
if(linkSetting==='1'||linkSetting==='2'){
return;
}}
e.preventDefault();
$(selector).fancybox({
titlePosition: 'inside',
onComplete: function(selectedArray, selectedIndex, selectedOpts){
$("#fancybox-wrap").css("z-index", 10000);
var element=selectedArray[selectedIndex];
var $element=$(element);
var playUrl=$element.data("tiktok-play-url");
var shareUrl=$element.data("tiktok-share-url");
var videoUrl=$element.attr("data-video-url");
if(playUrl||shareUrl){
$("#fancybox-wrap").addClass("ngg-tiktok-mode");
NextGEN_TikTok.handle_content({
playUrl: playUrl,
shareUrl: shareUrl,
container: $("#fancybox-content"),
onBeforeAppend: function (){
$("#fancybox-img").hide();
},
});
}
else if(videoUrl&&window.NextGEN_Video&&window.NextGEN_Video.detect_platform(videoUrl)){
$("#fancybox-wrap").addClass("ngg-video-mode");
$("#fancybox-content .ngg-video-container, #fancybox-content .ngg-video-error").remove();
var galleryId=null;
var $galleryContainer=$element.closest('[data-gallery-id]');
if($galleryContainer.length){
galleryId=$galleryContainer.attr('data-gallery-id')||$galleryContainer.data('gallery-id');
}
var videoSettings={};
if(window.ngg_video_gallery_settings){
if(galleryId&&window.ngg_video_gallery_settings['gallery_' + galleryId]){
videoSettings=window.ngg_video_gallery_settings['gallery_' + galleryId];
}}
window.NextGEN_Video.handle_content({
videoUrl: videoUrl,
container: $("#fancybox-content")[0],
settings: videoSettings,
containerClass: "ngg-video-container",
videoClass: "ngg-video-player",
errorClass: "ngg-video-error",
onBeforeAppend: function (){
$("#fancybox-img").hide();
},
});
}},
onCleanup: function (){
$("#fancybox-wrap").removeClass("ngg-tiktok-mode ngg-video-mode");
$("#fancybox-content .ngg-tiktok-container, #fancybox-content .ngg-tiktok-error").remove();
$("#fancybox-content .ngg-video-container, #fancybox-content .ngg-video-error").remove();
},
});
$target.trigger('click.fb');
e.stopPropagation();
},
true
)
};
$(window).on('refreshed', nextgen_fancybox_init);
nextgen_fancybox_init();
});
jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/wts-gmap.default",function(e){var t=e.find(".eae-markers");0!=t.length&&(map=function(a){var n=(t=e.find(".eae-markers")).data("zoom"),i=a.find(".marker"),r=t.data("style"),o=(t.data("scroll"),{zoom:n,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:r}),s=new google.maps.Map(a[0],o);return s.markers=[],i.each(function(){!function(a,n){var i=t.data("animate");t.data("show-info-window-onload");t=e.find(".eae-markers");var r=new google.maps.LatLng(a.attr("data-lat"),a.attr("data-lng"));if(icon_img=a.attr("data-icon"),""!=icon_img)var o={url:a.attr("data-icon"),scaledSize:new google.maps.Size(a.attr("data-icon-size"),a.attr("data-icon-size"))};var s=new google.maps.Marker({position:r,map:n,icon:o,animation:google.maps.Animation.DROP});"animate-yes"==i&&"yes"!=a.data("info-window")&&s.setAnimation(google.maps.Animation.BOUNCE);"animate-yes"==i&&google.maps.event.addListener(s,"click",function(){s.setAnimation(null)});if(n.markers.push(s),a.html()){var l=new google.maps.InfoWindow({content:a.html()});"yes"==a.data("info-window")&&l.open(n,s),google.maps.event.addListener(s,"click",function(){l.open(n,s)})}"animate-yes"==i&&google.maps.event.addListener(l,"closeclick",function(){s.setAnimation(google.maps.Animation.BOUNCE)})}(jQuery(this),s)}),function(e,t){var a=new google.maps.LatLngBounds;jQuery.each(e.markers,function(e,t){var n=new google.maps.LatLng(t.position.lat(),t.position.lng());a.extend(n)}),1==e.markers.length?(e.setCenter(a.getCenter()),e.setZoom(t)):e.fitBounds(a)}(s,n),s}(e.find(".eae-markers")))}),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){var t,a,n,i,r,o,s,l=[],d=[],c=e.data("id"),p=e.data("eae-slider"),f=jQuery(".elementor-element-"+c+"[data-eae-slider='"+p+"']").children(".aepro-section-bs").children(".aepro-section-bs-inner");f&&f.data("eae-bg-slider")&&(slider_images=f.data("eae-bg-slider"),t=f.data("eae-bg-slider-transition"),a=f.data("eae-bg-slider-animation"),i=("yes"==(n=f.data("eae-bg-custom-overlay"))||f.data("eae-bg-slider-overlay"),eae_editor.plugin_url+"assets/lib/vegas/overlays/"+f.data("eae-bg-slider-overlay")),r=f.data("eae-bg-slider-cover"),o=f.data("eae-bs-slider-delay"),s=f.data("eae-bs-slider-timer"),"undefined"!=typeof slider_images&&(l=slider_images.split(","),jQuery.each(l,function(e,t){var a=[];a.src=t,d.push(a)}),f.vegas({slides:d,transition:t,animation:a,overlay:i,cover:r,delay:o,timer:s,init:function(){"yes"==n&&f.children(".vegas-overlay").css("background-image","")}})))})});var isEditMode=!1,popupInstance=[];!function(e){e(window).on("elementor/frontend/init",function(){var t=function(e){e.find(".e-con").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),e.find(".elementor-section").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),e.find(".elementor-column").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),e.find(".elementor-widget").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})},a=function(e,t){function a(e){$icons=t(document).find(e).find(".eae-ic-icon-wrap"),window.innerWidth<767?$icons.each(function(e,a){t(a).css("top",t(a).height()/2+8+"px"),t(a).next(".eae-info-circle-item__content-wrap").css("padding-top",t(a).height()/2+8+"px")}):$icons.each(function(e,a){t(a).css("margin-left",-.5*t(a).outerWidth()),t(a).css("margin-top",-.5*t(a).outerHeight()),$a=function(e){return e=(e-90)*Math.PI/180,{x:50+45*Math.cos(e),y:50+45*Math.sin(e)}}($angle),$b=360/$icons.length,t(a).css("left",$a.x+"%"),t(a).css("top",$a.y+"%"),$angle+=$b})}$wrap_class=".elementor-element-"+e.data("id"),$angle=0,a(e);var n=null;function i(){"yes"==e.find(".eae-info-circle").data("autoplay")&&(n=setInterval(r,$autoplayDuration))}function r(){e.find(".eae-active").next().length>0?e.find(".eae-active").next().addClass("eae-active").siblings().removeClass("eae-active"):e.find(".eae-info-circle-item").eq(0).addClass("eae-active").siblings().removeClass("eae-active")}$autoplayDuration=e.find(".eae-info-circle").data("delay"),i(),e.find(".eae-ic-icon-wrap").hover(function(){clearInterval(n)},function(){i()}),e.find(".eae-info-circle-item").length>0&&t(e.find(".eae-info-circle-item")[0]).addClass("eae-active"),e.find(".eae-ic-icon-wrap").on("click",function(){e.find(".eae-info-circle-item").removeClass("eae-active"),t(this).parent().addClass("eae-active")}),e.hasClass("eae-mouseenter-yes")&&e.find(".eae-ic-icon-wrap").on("mouseenter",function(){e.find(".eae-info-circle-item").removeClass("eae-active"),t(this).parent().addClass("eae-active")}),window.addEventListener("resize",a.bind(this,$wrap_class))},n=function(e,t){const a=".elementor-element-"+e.data("id"),n=document.querySelector(a),i=n.querySelector(".eae-timeline"),r=i.dataset.topOffset,o=n.querySelectorAll(".eae-timeline-item"),s=n.querySelectorAll(".eae-tl-icon-wrapper"),l=n.querySelector(".eae-timline-progress-bar");n.querySelector(".eae-pb-inner-line"),s[s.length-1].getBoundingClientRect().bottom;function d(){const e=o[0].getBoundingClientRect(),t=(o[o.length-1].getBoundingClientRect(),s[0].getBoundingClientRect().bottom-e.top),a=s[0].getBoundingClientRect(),n=s[0].offsetLeft+s[0].offsetWidth/2,i=s[s.length-1].getBoundingClientRect();l.style.height=i.top-a.bottom+"px",l.style.top=t+"px",l.style.left=n+"px",l.style.display="block"}function c(){const e=n.querySelector(".eae-pb-inner-line"),t=Math.abs(window.scrollY+parseFloat(r)),a=i.getBoundingClientRect().top+window.scrollY;s[s.length-1].getBoundingClientRect().bottom,window.scrollY;t>a?(e.style.height=t-a+"px",o.forEach((e,a)=>{let n=e.getBoundingClientRect().top+window.scrollY;t>n?e.classList.add("eae-tl-item-focused"):e.classList.remove("eae-tl-item-focused")})):o[0].classList.remove("eae-tl-item-focused")}d(),c(),window.addEventListener("resize",()=>{d()}),document.addEventListener("scroll",()=>{window.requestAnimationFrame?window.requestAnimationFrame(()=>{c()}):c()})};function i(e,t,a){var n=new Date;n.setTime(n.getTime()+60*a*60*1e3);var i="expires="+n.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}function r(e){for(var t=e+"=",a=decodeURIComponent(document.cookie).split(";"),n=0;n<a.length;n++){for(var i=a[n];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return""}var o=function(e,t){$is_rtl=jQuery("body").hasClass("rtl"),$wrapper=e.find(".eae-progress-bar");$wrapper.attr("data-skill");var a=$wrapper.attr("data-value"),n=$wrapper.attr("data-skin"),i=($wrapper.find(".eae-pb-bar-skill"),$wrapper.find(".eae-pb-bar-value")),r=$wrapper.find(".eae-pb-bar"),o=$wrapper.find(".eae-pb-bar-inner");"skin1"===n&&t(o).attr("style","width:"+a+"%"),"skin2"===n&&t(o).attr("style","width:"+a+"%"),"skin3"===n&&(t(i).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?t(i).attr("style","right :"+a+"%"):t(i).attr("style","left :"+a+"%"),t(o).attr("style","width :"+a+"%")),"skin4"===n&&(t(i).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?t(i).attr("style","right :"+a+"%"):t(i).attr("style","left :"+a+"%"),t(o).attr("style","width :"+a+"%"),t(r).addClass("eae-pb-bar--no-overflow")),"skin5"===n&&(t(i).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?t(i).attr("style","right :"+a+"%"):t(i).attr("style","left :"+a+"%"),t(o).attr("style","width :"+a+"%")),$wrapper.each(function(e,t){let a=window.scrollY;const n=new IntersectionObserver(e=>{e.forEach(e=>{const t=window.scrollY;if(e.isIntersecting){let t=e.target.querySelector(".eae-pb-bar-value"),a=e.target.querySelector(".eae-pb-bar-skill"),n=e.target.querySelector(".eae-pb-bar-inner");null==t||t.classList.contains("js-animated")||t.classList.add("js-animated"),null==a||a.classList.contains("js-animated")||a.classList.add("js-animated"),null==n||n.classList.contains("js-animated")||n.classList.add("js-animated")}else e.isIntersecting||e.target.classList.remove("animate");a=t})},{root:null,rootMargin:"0px 0px -100px 0px",threshold:0});n.observe(t)})},s=function(e,t){var a=e.find(".eae-content-switcher-wrapper"),n=(e.data("id"),a.find(".eae-content-switch-button"));n.each(function(e,i){t(this).on("click",function(e){e.preventDefault();let i=t(this).find(".eae-content-switch-label");if(!t(this).hasClass("active")){t(n).removeClass("active");let e=t(i).attr("id");t(this).addClass("active");var r=t(a).find(".eae-cs-content-section");t(r).removeClass("active");let o=t(a).find(".eae-content-section-"+e);t(o).addClass("active"),window.dispatchEvent(new Event("resize"))}})})},l=function(e,t){let a=e.find(".eae-content-switcher-wrapper"),n=(e.data("id"),a.find(".eae-cs-switch-label")),i=a.find(".eae-content-switch-label.primary-label");const r=t(i).attr("item_id");let o=a.find(".eae-content-switch-label.secondary-label");const s=t(o).attr("item_id");let l=a.find(".eae-cs-content-section.eae-content-section-"+r),d=a.find(".eae-cs-content-section.eae-content-section-"+s);function c(e){e?(o.addClass("active"),d.addClass("active"),i.removeClass("active"),l.removeClass("active")):(i.addClass("active"),l.addClass("active"),o.removeClass("active"),d.removeClass("active")),a.find("input.eae-content-toggle-switch").prop("checked",!!e),window.dispatchEvent(new Event("resize"))}t(n).on("click",function(e){e.preventDefault();c(!t(this).find("input.eae-content-toggle-switch").is(":checked"))}),i.on("click",function(e){e.preventDefault(),c(!1)}),o.on("click",function(e){e.preventDefault(),c(!0)})};e.fn.EAEHoverDirection=function(t){var a=e.extend({inaccuracy:30,speed:200},t);this.find(".overlay").css({top:-9999999}),this.mouseenter(function(t){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=t.pageX-parentOffset.left,relY=t.pageY-parentOffset.top,overlay.css({top:0,left:0,width:container.width(),height:container.height()}),relX>container.width()-a.inaccuracy?overlay.css({top:0,left:container.width()}):relX<a.inaccuracy?overlay.css({top:0,left:-container.width()}):relY>container.height()-a.inaccuracy?overlay.css({top:container.width(),left:0}):relY<a.inaccuracy&&overlay.css({top:-container.width(),left:0}),overlay.animate({top:0,left:0},a.speed)}),this.mouseleave(function(t){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=t.pageX-parentOffset.left,relY=t.pageY-parentOffset.top,relX<=0&&overlay.animate({top:0,left:-container.width()},a.speed),relX>=container.width()&&overlay.animate({top:0,left:container.width()},a.speed),relY<=0&&overlay.animate({left:0,top:-container.height()},a.speed),relY>=container.height()&&overlay.animate({left:0,top:container.height()},a.speed)})};let d=function(e,t){const a=e.find(".eae-chart-outer-container"),n=".elementor-element-"+e.data("id"),i=document.querySelector(n+" .eae-chart-outer-container"),r=e.find("#eae-chart-canvas");let o=a.data("settings");e.find(".eae-chart-outer-container");new IntersectionObserver((e,t)=>{e.forEach(e=>{const a=e.target;e.isIntersecting&&(a.classList.contains("trigger")||(a.classList.add("trigger"),new Chart(r,o)),t.unobserve(a))})},{root:null,threshold:.3}).observe(i)};const c=function(e,t,a=null,n){let i={},r=[],o=".elementor-element-"+t+" .eae-swiper-container",s=elementorFrontend.config.responsive.activeBreakpoints;const l={slidesPerView:"slidesPerView",slidesPerGroup:"slidesPerGroup",spaceBetween:"spaceBetween"},d=".elementor-element-"+t;if(null!==a){t=a.data("id");o=d+' .eae-swiper-container[data-eae-slider-id="'+a.find(".swiper-container").data("eae-slider-id")+'"]'}if("yes"===n.data("show-thumbnail")){i=function(e,t,a,n){let i={};const r={};if(e.hasOwnProperty("mobile"))for(const e in t)a.hasOwnProperty(e)&&(i[e]=a[e].mobile);return n&&Object.keys(n).map(e=>{const t=parseInt(n[e]);"desktop"===e&&(e="default");const i=parseInt(a.spaceBetween[e]),o=parseInt(a.slidesPerView[e]);r[t-1]={spaceBetween:i,slidesPerView:o}}),i.breakpoints=r,i.direction="horizontal",i.watchSlidesVisibility=!0,i.watchSlidesProgress=!0,i.freeMode=!0,i.slideToClickedSlide=!0,i}(s,l,n.data("thumb-settings"),e.breakpoints_value),i.el=jQuery(".elementor-element-"+t+" .eae-thumb-container")}if(void 0===e)return!1;if(r={direction:e.direction,speed:e.speed,autoHeight:e.autoHeight,autoplay:e.autoplay,effect:e.effect,loop:e.loop,zoom:e.zoom,wrapperClass:"eae-swiper-wrapper",slideClass:"eae-swiper-slide",observer:!0,observeParents:!0},s.hasOwnProperty("mobile"))for(const t in l)e.hasOwnProperty(t)&&(r[t]=e[t].mobile);e.loop&&e.hasOwnProperty("slidersPerView")&&document.querySelectorAll(d+" .eae-swiper-slide").length<e.slidesPerView.tablet&&(r.loop=!1);const c={};if(e.hasOwnProperty("breakpoints_value")&&Object.keys(e.breakpoints_value).map(t=>{const a=parseInt(e.breakpoints_value[t]);"desktop"===t&&(t="default");const n=parseInt(e.spaceBetween[t]),i=parseInt(e.slidesPerView[t]),r=parseInt(e.slidesPerGroup[t]);c[a-1]={spaceBetween:n,slidesPerView:i,slidesPerGroup:r}}),r.breakpoints=c,r.keyboard="yes"===e.keyboard&&{enabled:!0,onlyInViewport:!0},"yes"===e.navigation&&(r.navigation={nextEl:d+" .eae-swiper-button-next",prevEl:d+" .eae-swiper-button-prev"}),""!==e.ptype&&(r.pagination={el:d+" .eae-swiper-pagination",type:e.ptype,clickable:e.clickable}),"yes"==e.scrollbar&&(r.scrollbar={el:d+" .eae-swiper-scrollbar",hide:!0}),r.thumbs={swiper:i},"undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(jQuery(o),r).then(a=>{let n=a;p(n);const i=e.pause_on_hover;"yes"==i&&e.autoplay&&f(n,i,t)})}else{const a=new Swiper(".elementor-element-"+t+" .eae-swiper-container",r);p(a);const n=e.pause_on_hover;"yes"==n&&f(a,n,t)}jQuery(".elementor-element-"+t+" .eae-swiper-container").css("visibility","visible")},p=function(e){e.length>0?e.forEach(function(t){t.on("slideChangeTransitionStart",function(){t.$wrapperEl.find(".ae-featured-bg-yes").each(function(){if("none"==jQuery(this).css("background-image")){let e=jQuery(this).attr("data-ae-bg");jQuery(this).css("background-image","url("+e+")")}}),t.$wrapperEl.find(".ae-bg-color-yes").each(function(){let e=jQuery(this).attr("data-ae-bg-color");"rgba(0, 0, 0, 0)"===jQuery(this).css("background-color")&&jQuery(this).css("background-color",e)}),t.$wrapperEl.find(".swiper-slide-duplicate").find(".elementor-invisible").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),t.$wrapperEl.find(".swiper-slide").find(".animated").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})}),t.on("click",function(){const t=e.clickedSlide;if(void 0===t)return;const a=t.querySelector(".ae-link-yes");if(null!==a&&0!=a.length){void 0!==jQuery(a).data("ae-url")&&(jQuery(a).data("ae-url")&&jQuery(a).hasClass("ae-new-window-yes")?window.open(jQuery(a).data("ae-url")):location.href=jQuery(a).data("ae-url"))}}),t.init()}):(e.on("slideChangeTransitionStart",function(){e.$wrapperEl.find(".ae-featured-bg-yes").each(function(){if("none"==jQuery(this).css("background-image")){let e=jQuery(this).attr("data-ae-bg");jQuery(this).css("background-image","url("+e+")")}}),e.$wrapperEl.find(".ae-bg-color-yes").each(function(){let e=jQuery(this).attr("data-ae-bg-color");"rgba(0, 0, 0, 0)"===jQuery(this).css("background-color")&&jQuery(this).css("background-color",e)}),e.$wrapperEl.find(".swiper-slide-duplicate").find(".elementor-invisible").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),e.$wrapperEl.find(".swiper-slide").find(".animated").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})}),e.on("click",function(){const t=e.clickedSlide;if(void 0===t)return;const a=t.querySelector(".ae-link-yes");if(null!==a&&0!=a.length){void 0!==jQuery(a).data("ae-url")&&(jQuery(a).data("ae-url")&&jQuery(a).hasClass("ae-new-window-yes")?window.open(jQuery(a).data("ae-url")):location.href=jQuery(a).data("ae-url"))}}),e.init())},f=function(e,t,a){jQuery(".elementor-element-"+a+" .eae-swiper-container").hover(function(){e.autoplay.stop()},function(){e.autoplay.start()})};var u,m=function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return e.replace(/[&<>"']/g,function(e){return t[e]})},g=elementorModules.frontend.handlers.Base;u=g.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),a=t.querySelector(".wts-eae-coupon-code-wrapper");return{eid:e,element:t,wrapper:a}},onInit:function(){const{settings:t}=this.getDefaultSettings(),{wrapper:a}=this.getDefaultElements(),{element:n}=this.getDefaultElements();var i=n.querySelector(".eae-cc-button"),r=n.querySelector(".eae-code");if(n.querySelectorAll(".wts-eae-coupon-code-wrapper").forEach(e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),a=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&a.setDirection(-1)}}),null!=i&&i.addEventListener("click",function(){const e=r.getAttribute("data-code-value"),a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select(),document.execCommand ("copy"),document.body.removeChild(a);const n=i.innerHTML;let o;"scratch"==t.coupon_type||"peel"==t.coupon_type||"slide"==t.coupon_type?i.innerText=t.peel_after_copy_button:i.innerText=t.after_copy_button,o="standard"==t.coupon_type?t.sta_speed:t.peel_speed,setTimeout(function(){i.innerHTML=n},o)}),"peel"==t.coupon_type&&""!=t.dynamic_coupon){var o=new Peel("#fade-out",{corner:Peel.Corners.TOP_RIGHT});o.setFadeThreshold(.9),o.handleDrag(function(e,t,a){this.setPeelPosition(t,a),1===o.getAmountClipped()&&o.removeEvents()}),o.setPeelPosition(440,100)}if("pop"==t.sta_layout&&""!=t.dynamic_coupon){const x=a.querySelector(".eae-coupon-popup-link"),S=n.getAttribute("data-id");"svg"==t.pop_icon.library?($close_btn_html="",$close_btn_html='<svg class="eae-close" style="-webkit-mask-image: url('+m(t.pop_icon.value.url)+"); mask-image: url("+m(t.pop_icon.value.url)+'); "></svg>'):$close_btn_html='<i class="eae-close '+m(t.pop_icon.value)+'"> </i>',e(x).eaePopup({type:"inline",midClick:!0,mainClass:"eae-coupon-popup eae-popup  eae-cc-"+S,closeMarkup:$close_btn_html,closeBtnInside:"yes"==t.btn_in_out,callbacks:{beforeOpen:function(){""!=t.effect&&(this.st.mainClass=" eae-coupon-popup eae-popup  eae-cc-"+S+" mfp-"+t.effect)},open:function(){var e=x.getAttribute("data-id");const a=document.querySelector(".eae-coupon-popup-"+e);var n=a.querySelector(".eae-cc-button"),i=a.querySelector(".eae-code");const r=n.innerText;n.addEventListener("click",function(){const e=i.getAttribute("data-code-value"),o=document.createElement("textarea");o.value=e,a.appendChild(o),o.select(),document.execCommand ("copy"),a.removeChild(o),n.innerText=t.after_copy_button,setTimeout(function(){n.innerText=r},t.sta_speed)})}}}),"yes"==t.preview_modal&&elementorFrontend.isEditMode()&&x.click()}if("slide"==t.coupon_type&&""!=t.dynamic_coupon){var s=a.querySelector(".eae-slide-fr");if("yes"==t.preview_modal&&elementorFrontend.isEditMode())s.style.display="none";else{var l=0,d=0,c=0;function p(e){c=e.clientX-l,e.clientY-d,c>2||c<t.Peel_scratch_width||(s.style.left=c+"px")}s.addEventListener("mousedown",function(e){e.preventDefault(),l=e.clientX-s.offsetLeft,d=e.clientY-s.offsetTop,window.addEventListener("mousemove",p,!1)},!1),window.addEventListener("mouseup",function(){window.removeEventListener("mousemove",p,!1)},!1);const T=s;let E;T.addEventListener("touchstart",e=>{const t=e.touches[0];E=t.clientX-T.getBoundingClientRect().left,T.style.cursor="grabbing"}),T.addEventListener("touchmove",e=>{if(void 0===E)return;const a=e.touches[0].clientX-E;a>4||a<t.Peel_scratch_width||(T.style.left=a+"px")}),T.addEventListener("touchend",()=>{E=void 0,T.style.cursor="grab"})}}if("scratch"===t.coupon_type&&""!=t.dynamic_coupon)if("yes"==t.preview_modal&&elementorFrontend.isEditMode())a.querySelector("#eae-scratch-canvas").style.display="none";else{var f,u;canvas=a.querySelector("#eae-scratch-canvas");var g=canvas.width,h=canvas.height,v=canvas.getContext("2d"),w=new Image,y=new Image;if(null==t.item_bg_image&&null==t.item_bg_color&&null==t.item_bg_color_b&&(w.src=eae.plugin_url+"assets/img/coupon/scratch_img.png",w.onload=function(){v.drawImage(w,0,0,g,h)}),null!=t.item_bg_image)w.src=t.item_bg_image.url,w.onload=function(){v.drawImage(w,0,0,g,h)};else if(null==t.item_bg_color_b&&"classic"==t.item_bg_background&&null==t.item_bg_image){if(null!=t.item_bg_color){let D=v.createLinearGradient(0,0,135,135);D.addColorStop(0,t.item_bg_color),v.fillStyle=D,v.fillRect(0,0,g,h)}}else if(null!=t.item_bg_color_b&&null!=t.item_bg_color&&"gradient"==t.item_bg_background&&null==t.item_bg_image){let L=v.createLinearGradient(0,0,t.item_bg_color_stop.size,t.item_bg_color_b_stop.size);L.addColorStop(0,t.item_bg_color),L.addColorStop(1,t.item_bg_color_b),v.fillStyle=L,v.fillRect(0,0,g,h)}function b(e,t){var a=0,n=0;if(void 0!==t.offsetParent)do{a+=t.offsetLeft,n+=t.offsetTop}while(t=t.offsetParent);return{x:(e.pageX||e.touches[0].clientX)-a,y:(e.pageY||e.touches[0].clientY)-n}}function _(e){f=!0,u=b(e,canvas)}function k(e){if(f){e.preventDefault();for(var t,n,i,r,o,s=b(e,canvas),l=(i=u,r=s,Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2))),d=function(e,t){return Math.atan2(t.x-e.x,t.y-e.y)}(u,s),c=0;c<l;c++)t=u.x+Math.sin(d)*c-25,n=u.y+Math.cos(d)*c-25,v.globalCompositeOperation="destination-out",v.drawImage(y,t,n);u=s,o=function(e){(!e||e<1)&&(e=1);for(var t=v.getImageData(0,0,g,h).data,a=t.length,n=a/e,i=0,r=i=0;r<a;r+=e)0===parseInt(t[r])&&i++;return Math.round(i/n*100)}(32),(o=o||0)>40&&(a.querySelector(".eae-back-wrapper").style.zIndex="1",a.querySelector(".eae-coupon-canvas").remove())}}function C(e){f=!1}y.src=eae.plugin_url+"assets/img/coupon/brush.png",canvas.addEventListener("mousedown",_,!1),canvas.addEventListener("touchstart",_,!1),canvas.addEventListener("mousemove",k,!1),canvas.addEventListener("touchmove",k,!1),canvas.addEventListener("mouseup",C,!1),canvas.addEventListener("touchend",C,!1)}},onElementChange:function(e){const{wrapper:t}=this.getDefaultElements(),{settings:a}=this.getDefaultSettings();if((""!=a.dynamic_coupon&&"dynamic"==a.source||"static"==a.source)&&"scratch"===a.coupon_type)var n=t.querySelector("#eae-scratch-canvas");if("item_bg_background"==e||"item_bg_color"==e||"item_bg_color_b"==e||"item_bg_color_stop"==e||"item_bg_color_b_stop"==e){var i=n.width,r=n.height,o=n.getContext("2d");if(null==a.item_bg_color_b&&"classic"==a.item_bg_background&&(o.fillStyle=a.item_bg_color,o.fillRect(0,0,i,r)),null!=a.item_bg_color_b&&"gradient"==a.item_bg_background){let e=o.createLinearGradient(0,0,a.item_bg_color_stop.size,a.item_bg_color_b_stop.size);e.addColorStop(0,a.item_bg_color),e.addColorStop(1,a.item_bg_color_b),o.fillStyle=e,o.fillRect(0,0,i,r)}}}});var h;g=elementorModules.frontend.handlers.Base;h=g.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),a=t.querySelector(".eae-animated-link-wrapper");return{eid:e,element:t,wrapper:a}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:a}=this.getDefaultElements();a.querySelectorAll(".eae-lottie-animation").forEach(e=>{let t=JSON.parse(e.getAttribute("data-lottie-settings")),a=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});!0===t.reverse&&a.setDirection(-1)})},onElementChange:function(e){}});var v;g=elementorModules.frontend.handlers.Base;v=g.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),a=t.querySelector(".eae-dropbar-wrapper");return{eid:e,element:t,wrapper:a}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:a}=this.getDefaultElements(),n=t.querySelector(".eae-drop-content");if("hover"===e.content_mode){let a;t.addEventListener("mouseenter",()=>{clearTimeout(a),t.classList.add("eae-animation"),a=setTimeout(()=>{t.classList.add("eae-active")},e.show_delay.size)}),t.addEventListener("mouseleave",()=>{e.caption_animation_out||t.classList.remove("eae-animation"),e.hide_delay.size?a=setTimeout(()=>{t.classList.remove("eae-active")},e.hide_delay.size):t.classList.remove("eae-active")})}"click"===e.content_mode&&t.addEventListener("click",()=>{t.classList.toggle("eae-active"),t.classList.contains("eae-active")?t.classList.add("eae-animation"):e.caption_animation_out||t.classList.remove("eae-animation")}),function(t,a,n){const i=t.parentElement.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.parentElement,s=window.innerWidth,l={"bottom-left":()=>({top:e.off_set.size?`${o.offsetHeight+e.off_set.size}`:"unset",left:0}),"bottom-center":()=>({top:e.off_set.size?`${o.offsetHeight+e.off_set.size}`:"unset",left:(i.width-r.width)/2}),"bottom-right":()=>({top:e.off_set.size?`${o.offsetHeight+e.off_set.size}`:"unset",left:i.width-r.width}),"top-left":()=>({top:-(r.height+e.off_set.size),left:0}),"top-center":()=>({top:-(r.height+e.off_set.size),left:(i.width-r.width)/2}),"top-right":()=>({top:-(r.height+e.off_set.size),left:i.width-r.width}),"left-top":()=>({top:0,left:-(r.width+e.off_set.size)}),"left-center":()=>({top:(i.height-r.height)/2,left:-(r.width+e.off_set.size)}),"left-bottom":()=>({top:i.height-r.height,left:-(r.width+e.off_set.size)}),"right-top":()=>({top:0,left:i.width+e.off_set.size}),"right-center":()=>({top:(i.height-r.height)/2,left:i.width+e.off_set.size}),"right-bottom":()=>({top:i.height-r.height,left:i.width+e.off_set.size})};if(!l[a])return void console.error("Invalid position provided");let{top:d,left:c}=l[a]();d="string"==typeof d?parseFloat(d):d,c="string"==typeof c?parseFloat(c):c;const p=r.width,f=i.left+c,u=f+p;f<0?c=-i.left:u>s&&(c-=u-s),t.style.top=`${d}px`,t.style.left=`${c}px`;const m={"slide-left":()=>{t.style.clipPath="inset(0 100% 0 0)"},"slide-top":()=>{t.style.clipPath="inset(0 0 100% 0)"},"slide-bottom":()=>{t.style.clipPath="inset(100% 0 0 0)"},"slide-right":()=>{t.style.clipPath="inset(0 0 0 100%)"},"animation-fade":()=>{t.style.opacity="0"}};if(m[n]){if(m[n](),o){const a=e=>{const a={"slide-left":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(0 100% 0 0)","slide-top":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(0 0 100% 0)","slide-bottom":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(100% 0 0 0)","slide-right":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(0 0 0 100%)","animation-fade":()=>t.style.opacity=e?"1":"0"};a[n]&&a[n]()};let i,r=!1;"hover"===e.content_mode?(o.addEventListener("mouseenter",()=>{clearTimeout(i),animationTimeout=setTimeout(()=>{a(!0)},e.show_delay.size)}),o.addEventListener("mouseleave",()=>{i=setTimeout(()=>{a(!1)},e.hide_delay.size)})):o.addEventListener("click",()=>{r=!r,a(r)})}}else console.error("Invalid animation type provided")}(n,e.content_position,e.content_animation);var i=t.querySelector(".eae-lottie-animation");if(null!=i){let e=JSON.parse(i.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:i,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/wts-ab-image.default",function(e,t){e.find(".eae-img-comp-container").imagesLoaded().done(function(){ab_style=e.find(".eae-img-comp-container").data("ab-style"),slider_pos=e.find(".eae-img-comp-container").data("slider-pos"),"horizontal"===ab_style?(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-right-width")),function(e){var t,a;function n(t){var n,i,r,o=0;function s(e){e.preventDefault(),o=1,window.addEventListener("mousemove",d),n.addEventListener("touchmove",c)}function l(){o=0}function d(e){var t;if(0==o)return!1;(t=f(e))<0&&(t=0),t>i&&(t=i),u(t)}function c(e){var t;if(0==o)return!1;(t=p(e))<0&&(t=0),t>i&&(t=i),u(t)}function p(e){var a;return a=t.getBoundingClientRect(),e.changedTouches[0].clientX-a.left}function f(e){var a;return e=e||window.event,a=t.getBoundingClientRect(),e.pageX-a.left}function u(e){t.style.width=e+"px",n.style.left=t.offsetWidth-n.offsetWidth/2-separator_width/2+"px"}i=t.offsetWidth,r=t.offsetHeight,t.style.width=a+"px",(n=(n=e.find(".eae-img-comp-slider"))[0]).style.top=r/2-n.offsetHeight/2+"px",n.style.left=a-n.offsetWidth/2-separator_width/2+"px",e.hasClass("elementor-element-edit-mode")||(n.addEventListener("mousedown",s),window.addEventListener("mouseup",l),n.addEventListener("touchstart",s),window.addEventListener("touchstop",l))}t=e.find(".eae-img-comp-overlay"),a=(a=t.width())*slider_pos/100,n(t[0])}(e)):(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-bottom-width")),function(e){var t;function a(t){var a,n,i,r=0;function o(e){e.preventDefault(),r=1,window.addEventListener("mousemove",l),a.addEventListener("touchmove",c)}function s(){r=0}function l(e){var t;if(0==r)return!1;(t=d(e))<0&&(t=0),t>i&&(t=i),f(t)}function d(e){var a,n=0;return e=e||window.event,a=t.getBoundingClientRect(),n=e.pageY-a.top,n-=window.pageYOffset}function c(e){var t;if(0==r)return!1;(t=p(e))<0&&(t=0),t>i&&(t=i),f(t)}function p(e){var a;return a=t.getBoundingClientRect(),e.changedTouches[0].clientY-a.top}function f(e){t.style.height=e+"px",a.style.top=t.offsetHeight-a.offsetHeight/2-separator_width/2+"px"}n=t.offsetWidth,i=t.offsetHeight,t.style.height=start_pos+"px",(a=(a=e.find(".eae-img-comp-slider"))[0]).style.top=start_pos-a.offsetHeight/2-separator_width/2+"px",a.style.left=n/2-a.offsetWidth/2+"px",e.hasClass("elementor-element-edit-mode")||(a.addEventListener("mousedown",o),window.addEventListener("mouseup",s),a.addEventListener("touchstart",o),window.addEventListener("touchstop",s))}t=e.find(".eae-img-comp-overlay"),start_pos=t.height(),start_pos=start_pos*slider_pos/100,a(t[0])}(e))})}),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e,t){e.hasClass("eae-particle-yes")&&(id=e.data("id"),element_type=e.data("element_type"),pdata=e.data("eae-particle"),pdata_wrapper=e.find(".eae-particle-wrapper").data("eae-pdata"),"undefined"!=typeof pdata&&""!=pdata?e.find(".eae-section-bs").length>0?(e.find(".eae-section-bs").after('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):("column"==element_type?e.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'):e.prepend('<div class="eae-particle-wrapper " id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):"undefined"!=typeof pdata_wrapper&&""!=pdata_wrapper&&(element_type,e.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,JSON.parse(pdata_wrapper))))}),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e,t){if(e.hasClass("eae-animated-gradient-yes"))if(id=e.data("id"),color=e.data("color"),angle=e.data("angle"),e.hasClass("elementor-element-edit-mode"))color=e.find(".animated-gradient").data("color"),angle=e.find(".animated-gradient").data("angle"),gradient_color_editor="linear-gradient("+angle+","+color+")",e.prepend('<div class="animated-gradient" style="background-image:'+gradient_color_editor+' "></div>');else{var a="linear-gradient("+angle+","+color+")";e.css("background-image",a)}}),elementorFrontend.hooks.addAction("frontend/element_ready/wts-modal-popup.default",function(e,a){new Event("eaePopupLoaded");const n=e.find(".eae-popup-wrapper"),i=n.data("preview-modal"),r=n.data("effect"),o=n.data("close-button-type");let s=n.data("close-btn");s=m(s);const l="icon"===o?`<i class="eae-close ${s}"> </i>`:`<svg class="eae-close" style="-webkit-mask: url(${s});mask: url(${s});-webkit-mask-size: cover; mask-size: cover; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;"></svg>`,d=e.find(".eae-popup-container");let c=d.attr("id");popupInstance[c]||(popupInstance[c]=d.find(".eae-popup-content").clone(!0),d.find(".eae-popup-content").empty());const p=e.find(".eae-popup-wrapper .eae-popup-link");p.on("click",function(){c=a(this).data("id");a(".eae-popup-container.eae-popup-"+c).each(function(){a(this).find(".eae-popup-content").replaceWith(popupInstance[c].clone(!0))})}),e.find(".eae-popup-link").eaePopup({type:"inline",disableOn:0,key:null,midClick:!1,preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:n.data("close-in-out"),showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:200,prependTo:null,fixedContentPos:!0,fixedBgPos:"auto",overflowY:"auto",closeMarkup:l,tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,mainClass:`eae-popup eae-popup-${p.data("id")} eae-wrap-${p.data("ctrl-id")}`,callbacks:{beforeOpen:function(){r&&(this.st.mainClass=`eae-popup eae-popup-${p.data("id")} eae-wrap-${p.data("ctrl-id")} mfp-${r}`)},open:function(){const e=p.data("id"),n=a(`.eae-popup-${e}.eae-popup-container .eae-modal-content`);t(n);const i=n.find(".wpcf7-form");i.length>0&&i.each(function(e,t){wpcf7.init(t)}),n.trigger("after.load.forminator")},afterClose:function(){e.find(".eae-popup-container").find(".eae-popup-content").empty()}}}),"yes"===i&&e.hasClass("elementor-element-edit-mode")&&p.click()}),elementorFrontend.hooks.addAction("frontend/element_ready/wts-testimonial-slider.default",function(e,t){if(e.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")){var a=e.find(".eae-grid").masonry({});a.imagesLoaded().progress(function(){a.masonry("layout")})}if(e.find(".eae-layout-carousel").length){outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wclass=".elementor-element-"+wid;var n=outer_wrapper.data("direction"),i=outer_wrapper.data("speed"),r=outer_wrapper.data("autoplay"),o=outer_wrapper.data("duration"),s=outer_wrapper.data("effect"),l=outer_wrapper.data("space"),d=outer_wrapper.data("loop");d="yes"==d;var c=outer_wrapper.data("slides-per-view"),p=outer_wrapper.data("slides-per-group"),f=outer_wrapper.data("ptype"),u=outer_wrapper.data("navigation"),m=outer_wrapper.data("clickable"),g=outer_wrapper.data("keyboard"),h=outer_wrapper.data("scrollbar");adata={direction:n,effect:s,spaceBetween:l.desktop,loop:d,speed:i,slidesPerView:c.desktop,slidesPerGroup:p.desktop,observer:!0,mousewheel:{invert:!0},breakpoints:{1024:{spaceBetween:l.tablet,slidesPerView:c.tablet,slidesPerGroup:p.tablet},767:{spaceBetween:l.mobile,slidesPerView:c.mobile,slidesPerGroup:p.mobile}}},"fade"==s&&(adata.fadeEffect={crossFade:!1}),adata.autoplay="yes"==r&&{delay:o,disableOnInteraction:!1},"yes"==u&&(adata.navigation={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}),""!=f&&(adata.pagination={el:".swiper-pagination",type:f}),"bullets"==f&&"yes"==m&&(adata.pagination={el:".swiper-pagination",clickable:!0,type:f}),"yes"==h&&(adata.scrollbar={el:".swiper-scrollbar",draggable:!0}),"yes"==g&&(adata.keyboard={enabled:!0,onlyInViewport:!0}),0==d&&(adata.autoplay={delay:o,stopOnLastSlide:!0,disableOnInteraction:!1}),window.mswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container",adata),t(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container").css("visibility","visible")}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin1",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin2",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin3",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin4",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin1",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin2",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin3",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin4",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin1",function(e,t){var a=e.find(".eae-evergreen-wrapper").data("egtime"),n=e.find(".eae-evergreen-wrapper").data("egt-expire"),o=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),d=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),p=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===o){m=new Date(a),a=m.getTime();var f="expires="+m.toUTCString();document.cookie=l+"="+m.getTime()+";"+f+";path=/"}else{var u=r(s),m="";if(""!==u){(m=new Date(parseInt(u))).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime();var g=new Date(parseInt(u));g.setTime(g.getTime()+60*n*60*1e3);var h="expires="+g.toUTCString();document.cookie=s+"="+u+";"+h+";path=/";var v=new Date(parseInt(u));v.setTime(v.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));f="expires="+v.toUTCString();a-p>0&&(document.cookie=l+"="+u+";"+f+";path=/")}else{temp_date=a,(m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime(),i(s,(new Date).getTime(),n);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&a-p<0)return d.length>0&&d.forEach(function(a){"redirect"===a&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url)&&(window.location.href=$url1)),"hide"===a&&(e.hasClass("elementor-element-edit-mode")||(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none"))),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}),days="00",hours="00",minutes="00",seconds="00",e.find("."+c).find("#eaedivDays").html(days),e.find("."+c).find("#eaedivHours").html(hours.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(minutes.slice(-2)),void e.find("."+c).find("#eaedivSeconds").html(seconds.slice(-2));e.hasClass("elementor-element-edit-mode")&&("countdown"===o?(m=new Date(a),a=m.getTime()):((m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime()));var b=setInterval(function(){var n=(new Date).getTime(),i=a-n,r=0,o=0,s=0,l=0;i>0?(r=Math.floor(i/864e5),o="0"+Math.floor(i%864e5/36e5),s="0"+Math.floor(i%36e5/6e4),l="0"+Math.floor(i%6e4/1e3)):(d.length>0&&(e.hasClass("elementor-element-edit-mode")||d.forEach(function(a){"redirect"===a&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url1)&&(window.location.href=$url1)),"hide"===a&&(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})),clearInterval(b),r="0",o="00",s="00",l="00"),r<10&&(r="0"+r),e.find("."+c).find("#eaedivDays").html(r),e.find("."+c).find("#eaedivHours").html(o.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(s.slice(-2)),e.find("."+c).find("#eaedivSeconds").html(l.slice(-2))},1e3)}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin2",function(e,t){var a=e.find(".eae-evergreen-wrapper").data("egtime"),n=e.find(".eae-evergreen-wrapper").data("egt-expire"),o=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),d=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),p=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===o){m=new Date(a),a=m.getTime();var f="expires="+m.toUTCString();document.cookie=l+"="+m.getTime()+";"+f+";path=/"}else{var u=r(s),m="";if(""!==u){(m=new Date(parseInt(u))).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime();var g=new Date(parseInt(u));g.setTime(g.getTime()+60*n*60*1e3);var h="expires="+g.toUTCString();document.cookie=s+"="+u+";"+h+";path=/";var v=new Date(parseInt(u));v.setTime(v.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));f="expires="+v.toUTCString();a-p>0&&(document.cookie=l+"="+u+";"+f+";path=/")}else{temp_date=a,(m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime(),i(s,(new Date).getTime(),n);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&a-p<0)return void(d.length>0&&d.forEach(function(a){"redirect"===a&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url)&&(window.location.href=$url)),"hide"===a&&(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none")),"message"===a&&e.find("."+c).find(".eae-egt-message").css("display","block"),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}));e.hasClass("elementor-element-edit-mode")&&("countdown"===o?(m=new Date(a),a=m.getTime()):((m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime()));var b=setInterval(function(){var n=(new Date).getTime(),i=a-n,r=Math.floor(i/864e5),o=Math.floor(i%864e5/36e5),s=Math.floor(i%36e5/6e4),l=Math.floor(i%6e4/1e3);if(e.find("."+c).find("#eaeulSec1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulSec").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec").find(".flip-clock-before").removeClass("flip-clock-before"),i<0)return clearInterval(b),void(d.length>0&&d.forEach(function(a){"redirect"===a&&(e.hasClass("elementor-element-edit-mode")||($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url1)&&(window.location.href=$url1))),"hide"===a&&(e.hasClass("elementor-element-edit-mode")||(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none"))),"message"===a&&(e.hasClass("elementor-element-edit-mode")||e.find("."+c).find(".eae-egt-message").css("display","block")),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}));if(2===t.trim(l).length){var p="#eaeulSec1 li:eq("+t.trim(l).charAt(1)+")",f="#eaeulSec li:eq("+t.trim(l).charAt(0)+")";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}else{p="#eaeulSec1 li:eq("+t.trim(l).charAt(0)+")",f="#eaeulSec li:eq(0)";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulMin1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulMin").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin").find(".flip-clock-before").removeClass("flip-clock-before"),2==t.trim(s).length){p="#eaeulMin1 li:eq("+t.trim(s).charAt(1)+")",f="#eaeulMin li:eq("+t.trim(s).charAt(0)+")";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}else{p="#eaeulMin1 li:eq("+t.trim(s).charAt(0)+")",f="#eaeulMin li:eq(0)";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulHour1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulHour").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour").find(".flip-clock-before").removeClass("flip-clock-before"),2==t.trim(o).length){p="#eaeulHour1 li:eq("+t.trim(o).charAt(1)+")",f="#eaeulHour li:eq("+t.trim(o).charAt(0)+")";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}else{p="#eaeulHour1 li:eq("+t.trim(o).charAt(0)+")",f="#eaeulHour li:eq(0)";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulDay1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulDay").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay").find(".flip-clock-before").removeClass("flip-clock-before"),2==t.trim(r).length){p="#eaeulDay1 li:eq("+t.trim(r).charAt(1)+")",f="#eaeulDay li:eq("+t.trim(r).charAt(0)+")";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}else{p="#eaeulDay1 li:eq("+t.trim(r).charAt(0)+")",f="#eaeulDay li:eq(0)";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}},1e3)}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin3",function(e,t){var a,n=e.find(".eae-evergreen-wrapper").data("egtime"),o=e.find(".eae-evergreen-wrapper").data("egt-expire"),s=e.find(".eae-evergreen-wrapper").data("element-type"),l="eae-"+e.find(".eae-evergreen-wrapper").data("id"),d="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),c=e.find(".eae-evergreen-wrapper").data("actions"),p=e.find(".eae-evergreen-wrapper").data("days"),f=e.find(".eae-evergreen-wrapper").data("hours"),u=e.find(".eae-evergreen-wrapper").data("mins"),m=e.find(".eae-evergreen-wrapper").data("seconds"),g=e.find(".eae-evergreen-wrapper").data("unqid"),h=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===s){y=new Date(n),n=y.getTime();var v="expires="+y.toUTCString();document.cookie=d+"="+y.getTime()+";"+v+";path=/"}else{var w=r(l),y="";if(""!==w){(y=new Date(parseInt(w))).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),n=y.getTime();var b=new Date(parseInt(w));b.setTime(b.getTime()+60*o*60*1e3);var _="expires="+b.toUTCString();document.cookie=l+"="+w+";"+_+";path=/";var k=new Date(parseInt(w));k.setTime(k.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));v="expires="+k.toUTCString();n-h>0&&(document.cookie=d+"="+w+";"+v+";path=/")}else{temp_date=n,(y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),n=y.getTime(),i(l,(new Date).getTime(),o);var C=new Date;C.setTime(C.getTime()+1e3*temp_date);var x="expires="+C.toUTCString();document.cookie=d+"="+(new Date).getTime()+";"+x+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")){var S=E(n);if(parseInt(S.all)<1){if(c.length>0&&(c.forEach(function(t){"redirect"===t&&(e.hasClass("elementor-element-edit-mode")||($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url&&(window.location.href=$url))),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none"))),"hide"===t&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===t&&e.find(".eae-egt-message").css("display","block")}),1===c.length&&(""===c[0]||"message"===c[0]))){var T=e.find("."+g).find("#timer")[0];"yes"===p&&(T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===f&&("yes"===p?t(T).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===p||"yes"===f?t(T).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===p||"yes"===f||"yes"===u?t(T).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>")}return}}function E(e){var t=n-new Date;return{days:Math.floor(t/864e5),hours:"0"+Math.floor(t/36e5%24),minutes:"0"+Math.floor(t/6e4%60),seconds:"0"+Math.floor(t/1e3%60),all:t}}function D(e){e.classList.add("fade"),setTimeout(function(){e.classList.remove("fade")},700)}e.hasClass("elementor-element-edit-mode")&&("countdown"===s?(y=new Date(n),n=y.getTime()):((y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),n=y.getTime())),E(n).all>1&&(a=setInterval(function(){var i=e.find("."+g).find("#timer")[0],r=E(n);"yes"===p&&(r.days<10&&(r.days="0"+r.days),i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.days+"</div></span>"),"yes"===f&&("yes"===p?t(i).append("<span class='egt-time eae-time-wrapper'><div>"+r.hours.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.hours.slice(-2)+"</div></span>"),"yes"===u&&("yes"===p||"yes"===f?t(i).append("<span class='egt-time eae-time-wrapper'><div>"+r.minutes.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.minutes.slice(-2)+"</div></span>"),"yes"===m&&("yes"===p||"yes"===f||"yes"===u?t(i).append("<span class='egt-time eae-time-wrapper'><div>"+r.seconds.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.seconds.slice(-2)+"</div></span>");var o=i.getElementsByTagName("span");"yes"===p&&59==r.hours&&59==r.minutes&&59==r.seconds&&D(o[0]),"yes"===f&&("yes"===p?59==r.minutes&&59==r.seconds&&D(o[1]):59==r.minutes&&59==r.seconds&&D(o[0])),"yes"===u&&("yes"===p?"yes"===f?59==r.seconds&&D(o[2]):59==r.seconds&&D(o[1]):"yes"===f?59==r.seconds&&D(o[1]):59==r.seconds&&D(o[0])),"yes"===m&&("yes"===p?"yes"===f?"yes"===u&&D(o[3]):D("yes"===u?o[2]:o[1]):"yes"===f?"yes"===u&&D(o[2]):D("yes"===u?o[1]:o[0])),r.all<=1&&(clearInterval(a),"yes"===p&&(i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===f&&("yes"===p?t(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===p||"yes"===f?t(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===p||"yes"===f||"yes"===u?t(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),e.hasClass("elementor-element-edit-mode")||c.length>0&&c.forEach(function(t){"redirect"===t&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url1&&(window.location.href=$url1)),"hide"===t&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===t&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===t&&($p_secs=e.closest("section"),$p_secs.css("display","none"))}))},1e3))}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-comparisontable.default",function(e,t){t(e.find(".eae-ct-heading")[0]).addClass("active"),e.find("ul").on("click","li",function(){var a=t(this).index()+2;e.find("tr").find("td:not(:eq(0))").hide(),e.find("td:nth-child("+a+")").css("display","table-cell"),e.find("tr").find("th:not(:eq(0))").hide(),e.find("li").removeClass("active"),t(this).addClass("active")});var a=window.matchMedia("(min-width: 767px)");function n(t){t.matches?e.find(".sep").attr("colspan",5):e.find(".sep").attr("colspan",2)}a.addListener(n),n(a)}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin1",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin2",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin3",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin4",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin5",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-filterableGallery.default",function(e,t){var a=e.find(".eae-fg-wrapper"),n=e.data("id"),i=a.attr("data-maxtilt"),r=a.attr("data-perspective"),o=a.attr("data-speed"),s=a.attr("data-tilt-axis"),l=a.attr("data-glare"),d=parseInt(a.attr("data-overlay-speed"));if(s="x"===s?"y":"y"===s?"x":"both","yes"===l)var c=a.attr("data-max-glare");l="yes"===l;var p=t(".elementor-element-"+n+" .eae-fg-image"),f=a.hasClass("masonry-yes")?"masonry":"fitRows";p.outerHeight();adata={percentPosition:!0,animationOptions:{duration:750,easing:"linear",queue:!1}},"fitRows"===f&&(adata.layoutMode="fitRows"),"masonry"===f&&(adata.masonry={columnWidth:".eae-gallery-item",horizontalOrder:!0}),e.hasClass("eae-show-all-yes")||(e.find(".eae-gallery-filter a").first().addClass("current"),adata.filter=e.find(".eae-gallery-filter a").first().attr("data-filter"));var u=p.isotope(adata);u.imagesLoaded().progress(function(){u.isotope("layout")}),e.find(".eae-tilt-yes")&&(atilt={maxTilt:i,perspective:r,easing:"linear",scale:1,speed:o,disableAxis:s,transition:!0,reset:!0,glare:l,maxGlare:c},e.find(".el-tilt").tilt(atilt)),t(".elementor-element-"+n+" .eae-gallery-filter a").on("click",function(){e.find(".eae-gallery-filter .current").removeClass("current"),t(this).addClass("current");var a=t(this).attr("data-filter");adata.filter=a;var n=p.isotope(adata);return n.imagesLoaded().progress(function(){if(n.isotope("layout"),isEditMode)return!1;e.find(".eae-tilt-yes")&&(e.find(".el-tilt").tilt(atilt),e.find(".el-tilt").tilt.reset.call(e.find(".el-tilt")))}),!1}),a.hasClass("eae-hover-direction-effect")||e.find(".eae-gallery-item-inner").hover(function(){t(this).find(".eae-grid-overlay").addClass("animated")}),a.hasClass("eae-hover-direction-effect")&&(e.find(".eae-gallery-item-inner").hover(function(){t(this).find(".eae-grid-overlay").addClass("overlay")}),a.find(".eae-gallery-item-inner").EAEHoverDirection({speed:d}))}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin1",s),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin2",s),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin3",l),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin4",l),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e,t){isEditMode||e.data("wts-url")&&"yes"==e.data("wts-link")&&e.on("click",function(t){e.data("wts-url")&&"yes"==e.data("wts-new-window")?window.open(e.data("wts-url")):location.href=e.data("wts-url")})}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-thumbgallery.default",function(e,t){swiper_outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wClass=".elementor-element-"+wid,thumb_outer_wrapper=e.find(".eae-gallery-thumbs");let a=swiper_outer_wrapper.data("swiper-settings"),n=(swiper_outer_wrapper.data("slides-per-view"),swiper_outer_wrapper.data("space"),elementorFrontend.config.responsive.activeBreakpoints);sliderData={direction:"horizontal",effect:a.effect,keyboard:{enabled:a.keyboard},speed:a.speed,loop:"yes"===a.loop,thumbs:{swiper:{el:wClass+" .eae-gallery-thumbs",direction:"horizontal",navigation:{nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"},speed:a.speed,loop:"yes"===a.loop,freeMode:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!0}}};const i={slidesPerView:"slidesPerView",slidesPerGroup:"slidesPerGroup",spaceBetween:"spaceBetween"};if(n.hasOwnProperty("mobile"))for(const e in i)a.hasOwnProperty(e)&&(sliderData[e]=a[e].mobile),a.thumbs.hasOwnProperty(e)&&(sliderData.thumbs.swiper[e]=a.thumbs[e].mobile);const r={},o={};a.hasOwnProperty("breakpoints_value")&&Object.keys(a.breakpoints_value).map(e=>{const t=parseInt(a.breakpoints_value[e]);if("desktop"===e&&(e="default"),"mobile"!==e){const n=parseInt(a.spaceBetween[e]);r[t-1]={spaceBetween:n};const i=parseInt(a.thumbs.spaceBetween[e]),s=parseInt(a.thumbs.slidesPerView[e]);o[t-1]={spaceBetween:i,slidesPerView:s}}}),sliderData.breakpoints=r,sliderData.thumbs.swiper.breakpoints=o,void 0!==a.autoplay&&(sliderData.thumbs.swiper.autoplay={delay:a.autoplay.duration,disableOnInteraction:a.autoplay.disableOnInteraction,reverseDirection:a.autoplay.reverseDirection}),"yes"==a.navigation&&(sliderData.navigation={nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"}),""!==a.pagination&&(sliderData.pagination={type:a.pagination,el:wClass+" .swiper-pagination",clickable:a.clickable}),void 0!==a.autoplay&&(sliderData.autoplay={delay:a.autoplay.duration,disableOnInteraction:a.autoplay.disableOnInteraction,reverseDirection:a.autoplay.reverseDirection}),swiperContainer=jQuery(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container");const s=elementorFrontend.utils.swiper;null!==swiperContainer&&0===swiperContainer.length||new s(jQuery(swiperContainer),sliderData).then(e=>{const t=e,n=a.pauseOnHover;if("yes"==a.loop&&p(t,wid),"yes"==n&&f(t,n,wid,a),"yes"===a.loop){const e=t&&t.thumbs?t.thumbs.swiper:null;e&&"function"==typeof e.slideToLoop&&t.on("slideChange",function(){const a=t.realIndex;a!=e.realIndex&&e.slideToLoop(a)})}if(void 0!==a.autoplay){"yes"==a.pauseOnHover&&jQuery(wClass+" .eae-swiper-container").hover(function(){null!=t&&(t.autoplay.stop(),t.thumbs.swiper.autoplay.stop())},function(){null!=t&&(t.autoplay.start(),t.thumbs.swiper.autoplay.start())})}})}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.bar",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.horizontalBar",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.line",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-data-table.default",function(e,t){const a=e.find(".eae-table"),n=e.find(".eae-table-container");lottie_class=e.find(".eae-lottie"),settings=a.data("settings"),lottie_class.each(function(){let e=t(this).data("lottie-settings"),a=lottie.loadAnimation({container:document.getElementById(e.id),path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&a.setDirection(-1)}),!0===settings.sort?(head_class=t(".eae-table thead tr:not(:last-child)").addClass("eae-sort__ignoreRow"),a.tablesorter({sortReset:!1,sortRestart:!0})):head_class=t(".eae-table thead tr:not(:last-child)").removeClass("eae-sort__ignoreRow"),settings.search&&n.find("#eae-searchable").keyup(function(){_this=this,a.find(".eae-table__body tr").each(function(){-1===t(this).text().toLowerCase().indexOf(t(_this).val().toLowerCase())?t(this).addClass("eae-table-search-hide"):t(this).removeClass("eae-table-search-hide")})})}),elementorFrontend.hooks.addAction("frontend/element_ready/CfStyler.default",function(e,t){if(e.hasClass("elementor-element-edit-mode")&&t("#error-field-hidden").hasClass("validation-field-box")){e.find(".wpcf7-validates-as-required").parent().append("<p class='error-field'>The field is required.</p>")}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-anythingcarousel.default",function(e,t){const a=e.find(".eae-swiper-outer-wrapper"),n=e.data("id"),i=a.data("swiper-settings");c(i,n,e,a)}),elementorFrontend.hooks.addAction("frontend/element_ready/wts-content-ticker.default",function(e){let t=e.data("id"),a=e.find(".swiper");swiper_outer=e.find(".eae-content-ticker-wrapper");let n=swiper_outer.data("swiper"),i={};if(i={effect:n.effect,loop:n.loop,speed:n.speed,slidesPerView:1,spaceBetween:30,fadeEffect:{crossFade:!0}},null!=n.autoplayDuration&&(i.autoplay={delay:n.autoplayDuration,disableOnInteraction:!0}),0!=n.keyboardControl&&(i.keyboard={enabled:!0}),"yes"===n.arrows&&(i.navigation={nextEl:".eae-navigation-icon-wrapper .eae-swiper-button-next",prevEl:".eae-navigation-icon-wrapper .eae-swiper-button-prev"}),"null"!=n.direction&&"slide"==n.effect&&(i.direction=n.direction),null!==jQuery(a)&&0===jQuery(a).length)return;new(0,elementorFrontend.utils.swiper)(jQuery(a),i).then(e=>{let a=e;"true"==n.pauseOnHover&&jQuery(".elementor-element-"+t+" .eae-content-ticker-content-wrapper").hover(function(){a.autoplay.stop()},function(){a.autoplay.start()})})}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-radial-charts.default",function(e){let t=null;$wid=e.data("id");const a=document.querySelector(".elementor-element-"+$wid),n=a.querySelector(".eae-radial-chart"),i=(a.querySelector(".eae-radial-chart-container").dataset.chart,e.find(".eae-radial-chart-container")),r=e.find(".eae-radial-chart");let o=i.data("chart");"polarArea"==o.type&&"true"==o.enablePercentage&&(o.options.scales.r.ticks.callback=function(e,t,a){return`${e}%`});new IntersectionObserver((e,a)=>{e.forEach(e=>{if(e.isIntersecting){e.target.classList.add("trigger"),null==t&&(t=new Chart(r,o))}})},{root:null,rootMargin:"0px 0px -300px 0px"}).observe(n)}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-coupon-code.default",function(e){elementorFrontend.elementsHandler.addHandler(u,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-animated-link.default",function(e){elementorFrontend.elementsHandler.addHandler(h,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-dropbar.default",function(e){elementorFrontend.elementsHandler.addHandler(v,{$element:e})})})}(jQuery);
(()=>{var e={734(){!function(e){const t=function(e){const t=e.attr("data-id");var n=document.querySelector(".elementor-element-"+t).querySelector(".eae-lottie-animation");if(null!=n){let e=JSON.parse(n.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:n,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-add-to-calendar.default",t)})}(jQuery)},211(){!function(e){const t=function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t);var a=n.querySelector(".eae-ah-icon.eae-lottie-animation"),i=n.querySelector(".eae-ah-title-icon.eae-lottie-animation"),o=n.querySelector(".eae-sep-icon.eae-lottie-animation");if(null!=a){let e=JSON.parse(a.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:a,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}if(null!=i){let e=JSON.parse(i.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:i,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}if(null!=o){let e=JSON.parse(o.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:o,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-advanced-heading.default",t)})}(jQuery)},327(){!function(e){const t=function(e){const t=e.attr("data-id");document.querySelector(".elementor-element-"+t).querySelector(".eae-list-wrapper").querySelectorAll(".eae-list-item").forEach(e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-advanced-list.default",t)})}(jQuery)},259(){!function(e){const t=function(t){const a=t.attr("data-id"),i=document.querySelector(".elementor-element-"+a).querySelector(".eae-price-table");window.addEventListener("resize",function(){let e=i.getAttribute("data-stacked");this.window.innerWidth<=e?i.classList.add("enable-stacked"):i.classList.remove("enable-stacked")}),function(e){let t=e.find(".eae-price-table"),n=t.find(".eae-apt-switch-label"),a=t.find(".eae-apt-content-switch-button-text.eae-label-tab-1"),i=t.find(".eae-apt-content-switch-button-text.eae-label-tab-2"),o=t.find(".eae-apt-tab-1.eae-apt-tab-content-section"),r=t.find(".eae-apt-tab-2.eae-apt-tab-content-section");n.on("click",function(e){n.find(".eae-pt-content-toggle-switch").is(":checked")?(i.addClass("active-button"),r.addClass("active"),a.removeClass("active-button"),o.removeClass("active")):(a.addClass("active-button"),o.addClass("active"),i.removeClass("active-button"),r.removeClass("active"))})}(t),function(t){var n=t.find(".eae-price-table"),a=(t.data("id"),n.find(".eae-apt-content-switch-button"));a.each(function(t,i){e(this).on("click",function(t){t.preventDefault();let o=i.getAttribute("data-active-tab");a.removeClass("active-button"),e(this).addClass("active-button");let r=n.find(".eae-apt-"+o);n.find(".eae-apt-tab-content-section").removeClass("active"),r.addClass("active")})})}(t),n(i.querySelectorAll(".eae-price-table-wrapper"),".eae-apt-icon.eae-lottie"),i.querySelectorAll(".eae-apt-features-container"),n(i.querySelectorAll(".eae-apt-features-list-item"),".eae-apt-feature-icon.eae-lottie")};function n(e,t){e.forEach(e=>{if(isLottiePanle=e.querySelector(t),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}})}e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-advanced-price-table.default",t)})}(jQuery)},948(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-audio-player-wrapper");return{eid:e,element:t,wrapper:n}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),n=t.querySelector(".eae-audio-player"),a=t.querySelector(".eae-play-pause-btn"),i=t.querySelector(".eae-prevBtn"),o=t.querySelector(".eae-nextBtn"),r=t.querySelector(".eae-progress"),l=t.querySelector(".eae-handle"),s=t.querySelector(".eae-progress-bar"),c=t.querySelector(".eae-playlistIcon"),d=t.querySelector(".eae-list-open-icon"),u=t.querySelector(".eae-volume-input"),p=t.querySelector(".eae-volume"),f=t.querySelector(".eae-volume-control"),m=t.querySelector(".eae-playlist"),g=t.querySelector(".eae-audioTitle"),y=t.querySelector(".eae-audioAuthor"),h=t.querySelectorAll(".eae-album-cover"),v=t.querySelector(".eae-current-time"),b=t.querySelector(".eae-duration"),w=t.querySelector(".eae-repeatBtn"),S=t.querySelector(".eae-shuffleBtn"),L=t.querySelector(".eae-player-sticky-close"),_=t.querySelector(".eae-player"),A=t.querySelectorAll(".eae-playlist-item"),q=t.querySelector(".eae-volume-control i"),E=m.getAttribute("data-audio");let k=t.getBoundingClientRect().top+window.scrollY,x=!1,D=0,M=!1,C="none",P=!1;const F=JSON.parse(E).map((e,t)=>({index:t,audio_title:e.audio_title||"Unknown Track",audio_author:e.audio_author||"Unknown Artist",file:e.file||"",duration:e.duration||0})).filter(e=>e.file),I=async e=>new Promise((t,n)=>{const a=new Audio(e);a.addEventListener("loadedmetadata",()=>{t(a.duration)}),a.addEventListener("error",()=>{n(new Error(`Failed to load audio file: ${e}`))})});function T(e){a&&(x=e,a.classList.replace(e?"fa-play":"fa-pause",e?"fa-pause":"fa-play"))}(async()=>{try{return await Promise.all(F.map(async(e,t)=>({index:t,duration:await I(e.file)})))}catch(e){return console.error("Error calculating total durations:",e),[]}})().then(e=>{if(e.length)for(let t=0;t<e.length;t++)A[t]&&(A[t].querySelector(".eae-list-duration").textContent=N(e[t].duration))}),t.querySelector(".eae-volume-input")?.addEventListener("input",function(){var t=(this.value-this.min)/(this.max-this.min)*100;e.slider_color?this.style.background=`linear-gradient(to right, ${e.slider_color} 0%, ${e.slider_color} ${t}%, ${e.range_color?e.range_color:"white"} ${t}%, ${e.range_color?e.range_color:"white"} 100%)`:this.style.background=`linear-gradient(to right, #666666 0%, #666666 ${t}%, #fff ${t}%, white 100%)`});let H=null;function $(t){return new Promise((a,i)=>{if(!n||!F.length||t<0||t>=F.length)return void i(new Error("Invalid song index"));H&&H.abort(),H=new AbortController,n.pause(),n.currentTime=0;const o=F[t];D=t,g&&(g.textContent=o.audio_title),y&&(y.textContent=o.audio_author),"yes"===e.show_repeater_image&&h.forEach(e=>{e.getAttribute("data-index")==t?e.style.display="block":e.style.display="none"}),function(e){m&&m.querySelectorAll(".eae-playlist-item").forEach((t,n)=>{t.classList.toggle("active",n===e)})}(t),n.src=o.file,n.addEventListener("canplaythrough",()=>{a(),H=null},{signal:H.signal,once:!0}),n.addEventListener("error",()=>{return e=n.error,i(e),void(H=null);var e},{signal:H.signal,once:!0}),n.load()})}function z(e){if(!s||!n)return;const t=s.getBoundingClientRect(),a=(e.clientX-t.left)/t.width*n.duration;isNaN(a)||(n.currentTime=a)}async function O(){if(F.length)try{await $(void 0),await n.play(),T(!0)}catch(e){console.error("Failed to play next song:",e),T(!1)}}async function O(){if(F.length){if(P)if(1===F.length)newIndex=0;else do{newIndex=Math.floor(Math.random()*F.length)}while(newIndex===D);else newIndex="none"==C?(D+1)%F.length:D;try{await $(newIndex),await n.play(),T(!0)}catch(e){console.error("Failed to play next song:",e),T(!1)}}}function N(e){return`${Math.floor(e/60)}:${Math.floor(e%60).toString().padStart(2,"0")}`}const j=new ResizeObserver(e=>{for(let n of e)n.contentRect.width<600?t.classList.add("eae-player-compact"):(t.classList.remove("eae-player-compact"),t.style.flexDirection="")});if(a?.addEventListener("click",function(){document.querySelectorAll(".eae-player-out-viewport").forEach(e=>{const n=t.getAttribute("eae-audio-data-id"),a=e.parentElement?.parentElement;n!=a.getAttribute("data-id")&&(e.style.visibility="hidden")}),document.querySelectorAll("audio").forEach(e=>{e!==n&&e.pause(),e.currentTime>0&&document.querySelectorAll(".eae-play-pause-btn").forEach(e=>{e.classList.replace("fa-pause","fa-play")})}),n.src&&0!==n.currentTime?(x?n.pause():n.play().catch(e=>console.error("Audio playback failed:",e)),T(!x)):$(D).then(()=>{n.play().catch(e=>console.error("Audio playback failed:",e)),T(!0)}).catch(e=>console.error("Error loading song:",e))}),o?.addEventListener("click",O),i?.addEventListener("click",async function(){if(!F.length)return;const e=(D-1+F.length)%F.length;try{await $(e),await n.play(),T(!0)}catch(e){console.error("Failed to play previous song:",e),T(!1)}}),u?.addEventListener("input",function(e){n&&(n.volume=parseFloat(e.target.value))}),L?.addEventListener("click",function(){t.style.visibility="hidden",n.paused||T(!x),n.pause()}),s?.addEventListener("click",z),f?.addEventListener("click",function(t){const a=f.querySelector(".eae-volume-input");f&&"layout-3"!=e.eae_audio_player_layout&&(p.style.display="flex"===p.style.display?"none":"flex"),f&&"layout-3"==e.eae_audio_player_layout&&t.target.matches("i")&&(q.classList.contains("fa-volume-mute")?(q.classList.remove("fa-volume-mute"),q.classList.add("fa-volume-up"),n.muted=!1):(q.classList.remove("fa-volume-up","fa-volume-down"),q.classList.add("fa-volume-mute"),n.muted=!0)),a&&q&&a.addEventListener("input",function(){0==this.value?(q.classList.remove("fa-volume-up","fa-volume-down"),q.classList.add("fa-volume-mute")):this.value>0&&this.value<.5?(q.classList.remove("fa-volume-up","fa-volume-mute"),q.classList.add("fa-volume-down")):(q.classList.remove("fa-volume-down","fa-volume-mute"),q.classList.add("fa-volume-up"))})}),l?.addEventListener("mousedown",function(e){M=!0,z(e)}),n?.addEventListener("timeupdate",function(){if(v||b){const e=n.currentTime,t=n.duration;if(!isNaN(e)&&v&&(v.textContent=N(e)),!isNaN(t)&&t>0&&b&&(b.textContent=N(t)),!isNaN(e)&&!isNaN(t)&&t>0){const n=e/t*100;r.style.width=`${n}%`,l.style.left=n-1+"%"}}}),n?.addEventListener("durationchange",function(){b&&(b.textContent=N(n.duration))}),w?.addEventListener("click",function(){const e=["none","all"];C=e[(e.indexOf(C)+1)%e.length],w&&(P||("all"===(w.classList.remove("eae-repeat-active"),C)?w.classList.add("eae-repeat-active"):w.classList.add("")))}),S?.addEventListener("click",function(){P=!P,S&&(S.classList.toggle("active",P),w.classList.remove("eae-repeat-active"))}),n?.addEventListener("timeupdate",function(){if(n&&n.duration){const e=n.currentTime/n.duration*100;r&&(r.style.width=`${e}%`),l&&(l.style.left=e-1+"% ")}}),n?.addEventListener("ended",O),j.observe(t),t.addEventListener("mousemove",e=>{M&&z(e)}),t.addEventListener("mouseup",function(){M=!1}),"yes"!=e.always_on_list||"layout-1"!=e.eae_audio_player_layout&&"layout-4"!=e.eae_audio_player_layout||(c.style.display="none",m.style.display="flex"),"layout-3"==e.eae_audio_player_layout){let e=m.offsetWidth;m.style.left=`-${e+10}px`}function B(e){let a=window.scrollY;if(window.scrollY-200>=k){if(!elementorFrontend.isEditMode()&&n.paused)return;L&&(L.style.display="block"),isDragEnabled=!0,t.classList.add("eae-player-out-viewport"),t.classList.contains("eae-player-compact")&&t.classList.contains("eae-layout-4")&&(_.style.flexDirection="")}else L&&(L.style.display="none"),t.style.visibility="visible",t.classList.remove("eae-player-out-viewport"),t.offsetHeight;lastScrollTop=a<=0?0:a}d?.addEventListener("click",()=>{let e=m.offsetWidth;m.classList.remove("eae-active"),m.style.left="0",m.style.left=`-${e}px`,setTimeout(()=>{c.style.display="block"},300)}),c?.addEventListener("click",()=>{if(m){m.classList.toggle("eae-active");const t=m.classList.contains("eae-active");if("layout-3"===e.eae_audio_player_layout){let e=m.offsetWidth;m.classList.contains("eae-active")?(c.style.display="none",m.style.left="0"):m.style.left=`-${e}px`}else m.style.display="flex"===m.style.display?"none":"flex",c.classList.replace(t?"eicon-menu-bar":"eicon-editor-close",t?"eicon-editor-close":"eicon-menu-bar")}}),m?.addEventListener("click",e=>{const t=e.target.closest(".eae-playlist-item");t&&m&&($(Array.from(m.querySelectorAll("li")).indexOf(t)),n?.play(),T(!0))}),F.length>0&&($(0),n&&u?n.volume=parseFloat(u.value):n&&(n.volume=1)),"yes"===e.enable_sticky&&(L&&(L.style.display="none"),(elementorFrontend.isEditMode()&&"yes"==e.preview_sticky||!elementorFrontend.isEditMode())&&(B(),document.addEventListener("scroll",()=>{window.requestAnimationFrame?window.requestAnimationFrame(()=>{B()}):B()})))}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-audio-player.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},305(e,t,n){"use strict";n.d(t,{Y:()=>a});class a{constructor(e,t,n=null){let a=[],i=".elementor-element-"+t+" .eae-swiper-container",o=elementorFrontend.config.responsive.activeBreakpoints;var r=".elementor-element-"+t;if(null!==n){t=n.data("id");const e=n.find(".eae-swiper-container").data("eae-slider-id");i=".elementor-element-"+t+' .eae-swiper-container[data-eae-slider-id="'+e+'"]',r=".elementor-element-"+t+" .eae-slider-id-"+e}if(void 0===e)return!1;a={direction:e.direction,speed:e.speed,autoHeight:e.autoHeight,autoplay:e.autoplay,grid:e.grid,effect:e.effect,loop:e.loop,zoom:e.zoom,wrapperClass:"eae-swiper-wrapper",slideClass:"eae-swiper-slide",observer:!0,observeParents:!0},e.hasOwnProperty("pause_on_interaction")&&(a.autoplay.disableOnInteraction=!0,a.autoplay.pauseOnMouseEnter=!0);const l={slidesPerView:"slidesPerView",slidesPerGroup:"slidesPerGroup",spaceBetween:"spaceBetween"};if(o.hasOwnProperty("mobile"))for(const t in l)e.hasOwnProperty(t)&&(a[t]=e[t].mobile);e.loop&&e.hasOwnProperty("slidersPerView")&&document.querySelectorAll(r+" .eae-swiper-slide").length<e.slidesPerView.tablet&&(a.loop=!1);const s={};e.hasOwnProperty("breakpoints_value")&&Object.keys(e.breakpoints_value).map(t=>{const n=parseInt(e.breakpoints_value[t]);"desktop"===t&&(t="default");const a=parseInt(e.spaceBetween[t]),i=parseInt(e.slidesPerView[t]),o=parseInt(e.slidesPerGroup[t]);s[n-1]={spaceBetween:a,slidesPerView:i,slidesPerGroup:o}}),eae.breakpoints,a.breakpoints=s,a.keyboard="yes"===e.keyboard&&{enabled:!0,onlyInViewport:!0},"yes"===e.navigation&&(a.navigation={nextEl:r+" .eae-swiper-button-next",prevEl:r+" .eae-swiper-button-prev"}),""!==e.ptype&&(a.pagination={el:r+" .eae-swiper-pagination",type:e.ptype,clickable:e.clickable}),"yes"==e.scrollbar&&(a.scrollbar={el:r+" .eae-swiper-scrollbar",hide:!0}),a.on={resize:function(){0!=e.autoplay&&this.autoplay.start()}},new(0,elementorFrontend.utils.swiper)(jQuery(i),a).then(n=>{const a=n,i=e.pause_on_hover;"yes"==e.loop&&this.after_swiper_load_func(a,t),"yes"==i&&this.pause_on_hover_func(a,i,t,e)}),jQuery(".elementor-element-"+t+" .ae-swiper-container").css("visibility","visible")}pause_on_hover_func(e,t,n,a=""){jQuery(".elementor-element-"+n+" .eae-swiper-container").hover(function(){e.autoplay.stop()},function(){a.hasOwnProperty("pause_on_interaction")||"yes"==a.pause_on_interaction||e.autoplay.start()})}after_swiper_load_func(e,t=""){e.length>0?e.forEach(function(e){}):(e.on("slideChangeTransitionStart",function(){e.$wrapperEl.find(".swiper-slide-duplicate").each(function(n){if(null!==n.closest(".eae-vg-video-container")){let e=n.querySelector(".eae-vg-element");e.addEventListener("click",function(t){let n=e;if(n.classList.remove("eae-vg-image-overlay"),n.getAttribute("data-video-url"),"hosted"!=n.getAttribute("data-video-type")){let e=n.getAttribute("data-video-url");n.innerHTML="";var a=document.createElement("iframe");a.classList.add("eae-vg-video-iframe"),a.setAttribute("src",e),a.setAttribute("frameborder","0"),a.setAttribute("allowfullscreen","1"),a.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),n.append(a)}else if(null==n.querySelector(".eae-hosted-video")){let e=n.getAttribute("data-hosted-html");n.innerHTML="";let t=JSON.parse(e);n.innerHTML+=t;let a=n.querySelector("video");a.setAttribute("autoplay","autoplay"),n.hasAttribute("data-video-downaload")&&a.setAttribute("controlslist","nodownload"),n.hasAttribute("data-controls")&&a.setAttribute("controls","")}})}n.querySelectorAll(".open-popup-link").forEach(e=>jQuery(e).eaePopup({type:"inline",midClick:!0,mainClass:"eae-wp-modal-box eae-wp-"+t,callbacks:{open:function(){jQuery(window).trigger("resize")}}}));const a=n.closest(".eae-testimonial-wrapper");if(null!==a){const e=parseInt(a.getAttribute("data-stacked")),t=a.querySelectorAll(".eae-additional-image.eae-preset-2");null!==a&&window.addEventListener("resize",function(){this.window.innerWidth<=e?t.forEach(e=>{e.style.display="none"}):t.forEach(e=>{e.style.display="flex"})})}e.init()})}),e.init())}}},147(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),a=n.querySelector(".eae-blob-shape-wrapper"),{settings:i}=this.getSettings();let o;if("%"==i.blob_size.unit){let e=a.offsetWidth;o=100==i.blob_size.size?e:e*parseFloat(`0.${i.blob_size.size}`)}else o=i.blob_size.size;return{eid:e,element:n,wrapper:a,scope:t,blobSize:o.toFixed(2)}},onInit:function(){const{settings:e}=this.getSettings(),{generator:t}=this.getSvgPath(),{wrapper:n,scope:a,blobSize:i}=this.getDefaultElements(),o=n.querySelector("#eae-blob-svg-path"),r={seed:.5,edges:e.blob_randomness.size<3?3:e.blob_randomness.size,growth:e.blob_nodes.size,size:i};o.setAttribute("d",(r.seed=Math.random(),t(r).path));const l={targets:o,direction:"alternate",easing:"easeInOutSine",duration:1e3*e.animation_delay,loop:!0,d:[{value:t().path},{value:t().path}]};"yes"==e.enable_animation&&anime(l);var s=n.querySelector(".eae-lottie-animation");if(null!=s){let e=JSON.parse(s.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:s,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}},getSvgPath:function(){const{settings:e}=this.getSettings(),{wrapper:t,scope:n,blobSize:a}=this.getDefaultElements(),i=t.querySelector(".eae-blob-svg");"%"==e.blob_size.unit&&(i.setAttribute("width",a),i.setAttribute("height",a),i.setAttribute("viewBox",`0 0 ${a} ${a}`));const o=e=>e*(Math.PI/180),r=e=>{let t="",n=[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2];t+="M"+n[0]+","+n[1];for(let a=0;a<e.length;a++){const i=e[(a+1)%e.length],o=e[(a+2)%e.length];n=[(i[0]+o[0])/2,(i[1]+o[1])/2],t+="Q"+i[0]+","+i[1]+","+n[0]+","+n[1]}return t+="Z",t};return{generator:({size:t=a,growth:n=e.blob_nodes.size,edges:i=(e.blob_randomness.size<3?3:e.blob_randomness.size),seed:l=null}={})=>{const{destPoints:s,seedValue:c}=((e,t,n,a)=>{const i=e/2,r=t*(i/10),l=e/2,s=(e=>{const t=360/e;return Array(e).fill("a").map((e,n)=>n*t)})(n),c=Math.floor(99999*Math.random()),d=a||c,u=(e=>{const t=4294967295;let n=123456789+e&t,a=987654321-e&t;return function(){a=36969*(65535&a)+(a>>>16)&t,n=18e3*(65535&n)+(n>>>16)&t;let e=(a<<16)+(65535&n)>>>0;return e/=4294967296,e}})(d),p=[];return s.forEach(e=>{const t=((e,t,n)=>{let a=t+e*(n-t);return a=Math.min(n,Math.max(t,a)),a})(u(),r,i),n=((e,t,n)=>{const a=e+t*Math.cos(o(n)),i=e+t*Math.sin(o(n));return[Math.round(a),Math.round(i)]})(l,t,e);p.push(n)}),{destPoints:p,seedValue:d}})(t,n,i,l);return{path:r(s),seedValue:c}}}}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-blob-shape.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},340(){!function(e){const t=function(e){const t=document.querySelectorAll(".wta-eae-business-heading-wrapper"),n=e.attr("data-id"),a=document.querySelector(".elementor-element-"+n),i=a.querySelector(".wts-eae-business-days");let o=a.querySelector(".eae-tile-icon.eae-lottie-animation");if(i.querySelectorAll(".eae-business-weekdays-wrapper").forEach(e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}),null!=o){let e=JSON.parse(o.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:o,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}t.forEach(t=>{const n=e.attr("data-id"),a=(document.querySelector(".elementor-element-"+n),t.getAttribute("data-timezone"));let i=t.getAttribute("data-format");i="true"==i;let o=JSON.parse(t.getAttribute("data-settings"));const r={hour:"numeric",minute:"numeric",second:"numeric",hour12:i};function l(e){const n=new Date;let a;if(/^(\+|\-)\d{1,2}:\d{2}$/.test(e)){const[t,n]=e.split(":").map(Number);a=60*(60*t+n)}else if(Intl.DateTimeFormat(void 0,{timeZone:e}).resolvedOptions().timeZone===e){let a=new Date;a=a.toLocaleString("en-US",{timeZone:e}),n.setTime(Date.parse(a));var i=n;glbCurrenttime=n.getTime(),t.querySelector(".eae-indicator-time").innerHTML=i.toLocaleString("en-US",r)}if(a>=0||a<=0){const e=n.getTime()+6e4*n.getTimezoneOffset();n.setTime(e+1e3*a),i=n;let t=new Date;const o=t.getTime()+1e3*a;t.setTime(o),glbCurrenttime=Math.ceil(t.getTime()/1e3)}const o=t.querySelector(".eae-indicator-time");null!=o&&(o.innerHTML=i.toLocaleString("en-US",r))}function s(){openWrn=t.querySelector(".eae-bh-bi-open-wmsg"),closeWrn=t.querySelector(".eae-bh-bi-close-wmsg");const e=t.querySelector(".currentday");if(null!=e){const n=e.querySelectorAll(".bultr-bh-label-wrap"),a=Object.values(n);for(const e of a){const n=parseInt(e.getAttribute("data-open")),a=parseInt(e.getAttribute("data-close"));if("yes"==o.indctLabel&&(incicatorLabel=t.querySelector(".bultr-labelss"),incicatorLabel)){if(glbCurrenttime>n&&glbCurrenttime<a){incicatorLabel.innerHTML=o.openLableTxt,incicatorLabel.classList.add("bultr-lbl-open"),incicatorLabel.classList.remove("bultr-lbl-close");break}incicatorLabel.innerHTML=o.closeLabelTxt,incicatorLabel.classList.add("bultr-lbl-close"),incicatorLabel.classList.remove("bultr-lbl-open")}}for(const e of a){const n=parseInt(e.getAttribute("data-open")),a=parseInt(e.getAttribute("data-close"));if(openWrn=t.querySelector(".eae-bh-bi-open-wmsg"),closeWrn=t.querySelector(".eae-bh-bi-close-wmsg"),n>glbCurrenttime){openmints=Math.ceil((n-glbCurrenttime)/60),openmints<=parseInt(o.openMints)&&"yes"==o.openWrnMsg&&(openWrn||(openWrn=document.createElement("div"),openWrn.setAttribute("class","bultr-bh-bi-open-wmsg")),openWrn.innerHTML=o.openWrnMsgTxt+" "+openmints+" Minutes");break}openWrn&&(openWrn.innerHTML=""),(glbCurrenttime<a||glbCurrenttime>n)&&(closemints=Math.ceil((a-glbCurrenttime)/60),closemints<=parseInt(o.closeMints)&&(closemints>0?"yes"==o.closeWrnMsg&&(closeWrn||(closeWrn=document.createElement("div"),closeWrn.setAttribute("class","bultr-bh-bi-close-wmsg")),closeWrn.innerHTML=o.closeWrnMsgText+" "+closemints+" Minutes",closeWrn.innerHTML=o.closeWrnMsgText+" "+closemints+" Minutes"):closeWrn&&(closeWrn.innerHTML="")))}}}"yes"==o.businessIndicator&&(l(a),setInterval(l,1e3,a),s(),setInterval(s,1e3))})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-business-hours.default",t)})}(jQuery)},107(){!function(e){const t=function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t);let a=n.querySelector(".eae-cta-icon.eae-lottie");if(null!=a){let e=JSON.parse(a.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:a,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}let i=n.querySelector(".eae-cta-button").querySelectorAll(".eae-lottie");null!=i&&i.forEach(function(e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-call-to-action.default",t)})}(jQuery)},45(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-cp-wrapper"),a=JSON.parse(n.getAttribute("data-settings"));return{eid:e,element:t,wrapper:n,data:a}},onInit:function(){const e=this,{wrapper:t,data:n}=this.getDefaultElements();if(e.getLottie(t),e.contentBoxSize(),null!=n){const a=t.querySelector(".eae-cp-canvas-wrapper"),i=(t,a)=>{t.forEach(t=>{if(t.isIntersecting){const a=t.target;a.classList.contains("trigger")||(a.classList.add("trigger"),e.getTrack(a,n))}})};new IntersectionObserver(i,{root:null,rootMargin:"0px 0px -30% 0px"}).observe(a)}},onElementChange:function(e){"cp_track_width"!==e&&"cp_track_width"!==e||this.contentBoxSize()},getTrack:function(e,t){const n=this.getElementSettings(),a=e.querySelector(".eae-cp-canvas"),i=a.width/2,o=a.width*(t.progress_width/100)/2,r=a.width*(t.track_width/100)/2,l=e.querySelector(".eae-cp-procent"),s=a.getContext("2d"),c=t.start_angle,d=t.value,u=t.layout_type,p="full-circle"==u?360:180,f=a.width/2;let m=0,g=0;const y="percentage"==n.cp_value_type?"100":n.cp_max_value,h=t.animation_duration/(d/y*p);let v=0,b=0,w=0,S=0;S=o>=r?i-o/2:i-r/2,"full-circle"==u?(b=d/y*360,v=d,m=a.height/2,w="butt"==t.track_layout?"reverse"==t.animation_direction?Math.PI/180*(360-(c+90)):Math.PI/180*(360-(90-c)):"reverse"==t.animation_direction?Math.PI/180*(360-(c+90)+t.progress_width/2):Math.PI/180*(360-(90-c)-t.progress_width/2)):(b=d/y*180,m=a.height,v=d),s.lineCap=t.track_layout;let L=0,_="";if("gradient"==t.progress_color_type){const e=s.createConicGradient(w,f,m),n=t.progress_gradient_color;let a=0,i="";n.forEach(function(n){""!==n.cp_progress_gradient_color&&("full-circle"==u?(a=1*n.cp_progress_color_stop.size/100,"reverse"==t.animation_direction&&(a=1-a)):a="reverse"==t.animation_direction?1-.5*n.cp_progress_color_stop.size/100:.5*n.cp_progress_color_stop.size/100+.5,i=n.cp_progress_gradient_color,e.addColorStop(a,i))}),_=e}else _=t.progress_color;let A=0;if(null!==l||"yes"==t.hide_value&&""!=d){let e=setInterval(function(){if("full-circle"==u?("percentage"==n.cp_value_type?(L+=1,g=L/360*100):(L+=1,g=y*(L/360)),A=L,trackStartA=Math.PI/180*270,trackEndA=Math.PI/180*630,"reverse"==t.animation_direction?(progStartA=Math.PI/180*(360-(c+90)-L),progEndA=Math.PI/180*(360-(c+90))):(progStartA=Math.PI/180*(360-(90-c)),progEndA=Math.PI/180*(360-(90-c)+L)),"yes"!==t.hide_value&&(l.innerHTML=parseInt(g))):"half-circle"==u&&("percentage"==n.cp_value_type?(0!=d&&(L+=1),g=L/180*100):(0!=d&&(L+=1),g=y*(L/180*100)/100),A=L,trackStartA=1*Math.PI,trackEndA=0*Math.PI,"reverse"==t.animation_direction?(progEndA=Math.PI/180*720,progStartA=Math.PI/180*(360-L+360)):(progStartA=Math.PI/180*540,progEndA=Math.PI/180*(180+L)),"yes"!==t.hide_value&&(l.innerHTML=parseInt(g))),s.clearRect(0,0,a.width,a.height),""!==t.track_width&&0!==t.track_width&&(s.beginPath(),s.arc(f,m,S,trackStartA,trackEndA),s.strokeStyle=t.track_color,s.lineWidth=r,s.stroke()),""!=y&&0!=d&&""!==t.progress_width&&0!==t.progress_width&&(s.beginPath(),s.strokeStyle=_,s.lineWidth=o,s.arc(f,m,S,progStartA,progEndA)),s.stroke(),"full-circle"==u){for(;A<L+.99;)A.toFixed(2)==b&&(clearInterval(e),null!==l&&(l.innerHTML=d)),A+=.01;g>=v&&(clearInterval(e),null!==l&&(l.innerHTML=d))}else{for(;A<L+.99;)A.toFixed(2)==b&&(clearInterval(e),null!==l&&(l.innerHTML=d)),A+=.01;(g>=v||1==v)&&(clearInterval(e),null!==l&&(l.innerHTML=d))}0!=d&&""!=d||clearInterval(e)},h)}},getLottie:function(e){if(isLottiePanel=e.querySelector(".eae-lottie"),null!=isLottiePanel){let e=JSON.parse(isLottiePanel.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanel,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}},contentBoxSize:function(){let e=this.getElementSettings(),t=e.cp_content_box_size,n=e.cp_track_width,a=e.cp_progress_width;const{wrapper:i,data:o}=this.getDefaultElements();let r=i.querySelector(".eae-cp-text-contain");if(null!=r){let e=0;n.size>=a.size?""!==n.size&&(e=n.size):""!==a.size&&(e=a.size);let i=e,l=e;r.style.width="calc("+t.size+"% - "+i+"%)",r.style.height="calc("+t.size+"% - "+l+"%)","half-circle"==o.layout_type&&(borderRadius=r.offsetHeight+"px "+r.offsetHeight+"px  0 0",r.style.borderRadius=borderRadius)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-circular-progress.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},234(){},289(){"use strict";!function(e){const t=function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t),a=n.querySelector(".eae-device-video-outer-wrapper"),i=n.querySelector(".orientation i"),o=n.querySelector(".eae-wrapper");if(n.querySelector(".device-content").hasAttribute("data-settings")){var r=e.find(".device-content"),l=r.find(".device-img-content"),s=r.data("settings"),c=r.find("img"),d=s.direction,u=s.reverse,p=null;let m=n.querySelector(".eae-device-wrapper");function g(){c.css("transform",("vertical"===d?"translateY":"translateX")+"(-"+p+"px)")}function y(){c.css("transform",("vertical"===d?"translateY":"translateX")+"(0px)")}function h(){p=m.classList.contains("device-iphone11")?"vertical"===d?c.height()-r.height():c.width()-2.5*r.width():"vertical"===d?c.height()-r.height():c.width()-2*r.width()}"scroll"===s.trigger?(r.addClass("eae-container-scroll"),"vertical"===d&&l.addClass("scroll-vertical")):("yes"===u&&r.imagesLoaded(function(){r.addClass("eae_scroll"),h(),g()}),"vertical"===d&&l.removeClass("eae-image-scroll-ver"),r.mouseenter(function(){h(),"yes"===u?y():g()}),r.mouseleave(function(){"yes"===u?g():y()}))}if(n.querySelectorAll(".device-img-content").forEach(e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&n.setDirection(-1)}}),null!=i||null!=i){function v(e,t){e.classList.toggle("rotate"),t.classList.toggle("landscape")}i.addEventListener("click",function(e){v(i,o)})}if(null!=a){a.getAttribute("data-video-type");let b=a.getAttribute("data-autoplay");a.addEventListener("click",function(e){elementorFrontend.isEditMode()||f(this)}),"1"!=b||elementorFrontend.isEditMode()||new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&f(e.target,"autoplay")})},{root:null,rootMargin:"0px 0px -300px 0px"}).observe(a)}function f(e,t="null"){let a=e.getAttribute("data-video-type"),i=e.querySelector(".eae-device-video-play"),o="",r="";if(n.querySelector(".device-text").style.visibility="hidden","hosted"!=a&&(o=i.getAttribute("data-src")),"hosted"==a&&(r=e.getAttribute("data-hosted-html")),"hosted"!=a){var l=document.createElement("iframe");l.classList.add("eae-video-iframe"),l.setAttribute("src",o),l.setAttribute("frameborder","0"),l.setAttribute("allowfullscreen","1"),l.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),i.innerHTML="",e.classList.contains(".eae-sticky-apply")||null==e.querySelector(".eae-video-display-details")||(e.querySelector(".eae-video-display-details").style.display="none"),i.append(l)}else if("hosted"==a&&null==i.querySelector(".eae-hosted-video")){i.innerHTML="";let e=JSON.parse(r);i.innerHTML+=e,i.querySelector("video").setAttribute("autoplay","autoplay"),i.querySelector("video").style.width="100%",i.querySelector("video").style.height="100%"}}};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-devices.default",t)})}(jQuery)},482(){!function(e){const t=function(t){const n=t.attr("data-id"),a=document.querySelector(".elementor-element-"+n);let i=t.find(".eae-faq-wrapper").data("settings");if("accordion"===i.faq_layout){let n=i.faq_trigger_action,a=i.faq_accordion_transition_speed,o=i.faq_accordion_toggle,r=t.find(".eae-faq-item-wrapper > .eae-faq-answer");t.find(".eae-faq-question").on(`${n}`,function(t){if(t.preventDefault(),$this=e(this),"yes"!==o){if($this.hasClass("eae-faq-active")){if("click"===n)return!1;$this.removeClass("eae-faq-active"),$this.next(".eae-faq-answer").slideUp(a,"swing",function(){e(this).prev().removeClass("eae-faq-active"),$this.attr("aria-expanded","false")})}else r.hasClass("eae-faq-active")&&r.removeClass("eae-faq-active"),r.slideUp(a,"swing",function(){e(this).prev().removeClass("eae-faq-active")}),$this.addClass("eae-faq-active"),$this.next(".eae-faq-answer").slideDown(a,"swing",function(){e(this).prev().addClass("eae-faq-active"),$this.attr("aria-expanded","true")});return!1}$this.hasClass("eae-faq-active")?($this.removeClass("eae-faq-active"),$this.attr("aria-expanded","false")):($this.addClass("eae-faq-active"),$this.attr("aria-expanded","true")),$this.next(".eae-faq-answer").slideToggle(a,"swing")})}a.querySelector(".eae-faq-wrapper").querySelectorAll(".eae-faq-item-wrapper").forEach(e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&n.setDirection(-1)}})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-faq.default",t)})}(jQuery)},867(){!function(e){const t=function(t){const n=t.attr("data-id"),a=document.querySelector(".elementor-element-"+n).querySelector(".wta-eae-floating-image-wrapper");let i=a.querySelectorAll(".wts-eae-image.lottie-animation");a.querySelectorAll(".wts-eae-image").forEach(t=>{let n=t.getAttribute("data-settings"),a=JSON.parse(n),i="",o="";if(a.hasOwnProperty("isRotate")&&"yes"==a.isRotate&&(a.rotateX,a.rotateY,a.rotateZ,i="rotateX("+a.rotateX.from+"deg) rotateY("+a.rotateY.from+"deg) rotateZ("+a.rotateZ.from+"deg)",o="rotateX("+a.rotateX.to+"deg) rotateY("+a.rotateY.to+"deg) rotateZ("+a.rotateZ.to+"deg)"),a.hasOwnProperty("isTranslate")&&"yes"==a.isTranslate){let e=a.translateX,t=a.translateY;i=i+"translateX("+e.from+"px) translateY("+t.from+"px)",o=o+"translateX("+e.to+"px) translateY("+t.to+"px)"}if(a.hasOwnProperty("isScale")&&"yes"==a.isScale){let e=a.scaleX,t=a.scaleZ;i=i+" scaleX("+e.from+") scaleY("+t.from+")",o=o+"scaleX("+e.to+") scaleY("+t.to+")"}let r="crazy"+Math.random().toString(36).substring(2,7);jQuery.keyframe.define({name:r,from:{transform:i},to:{transform:o}}),e(t).playKeyframe({name:r,duration:a.Duration+"ms",timingFunction:"linear",delay:(""==a.Delay?0:a.Delay)+"ms",iterationCount:"infinite",direction:a.animationDirection,fillMode:"forwards",complete:function(){}})}),i.forEach(e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-floating-element.default",t)})}(jQuery)},836(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e);let a=null;return null!==n&&(a=n.querySelector(".elementor-form")),{eid:e,scope:t,element:n,form:a}},onInit:function(){const{eid:e,scope:t,element:n,form:a}=this.getDefaultElements(),{settings:i}=this.getDefaultSettings();if(null!==a){const e=a.querySelectorAll(".elementor-field-type-eae_dynamic_upload .eae-uploads");null!=e&&e.forEach(function(e){const t=e.querySelectorAll(".eae-upload-item");e.querySelectorAll(".eae-upload-close"),t.length>0&&t.forEach(function(e){e.querySelector(".eae-upload-close").addEventListener("click",function(){const t=e.getAttribute("data-upload-id"),n=e.getAttribute("data-upload-field");let i=a.querySelector('input[name="'+n+'"]').value.split(",");i=i.filter(e=>e!==t).join(","),a.querySelector('input[name="'+n+'"]').value=i,e.remove()})})});let t=document.querySelector(".eae-hidden-post-id");if(null!=t){null!=a.querySelector(".eae-hidden-post-id")&&a.querySelector(".eae-hidden-post-id").remove();const e=t.cloneNode(!0);a.appendChild(e)}}if(null!==a){const e=a.querySelectorAll(".elementor-field-type-eae_wysiwyg .elementor-field-wysiwyg");null!=e&&e.forEach(function(e){let t=!1;"yes"==e.dataset.required&&(t=!0),wp.editor.remove("form-field-"+e.getAttribute("data-custom_id")),wp.editor.initialize("form-field-"+e.getAttribute("data-custom_id"),{tinymce:{toolbar1:"fontsizeselect,backcolor,bold,italic,underline,bullist,numlist,blockquote,alignleft,aligncenter,alignright,alignjustify,link,wp_more,fullscreen,wp_adv",toolbar2:"strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help"},quicktags:!1,mediaButtons:!1,required:t})})}elementorFrontend.isEditMode()&&(elementor.hooks.addFilter("elementor_pro/forms/content_template/field/eae_dynamic_upload",function(e,t,n){let a="",i="form_fields["+t.custom_id+"]";return t.dynamic_allow_multiple_upload&&(a="multiple",i="form_fields["+t.custom_id+"][]"),t.dynamic_file_sizes||(data_maxsize=t.dynamic_file_sizes,data_maxsize_message="This file exceeds the maximum allowed size."),e='<input class="elementor-field elementor-size-sm elementor-upload-field" type="file" name="'+i+'" id="form-field-'+t.custom_id+'" '+a+" />",e+='<div class="eae-uploads elementor-repeater-item-'+t._id+'">',e+='<div class="eae-upload-item" data-upload-id="1" data-upload-field="'+i+'">',e+='<span class="eae-upload-close">',e+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"></path></svg>',e+="</span>",e+='<img src="'+eae.plugin_url+'assets/img/default.png" class="attachment-thumbnail size-thumbnail" alt="" decoding="async" />',(e+="</div>")+"</div>"}),elementor.hooks.addFilter("elementor_pro/forms/content_template/field/eae_wysiwyg",function(e,t,n){const a=t.required?"required":"";let i="";return e="",e+='<div style="width:100%">',e+='<textarea class="elementor-field-wysiwyg elementor-field" row="'+t.wysiwyg_rows+'" placeholder="" name="form_fields['+t.custom_id+']" id="form-field-'+t.custom_id+'" '+a+"></textarea>",i="<script>wp.editor.remove('form-field-"+t.custom_id+"'); wp.editor.initialize('form-field-"+t.custom_id+"', { tinymce: { toolbar1: 'fontsizeselect,backcolor,bold,italic,underline,bullist,numlist,blockquote,alignleft,aligncenter,alignright,alignjustify,link,wp_more,fullscreen,wp_adv',toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help'},quicktags: false, mediaButtons: false, required: true});<\/script>",(e+=i)+"</div>"},10,3))}}),elementorFrontend.hooks.addAction("frontend/element_ready/form.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},839(e,t,n){"use strict";var a=n(305);jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),a=n.querySelector(".eae-rw-container");return{eid:e,scope:t,element:n,wrapper:a}},onInit:function(){const e=this,{eid:t,scope:n,element:i,wrapper:o}=this.getDefaultElements(),{settings:r}=this.getDefaultSettings();if(null!=o){if(o.classList.contains("eae-rw-swiper")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new a.Y(e,t,n)}e.getLottie(o)}},getLottie:function(e){const t=e.querySelectorAll(".eae-lottie");null!=t&&t.forEach(function(e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)})}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-google-reviews.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},404(){!function(e){const t=function(e){const t=e.attr("data-id"),i=document.querySelector(".elementor-element-"+t).querySelector(".eae-img-acc-wrapper"),o=i.getAttribute("data-items");i.style.setProperty("--eae-panels",Number(o)-1);const r=i.getAttribute("data-action");i.querySelectorAll(".eae-img-panel").forEach(e=>{if("hover"==r?(e.addEventListener("mousemove",function(t){this.classList.contains("active")||(n(i),e.classList.add("active"),a(i))}),e.addEventListener("mouseleave",function(t){e.classList.remove("active"),a(i)})):e.addEventListener("click",function(t){this.classList.contains("active")||(n(i),e.classList.add("active"))}),isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}),window.addEventListener("resize",function(){let e=i.getAttribute("data-stacked");this.window.innerWidth<=e?i.classList.add("enable-stacked"):i.classList.remove("enable-stacked")})};function n(e){e.querySelectorAll(".eae-img-panel").forEach(e=>{e.classList.remove("active")})}function a(e){let t=e.getAttribute("data-defult-panel");e.querySelectorAll(".eae-img-panel.active").length>0||e.querySelectorAll(".eae-img-panel")[t-1].classList.add("active")}e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-accordion.default",t)})}(jQuery)},361(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-ih-wrapper");return{eid:e,element:t,wrapper:n,settings:this.getElementSettings()}},onInit:function(){const{wrapper:e,settings:t}=this.getDefaultElements(),n=e.querySelectorAll(".eae-ih-marker"),a=e.querySelectorAll(".eae-ih-tooltip"),i=t.tooltip_animation_type,o=e.querySelectorAll(".eae-ih-tooltip-show"),r=e.querySelectorAll(".eae-ih-rep-tooltip-show");this.getLottie();const l=[];n.forEach(function(e,s){const c=a[s].innerHTML;l[s]=tippy(e,{content:c,appendTo:"parent",placement:"auto",allowHTML:!0,hideOnClick:!1,arrow:!0,trigger:t.trigger,maxWidth:"none",onCreate:function(t){t.popper.classList.add("eae-ih-add-tooltip"),t.popper.childNodes.forEach(function(e){e.classList&&(e.classList.add("animated"),e.classList.add("eae-ih-tooltip-animtion"),e.classList.add(i))});const a=t.popper.querySelector(".eae-ih-tooltip-prev");null!=a&&a.addEventListener("click",function(){const e=this.getAttribute("data-tooltip-id")-1;l[e].hide(),l[e-1].show()});const r=t.popper.querySelector(".eae-ih-tooltip-next");null!=r&&r.addEventListener("click",function(){const e=this.getAttribute("data-tooltip-id")-1;l[e].hide(),l[e+1].show()});const c=t.popper.querySelector(".eae-ih-end-tour-btn");null!=c&&c.addEventListener("click",function(){const t=this.getAttribute("data-tooltip-id");l[t-1].hide(),o.length>0&&elementorFrontend.isEditMode()&&l[0].show(),e.classList.contains("eae-ih-rep-tooltip-show")&&l[s].show()});const d=t.popper.querySelector(".eae-ih-tooltip-close-icon");null!=d&&d.addEventListener("click",function(){const t=this.getAttribute("data-tooltip-id");l[t-1].hide(),o.length>0&&elementorFrontend.isEditMode()&&l[0].show(),e.classList.contains("eae-ih-rep-tooltip-show")&&l[s].show()}),0==s&&null!=a&&(a.style.display="none"),s==n.length-1&&null!=r&&(r.style.display="none")}}),e.addEventListener("click",function(){l.forEach((t,n)=>{if(o.length>0||r.length>0){const t=this.getAttribute("data-marker")-1;e.classList.contains("eae-ih-tooltip-show")||e.classList.contains("eae-ih-rep-tooltip-show")?l[t]&&l[t].show():l[t]&&l[t].hide()}0==o.length&&0==r.length&&n!==s&&t.hide(),elementorFrontend.isEditMode()||n!==s&&t.hide()})})}),o.length>0&&l[0].show(),r.length>0&&r.forEach(e=>{const t=e.getAttribute("data-marker")-1;l[t]&&l[t].show()})},getLottie:function(){const{wrapper:e}=this.getDefaultElements();e.querySelectorAll(".eae-lottie").forEach(function(e){if(null!=e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,appendTo:"parent",path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}})}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-hotspot.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},537(){!function(e){const t=function(e){var t=e.find(".wts-eae-image-scroll"),n=(t.find(".image-scroll-wrapper::before"),t.find(".image-scroll-wrapper")),a=t.data("settings"),i=t.find("img"),o=a.direction,r=a.reverse,l=null;const s=e.attr("data-id");var c=document.querySelector(".elementor-element-"+s).querySelector(".eae-lottie-animation");if(null!=c){let e=JSON.parse(c.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:c,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}function d(){i.css("transform",("vertical"===o?"translateY":"translateX")+"(-"+l+"px)")}function u(){i.css("transform",("vertical"===o?"translateY":"translateX")+"(0px)")}function p(){l="vertical"===o?i.height()-t.height():i.width()-t.width()}"scroll"===a.trigger?(t.addClass("eae-container-scroll"),"vertical"===o&&n.addClass("eae-image-scroll-ver")):("yes"===r&&t.imagesLoaded(function(){t.addClass("eae_scroll"),p(),d()}),"vertical"===o&&n.removeClass("eae-image-scroll-ver"),t.mouseenter(function(){p(),"yes"===r?u():d()}),t.mouseleave(function(){"yes"===r?d():u()}))};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-scroll.default",t)})}(jQuery)},210(){!function(e){const t=function(e){const t=e.attr("data-id");document.querySelector(".elementor-element-"+t).querySelector(".eae-image-stack").querySelectorAll(".img-stack-item.eae-is-ct-lottie-animation").forEach(e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-stack.default",t)})}(jQuery)},898(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-ig-wrapper");return{eid:e,element:t,wrapper:n}},onInit:function(){const{element:e,wrapper:t}=this.getDefaultElements(),{settings:n}=this.getDefaultSettings();isLottiePanel=t.querySelectorAll(".eae-ig-lottie"),null!=isLottiePanel&&isLottiePanel.forEach(e=>{let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)});let a="",i="";const o=e.querySelectorAll(".eae-ig-item-wrapper");o.forEach(e=>{e.classList.contains("eae-ig-active-item")&&(t.classList.add("eae-ig-active"),e.classList.contains("slide")?this.infoSlideDown(e):this.infoFadeIn(e),a=e,i=e)}),e.querySelectorAll(".eae-ig-close-button").forEach(e=>{e.addEventListener("click",()=>{o.forEach(e=>{e.classList.contains("eae-ig-active-item")&&(this.cloAnimation(e,n.description_animtion_type),e.classList.remove("eae-ig-active-item"),t.classList.remove("eae-ig-active"),a="",i="")})})}),"button"==n.description_trigger_on?e.querySelectorAll(".eae-ig-link").forEach(e=>{e.addEventListener("click",()=>{if(o.forEach(e=>{e.classList.contains("eae-ig-active-item")&&(this.cloAnimation(e,n.description_animtion_type),e.classList.remove("eae-ig-active-item"),t.classList.remove("eae-ig-active"))}),a!==e){let o=e.parentElement.parentElement;o.classList.add("eae-ig-active-item"),t.classList.add("eae-ig-active"),this.opAnimation(o,n.description_animtion_type),a=e,i=""}else a=""})}):o.forEach(e=>{e.addEventListener("click",()=>{o.forEach(e=>{e.classList.contains("eae-ig-active-item")&&(e.classList.remove("eae-ig-active-item"),t.classList.remove("eae-ig-active"),this.cloAnimation(e,n.description_animtion_type))}),i!=e?(e.classList.add("eae-ig-active-item"),t.classList.add("eae-ig-active"),this.opAnimation(e,n.description_animtion_type),i=e):i="",a=""})})},opAnimation:function(e,t){"slide"==t?setTimeout(this.infoSlideDown,400,e):setTimeout(this.infoFadeIn,400,e)},cloAnimation:function(e,t){"slide"==t?this.infoSlideUp(e):this.infoFadeOut(e)},infoSlideUp:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).slideUp()},infoSlideDown:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).slideDown()},infoFadeIn:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).fadeIn()},infoFadeOut:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).fadeOut()}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-group.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},862(e,t,n){"use strict";var a=n(305);jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{selectors:{container:".eae-post-collection",item:".eae-insta-post",grid_gap:".grid-gap",swiper_wrapper:".eae-swiper-outer-wrapper"},settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.getSettings("selectors");return{container:this.$element.find(e.container),items:this.$element.find(e.item),grid_gap:this.$element.find(e.grid_gap),swiper_wrapper:this.$element.find(e.swiper_wrapper)}},onInit:function(){const{container:e}=this.getDefaultElements(),{settings:t}=this.getSettings(),n=this;"masonry"==t.insta_feed_layout&&e.imagesLoaded().done(function(){n.runMasonry()}),window.addEventListener("resize",this.runMasonry.bind(this)),this.runSwiper(),this.runLightbox()},onElementChange:function(e){"insta_feed_row_gap"===e&&this.runMasonry()},runMasonry:function(){const{settings:e}=this.getSettings();if("masonry"!=e.insta_feed_layout)return;const{container:t,items:n,grid_gap:a}=this.getDefaultElements();var i,o,r=[],l=0;l=t.position().top,i=t.css("grid-template-columns").split(" ").length,o=a.width(),l+=parseInt(t.css("margin-top"),10),n.each(function(e){var t=Math.floor(e/i),n=jQuery(this),a=n[0].getBoundingClientRect().height+o;if(t){var s=n.position(),c=e%i,d=s.top-l-r[c];d*=-1,n.css("margin-top",d+"px"),r[c]+=a}else r.push(a),n.css("margin-top",0);n.css("visibility","visible")})},runSwiper:function(){const{settings:e}=this.getSettings();if("carousel"!=e.insta_feed_layout)return;const t=this.$element.data("id"),{swiper_wrapper:n}=this.getDefaultElements(),i=n.data("swiper-settings");new a.Y(i,t)},runLightbox:function(){const{container:e}=this.getDefaultElements();if(!e.hasClass("lightbox"))return;var t={selector:".eae-insta-post-link"};const n=this.$element.data("id");var a=document.getElementById("insta-grid-"+n),i=JSON.parse(e.attr("data-lg-settings"));t={...t,...i};var o={plugins:[lgVideo,lgShare,lgZoom,lgHash,lgRotate,lgFullscreen,lgThumbnail]};t={...t,...o},lightGallery(a,t)}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-instagram-feed.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},994(){jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-toc-wrapper");return{eid:e,element:t,wrapper:n}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),n=this,a=e.anchors_by_tags.join(",");this.getLottie();let i="";i=null!=e.included_container&&""!=e.included_container?document.querySelector(e.included_container):document.querySelector(".elementor");let o=[],r=[];if(""!=a){const l=i.querySelectorAll(a);let s=0;l.forEach(function(e,t){e.classList.contains("eae-toc-heading")&&s++,0==s?o[t]=e:s=0}),o=this.excludeHeadings(o),this.addAnchors(o),o.forEach(function(e,t){r.push({tag:e.nodeName.slice(1),text:e.textContent,class:e.className})}),"yes"==e.hierarchical_view?r=this.addLevel(r):r.forEach(function(e){e.level=0});let c=this.getHeadings(0,r,0);if(""!=c.html&&(t.querySelector(".eae-toc-headings-wrapper").innerHTML=c.html),"yes"==e.collapse_box&&this.minimizeBox(t),"yes"==e.toc_sticky&&this.stickyToc(),"yes"==e.follow_heading){let a=t.querySelectorAll(".eae-toc-heading-anchor-wrapper"),i=[],o="";o=""!=e.follow_heading_offset.size?e.follow_heading_offset.size+e.follow_heading_offset.unit:"50%",""!=a&&(a.forEach(function(e,t){i[t]=document.querySelector("#eae-toc-heading-anchor-"+t)}),i.forEach(function(e,t){null!=e&&n.followHeading(e,t,a,o)}))}}this.getScrollEffect()},getScrollEffect:function(){let e=document.querySelector("html");e.classList.contains("eae-toc-scroll")||e.classList.add("eae-toc-scroll")},getLottie:function(){const{wrapper:e}=this.getDefaultElements();if(isLottiePanel=e.querySelector(".eae-lottie"),null!=isLottiePanel){let e=JSON.parse(isLottiePanel.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanel,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}},addAnchors:function(e){let t=0;e.forEach(function(e,n){newNode="<span id='eae-toc-heading-anchor-"+t+"'></span>",e.insertAdjacentHTML("beforebegin",newNode),t++})},addLevel:function(e){const{settings:t}=this.getDefaultSettings();return e.forEach(function(t,n){t.level=0;for(var a=n-1;a>=0;a--){let n=e[a];if(n.tag<=t.tag){t.level=n.level,n.tag<t.tag&&t.level++;break}}}),e},excludeHeadings:function(e){const{settings:t}=this.getDefaultSettings();if(""!==t.anchors_by_selector&&void 0!==t.anchors_by_selector){let n=t.anchors_by_selector.split(",");return e.filter(e=>{for(flag=0,i=0;i<n.length;i++){if(e.class==n[i]||null!=e.closest(n[i])){flag=0;break}flag++}return 0!=flag?item=e:item="",item})}return e},getHeadings:function(e,t,n){const{settings:a}=this.getDefaultSettings();let i="",o='<div class="eae-toc-heading-anchor-wrapper">',r="</div>";if(0!=t.length){i="<ul>";for(var l=n;l<t.length&&!(e>t[l].level);l++)if(e===t[l].level){let s="<a class='eae-toc-heading-anchor eae-toc-heading-anchor-"+l+"' href='#eae-toc-heading-anchor-"+l+"'>"+t[l].text+"</a></div>";if(s="bullets"==a.marker_type?o+'<i class="'+a.icon.value+'"></i>'+s+r:o+s+r,i+="<li>"+s,n++,nextItem=t[n],null!=nextItem&&e<nextItem.level){let e=this.getHeadings(nextItem.level,t,n);i+=e.html,n=e.listItemIn}i+="</li>"}i+="</ul>"}else i="No headings were found on this page.";return{html:i,listItemIn:n}},minimizeBox:function(e){const{settings:t}=this.getDefaultSettings();let n=e.querySelector(".eae-toc-heading-container"),a=e.querySelector(".eae-toc-headings-wrapper");1440==t.toc_collapse_devices&&1440==screen.width&&n.classList.add("eae-toc-active"),window.addEventListener("resize",function(){let e=t.toc_collapse_devices;this.window.innerWidth<e?(jQuery(a).slideUp(),n.classList.remove("eae-toc-active")):(jQuery(a).slideDown(),n.classList.add("eae-toc-active"))}),n.classList.contains("eae-toc-active")&&jQuery(a).slideDown(),n.addEventListener("click",e=>{n.classList.contains("eae-toc-active")?(jQuery(a).slideUp(),n.classList.remove("eae-toc-active")):(jQuery(a).slideDown(),n.classList.add("eae-toc-active")),a.classList.contains("eae-toc-hide")&&a.classList.remove("eae-toc-hide")})},stickyToc:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:n}=this.getDefaultElements(),a=t.querySelector(".eae-toc-heading-container"),i=this;let o=0,r=this.offsetCal();if("yes"==e.toc_sticky)if(this.stickyDevices(),new Waypoint({element:t,handler:function(e){t.classList.contains("eae-toc-sticky-type-on-place")&&("down"==e?t.classList.contains("eae-toc-sticky")||t.classList.add("eae-toc-sticky"):t.classList.contains("eae-toc-sticky")&&t.classList.remove("eae-toc-sticky"))},offset:"1%"}),"yes"==e.toc_stay_in_column){const l=new Waypoint({element:n.parentElement,handler:function(a,r){t.classList.contains("eae-toc-sticky-type-on-place")&&("down"==a?(t.classList.contains("eae-toc-sticky")&&t.classList.remove("eae-toc-sticky"),n.classList.contains("eae-toc-fix")||n.classList.add("eae-toc-fix")):"up"==a&&(n.classList.contains("eae-toc-fix")&&n.classList.remove("eae-toc-fix"),t.classList.contains("eae-toc-sticky")||t.classList.add("eae-toc-sticky"))),"yes"==e.collapse_box&&0==o&&(l.destroy(),i.addParentWaypoint(),o++)},offset:"-"+r+"px"});a.classList.contains("eae-toc-active")&&"yes"==e.collapse_box&&0==o&&(l.destroy(),setTimeout(i.addParentWaypoint,400),o++)}else"yes"!=e.collapse_box&&(t.parentElement.style.height=t.clientHeight+"px")},addParentWaypoint:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:n}=this.getDefaultElements(),a=this;let i=0,o=this.offsetCal();const r=new Waypoint({element:n.parentElement,handler:function(o){t.classList.contains("eae-toc-sticky-type-on-place")&&("down"==o?(t.classList.contains("eae-toc-sticky")&&t.classList.remove("eae-toc-sticky"),n.classList.contains("eae-toc-fix")||n.classList.add("eae-toc-fix")):"up"==o&&(n.classList.contains("eae-toc-fix")&&n.classList.remove("eae-toc-fix"),t.classList.contains("eae-toc-sticky")||t.classList.add("eae-toc-sticky")),"yes"==e.collapse_box&&0==i&&(r.destroy(),a.addParentWaypoint(),i++))},offset:"-"+o+"px"});return r},offsetCal:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:n}=this.getDefaultElements();let a=n.parentElement.clientHeight-t.clientHeight;return"top"==e.vertical_alignment?""!=e.top_spacing.size&&(a-=e.top_spacing.size):"bottom"==e.vertical_alignment&&""!==e.bottom_spacing.size&&(a-=screen.height-t.clientHeight-e.bottom_spacing.size),a},stickyDevices:function(){const{wrapper:e}=this.getDefaultElements(),{settings:t}=this.getDefaultSettings(),n=t.toc_sticky_devices;e.classList.contains("eae-toc-sticky-type-on-place")&&e.classList.remove("eae-toc-sticky-type-on-place"),e.classList.contains("eae-toc-sticky")&&e.classList.remove("eae-toc-sticky"),n.forEach(function(t){t==elementorFrontend.getCurrentDeviceMode()&&(e.classList.contains("eae-toc-sticky-type-on-place")||e.classList.add("eae-toc-sticky-type-on-place"))}),window.addEventListener("resize",function(){let t=elementorFrontend.getCurrentDeviceMode();e.classList.contains("eae-toc-sticky-type-on-place")&&e.classList.remove("eae-toc-sticky-type-on-place"),e.classList.contains("eae-toc-sticky")&&e.classList.remove("eae-toc-sticky"),n.forEach(function(n){n==t&&(e.classList.contains("eae-toc-sticky-type-on-place")||e.classList.add("eae-toc-sticky-type-on-place"))})})},followHeading:function(e,t,n,a){let i="";new Waypoint({element:document.getElementById(e.id),handler:function(t){n.forEach(function(t,n){i=t.querySelector(".eae-toc-heading-anchor"),i.classList.contains(e.id)?t.classList.contains("eae-toc-active-heading")||t.classList.add("eae-toc-active-heading"):t.classList.contains("eae-toc-active-heading")&&t.classList.remove("eae-toc-active-heading")})},offset:a})}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-table-of-content.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},784(e,t,n){"use strict";var a=n(305);!function(e){const t=function(e){if(e.find(".eae-tm-swiper-container").hasClass("eae-swiper")){const t=e.data("id"),n=e.find(".eae-tm-swiper-container").data("swiper-settings");new a.Y(n,t,e)}};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-team-member.default",t)})}(jQuery)},793(e,t,n){"use strict";var a=n(305);jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),a=n.querySelector(".eae-testimonial-wrapper");return{eid:e,element:n,wrapper:a,scope:t}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t,scope:n}=this.getDefaultElements();let{element:i}=this.getDefaultElements();const{eid:o}=this.getDefaultElements(),r=t.querySelectorAll(".eae-additional-image.eae-preset-2"),l=(t.querySelectorAll(".eae-ts-content-section"),parseInt(t.getAttribute("data-stacked")));if(t.classList.contains("eae-testimonial-slider")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new a.Y(e,o,n)}window.addEventListener("resize",function(){this.window.innerWidth<=l?r.forEach(e=>{e.style.display="none"}):r.forEach(e=>{e.style.display="flex"})})}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-testimonial.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},501(){!function(e){const t=function(e){const t=e.attr("data-id");document.querySelector(".elementor-element-"+t).querySelectorAll(".eae-text-scroll-wrapper").forEach(e=>{const t=[...e.querySelectorAll(".eae-text-slide")],n=JSON.parse(e.getAttribute("data-settings"));let a=0;function i(e){e.forEach(e=>{e.style.transform=`translateX(${-e.i}px)`,e.i+=e.step,e.i>=e.width?e.i=0:e.i<0&&(e.i=e.width)}),requestAnimationFrame(()=>i(e))}t.forEach((t,i)=>{t.innerHTML="&nbsp;".repeat(n.Gap.size)+t.innerHTML+"&nbsp;".repeat(n.Gap.size),a+=t.offsetHeight,console.log(a),e.style.height=a+n.rowGap.size*i+"px";let o=parseFloat(t.getAttribute("data-speed")),r=parseInt(t.getAttribute("data-direction"),10);const l=e.clientWidth;i>0&&(t.style.top=a-t.offsetHeight+n.rowGap.size*i+"px");let s=t.clientWidth;if(t.i=0,t.step=o*r*.1,t.width=t.clientWidth+1,function(e){isLottiePanels=e.querySelectorAll(".eae-lottie"),null!=isLottiePanels&&isLottiePanels.forEach(e=>{let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});console.log({eae_animation:n}),1==t.reverse&&n.setDirection(-1)})}(e),l>s){let e=Math.ceil(l/s)+1,n=Array(e).fill(`${t.innerHTML}`).join("");t.innerHTML=n,s=t.clientWidth}else{let e=Array(2).fill(`${t.innerHTML}`).join("");t.innerHTML=e}"yes"===n.pauseOnHover&&(t.addEventListener("mouseenter",()=>t.step=0,!1),t.addEventListener("mouseleave",()=>t.step=o*r*.1,!1))}),requestAnimationFrame(()=>i(t))})};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-text-scroll.default",t)})}(jQuery)},393(){!function(e){let t=0,n=0;const a=function(e){const t=e.attr("data-id"),a=document.querySelector(".elementor-element-"+t),r=a.querySelector(".eae-video-outer-wrapper");if(n=r.getBoundingClientRect().top+window.scrollY,null!=r){let e=r.getAttribute("data-video-type"),t="",n="",s="";r.hasAttribute("data-video-sticky")&&(t=r.getAttribute("data-video-sticky")),r.hasAttribute("data-autoplay")&&(n=r.getAttribute("data-autoplay")),r.hasAttribute("data-lightbox")&&(s=r.getAttribute("data-lightbox"));var l=a.querySelector(".eae-lottie-animation");if("yes"==t){let e=r.getAttribute("data-preview-sticky");if(elementorFrontend.isEditMode()&&"yes"==e||!elementorFrontend.isEditMode()){i(r),document.addEventListener("scroll",()=>{window.requestAnimationFrame?window.requestAnimationFrame(()=>{i(r)}):i(r)});const e=r.querySelector(".eae-video-sticky-close");null!=e&&e.addEventListener("click",function(e){e.stopPropagation(),r.classList.remove("eae-sticky-apply"),r.classList.add("eae-sticky-hide")})}}if(null!=l){let e=JSON.parse(l.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:l,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}if("yes"!=s&&r.addEventListener("click",function(e){elementorFrontend.isEditMode()||o(this)}),"1"!=n||elementorFrontend.isEditMode()||new Waypoint({element:r,handler:function(e){"down"==e&&o(r)},offset:"bottom-in-view"}),"yes"==s){let t=r.querySelector(".eae-video-wrappper").getAttribute("data-gallery-id");null!=t&&""!=t||(t="1");let n=[lgVideo,lgHash];"yes"==r.querySelector(".eae-video-wrappper").getAttribute("data-share")&&n.push(lgShare),"yes"==r.querySelector(".eae-video-wrappper").getAttribute("data-fullscreen")&&n.push(lgFullscreen);let a={selector:".eae-video-play",download:!1,counter:!1,galleryId:t,autoplayFirstVideo:!0,plugins:n,videojs:!0,videojsOptions:{muted:!0}};"hosted"!=e?a[`${e}PlayerParams`]=JSON.parse(r.querySelector(".eae-video-wrappper").getAttribute("data-params")):a.videojsOptions=JSON.parse(r.querySelector(".eae-video-wrappper").getAttribute("data-params")),elementorFrontend.isEditMode()||lightGallery(r,a)}}};function i(e){e.getBoundingClientRect().top;let a=window.scrollY;window.scrollY+150>=n?(e.classList.remove("eae-sticky-hide"),e.classList.add("eae-sticky-apply"),null!=e.querySelector(".eae-video-display-details")&&(e.querySelector(".eae-video-display-details").style.display="block")):(e.classList.remove("eae-sticky-apply"),e.classList.add("eae-sticky-hide"),null!=e.querySelector(".eae-video-display-details")&&(e.querySelector(".eae-video-display-details").style.display="none")),t=a<=0?0:a}function o(e){let t=e.getAttribute("data-video-type"),n=e.querySelector(".eae-video-play"),a="",i="";if("hosted"!=t&&(a=n.getAttribute("data-src")),"hosted"==t&&(i=e.getAttribute("data-hosted-html")),e.querySelector("iframe"),"hosted"!=t){var o=document.createElement("iframe");o.classList.add("eae-video-iframe"),o.setAttribute("src",a),o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen","1"),o.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),n.innerHTML="",e.classList.contains(".eae-sticky-apply")||null==e.querySelector(".eae-video-display-details")||(e.querySelector(".eae-video-display-details").style.display="none"),n.append(o)}else if("hosted"==t&&null==n.querySelector(".eae-hosted-video")){n.innerHTML="";let e=JSON.parse(i);n.innerHTML+=e;let t=n.querySelector("video");t.setAttribute("autoplay","autoplay"),n.hasAttribute("data-video-downaload")&&t.setAttribute("controlslist","nodownload"),n.hasAttribute("data-controls")&&t.setAttribute("controls",""),n.querySelector("video").style.width="100%",n.querySelector("video").style.height="100%"}}e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-video-box.default",a)})}(jQuery)},322(e,t,n){"use strict";var a=n(305);!function(e){const t=function(e){const t=e.attr("data-id"),i=document.querySelector(".elementor-element-"+t),o=i.querySelector(".eae-vg-video-container");if(null!==o){const t=o.querySelectorAll(".eae-vg-element-wrapper");if(o.querySelectorAll(".eae-vg-element-wrapper"),elementorFrontend.isEditMode()||o.classList.contains("lightbox")||function(e){e.querySelectorAll(".eae-vg-element").forEach(function(e,t){e.addEventListener("click",function(t){if(e.classList.remove("eae-vg-image-overlay"),e.getAttribute("data-video-url"),"hosted"!=e.getAttribute("data-video-type")){let t=e.getAttribute("data-video-url");e.innerHTML="";var n=document.createElement("iframe");n.classList.add("eae-vg-video-iframe"),n.setAttribute("src",t),n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen","1"),n.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),e.append(n)}else if(null==e.querySelector(".eae-hosted-video")){let t=e.getAttribute("data-hosted-html");e.innerHTML="";let n=JSON.parse(t);e.innerHTML+=n;let a=e.querySelector("video");a.setAttribute("autoplay","autoplay"),e.hasAttribute("data-video-downaload")&&a.setAttribute("controlslist","nodownload"),e.hasAttribute("data-controls")&&a.setAttribute("controls","")}})})}(o),function(e){e.forEach(function(e,t){const n=e.querySelector(".eae-vg-element");if(null!==n){let e=n.querySelector(".eae-lottie");if(null!=e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}}})}(t),e.find(".eae-vg-wrapper").hasClass("eae-vg-filter")){const t=i.querySelector(".eae-vg-filter-button-container");if(t.querySelectorAll(".eae-vg-filter-tab").length>1){const a=t.querySelectorAll(".eae-filter-button"),r=o.querySelectorAll(".eae-vg-element-wrapper"),l=t.querySelector(".eae-vg-dropdown-tab");let s=t.querySelector(".eae-vg-active-button");l.querySelectorAll(".eae-vg-filters-item").forEach(function(e){let t=e.querySelector(".eae-filter-button");s.getAttribute("data-filter")==t.getAttribute("data-filter")&&t.classList.add("eae-vg-active-button")}),a.forEach(function(t,i){t.classList.contains("eae-vg-active-button")&&r.forEach(function(e){"all"==t.getAttribute("data-filter")||e.classList.contains(t.getAttribute("data-filter"))?e.classList.add("eae-vg-active"):e.classList.add("eae-vg-filter-hidden")}),t.addEventListener("click",function(i){r.forEach(function(e){e.classList.contains("eae-vg-filter-hidden")&&e.classList.remove("eae-vg-filter-hidden"),e.classList.contains("eae-vg-active")&&e.classList.remove("eae-vg-active")}),r.forEach(function(e){"all"==t.getAttribute("data-filter")?e.classList.contains("eae-vg-active")||(e.classList.add("transit-in"),setTimeout(n,500,e)):(e.classList.contains("eae-vg-active")&&e.classList.remove("eae-vg-active"),e.classList.contains(t.getAttribute("data-filter"))&&(e.classList.add("transit-in"),setTimeout(n,500,e)),function(e,t){t.forEach(function(t){t.classList.contains(e)||(t.classList.add("transit-out"),function(e){e.classList.add("eae-vg-filter-hidden"),e.classList.remove("transit-out"),e.classList.contains("eae-vg-active")&&e.classList.remove("eae-vg-active")}(t))})}(t.getAttribute("data-filter"),r))}),a.forEach(function(e){e.classList.contains("eae-vg-active-button")&&e.classList.remove("eae-vg-active-button")}),t.classList.add("eae-vg-active-button"),l.querySelectorAll(".eae-vg-filters-item").forEach(function(e){let n=e.querySelector(".eae-filter-button");t.getAttribute("data-filter")==n.getAttribute("data-filter")&&n.classList.add("eae-vg-active-button")}),function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t).querySelector(".eae-vg-filter-button-container").querySelector(".eae-vg-filter-tab").querySelector(".eae-vg-filter-dropdown");let a="";if(null!=n&&(a=n.querySelector(".eae-vg-active-button")),null==a){let e=n.getAttribute("data-button-text");n.querySelector(".eae-vg-dropdown-filter-text").textContent=e,n.classList.contains("eae-vg-active-button")&&n.classList.remove("eae-vg-active-button")}}(e)})});const c=i.querySelector(".eae-vg-wrapper"),d=c.querySelectorAll(".eae-vg-filter-tab");let u="";window.addEventListener("resize",function(){let e=c.getAttribute("data-stacked");this.window.innerWidth<=e?d.forEach(function(e){e.classList.contains("eae-vg-dropdown-tab")?(e.classList.add("enable-vg-dropdown-layout"),e.classList.remove("disable-vg-dropdown-layout")):e.classList.add("disable-vg-dropdown-layout")}):d.forEach(function(e){if(e.classList.contains("eae-vg-dropdown-tab"))e.classList.add("disable-vg-dropdown-layout"),e.classList.remove("enable-vg-dropdown-layout");else{e.classList.remove("disable-vg-dropdown-layout");let t=e.querySelector(".eae-vg-collapse");null!=t&&t.querySelectorAll(".eae-vg-filters-item").forEach(function(e){let n=e.querySelector(".eae-vg-active-button");if(null!=n){let e=n.textContent;t.querySelector(".eae-vg-dropdown-filter-text").textContent=e,t.classList.contains("eae-vg-active-button")||t.classList.add("eae-vg-active-button")}})}});const t=c.querySelector(".eae-vg-dropdown-tab");let n=t.querySelector(".eae-vg-filter-dropdown");p=t.querySelectorAll(".eae-vg-filters-item"),p.forEach(function(e){let t=e.querySelector(".eae-vg-active-button");if(null!=t){let e=t.textContent;u.querySelector(".eae-vg-dropdown-filter-text").textContent=e,n.classList.add("eae-vg-active-button")}})}),d.forEach(function(e){e.classList.contains("eae-vg-dropdown-tab")&&(u=e.querySelector(".eae-vg-filter-dropdown"))}),u.classList.remove("eae-vg-visible");let p=u.querySelector(".eae-vg-collaps-item-list").querySelectorAll(".eae-vg-filters-item");const f=e=>{e.stopPropagation(),e.preventDefault(),u.classList.toggle("eae-vg-visible"),p.forEach(function(e){let t="";if(t=e.querySelector(".eae-vg-active-button"),null!=t){let e=t.textContent;u.querySelector(".eae-vg-dropdown-filter-text").textContent=e,function(e,t){t.forEach(function(t){t.classList.contains("disable-vg-dropdown-layout")&&t.querySelectorAll(".eae-filter-button").forEach(function(t){e.getAttribute("data-filter")==t.getAttribute("data-filter")&&t.classList.add("eae-vg-active-button")})})}(t,d),u.classList.add("eae-vg-active-button")}})};u.removeEventListener("click",f),u.addEventListener("click",f)}}if(!elementorFrontend.isEditMode()&&o.classList.contains("lightbox")){var r={selector:".eae-vg-element"},l=JSON.parse(o.getAttribute("data-lg-settings"));r={...r,...l};var s={plugins:[lgVideo,lgShare,lgHash,lgFullscreen,lgThumbnail]};r={...r,...s},lightGallery(o,r)}if(e.find(".eae-vg-wrapper").hasClass("eae-vg-filter")){let e="",t={};e=i.querySelector(".eae-vg-collapse"),t.dropDown=e,function(e={}){let t=e.dropDown;if(null!=t){t.classList.remove("eae-vg-visible");let e=t.querySelector(".eae-vg-collaps-item-list").querySelectorAll(".eae-vg-filters-item");const n=n=>{n.stopPropagation(),n.preventDefault(),t.classList.toggle("eae-vg-visible"),e.forEach(function(e){let n="";if(n=e.querySelector(".eae-vg-active-button"),null!=n){let e=n.textContent;t.querySelector(".eae-vg-dropdown-filter-text").textContent=e,t.classList.add("eae-vg-active-button")}})};t.removeEventListener("click",n),t.addEventListener("click",n)}}(t)}if(e.find(".eae-vg-wrapper").hasClass("eae-swiper-outer-wrapper")){const t=e.data("id"),n=e.find(".eae-swiper-outer-wrapper").data("swiper-settings");new a.Y(n,t)}}};function n(e){e.classList.add("eae-vg-active"),e.classList.remove("transit-in"),e.classList.contains("eae-vg-filter-hidden")&&e.classList.remove("eae-vg-filter-hidden")}e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-video-gallery.default",t)})}(jQuery)},82(e,t,n){"use strict";var a=n(305);jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),a=n.querySelector(".eae-woo-cat-wrapper");return{eid:e,element:n,wrapper:a,scope:t}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t,scope:n}=this.getDefaultElements();let{element:i}=this.getDefaultElements();const{eid:o}=this.getDefaultElements();let r=t.querySelectorAll(".eae-category-card");if(t.classList.contains("eae-wp-slider")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new a.Y(e,o,n)}window.addEventListener("resize",function(){let e=t.getAttribute("data-stacked");this.window.innerWidth<=e?t.classList.add("enable-stacked"):t.classList.remove("enable-stacked")}),r.forEach(e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&n.setDirection(-1)}})},onElementChange:function(e){}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-woo-category.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},870(e,t,n){"use strict";var a,i=n(305);(a=jQuery)(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),a=n.querySelector(".eae-woo-products");return{eid:e,element:n,wrapper:a,scope:t}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t,scope:n}=this.getDefaultElements();let{element:o}=this.getDefaultElements();const{eid:r}=this.getDefaultElements();if(t.querySelectorAll(".open-popup-link").forEach(e=>a(e).eaePopup({type:"inline",midClick:!0,mainClass:"eae-wp-modal-box eae-wp-"+r,callbacks:{open:function(){jQuery(window).trigger("resize")}}})),t.classList.contains("eae-wp-slider")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new i.Y(e,r,n)}t.querySelectorAll(".eae-wp-buy-now").forEach(function(e){e.addEventListener("click",function(t){t.preventDefault();var n=e.getAttribute("data-product-id"),a=e.getAttribute("data-quantity");const i=eae.checkout_url,o=new URLSearchParams;o.append("action","eae_add_to_cart"),o.append("product_id",n),o.append("quantity",a),o.append("eae_nonce",eae.nonce),fetch(eae.ajaxurl,{method:"post",credentials:"same-origin",body:o}).then(e=>{e.json()}).then(e=>{window.location.href=i}).catch(e=>{console.error("Error:",e)})})})},onElementChange:function(e){}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-woo-products.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})},607(e,t,n){"use strict";var a=n(305);jQuery(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),a=n.querySelector(".eae-youtube-feeds");return{eid:e,scope:t,element:n,wrapper:a}},onInit:function(){const e=this,{eid:t,scope:n,element:i,wrapper:o}=this.getDefaultElements(),{settings:r}=this.getDefaultSettings();if(null!=o){if(o.classList.contains("eae-youtube-carousel")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");e&&new a.Y(e,t,n)}e.initVideoPlayback(o,n,r),"live"===r.eae_request_mode?e.initAjaxLoading(o,n,r):"cache"===r.eae_request_mode&&e.initCacheLoading(o,n,r)}},initAjaxLoading:function(e,t,n){const a=this;e.addEventListener("click",function(i){i.preventDefault();const o=i.target.closest(".eae-youtube-load-more-btn, .eae-youtube-next-btn, .eae-youtube-prev-btn");if(!o||!e.contains(o))return;if(o.disabled)return;o.disabled=!0,e.classList.add("eae-youtube-loading");const r="playlist"===n.eae_youtube_layout?".eae-youtube-playlist-items":".eae-youtube-videos-wrapper",l=e.querySelector(r),s=o.classList.contains("eae-youtube-prev-btn")?o.dataset.prevPageToken||"":o.dataset.nextPageToken||"",c=new FormData;c.append("action","eae_youtube_ajax_videos"),c.append("settings",JSON.stringify(n)),c.append("next_page_token",s),c.append("eae_nonce",eae.nonce),fetch(eae.ajaxurl,{method:"POST",body:c}).then(e=>e.json()).then(i=>{if(o.disabled=!1,i.success&&i.data.html){if(l.style.opacity="0.5",setTimeout(function(){if(o.classList.contains("eae-youtube-load-more-btn")?l.insertAdjacentHTML("beforeend",i.data.html):l.innerHTML=i.data.html,l.style.opacity="1",a.initVideoPlayback(e,t,n),o.classList.contains("eae-youtube-load-more-btn")){a.updateBtn(o,i.data.next_page_token,"next-page-token");const t=e.querySelector(".eae-youtube-count");if(t){const a=e.querySelectorAll(".eae-youtube-item").length;t.innerHTML="range"==n.eae_youtube_counter_type?"1 - "+a:a}const r=e.querySelector(".eae-youtube-playlist-footer");r&&""==i.data.next_page_token&&(r.style.display="none")}e.classList.remove("eae-youtube-loading")},200),o.classList.contains("eae-youtube-next-btn")){a.updateBtn(o,i.data.next_page_token,"next-page-token");const t=e.querySelector(".eae-youtube-prev-btn");t&&(a.updateBtn(t,i.data.prev_page_token,"prev-page-token"),"cache"===n.eae_request_mode&&(a.prevNextBtnCounterCalc(e,o),a.updatePrevNextCount(e)))}if(o.classList.contains("eae-youtube-prev-btn")){a.updateBtn(o,i.data.prev_page_token,"prev-page-token");const t=e.querySelector(".eae-youtube-next-btn");t&&(a.updateBtn(t,i.data.next_page_token,"next-page-token"),"cache"===n.eae_request_mode&&(a.prevNextBtnCounterCalc(e,o),a.updatePrevNextCount(e)))}}}).catch(e=>{console.error("YouTube Feeds AJAX failed:",e)}).finally(()=>{o.disabled=!1,e.classList.remove("eae-youtube-loading"),l&&(l.style.opacity="1")})})},getCount:function(e){return parseInt(e.getAttribute("data-count"))||0},updateBtn:function(e,t,n){e&&(e.style.display=t?"flex":"none",e.setAttribute("data-"+n,t))},initCacheLoading:function(e,t,n){const a=this;e.addEventListener("click",function(t){const i=t.target,o=parseInt(n.eae_video_count)||6,r=e.querySelectorAll(".eae-youtube-item");if(i.classList.contains("eae-youtube-load-more-btn")){e.classList.add("eae-youtube-loading");let t=a.getCount(i)+o;setTimeout(()=>{if(r.forEach((e,n)=>e.style.display=n<t?"flex":"none"),e.classList.remove("eae-youtube-loading"),i.setAttribute("data-count",t),t>=r.length){i.style.display="none";const t=e.querySelector(".eae-youtube-playlist-footer");t&&(t.style.display="none")}},500);const l=e.querySelector(".eae-youtube-count");if(l){const e=t>=n.eae_cache_limit?n.eae_cache_limit:t;l.innerHTML="range"==n.eae_youtube_counter_type?"1 - "+e:e}}if(i.classList.contains("eae-youtube-next-btn")||i.classList.contains("eae-youtube-prev-btn")){const t=e.querySelector(".eae-youtube-prev-btn"),n=e.querySelector(".eae-youtube-next-btn");e.classList.add("eae-youtube-loading"),a.prevNextBtnCounterCalc(e,i),setTimeout(()=>{const i=parseInt(t.getAttribute("data-count"))||0,o=parseInt(n.getAttribute("data-count"))||r.length;r.forEach((e,t)=>e.style.display=t>=i&&t<o?"flex":"none"),e.classList.remove("eae-youtube-loading"),a.updatePrevNextCount(e)},500)}})},prevNextBtnCounterCalc:function(e,t){const{settings:n}=this.getDefaultSettings(),a=parseInt(n.eae_video_count)||6;let i=this.getCount(t);const o=e.querySelector(".eae-youtube-prev-btn"),r=e.querySelector(".eae-youtube-next-btn");t.classList.contains("eae-youtube-next-btn")?(i+=a,i>=n.eae_cache_limit&&(t.style.display="none"),i>a&&(o.style.display="flex"),o.setAttribute("data-count",i-a)):i>0&&(i-=a,i<a&&(t.style.display="none"),i<n.eae_cache_limit&&(r.style.display="flex"),r.setAttribute("data-count",i+a)),t.setAttribute("data-count",i)},updatePrevNextCount:function(e){const{settings:t}=this.getDefaultSettings();if("range"==t.eae_youtube_counter_type){const n=e.querySelector(".eae-youtube-prev-btn"),a=e.querySelector(".eae-youtube-next-btn"),i=parseInt(n.getAttribute("data-count"))||0,o=parseInt(a.getAttribute("data-count"))||t.eae_video_count,r=e.querySelector(".eae-youtube-count");if(r){const e=0==i?1:i;r.innerHTML=e+" - "+o}}},initVideoPlayback:function(e,t,n){const a=this;if("lightbox"===n.eae_youtube_playback_mode&&"playlist"!==n.eae_youtube_layout)return void a.runLightbox();let i;i="playlist"===n.eae_youtube_layout?".eae-youtube-item":"card"===n.content_skin?".eae-youtube-content":".eae-youtube-thumbnail";const o=e.querySelectorAll(i);if(o.forEach(function(t){t.addEventListener("click",function(i){i.preventDefault();const r=t.dataset.embedUrl;if("playlist"!==n.eae_youtube_layout){if("inline"===n.eae_youtube_playback_mode){const n=t.closest(".eae-youtube-item");a.playInline(n,r,e)}}else o.forEach(function(e){e.classList.contains("eae-youtube-playing")&&e.classList.remove("eae-youtube-playing")}),a.playInPlayer(e,r),t.classList.add("eae-youtube-playing")})}),"playlist"===n.eae_youtube_layout){const t=e.querySelector(".eae-youtube-playlist-player");t&&t.addEventListener("click",function(){const t=e.querySelectorAll(".eae-youtube-item");t.length&&t[0].click()})}},runLightbox:function(){const{wrapper:e,scope:t}=this.getDefaultElements();let n=t.find(".eae-youtube-lightbox");if(!n.hasClass("lightbox"))return;var a={selector:".eae-youtube-item"};const i=n.attr("data-lg-settings")||"{}";let o={};try{o=JSON.parse(i)}catch(e){o={}}a={...a,...o};const r=["undefined"!=typeof lgVideo?lgVideo:null,"undefined"!=typeof lgShare?lgShare:null,"undefined"!=typeof lgZoom?lgZoom:null,"undefined"!=typeof lgHash?lgHash:null,"undefined"!=typeof lgRotate?lgRotate:null,"undefined"!=typeof lgFullscreen?lgFullscreen:null,"undefined"!=typeof lgThumbnail?lgThumbnail:null].filter(Boolean);a={...a,plugins:r},"function"==typeof lightGallery&&lightGallery(e,a)},playInPlayer:function(e,t){const n=e.querySelector(".eae-youtube-playlist-player");if(n){const e=document.createElement("iframe");e.src=t,e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay; encrypted-media"),n.innerHTML="",n.appendChild(e),n.classList.add("playing")}},playInline:function(e,t,n){if(n.querySelectorAll(".eae-youtube-item.playing").forEach(function(e){e.classList.remove("playing");const t=e.querySelector(".eae-youtube-inline-player");t&&(t.innerHTML="")}),!e.querySelector(".eae-youtube-inline-player")){const t=document.createElement("div");t.className="eae-youtube-inline-player";const n=e.querySelector(".eae-youtube-content");n.parentNode.insertBefore(t,n)}const a=document.createElement("iframe");a.src=t,a.setAttribute("frameborder","0"),a.setAttribute("allowfullscreen",""),a.setAttribute("allow","autoplay; encrypted-media"),a.setAttribute("title","YouTube video player");const i=e.querySelector(".eae-youtube-inline-player");i&&i.appendChild(a),e.classList.add("playing")}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-youtube-feeds.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n(305),n(734),n(211),n(327),n(259),n(948),n(147),n(340),n(107),n(45),n(234),n(289),n(482),n(867),n(836),n(839),n(404),n(361),n(537),n(210),n(898),n(862),n(994),n(784),n(793),n(501),n(393),n(322),n(82),n(870),n(607)})();
(function(){var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a();})();
jQuery(document).on("elementor/render/animation-text",function(e){jQuery(".eae-at-animation-text-wrapper .eae-at-animation-text:first-child").addClass("is-visible");var a,t,s=2500;function n(e){var i=l(e);if(e.parents(".eae-at-animation").hasClass("type")){var a=e.parent(".eae-at-animation-text-wrapper");a.addClass("selected").removeClass("waiting"),setTimeout(function(){a.removeClass("selected"),e.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")},500),setTimeout(function(){!function(e,i){e.parents(".eae-at-animation").hasClass("type")&&(r(e.find("i").eq(0),e,!1,i),e.addClass("is-visible").removeClass("is-hidden"))}(i,150)},1300)}else if(e.parents(".eae-at-animation").hasClass("letters")){var t=e.children("i").length>=i.children("i").length;o(e.find("i").eq(0),e,t,50),r(i.find("i").eq(0),i,t,50)}else d(e,i),setTimeout(function(){n(i)},s)}function o(e,i,a,t){if(e.removeClass("in").addClass("out"),e.is(":last-child")?a&&setTimeout(function(){n(l(i))},s):setTimeout(function(){o(e.next(),i,a,t)},t),e.is(":last-child")&&jQuery("html").hasClass("no-csstransitions")){var r=l(i);d(i,r)}}function r(e,i,a,t){e.addClass("in").removeClass("out"),e.is(":last-child")?(i.parents(".eae-at-animation").hasClass("type")&&setTimeout(function(){i.parents(".eae-at-animation-text-wrapper").addClass("waiting")},200),a||setTimeout(function(){n(i)},s)):setTimeout(function(){r(e.next(),i,a,t)},t)}function l(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()}function d(e,i){e.removeClass("is-visible").addClass("is-hidden"),i.removeClass("is-hidden").addClass("is-visible")}jQuery(".eae-at-animation.letters").find(".eae-at-animation-text").each(function(){var e=jQuery(this),a=e.text().split(""),t=e.hasClass("is-visible");for(i in a)a[i]=t?'<i class="in">'+a[i]+"</i>":"<i>"+a[i]+"</i>";var s=a.join("");e.html(s).css("opacity",1)}),a=jQuery(".eae-at-animation-text-wrapper"),t=s,a.each(function(){var e=jQuery(this);if(!e.hasClass("type")){var i=e.find(".eae-at-animation-text-wrapper .eae-at-animation-text"),a=0;i.each(function(){var e=jQuery(this).width();e>a&&(a=e)}),e.find(".eae-at-animation-text-wrapper").css("width",a)}setTimeout(function(){n(e.find(".is-visible").eq(0))},t)})});
var pJS=function(e,a){var t=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:t,w:t.offsetWidth,h:t.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;a&&Object.deepExtend(i,a),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()})},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,a,t){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=t?t.x:Math.random()*i.canvas.w,this.y=t?t.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,t),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var n=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(n)}else null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var s={};switch(i.particles.move.direction){case"top":s={x:0,y:-1};break;case"top-right":s={x:.5,y:-.5};break;case"right":s={x:1,y:-0};break;case"bottom-right":s={x:.5,y:.5};break;case"bottom":s={x:0,y:1};break;case"bottom-left":s={x:-.5,y:1};break;case"left":s={x:-1,y:0};break;case"top-left":s={x:-.5,y:-.5};break;default:s={x:0,y:0}}i.particles.move.straight?(this.vx=s.x,this.vy=s.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=s.x+Math.random()-.5,this.vy=s.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var r=i.particles.shape.type;if("object"==typeof r){if(r instanceof Array){var c=r[Math.floor(Math.random()*r.length)];this.shape=c}}else this.shape=r;if("image"==this.shape){var o=i.particles.shape;this.img={src:o.image.src,ratio:o.image.width/o.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&null!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){var e=this;if(null!=e.radius_bubble)var a=e.radius_bubble;else a=e.radius;if(null!=e.opacity_bubble)var t=e.opacity_bubble;else t=e.opacity;if(e.color.rgb)var n="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+t+")";else n="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+t+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),e.shape){case"circle":i.canvas.ctx.arc(e.x,e.y,a,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(e.x-a,e.y-a,2*a,2*a);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,e.x-a,e.y+a/1.66,2*a,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,e.x-a/(i.particles.shape.polygon.nb_sides/3.5),e.y-a/.76,2.66*a/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,e.x-2*a/(i.particles.shape.polygon.nb_sides/4),e.y-a/1.52,2*a*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var s=e.img.obj;else s=i.tmp.img_obj;s&&i.canvas.ctx.drawImage(s,e.x-a,e.y-a,2*a,2*a/e.img.ratio)}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e<i.particles.number.value;e++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value))},i.fn.particlesUpdate=function(){for(var e=0;e<i.particles.array.length;e++){var a=i.particles.array[e];if(i.particles.move.enable){var t=i.particles.move.speed/2;a.x+=a.vx*t,a.y+=a.vy*t}if(i.particles.opacity.anim.enable&&(1==a.opacity_status?(a.opacity>=i.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=i.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),i.particles.size.anim.enable&&(1==a.size_status?(a.radius>=i.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=i.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==i.particles.move.out_mode)var n={x_left:a.radius,x_right:i.canvas.w,y_top:a.radius,y_bottom:i.canvas.h};else n={x_left:-a.radius,x_right:i.canvas.w+a.radius,y_top:-a.radius,y_bottom:i.canvas.h+a.radius};if(a.x-a.radius>i.canvas.w?(a.x=n.x_left,a.y=Math.random()*i.canvas.h):a.x+a.radius<0&&(a.x=n.x_right,a.y=Math.random()*i.canvas.h),a.y-a.radius>i.canvas.h?(a.y=n.y_top,a.x=Math.random()*i.canvas.w):a.y+a.radius<0&&(a.y=n.y_bottom,a.x=Math.random()*i.canvas.w),"bounce"===i.particles.move.out_mode)(a.x+a.radius>i.canvas.w||a.x-a.radius<0)&&(a.vx=-a.vx),(a.y+a.radius>i.canvas.h||a.y-a.radius<0)&&(a.vy=-a.vy);if(isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(a),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(a),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(a),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var s=e+1;s<i.particles.array.length;s++){var r=i.particles.array[s];i.particles.line_linked.enable&&i.fn.interact.linkParticles(a,r),i.particles.move.attract.enable&&i.fn.interact.attractParticles(a,r),i.particles.move.bounce&&i.fn.interact.bounceParticles(a,r)}}},i.fn.particlesDraw=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h),i.fn.particlesUpdate();for(var e=0;e<i.particles.array.length;e++){i.particles.array[e].draw()}},i.fn.particlesEmpty=function(){i.particles.array=[]},i.fn.particlesRefresh=function(){cancelRequestAnimFrame(i.fn.checkAnimFrame),cancelRequestAnimFrame(i.fn.drawAnimFrame),i.tmp.source_svg=void 0,i.tmp.img_obj=void 0,i.tmp.count_svg=0,i.fn.particlesEmpty(),i.fn.canvasClear(),i.fn.vendors.start()},i.fn.interact.linkParticles=function(e,a){var t=e.x-a.x,n=e.y-a.y,s=Math.sqrt(t*t+n*n);if(s<=i.particles.line_linked.distance){var r=i.particles.line_linked.opacity-s/(1/i.particles.line_linked.opacity)/i.particles.line_linked.distance;if(r>0){var c=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+c.r+","+c.g+","+c.b+","+r+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(a.x,a.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,n=e.y-a.y;if(Math.sqrt(t*t+n*n)<=i.particles.line_linked.distance){var s=t/(1e3*i.particles.move.attract.rotateX),r=n/(1e3*i.particles.move.attract.rotateY);e.vx-=s,e.vy-=r,a.vx+=s,a.vy+=r}},i.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y;Math.sqrt(t*t+i*i)<=e.radius+a.radius&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},i.fn.modes.pushParticles=function(e,a){i.tmp.pushing=!0;for(var t=0;t<e;t++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:a?a.pos_x:Math.random()*i.canvas.w,y:a?a.pos_y:Math.random()*i.canvas.h})),t==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,n=1-(l=Math.sqrt(a*a+t*t))/i.interactivity.modes.bubble.distance;function s(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}if(l<=i.interactivity.modes.bubble.distance){if(n>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){(c=e.radius+i.interactivity.modes.bubble.size*n)>=0&&(e.radius_bubble=c)}else{var r=e.radius-i.interactivity.modes.bubble.size,c=e.radius-r*n;e.radius_bubble=c>0?c:0}var o;if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value)(o=i.interactivity.modes.bubble.opacity*n)>e.opacity&&o<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=o);else(o=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*n)<e.opacity&&o>=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=o)}}else s();"mouseleave"==i.interactivity.status&&s()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){a=e.x-i.interactivity.mouse.click_pos_x,t=e.y-i.interactivity.mouse.click_pos_y;var l=Math.sqrt(a*a+t*t),v=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;v>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),v>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}function p(a,t,n,s,r){if(a!=t)if(i.tmp.bubble_duration_end)null!=n&&(o=a+(a-(s-v*(s-a)/i.interactivity.modes.bubble.duration)),"size"==r&&(e.radius_bubble=o),"opacity"==r&&(e.opacity_bubble=o));else if(l<=i.interactivity.modes.bubble.distance){if(null!=n)var c=n;else c=s;if(c!=a){var o=s-v*(s-a)/i.interactivity.modes.bubble.duration;"size"==r&&(e.radius_bubble=o),"opacity"==r&&(e.opacity_bubble=o)}}else"size"==r&&(e.radius_bubble=void 0),"opacity"==r&&(e.opacity_bubble=void 0)}i.tmp.bubble_clicking&&(p(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),p(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(a*a+t*t),s={x:a/n,y:t/n},r=clamp(1/(o=i.interactivity.modes.repulse.distance)*(-1*Math.pow(n/o,2)+1)*o*100,0,50),c={x:e.x+s.x*r,y:e.y+s.y*r};"bounce"==i.particles.move.out_mode?(c.x-e.radius>0&&c.x+e.radius<i.canvas.w&&(e.x=c.x),c.y-e.radius>0&&c.y+e.radius<i.canvas.h&&(e.y=c.y)):(e.x=c.x,e.y=c.y)}else if(i.interactivity.events.onclick.enable&&isInArray("repulse",i.interactivity.events.onclick.mode))if(i.tmp.repulse_finish||(i.tmp.repulse_count++,i.tmp.repulse_count==i.particles.array.length&&(i.tmp.repulse_finish=!0)),i.tmp.repulse_clicking){var o=Math.pow(i.interactivity.modes.repulse.distance/6,3),l=i.interactivity.mouse.click_pos_x-e.x,v=i.interactivity.mouse.click_pos_y-e.y,p=l*l+v*v,d=-o/p*1;p<=o&&function(){var a=Math.atan2(v,l);if(e.vx=d*Math.cos(a),e.vy=d*Math.sin(a),"bounce"==i.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};(t.x+e.radius>i.canvas.w||t.x-e.radius<0)&&(e.vx=-e.vx),(t.y+e.radius>i.canvas.h||t.y-e.radius<0)&&(e.vy=-e.vy)}}()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(a*a+t*t);if(n<=i.interactivity.modes.grab.distance){var s=i.interactivity.modes.grab.line_linked.opacity-n/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(s>0){var r=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+s+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",function(e){if(i.interactivity.el==window)var a=e.clientX,t=e.clientY;else a=e.offsetX||e.clientX,t=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=a,i.interactivity.mouse.pos_y=t,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"}),i.interactivity.el.addEventListener("mouseleave",function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"})),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable||1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout(function(){i.tmp.repulse_clicking=!1},1e3*i.interactivity.modes.repulse.duration)}})},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var a=e*i.particles.number.value/i.particles.number.density.value_area,t=i.particles.array.length-a;t<0?i.fn.modes.pushParticles(Math.abs(t)):i.fn.modes.removeParticles(t)}},i.fn.vendors.checkOverlap=function(e,a){for(var t=0;t<i.particles.array.length;t++){var n=i.particles.array[t],s=e.x-n.x,r=e.y-n.y;Math.sqrt(s*s+r*r)<=e.radius+n.radius&&(e.x=a?a.x:Math.random()*i.canvas.w,e.y=a?a.y:Math.random()*i.canvas.h,i.fn.vendors.checkOverlap(e))}},i.fn.vendors.createSvgImg=function(e){var a=i.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,function(a,t,i,n){if(e.color.rgb)var s="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+e.opacity+")";else s="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+e.opacity+")";return s}),t=new Blob([a],{type:"image/svg+xml;charset=utf-8"}),n=window.URL||window.webkitURL||window,s=n.createObjectURL(t),r=new Image;r.addEventListener("load",function(){e.img.obj=r,e.img.loaded=!0,n.revokeObjectURL(s),i.tmp.count_svg++}),r.src=s},i.fn.vendors.destroypJS=function(){cancelAnimationFrame(i.fn.drawAnimFrame),t.remove(),pJSDom=null},i.fn.vendors.drawShape=function(e,a,t,i,n,s){var r=n*s,c=n/s,o=180*(c-2)/c,l=Math.PI-Math.PI*o/180;e.save(),e.beginPath(),e.translate(a,t),e.moveTo(0,0);for(var v=0;v<r;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var a=new XMLHttpRequest;a.open("GET",i.particles.shape.image.src),a.onreadystatechange=function(e){4==a.readyState&&(200==a.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},a.send()}else{var t=new Image;t.addEventListener("load",function(){i.tmp.img_obj=t,i.fn.vendors.checkBeforeDraw()}),t.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):null!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&null==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};function hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,a,t,i){return a+a+t+t+i+i});var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return a?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null}function clamp(e,a,t){return Math.min(Math.max(e,a),t)}function isInArray(e,a){return a.indexOf(e)>-1}Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.particlesJS=function(e,a){"string"!=typeof e&&(a=e,e="particles-js"),e||(e="particles-js");var t=document.getElementById(e),i="particles-js-canvas-el",n=t.getElementsByClassName(i);if(n.length)for(;n.length>0;)t.removeChild(n[0]);var s=document.createElement("canvas");s.className=i,s.style.width="100%",s.style.height="100%",null!=document.getElementById(e).appendChild(s)&&pJSDom.push(new pJS(e,a))},window.particlesJS.load=function(e,a,t){var i=new XMLHttpRequest;i.open("GET",a),i.onreadystatechange=function(a){if(4==i.readyState)if(200==i.status){var n=JSON.parse(a.currentTarget.response);window.particlesJS(e,n),t&&t()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()};
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(e){var t,n,o,i,a,r,s="Close",l="BeforeClose",c="MarkupParse",d="Open",u="Change",p="mfp",f="."+p,m="mfp-ready",g="mfp-removing",h="mfp-prevent-close",v=function(){},y=!!window.jQuery,C=e(window),w=function(e,n){t.ev.on(p+e+f,n)},b=function(t,n,o,i){var a=document.createElement("div");return a.className="mfp-"+t,o&&(a.innerHTML=o),i?n&&n.appendChild(a):(a=e(a),n&&a.appendTo(n)),a},I=function(n,o){t.ev.triggerHandler(p+n,o),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(o)?o:[o]))},x=function(n){return n===r&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),r=n),t.currTemplate.closeBtn},k=function(){e.eaePopup.instance||((t=new v).init(),e.eaePopup.instance=t)};v.prototype={constructor:v,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),o=e(document),t.popupsCache={}},open:function(n){var i;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var r,s=n.items;for(i=0;i<s.length;i++)if((r=s[i]).parsed&&(r=r.el[0]),r===n.el[0]){t.index=i;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],a="bp-popup",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=o,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.eaePopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=b("bg").on("click"+f,function(){t.close()}),t.wrap=b("wrap").attr("tabindex",-1).on("click"+f,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=b("container",t.wrap)),t.contentContainer=b("content"),t.st.preloader&&(t.preloader=b("preloader",t.container,t.st.tLoading));var l=e.eaePopup.modules;for(i=0;i<l.length;i++){var u=l[i];u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t)}I("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(w(c,function(e,t,n,o){n.close_replaceWith=x(o.type)}),a+=" eae-close-btn-in"):t.wrap.append(x())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:C.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+f,function(e){27===e.keyCode&&t.close()}),C.on("resize"+f,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var p=t.wH=C.height(),g={};if(t.fixedContentPos&&t._hasScrollBar(p)){var h=t._getScrollbarSize();h&&(g.marginRight=h)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),I("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(m),t._setFocus()):t.bgOverlay.addClass(m),o.on("focusin"+f,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(p),I(d),n}t.updateItemHTML()},close:function(){t.isOpen&&(I(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(g),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){I(s);var n=g+" "+m+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}o.off("keyup.mfp focusin"+f),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","bp-popup mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,I("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,o=window.innerHeight*n;t.wrap.css("height",o),t.wH=o}else t.wH=e||C.height();t.fixedContentPos||t.wrap.css("height",t.wH),I("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var o=n.type;if(I("BeforeChange",[t.currItem?t.currItem.type:"",o]),t.currItem=n,!t.currTemplate[o]){var a=!!t.st[o]&&t.st[o].markup;I("FirstMarkupParse",a),t.currTemplate[o]=!a||e(a)}i&&i!==n.type&&t.container.removeClass("mfp-"+i+"-holder");var r=t["get"+o.charAt(0).toUpperCase()+o.slice(1)](n,t.currTemplate[o]);t.appendContent(r,o),n.preloaded=!0,I(u,n),i=n.type,t.container.prepend(t.contentContainer),I("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".eae-close").length||t.content.append(x()):t.content=e:t.content="",I("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var o,i=t.items[n];if(i.tagName?i={el:e(i)}:(o=i.type,i={data:i,src:i.src}),i.el){for(var a=t.types,r=0;r<a.length;r++)if(i.el.hasClass("mfp-"+a[r])){o=a[r];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=o||t.st.type||"inline",i.index=n,i.parsed=!0,t.items[n]=i,I("ElementParse",i),t.items[n]},addGroup:function(e,n){var o=function(o){o.mfpEl=this,t._openClick(o,e,n)};n||(n={});var i="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(i).on(i,o)):(n.isObj=!1,n.delegate?e.off(i).on(i,n.delegate,o):(n.items=e,e.off(i).on(i,o)))},_openClick:function(n,o,i){if((void 0!==i.midClick?i.midClick:e.eaePopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var a=void 0!==i.disableOn?i.disableOn:e.eaePopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(C.width()<a)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),i.el=e(n.mfpEl),i.delegate&&(i.items=o.find(i.delegate)),t.open(i)}},updateStatus:function(e,o){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),o||"loading"!==e||(o=t.st.tLoading);var i={status:e,text:o};I("UpdateStatus",i),e=i.status,o=i.text,t.preloader.html(o),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(h)){var o=t.st.closeOnContentClick,i=t.st.closeOnBgClick;if(o&&i)return!0;if(!t.content||e(n).hasClass("eae-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(o)return!0}else if(i&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?o.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,o){var i;o.data&&(n=e.extend(o.data,n)),I(c,[t,n,o]),e.each(n,function(n,o){if(void 0===o||!1===o)return!0;if((i=n.split("_")).length>1){var a=t.find(f+"-"+i[0]);if(a.length>0){var r=i[1];"replaceWith"===r?a[0]!==o[0]&&a.replaceWith(o):"img"===r?a.is("img")?a.attr("src",o):a.replaceWith(e("<img>").attr("src",o).attr("class",a.attr("class"))):a.attr(i[1],o)}}else t.find(f+"-"+n).html(o)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.eaePopup={instance:null,proto:v.prototype,modules:[],open:function(t,n){return k(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.eaePopup.instance&&e.eaePopup.instance.close()},registerModule:function(t,n){n.options&&(e.eaePopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="eae-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.eaePopup=function(n){k();var o=e(this);if("string"==typeof n)if("open"===n){var i,a=y?o.data("magnificPopup"):o[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?i=a.items[r]:(i=o,a.delegate&&(i=i.find(a.delegate)),i=i.eq(r)),t._openClick({mfpEl:i},o,a)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),y?o.data("magnificPopup",n):o[0].magnificPopup=n,t.addGroup(o,n);return o};var T,_,P,S="inline",E=function(){P&&(_.after(P.addClass(T)).detach(),P=null)};e.eaePopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(S),w(s+"."+S,function(){E()})},getInline:function(n,o){if(E(),n.src){var i=t.st.inline,a=e(n.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(_||(T=i.hiddenClass,_=b(T),T="mfp-"+T),P=a.after(_).detach().removeClass(T)),t.updateStatus("ready")}else t.updateStatus("error",i.tNotFound),a=e("<div>");return n.inlineElement=a,a}return t.updateStatus("ready"),t._parseMarkup(o,{},n),o}}});var z,O="ajax",M=function(){z&&e(document.body).removeClass(z)},B=function(){M(),t.req&&t.req.abort()};e.eaePopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(O),z=t.st.ajax.cursor,w(s+"."+O,B),w("BeforeChange."+O,B)},getAjax:function(n){z&&e(document.body).addClass(z),t.updateStatus("loading");var o=e.extend({url:n.src,success:function(o,i,a){var r={data:o,xhr:a};I("ParseAjax",r),t.appendContent(e(r.data),O),n.finished=!0,M(),t._setFocus(),setTimeout(function(){t.wrap.addClass(m)},16),t.updateStatus("ready"),I("AjaxContentAdded")},error:function(){M(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}});var L;e.eaePopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="eae-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,o=".image";t.types.push("image"),w(d+o,function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)}),w(s+o,function(){n.cursor&&e(document.body).removeClass(n.cursor),C.off("resize"+f)}),w("Resize"+o,t.resizeImage),t.isLowIE&&w("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,I("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,o=e.img[0],i=function(a){L&&clearInterval(L),L=setInterval(function(){o.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval(L),3===++n?i(10):40===n?i(50):100===n&&i(500))},a)};i(1)},getImage:function(n,o){var i=0,a=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,I("ImageLoadComplete")):++i<200?setTimeout(a,100):r())},r=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=o.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.el&&n.el.find("img").length&&(c.alt=n.el.find("img").attr("alt")),n.img=e(c).on("load.mfploader",a).on("error.mfploader",r),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),(c=n.img[0]).naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(o,{title:function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var o=t.st.image.titleSrc;if(o){if(e.isFunction(o))return o.call(t,n);if(n.el)return n.el.attr(o)||""}return""}(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(L&&clearInterval(L),n.loadError?(o.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(o.removeClass("mfp-loading"),t.updateStatus("ready")),o):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,o.addClass("mfp-loading"),t.findImageSize(n)),o)}}});var H;e.eaePopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,o=".zoom";if(n.enabled&&t.supportsTransition){var i,a,r=n.duration,c=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+n.duration/1e3+"s "+n.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return i["-webkit-"+a]=i["-moz-"+a]=i["-o-"+a]=i[a]=o,t.css(i),t},d=function(){t.content.css("visibility","visible")};w("BuildControls"+o,function(){if(t._allowZoom()){if(clearTimeout(i),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void d();(a=c(e)).css(t._getOffset()),t.wrap.append(a),i=setTimeout(function(){a.css(t._getOffset(!0)),i=setTimeout(function(){d(),setTimeout(function(){a.remove(),e=a=null,I("ZoomAnimationEnded")},16)},r)},16)}}),w(l+o,function(){if(t._allowZoom()){if(clearTimeout(i),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=c(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout(function(){a.css(t._getOffset())},16)}}),w(s+o,function(){t._allowZoom()&&(d(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var o,i=(o=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),a=parseInt(o.css("padding-top"),10),r=parseInt(o.css("padding-bottom"),10);i.top-=e(window).scrollTop()-a;var s={width:o.width(),height:(y?o.innerHeight():o[0].offsetHeight)-r-a};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});var A="iframe",F=function(e){if(t.currTemplate[A]){var n=t.currTemplate[A].find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.eaePopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="eae-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(A),w("BeforeChange",function(e,t,n){t!==n&&(t===A?F():n===A&&F(!0))}),w(s+"."+A,function(){F()})},getIframe:function(n,o){var i=n.src,a=t.st.iframe;e.each(a.patterns,function(){if(i.indexOf(this.index)>-1)return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var r={};return a.srcAction&&(r[a.srcAction]=i),t._parseMarkup(o,r,n),t.updateStatus("ready"),o}}});var j=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},N=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.eaePopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;a+=" mfp-gallery",w(d+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),o.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),w("UpdateStatus"+i,function(e,n){n.text&&(n.text=N(n.text,t.currItem.index,t.items.length))}),w(c+i,function(e,o,i,a){var r=t.items.length;i.counter=r>1?N(n.tCounter,a.index,r):""}),w("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var o=n.arrowMarkup,i=t.arrowLeft=e(o.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(h),a=t.arrowRight=e(o.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(h);i.click(function(){t.prev()}),a.click(function(){t.next()}),t.container.append(i.add(a))}}),w(u+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),w(s+i,function(){o.off(i),t.wrap.off("click"+i),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=j(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=j(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,o=Math.min(n[0],t.items.length),i=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=j(n),!t.items[n].preloaded){var o=t.items[n];o.parsed||(o=t.parseEl(n)),I("LazyLoad",o),"image"===o.type&&(o.img=e('<img class="mfp-img" />').on("load.mfploader",function(){o.hasSize=!0}).on("error.mfploader",function(){o.hasSize=!0,o.loadError=!0,I("LazyLoadError",o)}).attr("src",o.src)),o.preloaded=!0}}}});var W="retina";e.eaePopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(w("ImageHasSize."+W,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),w("ElementParse."+W,function(t,o){o.src=e.replaceSrc(o,n)}))}}}}),k()});
!function(t){"use strict";var s={slide:0,delay:5e3,loop:!0,preload:!1,preloadImage:!1,preloadVideo:!1,timer:!0,overlay:!1,autoplay:!0,shuffle:!1,cover:!0,color:null,align:"center",valign:"center",firstTransition:null,firstTransitionDuration:null,transition:"fade",transitionDuration:1e3,transitionRegister:[],animation:null,animationDuration:"auto",animationRegister:[],slidesToKeep:1,init:function(){},play:function(){},pause:function(){},walk:function(){},slides:[]},i={},e=function(i,e){this.elmt=i,this.settings=t.extend({},s,t.vegas.defaults,e),this.slide=this.settings.slide,this.total=this.settings.slides.length,this.noshow=this.total<2,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=t(i),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],this.settings.transitionRegister instanceof Array==!1&&(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array==!1&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:t.vegas.isVideoCompatible()},this.settings.shuffle===!0&&this.shuffle(),this._init()};e.prototype={_init:function(){var s,i,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,a=this.settings.overlay,r=this;this._preload(),n||(this.$elmt.css("height",this.$elmt.css("height")),s=t('<div class="vegas-wrapper">').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||s.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(s),this.elmt.innerHTML=""),o&&this.support.transition&&(e=t('<div class="vegas-timer"><div class="vegas-timer-progress">'),this.$timer=e,this.$elmt.prepend(e)),a&&(i=t('<div class="vegas-overlay">'),"string"==typeof a&&i.css("background-image","url("+a+")"),this.$overlay=i,this.$elmt.prepend(i)),this.$elmt.addClass("vegas-container"),n||this.$elmt.append(s),setTimeout(function(){r.trigger("init"),r._goto(r.slide),r.settings.autoplay&&r.trigger("play")},1)},_preload:function(){var t,s;for(s=0;s<this.settings.slides.length;s++)(this.settings.preload||this.settings.preloadImages)&&this.settings.slides[s].src&&(t=new Image,t.src=this.settings.slides[s].src),(this.settings.preload||this.settings.preloadVideos)&&this.support.video&&this.settings.slides[s].video&&(this.settings.slides[s].video instanceof Array?this._video(this.settings.slides[s].video):this._video(this.settings.slides[s].video.src))},_random:function(t){return t[Math.floor(Math.random()*t.length)]},_slideShow:function(){var t=this;this.total>1&&!this.ended&&!this.paused&&!this.noshow&&(this.timeout=setTimeout(function(){t.next()},this._options("delay")))},_timer:function(t){var s=this;clearTimeout(this.timeout),this.$timer&&(this.$timer.removeClass("vegas-timer-running").find("div").css("transition-duration","0ms"),this.ended||this.paused||this.noshow||t&&setTimeout(function(){s.$timer.addClass("vegas-timer-running").find("div").css("transition-duration",s._options("delay")-100+"ms")},100))},_video:function(t){var s,e,n=t.toString();return i[n]?i[n]:(t instanceof Array==!1&&(t=[t]),s=document.createElement("video"),s.preload=!0,t.forEach(function(t){e=document.createElement("source"),e.src=t,s.appendChild(e)}),i[n]=s,s)},_fadeOutSound:function(t,s){var i=this,e=s/10,n=t.volume-.09;n>0?(t.volume=n,setTimeout(function(){i._fadeOutSound(t,s)},e)):t.pause()},_fadeInSound:function(t,s){var i=this,e=s/10,n=t.volume+.09;n<1&&(t.volume=n,setTimeout(function(){i._fadeInSound(t,s)},e))},_options:function(t,s){return void 0===s&&(s=this.slide),void 0!==this.settings.slides[s][t]?this.settings.slides[s][t]:this.settings[t]},_goto:function(s){function i(){f._timer(!0),setTimeout(function(){y&&(f.support.transition?(h.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-out"),h.each(function(){var t=h.find("video").get(0);t&&(t.volume=1,f._fadeOutSound(t,_))}),e.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-in")):e.fadeIn(_));for(var t=0;t<h.length-f.settings.slidesToKeep;t++)h.eq(t).remove();f.trigger("walk"),f._slideShow()},100)}"undefined"==typeof this.settings.slides[s]&&(s=0),this.slide=s;var e,n,o,a,r,h=this.$elmt.children(".vegas-slide"),d=this.settings.slides[s].src,l=this.settings.slides[s].video,g=this._options("delay"),u=this._options("align"),c=this._options("valign"),p=this._options("cover"),m=this._options("color")||this.$elmt.css("background-color"),f=this,v=h.length,y=this._options("transition"),_=this._options("transitionDuration"),w=this._options("animation"),b=this._options("animationDuration");this.settings.firstTransition&&this.first&&(y=this.settings.firstTransition||y),this.settings.firstTransitionDuration&&this.first&&(_=this.settings.firstTransitionDuration||_),this.first&&(this.first=!1),"repeat"!==p&&(p===!0?p="cover":p===!1&&(p="contain")),("random"===y||y instanceof Array)&&(y=y instanceof Array?this._random(y):this._random(this.transitions)),("random"===w||w instanceof Array)&&(w=w instanceof Array?this._random(w):this._random(this.animations)),("auto"===_||_>g)&&(_=g),"auto"===b&&(b=g),e=t('<div class="vegas-slide"></div>'),this.support.transition&&y&&e.addClass("vegas-transition-"+y),this.support.video&&l?(a=l instanceof Array?this._video(l):this._video(l.src),a.loop=void 0===l.loop||l.loop,a.muted=void 0===l.mute||l.mute,a.muted===!1?(a.volume=0,this._fadeInSound(a,_)):a.pause(),o=t(a).addClass("vegas-video").css("background-color",m),this.support.objectFit?o.css("object-position",u+" "+c).css("object-fit",p).css("width","100%").css("height","100%"):"contain"===p&&o.css("width","100%").css("height","100%"),e.append(o)):(r=new Image,n=t('<div class="vegas-slide-inner"></div>').css("background-image",'url("'+d+'")').css("background-color",m).css("background-position",u+" "+c),"repeat"===p?n.css("background-repeat","repeat"):n.css("background-size",p),this.support.transition&&w&&n.addClass("vegas-animation-"+w).css("animation-duration",b+"ms"),e.append(n)),this.support.transition||e.css("display","none"),v?h.eq(v-1).after(e):this.$elmt.prepend(e),h.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),y&&(this.className+=" vegas-transition-"+y,this.className+=" vegas-transition-"+y+"-in")}),f._timer(!1),a?(4===a.readyState&&(a.currentTime=0),a.play(),i()):(r.src=d,r.complete?i():r.onload=i)},_end:function(){this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var t,s,i=this.total-1;i>0;i--)s=Math.floor(Math.random()*(i+1)),t=this.settings.slides[i],this.settings.slides[i]=this.settings.slides[s],this.settings.slides[s]=t},play:function(){this.paused&&(this.paused=!1,this.next(),this.trigger("play"))},pause:function(){this._timer(!1),this.paused=!0,this.trigger("pause")},toggle:function(){this.paused?this.play():this.pause()},playing:function(){return!this.paused&&!this.noshow},current:function(t){return t?{slide:this.slide,data:this.settings.slides[this.slide]}:this.slide},jump:function(t){t<0||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,this.slide<0){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(t){var s=[];s="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,s),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,s)},options:function(i,e){var n=this.settings.slides.slice();if("object"==typeof i)this.settings=t.extend({},s,t.vegas.defaults,i);else{if("string"!=typeof i)return this.settings;if(void 0===e)return this.settings[i];this.settings[i]=e}this.settings.slides!==n&&(this.total=this.settings.slides.length,this.noshow=this.total<2,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},t.fn.vegas=function(t){var s,i=arguments,n=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var e=this._vegas;if(!e)throw new Error("No Vegas applied to this element.");"function"==typeof e[t]&&"_"!==t[0]?s=e[t].apply(e,[].slice.call(i,1)):n=!0}),n)throw new Error('No method "'+t+'" in Vegas.');return void 0!==s?s:this}},t.vegas={},t.vegas.defaults=s,t.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto);
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./jquery-var-for-color","./vendor/jquery-color/jquery.color","./version"],t):t(jQuery)}(function(u){"use strict";var s,o,r,a,c,e,n,i,f,l,d="ui-effects-",h="ui-effects-style",p="ui-effects-animated";function m(t){var e,n,i=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,o={};if(i&&i.length&&i[0]&&i[i[0]])for(n=i.length;n--;)"string"==typeof i[e=i[n]]&&(o[e.replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})]=i[e]);else for(e in i)"string"==typeof i[e]&&(o[e]=i[e]);return o}function g(t,e,n,i){return t={effect:t=u.isPlainObject(t)?(e=t).effect:t},"function"==typeof(e=null==e?{}:e)&&(i=e,n=null,e={}),"number"!=typeof e&&!u.fx.speeds[e]||(i=n,n=e,e={}),"function"==typeof n&&(i=n,n=null),e&&u.extend(t,e),n=n||e.duration,t.duration=u.fx.off?0:"number"==typeof n?n:n in u.fx.speeds?u.fx.speeds[n]:u.fx.speeds._default,t.complete=i||e.complete,t}function v(t){return!t||"number"==typeof t||u.fx.speeds[t]||"string"==typeof t&&!u.effects.effect[t]||"function"==typeof t||"object"==typeof t&&!t.effect}function y(t,e){var n=e.outerWidth(),e=e.outerHeight(),t=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,n,e,0];return{top:parseFloat(t[1])||0,right:"auto"===t[2]?n:parseFloat(t[2]),bottom:"auto"===t[3]?e:parseFloat(t[3]),left:parseFloat(t[4])||0}}return u.effects={effect:{}},a=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},u.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,e){u.fx.step[e]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,e,t.end),t.setAttr=!0)}}),u.fn.addBack||(u.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),u.effects.animateClass=function(o,t,e,n){var s=u.speed(t,e,n);return this.queue(function(){var n=u(this),t=n.attr("class")||"",e=(e=s.children?n.find("*").addBack():n).map(function(){return{el:u(this),start:m(this)}}),i=function(){u.each(a,function(t,e){o[e]&&n[e+"Class"](o[e])})};i(),e=e.map(function(){return this.end=m(this.el[0]),this.diff=function(t,e){var n,i,o={};for(n in e)i=e[n],t[n]===i||c[n]||!u.fx.step[n]&&isNaN(parseFloat(i))||(o[n]=i);return o}(this.start,this.end),this}),n.attr("class",t),e=e.map(function(){var t=this,e=u.Deferred(),n=u.extend({},s,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,n),e.promise()}),u.when.apply(u,e.get()).done(function(){i(),u.each(arguments,function(){var e=this.el;u.each(this.diff,function(t){e.css(t,"")})}),s.complete.call(n[0])})})},u.fn.extend({addClass:(r=u.fn.addClass,function(t,e,n,i){return e?u.effects.animateClass.call(this,{add:t},e,n,i):r.apply(this,arguments)}),removeClass:(o=u.fn.removeClass,function(t,e,n,i){return 1<arguments.length?u.effects.animateClass.call(this,{remove:t},e,n,i):o.apply(this,arguments)}),toggleClass:(s=u.fn.toggleClass,function(t,e,n,i,o){return"boolean"==typeof e||void 0===e?n?u.effects.animateClass.call(this,e?{add:t}:{remove:t},n,i,o):s.apply(this,arguments):u.effects.animateClass.call(this,{toggle:t},e,n,i)}),switchClass:function(t,e,n,i,o){return u.effects.animateClass.call(this,{add:e,remove:t},n,i,o)}}),u.expr&&u.expr.pseudos&&u.expr.pseudos.animated&&(u.expr.pseudos.animated=(e=u.expr.pseudos.animated,function(t){return!!u(t).data(p)||e(t)})),!1!==u.uiBackCompat&&u.extend(u.effects,{save:function(t,e){for(var n=0,i=e.length;n<i;n++)null!==e[n]&&t.data(d+e[n],t[0].style[e[n]])},restore:function(t,e){for(var n,i=0,o=e.length;i<o;i++)null!==e[i]&&(n=t.data(d+e[i]),t.css(e[i],n))},setMode:function(t,e){return e="toggle"===e?t.is(":hidden")?"show":"hide":e},createWrapper:function(n){if(n.parent().is(".ui-effects-wrapper"))return n.parent();var i={width:n.outerWidth(!0),height:n.outerHeight(!0),float:n.css("float")},t=u("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:n.width(),height:n.height()},o=document.activeElement;try{o.id}catch(t){o=document.body}return n.wrap(t),n[0]!==o&&!u.contains(n[0],o)||u(o).trigger("focus"),t=n.parent(),"static"===n.css("position")?(t.css({position:"relative"}),n.css({position:"relative"})):(u.extend(i,{position:n.css("position"),zIndex:n.css("z-index")}),u.each(["top","left","bottom","right"],function(t,e){i[e]=n.css(e),isNaN(parseInt(i[e],10))&&(i[e]="auto")}),n.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),n.css(e),t.css(i).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!u.contains(t[0],e)||u(e).trigger("focus")),t}}),u.extend(u.effects,{version:"1.13.3",define:function(t,e,n){return n||(n=e,e="effect"),u.effects.effect[t]=n,u.effects.effect[t].mode=e,n},scaledDimensions:function(t,e,n){var i;return 0===e?{height:0,width:0,outerHeight:0,outerWidth:0}:(i="horizontal"!==n?(e||100)/100:1,n="vertical"!==n?(e||100)/100:1,{height:t.height()*n,width:t.width()*i,outerHeight:t.outerHeight()*n,outerWidth:t.outerWidth()*i})},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,n){var i=t.queue();1<e&&i.splice.apply(i,[1,0].concat(i.splice(e,n))),t.dequeue()},saveStyle:function(t){t.data(h,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(h)||"",t.removeData(h)},mode:function(t,e){t=t.is(":hidden");return"toggle"===e&&(e=t?"show":"hide"),e=(t?"hide"===e:"show"===e)?"none":e},getBaseline:function(t,e){var n,i;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":i=0;break;case"center":i=.5;break;case"right":i=1;break;default:i=t[1]/e.width}return{x:i,y:n}},createPlaceholder:function(t){var e,n=t.css("position"),i=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",e=u("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(d+"placeholder",e)),t.css({position:n,left:i.left,top:i.top}),e},removePlaceholder:function(t){var e=d+"placeholder",n=t.data(e);n&&(n.remove(),t.removeData(e))},cleanUp:function(t){u.effects.restoreStyle(t),u.effects.removePlaceholder(t)},setTransition:function(i,t,o,s){return s=s||{},u.each(t,function(t,e){var n=i.cssUnit(e);0<n[0]&&(s[e]=n[0]*o+n[1])}),s}}),u.fn.extend({effect:function(){function t(t){var e=u(this),n=u.effects.mode(e,a)||s;e.data(p,!0),c.push(n),s&&("show"===n||n===s&&"hide"===n)&&e.show(),s&&"none"===n||u.effects.saveStyle(e),"function"==typeof t&&t()}var i=g.apply(this,arguments),o=u.effects.effect[i.effect],s=o.mode,e=i.queue,n=e||"fx",r=i.complete,a=i.mode,c=[];return u.fx.off||!o?a?this[a](i.duration,r):this.each(function(){r&&r.call(this)}):!1===e?this.each(t).each(f):this.queue(n,t).queue(n,f);function f(t){var e=u(this);function n(){"function"==typeof r&&r.call(e[0]),"function"==typeof t&&t()}i.mode=c.shift(),!1===u.uiBackCompat||s?"none"===i.mode?(e[a](),n()):o.call(e[0],i,function(){e.removeData(p),u.effects.cleanUp(e),"hide"===i.mode&&e.hide(),n()}):(e.is(":hidden")?"hide"===a:"show"===a)?(e[a](),n()):o.call(e[0],i,n)}},show:(f=u.fn.show,function(t){return v(t)?f.apply(this,arguments):((t=g.apply(this,arguments)).mode="show",this.effect.call(this,t))}),hide:(i=u.fn.hide,function(t){return v(t)?i.apply(this,arguments):((t=g.apply(this,arguments)).mode="hide",this.effect.call(this,t))}),toggle:(n=u.fn.toggle,function(t){return v(t)||"boolean"==typeof t?n.apply(this,arguments):((t=g.apply(this,arguments)).mode="toggle",this.effect.call(this,t))}),cssUnit:function(t){var n=this.css(t),i=[];return u.each(["em","px","%","pt"],function(t,e){0<n.indexOf(e)&&(i=[parseFloat(n),e])}),i},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):y(this.css("clip"),this)},transfer:function(t,e){var n=u(this),i=u(t.to),o="fixed"===i.css("position"),s=u("body"),r=o?s.scrollTop():0,s=o?s.scrollLeft():0,a=i.offset(),a={top:a.top-r,left:a.left-s,height:i.innerHeight(),width:i.innerWidth()},i=n.offset(),c=u("<div class='ui-effects-transfer'></div>");c.appendTo("body").addClass(t.className).css({top:i.top-r,left:i.left-s,height:n.innerHeight(),width:n.innerWidth(),position:o?"fixed":"absolute"}).animate(a,t.duration,t.easing,function(){c.remove(),"function"==typeof e&&e()})}}),u.fx.step.clip=function(t){t.clipInit||(t.start=u(t.elem).cssClip(),"string"==typeof t.end&&(t.end=y(t.end,t.elem)),t.clipInit=!0),u(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},l={},u.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){l[t]=function(t){return Math.pow(t,e+2)}}),u.extend(l,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),u.each(l,function(t,e){u.easing["easeIn"+t]=e,u.easing["easeOut"+t]=function(t){return 1-e(1-t)},u.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}}),u.effects});
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],e):e(jQuery)}(function(h){"use strict";return h.effects.define("shake",function(e,t){var n=1,i=h(this),a=e.direction||"left",f=e.distance||20,s=e.times||3,u=2*s+1,c=Math.round(e.duration/u),r="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a,o={},d={},m={},g=i.queue().length;for(h.effects.createPlaceholder(i),o[r]=(a?"-=":"+=")+f,d[r]=(a?"+=":"-=")+2*f,m[r]=(a?"-=":"+=")+2*f,i.animate(o,c,e.easing);n<s;n++)i.animate(d,c,e.easing).animate(m,c,e.easing);i.animate(d,c,e.easing).animate(o,c/2,e.easing).queue(t),h.effects.unshift(i,g,1+u)})});
jQuery(function ($){
var ssb_panel=$('#ssb-container'),
sbb_display_margin=50,
window_width=jQuery(window).width();
function getPanelWidth(){
return ssb_panel.outerWidth();
}
ssb_panel.css('z-index', ssb_ui_data.z_index);
if(ssb_panel.hasClass('ssb-btns-left')&&(ssb_panel.hasClass('ssb-anim-slide')||ssb_panel.hasClass('ssb-anim-icons'))){
ssb_panel.css('left', '-' + (getPanelWidth() - sbb_display_margin) + 'px');
}else if(ssb_panel.hasClass('ssb-btns-right')&&(ssb_panel.hasClass('ssb-anim-slide')||ssb_panel.hasClass('ssb-anim-icons'))){
ssb_panel.css('right', '-' + (getPanelWidth() - sbb_display_margin) + 'px');
}
if(window_width >=768){
ssb_panel.hover(function (){
if(ssb_panel.hasClass('ssb-btns-left')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.stop().animate({'left': 0}, 300);
}else if(ssb_panel.hasClass('ssb-btns-right')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.stop().animate({'right': 0}, 300);
}}, function (){
if(ssb_panel.hasClass('ssb-btns-left')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.animate({'left': '-' + (getPanelWidth() - sbb_display_margin) + 'px'}, 300);
}else if(ssb_panel.hasClass('ssb-btns-right')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.animate({'right': '-' + (getPanelWidth() - sbb_display_margin) + 'px'}, 300);
}});
}else{
ssb_panel.click(function (e){
if(jQuery(this).hasClass('ssb-open')){
jQuery(this).removeClass('ssb-open');
if(ssb_panel.hasClass('ssb-btns-left')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.animate({'left': '-' + (getPanelWidth() - sbb_display_margin) + 'px'}, 300);
}else if(ssb_panel.hasClass('ssb-btns-right')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.animate({'right': '-' + (getPanelWidth() - sbb_display_margin) + 'px'}, 300);
}}else{
e.preventDefault();
jQuery(this).addClass('ssb-open');
if(ssb_panel.hasClass('ssb-btns-left')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.stop().animate({'left': 0}, 300);
}else if(ssb_panel.hasClass('ssb-btns-right')&&ssb_panel.hasClass('ssb-anim-slide')){
ssb_panel.stop().animate({'right': 0}, 300);
}}
});
}});
(()=>{var e=document.querySelectorAll(".main-nav .sub-menu, .main-nav .children");if(e&&e.forEach(function(e){var t,n=e.closest("li"),s=n.querySelector('.dropdown-menu-toggle[role="button"]');e.id||(t=n.id||"menu-item-"+Math.floor(1e5*Math.random()),e.id=t+"-sub-menu"),(s=s||n.querySelector('a[role="button"]'))&&s.setAttribute("aria-controls",e.id)}),"querySelector"in document&&"addEventListener"in window){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(document.documentElement.contains(this))do{if(t.matches(e))return t}while(null!==(t=t.parentElement));return null});var o=function(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})},t=document.querySelectorAll(".menu-toggle"),n=document.querySelectorAll("nav .dropdown-menu-toggle"),s=document.querySelectorAll("nav .main-nav ul a"),l=document.querySelector(".mobile-menu-control-wrapper"),c=document.body,u=document.documentElement,d=function(e){if(e&&c.classList.contains("dropdown-hover")){var t=e.querySelectorAll("li.menu-item-has-children");for(h=0;h<t.length;h++)t[h].querySelector(".dropdown-menu-toggle").removeAttribute("tabindex"),t[h].querySelector(".dropdown-menu-toggle").setAttribute("role","presentation"),t[h].querySelector(".dropdown-menu-toggle").removeAttribute("aria-expanded"),t[h].querySelector(".dropdown-menu-toggle").removeAttribute("aria-controls"),t[h].querySelector(".dropdown-menu-toggle").removeAttribute("aria-label")}},r=function(e){"false"!==e.getAttribute("aria-expanded")&&e.getAttribute("aria-expanded")?(e.setAttribute("aria-expanded","false"),e.setAttribute("aria-label",generatepressMenu.openSubMenuLabel)):(e.setAttribute("aria-expanded","true"),e.setAttribute("aria-label",generatepressMenu.closeSubMenuLabel))},a=function(e,t){var n="";if(n=(t=t||this).getAttribute("data-nav")?document.getElementById(t.getAttribute("data-nav")):document.getElementById(t.closest("nav").getAttribute("id"))){var s=!1,o=(t.closest(".mobile-menu-control-wrapper")&&(s=!0),n.getElementsByTagName("ul")[0]);if(n.classList.contains("toggled"))n.classList.remove("toggled"),u.classList.remove("mobile-menu-open"),o&&o.setAttribute("aria-hidden","true"),t.setAttribute("aria-expanded","false"),(s||l&&n.classList.contains("main-navigation"))&&l.classList.remove("toggled"),d(o);else{n.classList.add("toggled"),u.classList.add("mobile-menu-open"),o&&o.setAttribute("aria-hidden","false"),t.setAttribute("aria-expanded","true"),s?(l.classList.add("toggled"),l.querySelector(".search-item")&&l.querySelector(".search-item").classList.contains("active")&&l.querySelector(".search-item").click()):l&&n.classList.contains("main-navigation")&&l.classList.add("toggled");t=o;if(t&&c.classList.contains("dropdown-hover")){var r=t.querySelectorAll("li.menu-item-has-children");for(h=0;h<r.length;h++){var a=r[h].querySelector(".dropdown-menu-toggle"),i=a.closest("li").querySelector(".sub-menu, .children");a.setAttribute("tabindex","0"),a.setAttribute("role","button"),a.setAttribute("aria-expanded","false"),a.setAttribute("aria-controls",i.id),a.setAttribute("aria-label",generatepressMenu.openSubMenuLabel)}}}}};for(h=0;h<t.length;h++)t[h].addEventListener("click",a,!1);var i=function(e,t){if(((t=t||this).closest("nav").classList.contains("toggled")||u.classList.contains("slide-opened"))&&!c.classList.contains("dropdown-click")){e.preventDefault();var n,t=t.closest("li");if(r(t.querySelector(".dropdown-menu-toggle")),n=t.querySelector(".sub-menu")?t.querySelector(".sub-menu"):t.querySelector(".children"),generatepressMenu.toggleOpenedSubMenus){var s=o(t);for(h=0;h<s.length;h++)s[h].classList.contains("sfHover")&&(s[h].classList.remove("sfHover"),s[h].querySelector(".toggled-on").classList.remove("toggled-on"),r(s[h].querySelector(".dropdown-menu-toggle")))}t.classList.toggle("sfHover"),n.classList.toggle("toggled-on")}e.stopPropagation()};for(h=0;h<n.length;h++)n[h].addEventListener("click",i,!1),n[h].addEventListener("keypress",function(e){"Enter"!==e.key&&" "!==e.key||i(e,this)},!1);e=function(){var e=document.querySelectorAll(".toggled, .has-active-search");for(h=0;h<e.length;h++){var t=e[h].querySelector(".menu-toggle");if((t=l&&!t.closest("nav").classList.contains("mobile-menu-control-wrapper")?l.querySelector(".menu-toggle"):t)&&null===t.offsetParent){if(e[h].classList.contains("toggled")){var n,s,o,r=!1;if((r=e[h].classList.contains("mobile-menu-control-wrapper")?!0:r)||(s=(n=e[h].getElementsByTagName("ul")[0])?n.getElementsByTagName("li"):[],o=n?n.getElementsByTagName("ul"):[]),document.activeElement.blur(),e[h].classList.remove("toggled"),u.classList.remove("mobile-menu-open"),t.setAttribute("aria-expanded","false"),!r){for(var a=0;a<s.length;a++)s[a].classList.remove("sfHover");for(var i=0;i<o.length;i++)o[i].classList.remove("toggled-on");n&&n.removeAttribute("aria-hidden")}d(e[h])}l.querySelector(".search-item")&&l.querySelector(".search-item").classList.contains("active")&&l.querySelector(".search-item").click()}}};if(window.addEventListener("resize",e,!1),window.addEventListener("orientationchange",e,!1),c.classList.contains("dropdown-hover"))for(h=0;h<s.length;h++)s[h].addEventListener("click",function(e){var t;this.hostname!==window.location.hostname&&document.activeElement.blur(),(this.closest("nav").classList.contains("toggled")||u.classList.contains("slide-opened"))&&("#"===(t=this.getAttribute("href"))||""===t)&&(e.preventDefault(),(t=this.closest("li")).classList.toggle("sfHover"),e=t.querySelector(".sub-menu"))&&e.classList.toggle("toggled-on")},!1);if(c.classList.contains("dropdown-hover")){for(var m=document.querySelectorAll(".menu-bar-items .menu-bar-item > a"),g=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("main-nav");)"li"===e.tagName.toLowerCase()&&e.classList.toggle("sfHover"),e=e.parentElement},v=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("menu-bar-items");)e.classList.contains("menu-bar-item")&&e.classList.toggle("sfHover"),e=e.parentElement},h=0;h<s.length;h++)s[h].addEventListener("focus",g),s[h].addEventListener("blur",g);for(h=0;h<m.length;h++)m[h].addEventListener("focus",v),m[h].addEventListener("blur",v)}if("ontouchend"in document.documentElement&&document.body.classList.contains("dropdown-hover")){var f=document.querySelectorAll(".sf-menu .menu-item-has-children");for(h=0;h<f.length;h++)f[h].addEventListener("touchend",function(e){if(!(this.closest("nav").classList.contains("toggled")||1!==e.touches.length&&0!==e.touches.length||(e.stopPropagation(),this.classList.contains("sfHover")))){e.target!==this&&e.target.parentNode!==this&&!e.target.parentNode.parentNode||e.preventDefault();var e=this.closest("li"),t=o(e);for(h=0;h<t.length;h++)t[h].classList.contains("sfHover")&&t[h].classList.remove("sfHover");this.classList.add("sfHover");var n,s=this;document.addEventListener("touchend",n=function(e){e.stopPropagation(),s.classList.remove("sfHover"),document.removeEventListener("touchend",n)})}})}}})();
(()=>{if("querySelector"in document&&"addEventListener"in window){var s=function(e,t){e.preventDefault(),t=t||this;var a=document.querySelectorAll(".navigation-search"),s=document.querySelectorAll(".search-item"),c=document.querySelectorAll('a[href], area[href], input:not([disabled]):not(.navigation-search), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),r="";t.closest(".mobile-menu-control-wrapper")&&(r=document.getElementById("site-navigation"));for(var o=0;o<a.length;o++)if(a[o].classList.contains("nav-search-active")){if(!a[o].closest("#sticky-placeholder")){a[o].classList.remove("nav-search-active");var i=document.querySelector(".has-active-search");i&&i.classList.remove("has-active-search");for(var l=0;l<s.length;l++){s[l].classList.remove("close-search"),s[l].classList.remove("active"),s[l].querySelector("a").setAttribute("aria-label",generatepressNavSearch.open);for(var n=0;n<c.length;n++)c[n].closest(".navigation-search")||c[n].closest(".search-item")||c[n].removeAttribute("tabindex")}document.activeElement.blur()}}else if(!a[o].closest("#sticky-placeholder")){var i=a[o].closest(".toggled"),d=(i&&i.querySelector("button.menu-toggle").click(),r&&r.classList.add("has-active-search"),a[o].classList.add("nav-search-active"),this.closest("nav"));for(d&&(d=(d=d.classList.contains("mobile-menu-control-wrapper")?r:d).querySelector(".search-field"))&&d.focus(),l=0;l<s.length;l++){for(s[l].classList.add("active"),s[l].querySelector("a").setAttribute("aria-label",generatepressNavSearch.close),n=0;n<c.length;n++)c[n].closest(".navigation-search")||c[n].closest(".search-item")||c[n].setAttribute("tabindex","-1");s[l].classList.add("close-search")}}};if(document.body.classList.contains("nav-search-enabled")){for(var e=document.querySelectorAll(".search-item"),t=0;t<e.length;t++)e[t].addEventListener("click",s,!1);document.addEventListener("keydown",function(e){if(document.querySelector(".navigation-search.nav-search-active")&&"Escape"===e.key)for(var t=document.querySelectorAll(".search-item.active"),a=0;a<t.length;a++){s(e,t[a]);break}},!1)}}})();
(()=>{var c;"querySelector"in document&&"addEventListener"in window&&(c=document.querySelector(".generate-back-to-top"))&&(window.addEventListener("scroll",function(){var e=window.pageYOffset,t=c.getAttribute("data-start-scroll");t<e&&c.classList.add("generate-back-to-top__show"),e<t&&c.classList.remove("generate-back-to-top__show")}),c.addEventListener("click",function(e){var t,o,n,a,r;e.preventDefault(),generatepressBackToTop.smooth?(document.body,e=c.getAttribute("data-scroll-speed")||400,t=window.pageYOffset,o=document.body.offsetTop,n=(o-t)/(e/16),a=function(){window.pageYOffset<=(o||0)&&(clearInterval(r),document.activeElement.blur())},r=setInterval(function(){window.scrollBy(0,n),a()},16)):window.scrollTo(0,0)},!1))})();
(()=>{"use strict";var e,r,_,t,a,n={},i={};function __webpack_require__(e){var r=i[e];if(void 0!==r)return r.exports;var _=i[e]={exports:{}};return n[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var n=1/0;for(b=0;b<e.length;b++){for(var[_,t,a]=e[b],i=!0,c=0;c<_.length;c++)(!1&a||n>=a)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](_[c]))?_.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(b--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var b=e.length;b>0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[_,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 n={};r=r||[null,_({}),_([]),_(_)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~r.indexOf(i);i=_(i))Object.getOwnPropertyNames(i).forEach(r=>n[r]=()=>e[r]);return n.default=()=>e,__webpack_require__.d(a,n),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=>786===e?"397f2d183c19202777d6.bundle.min.js":216===e?"lightbox.570c05c5a283cfb6b223.bundle.min.js":30===e?"text-path.a67c1f3a78d208bc7e1b.bundle.min.js":131===e?"accordion.8b0db5058afeb74622f5.bundle.min.js":707===e?"alert.42cc1d522ef5c60bf874.bundle.min.js":457===e?"counter.12335f45aaa79d244f24.bundle.min.js":234===e?"progress.0ea083b809812c0e3aa1.bundle.min.js":575===e?"tabs.18344b05d8d1ea0702bc.bundle.min.js":775===e?"toggle.2a177a3ef4785d3dfbc5.bundle.min.js":180===e?"video.86d44e46e43d0807e708.bundle.min.js":177===e?"image-carousel.6167d20b95b33386757b.bundle.min.js":212===e?"text-editor.45609661e409413f1cef.bundle.min.js":211===e?"wp-audio.c9624cb6e5dc9de86abd.bundle.min.js":215===e?"nested-tabs.a2401356d329f179475e.bundle.min.js":915===e?"nested-accordion.294d40984397351fd0f5.bundle.min.js":1===e?"contact-buttons.e98d0220ce8c38404e7e.bundle.min.js":336===e?"floating-bars.740d06d17cea5cebdb61.bundle.min.js":557===e?"shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js":396===e?"shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js":768===e?"container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js":77===e?"section-frontend-handlers.d85ab872da118940910d.bundle.min.js":220===e?"section-editor-handlers.53ffedef32043348b99b.bundle.min.js":304===e?"nested-title-keyboard-handler.2a67d3cc630e11815acc.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="elementorFrontend:",__webpack_require__.l=(e,r,_,n)=>{if(t[e])t[e].push(r);else{var i,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),b=0;b<o.length;b++){var u=o[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+_){i=u;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+_),i.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(_)),r)return r(_)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),c&&document.head.appendChild(i)}},__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&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={76: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(76!=r){var a=new Promise((_,a)=>t=e[r]=[_,a]);_.push(t[2]=a);var n=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(n,_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),n=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",i.name="ChunkLoadError",i.type=a,i.request=n,t[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[n,i,c]=_,o=0;if(n.some(r=>0!==e[r])){for(t in i)__webpack_require__.o(i,t)&&(__webpack_require__.m[t]=i[t]);if(c)var b=c(__webpack_require__)}for(r&&r(_);o<n.length;o++)a=n[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(b)},r=self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[941],{1:(e,t,r)=>{"use strict";var n=r(5578),i=r(7255),s=r(5755),o=r(1866),a=r(6029),c=r(5022),l=n.Symbol,u=i("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:p("Symbol."+e)),u[e]}},41:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},169:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1483),o=r(5755),a=r(382),c=r(2048).CONFIGURABLE,l=r(7268),u=r(4483),p=u.enforce,d=u.get,h=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=p(e);return o(n,"source")||(n.source=v(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function toString(){return s(this)&&d(this).source||l(this)},"toString")},274:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},348:(e,t,r)=>{"use strict";var n=r(1807),i=r(1483),s=r(1704),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},382:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},641:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(9655);const Module=function(){const e=jQuery,t=arguments,r=this,n={};let i;this.getItems=function(e,t){if(t){const r=t.split("."),n=r.splice(0,1);if(!r.length)return e[n];if(!e[n])return;return this.getItems(e[n],r.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,n,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),r;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),r.setSettings(o.join("."),n,s[a])):(s[a]=n,r)},this.getErrorMessage=function(e,t){let r;if("forceMethodImplementation"===e)r=`The method '${t}' must to be implemented in the inheritor child.`;else r="An error occurs";return r},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){r.on(e,this)}),r;return t.split(" ").forEach(function(e){n[e]||(n[e]=[]),n[e].push(i)}),r},this.off=function(e,t){if(!n[e])return r;if(!t)return delete n[e],r;const i=n[e].indexOf(t);return-1!==i&&(delete n[e][i],n[e]=n[e].filter(e=>e)),r},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);r[i]&&r[i].apply(r,s);const o=n[t];return o?(e.each(o,function(e,t){t.apply(r,s)}),r):r},r.__construct.apply(r,t),e.each(r,function(e){const t=r[e];"function"==typeof t&&(r[e]=function(){return t.apply(r,arguments)})}),function(){i=r.getDefaultSettings();const n=t[0];n&&e.extend(!0,i,n)}(),r.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,r=this,child=function(){return r.apply(this,arguments)};return t.extend(child,r),(child.prototype=Object.create(t.extend({},r.prototype,e))).constructor=child,child.__super__=r.prototype,child},e.exports=Module},670:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=function(e,t,r){n?i.f(e,t,s(0,r)):e[t]=r}},751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724),r(4846),r(9655);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},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},1265:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641)),s=n(r(2425)),o=n(r(2946)),a=n(r(3980)),c=n(r(2970)),l=n(r(8685)),u=r(9031),p=r(1462);const d={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:l.default,utils:{Masonry:a.default,Scroll:c.default},importExport:{createGetInitialState:u.createGetInitialState,customizationDialogsRegistry:p.customizationDialogsRegistry}};window.elementorModules?Object.assign(window.elementorModules,d):window.elementorModules=d;t.default=window.elementorModules},1278:(e,t,r)=>{"use strict";var n=r(4762),i=n({}.toString),s=n("".slice);e.exports=function(e){return s(i(e),8,-1)}},1409:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1423:(e,t,r)=>{"use strict";var n=r(1409),i=r(1483),s=r(4815),o=r(5022),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},1462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customizationDialogsRegistry=void 0;var n=r(7958);t.customizationDialogsRegistry=new n.BaseRegistry},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},1506:(e,t,r)=>{"use strict";var n=r(2914),i=r(1807),s=r(2293),o=r(8761),a=r(5299),c=r(6960),l=r(4815),u=r(4887),p=r(6665),d=r(6721),h=TypeError,Result=function(e,t){this.stopped=e,this.result=t},f=Result.prototype;e.exports=function(e,t,r){var g,m,v,y,w,b,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),I=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),O=n(t,x),stop=function(e){return g&&d(g,"normal"),new Result(!0,e)},callFn=function(e){return E?(s(e),C?O(e[0],e[1],stop):O(e[0],e[1])):C?O(e,stop):O(e)};if(I)g=e.iterator;else if(_)g=e;else{if(!(m=p(e)))throw new h(o(e)+" is not iterable");if(a(m)){for(v=0,y=c(e);y>v;v++)if((w=callFn(e[v]))&&l(f,w))return w;return new Result(!1)}g=u(e,m)}for(b=I?e.next:g.next;!(S=i(b,g)).done;){try{w=callFn(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(f,w))return w}return new Result(!1)}},1507:e=>{"use strict";e.exports={}},1703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},1704:(e,t,r)=>{"use strict";var n=r(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1799:(e,t,r)=>{"use strict";var n=r(382),i=r(8473),s=r(3145);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},1807:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1831:(e,t,r)=>{"use strict";var n=r(9557),i=r(5578),s=r(2095),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1851:(e,t,r)=>{"use strict";var n,i,s,o=r(8473),a=r(1483),c=r(1704),l=r(5290),u=r(3181),p=r(7914),d=r(1),h=r(9557),f=d("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):g=!0),!c(n)||o(function(){var e={};return n[f].call(e)!==e})?n={}:h&&(n=l(n)),a(n[f])||p(n,f,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},1866:(e,t,r)=>{"use strict";var n=r(4762),i=0,s=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1975:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(9557),p=r(6721),d=r(7486),h=r(5267),f=!u&&!d("filter",function(){}),g=!u&&!f&&h("filter",TypeError),m=u||f||g,v=c(function(){for(var e,t,r=this.iterator,n=this.predicate,s=this.next;;){if(e=o(i(s,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function filter(e){o(this);try{s(e)}catch(e){p(this,"throw",e)}return g?i(g,this,e):new v(a(this),{predicate:e})}})},1983:(e,t,r)=>{"use strict";var n=r(6721);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},2048:(e,t,r)=>{"use strict";var n=r(382),i=r(5755),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function something(){}.name,l=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2095:(e,t,r)=>{"use strict";var n=r(5578),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2121:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1278),o=Object,a=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):o(e)}:o},2278:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,i)}},2293:(e,t,r)=>{"use strict";var n=r(1704),i=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not an object")}},2313:(e,t,r)=>{"use strict";var n=r(7914);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},2347:(e,t,r)=>{"use strict";var n=r(3312),i=Object;e.exports=function(e){return i(n(e))}},2355:(e,t,r)=>{"use strict";var n=r(1807),i=r(1704),s=r(1423),o=r(2564),a=r(348),c=r(1),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2425:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641));t.default=i.default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})},2564:(e,t,r)=>{"use strict";var n=r(8120),i=r(5983);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},2811:(e,t,r)=>{"use strict";var n=r(1409);e.exports=n("document","documentElement")},2890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);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(),r=>{t[r]=e.attributes[r]})}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},2914:(e,t,r)=>{"use strict";var n=r(3786),i=r(8120),s=r(274),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},2946:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(751)),s=n(r(5213));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t,r=this.args){if(this.requireArgument(e,r),typeof r[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,r=this.args){if(this.requireArgument(e,r),!(r[e]instanceof t||(0,s.default)(r[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,r=this.args){if(this.requireArgument(e,r),r[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},2970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);t.default=class Scroll{static scrollObserver(e){let t=0;const r={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const r=100/e;for(let e=0;e<=100;e+=r)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver(function handleIntersect(r){const n=r[0].boundingClientRect.y,i=r[0].isIntersecting,s=n<t?"down":"up",o=Math.abs(parseFloat((100*r[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=n},r)}static getElementViewportPercentage(e,t={}){const r=e[0].getBoundingClientRect(),n=t.start||0,i=t.end||0,s=window.innerHeight*n/100,o=window.innerHeight*i/100,a=r.top-window.innerHeight,c=0-a+s,l=r.top+s+e.height()-a+o,u=Math.max(0,Math.min(c/l,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const r=e.start||0,n=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*r/100,o=i+s+i*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},3005:(e,t,r)=>{"use strict";var n=r(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3145:(e,t,r)=>{"use strict";var n=r(5578),i=r(1704),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},3181:(e,t,r)=>{"use strict";var n=r(5755),i=r(1483),s=r(2347),o=r(5409),a=r(9441),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=s(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},3242:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function find(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return s(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3312:(e,t,r)=>{"use strict";var n=r(5983),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},3392:(e,t,r)=>{"use strict";var n=r(3005),i=Math.max,s=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):s(r,t)}},3617:(e,t,r)=>{"use strict";var n=r(8612),i=r(5578),s=r(6021),o=r(2293),a=r(1483),c=r(3181),l=r(3864),u=r(670),p=r(8473),d=r(5755),h=r(1),f=r(1851).IteratorPrototype,g=r(382),m=r(9557),v="constructor",y="Iterator",w=h("toStringTag"),b=TypeError,S=i[y],x=m||!a(S)||S.prototype!==f||!p(function(){S({})}),E=function Iterator(){if(s(this,f),c(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){g?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===f)throw new b("You can't redefine this property");d(this,e)?this[e]=t:u(this,e,t)}}):f[e]=t};d(f,w)||defineIteratorPrototypeAccessor(w,y),!x&&d(f,v)&&f[v]!==Object||defineIteratorPrototypeAccessor(v,E),E.prototype=f,n({global:!0,constructor:!0,forced:x},{Iterator:E})},3658:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741);e.exports=Object.keys||function keys(e){return n(e,i)}},3786:(e,t,r)=>{"use strict";var n=r(1278),i=r(4762);e.exports=function(e){if("Function"===n(e))return i(e)}},3815:(e,t,r)=>{"use strict";var n=r(2355),i=r(1423);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3864:(e,t,r)=>{"use strict";var n=r(169),i=r(5835);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},3896:(e,t,r)=>{"use strict";var n=r(382),i=r(8473);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},3980:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);var i=n(r(2425));t.default=i.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,r=this.getSettings(),n=r.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(i){var s=Math.floor(i/n),o=jQuery(this),a=o[0].getBoundingClientRect().height+r.verticalSpaceBetween;if(s){var c=o.position(),l=i%n,u=c.top-t-e[l];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[l]+=a}else e.push(a)})}})},3991:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(6721),p=r(7486),d=r(5267),h=r(9557),f=!h&&!p("map",function(){}),g=!h&&!f&&d("map",TypeError),m=h||f||g,v=c(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function map(e){o(this);try{s(e)}catch(e){u(this,"throw",e)}return g?i(g,this,e):new v(a(this),{mapper:e})}})},4338:(e,t,r)=>{"use strict";var n={};n[r(1)("toStringTag")]="z",e.exports="[object z]"===String(n)},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4364:(e,t,r)=>{"use strict";r(3991)},4483:(e,t,r)=>{"use strict";var n,i,s,o=r(4644),a=r(5578),c=r(1704),l=r(9037),u=r(5755),p=r(1831),d=r(5409),h=r(1507),f="Object already initialized",g=a.TypeError,m=a.WeakMap;if(o||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new g(f);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=d("state");h[y]=!0,n=function(e,t){if(u(e,y))throw new g(f);return t.facade=e,l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},4644:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483),s=n.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4762:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},4815:(e,t,r)=>{"use strict";var n=r(4762);e.exports=n({}.isPrototypeOf)},4846:(e,t,r)=>{"use strict";r(3617)},4887:(e,t,r)=>{"use strict";var n=r(1807),i=r(8120),s=r(2293),o=r(8761),a=r(6665),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return s(n(r,e));throw new c(o(e)+" is not iterable")}},4914:(e,t,r)=>{"use strict";var n=r(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},4946:(e,t,r)=>{"use strict";var n=r(6784),i=n(r(1265)),s=n(r(2890)),o=n(r(7955)),a=n(r(8140)),c=n(r(7224)),l=n(r(5633)),u=n(r(9603));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:c.default,StretchedElement:a.default,SwiperBase:l.default,CarouselBase:u.default}}},4961:(e,t,r)=>{"use strict";var n=r(382),i=r(1807),s=r(7611),o=r(7738),a=r(5599),c=r(3815),l=r(5755),u=r(1799),p=Object.getOwnPropertyDescriptor;t.f=n?p:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!i(s.f,e,t),e[t])}},5022:(e,t,r)=>{"use strict";var n=r(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const r of t)if(e.constructor.name===r.prototype[Symbol.toStringTag])return!0;return!1}},5247:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5267:(e,t,r)=>{"use strict";var n=r(5578);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,s=i&&i[e],o=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return s}},5290:(e,t,r)=>{"use strict";var n,i=r(2293),s=r(5799),o=r(4741),a=r(1507),c=r(2811),l=r(3145),u=r(5409),p="prototype",d="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F):NullProtoObjectViaActiveX(n);for(var i=o.length;i--;)delete NullProtoObject[p][o[i]];return NullProtoObject()};a[h]=!0,e.exports=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor[p]=i(e),r=new EmptyConstructor,EmptyConstructor[p]=null,r[h]=e):r=NullProtoObject(),void 0===t?r:s.f(r,t)}},5299:(e,t,r)=>{"use strict";var n=r(1),i=r(6775),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},5409:(e,t,r)=>{"use strict";var n=r(7255),i=r(1866),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},5578:function(e,t,r){"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 r.g&&r.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5599:(e,t,r)=>{"use strict";var n=r(2121),i=r(3312);e.exports=function(e){return n(i(e))}},5633:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7224));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},5724:(e,t,r)=>{"use strict";var n=r(8612),i=r(2347),s=r(6960),o=r(9273),a=r(1091);n({target:"Array",proto:!0,arity:1,forced:r(8473)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=s(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},5755:(e,t,r)=>{"use strict";var n=r(4762),i=r(2347),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},5799:(e,t,r)=>{"use strict";var n=r(382),i=r(3896),s=r(5835),o=r(2293),a=r(5599),c=r(3658);t.f=n&&!i?Object.defineProperties:function defineProperties(e,t){o(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)s.f(e,r=i[u++],n[r]);return e}},5835:(e,t,r)=>{"use strict";var n=r(382),i=r(1799),s=r(3896),o=r(2293),a=r(3815),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=n?s?function defineProperty(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function defineProperty(e,t,r){if(o(e),t=a(t),o(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5983:e=>{"use strict";e.exports=function(e){return null==e}},6021:(e,t,r)=>{"use strict";var n=r(4815),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},6029:(e,t,r)=>{"use strict";var n=r(6477),i=r(8473),s=r(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6145:(e,t,r)=>{"use strict";var n=r(4338),i=r(1483),s=r(1278),o=r(1)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},6211:(e,t,r)=>{"use strict";r(3242)},6477:(e,t,r)=>{"use strict";var n,i,s=r(5578),o=r(9461),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},6651:(e,t,r)=>{"use strict";var n=r(5599),i=r(3392),s=r(6960),createMethod=function(e){return function(t,r,o){var a=n(t),c=s(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},6665:(e,t,r)=>{"use strict";var n=r(6145),i=r(2564),s=r(5983),o=r(6775),a=r(1)("iterator");e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},6721:(e,t,r)=>{"use strict";var n=r(1807),i=r(2293),s=r(2564);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},6726:(e,t,r)=>{"use strict";var n=r(5755),i=r(9497),s=r(4961),o=r(5835);e.exports=function(e,t,r){for(var a=i(t),c=o.f,l=s.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||r&&n(r,p)||c(e,p,l(t,p))}}},6742:(e,t,r)=>{"use strict";var n=r(4762),i=r(5755),s=r(5599),o=r(6651).indexOf,a=r(1507),c=n([].push);e.exports=function(e,t){var r,n=s(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},6775:e=>{"use strict";e.exports={}},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6960:(e,t,r)=>{"use strict";var n=r(8324);e.exports=function(e){return n(e.length)}},7224:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(6211),r(9655),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 r="change";"global"!==t&&(r+=":"+t),e.editorListeners.push({event:r,to:elementor.channels.editor,callback(t,r){e.getUniqueHandlerID(r.model.cid,r.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,r)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,r){if(r.model.cid!==e.getModelCID())return;const n=Object.keys(t.changed)[0];e.onEditSettingsChange(n,t.changed[n])}}),["page"].forEach(function(t){var r="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[r]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[r](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 r=this.getModelCID();if(this.isEdit&&r){const e=elementorFrontend.config.elements.data[r],n=e.attributes;let i=n.widgetType||n.elType;n.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 r=n[e];r.toJSON&&(r=r.toJSON()),t[e]=r}})}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()}})},7255:(e,t,r)=>{"use strict";var n=r(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},7268:(e,t,r)=>{"use strict";var n=r(4762),i=r(1483),s=r(1831),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},7458:(e,t,r)=>{"use strict";r(1975)},7486:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7611:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7914:(e,t,r)=>{"use strict";var n=r(1483),i=r(5835),s=r(169),o=r(2095);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&s(r,l,a),a.global)c?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},7955: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 r=this.elements.$element,n=t.innerWidth(),i=r.offset().left,s="fixed"===r.css("position"),o=s?0:i,a=window===t[0];if(!a){var c=t.offset().left;s&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&a){o-=window.innerWidth-n}s||(elementorFrontend.config.is_rtl&&(o=n-(r.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=n;e.margin&&(u-=2*e.margin),l.width=u+"px",l[e.direction]=o+"px","variables"!==e.cssOutput?r.css(l):this.applyCssVariables(r,l)},reset(){const e={},t=this.getSettings(),r=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",r.css(e)):this.resetCssVariables(r)},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":""})}})},7958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRegistry=void 0,r(4846),r(7458),r(9655),r(4364);t.BaseRegistry=class BaseRegistry{constructor(){this.sections=new Map}register(e){if(!e.key||!e.title)throw new Error("Template type must have key and title");const t=this.get(e.key)||this.formatSection(e);if(e.children)if(t.children){const r=new Map(t.children.map(e=>[e.key,e]));e.children.forEach(e=>{const t=this.formatSection(e);r.set(e.key,t)}),t.children=Array.from(r.values())}else t.children=e.children.map(e=>this.formatSection(e));this.sections.set(e.key,t)}formatSection({children:e,...t}){return{key:t.key,title:t.title,description:t.description||"",useParentDefault:!1!==t.useParentDefault,getInitialState:t.getInitialState||null,component:t.component||null,order:t.order||10,isAvailable:t.isAvailable||(()=>!0),...t}}getAll(){return Array.from(this.sections.values()).filter(e=>e.isAvailable()).map(e=>e.children?{...e,children:[...e.children].sort((e,t)=>e.order-t.order)}:e).sort((e,t)=>e.order-t.order)}get(e){return this.sections.get(e)}}},8120:(e,t,r)=>{"use strict";var n=r(1483),i=r(8761),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not a function")}},8140:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);var i=n(r(7224));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(e=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(...e){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...e),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},8324:(e,t,r)=>{"use strict";var n=r(3005),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8612:(e,t,r)=>{"use strict";var n=r(5578),i=r(4961).f,s=r(9037),o=r(7914),a=r(2095),c=r(6726),l=r(8730);e.exports=function(e,t){var r,u,p,d,h,f=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(u in t){if(d=t[u],p=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(g?u:f+(m?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&s(d,"sham",!0),o(r,u,d,e)}}},8660:(e,t,r)=>{"use strict";var n=r(1807),i=r(5290),s=r(9037),o=r(2313),a=r(1),c=r(4483),l=r(2564),u=r(1851).IteratorPrototype,p=r(5247),d=r(6721),h=r(1983),f=a("toStringTag"),g="IteratorHelper",m="WrapForValidIterator",v="normal",y="throw",w=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?m:g);return o(i(u),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var s=l(i,"return");return s?n(s,i):p(void 0,!0)}if(r.inner)try{d(r.inner.iterator,v)}catch(e){return d(i,y,e)}if(r.openIters)try{h(r.openIters,v)}catch(e){return d(i,y,e)}return i&&d(i,v),p(void 0,!0)}})},b=createIteratorProxyPrototype(!0),S=createIteratorProxyPrototype(!1);s(S,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function Iterator(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?m:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?b:S,n}},8685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={},t={}){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(),r=t.startsWith("at new")?"constructor":t.split(" ")[1],n={};if(n.functionName=r,n.fullName=r,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n,e)}},8730:(e,t,r)=>{"use strict";var n=r(8473),i=r(1483),s=/#|\.prototype\./,isForced=function(e,t){var r=a[o(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8901:(e,t,r)=>{"use strict";var n=r(2293),i=r(6721);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetInitialState=function createGetInitialState(e,t={}){return(r,n)=>{let i=n;if(r.hasOwnProperty("uploadedData")){i=!1;const t=r.uploadedData.manifest.templates,n=elementorAppConfig?.["import-export-customization"]?.exportGroups||{};for(const r in t){if(n[t[r].doc_type]===e){i=!0;break}}}return{enabled:i,...t}}}},9037:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},9273:(e,t,r)=>{"use strict";var n=r(382),i=r(4914),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},9441:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},9461:(e,t,r)=>{"use strict";var n=r(5578).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},9497:(e,t,r)=>{"use strict";var n=r(1409),i=r(4762),s=r(2278),o=r(4347),a=r(2293),c=i([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),r=o.f;return r?c(t,r(e)):t}},9557:e=>{"use strict";e.exports=!1},9603:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211),r(9655);var i=n(r(5633));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:".swiper",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,r=1===t,n=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:r?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(n).reverse().forEach(t=>{const r=i[t]?i[t]:o;s.breakpoints[n[t].value]={slidesPerView:+e["slides_to_show_"+t]||r,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[n[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||r}),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),r?(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,c="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),c&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"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.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,r){const n=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&n&&"none"!==n)switch(n){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(...e){if(super.onInit(...e),!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,r=e.originalEvent.code,n=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(r)))return!0;(t?"ArrowRight":"ArrowLeft")===r?this.swiper.slidePrev():n===r&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],r=this.swiper.params;switch(e){case"autoplay_speed":r.autoplay.delay=t;break;case"speed":r.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(e=null){const t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e);return Number(t)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),r=t?t[1]:"desktop",n=this.getSpaceBetween(r);"desktop"!==r&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[r].value].spaceBetween=n),this.swiper.params.spaceBetween=n,this.swiper.update()}getPaginationBullets(e="array"){const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}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 r="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&r&&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(e=""){if("number"!=typeof("initialisation"===e?0:this.swiper?.activeIndex))return;const t=this.getSwiperWrapperTranformXValue(),r=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((e,n)=>{0<=n.offsetLeft+t&&r>n.offsetLeft+t?(n.removeAttribute("aria-hidden"),n.removeAttribute("inert")):(n.setAttribute("aria-hidden",!0),n.setAttribute("inert",""))})}handleElementHandlers(){}}t.default=CarouselHandlerBase},9655:(e,t,r)=>{"use strict";r(9930)},9930:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function forEach(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;s(t,function(t){e(t,r++)},{IS_RECORD:!0})}})}},e=>{var t;t=4946,e(e.s=t)}]);