var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,n,t){a instanceof String&&(a=String(a));for(var l=a.length,m=0;m.module_row"):a(x+">"+v),c=themifyScript.responsiveBreakpoints||{},d=window.innerWidth,y={desktop:d>=c.tablet_landscape,tablet: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 y)!0===y[d]&&c.contains("hide-"+d)&&b.remove()});window.top._rowColAlign="col_align_middle"}
function t(a){a=a.prop("class").split(" ");for(var b=/^tb_section-/i,d=null,e=0,g=a.length;e"+v),u.each(function(){for(var b=a(this),c=document.createDocumentFragment(),d=document.createElement("div"),g=this.classList,e="",q=g.length-1;-1");b.addClass("fp-bg").css({"background-image":a(this).css("background-image"),"z-index":0});a(this).css("background-image","none").prepend(b)})}y||a.fn.fullpage.setAutoScrolling(!0);var c=a(".module_row_slide.active, .section",a(".section-container.active")),g=e&&c.is('[class*="tb_section-"]')?t(c):c.prop("id"),f=p.find('a[href$="#'+g+'"]');"undefined"!==
typeof ThemifyBuilderModuleJs&&"undefined"!==typeof z&&null!==ThemifyBuilderModuleJs.wow&&I&&(ThemifyBuilderModuleJs.wow.stop(),b.triggerHandler("themify_onepage_afterload",[c,g]));if(e){var h=a("#fp-nav").find("li").get(a(".module_row").length);"undefined"!==typeof h&&h.hide()}0'+b+"").hide().appendTo(a(this)).fadeIn(200)},mouseleave:function(){a(this).find(".multiscroll-tooltip").fadeOut(200,function(){a(this).remove()})}},"#fp-nav li");f=a(v).find(".fp-tableCell, .fp-scrollable, .fp-scroller").children(".builder_row_cover, .row-slider, .column-slider, .subrow-slider");f.length&&f.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,g]);if(q)if(null!==document.querySelector(".module_row_slide[data-fullwidthvideo]"))b.one("tb_bigvideojs_loaded",d);else d()},afterLoad:function(d,q){var f=a(v+".active",a(x)),h=e&&f.is('[class*="tb_section-"]')?t(f):f.prop("id");h||(h=f.data("anchor"));var r=p.find('a[href$="#'+h+'"]');0===r.length&&(r=p.find('a[href$="#'+h+"/"+f.find(".module_row_slide.active").data("anchor")+'"]'));"undefined"!==typeof ThemifyBuilderModuleJs&&"undefined"!==typeof z&&
null!==ThemifyBuilderModuleJs.wow&&ThemifyBuilderModuleJs.wow.stop();0 .mfp-wrap").length)return!1;var q=e?a(x).children(".section-container"):a(x).find(v);if(0=c;d--)q.eq(d-1).find(".module_row").css("visibility","visible");else for(;d<=c;d++)q.eq(d-1).find(".module_row").css("visibility","visible")},afterSlideLoad:function(d,
c,g,q){c=p.find('a[href$="#'+d+"/"+g+'"]');0===c.length&&(c=p.find('a[href$="#'+g+"/"+g+'"]'),0===c.length&&(c=p.find('a[href$="#'+g+'"]')));0e;--g)d.eq(g-1).css("visibility","visible");else if("right"===q)for(;g');k.append(b).on("sidemenushow.themify",function(){b.addClass("body-overlay-on")}).on("sidemenuhide.themify",function(){b.removeClass("body-overlay-on")}).on("click.themify touchend.themify",".body-overlay",function(){K.themifySideMenu("hide");U.themifySideMenu("hide")});a(window).on("tfsmartresize",function(){a("#mobile-menu").hasClass("sidemenu-on")&&
K.is(":visible")?b.addClass("body-overlay-on"):b.removeClass("body-overlay-on")})}var e=!a(".type-section").length,w=!Themify.is_builder_active&&themifyScript.fullPageScroll&&Themify.body[0].classList.contains("full-section-scrolling"),v=".section-post:not(.section-post-slide)",I=w&&Themify.body[0].classList.contains("full-section-scrolling-horizontal"),x="div:not(.module-layout-part) > #loops-wrapper",N=Themify.body[0].classList.contains("fixed-header"),z;w&&(e&&(w=0 .themify_builder_content:not(.not_editable_builder)"),w&&n());var J={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(w)Themify.body.on("themify_onepage_afterload",
function(d,c,g){d=0";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,e=function(){c!==window.scrollY&&(a=c=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(){I||
this.$pageWrap.css("paddingTop",Math.floor(this.headerHeight))}};J.init();var O={recalcHeight:function(b,c){var d=[];a.each(b,function(){d.push(a(this).outerHeight(!0))});var e=Math.max.apply(Math,d);c.closest(".carousel-wrap").find(".caroufredsel_wrapper, .slideshow").each(function(){a(this).outerHeight(e)})},didResize:!1,createCarousel:function(b){var c=this;b.each(function(){var b=a(this),e=b.data("id");b.carouFredSel({responsive:!0,prev:"#"+e+" .carousel-prev",next:"#"+e+" .carousel-next",pagination:{container:"#"+
e+" .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 g=b.closest(".slideshow-wrap");g.css({visibility:"visible",height:"auto"});c.recalcHeight(d.items,b);a(window).on("tfsmartresize",function(){c.recalcHeight(d.items,
b)});setTimeout(function(){g.find(".carousel-nav-wrap").css("width",18*parseInt(g.find(".carousel-pager").find("a").length)+"px")},200)}})})}},k=Themify.body,f=k[0].classList,P=a("#header"),Q=a(".header-icons"),K=a("#menu-icon"),U=a("#cart-icon"),L=a(".cart-icon"),D=L.clone(),p=function(){if(L.length){var b=null;k.is(".header-leftpane, .header-rightpane")?b=a(".social-widget"):Q.is(":visible")&&(b=Q);b&&!D.data("icon-moved")&&(k.hasClass("slide-cart")&&D.themifySideMenu({panel:"#slide-cart",close:"#cart-icon-close"}),
D.data("icon-moved",1).appendTo(b));D.toggle(!!b);L.toggle(!b)}};p();a(window).on("tfsmartresize",p);p=a(".header-top-widgets .header-widget").wrap("
").parent().html();void 0!=p&&a(".header-top-widgets #headerwrap").prepend("");p=null;Themify.isoTop(".masonry.loops-wrapper,.post-filter+.loops-wrapper");"yes"===themifyScript.shop_masonry&&Themify.isoTop(".woocommerce.archive #content ul.products",{itemSelector:".product"});
Themify.isoTop(".packery-gallery.gallery-wrapper",{layoutMode:"packery",gutter:!1,columnWidth:!1,itemSelector:".item"});var A=a(".back-top");if(0window.scrollY?A.addClass("back-top-hide"):A.removeClass("back-top-hide")});A.on("click",function(b){b.preventDefault();b.stopPropagation();w?a("#footerwrap").toggleClass("expanded"):Themify.scrollTo()})}(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"))})})();Themify.isTouch&&"function"!==typeof a.fn.themifyDropdown&&Themify.LoadAsync(themify_vars.url+"/js/themify.dropdown.js",function(){a("#main-nav").themifyDropdown()});
p="right";if(f.contains("header-slide-out")||f.contains("header-rightpane")||f.contains("header-minbar")||f.contains("header-leftpane")){if(f.contains("header-leftpane")||f.contains("header-minbar"))p="left";(f.contains("header-leftpane")||f.contains("header-rightpane"))&&h();if(!Themify.isTouch&&(P.length||f.contains("header-slide-out"))){var B=function(){var b=P;if(f.contains("header-slide-out")||f.contains("header-minbar"))b=a("#mobile-menu");b.niceScroll();k.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},
200)})};"function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",B,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):B()}}else h();K.themifySideMenu({close:"#menu-icon-close",side:p});f.contains("header-overlay")?(a("#mobile-menu").wrapInner(''),a("#main-nav a").on("click",function(){f.contains("mobile-menu-visible")&&a("#menu-icon").click()})):(a("#main-nav li.menu-item-has-children > a, #main-nav li.page_item_has_children > a").after(""),
a("#main-nav .child-arrow,#main-nav a").on("click",function(b){var c=!0,d=a(this);"A"===this.tagName&&("#"===d.attr("href")&&0Math.abs(E(b,"X")-R)&&20>Math.abs(E(b,"Y")-S)){var c=a(this).prop("hash"),d=c.replace(/#/,"").split("/"),d=d[d.length-1],c=a(e?".tb_section-"+d+":not("+v+")":c);c.length&&(b.preventDefault(),b=c.index(),a.fn.fullpage.moveTo(c.closest(".section-container").index()+1,b),c.css("visibility","visible"))}})})}f.contains("header-bottom")&&(a("#footer").after(""),
a(".footer-tab").click(function(b){b.preventDefault();a("#footerwrap").toggleClass("expanded")}),a("#footer .back-top").detach().appendTo("#pagewrap"));a('a[href="#slide-cart"]').themifySideMenu({panel:"#slide-cart",close:"#cart-icon-close"});a(".highlight-post:odd").addClass("odd");if(!Themify.isTouch&&1200')),a(".pull-down").on("click",function(b){Themify.isTouch||
("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",function(){F.getNiceScroll().resize()},null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):F.getNiceScroll().resize());a("#header").toggleClass("pull-down-close");F.slideToggle("fast",function(){a("#pagewrap").css("paddingTop",a("#headerwrap").outerHeight(!0))});b.preventDefault()}));k.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(''):b.attr("data-id",d)});var C=a(".slideshow:not(body)");
0b.w&&!Themify.isTouch&&null!==document.querySelector(".header-horizontal .header-widget, .header-top-bar .header-widget, .boxed-compact .header-widget, .header-stripe .header-widget")){var c=
a(".header-horizontal .header-widget, .header-top-bar .header-widget, .boxed-compact .header-widget, .header-stripe .header-widget");"function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",function(){c.getNiceScroll().remove()},null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):c.getNiceScroll().remove();c.attr("style","")}if(!0===V){var d=a("#main-nav li.has-mega-column > ul,#main-nav li.has-mega-sub-menu > .mega-sub-menu");b.w>tf_mobile_menu_trigger_point?
d.css("width",a("#header").width()):d.removeAttr("style")}null===T&&null!==H&&null!==document.querySelector(".mobile_menu_active")&&(T=!0,H())});a(".header-overlay #main-nav li.menu-item-has-children > a, .header-overlay #main-nav li.page_item_has_children > a").after("");a(".header-overlay #main-nav li.menu-item-has-children > .child-arrow, .header-overlay #main-nav li.page_item_has_children > .child-arrow").on("click",function(){a(this).toggleClass("toggle-on").next("div, ul").toggle("fast");
return!0});!Themify.isTouch&&null!==document.querySelector(".mobile_menu_active")&&f.contains("header-overlay")&&(H=function(){var b=function(){var b=a("#mobile-menu");b.niceScroll();k.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},200)})};"function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",b,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):b()},H());w&&"undefined"===typeof a.fn.fullpage&&
Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.fullpage.extensions.min.js",function(){k.triggerHandler("themify_fullpage_afterload")},null,null,function(){return"undefined"!==typeof a.fn.fullpage});if(w&&k.hasClass("query-section")){themifyScript.hash=window.location.hash.replace("#","").replace("!/","");"undefined"!==typeof a.fn.themifyScrollHighlight&&(k.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).triggerHandler("scroll"));var W=setInterval(function(){"undefined"!==typeof ThemifyBuilderModuleJs&&(clearInterval(W),z=ThemifyBuilderModuleJs.wowInit,ThemifyBuilderModuleJs.wowInit=function(){})},100);k.one("themify_fullpage_afterload",function(){var a=setInterval(function(){"undefined"!==typeof ThemifyBuilderModuleJs&&"undefined"!==typeof z&&null!==ThemifyBuilderModuleJs.wow?(clearInterval(a),ThemifyBuilderModuleJs.wow.stop(),z(),setTimeout(l,100)):(clearInterval(a),l())},100)});Themify.is_builder_active&&
"undefined"===typeof a.fn.fullpage&&Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.fullpage.extensions.min.js",function(){k.trigger("themify_fullpage_afterload");a.fn.fullpage.destroy("all")},null,null,function(){return"undefined"!==typeof a.fn.fullpage});k.on("themify_onepage_afterload",function(b,c){var d=a(v+".active",a(x)).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"))});null!==
document.querySelector(".has-mega-sub-menu")&&(p=function(){a(".has-mega-sub-menu").each(function(){a(this).find("> ul").removeAttr("class").wrap('').after('').find("li.menu-item-type-taxonomy").addClass("mega-link");a(this).ThemifyMegaMenu({events:themifyScript.events})})},"function"!==typeof a.fn.ThemifyMegaMenu?Themify.LoadAsync(themifyScript.themeURI+"/themify/megamenu/js/themify.mega-menu.js",p):p());a(window).on("tfsmartresize",
function(b){f.contains("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")));b.w>tf_mobile_menu_trigger_point&&(f.contains("header-magazine")&&a("#headerwrap").css({paddingBottom:a(".navbar-wrapper").outerHeight()}),f.contains("header-classic")&&(a("#headerwrap").css({paddingBottom:a(".navbar-wrapper").outerHeight()}),
0==a(".navbar-wrapper").find(".navbar-wrapper-inner").length&&a(".navbar-wrapper").wrapInner('')))}).one("load",function(){function b(){var b=!0,c=d.hasClass("fixed-header");c&&d.removeClass("fixed-header");f.each(function(g){var e=a(this).data("fullwidthvideo");e&&(g={url:e,doLoop:!0,ambient:!0,id:g},b&&c&&(b=!1,g.onload=function(){d.addClass("fixed-header")}),a(this).ThemifyBgVideo(g))})}var c=Themify.body;themifyScript.infiniteEnable&&(c.hasClass("woocommerce")&&
c.hasClass("archive")?m(a("#content ul.products"),"#content .product"):m(a("#loops-wrapper"),"#loops-wrapper .post"));var d=a("#headerwrap"),f=d.find("[data-fullwidthvideo]");d.data("fullwidthvideo")&&(f=f.add(d));0