/home/fdhrevqn/public_html/wp-content/plugins.disabled/coming-soon/public/js/sp-scripts.min.js
function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}((e,t)=>{var s,a;"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=self,s=e.Cookies,(a=e.Cookies=t()).noConflict=function(){return e.Cookies=s,a})})(void 0,function(){function i(e){for(var t=1;t<arguments.length;t++){var s,a=arguments[t];for(s in a)e[s]=a[s]}return e}var p={read:function(e){return e.replace(/%3B/g,";")},write:function(e){return e.replace(/;/g,"%3B")}};return function t(n,o){function s(e,t,s){if("undefined"!=typeof document){"number"==typeof(s=i({},o,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=p.write(e).replace(/=/g,"%3D"),t=n.write(String(t),e);var a,r="";for(a in s)s[a]&&(r+="; "+a,!0!==s[a])&&(r+="="+s[a].split(";")[0]);return document.cookie=e+"="+t+r}}return Object.create({set:s,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],s={},a=0;a<t.length;a++){var r=t[a].split("="),o=r.slice(1).join("="),r=p.read(r[0]).replace(/%3D/g,"=");if(s[r]=n.read(o,r),e===r)break}return e?s[e]:s}},remove:function(e,t){s(e,"",i({},t,{expires:-1}))},withAttributes:function(e){return t(this.converter,i({},this.attributes,e))},withConverter:function(e){return t(i({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}(p,{path:"/"})});var seedprodCookies=Cookies.noConflict(),sp_emplacementRecaptcha=[],sp_option_id="",sp_CaptchaCallback=(jQuery("form[id^=sp-optin-form]").submit(function(e){e.preventDefault();e=jQuery(this).attr("id").replace("sp-optin-form-","");1===seeprod_enable_recaptcha?grecaptcha.execute(sp_emplacementRecaptcha[e]):sp_send_request("",e)}),function(){jQuery("div[id^=recaptcha-]").each(function(e,t){sp_option_id=t.id.replace("recaptcha-",""),sp_emplacementRecaptcha[sp_option_id]=grecaptcha.render(t,{sitekey:"6LdfOukUAAAAAMCOEFEZ9WOSKyoYrxJcgXsf66Xr",badge:"bottomright",type:"image",size:"invisible",callback:function(e){sp_send_request(e,sp_option_id)}})})});function sp_send_request(e,a){var t=jQuery("#sp-optin-form-"+a).serialize(),s=jQuery.ajax({url:seedprod_api_url+"subscribers",type:"post",dataType:"json",timeout:5e3,data:t}),t=(jQuery("#sp-optin-form-"+a+" .sp-optin-submit").addClass("sp-ajax-striped sp-ajax-animated"),jQuery.ajax({url:sp_subscriber_callback_url,type:"post",timeout:3e4,data:t}));jQuery.when(s,t).done(function(e,t){var s=jQuery("#sp-optin-form-"+a+" input[name^='seedprod_action']").val();"1"==s&&(jQuery("#sp-optin-form-"+a).hide(),jQuery("#sp-optin-success-"+a).show()),"2"===s&&(s=jQuery("#sp-optin-form-"+a+" input[name^='redirect_url']").val(),window.location.href=s),jQuery("#sp-optin-form-"+a+" .sp-optin-submit").removeClass("sp-ajax-striped sp-ajax-animated")}).fail(function(e,t,s){jQuery("#sp-optin-form-"+a+" .sp-optin-submit").removeClass("sp-ajax-striped sp-ajax-animated"),1===seeprod_enable_recaptcha&&grecaptcha.reset(sp_emplacementRecaptcha[a])})}var x=[];function countdown(e,o,n,i,p){var t=(new Date).getTime();"vt"==e&&(o+=t,null!=(e=seedprodCookies.get("seedprod_enddate_"+n))?o=e:seedprodCookies.set("seedprod_enddate_"+n,o,{expires:360})),x[n]=setInterval(function(){var e=(new Date).getTime(),e=o-e,t=Math.floor(e/864e5),s=Math.floor(e%864e5/36e5),a=Math.floor(e%36e5/6e4),r=Math.floor(e%6e4/1e3);0==(t=-1==r?s=a=r=0:t)?jQuery("#sp-cd-days-"+n).hide():jQuery("#sp-cd-days-"+n+" .sp-cd-amount").html(pad(t,2)),jQuery("#sp-cd-hours-"+n+" .sp-cd-amount").html(pad(s,2)),jQuery("#sp-cd-minutes-"+n+" .sp-cd-amount").html(pad(a,2)),jQuery("#sp-cd-seconds-"+n+" .sp-cd-amount").html(pad(r,2)),e<0&&(clearInterval(x[n]),"1"==i&&(jQuery("#sp-countdown-"+n+" .sp-countdown-group").hide(),jQuery("#sp-countdown-expired-"+n).show()),"2"==i&&(jQuery("#sp-countdown-"+n+" .sp-countdown-group").hide(),window.location.href=p),"3"==i)&&seedprodCookies.remove("seedprod_enddate_"+n)},1e3)}function seedprod_animatedheadline(e,t,s,a){"true"==t&&window.setInterval(function(){jQuery("#sp-animated-head-"+e+" .sp-title-highlight .sp-title--headline.sp-animated").addClass("sp-hide-highlight"),setTimeout(function(){jQuery("#sp-animated-head-"+e+" .sp-title-highlight .sp-title--headline.sp-animated").removeClass("sp-hide-highlight")},200)},a)}function seedprod_rotateheadline(e,t,s){var e=jQuery("#sp-animated-head-"+e+" .preview-sp-title"),a=window.innerWidth,a=a<=480?"mobile":480<a&&a<=1024?"tablet":"desktop";e.data("initialized")?e.data("last-view")!==a&&(e.data("last-view",a),e.html(e.data("original-html")),e.seedprod_responsive_title_shortcode()):(e.data("original-html",e.html()),e.data("last-view",a),e.data("initialized",!0),e.seedprod_responsive_title_shortcode())}function pad(e,t,s){return s=s||"0",(e+="").length>=t?e:new Array(t-e.length+1).join(s)+e}function seedprod_escapeHtml(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function seedprod_tabbedlayout(t){jQuery("#sp-"+t+" ul.sp-tabbedlayout-wrapper li a").click(function(){jQuery("#sp-"+t+" ul.sp-tabbedlayout-wrapper li a").removeClass("sp-active-tab");var e=jQuery(this).attr("data-tab");jQuery("#sp-"+t+" ul.sp-tabbedlayout-wrapper li a.sp-tab-section-"+e).addClass("sp-active-tab"),jQuery("#sp-"+t+" div.tab-content-box").addClass("sp-hidden"),jQuery("#sp-"+t+" div.sp-tab-content-section-"+e).removeClass("sp-hidden")})}function seedprod_bg_slideshow(e,t){var s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:5e3,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"ease-in",r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:500,r=(document.querySelector(e).style.backgroundSize="cover",document.querySelector(e).style.backgroundRepeat="no-repeat",document.querySelector(e).style.backgroundPosition="center center","all "+r+"ms "+a),o=(document.querySelector(e).style.WebkitTransition=r,document.querySelector(e).style.MozTransition=r,document.querySelector(e).style.MsTransition=r,document.querySelector(e).style.OTransition=r,document.querySelector(e).style.transition=r,0),n=(document.querySelector(e).style.backgroundImage="url('"+t[o]+"')",o++,setInterval(function(){document.querySelector(e).style.backgroundImage="url('"+t[o]+"')",o++,t.length<=o&&(o=0)},s),new Array);t.forEach(function(e,t){n[t]=new Image,n[t].src=e})}jQuery(document).ready(function(o){o('link[href*="/wp-content/themes/"]').remove(),o(".sp-imagecarousels-wrapper").each(function(){var e=o(this),t="#"+e.attr("id"),s=o(t+" .sp-imagecarousel-wrapper"),t=o(t+" .sp-imagecarousel-nav button[data-index]"),e=e.attr("data-slidetoshow"),a=e?parseInt(e):1;if((isNaN(a)||a<1)&&(a=1),s.css({opacity:0,height:"0",position:"absolute"}),0<s.length)for(var r=0;r<a&&r<s.length;r++)s.eq(r).css({opacity:1,height:"auto",position:"initial"});t.css({opacity:.25}),0<t.length&&t.first().css({opacity:1})})}),jQuery(document).ready(function(e){for(var t="{MM}/{dd}/{yyyy}",s=e("body").html().split("[#"),a=1;a<s.length;a++){var r=t,o=s[a].split("]")[0],n=o.split(":"),r=1<n.length?n[1]:t,n=Date.create(n[0]),o=new RegExp("\\[#"+o+"]","g");e("body *").replaceText(o,n.format(r))}e(".sp-dynamic-text").contents().unwrap()}),jQuery(document).ready(function(e){for(var t=e("body").html().split("[q:"),s=1;s<t.length;s++){var a="",r=t[s].split("]")[0],o=r.split("="),a=1<o.length?o[1]:"",o=o[0],r=new RegExp("\\[q:"+r+"]","g"),o=new URLSearchParams(window.location.search).get(o),o=(null!=o&&(a=o),e("body").html().replace(r,seedprod_escapeHtml(a)));e("body").html(o)}e(".sp-dynamic-text").contents().unwrap()}),jQuery(".sp-testimonial-nav button").click(function(){for(var e="#"+jQuery(this).parents(".sp-testimonials-wrapper").attr("id"),t=jQuery(e+" .sp-testimonial-nav button").index(this),s=0,a=jQuery(".sp-testimonial-wrapper",jQuery(this).parents(e)),r=jQuery(this).parents(".sp-testimonials-wrapper").attr("data-slidetoshow"),o=(null==r&&(r=1),Math.ceil(a.length/parseInt(r))),n=0;n<o;n++).5<=jQuery(e+' .sp-testimonial-nav button[data-index="'+n+'"]').css("opacity")&&(s=n);var i=jQuery(e+" .sp-testimonial-nav button").length-1,p=jQuery(e+" .sp-testimonial-nav button").eq(t).attr("data-index"),i=(0==t&&(0==s?s=Math.ceil(a.length/parseInt(r))-1:s--),t==i&&(Math.ceil(a.length/parseInt(r))-1==s?s=0:s++),a.css({opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-testimonial-nav button[data-index]").css({opacity:.25}),parseInt(s*parseInt(r))),c=parseInt(i+parseInt(r));if(void 0!==p){for(var s=p,i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r)),u=i;u<c;u++)jQuery(a).eq(u).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-testimonial-nav button").eq(t).css({opacity:1})}else{i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r));for(var l=i;l<c;l++)jQuery(a).eq(l).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-testimonial-nav button").eq(s+1).css({opacity:1})}});var testimonial_timers={};function seedprod_twitterembedtimeline(t,s,a,r,o,n,i,p,c,u){twttr.ready(function(e){window.twttr.widgets.createTimeline({sourceType:"profile",screenName:s},document.getElementById("sp-twitterembedtimeline-preview-"+t),{showReplies:a,width:r,height:o,chrome:n,align:i,borderColor:p,theme:c,lang:u}).then(function(e){})})}function seedprod_twittertweetbutton(t,s,a,r,o,n,i,p){twttr.ready(function(e){window.twttr.widgets.createShareButton(s,document.getElementById("sp-twittertweetbutton-preview-"+t),{size:a,text:r,hashtags:o,via:n,related:i,lang:p})})}jQuery(".sp-testimonials-wrapper").each(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=""===(s=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(s);void 0!==e&&(testimonial_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-testimonial-nav button:last-child").triggerHandler(e)},s))}),jQuery(".sp-testimonials-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(testimonial_timers[e])}),jQuery(".sp-testimonials-wrapper").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=""===(s=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(s);void 0!==e&&(testimonial_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-testimonial-nav button:last-child").triggerHandler(e)},s))}),jQuery(".sp-imagecarousel-nav button").click(function(){for(var e="#"+jQuery(this).parents(".sp-imagecarousels-wrapper").attr("id"),t=jQuery(e+" .sp-imagecarousel-nav button").index(this),s=0,a=jQuery(".sp-imagecarousel-wrapper",jQuery(this).parents(e)),r=jQuery(this).parents(".sp-imagecarousels-wrapper").attr("data-slidetoshow"),o=(null==r&&(r=1),Math.ceil(a.length/parseInt(r))),n=0;n<o;n++).5<=jQuery(e+' .sp-imagecarousel-nav button[data-index="'+n+'"]').css("opacity")&&(s=n);var i=jQuery(e+" .sp-imagecarousel-nav button").length-1,p=jQuery(e+" .sp-imagecarousel-nav button").eq(t).attr("data-index"),i=(0==t&&(0==s?s=Math.ceil(a.length/parseInt(r))-1:s--),t==i&&(Math.ceil(a.length/parseInt(r))-1==s?s=0:s++),parseInt(s*parseInt(r))),c=parseInt(i+parseInt(r));if(a.css({opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-imagecarousel-nav button[data-index]").css({opacity:.25}),void 0!==p){for(var s=p,i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r)),u=i;u<c;u++)jQuery(a).eq(u).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-imagecarousel-nav button").eq(t).css({opacity:1})}else{i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r));for(var l=i;l<c;l++)jQuery(a).eq(l).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-imagecarousel-nav button").eq(s+1).css({opacity:1})}});var imagecarousel_timers={};function PureDropdown(e){var t="seedprod-menu-active",s="role",a="aria-hidden",r=".menu-item a",o=window.hasOwnProperty&&window.hasOwnProperty("ontouchstart")?"touchstart":"mousedown",n=this;this._state=1,this.show=function(){0!==this._state&&(this._dropdownParent.classList.add(t),this._menu.setAttribute(a,!1),this._state=0)},this.hide=function(){1!==this._state&&(this._dropdownParent.classList.remove(t),this._menu.setAttribute(a,!0),this._link.focus(),this._state=1)},this.toggle=function(){this[1===this._state?"show":"hide"]()},this.halt=function(e){e.stopPropagation(),e.preventDefault()},this._dropdownParent=e,this._link=this._dropdownParent.querySelector(r),this._menu=this._dropdownParent.querySelector(".sub-menu"),this._firstMenuLink=this._menu.querySelector(r),this._link.setAttribute("aria-haspopup","true"),this._menu.setAttribute(s,"menu"),this._menu.setAttribute("aria-labelledby",this._link.getAttribute("id")),this._menu.setAttribute("aria-hidden","true"),[].forEach.call(this._menu.querySelectorAll("li"),function(e){e.setAttribute(s,"presentation")}),[].forEach.call(this._menu.querySelectorAll("a"),function(e){e.setAttribute(s,"menuitem")}),this._link.addEventListener("click",function(e){0!==n._state&&(e.stopPropagation(),e.preventDefault(),n.show())}),this._link.addEventListener("mouseover",function(e){e.stopPropagation(),e.preventDefault(),window.matchMedia("only screen and (min-width: 768px)").matches&&n.toggle()}),this._link.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),window.matchMedia("only screen and (min-width: 768px)").matches&&(n.hide(),n._link.blur())}),document.addEventListener("keydown",function(e){var t,s,a,r;if(0===n._state&&!n._menu.querySelector(".menu-item-active"))if(t=n._menu.querySelector(":focus"),27===e.keyCode)n.halt(e),n.hide();else if(40===e.keyCode){for(n.halt(e),a=t?t.parentNode.nextSibling:null;a&&1!==a.nodeType;)a=a.nextSibling;r=a?a.querySelector(".menu-item a"):null,t?r&&r.focus():n._menu.querySelector(".menu-item a").focus()}else if(38===e.keyCode){for(n.halt(e),s=t?t.parentNode.previousSibling:null;s&&1!==s.nodeType;)s=s.previousSibling;r=s?s.querySelector(".menu-item a"):null,t?r&&r.focus():n._menu.querySelector(".menu-item:last-child .menu-item a").focus()}}),document.addEventListener(o,function(e){e=e.target;e===n._link||n._menu.contains(e)||(n.hide(),n._link.blur())})}function initDropdowns(){for(var e=document.querySelectorAll(".menu-item-has-children"),t=0;t<e.length;t++)new PureDropdown(e[t])}function seedprod_add_basic_lightbox(e){jQuery("#sp-"+e+" a").click(function(){return!1}),new ImgPreviewer("#sp-"+e,{scrollbar:!0,dataUrlKey:"href"}).update()}function seedprod_add_gallery_lightbox(e){jQuery("#sp-"+e+" a.sp-gallery-items").click(function(){return!1});var t=new ImgPreviewer("#sp-"+e+" .sp-gallery-block",{scrollbar:!0,dataUrlKey:"href"});t.update(),jQuery("#sp-"+e+" .sp-gallery-tabs a.sp-gallery-tab-title").click(function(){var s=jQuery(this).attr("data-gallery-index");jQuery("#sp-"+e+" .sp-gallery-tab-title").removeClass("sp-tab-active"),jQuery(this).addClass("sp-tab-active"),jQuery.each(jQuery("#sp-"+e+" .sp-gallery-items"),function(e,t){jQuery(this).removeClass("sp-hidden-items"),jQuery(this).removeClass("zoom-in"),"all"===s||jQuery(t).data("tags").split(",").includes(s)||jQuery(this).addClass("sp-hidden-items")}),t.update()})}function seedprod_add_gallery_js(e){jQuery("#sp-"+e+" .sp-gallery-tabs a.sp-gallery-tab-title").click(function(){var s=jQuery(this).attr("data-gallery-index");jQuery("#sp-"+e+" .sp-gallery-tab-title").removeClass("sp-tab-active"),jQuery(this).addClass("sp-tab-active"),jQuery.each(jQuery("#sp-"+e+" .sp-gallery-items"),function(e,t){jQuery(this).removeClass("sp-hidden-items"),jQuery(this).removeClass("zoom-in"),"all"===s||jQuery(t).data("tags").split(",").includes(s)||jQuery(this).addClass("sp-hidden-items")})})}function counter(e){var t=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-duration"),s=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-start-number"),a=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-end-number"),r=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-thousands-separator"),o=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-separator"),n={};n.duration=t,n.delimiter=r?{default:",",space:" ",dot:"."}[o]:"",n.toValue=a,jQuery("#sp-counter-number-".concat(e)).html(s),jQuery("#sp-counter-number-".concat(e)).numerator(n)}function image_dynamic_tags(e){jQuery(".sp-image-block-".concat(e)).each(function(){var e,t,s=this;"dynamictags"===jQuery(this).attr("data-image-src")&&(e=jQuery(this).attr("data-dynamic-tag"))&&((t=new Image).onload=function(){jQuery(s).attr("src",e)},t.src=e)})}function postcomments(e){var t="#sp-".concat(e," .sp-postcomments-content-policy-").concat(e),t=jQuery(t).html(),t=jQuery('<p class="commentpolicy"></p>').html(t),e="#sp-".concat(e," #commentform");document.querySelector(e)&&jQuery(e).prepend(t)}function beforeafterslider(e,t){jQuery("#sp-toggle-".concat(e," .twentytwenty-container")).twentytwenty(t)}function hotspotTooltips(s,e){var a=jQuery("#sp-".concat(s," .sp-hotspot-image")).attr("data-tooltip-trigger"),r=jQuery("#sp-".concat(s," .sp-hotspot-image")).attr("data-tooltip-animation"),o=jQuery("#sp-".concat(s," .sp-hotspot-image")).attr("data-tooltip-duration"),n=jQuery("#sp-".concat(s," .sp-hotspot-image")).attr("data-tooltip-position"),i=jQuery("#sp-".concat(s," .sp-hotspot-image")).attr("data-tooltip-show-arrow"),p=jQuery("#sp-".concat(s," .sp-hotspot-image")).attr("data-tooltip-max-width");(e=JSON.parse(e)).map(function(e,t){t="#sp-".concat(s," #hotspot-").concat(s,"-").concat(t);jQuery(t).tooltipster({animation:r,delay:o,trigger:a,side:n,arrow:"true"===i,maxWidth:p,content:e.tooltipContent,contentCloning:!0,contentAsHTML:!0})})}function seedprod_add_content_toggle_js(e){0==jQuery(this).is(":checked")?(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").removeClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").addClass("sp-hidden")):(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").addClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").removeClass("sp-hidden")),jQuery("#sp-contenttoggle-"+e+" .sp-content-toggle-area .sp-toggle-switch").change(function(){0==jQuery(this).is(":checked")?(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").removeClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").addClass("sp-hidden")):(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").addClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").removeClass("sp-hidden"))})}jQuery(".sp-imagecarousels-wrapper").each(function(e){var t="#"+jQuery(this).attr("id"),s=jQuery(this).attr("data-autoplay"),a=""===(a=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(a);void 0!==s&&(imagecarousel_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-imagecarousel-nav button:last-child").triggerHandler(e)},a))}),jQuery(".sp-imagecarousels-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(imagecarousel_timers[e])}),jQuery(".sp-imagecarousels-wrapper").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=""===(s=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(s);void 0!==e&&(imagecarousel_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-imagecarousel-nav button:last-child").triggerHandler(e)},s))}),jQuery(".hamburger").click(function(){jQuery(this).toggleClass("active"),jQuery(this).next(".nav-menu").toggleClass("active")}),jQuery.fn.isInViewport=function(){var e=jQuery(this).offset().top,t=e+jQuery(this).outerHeight(),s=jQuery(window).scrollTop(),a=s+jQuery(window).height();return s<t&&e<a},jQuery.fn.isInViewportWithThreshold=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:50,t=this.offset().top,s=t+this.outerHeight(),a=jQuery(window).scrollTop(),r=a+jQuery(window).height();return(Math.min(s,r)-Math.max(t,a))/this.outerHeight()*100>=e},jQuery(".sp-type-alert button.sp-alert-close").click(function(){jQuery(this).parents(".sp-type-alert").hide()}),jQuery(".sp-businessreview-nav button").click(function(){for(var e="#"+jQuery(this).parents(".sp-businessreview-wrapper").attr("id"),t=jQuery(e+" .sp-businessreview-nav button").index(this),s=0,a=jQuery(".seedprod-business-review-wrapper",jQuery(this).parents(e)),r=jQuery(this).parents(".sp-businessreview-wrapper").attr("data-slidetoshow"),o=(null==r&&(r=1),Math.ceil(a.length/parseInt(r))),n=0;n<o;n++).5<=jQuery(e+' .sp-businessreview-nav button[data-index="'+n+'"]').css("opacity")&&(s=n);var i=jQuery(e+" .sp-businessreview-nav button").length-1,p=jQuery(e+" .sp-businessreview-nav button").eq(t).attr("data-index"),i=(0==t&&(0==s?s=Math.ceil(a.length/parseInt(r))-1:s--),t==i&&(Math.ceil(a.length/parseInt(r))-1==s?s=0:s++),a.css({"z-index":999,opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-businessreview-nav button[data-index]").css({opacity:.25}),parseInt(s*parseInt(r))),c=parseInt(i+parseInt(r));if(void 0!==p){for(var s=p,i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r)),u=i;u<c;u++)jQuery(a).eq(u).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-businessreview-nav button").eq(t).css({opacity:1})}else{i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r));for(var l=i;l<c;l++)jQuery(a).eq(l).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-businessreview-nav button").eq(s+1).css({opacity:1})}});var businessreview_timers={};function seedprod_particlessectionjs(e,t){particlesJS("tsparticles-preview-sp-"+e,t)}function seedprod_pro_video_pop_up_trigger_video(t,s,e){var a=JSON.parse(e),r="custom"===a.source?"sp-video-responsive-video":"sp-video-responsive",o=jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)),n=jQuery("#sp-".concat(t," #sp-video-responsive-").concat(t)),i=jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t));a.enable_image_overlay&&(a.enable_lightbox?(jQuery("#sp-".concat(t," .sp-video-pop-up-image-overlay-container")).click(function(){jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t," .modal-content")).html('<div id="sp-video-responsive-'.concat(t,'" class="').concat(r,' sp-video-pop-up-video">').concat(s,"</div>")),jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t)).css("display","block")}),jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t," span.close")).click(function(){jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t)).css("display","none")})):jQuery("#sp-".concat(t," .sp-video-pop-up-image-overlay-container")).click(function(){jQuery("#sp-".concat(t," .sp-video-pop-up-image-overlay-container")).remove(),jQuery("#sp-".concat(t," .sp-video-wrapper")).append('<div id="sp-video-responsive-'.concat(t,'" class="').concat(r,' sp-video-pop-up-video">').concat(s,"</div>")),jQuery("#sp-".concat(t," #sp-video-responsive-").concat(t)).css("aspect-ratio",a.aspect_ratio)})),a.enable_sticky_video&&!a.enable_lightbox&&jQuery(window).on("resize scroll",throttle(function(){window.matchMedia("only screen and (min-width: 960px)").matches&&(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).isInViewportWithThreshold()?(o.removeClass("sp-video-wrapper-sticky").addClass("sp-video-wrapper"),n.removeClass("sp-video-responsive-sticky").addClass(r),a.enable_banner&&("custom"===a.source?i.removeClass("sp-video-pop-up-banner-custom-sticky"):"vimeo"===a.source?i.removeClass("sp-video-pop-up-banner-vimeo-sticky"):i.removeClass("sp-video-pop-up-banner-sticky")).addClass("sp-video-pop-up-banner"),0<jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-section").length&&seedprod_pro_check_for_entrance_animation(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-section"))&&(o.parents(".sp-el-section").css("isolation","initial"),o.parents(".sp-el-section").css("z-index","auto")),0<jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").length&&seedprod_pro_check_for_entrance_animation(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col"))&&(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").css("isolation","initial"),jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").css("z-index","auto")),0<jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-row").length&&seedprod_pro_check_for_entrance_animation(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-row"))&&(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-row").css("isolation","initial"),jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-row").css("z-index","auto"))):(o.removeClass("sp-video-wrapper").addClass("sp-video-wrapper-sticky"),n.removeClass(r).addClass("sp-video-responsive-sticky"),a.enable_banner&&("custom"===a.source?i.removeClass("sp-video-pop-up-banner").addClass("sp-video-pop-up-banner-custom-sticky"):"vimeo"===a.source?i.removeClass("sp-video-pop-up-banner").addClass("sp-video-pop-up-banner-vimeo-sticky"):i.removeClass("sp-video-pop-up-banner").addClass("sp-video-pop-up-banner-sticky")),0<jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-section").length&&(!seedprod_pro_check_for_entrance_animation(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-section"))||"0"!==o.parents(".sp-el-section").css("z-index")&&""!==o.parents(".sp-el-section").css("z-index")&&"auto"!==o.parents(".sp-el-section").css("z-index")||(o.parents(".sp-el-section").css("z-index",1),o.parents(".sp-el-section").css("isolation","isolate"))),0<jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").length&&(!seedprod_pro_check_for_entrance_animation(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col"))||"0"!==jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").css("z-index")&&""!==jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").css("z-index")&&"auto"!==jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-col").css("z-index")||(o.parents(".sp-el-col").css("z-index",1),o.parents(".sp-el-col").css("isolation","isolate"))),0<jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-row").length&&(!seedprod_pro_check_for_entrance_animation(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).parents(".sp-el-row"))||"0"!==o.parents(".sp-el-row").css("z-index")&&""!==o.parents(".sp-el-row").css("z-index")&&"auto"!==o.parents(".sp-el-row").css("z-index")||(o.parents(".sp-el-row").css("z-index",1),o.parents(".sp-el-row").css("isolation","isolate")))))},2e3)),a.enable_teaser_video&&jQuery("#sp-".concat(t," .sp-video-pop-up-teaser-video-play-icon-display, #sp-").concat(t," .sp-video-pop-up-teaser-video-play-icon-display i")).click(function(){var e="";a.enable_sticky_video?window.matchMedia("only screen and (min-width: 960px)").matches&&(e=jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).isInViewportWithThreshold()?"sp-video-wrapper ".concat(r):"sp-video-wrapper-sticky sp-video-responsive-sticky"):e="sp-video-wrapper ".concat(r),"custom"===a.source&&(s=s.replace("muted","controls")),"youtube"===a.source&&(s=(s=s.replace("mute=1","mute=0")).replace("controls=0","controls=1")),"vimeo"===a.source&&(s=(s=s.replace("muted=1","muted=0")).replace("controls=0","controls=1")),jQuery("#sp-".concat(t," .sp-video-pop-up-teaser-video-play-icon-display")).remove(),jQuery("#sp-".concat(t," .sp-video-pop-up-teaser-video")).remove(),o.append('<div id="sp-video-responsive-'.concat(t,'" class="').concat(e,' sp-video-pop-up-video">').concat(s,"</div>")),n.css("aspect-ratio",a.aspect_ratio)})}function throttle(e,t){var s=!1;return function(){s||(e.apply(this,arguments),s=!0,setTimeout(function(){s=!1},t))}}function seedprod_pro_check_for_entrance_animation(e){return!!e.hasClass("sp_animated_start")}jQuery(".sp-businessreview-wrapper").each(function(e){var t="#"+jQuery(this).attr("id"),s=jQuery(this).attr("data-autoplay"),a=""===(a=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(a);void 0!==s&&(businessreview_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-businessreview-nav button:last-child").triggerHandler(e)},a))}),jQuery(".sp-businessreview-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(businessreview_timers[e])}),jQuery(".sp-businessreview-wrapper").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=""===(s=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(s);void 0!==e&&(businessreview_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-businessreview-nav button:last-child").triggerHandler(e)},s))}),jQuery(".sp-postblock-nav button").click(function(){for(var e="#"+jQuery(this).parents(".sp-posts-block-wrapper").attr("id"),t=jQuery(e+" .sp-postblock-nav button").index(this),s=0,a=jQuery(".sp-posts-single-block",jQuery(this).parents(e)),r=jQuery(this).parents(".sp-posts-block-wrapper").attr("data-slidetoshow"),o=(null==r&&(r=1),Math.ceil(a.length/parseInt(r))),n=0;n<o;n++).5<=jQuery(e+' .sp-postblock-nav button[data-index="'+n+'"]').css("opacity")&&(s=n);var i=jQuery(e+" .sp-postblock-nav button").length-1,p=jQuery(e+" .sp-postblock-nav button").eq(t).attr("data-index"),i=(0==t&&(0==s?s=Math.ceil(a.length/parseInt(r))-1:s--),t==i&&(Math.ceil(a.length/parseInt(r))-1==s?s=0:s++),a.css({"z-index":999,opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-postblock-nav button[data-index]").css({opacity:.25}),parseInt(s*parseInt(r))),c=parseInt(i+parseInt(r));if(void 0!==p){for(var s=p,i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r)),u=i;u<c;u++)jQuery(a).eq(u).css({opacity:1,height:"auto",position:""});jQuery(e+" .sp-postblock-nav button").eq(t).css({opacity:1})}else{i=parseInt(s*parseInt(r)),c=parseInt(i+parseInt(r));for(var l=i;l<c;l++)jQuery(a).eq(l).css({opacity:1,height:"auto",position:""});jQuery(e+" .sp-postblock-nav button").eq(s+1).css({opacity:1})}});var postblock_timers={};jQuery(".sp-posts-block-wrapper.sp-posts-skinlayout-carousel").each(function(e){var t="#"+jQuery(this).attr("id"),s=jQuery(this).attr("data-autoplay"),a=""===(a=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(a);void 0!==s&&(postblock_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-postblock-nav button:last-child").triggerHandler(e)},a))}),jQuery(".sp-posts-block-wrapper.sp-posts-skinlayout-carousel").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(postblock_timers[e])}),jQuery(".sp-posts-block-wrapper.sp-posts-skinlayout-carousel").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=""===(s=jQuery(this).attr("data-speed"))?5e3:1e3*parseInt(s);void 0!==e&&(postblock_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-postblock-nav button:last-child").triggerHandler(e)},s))}),0<jQuery(".sp-skin-block.sp-layout-masonary .seedprod-masonary-post-block").length&&jQuery(".sp-skin-block.sp-layout-masonary .seedprod-masonary-post-block").imagesLoaded(function(e){jQuery(" .sp-skin-block.sp-layout-masonary .seedprod-masonary-post-block").isotope({layoutMode:"masonry",itemSelector:".sp-posts-single-block"})});