!function(t){"use strict";var e='[data-dismiss="sppb-alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.2.0",i.prototype.close=function(e){var i=t(this),n=i.attr("data-target");n||(n=(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""));var s=t(n);function a(){s.detach().trigger("closed.sppb.alert").remove()}e&&e.preventDefault(),s.length||(s=i.hasClass("sppb-alert")?i:i.parent()),s.trigger(e=t.Event("close.sppb.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("sppb-fade")?s.one("bsTransitionEnd",a).emulateTransitionEnd(150):a())};var n=t.fn.spbalert;t.fn.spbalert=function(e){return this.each(function(){var n=t(this),s=n.data("sppb.alert");s||n.data("sppb.alert",s=new i(this)),"string"==typeof e&&s[e].call(n)})},t.fn.spbalert.Constructor=i,t.fn.spbalert.noConflict=function(){return t.fn.spbalert=n,this},t(document).on("click.sppb.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";var e=function(e,i){this.$element=t(e).on("keydown.sppb.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".sppb-carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.sppb.carousel",t.proxy(this.pause,this)).on("mouseleave.sppb.carousel",t.proxy(this.cycle,this))};function i(i){return this.each(function(){var n=t(this),s=n.data("sppb.carousel"),a=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i),o="string"==typeof i?i:a.slide;s||n.data("sppb.carousel",s=new e(this,a)),"number"==typeof i?s.to(i):o?s[o]():a.interval&&s.pause().cycle()})}e.VERSION="3.2.0",e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},e.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".sppb-item"),this.$items.index(t||this.$active)},e.prototype.to=function(e){var i=this,n=this.getItemIndex(this.$active=this.$element.find(".sppb-item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.sppb.carousel",function(){i.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",t(this.$items[e]))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(e,i){var n=this.$element.find(".sppb-item.active"),s=i||n[e](),a=this.interval,o="next"==e?"left":"right",r="next"==e?"first":"last",p=this;if(!s.length){if(!this.options.wrap)return;s=this.$element.find(".sppb-item")[r]()}if(s.hasClass("active"))return this.sliding=!1;var l=s[0],d=t.Event("slide.sppb.carousel",{relatedTarget:l,direction:o});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(s)]);c&&c.addClass("active")}var h=t.Event("slid.sppb.carousel",{relatedTarget:l,direction:o});return t.support.transition&&this.$element.hasClass("sppb-slide")?(s.addClass(e),s[0].offsetWidth,n.addClass(o),s.addClass(o),n.one("bsTransitionEnd",function(){s.removeClass([e,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),p.sliding=!1,setTimeout(function(){p.$element.trigger(h)},0)}).emulateTransitionEnd(1e3*n.css("transition-duration").slice(0,-1))):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var n=t.fn.sppbcarousel;t.fn.sppbcarousel=i,t.fn.sppbcarousel.Constructor=e,t.fn.sppbcarousel.noConflict=function(){return t.fn.sppbcarousel=n,this},t(document).ready(function(){t(".sppb-carousel").each(function(e){var i=t(this).find(".sppb-item"),n="sppb-carousel"+(e+1),s="";t(this).attr("id",n);for(var a=0;a':'\n
  • ';t(this).find(">.sppb-carousel-indicators").html(s),t(this).find(".sppb-carousel-control").attr("href","#"+n),t(this).find(".sppb-item").first().addClass("active")})}),t(document).on("click.sppb.carousel.data-api","[data-slide], [data-sppb-slide-to]",function(e){var n,s=t(this),a=t(s.attr("data-sppb-target")||(n=s.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("sppb-carousel")){var o=t.extend({},a.data(),s.data()),r=s.attr("data-sppb-slide-to");r&&(o.interval=!1),i.call(a,o),r&&a.data("sppb.carousel").to(r),e.preventDefault()}}),t(window).on("load",function(){if(t('[data-sppb-ride="sppb-carousel"]').each(function(){var e=t(this);i.call(e,e.data())}),t(window).width()<767){var e=t(".sppb-carousel-pro-inner-content").outerHeight(!0)+50;t(".sppb-carousel-pro .sppb-item > img").css({height:e})}})}(jQuery),function(t){"use strict";t(document).on("click",".sppb-panel-heading",function(e){e.preventDefault();var i=t(this).closest(".sppb-panel-group").find(">div"),n=i.find(".sppb-panel-heading"),s=i.find(".sppb-panel-collapse");t(this).hasClass("active")?(t(this).removeClass("active"),s.slideUp()):(n.removeClass("active"),s.slideUp(),t(this).addClass("active").next().slideDown())})}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each(function(){var n=t(this),s=n.data("sppb.tab");s||n.data("sppb.tab",s=new e(this)),"string"==typeof i&&s[i]()})}e.VERSION="3.2.0",e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var s=i.find(".active:last a")[0],a=t.Event("show.sppb.tab",{relatedTarget:s});if(e.trigger(a),!a.isDefaultPrevented()){var o=t(n);this.activate(e.closest("li"),i),this.activate(o,o.parent(),function(){e.trigger({type:"shown.sppb.tab",relatedTarget:s})})}}},e.prototype.activate=function(e,i,n){var s=i.find("> .active"),a=n&&t.support.transition&&s.hasClass("sppb-fade");function o(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("sppb-fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),n&&n()}a?s.one("bsTransitionEnd",o).emulateTransitionEnd(150):o(),s.removeClass("in")};var n=t.fn.sppbtab;t.fn.sppbtab=i,t.fn.sppbtab.Constructor=e,t.fn.sppbtab.noConflict=function(){return t.fn.sppbtab=n,this},t(document).ready(function(){t(".sppb-tab").each(function(e){var i="sppb-tab"+(e+1),n="sppb-content"+(e+1);t(this).find(">.sppb-nav").children().each(function(e){t(this).find(">a").attr("href","#"+i+"-"+(e+1)),t(this).find(">a").attr("id","#"+n+"-"+(e+1)),t(this).find(">a").attr("aria-controls","#"+i+"-"+(e+1))}),t(this).find(">.sppb-tab-content").children().each(function(e){t(this).attr("id",i+"-"+(e+1)),t(this).attr("aria-labelledby",n+"-"+(e+1))})})}),t(document).on("click.sppb.tab.data-api",'[data-toggle="sppb-tab"], [data-toggle="sppb-pill"]',function(e){e.preventDefault(),i.call(t(this),"show")})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("sppbtooltip",t,e)};e.VERSION="3.2.0",e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var s=this.options.trigger.split(" "),a=s.length;a--;){var o=s[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var r="hover"==o?"mouseenter":"focusin",p="hover"==o?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(p+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("sppb."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("sppb."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("sppb."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("sppb."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)},e.prototype.show=function(){var e=t.Event("show.sppb."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(document.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("sppb-fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,r=/\s?auto?\s?/i,p=r.test(o);p&&(o=o.replace(r,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(o).data("sppb."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var l=this.getPosition(),d=s[0].offsetWidth,c=s[0].offsetHeight;if(p){var h=o,u=this.$element.parent(),f=this.getPosition(u);o="bottom"==o&&l.top+l.height+c-f.scroll>f.height?"top":"top"==o&&l.top-f.scroll-c<0?"bottom":"right"==o&&l.right+d>f.width?"left":"left"==o&&l.left-do.top+o.height&&(s.top=o.top+o.height-p)}else{var l=e.left-a,d=e.left+a+i;lo.width&&(s.left=o.left+o.width-d)}return s},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".sppb-tooltip-arrow")},e.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("sppb."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("sppb."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("sppb."+this.type)};var i=t.fn.sppbtooltip;t.fn.sppbtooltip=function(i){return this.each(function(){var n=t(this),s=n.data("sppb.tooltip"),a="object"==typeof i&&i;(s||"destroy"!=i)&&(s||n.data("sppb.tooltip",s=new e(this,a)),"string"==typeof i&&s[i]())})},t.fn.sppbtooltip.Constructor=e,t.fn.sppbtooltip.noConflict=function(){return t.fn.sppbtooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("sppbpopover",t,e)};if(!t.fn.sppbtooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.2.0",e.DEFAULTS=t.extend({},t.fn.sppbtooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.sppbtooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".sppb-popover-title")[this.options.html?"html":"text"](e),t.find(".sppb-popover-content").empty()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("sppb-fade top bottom left right in"),t.find(".sppb-popover-title").html()||t.find(".sppb-popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var i=t.fn.sppbpopover;t.fn.sppbpopover=function(i){return this.each(function(){var n=t(this),s=n.data("sppb.popover"),a="object"==typeof i&&i;(s||"destroy"!=i)&&(s||n.data("sppb.popover",s=new e(this,a)),"string"==typeof i&&s[i]())})},t.fn.sppbpopover.Constructor=e,t.fn.sppbpopover.noConflict=function(){return t.fn.sppbpopover=i,this}}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(n).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery);var carousel=jQuery(".carousel");carousel&&jQuery(window).on("ready",function(){"undefined"!=typeof jQuery&&"undefined"!=typeof MooTools&&Element.implement({slide:function(t,e){return this}})}),function(){var t,e,i,n=function(t,e){return function(){return t.apply(e,arguments)}},s=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};e=function(){function t(){}return t.prototype.extend=function(t,e){var i,n;for(i in e)n=e[i],null==t[i]&&(t[i]=n);return t},t.prototype.isMobile=function(t){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)},t}(),i=this.WeakMap||this.MozWeakMap||(i=function(){function t(){this.keys=[],this.values=[]}return t.prototype.get=function(t){var e,i,n,s;for(e=i=0,n=(s=this.keys).length;n>i;e=++i)if(s[e]===t)return this.values[e]},t.prototype.set=function(t,e){var i,n,s,a;for(i=n=0,s=(a=this.keys).length;s>n;i=++n)if(a[i]===t)return void(this.values[i]=e);return this.keys.push(t),this.values.push(e)},t}()),t=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(t=function(){function t(){console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return t.notSupported=!0,t.prototype.observe=function(){},t}()),this.SPPBWOW=function(){function a(t){null==t&&(t={}),this.scrollCallback=n(this.scrollCallback,this),this.scrollHandler=n(this.scrollHandler,this),this.start=n(this.start,this),this.scrolled=!0,this.config=this.util().extend(t,this.defaults),this.animationNameCache=new i}return a.prototype.defaults={boxClass:"sppb-wow",animateClass:"sppb-animated",offset:0,mobile:!0,live:!0},a.prototype.init=function(){var t;return this.element=window.document.documentElement,"interactive"===(t=document.readyState)||"complete"===t?this.start():document.addEventListener("DOMContentLoaded",this.start),this.finished=[]},a.prototype.start=function(){var e,i,n,s,a;if(this.stopped=!1,this.boxes=function(){var t,i,n,s;for(s=[],t=0,i=(n=this.element.querySelectorAll("."+this.config.boxClass)).length;i>t;t++)e=n[t],s.push(e);return s}.call(this),this.all=function(){var t,i,n,s;for(s=[],t=0,i=(n=this.boxes).length;i>t;t++)e=n[t],s.push(e);return s}.call(this),this.boxes.length,this.disabled())this.resetStyle();else{for(i=0,n=(s=this.boxes).length;n>i;i++)e=s[i],this.applyStyle(e,!0);window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}return this.config.live?new t((a=this,function(t){var e,i,n,s,o;for(o=[],n=0,s=t.length;s>n;n++)i=t[n],o.push(function(){var t,n,s,a;for(a=[],t=0,n=(s=i.addedNodes||[]).length;n>t;t++)e=s[t],a.push(this.doSync(e));return a}.call(a));return o})).observe(document.body,{childList:!0,subtree:!0}):void 0},a.prototype.stop=function(){return this.stopped=!0,window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},a.prototype.sync=function(){return t.notSupported?this.doSync(this.element):void 0},a.prototype.doSync=function(t){var e,i,n,a,o;if(!this.stopped){if(null==t&&(t=this.element),1!==t.nodeType)return;for(o=[],i=0,n=(a=(t=t.parentNode||t).querySelectorAll("."+this.config.boxClass)).length;n>i;i++)e=a[i],s.call(this.all,e)<0?(this.applyStyle(e,!0),this.boxes.push(e),this.all.push(e),o.push(this.scrolled=!0)):o.push(void 0);return o}},a.prototype.show=function(t){return this.applyStyle(t),t.className=t.className+" "+this.config.animateClass},a.prototype.applyStyle=function(t,e){var i,n,s,a;return n=t.getAttribute("data-sppb-wow-duration"),i=t.getAttribute("data-sppb-wow-delay"),s=t.getAttribute("data-sppb-wow-iteration"),this.animate((a=this,function(){return a.customStyle(t,e,n,i,s)}))},a.prototype.animate="requestAnimationFrame"in window?function(t){return window.requestAnimationFrame(t)}:function(t){return t()},a.prototype.resetStyle=function(){var t,e,i,n,s;for(s=[],e=0,i=(n=this.boxes).length;i>e;e++)t=n[e],s.push(t.setAttribute("style","visibility: visible;"));return s},a.prototype.customStyle=function(t,e,i,n,s){return e&&this.cacheAnimationName(t),t.style.visibility=e?"hidden":"visible",i&&this.vendorSet(t.style,{animationDuration:i}),n&&this.vendorSet(t.style,{animationDelay:n}),s&&this.vendorSet(t.style,{animationIterationCount:s}),this.vendorSet(t.style,{animationName:e?"none":this.cachedAnimationName(t)}),t},a.prototype.vendors=["moz","webkit"],a.prototype.vendorSet=function(t,e){var i,n,s,a;for(i in a=[],e)n=e[i],t[""+i]=n,a.push(function(){var e,a,o,r;for(r=[],e=0,a=(o=this.vendors).length;a>e;e++)s=o[e],r.push(t[""+s+i.charAt(0).toUpperCase()+i.substr(1)]=n);return r}.call(this));return a},a.prototype.vendorCSS=function(t,e){var i,n,s,a,o,r;for(i=(n=window.getComputedStyle(t)).getPropertyCSSValue(e),a=0,o=(r=this.vendors).length;o>a;a++)s=r[a],i=i||n.getPropertyCSSValue("-"+s+"-"+e);return i},a.prototype.animationName=function(t){var e;try{e=this.vendorCSS(t,"animation-name").cssText}catch(i){e=window.getComputedStyle(t).getPropertyValue("animation-name")}return"none"===e?"":e},a.prototype.cacheAnimationName=function(t){return this.animationNameCache.set(t,this.animationName(t))},a.prototype.cachedAnimationName=function(t){return this.animationNameCache.get(t)},a.prototype.scrollHandler=function(){return this.scrolled=!0},a.prototype.scrollCallback=function(){var t;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var e,i,n,s;for(s=[],e=0,i=(n=this.boxes).length;i>e;e++)(t=n[e])&&(this.isVisible(t)?this.show(t):s.push(t));return s}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},a.prototype.offsetTop=function(t){for(var e;void 0===t.offsetTop;)t=t.parentNode;for(e=t.offsetTop;t=t.offsetParent;)e+=t.offsetTop;return e},a.prototype.isVisible=function(t){var e,i,n,s,a;return i=t.getAttribute("data-sppb-wow-offset")||this.config.offset,s=(a=window.pageYOffset)+Math.min(this.element.clientHeight,innerHeight)-i,e=(n=this.offsetTop(t))+t.clientHeight,s>=n&&e>=a},a.prototype.util=function(){return null!=this._util?this._util:this._util=new e},a.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},a}()}.call(this),jQuery(function(t){(new SPPBWOW).init()}),function(t){var e,i,n,s={},a=document,o=window,r=a.documentElement,p=t.expando;function l(){var n,p,l,d,c=t(),h=0;if(t.each(s,function(t,e){var i=e.data.selector,n=e.$element;c=c.add(i?n.find(i):n)}),n=c.length)for(e=e||((d={height:o.innerHeight,width:o.innerWidth}).height||!(p=a.compatMode)&&t.support.boxModel||(d={height:(l="CSS1Compat"===p?r:a.body).clientHeight,width:l.clientWidth}),d),i=i||{top:o.pageYOffset||r.scrollTop||a.body.scrollTop,left:o.pageXOffset||r.scrollLeft||a.body.scrollLeft};hi.top&&y.topi.left&&y.lefty.left?"right":i.left+e.widthy.top?"bottom":i.top+e.height span").text(Math.round(i)+"%")}};if(a.data("duration")){var r=a.data("duration");o.animate={duration:r,enabled:!0}}a.easyPieChart(o),a.unbind("inview")}})}(jQuery),jQuery(function(t){function e(e){var i,n=!1;if(void 0!==e.prop("required")){var s=e.parents(".sppb-form-group");if(void 0===s||"undefined"===s.find("span.sppb-form-builder-required"))return!1;if(0===e.val().length&&(s.find("span.sppb-form-builder-required").show(),n=!0),e.val().length>0&&(s.find("span.sppb-form-builder-required").hide(),n=!1),"radio"===e.attr("type")){var a=e.attr("name");t('input[name="'+a+'"]').is(":checked")?(s.find("span.sppb-form-builder-required").hide(),n=!1):(s.find("span.sppb-form-builder-required").show(),n=!0)}if("checkbox"===e.attr("type")){s.find("input[type=checkbox]").length;var o=!1;s.find("input[type=checkbox]").each(function(e,i){if(t(this).prop("required")){var n=t(this).attr("name");t('input[name="'+n+'"]').is(":checked")||(o=!0)}if(o)return!1}),o?(s.find("span.sppb-form-builder-required").show(),n=!0):(s.find("span.sppb-form-builder-required").hide(),n=!1)}}return void 0!==e.prop("required")&&e.val().length>0&&"email"===e.attr("type")&&(i=e.val(),/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(i).toLowerCase())?(s.find("span.sppb-form-builder-required").hide(),n=!1):(s.find("span.sppb-form-builder-required").show(),n=!0)),n}function i(i){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=!1;return i.find(" input[type=text], input[type=email], input[type=radio], input[type=checkbox], textarea, select").each(function(i,a){if(!0===n)t(this).on("change keyup",function(i){if(s=e(t(this)))return!1});else if(s=e(t(this)))return!1}),s}t(document).on("submit",".sppb-ajaxt-contact-form",function(e){e.preventDefault();var i=t(this),n=t(this).serializeArray(),s={name:"view_type",value:"page"};if(i.closest(".sp-page-builder").hasClass("mod-sppagebuilder")){s.value="module";var a={name:"module_id",value:i.closest(".sp-page-builder").data("module_id")};n.push(a)}else i.closest(".sp-page-builder").hasClass("sppb-article-page-wrapper")&&(s.value="article");n.push(s);var o={option:"com_sppagebuilder",task:"ajax",addon:"ajax_contact","g-recaptcha-response":i.find("#g-recaptcha-response").val(),data:n};return t.ajax({type:"POST",data:o,beforeSend:function(){i.find(".fa").addClass("fa-spinner fa-spin")},success:function(e){var n=t.parseJSON(e);try{var s=t.parseJSON(n.data),a=s.content,o="json"}catch(t){a=n.data,o="strings"}"json"==o?s.status&&i.trigger("reset"):i.trigger("reset"),i.find(".fa-spin").removeClass("fa-spinner fa-spin"),i.next(".sppb-ajax-contact-status").html(a).fadeIn().delay(4e3).fadeOut(500)}}),!1}),t(".sppb-addon-form-builder-form").length>0&&(i(t(".sppb-addon-form-builder-form"),!0),t('.sppb-form-builder-range input[type="range"]').on("input change",function(){var e=t(this),i=e.attr("min"),n=e.attr("max"),s=e.val(),a=(s-i)/(n-i)*100,o=Math.round(50*a/100)-25;e.next(".sppb-form-builder-range-output").css("left","calc("+a+"% - "+o+"px)").text(s)})),t(document).on("submit",".sppb-addon-form-builder-form",function(e){e.preventDefault();var n=t(this),s=t(this).serializeArray(),a=(i(n),n.data("redirect")),o=n.data("redirect-url");n.find('input[type="checkbox"]:not(:checked)').each(function(e,i){s.push({name:t(i).attr("name"),value:""})});var r={name:"view_type",value:"page"};if(n.closest(".sp-page-builder").hasClass("mod-sppagebuilder")){r.value="module";var p={name:"module_id",value:n.closest(".sp-page-builder").data("module_id")};s.push(p)}else n.closest(".sp-page-builder").hasClass("sppb-article-page-wrapper")&&(r.value="article");s.push(r);var l={option:"com_sppagebuilder",task:"ajax",addon:"form_builder","g-recaptcha-response":n.find("#g-recaptcha-response").val(),data:s};return t.ajax({type:"POST",data:l,beforeSend:function(){n.find(".fa").addClass("fa-spinner fa-spin")},success:function(e){var s=t.parseJSON(e);try{var r=t.parseJSON(s.data),p=r.content,l="json";void 0!==r.form_validation&&i(n)}catch(t){p=s.data,l="strings"}"json"==l?r.status&&n.trigger("reset"):n.trigger("reset"),n.find(".fa-spin").removeClass("fa-spinner fa-spin"),n.next(".sppb-ajax-contact-status").html(p).fadeIn().delay(4e3).fadeOut(500),"yes"===a&&setTimeout(function(){window.location.href=o},2500)}}),!1})}),jQuery(function(t){t(document).on("submit",".sppb-optin-form",function(e){e.preventDefault();var i=t(this),n=t(this).serializeArray(),s={name:"view_type",value:"page"};if(i.closest(".sp-page-builder").hasClass("mod-sppagebuilder")){s.value="module";var a={name:"module_id",value:i.closest(".sp-page-builder").data("module_id")};n.push(a)}else i.closest(".sp-page-builder").hasClass("sppb-article-page-wrapper")&&(s.value="article");n.push(s);var o={option:"com_sppagebuilder",task:"ajax",addon:"optin_form","g-recaptcha-response":i.find("#g-recaptcha-response").val(),data:n};return t.ajax({type:"POST",data:o,beforeSend:function(){i.find(".fa").addClass("fa-spinner fa-spin")},success:function(e){var n=t.parseJSON(e);if(!n.success)return i.find(".fa-spin").removeClass("fa-spinner fa-spin"),n.message?i.next(".sppb-optin-form-status").html('

    '+n.message+"

    ").fadeIn().delay(4e3).fadeOut(1e3):n.messages&&i.next(".sppb-optin-form-status").html('

    '+n.messages+"

    ").fadeIn().delay(4e3).fadeOut(1e3),!1;var s=t.parseJSON(n.data),a="sppb-alert sppb-alert-warning";if(s.status){a="sppb-alert sppb-alert-success";i.trigger("reset")}i.find(".fa-spin").removeClass("fa-spinner fa-spin"),i.next(".sppb-optin-form-status").html('

    '+s.content+"

    ").fadeIn().delay(4e3).fadeOut(1e3)}}),!1})}),jQuery(function(t){t(document).on("click",".sppb-magnific-popup",function(e){e.preventDefault();var i=t(this);i.magnificPopup({type:i.data("popup_type"),mainClass:i.data("mainclass")}).magnificPopup("open")})}),jQuery(function(t){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?(t(".sppb-addon-sppb-flibox .sppb-flipbox-panel, .threeD-flipbox .threeD-content-wrap").on("mouseover",function(e){t(this).toggleClass("flip")}),t(document).on("mouseenter",".sppb-addon-sppb-flibox .sppb-flipbox-panel, .threeD-flipbox .threeD-content-wrap",function(e){t(this).addClass("flip")}),t(document).on("mouseleave",".sppb-addon-sppb-flibox .sppb-flipbox-panel, .threeD-flipbox .threeD-content-wrap",function(e){t(this).removeClass("flip")})):(t(document).on("click",".sppb-addon-sppb-flibox.flipon-click .sppb-flipbox-panel, .threeD-flipbox.flipon-click .threeD-content-wrap",function(e){t(this).toggleClass("flip")}),t(document).on("mouseenter",".sppb-addon-sppb-flibox.flipon-hover .sppb-flipbox-panel, .threeD-flipbox.flipon-hover .threeD-content-wrap",function(){t(this).addClass("flip")}),t(document).on("mouseleave",".sppb-addon-sppb-flibox.flipon-hover .sppb-flipbox-panel, .threeD-flipbox.flipon-hover .threeD-content-wrap",function(){t(this).removeClass("flip")}))}),jQuery(function(t){new MutationObserver(function(e){e.forEach(function(e){var i=e.addedNodes;null!==i&&t(i).each(function(){t(this).find(".sppb-addon-countdown .sppb-countdown-timer").each(function(){var e=t(this),i=e.data("date")+" "+e.data("time");e.countdown(i,function(i){t(this).html(i.strftime('
    %-D%!D: '+Joomla.JText._("COM_SPPAGEBUILDER_DAY")+","+Joomla.JText._("COM_SPPAGEBUILDER_DAYS")+';
    %H%!H: '+Joomla.JText._("COM_SPPAGEBUILDER_HOUR")+","+Joomla.JText._("COM_SPPAGEBUILDER_HOURS")+';
    %M%!M:'+Joomla.JText._("COM_SPPAGEBUILDER_MINUTE")+","+Joomla.JText._("COM_SPPAGEBUILDER_MINUTES")+';
    %S%!S:'+Joomla.JText._("COM_SPPAGEBUILDER_SECOND")+","+Joomla.JText._("COM_SPPAGEBUILDER_SECONDS")+";
    ")).on("finish.countdown",function(){t(this).html('

    '+e.data("finish-text")+"

    ")})})})})})}).observe(document.body,{childList:!0,subtree:!0})}),function(t){var e=function(t){this.$heading=t.heading,this.type=void 0===t.type?"word":t.type,this.animationDelay=2500,this.barAnimationDelay=3800,this.barWaiting=this.barAnimationDelay-3e3,this.lettersDelay=50,this.typeLettersDelay=150,this.selectionDuration=500,this.typeAnimationDelay=this.selectionDuration+800,this.revealDuration=600,this.revealAnimationDelay=1500,this.interval=0,this.init()};e.prototype.init=function(){var t=this.$heading.parent().find(".letters");this.singleLetters(t.find(".animated-text")),this.animateHeadline(this.$heading)},e.prototype.singleLetters=function(e){e.each(function(){var e=t(this),n=e.text().split(""),s=e.hasClass("is-visible");for(i in n)e.parents(".animation-wave").length>0&&(n[i]=""+n[i]+""),n[i]=s?''+n[i]+"":""+n[i]+"";var a=n.join("");e.html(a).css("opacity",1)})},e.prototype.animateHeadline=function(e){var i=this.animationDelay,n=this;e.each(function(){var e=t(this);if(e.hasClass("loading-bar"))i=n.barAnimationDelay,setTimeout(function(){e.find(".animated-text-words-wrapper").addClass("is-loading")},n.barWaiting);else if(e.hasClass("text-clip")){var s=e.find(".animated-text-words-wrapper"),a=s.width()+10;s.css("width",a)}else if(!e.hasClass("type")){var o=e.find(".animated-text-words-wrapper .animated-text.is-visible");n.setParentClassWidth(o,delay=!1)}setTimeout(function(){n.hideWord(e.find("span.is-visible").eq(0))},i)})},e.prototype.hideWord=function(t){var e=this.takeNext(t),i=this;if(t.parents(".animated-heading-text").hasClass("type")){var n=t.parent(".animated-text-words-wrapper");n.addClass("selected").removeClass("waiting"),setTimeout(function(){n.removeClass("selected"),t.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")},i.selectionDuration),setTimeout(function(){i.showWord(e,i.typeLettersDelay)},i.typeAnimationDelay)}else if(t.parents(".animated-heading-text").hasClass("letters")){var s=t.children("i").length>=e.children("i").length;i.hideLetter(t.find("i").eq(0),t,s,i.lettersDelay),i.showLetter(e.find("i").eq(0),e,s,i.lettersDelay),i.setParentClassWidth(e)}else t.parents(".animated-heading-text").hasClass("text-clip")?t.parents(".animated-text-words-wrapper").animate({width:"2px"},i.revealDuration,function(){i.switchWord(t,e),i.showWord(e)}):t.parents(".animated-heading-text").hasClass("loading-bar")?(t.parents(".animated-text-words-wrapper").removeClass("is-loading"),this.switchWord(t,e),setTimeout(function(){i.hideWord(e)},i.barAnimationDelay),setTimeout(function(){t.parents(".animated-text-words-wrapper").addClass("is-loading")},i.barWaiting),this.setParentClassWidth(e)):(this.switchWord(t,e),setTimeout(function(){i.hideWord(e)},i.animationDelay),this.setParentClassWidth(e))},e.prototype.showWord=function(t,e){var i=this;t.parents(".animated-heading-text").hasClass("type")?(i.showLetter(t.find("i").eq(0),t,!1,e),t.addClass("is-visible").removeClass("is-hidden")):t.parents(".animated-heading-text").hasClass("text-clip")&&t.parents(".animated-text-words-wrapper").animate({width:t.width()+10},i.revealDuration,function(){setTimeout(function(){i.hideWord(t)},i.revealAnimationDelay)})},e.prototype.hideLetter=function(e,i,n,s){e.removeClass("in").addClass("out");var a=this;if(e.is(":last-child")?n&&setTimeout(function(){a.hideWord(a.takeNext(i))},a.animationDelay):setTimeout(function(){a.hideLetter(e.next(),i,n,s)},s),e.is(":last-child")&&t("html").hasClass("no-csstransitions")){var o=a.takeNext(i);a.switchWord(i,o)}},e.prototype.showLetter=function(t,e,i,n){t.addClass("in").removeClass("out");var s=this;t.is(":last-child")?(e.parents(".animated-heading-text").hasClass("type")&&setTimeout(function(){e.parents(".animated-text-words-wrapper").addClass("waiting")},200),i||setTimeout(function(){s.hideWord(e)},s.animationDelay)):setTimeout(function(){s.showLetter(t.next(),e,i,n)},n)},e.prototype.takeNext=function(t){return t.is(":last-child")?t.parent().children().eq(0):t.next()},e.prototype.takePrev=function(t){return t.is(":first-child")?t.parent().children().last():t.prev()},e.prototype.switchWord=function(t,e){t.removeClass("is-visible").addClass("is-hidden"),e.removeClass("is-hidden").addClass("is-visible")},e.prototype.setParentClassWidth=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.parents(".animated-text-words-wrapper"),n=t.width(),s=e?this.revealDuration/2:0;this.interval>0&&(clearInterval(this.interval),this.interval=0);var a=this;setTimeout(function(){i.css({"transition-function":"ease",transitionDuration:a.revealDuration+"ms",transitionProperty:"width",width:n+"px"})},s)},t(document).on("ready",function(){new e({heading:t(".animated-heading-text")});new MutationObserver(function(i){i.forEach(function(i){var n=i.addedNodes;null!==n&&t(n).each(function(){t(this).find(".animated-heading-text").each(function(){new e({heading:t(this)})})})})}).observe(document.body,{childList:!0,subtree:!0})})}(jQuery),function(t){function e(){if("undefined"==typeof stickyParent&&(stickyParent=t('[data-sticky-it="true"]').parents(".sppb-section ")),"undefined"!=typeof stickyParent&&0!=stickyParent.length){var e=stickyParent.offset();stickyParentWrap=stickyParent.parents(".sppb-sticky-wrap"),stickyParentWrap.hasClass("sppb-sticky-wrap")&&(e=stickyParentWrap.offset()),window.scrollY>=e.top&&!stickyParent.hasClass("sppb-sticky-it")?(stickyParent.wrap('
    '),stickyParent.addClass("sppb-sticky-it")):window.scrollY