PATH:
var
/
www
/
vhosts
/
lahuertaatomica.es
/
httpdocs
/
assets
/
js
/
Editing: script.min.js
var jPM={},pageLoaderDone=!1,PLUGINS_LOCALPATH="./assets/plugins/",loadedFiles=[];!function(e){e.extend(e.fn,{themeInit:function(t){var n=e(this);t=t||!1,"function"==typeof e.fn.themePreload&&e.fn.themePreload(n,t),n.themeSubMenus(),n.themeScrollMenus(),n.themeCustom(t),"function"==typeof e.fn.themePrePlugins&&e.fn.themePrePlugins(n,t);var a=n.themePlugins(t);e.each(a,function(e,n){"function"==typeof n&&n(t)}),"function"==typeof e.fn.themeLoaded&&e.fn.themeLoaded(n,t)},themeRefresh:function(){var t=e(this);void 0!==t.context&&null!==t.context||(t.context=t),t.themeInit(!0),void 0!==jQuery.fn.waypoint&&Waypoint.refreshAll()},themePlugins:function(t){var n=e(this);void 0!==n&&null!==n||(n=e(document)),$document=e(document);var a={},i={};return"function"==typeof e.fn.themePluginsDefault&&(a=e.fn.themePluginsDefault(n)),"function"==typeof e.fn.themePluginsCustom&&(i=e.fn.themePluginsCustom(n)),e.extend({},a,i)},themeCustom:function(t){var n=e(this);void 0!==n&&null!==n||(n=e(document)),$document=e(document);var a=n.find("[data-hover]");if(a.length>0){var i=function(){a.each(function(){var e=jQuery(this),t=e.data("hover"),n=e.data("hover-out"),a=e.data("hover-delay")||null,i=e.data("hover-duration")||null;null!==a&&e.css({"-webkit-animation-delay":a+"s","-moz-animation-delay":a+"s","animation-delay":a+"s"}),null!==i&&e.css({"-webkit-animation-duration":i+"s","-moz-animation-duration":i+"s","animation-duration":i+"s"}),e.hover(function(){e.addClass("animated "+t).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){e.removeClass("animated "+t).addClass("animated "+n)})},function(){})})};$document.themeLoadPlugin([],["https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"],function(){$document.isPageLoaderDone(i)})}var o=n.find('[data-toggle="full-height"]');if(o.length>0){var s=function(e,t){return $document.calcHeightsOffset(e,t)},l=function(){o.each(function(){var t=e(this),n=t.data("parent")||window,a=t.data("offset")||null,i=t.data("breakpoint")||null,o=e(n)||null;if(o){var l=o.height();a&&(l=s(l,a)),i&&e(window).width()<=i?t.css("height","auto"):t.outerHeight(l)}})};l(),e(window).on("resize",function(){setTimeout(function(){l()},400)})}var r=n.find("[data-animate]");if(r.length>0){var d=function(){r.each(function(){var e=jQuery(this),t=e.data("animate"),n=e.data("animate-infinite")||null,a=e.data("animate-delay")||null,i=e.data("animate-duration")||null,o=e.data("animate-offset")||"98%";null!==n&&e.addClass("infinite"),null!==a&&e.css({"-webkit-animation-delay":a+"s","-moz-animation-delay":a+"s","animation-delay":a+"s"}),null!==i&&e.css({"-webkit-animation-duration":i+"s","-moz-animation-duration":i+"s","animation-duration":i+"s"}),e.waypoint(function(){e.addClass("animated "+t).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){e.addClass("animated-done"),e.removeClass(t)}),this.destroy()},{offset:o})})};$document.includeWaypoints(function(){$document.themeLoadPlugin([],["https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"],function(){$document.isPageLoaderDone(d)})})}n.find('[data-scroll="scroll-state"]').each(function(){var t=e(this),n=e(document),a=t.data("scroll-amount")||e(window).outerHeight(),i=(t.data("scroll-amount-out"),t.data("scroll-setting")||null),o=null!==i?i.effectIn||null:null,s=null!==i?i.effectOut||null:null,l=null!==i?i.effectDelay||null:null,r=null!==i?i.effectDuration||null:null,d=null!==i?i.breakpoint||null:null,c=null!==i?i.fallbackState||"scroll-state-active":null,u=t.data("scroll-active")||!0,f=e(window);t.hasClass("scroll-state-hidden")&&t.data("state","out"),null===o&&null===s||(t.addClass("scroll-effect"),$document.themeLoadPlugin([],["https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"])),null!==l&&t.css({"-webkit-animation-delay":l+"s","-moz-animation-delay":l+"s","animation-delay":l+"s"}),null!==r&&t.css({"-webkit-animation-duration":r+"s","-moz-animation-duration":r+"s","animation-duration":r+"s"}),d&&f.on("resize",function(){setTimeout(function(){f.width()<=d?(u=!1,t.addClass(c),t.removeClass(s),t.removeClass(o)):(u=!0,t.removeClass(c)),t.data("scroll-active",u)},400)}),n.scroll(function(){if(!1!==t.data("scroll-active")){var n=e(this).scrollTop(),i=t.data("state");n>=a?"out"===i&&(t.data("state","in"),t.addClass("scroll-state-active"),t.removeClass("scroll-state-hidden"),null!==s&&t.removeClass(s),null!==o&&t.addClass("animated "+o)):"in"===i&&(t.data("state","out"),null!==s?t.addClass("animated "+s):(t.removeClass("scroll-state-active"),t.addClass("scroll-state-hidden")),null!==o&&t.removeClass(o))}})}),n.find('[data-scroll="scrollax"]').each(function(){var t=e(this),n=e(document),a=e(window),i=t.data("scrollax-op-ratio")||500,o=t.data("scrollax-y-ratio")||5;n.scroll(function(){var e=a.scrollTop();t.css({opacity:1-e/i,transform:"off"===o?0:"translateY("+(0-e/o)+"px)"})})}),n.find('[data-toggle="quantity"]').each(function(){var t=e(this),n=t.find(".quantity-down"),a=t.find(".quantity-up"),i=t.find(".quantity"),o=function(e){var t=parseInt(i.val());"down"===e?t-=1:"up"===e&&(t+=1),t<0&&(t=0),i.val(t)};i.length>0&&(n.on("click",function(){o("down")}),a.on("click",function(){o("up")}))}),n.find("[data-bg-img]").each(function(){var t=e(this),n=t.attr("style")||"";n+='background-image: url("'+t.data("bg-img")+'") !important;',t.attr("style",n).addClass("bg-img")}),n.find("[data-css]").each(function(){var t=e(this),n=t.data("css")||"",a=t.data("css")||{},i={};null!==a&&"object"==typeof a&&(i=e.extend(n,a),t.css(i))});var c=n.find("[data-toggle=overlay]");if(c.length>0&&(c.each(function(){var t=jQuery(this),n=t.data("target")||null;t.addClass("overlay-trigger"),e(n).length>0&&(h=e(n),t.on("click",function(e){return t.toggleClass("overlay-active"),jQuery(t.data("target")).toggleClass("overlay-active"),jQuery("html").toggleClass("overlay-open"),!1}))}),n.find('[data-dismiss="overlay"]').each(function(){var t=jQuery(this),n=t.data("target")||".overlay",a=jQuery('[data-toggle="overlay"][data-target="'+n+'"]')||null;e(n).length>0&&(n=jQuery(n),t.on("click",function(e){return n.removeClass("overlay-active"),jQuery("html").removeClass("overlay-open"),a.length>0?a.removeClass("overlay-active"):jQuery('[data-toggle="overlay"]').removeClass("overlay-active"),!1}))})),n.find("[data-url]").each(function(){var t=e(this).data("url"),n=function(e){var t=document.createElement("a");return t.href=e,t}(t);e(this).addClass("clickable-element"),e(this).on("hover",function(){e(this).hover(function(){e(this).addClass("hovered")},function(){e(this).removeClass("hovered")})}),e(this).find("a").on("click",function(t){e(this).attr("href")===n.href&&t.preventDefault()}),e(this).on("click",function(){n.host!==location.host?window.open(n.href,"_blank"):window.location=t})}),$searchForm=n.find("[data-toggle=search-form]"),$searchForm.length>0){var u=$searchForm,f=u.data("target"),h=e(f);if(0===h.length)return;h.addClass("collapse"),e("[data-toggle=search-form]").click(function(){h.collapse("toggle"),e(f+" .search").focus(),u.toggleClass("open"),e("html").toggleClass("search-form-open"),e(window).trigger("resize")}),e("[data-toggle=search-form-close]").click(function(){h.collapse("hide"),u.removeClass("open"),e("html").removeClass("search-form-open"),e(window).trigger("resize")})}var m=e("body").data("colour-scheme")||"green",g=n.find(".theme-colours a");g.removeClass("active"),g.filter("."+m).addClass("active"),g.click(function(){var t=e(this).attr("href").replace("#",""),a=3*Math.floor(6*Math.random());e(".theme-colours a").removeClass("active"),e(".theme-colours a."+t).addClass("active"),t!==m?n.find("#colour-scheme").attr("href","assets/css/colour-"+t+".css?x="+a):n.find("#colour-scheme").attr("href","#")}),navigator.userAgent.toLowerCase().indexOf("msie")>-1&&n.find("[placeholder]").focus(function(){var e=jQuery(this);e.val()===e.attr("placeholder")&&(this.originalType&&(this.type=this.originalType,delete this.originalType),e.val(""),e.removeClass("placeholder"))}).blur(function(){var e=jQuery(this);""===e.val()&&(e.addClass("placeholder"),e.val(e.attr("placeholder")))}).blur();var p=n.find('[data-toggle="progress-bar-animated-progress"]');if(p.length>0){var v=function(){p.each(function(){var e=jQuery(this),t=e.attr("style")||"";e.waypoint(function(){t+="width: "+e.attr("aria-valuenow")+"% !important;",e.attr("style",t).addClass("progress-bar-animated-progress"),this.destroy()},{offset:"98%"})})};$document.includeWaypoints(function(){p.css("width",0),$document.isPageLoaderDone(v)})}n.find('[data-toggle="collapse"]').each(function(){var t=e(this),n=t.attr("href")||t.data("target");t.data("parent");e(n).length>0&&e(n).hasClass("show")&&t.addClass("show"),t.on({click:function(){t.toggleClass("show",!e(n).hasClass("show")),e(window).trigger("resize");var a=t.find('input[type="checkbox"]');a.length>0&&a.prop("checked",!e(n).hasClass("show"))}})}),n.find("[data-accordion-focus]").on("shown.bs.collapse",function(t){var n=e(t.target).parent().offset().top,a=$document.calcHeightsOffset(n,e("#header").outerHeight());e("html,body").animate({scrollTop:a+20},500)}),n.find('[data-toggle="radio-collapse"]').each(function(t,n){var a=e(n),i=e(a.data("target")),o=e(a.data("parent")),s=a.find("input[type=radio]"),l=o.find("input[type=radio]").not(s);s.on("change",function(){s.is(":checked")?i.collapse("show"):i.collapse("hide")}),s.on("click",function(){l.prop("checked",!1).trigger("change")})});var y=n.find("[data-modal-duration]");if(y.length>0){var j=y,b=j.data("modal-duration"),w=e('<div class="modal-progress"></div>');j.find(".modal-content").append(w),j.on("show.bs.modal",function(e){var t=2,n=setInterval(function(){w.width(t+++"%")},b/100);setTimeout(function(){j.modal("hide"),clearInterval(n)},b)})}var C=n.find('[data-toggle="modal-onload"]');C.length>0&&(C.on("shown.bs.modal",function(){e(this).data("modal-shown",!0)}),C.each(function(){var t=e(this),n=t.data("modal-delay")||null,a=t.data("modal-force")||!1,i=function(e){var t=e.data("modal-shown")||!1;(!1===t||t&&a)&&e.modal()};null!==n?setTimeout(function(){i(t)},n):i(t)})),$document.tooltip&&n.find('[data-toggle="tooltip"]').tooltip(),$document.popover&&n.find('[data-toggle="popover"]').popover(),n.find("[data-page-class]").each(function(){n.find("html").addClass(jQuery(this).data("page-class"))}),n.find(".navbar-fixed-top").length>0&&n.find("html").addClass("has-navbar-fixed-top"),n.find('[data-toggle="class"]').each(function(){var t=e(this),n=t.data("target"),a=e(n),i=t.data("toggle-class")||"show",o=t.data("toggle-trigger")||"click",s=t.data("toggle-action")||"toggle",l=function(t,n,a){"object"==typeof n?e.each(n,function(e,n){"remove"===a?t.removeClass(n):"add"===a?t.addClass(n):t.toggleClass(n)}):"remove"===a?t.removeClass(n):"add"===a?t.addClass(n):t.toggleClass(n)};if("object"==typeof n)e.each(n,function(n,a){var i=a.toggleTrigger||o,r=a.actions||s;t.on(i,function(){return"object"==typeof r?e.each(r,function(t,a){l(e(n),a,t)}):l(e(n),_toggleClass,_toggleAction),!1})});else{if(0===a.length)return;t.on(o,function(){return l(a,i,s),!1})}}),n.find("[data-toggle=show-hide]").each(function(){var t=jQuery(this),n=t.attr("data-target"),a=e(n),i="show",o=t.attr("data-target-state"),s=t.attr("data-callback");0!==a.length&&("show"===i&&a.addClass("collapse"),t.click(function(){void 0!==o&&!1!==o&&(i=o),void 0===i&&(i="show"),a.hasClass("show")?t.removeClass("show"):t.addClass("show"),a.collapse("toggle"),s&&"function"==typeof s&&s()}))})},isPageLoaderDone:function(t){var n=e('[data-toggle="page-loader"]'),a=function(){t&&"function"==typeof t&&t()};0!==n.length&&"none"!=n.css("display")||a();var i=setInterval(function(){"none"==n.css("display")&&(pageLoaderDone=!0,clearInterval(i),a())},500)},includeWaypoints:function(e){if(void 0===jQuery.fn.waypoint){$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js"],[]);var t=0,n=setInterval(function(){"function"==typeof jQuery.fn.waypoint&&(clearInterval(n),e&&"function"==typeof e&&e()),++t>20&&(clearInterval(n),alert("Error: Waypoints plugin could not be loaded"))},500)}else e&&"function"==typeof e&&e()},themeScrollMenus:function(){var t=e(this).find('[data-toggle="scroll-link"]'),n=e("#header"),a=e("body");e('[data-spy="scroll"]');if(t.length>0){var i=function(){var e=n.outerHeight();return a.hasClass("header-compact-sticky")&&(e-=35),e},o=function(e){if("refresh"==e){var t=a.data("bs.scrollspy");t._config.offset=i(),a.data("bs.scrollspy",t),a.scrollspy("refresh")}else a.scrollspy({target:".navbar-main",offset:i()})};o("init"),e(window).on("resize",function(){setTimeout(function(){o("refresh")},200)}),t.click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=e(this),n=e(this.hash),a=t.data("scroll-link-nooffset")||!1,o=2;return e(window).trigger("resize"),function(){(n=n.length?n:e("[name="+this.hash.slice(1)+"]")).length&&(o=i()+o,a&&(o=0),e("html, body").animate({scrollTop:n.offset().top-o},1e3))}(),!1}})}},themeSubMenus:function(){var t=e(this),n=e('.dropdown-menu [data-toggle="tab"], .dropdown-menu [data-toggle="pill"]');n.on("click",function(t){event.preventDefault(),event.stopPropagation(),e(this).tab("show")}),n.on("shown.bs.tab",function(t){var n=e(t.relatedTarget),a=e(t.target).getSelector(),i=n.getSelector(),o=e(a),s=e(i);o.addClass("active"),s.removeClass("active"),e(document).find('[data-target="'+a+'"]').addClass("active"),e(document).find('[data-target="'+i+'"]').removeClass("active")}),t.find(".dropdown-menu [data-toggle=dropdown]").on("click",function(t){t.preventDefault(),t.stopPropagation(),e(this).parent().toggleClass("show")}),t.find(".dropdown.dropdown-persist").on({"shown.bs.dropdown":function(){e(this).data("closable",!1)},"hide.bs.dropdown":function(t){return temp=e(this).data("closable"),e(this).data("closable",!0),temp}}),t.find(".dropdown.dropdown-persist .dropdown-menu").on({click:function(t){e(this).parent(".dropdown.dropdown-persist").data("closable",!1)}})},getSelector:function(){var t=e(this),n=t.data("target");n&&"#"!==n||(n=t.attr("href")||"");try{return e(n).length>0?n:null}catch(e){return null}},calcHeightsOffset:function(t,n){return"number"==typeof n?t-n:("string"==typeof n&&e(n).length>0&&e(n).each(function(){t-=e(n).height()}),t)},isIE:function(){if(document.documentMode||/Edge/.test(navigator.userAgent))return!0},getScriptLocation:function(){var t=e("body").data("plugins-localpath")||null;return t||PLUGINS_LOCALPATH},themeLoadPlugin:function(t,n,a,i){if(null===(e("body").data("plugins-manual")||null)){var o=function(e){return 0===e.indexOf("http://")||0===e.indexOf("https://")?e:$document.getScriptLocation()+e};if(e.ajaxPrefilter("script",function(e){e.crossDomain=!0}),t.length>0){var s=0,l=function(i){++s===t.length&&(e.each(n,function(t,n){if(loadedFiles[n]===n)return!0;loadedFiles[n]=n,e("head").prepend('<link href="'+o(n)+'" rel="stylesheet" type="text/css" />')}),a&&"function"==typeof a&&a())};e.each(t,function(t,n){if(loadedFiles[n]===n)return l(),!0;if(loadedFiles[n]=n,void 0===i){var a={url:o(n),dataType:"script",success:l,cache:!0};e.ajax(a)}else"append"===i?(e('script[src*="bootstrap.min.js"]').after('<script src="'+o(n)+'"><\/script>'),l()):"prepend"===i?(e('script[src*="bootstrap.min.js"]').before('<script src="'+o(n)+'"><\/script>'),l()):"head"===i&&(e("head").append('<script src="'+o(n)+'"><\/script>'),l())})}else n.length>0&&(e.each(n,function(t,n){if(loadedFiles[n]===n)return!0;loadedFiles[n]=n,e("head").prepend('<link href="'+o(n)+'" rel="stylesheet" type="text/css" />')}),a&&"function"==typeof a&&a())}else a&&"function"==typeof a&&a()},themePluginsDefault:function(t){return{themePluginFakeLoader:function(){if(t.find("[data-toggle=page-loader]").length>0){var n=function(){jQuery("html").addClass("has-page-loader");var t=jQuery("[data-toggle=page-loader]"),n={zIndex:9999999,spinner:t.data("spinner")||"spinner6",timeToHide:1e3};t.fakeLoader(n),$document.isPageLoaderDone(function(){jQuery("html").removeClass("has-page-loader"),e(window).trigger("resize")})};$document.themeLoadPlugin(["fakeLoader/fakeLoader.min.js"],["fakeLoader/fakeLoader.css"],n)}},themePluginCountTo:function(){var n=t.find('[data-toggle="count-to"]');if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("delay")||0;t.waypoint(function(){setTimeout(function(){t.countTo({onComplete:function(){t.addClass("count-to-done")},formatter:function(e,t){var n=e.toFixed(t.decimals);return"-0"==n&&(n="0"),n}})},n),this.destroy()},{offset:"90%"})})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/jquery-countto/1.2.0/jquery.countTo.min.js"],[],function(){$document.includeWaypoints(function(){$document.isPageLoaderDone(a)})})}},themePluginTyped:function(){var n=t.find("[data-typed]");if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("typed")||null,a=t.data("typed-settings")||{},i=a.delay||0;a.autoStart=!0,a.callback=function(){""!==a.doneClass&&e.each(a.doneClass,function(t,n){e(t).addClass(n)})},""!==n&&("object"==typeof n&&(a.strings=n),t.waypoint(function(){setTimeout(function(){t.typeIt(a)},i),this.destroy()},{offset:"100%"}))})};$document.themeLoadPlugin(["https://cdn.jsdelivr.net/jquery.typeit/4.4.0/typeit.min.js"],[],function(){$document.includeWaypoints(function(){$document.isPageLoaderDone(a)})})}},themePluginDropdown:function(){t.find('[data-hover="dropdown"]').length>0&&$document.themeLoadPlugin(["bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"],[],null,"append")},themePluginVide:function(){var n=t.find("[data-bg-video]");if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("bg-video")||null,a=t.data("settings")||{},i={className:"bg-video-video"};a=jQuery.extend(i,a),null!==n&&t.addClass("bg-video").vide(n,a)})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/vide/0.5.1/jquery.vide.min.js"],[],a)}},themePluginBootstrapSwitch:function(){var e=t.find("[data-toggle=switch]");if(e.length>0){var n=function(){e.bootstrapSwitch()};$document.themeLoadPlugin(["bootstrap-switch/build/js/bootstrap-switch.min.js"],["_overrides/plugin-bootstrap-switch.min.css","bootstrap-switch/build/css/bootstrap3/bootstrap-switch.min.css"],n)}},themePluginJpanelMenu:function(){var n=t.find("[data-toggle=jpanel-menu]");if(n.length>0){var a=function(){var t=n,a="",i=t.data("target"),o=e(i),s=e(window),l=e("#header .is-sticky"),r=e("html"),d=o.find('[data-dismiss="jpanel-menu"]')||null,c=function(e){return"block"===e.css("display")||"inline-block"===e.css("display")};jPM=jQuery.jPanelMenu({menu:i,direction:t.data("direction"),trigger:"."+t.attr("class"),excludedPanelContent:".jpanel-menu-exclude",openPosition:"280px",clone:!0,keepEventHandlers:!0,afterOpen:function(){t.addClass("open"),r.addClass("jpanel-menu-open"),s.trigger("resize")},afterClose:function(){t.removeClass("open"),r.removeClass("jpanel-menu-open"),s.trigger("resize")},beforeOpen:function(){l.length>0&&(r.addClass("jpanel-menu-opening"),l.one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){r.removeClass("jpanel-menu-opening")}))}}),s.on("debouncedresize",function(){var e=c(t);!0===e&&"on"!==a?(jPM.on(),jPM.getMenu().themeRefresh(),a="on",t.on("click.jpm",function(){return jPM.trigger(!0),!1})):!1===e&&"off"!==a&&(jPM.off(),t.off("click.jpm"),a="off")}),s.trigger("resize"),null!==d&&d.on("click",function(){alert("kjhj"),jPM.close(!0)})};$document.themeLoadPlugin(["jPanelMenu/jquery.jpanelmenu.min.js","https://cdn.jsdelivr.net/jquery.smartresize/0.1/jquery.debouncedresize.js"],[],a)}},themePluginFixTo:function(){var n=t.find("[data-toggle=clingify], [data-toggle=sticky]");if(n.length>0){var a=function(){var t=function(e){var t=e.data("settings")||{};t.className="is-sticky",t.useNativeSticky=!1,e.data("stickSettings",t)},a=function(n,a){t(n);var o=n.data("stickSettings"),s=o.parent||"body",l=o.persist||!1,r=o.breakpoint||!1,d=n.find(".header")||!1,c=e(window);a=a||"init",n.addClass("sticky").fixTo(s,o),l&&i(n,o),c.scroll(function(){var t=e(window).scrollTop();d&&0===t&&""!==n.data("fixto-instance")&&n.fixTo("refresh")}),c.on("resize",function(){setTimeout(function(){r&&(e(window).width()<=r?(n.fixTo("destroy"),n.data("fixto-instance","")):""===n.data("fixto-instance")&&n.addClass("sticky").fixTo(s,n.data("stickSettings"))),l&&i(n,o)},400)}),c.on("orientationchange",function(){d&&""!==n.data("fixto-instance")&&setTimeout(function(){n.fixTo("refresh")},400)})},i=function(t,n){var a=t[0].getBoundingClientRect().top;""!==n.mind&&e(n.mind).each(function(t,n){var i=e(n);i.length>0&&(a-=i.outerHeight())}),""!==t.data("fixto-instance")?t.fixTo("setOptions",{top:a}):t.attr("style","top: auto;")};n.each(function(t){a(e(this))})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/fixto/0.5.0/fixto.js"],[],a)}},themePluginFlexslider:function(){var n=t.find(".flexslider");if(n.length>0){var a=function(){n.each(function(){var t={animation:jQuery(this).attr("data-transition"),selector:".slides > .slide",controlNav:!0,smoothHeight:!0,start:function(e){e.find("[data-animate-in]").each(function(){jQuery(this).css("visibility","hidden")}),e.find(".slide-bg").each(function(){jQuery(this).css({"background-image":"url("+jQuery(this).data("bg-img")+")"}),jQuery(this).css("visibility","visible").addClass("animated").addClass(jQuery(this).data("animate-in"))}),e.find(".slide").eq(1).find("[data-animate-in]").each(function(){jQuery(this).css("visibility","hidden"),jQuery(this).data("animate-delay")&&jQuery(this).addClass(jQuery(this).data("animate-delay")),jQuery(this).data("animate-duration")&&jQuery(this).addClass(jQuery(this).data("animate-duration")),jQuery(this).css("visibility","visible").addClass("animated").addClass(jQuery(this).data("animate-in")),jQuery(this).one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){jQuery(this).removeClass(jQuery(this).data("animate-in"))})})},before:function(e){e.find(".slide-bg").each(function(){jQuery(this).removeClass(jQuery(this).data("animate-in")).removeClass("animated").css("visibility","hidden")}),e.find(".slide").eq(e.animatingTo+1).find("[data-animate-in]").each(function(){jQuery(this).css("visibility","hidden")})},after:function(t){t.find(".slide").find("[data-animate-in]").each(function(){jQuery(this).css("visibility","hidden")}),t.find(".slide").eq(t.animatingTo+1).find("[data-animate-in]").each(function(){jQuery(this).data("animate-delay")&&jQuery(this).addClass(jQuery(this).data("animate-delay")),jQuery(this).data("animate-duration")&&jQuery(this).addClass(jQuery(this).data("animate-duration")),jQuery(this).css("visibility","visible").addClass("animated").addClass(jQuery(this).data("animate-in")),jQuery(this).one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){jQuery(this).removeClass(jQuery(this).data("animate-in"))})}),e(window).trigger("resize")}},n=jQuery(this).attr("data-slidernav");"auto"!==n&&(t=e.extend({},t,{manualControls:n+" li a",controlsContainer:".flexslider-wrapper"})),jQuery("html").addClass("has-flexslider"),jQuery(this).flexslider(t),jQuery(".flexslider").resize()})};$document.themeLoadPlugin(["flexslider/jquery.flexslider-min.js"],["_overrides/plugin-flexslider.min.css","flexslider/flexslider.css"],a)}},themePluginSliderRevolution:function(){if($sliderRevolutions=t.find("[data-toggle=slider-rev]"),$sliderRevolutions.length>0){var n=function(){0===$sliderRevolutions.length&&($sliderRevolutions=t.find("[data-toggle=slider-rev]")),$sliderRevolutions.each(function(){var t=e(this),n=t.data("custom-init")||!1;t.data("version","5.4.4");var a,i=t.find("li")||0,o={extensions:"slider-revolution/revolution/js/extensions/",jsFileLocation:$document.getScriptLocation(),responsiveLevels:[1240,1024,778,480],visibilityLevels:[1240,1024,778,480],spinner:"spinner5",lazyType:"smart",navigation:{arrows:{enable:i.length>1,style:"appstrap",tmp:"",rtl:!1,hide_onleave:!1,hide_onmobile:!0,hide_under:481,hide_over:9999,hide_delay:200,hide_delay_mobile:1200,left:{container:"slider",h_align:"left",v_align:"center",h_offset:20,v_offset:0},right:{container:"slider",h_align:"right",v_align:"center",h_offset:20,v_offset:0}}}};if(a=e.extend(o,t.data("settings")),n)t.addClass("custom-init").trigger("appstrap:sliderRev:customInit",[a]);else{t.hide();var s=t.addClass("standard-init").show().revolution(a);t.trigger("appstrap:sliderRev:standardInit",[a]),e(".modal").on("shown.bs.modal",function(){s&&s.revpause()}).on("hidden.bs.modal",function(e){s&&s.revresume()})}})};$document.themeLoadPlugin(["slider-revolution/revolution/js/jquery.themepunch.tools.min.js?v=5.4.4","slider-revolution/revolution/js/source/jquery.themepunch.revolution.js?v=5.4.4"],["_overrides/plugin-slider-revolution.min.css","slider-revolution/revolution/css/settings.css?v=5.4.4"],function(){$document.isPageLoaderDone(n)})}},themePluginBackstretch:function(){var n=t.find("[data-toggle=backstretch]");if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=jQuery,a=[],i={fade:750,duration:4e3};jQuery.each(t.data("backstretch-imgs").split(","),function(e,t){a[e]=t}),t.data("backstretch-target")&&("self"===(n=t.data("backstretch-target"))?n=t:e(n).length>0&&(n=e(n))),a&&(e("html").addClass("has-backstretch"),i=e.extend({},i,t.data()),n.backstretch(a,i),!1!==t.data("backstretch-overlay")&&(e(".backstretch").prepend('<div class="backstretch-overlay"></div>'),t.data("backstretch-overlay-opacity")&&e(".backstretch").find(".backstretch-overlay").css("background","white").fadeTo(0,t.data("backstretch-overlay-opacity"))))})};$document.themeLoadPlugin(["backstretch/jquery.backstretch.min.js"],[],a)}},themePluginFitVids:function(){var n=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];if(t.find(n.join(",")).length>0){var a=function(){e("body").fitVids({ignore:".no-fitvids"})};$document.themeLoadPlugin(["fitvidsjs/jquery.fitvids.js"],[],a)}},themePluginIsotope:function(){var n=t.find("[data-toggle=isotope-grid]");if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("isotope-options"),a=t.data("isotope-filter")||null;if($document.imagesLoaded?t.imagesLoaded(function(){t.isotope(n)}):t.isotope(n),null!==a){var i=e(a);i.on("click",function(n){n.preventDefault(),i.removeClass("active");var a=e(this),o=a.data("isotope-fid")||null;return o&&(a.addClass("active"),t.isotope({filter:o})),!1})}e("body").addClass("has-isotope")})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.1/imagesloaded.pkgd.min.js","https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"],[],a)}},themePluginHighlightJS:function(){if(t.find("code").length>0){var n=function(){e("pre code").each(function(e,t){hljs.highlightBlock(t)})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"],["https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/default.min.css","https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css"],n)}},themePluginOwlCarousel:function(){var n=t.find('[data-toggle="owl-carousel"]'),a=t.find("[data-owl-carousel-thumbs]");if(n.length>0){var i=function(t){n.each(function(){var t=e(this),n=t.data("owl-carousel-settings")||null;t.addClass("owl-carousel").owlCarousel(n)}),a.each(function(){var t=e(this),n=t.find(".owl-thumb"),a=e(t.data("owl-carousel-thumbs"))||null,i=""!==t.data("toggle")&&"owl-carousel"==t.data("toggle")||!1;a&&(t.find("owl-item").removeClass("active"),n.removeClass("active"),n.eq(0).addClass("active"),n.on("click",function(t){a.trigger("to.owl.carousel",[e(this).parent().index(),300,!0])}),i&&t.owlCarousel(),a.owlCarousel(),a.on("changed.owl.carousel",function(e){var a=e.item.index;if(n.removeClass("active"),n.eq(a).addClass("active"),i&&e.namespace&&"position"===e.property.name){var o=e.relatedTarget.relative(e.property.value,!0);t.owlCarousel("to",o,300,!0)}}))})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.2.1/owl.carousel.min.js"],["_overrides/plugin-owl-carousel.min.css","https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.2.1/assets/owl.carousel.min.css","https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"],i)}},themePluginMagnificPopup:function(){var n=t.find('[data-toggle="magnific-popup"]');if(n.length>0){var a=function(){var t={disableOn:0,key:null,midClick:!1,mainClass:"mfp-fade-zoom",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:300,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",type:"image",image:{titleSrc:"data-title",verticalFit:!0}};n.each(function(){var n,a={};""!==e(this).data("magnific-popup-settings")&&(a=e(this).data("magnific-popup-settings")),n=jQuery.extend(t,a),e(this).magnificPopup(n);e(this).on("mfpOpen",function(t){e.magnificPopup.instance.next=function(){var t=this;t.wrap.removeClass("mfp-image-in"),setTimeout(function(){e.magnificPopup.proto.next.call(t)},120)},e.magnificPopup.instance.prev=function(){var t=this;t.wrap.removeClass("mfp-image-in"),setTimeout(function(){e.magnificPopup.proto.prev.call(t)},120)}}).on("mfpImageLoadComplete",function(){var t=e.magnificPopup.instance;setTimeout(function(){t.wrap.addClass("mfp-image-in")},10)})})};$document.themeLoadPlugin(["magnific-popup/dist/jquery.magnific-popup.min.js"],["_overrides/plugin-magnific-popup.min.css","magnific-popup/dist/magnific-popup.css"],a)}},themePluginZoom:function(){var n=t.find("[data-img-zoom]");if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("img-zoom"),a=t.data("img-zoom-settings")||{};a.url=n,t.addClass("d-block").zoom(a)})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/jquery-zoom/1.7.18/jquery.zoom.min.js"],[],a)}},themePluginCountdown:function(){var n=t.find("[data-countdown]");if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("countdown"),a=t.data("countdown-format")||null,i=t.data("countdown-expire-text")||null;t.countdown(n).on("update.countdown",function(e){null===a&&(a="%H hrs %M mins %S secs",e.offset.totalDays>0&&(a="%-d day%!d "+a),e.offset.weeks>0&&(a="%-w week%!w "+a)),t.html(e.strftime(a))}).on("finish.countdown",function(e){i!==i&&t.html(i),t.addClass("countdown-done")})})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.min.js"],[],a)}},themePluginCubePortfolio:function(){var n=t.find('[data-toggle="cbp"]');if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("settings")||{},a={layoutMode:"mosaic",sortToPreventGaps:!0,defaultFilter:"*",animationType:"slideDelay",gapHorizontal:2,gapVertical:2,gridAdjustment:"responsive",mediaQueries:[{width:1100,cols:4},{width:800,cols:3},{width:480,cols:2},{width:0,cols:1}],caption:"zoom",displayTypeSpeed:100,lightboxDelegate:".cbp-lightbox",lightboxGallery:!0,lightboxTitleSrc:"data-title",lightboxCounter:'<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>',singlePageInlinePosition:"top",singlePageInlineInFocus:!0,singlePageAnimation:"fade"},i=e.extend({},a,n);i.singlePageInlineCallback=function(t,n){var a=this,i=(e(a),e(n).data("content")||"ajax"),o=function(t,n){var a=t.find("[data-cbp-close]")||null;null!==a&&(e(n.wrap).addClass("has-custom-close"),e(n.closeButton).hide(),a.on("click",function(){n.close()}))};if("ajax"!==i&&e(i).length>0){var s=e(i).clone(!0,!0);s.themeRefresh(),a.content.html(""),a.content.append(s.contents()),a.cubeportfolio.$obj.trigger("updateSinglePageInlineStart.cbp"),a.singlePageInlineIsOpen.call(a)}else"ajax"==i?e.ajax({url:t,type:"GET",dataType:"html",timeout:3e4}).done(function(t){var n=e(t);n.themeRefresh(),o(n,a),a.content.html(""),a.content.append(n),a.cubeportfolio.$obj.trigger("updateSinglePageInlineStart.cbp"),a.singlePageInlineIsOpen.call(a),$document.imagesLoaded&&a.content.imagesLoaded(function(){a.content.find('[data-toggle="owl-carousel"]').on("translated.owl.carousel",function(e){setTimeout(function(){a.resizeSinglePageInline()},200)}),setTimeout(function(){a.resizeSinglePageInline()},1e3)})}).fail(function(){a.updateSinglePageInline("AJAX Error! Please refresh the page!")}):a.updateSinglePageInline("Content Error! Please refresh the page!")},i.singlePageCallback=function(t,n){var a=this;e.ajax({url:t,type:"GET",dataType:"html",timeout:3e4}).done(function(t){var n=e(t);n.themeRefresh();var i;a.content.addClass("cbp-popup-content").removeClass("cbp-popup-content-basic"),a.counter&&(i=e(a.getCounterMarkup(a.options.singlePageCounter,a.current+1,a.counterTotal)),a.counter.text(i.text())),a.fromAJAX={html:n,scripts:void 0},--a.finishOpen<=0&&(a.wrap.addClass("cbp-popup-ready"),a.wrap.removeClass("cbp-popup-loading"),a.content.html(""),a.content.append(n),a.checkForSocialLinks(a.content),a.cubeportfolio.$obj.trigger("updateSinglePageComplete.cbp"))}).fail(function(){a.updateSinglePage("AJAX Error! Please refresh the page!")})},$document.imagesLoaded&&t.imagesLoaded(function(){t.cubeportfolio(i)})})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.1/imagesloaded.pkgd.min.js","cubeportfolio-jquery-plugin/cubeportfolio/js/jquery.cubeportfolio.js"],["_overrides/plugin-magnific-popup.min.css","_overrides/plugin-cube-portfolio.min.css","cubeportfolio-jquery-plugin/cubeportfolio/css/cubeportfolio.css"],a)}},themePluginCustomScrollbar:function(){var n=t.find('[data-toggle="scrollbar"]');if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("settings")||{emulatetouch:!0};t.niceScroll(n)})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.0/jquery.nicescroll.min.js"],[],a)}},themePluginUnveil:function(){var n=t.find('[data-toggle="unveil"]');if(n.length>0){var a=function(){n.each(function(){var t=e(this),n=t.data("offset")||0;t.unveil(n,function(){t.addClass("unveil-done")})})};$document.themeLoadPlugin(["https://cdnjs.cloudflare.com/ajax/libs/unveil/1.3.0/jquery.unveil.min.js"],["_overrides/plugin-unveil.min.css"],a)}}}}})}(jQuery),$(document).ready(function(){"use strict";$(document).themeInit()});
SAVE
CANCEL