"use strict";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)}!function(e,t){var r,a;"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,r=e.Cookies,(a=e.Cookies=t()).noConflict=function(){return e.Cookies=r,a})}(void 0,function(){function o(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)e[a]=r[a]}return e}var u={read:function(e){return e.replace(/%3B/g,";")},write:function(e){return e.replace(/;/g,"%3B")}};return function t(s,n){function r(e,t,r){if("undefined"!=typeof document){"number"==typeof(r=o({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=u.write(e).replace(/=/g,"%3D"),t=s.write(String(t),e);var a="";for(var i in r)r[i]&&(a+="; "+i,!0!==r[i]&&(a+="="+r[i].split(";")[0]));return document.cookie=e+"="+t+a}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},a=0;a<t.length;a++){var i=t[a].split("="),n=i.slice(1).join("="),o=u.read(i[0]).replace(/%3D/g,"=");if(r[o]=s.read(n,o),e===o)break}return e?r[e]:r}},remove:function(e,t){r(e,"",o({},t,{expires:-1}))},withAttributes:function(e){return t(this.converter,o({},this.attributes,e))},withConverter:function(e){return t(o({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(s)}})}(u,{path:"/"})});var seedprodCookies=Cookies.noConflict(),sp_emplacementRecaptcha=[],sp_option_id="";jQuery("form[id^=sp-optin-form]").submit(function(e){e.preventDefault();var t=jQuery(this).attr("id").replace("sp-optin-form-","");if(1===seeprod_enable_recaptcha)grecaptcha.execute(sp_emplacementRecaptcha[t]);else{sp_send_request("",t)}});var sp_CaptchaCallback=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,i){var t=jQuery("#sp-optin-form-"+i).serialize(),r=jQuery.ajax({url:seedprod_api_url+"subscribers",type:"post",dataType:"json",timeout:5e3,data:t});jQuery("#sp-optin-form-"+i+" .sp-optin-submit").addClass("sp-ajax-striped sp-ajax-animated");var a=jQuery.ajax({url:sp_subscriber_callback_url,type:"post",timeout:3e4,data:t});jQuery.when(r,a).done(function(e,t){var r=jQuery("#sp-optin-form-"+i+" input[name^='seedprod_action']").val();if("1"==r&&(jQuery("#sp-optin-form-"+i).hide(),jQuery("#sp-optin-success-"+i).show()),"2"===r){var a=jQuery("#sp-optin-form-"+i+" input[name^='redirect_url']").val();window.location.href=a}jQuery("#sp-optin-form-"+i+" .sp-optin-submit").removeClass("sp-ajax-striped sp-ajax-animated")}).fail(function(e,t,r){jQuery("#sp-optin-form-"+i+" .sp-optin-submit").removeClass("sp-ajax-striped sp-ajax-animated"),1===seeprod_enable_recaptcha&&grecaptcha.reset(sp_emplacementRecaptcha[i])})}var x=[];function countdown(e,o,s,u,p){var t=(new Date).getTime();if("vt"==e){o+=t;var r=seedprodCookies.get("seedprod_enddate_"+s);null!=r&&(o=r,seedprodCookies.set("seedprod_enddate_"+s,o,{expires:360}))}x[s]=setInterval(function(){var e=(new Date).getTime(),t=o-e,r=Math.floor(t/864e5),a=Math.floor(t%864e5/36e5),i=Math.floor(t%36e5/6e4),n=Math.floor(t%6e4/1e3);0==r?jQuery("#sp-cd-days-"+s).hide():jQuery("#sp-cd-days-"+s+" .sp-cd-amount").html(pad(r,2)),jQuery("#sp-cd-hours-"+s+" .sp-cd-amount").html(pad(a,2)),jQuery("#sp-cd-minutes-"+s+" .sp-cd-amount").html(pad(i,2)),jQuery("#sp-cd-seconds-"+s+" .sp-cd-amount").html(pad(n,2)),t<0&&(clearInterval(x[s]),"1"==u&&(jQuery("#sp-countdown-"+s+" .sp-countdown-group").hide(),jQuery("#sp-countdown-expired-"+s).show()),"2"==u&&(jQuery("#sp-countdown-"+s+" .sp-countdown-group").hide(),window.location.href=p))},1e3)}function seedprod_animatedheadline(e,t,r,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,r){jQuery("#sp-animated-head-"+e+" .preview-sp-title").seedprod_responsive_title_shortcode()}function pad(e,t,r){return r=r||"0",(e+="").length>=t?e:new Array(t-e.length+1).join(r)+e}function seedprod_bg_slideshow(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:5e3,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"ease-in",i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:500;document.querySelector(e).style.backgroundSize="cover",document.querySelector(e).style.backgroundRepeat="no-repeat",document.querySelector(e).style.backgroundPosition="center center";var n="all "+i+"ms "+a;document.querySelector(e).style.WebkitTransition=n,document.querySelector(e).style.MozTransition=n,document.querySelector(e).style.MsTransition=n,document.querySelector(e).style.OTransition=n,document.querySelector(e).style.transition=n;var o=0;document.querySelector(e).style.backgroundImage="url('"+t[o]+"')",o++,setInterval(function(){document.querySelector(e).style.backgroundImage="url('"+t[o]+"')",++o>=t.length&&(o=0)},r);var s=new Array;t.forEach(function(e,t){s[t]=new Image,s[t].src=e})}jQuery(document).ready(function(e){e('link[href*="/wp-content/themes/"]').remove()}),jQuery(document).ready(function(e){for(var t="{MM}/{dd}/{yyyy}",r=e("#sp-page").html().split("[#"),a=1;a<r.length;a++){var i=t,n=r[a].split("]")[0],o=n.split(":");i=1<o.length?o[1]:t;var s=Date.create(o[0]),u=new RegExp("\\[#"+n+"]","g");e("#sp-page *").replaceText(u,s.format(i))}e(".sp-dynamic-text").contents().unwrap()}),jQuery(document).ready(function(e){for(var t=e("#sp-page").html().split("[q:"),r=1;r<t.length;r++){var a="",i=t[r].split("]")[0],n=i.split("=");a=1<n.length?n[1]:"";var o=n[0],s=new RegExp("\\[q:"+i+"]","g"),u=new URLSearchParams(window.location.search).get(o);null!=u&&(a=u),e("#sp-page *").replaceText(s,a)}e(".sp-dynamic-text").contents().unwrap()}),jQuery(".sp-testimonial-nav button").click(function(){var e="#"+jQuery(this).parents(".sp-testimonials-wrapper").attr("id"),t=jQuery(e+" .sp-testimonial-nav button").index(this),r=0,a=jQuery(".sp-testimonial-wrapper",jQuery(this).parents(e));jQuery(a).each(function(e){1==jQuery(this).css("opacity")&&(r=e)});var i=jQuery(e+" .sp-testimonial-nav button").length-1,n=jQuery(e+" .sp-testimonial-nav button").eq(t).attr("data-index");0==t&&(0==r?r=a.length-1:r--),t==i&&(a.length-1==r?r=0:r++),a.css({opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-testimonial-nav button[data-index]").css({opacity:.25}),void 0!==n?(r=n,jQuery(a).eq(r).css({opacity:1,height:"auto",position:"initial"}),jQuery(e+" .sp-testimonial-nav button").eq(t).css({opacity:1})):(jQuery(a).eq(r).css({opacity:1,height:"auto",position:"initial"}),jQuery(e+" .sp-testimonial-nav button").eq(r+1).css({opacity:1}))});var testimonial_timers={};jQuery(".sp-testimonials-wrapper").each(function(e){var t="#"+jQuery(this).attr("id"),r=jQuery(this).attr("data-autoplay"),a=jQuery(this).attr("data-speed");a=""===a?5e3:1e3*parseInt(a),void 0!==r&&(testimonial_timers[t]=setInterval(function(){jQuery(t+" .sp-testimonial-nav button:last-child").trigger("click")},a))}),jQuery(".sp-testimonials-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(testimonial_timers[e])}),jQuery(".sp-testimonials-wrapper").mouseleave(function(){var e="#"+jQuery(this).attr("id"),t=jQuery(this).attr("data-autoplay"),r=jQuery(this).attr("data-speed");r=""===r?5e3:1e3*parseInt(r),void 0!==t&&(testimonial_timers[e]=setInterval(function(){jQuery(e+" .sp-testimonial-nav button:last-child").trigger("click")},r))}),jQuery(".sp-imagecarousel-nav button").click(function(){var e="#"+jQuery(this).parents(".sp-imagecarousels-wrapper").attr("id"),t=jQuery(e+" .sp-imagecarousel-nav button").index(this),r=0,a=jQuery(".sp-imagecarousel-wrapper",jQuery(this).parents(e));jQuery(a).each(function(e){1==jQuery(this).css("opacity")&&(r=e)});var i=jQuery(e+" .sp-imagecarousel-nav button").length-1,n=jQuery(e+" .sp-imagecarousel-nav button").eq(t).attr("data-index");0==t&&(0==r?r=a.length-1:r--),t==i&&(a.length-1==r?r=0:r++),a.css({opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-imagecarousel-nav button[data-index]").css({opacity:.25}),void 0!==n?(r=n,jQuery(a).eq(r).css({opacity:1,height:"auto",position:"initial"}),jQuery(e+" .sp-imagecarousel-nav button").eq(t).css({opacity:1})):(jQuery(a).eq(r).css({opacity:1,height:"auto",position:"initial"}),jQuery(e+" .sp-imagecarousel-nav button").eq(r+1).css({opacity:1}))});var imagecarousel_timers={};jQuery(".sp-imagecarousels-wrapper").each(function(e){var t="#"+jQuery(this).attr("id"),r=jQuery(this).attr("data-autoplay"),a=jQuery(this).attr("data-speed");a=""===a?5e3:1e3*parseInt(a),void 0!==r&&(imagecarousel_timers[t]=setInterval(function(){jQuery(t+" .sp-imagecarousel-nav button:last-child").trigger("click")},a))}),jQuery(".sp-imagecarousels-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(imagecarousel_timers[e])}),jQuery(".sp-imagecarousels-wrapper").mouseleave(function(){var e="#"+jQuery(this).attr("id"),t=jQuery(this).attr("data-autoplay"),r=jQuery(this).attr("data-speed");r=""===r?5e3:1e3*parseInt(r),void 0!==t&&(imagecarousel_timers[e]=setInterval(function(){jQuery(e+" .sp-imagecarousel-nav button:last-child").trigger("click")},r))});