
!function(e){"use strict";const s="morphext",i={animation:"bounce",speed:2e3,autoInit:!0,phrases:[],animateCssVersion:"4.1.1",autoAttachAnimateCss:!0};function n(t){this.element=e(t),this._settings=e.extend({},i,JSON.parse(this.element.attr("data-morphext-options"))),this._defaults=i,this._init()}n.prototype={_init:function(){var t;this.element.addClass("morphext"),this._settings.autoAttachAnimateCss&&(t=`https://cdnjs.cloudflare.com/ajax/libs/animate.css/${this._settings.animateCssVersion}/animate.min.css`,e(`link[href='${t}']`).length||e(`<link href="${t}" rel="stylesheet">`).appendTo("head")),this._index=0,this.animate(),this.start()},animate:function(){this._index=this._index%this._settings.phrases.length;const t=document.createElement("span");t.classList.add("morphext__animated","animate__animated",`animate__${this._settings.animation}`),e(t).text(this._settings.phrases[this._index]),this.element.html(e(t).prop("outerHTML")),this._index+=1},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this._settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[s]=function(t){return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new n(this))})}}(jQuery);



jQuery(document).ready(function($){var adminBarHeight=0;if($("#wpadminbar").length!=0){var adminBarHeight=$('#wpadminbar').height()}
var mysticky_welcomebar_height=adminBarHeight+jQuery('.mysticky-welcomebar-fixed').outerHeight();if(jQuery('.mysticky-welcomebar-fixed').data('position')=='top'){jQuery('.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed').css('top','-'+mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed').css('bottom','-'+mysticky_welcomebar_height+'px')}
var divi_topbar_height=$('.et_fixed_nav #top-header').outerHeight();var divi_total_height=mysticky_welcomebar_height+divi_topbar_height;var welcombar_aftersubmission=$('.mysticky-welcomebar-fixed').data('aftersubmission');if(welcombar_aftersubmission=='dont_show_welcomebar'){var welcomebar_storage=localStorage.getItem("welcomebar_close")}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){var welcomebar_storage=sessionStorage.getItem("welcomebar_close")}else{sessionStorage.removeItem('welcomebar_close');localStorage.removeItem('welcomebar_close');var welcomebar_storage=null}
if(welcomebar_storage===null){var after_trigger=jQuery('.mysticky-welcomebar-fixed').data('after-triger');jQuery('body').addClass('mysticky-welcomebar-apper');if(after_trigger=='after_a_few_seconds'){if($('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-desktop')){if($(window).width()>767){var trigger_sec=jQuery('.mysticky-welcomebar-fixed').data('triger-sec')*1000;var welcombar_position=$('.mysticky-welcomebar-fixed').data('position');var welcombar_height=$('.mysticky-welcomebar-fixed').outerHeight();setTimeout(function(){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');$('.mysticky-welcomebar-fixed').addClass('entry-effect');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-bottom','');jQuery('#mysticky_divi_style').remove();jQuery('.et_fixed_nav #top-header').css('top',welcombar_height+'px');jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: '+welcombar_height+'px !important}.et_fixed_nav #top-header + #main-header{top: '+divi_total_height+'px !important}</style>');$("html").animate({"margin-top":mysticky_welcomebar_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mysticky_welcomebar_height+"px!important;")});$('#mysticky-nav').css('top',mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','0');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-top','');jQuery('#mysticky_divi_style').remove();jQuery('.et_fixed_nav #top-header').css('top','');$('html').attr('style','margin-bottom: '+mysticky_welcomebar_height+'px !important')}},trigger_sec)}}}
if($(window).width()<767){if(after_trigger=='after_a_few_seconds'){if($('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-mobile')){var trigger_sec=jQuery('.mysticky-welcomebar-fixed').data('triger-sec')*1000;var welcombar_position=$('.mysticky-welcomebar-fixed').data('position');var welcombar_height=$('.mysticky-welcomebar-fixed').outerHeight();setTimeout(function(){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');$('.mysticky-welcomebar-fixed').addClass('entry-effect');jQuery('#mysticky_divi_style').remove();jQuery('.et_fixed_nav #top-header').css('top','');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-bottom','');$("html").animate({"margin-top":mysticky_welcomebar_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mysticky_welcomebar_height+"px!important;")});$('#mysticky-nav').css('top',mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','0');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-top','');$('html').attr('style','margin-bottom: '+mysticky_welcomebar_height+'px !important')}},trigger_sec)}}}
mystickyelements_present()}
$(window).resize(function(){var mysticky_welcomebar_height=jQuery('.mysticky-welcomebar-fixed').outerHeight();if(welcombar_aftersubmission=='dont_show_welcomebar'){var welcomebar_storage=localStorage.getItem("welcomebar_close")}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){var welcomebar_storage=sessionStorage.getItem("welcomebar_close")}else{sessionStorage.removeItem('welcomebar_close');localStorage.removeItem('welcomebar_close');var welcomebar_storage=null}
if(welcomebar_storage===null){var after_trigger=jQuery('.mysticky-welcomebar-fixed').data('after-triger');if(!$('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-notapper')){jQuery('body').addClass('mysticky-welcomebar-apper')}else{jQuery('body').removeClass('mysticky-welcomebar-apper')}
if(after_trigger=='after_a_few_seconds'){var trigger_sec=jQuery('.mysticky-welcomebar-fixed').data('triger-sec')*1000;var welcombar_position=$('.mysticky-welcomebar-fixed').data('position');var welcombar_height=$('.mysticky-welcomebar-fixed').outerHeight();if($(window).width()<767){if($('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-mobile')){setTimeout(function(){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');$('.mysticky-welcomebar-fixed').addClass('entry-effect');jQuery('#mysticky_divi_style').remove();jQuery('.et_fixed_nav #top-header').css('top','');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-bottom','');$("html").animate({"margin-top":mysticky_welcomebar_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mysticky_welcomebar_height+"px!important;")});$('.mysticky-welcomebar-apper #mysticky-nav').css('top',mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','0');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-top','');$('html').attr('style','margin-bottom: '+mysticky_welcomebar_height+'px !important')}},trigger_sec)}}else{if($('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-desktop')){setTimeout(function(){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');$('.mysticky-welcomebar-fixed').addClass('entry-effect');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-bottom','');jQuery('#mysticky_divi_style').remove();jQuery('.mysticky-welcomebar-apper.et_fixed_nav #top-header').css('top',welcombar_height+'px');jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: '+welcombar_height+'px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: '+divi_total_height+'px !important}</style>');$("html").animate({"margin-top":mysticky_welcomebar_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mysticky_welcomebar_height+"px!important;")});$('.mysticky-welcomebar-apper #mysticky-nav').css('top',mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','0');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-top','');jQuery('#mysticky_divi_style').remove();jQuery('.et_fixed_nav #top-header').css('top','');$('html').attr('style','margin-bottom: '+mysticky_welcomebar_height+'px !important')}},trigger_sec)}}}
mystickyelements_present()}});jQuery(window).on('scroll',function(){if(welcombar_aftersubmission=='dont_show_welcomebar'){var welcomebar_storage=localStorage.getItem("welcomebar_close")}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){var welcomebar_storage=sessionStorage.getItem("welcomebar_close")}else{sessionStorage.removeItem('welcomebar_close');localStorage.removeItem('welcomebar_close');var welcomebar_storage=null}
if(welcomebar_storage===null){var welcombar_height=$('.mysticky-welcomebar-fixed').outerHeight();var welcombar_position=$('.mysticky-welcomebar-fixed').data('position');if(welcombar_position=='top'){$('#mysticky-nav').css('top',mysticky_welcomebar_height+'px')}
if(after_trigger==='after_scroll'){var scroll=100*$(window).scrollTop()/($(document).height()-$(window).height());var after_scroll_val=jQuery('.mysticky-welcomebar-fixed').data('triger-sec');var welcombar_position=$('.mysticky-welcomebar-fixed').data('position');var welcombar_height=$('.mysticky-welcomebar-fixed').outerHeight();if(scroll>after_scroll_val){if($('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-desktop')){if($(window).width()>767){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');$('.mysticky-welcomebar-fixed').addClass('entry-effect');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-bottom','');$("html").animate({"margin-top":mysticky_welcomebar_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mysticky_welcomebar_height+"px!important;")});$('#mysticky-nav').css('top',mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','0');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-top','');$('html').attr('style','margin-bottom: '+mysticky_welcomebar_height+'px !important')}}}
if($('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-mobile')){if($(window).width()<767){jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-animation');$('.mysticky-welcomebar-fixed').addClass('entry-effect');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-bottom','');$("html").animate({"margin-top":mysticky_welcomebar_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mysticky_welcomebar_height+"px!important;")});$('#mysticky-nav').css('top',mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','0');jQuery('.mysticky-welcomebar-fixed').css('opacity','1');$('html').css('margin-top','');$('html').attr('style','margin-bottom: '+mysticky_welcomebar_height+'px !important')}}}}}
mystickyelements_present()}});jQuery('.mysticky-welcomebar-close, .mysticky-welcomebar-btn a').on('click',function(e){if($(this).attr('href')==''){e.preventDefault()}
var flag=!0;var trigger_sec=100;var welcomebar_widget=0;if(jQuery(".mysticky-welcomebar-lead-content").length>0&&!$(this).hasClass("mysticky-welcomebar-close")){if(jQuery('#contact-lead-name-'+welcomebar_widget).val()!=''&&(jQuery('#contact-lead-phone-'+welcomebar_widget).val()!=''||jQuery('#contact-lead-email-'+welcomebar_widget).val()!='')){if(jQuery('#contact-lead-email-'+welcomebar_widget).css("display")!='none'&&IsEmail(jQuery('#contact-lead-email-'+welcomebar_widget).val())!=!0){if($(".input-error").length){$(".input-error").remove()}
$('<div class="input-error"><span>Please, enter valid email</span></div>').insertAfter(jQuery('#contact-lead-email-'+welcomebar_widget));flag=!1}
if(jQuery('#contact-lead-phone-'+welcomebar_widget).css("display")!='none'&&validatePhone(jQuery('#contact-lead-phone-'+welcomebar_widget).val())!=!0){if($(".input-error").length){$(".input-error").remove()}
$('<div class="input-error"><span>Please, enter valid phone</span></div>').insertAfter(jQuery('#contact-lead-phone-'+welcomebar_widget));flag=!1}
if(flag==!0){var data=[];data.contact_name=jQuery('#contact-lead-name-'+welcomebar_widget).val();data.contact_email=jQuery('#contact-lead-email-'+welcomebar_widget).val();data.contact_phone=jQuery('#contact-lead-phone-'+welcomebar_widget).val();data.contact_page_link=jQuery('#contact-lead-pagelink-'+welcomebar_widget).val();var sucess_message=$('.mysticky-welcomebar-fixed').data('show-success-message');if(sucess_message==1){$(".mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content").hide();$(".mysticky-welcomebar-fixed .mysticky-welcomebar-content p").hide();$(".mysticky-welcomebar-fixed .mysticky-welcomebar-btn.contact-lead-button").hide();$(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content").show();$(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content p").show()}
var trigger_sec=2000;jQuery.ajax({url:welcomebar_frontjs.ajaxurl,type:'post',data:'contact_name='+data.contact_name+'&contact_email='+data.contact_email+'&contact_phone='+data.contact_phone+'&action=stickymenu_contact_lead_form&widget_id='+welcomebar_widget+'&page_link='+data.contact_page_link+'&save_form_lead=1&wpnonce='+welcomebar_frontjs.ajax_nonce,success:function(data){$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0");jQuery('#contact-lead-name-'+welcomebar_widget).val('');jQuery('#contact-lead-email-'+welcomebar_widget).val('');jQuery('#contact-lead-phone-'+welcomebar_widget).val('')},})}else{$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px");return!1}}else{localStorage.removeItem('welcomebar_close_'+welcomebar_widget);sessionStorage.removeItem('welcomebar_close_'+welcomebar_widget);if($(".input-error").length){$(".input-error").remove()}
if(jQuery('#contact-lead-name-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-name-'+welcomebar_widget).val()==''&&jQuery('#contact-lead-email-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-email-'+welcomebar_widget).val()==''){$('<div class="input-error"><span>Please enter your name and email</span></div>').insertAfter(jQuery('#contact-lead-name-'+welcomebar_widget));flag=!1}else if(jQuery('#contact-lead-name-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-name-'+welcomebar_widget).val()==''&&jQuery('#contact-lead-phone-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-phone-'+welcomebar_widget).val()==''){$('<div class="input-error"><span>Please enter your name and phone</span></div>').insertAfter(jQuery('#contact-lead-name-'+welcomebar_widget));flag=!1}else if(jQuery('#contact-lead-name-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-name-'+welcomebar_widget).val()==''){$('<div class="input-error"><span>Please enter your name</span></div>').insertAfter(jQuery('#contact-lead-name-'+welcomebar_widget));flag=!1}else if(jQuery('#contact-lead-email-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-email-'+welcomebar_widget).val()==''){$('<div class="input-error"><span>Please, enter your email</span></div>').insertAfter(jQuery('#contact-lead-email-'+welcomebar_widget));flag=!1}else if(jQuery('#contact-lead-phone-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-phone-'+welcomebar_widget).val()==''){$('<div class="input-error"><span>Please, enter your phone</span></div>').insertAfter(jQuery('#contact-lead-phone-'+welcomebar_widget));flag=!1}
if(flag==!1){$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px")}else{$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0")}
return!1}}else{if($(this).hasClass("mysticky-welcomebar-close")){localStorage.setItem('is_close_trigger_'+welcomebar_widget,'yes')}}
setTimeout(function(){if(welcombar_aftersubmission!='show_welcomebar_every_page'){if(welcombar_aftersubmission=='dont_show_welcomebar'){sessionStorage.removeItem('welcomebar_close');localStorage.setItem('welcomebar_close','close')}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){localStorage.removeItem('welcomebar_close');sessionStorage.setItem('welcomebar_close','close')}}
var welcombar_position=$('.mysticky-welcomebar-fixed').data('position');var welcombar_height=$('.mysticky-welcomebar-fixed').outerHeight();jQuery('.mysticky-welcomebar-fixed').addClass('mysticky-welcomebar-notapper');jQuery('body').removeClass('mysticky-welcomebar-apper');jQuery('.mysticky-welcomebar-fixed').slideUp('slow');if(welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top','-'+mysticky_welcomebar_height+'px')}else{jQuery('.mysticky-welcomebar-fixed').css('bottom','-'+mysticky_welcomebar_height+'px')}
jQuery('#mysticky_divi_style').remove();jQuery('.et_fixed_nav #top-header').css('top','');jQuery('html').css('margin-top','');jQuery('html').css('margin-bottom','');$('#mysticky-nav').css('top','0px');var mystickyelements_show=$('.mystickyelements-fixed').length;if(mystickyelements_show&&$(window).width()<=1024&&$('.mystickyelements-fixed').hasClass('mystickyelements-position-mobile-top')&&welcombar_position=='top'){var mystickyelements_height=$('.mystickyelements-fixed').height();$('.mystickyelements-fixed').css('top','');$("html").animate({"margin-top":mystickyelements_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mystickyelements_height+"px!important;")})}},trigger_sec);jQuery('#contact-lead-name-'+welcomebar_widget).val('');jQuery('#contact-lead-email-'+welcomebar_widget).val('');jQuery('#contact-lead-phone-'+welcomebar_widget).val('')});$('.mysticky-welcomebar-close').on('keydown',function(e){if(e.keyCode=='13'){$(this).trigger('click')}})});function mystickyelements_present(){var after_trigger=jQuery('.mysticky-welcomebar-fixed').data('after-triger');var mystickyelements_show=jQuery('.mystickyelements-fixed').length;var welcombar_position=jQuery('.mysticky-welcomebar-fixed').data('position');var adminBarHeight=0;if(jQuery("#wpadminbar").length!=0){var adminBarHeight=jQuery('#wpadminbar').height()}
if(jQuery(window).width()<=600&&jQuery(window).scrollTop()!=0&&welcombar_position=='top'){jQuery('.mysticky-welcomebar-fixed').css('top','0px');var welcombar_height=jQuery('.mysticky-welcomebar-fixed').outerHeight();if(jQuery('.mysticky-welcomebar-fixed').css('display')==='none'){welcombar_height=0}
jQuery('#mysticky-nav').css('top',welcombar_height+'px')}else if(welcombar_position=='top'){var mysticky_welcomebar_height=adminBarHeight+jQuery('.mysticky-welcomebar-fixed').outerHeight();if(jQuery('.mysticky-welcomebar-fixed').css('display')==='none'){mysticky_welcomebar_height=adminBarHeight+0}
jQuery('.mysticky-welcomebar-fixed').css('top',(adminBarHeight+0)+'px');jQuery('#mysticky-nav').css('top',mysticky_welcomebar_height+'px')}
if(mystickyelements_show){var welcombar_height=jQuery('.mysticky-welcomebar-fixed').outerHeight();var mystickyelements_height=jQuery('.mystickyelements-fixed').height();var mystickyelements_total_height=welcombar_height+mystickyelements_height;if(jQuery(window).width()<=1024&&jQuery('.mystickyelements-fixed').hasClass('mystickyelements-position-mobile-top')){if(after_trigger=='after_a_few_seconds'){if(jQuery('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-mobile')){var trigger_sec=jQuery('.mysticky-welcomebar-fixed').data('triger-sec')*1000;setTimeout(function(){if(welcombar_position=='top'){jQuery('.mystickyelements-fixed').css('top',welcombar_height);$("html").animate({"margin-top":mystickyelements_total_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mystickyelements_total_height+"px!important;")})}else{jQuery('.mystickyelements-fixed').css('top','');jQuery('html').attr('style','margin-bottom: '+welcombar_height+'px !important')}},trigger_sec)}}else if(after_trigger==='after_scroll'){var scroll=100*$(window).scrollTop()/($(document).height()-$(window).height());var after_scroll_val=$('.mysticky-welcomebar-fixed').data('triger-sec');if(scroll>after_scroll_val){if(jQuery('.mysticky-welcomebar-fixed').hasClass('mysticky-welcomebar-display-mobile')){if(welcombar_position=='top'){jQuery('.mystickyelements-fixed').css('top',welcombar_height);$("html").animate({"margin-top":mystickyelements_total_height+"px"},1000,function(){$("html").css("cssText","margin-top:"+mystickyelements_total_height+"px!important;")})}else{jQuery('.mystickyelements-fixed').css('top','');jQuery('html').attr('style','margin-bottom: '+welcombar_height+'px !important')}}}}}}}
jQuery(".mysticky-welcomebar-fixed").on("animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",function(){jQuery(this).removeClass("animation-start")});jQuery(document).ready(function(){var container=jQuery(".mysticky-welcomebar-fixed");var refreshId=setInterval(function(){container.addClass("animation-start")},3500)});function IsEmail(email){var regex=/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!regex.test(email)){return!1}else{return!0}}
function validatePhone(txtPhone){var a=txtPhone;var filter=/^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/;if(filter.test(a)){return!0}else{return!1}};



(function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera);



!function(e){"use strict";jQuery(document).ready(function(e){if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1!=option.device_mobile)return!1;if(1!=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1!=option.device_desktop)return!1;if(e(option.mystickyClass)[0]){var t,i=document.querySelector(option.mystickyClass),o=parseInt(option.disableWidth),s=parseInt(option.disableLargeWidth),n=option.mystickyTransition,d=parseInt(option.activationHeight),a=option.adminBar,r=option.mysticky_disable_down;C();for(var l=i.parentNode,c=document.createElement("div"),m=0,p=0;p<l.childNodes.length;p++)if(l.childNodes[p]==i){m=p;break}c.id="mysticky-wrap",c.appendChild(i),l.insertBefore(c,l.childNodes[m]);var y,f,u=i.parentNode,h=document.createElement("div");if(h.id="mysticky-nav",u.replaceChild(h,i),h.appendChild(i),"0"==d)var w=!0;E(),B();var v,x=0;S(),I();var k=d;P(),H();var g="scrollY"in window,b=0;document.addEventListener("scroll",function(a){var l=e(".mysticky-welcomebar-fixed").css("top"),m=e(".mysticky-welcomebar-fixed").data("position"),p=e(".mysticky-welcomebar-fixed").outerHeight(),u=e(".mysticky-welcomebar-fixed").length,w=e("body").hasClass("mysticky-welcomebar-apper");if(u&&parseInt(l)>=0&&"top"==m&&w){var L=p;x=0}else L="";if(t>=o&&(0==s||t<=s)){var C=g?window.scrollY:document.documentElement.scrollTop;if(0==document.documentElement.scrollTop&&h.classList.remove("wrapfixed"),0<=C){if(C>=b)C>=d&&i.classList.add("myfixed"),C>=d&&h.classList.add("wrapfixed"),C>=d&&(c.style.height=y+"px"),C>=d&&(i.style.width=v+"px"),"slide"==n&&("false"==r&&(h.style.top=C>=d+f-x?x+L+"px":"-"+f+"px"),y>f&&"false"==r&&(C<d+f&&(h.style.top="-"+y+"px"),C>=d+f&&(h.style.top=x+L+"px"))),h.classList.add("down"),h.classList.remove("up"),"on"==r&&(h.style.top="-"+(y+x)+"px",jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").hide());else{var E=g?window.scrollY:document.documentElement.scrollTop;!(E>k)&&(c.style.height=""),!(E>k)&&(i.style.width=""),"slide"==n?(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed"),"false"==r&&E<k+f+200-x&&(h.style.top="-"+f+"px")):(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed")),h.classList.remove("down"),h.classList.add("up"),"on"==r&&(h.style.top=x+L+"px",jQuery("#mysticky-nav "+option.mystickyClass).css("width",v+"px"),jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").show())}b=C}else h.classList.remove("up")}});var L=e(window).width();window.addEventListener("resize",N),window.addEventListener("orientationchange",N)}else console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");function C(e){e=window;var i="inner";"innerWidth"in window||(i="client",e=document.documentElement||document.body),t=e[i+"Width"]}function E(){y=i.offsetHeight,parseInt(e(i).css("marginBottom"))>0&&(c.style.marginBottom=e(i).css("marginBottom")),"0"==y&&e(i).children().filter(":visible").each(function(){y=e(this).outerHeight(!0)})}function B(){i.classList.add("myfixed"),"0"==(f=e(".myfixed").outerHeight())&&e(".myfixed").children().filter(":visible").each(function(){f=e(this).outerHeight(!0)}),i.classList.remove("myfixed")}function S(){x="true"==a&&t>600&&e("#wpadminbar")[0]?e("#wpadminbar").height():0,h.style.top="slide"==n?"-"+f+"px":x+"px"}function I(){var t=e(i)[0].getBoundingClientRect();v=t.width}function P(){1==w&&("slide"==n&&(d=e(i).offset().top+y-x,k=e(i).offset().top+y-x,"on"==r&&(k=e(i).offset().top-x)),"fade"==n&&("false"==r&&(d=e(i).offset().top-x,k=e(i).offset().top-x),"on"==r&&(d=e(i).offset().top-x+y,k=e(i).offset().top-x)))}function H(){1==w&&y>f&&("slide"==n?(k=d,"on"==r&&(k=d-f)):(d=y,k=y))}function N(){e(window).width()!=L&&(h.classList.remove("up"),h.classList.remove("down"),e(".wrapfixed")[0]||(E(),i.style.removeProperty("width"),I()),C(),S(),B(),P(),H())}})}();


