1window.console||(console={log:function(){}}),jQuery(document).ready(function(t){function e(t){t.stopPropagation()}function a(){I.off("mousedown",e),A.off("mousedown",e),E.off("mousedown",e),I.trigger("click")}function i(){var e=t("#mpcth_page_header_wrap"),a=t("#mpcth_page_header_wrap_spacer"),i=t("#mpcth_simple_mobile_nav_wrap"),o=t("#mpcth_page_wrap").is(".mpcth-transparent-header"),c=e.is(".mpcth-mobile-sticky-header-enabled");e.is(".mpcth-sticky-header-enabled")&&(a.waypoint({handler:function(t){if(x.width()>979||c){var s=N.height();"up"==t?e.stop(!0,!0).animate({top:-s},200,function(){a.height(0),e.css("top",D&&o?32:0).removeClass("mpcth-sticky-header"),n()}):(a.height(s),e.addClass("mpcth-sticky-header").css("top",-s).animate({top:D?32:0},700,function(){n()}),c&&i.css("max-height",x.height()-s))}},offset:"-"+e.data("offset")}),c&&(x.on("smart_resize",function(){i.css("max-height",x.height()-N.height())}),i.css("max-height",x.height()-N.height()))),N.addClass("mpcth-header-ready")}function n(){if(R.find(".sub-container").length){var e=x.width();R.find(".sub-container").each(function(){var a=t(this),i=a.parent(),n=i.offset().left+.5*i.width(),o=.5*a.width();a.css("left",-o),n+o>e&&a.css("left",-o+(e-(n+o))),n-o<0&&a.css("left",-o+(o-n))}),t("html").is(".ie")&&P.find(".row").each(function(){var e=t(this);e.is(".extended")||(e.width(e.width()+10),e.addClass("extended"))}),clearInterval(H)}else clearInterval(H)}function o(){x.width()>979?ot&&(ot=!1,nt.prepend(it)):ot||(ot=!0,tt.prepend(it),at.prepend(it))}function c(t){t.find(".mpcth-lightbox, .mpc-sc-lightbox").magnificPopup({type:"image",removalDelay:300,mainClass:"mfp-fade mpcth-popup",image:{verticalFit:!0},gallery:{enabled:!0}}),t.find(".mpcth-alt-lightbox").magnificPopup({type:"image",removalDelay:300,mainClass:"mfp-fade mpcth-alt-popup",image:{verticalFit:!0},gallery:{enabled:!1}})}function s(){var e=t(this);if(!e.is(".active")){var a=this.id,i=e.attr("data-begin"),n=e.attr("data-end"),o=new countUp(a,i,n,0,2);setTimeout(function(){e.addClass("active"),o.start()},500)}}function r(){var e=dt.find("iframe").length,a=0,i=setInterval(function(){e=dt.find("iframe").length,a=0,dt.find("iframe").each(function(){t(this).height()>0&&a++}),e==a&&(clearInterval(i),x.trigger("iframe_loaded"))},500)}function l(){ht.find(".mpcth-post.format-status .mpcth-post-thumbnail").each(function(){var e=t(this),a=0,i=setInterval(function(){var t=e.children("iframe.twitter-tweet");0!=a&&t.height()==a&&(ht.masonry(),e.addClass("mpcth-loaded"),clearInterval(i)),0!=t.height()&&(a=t.height())},500)})}function p(t){xt||(xt=!0,ut.addClass("active"),gt.load(Ct+" #mpcth_content .mpcth-post",function(){var t=gt.children();t.appendTo(vt),xt=!1,ut.removeClass("active"),ut.on("click",p),vt.imagesLoaded(function(){_t?(ht.masonry("appended",t),ht.children(".mpcth-post").addClass("mpcth-post-added"),m(t),t.find(".twitter-tweet").after('<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>'),l()):wt&&(ct.mixitup("remix","all"),m(t))}),++Ft<bt?Ct=Ct.indexOf("page/")!=-1?Ct.replace(/page\/[0-9]+\//,"page/"+(Ft+1)+"/"):Ct.replace(/paged=[0-9]+/,"paged="+(Ft+1)):ut.remove(),x.trigger("loaded_more")})),t.preventDefault()}function m(e){e.find(".flexslider:not(#main_slider, #main_thumbs, .mpcth-items-slider, .flexslider_fade, .flexslider_slide, .mpcth-main-slider, .mpcth-thumbs-slider)").flexslider({animation:"slide",useCSS:!1,slideshow:!1,start:function(){x.trigger("flexslider-loaded")}}),t(".flex-direction-nav .flex-prev").addClass("fa fa-fw fa-angle-left"),t(".flex-direction-nav .flex-next").addClass("fa fa-fw fa-angle-right")}function d(){t(".mpcth-badge-circle").each(function(){var e=t(this),a=e.height(),i=e.width(),n=Math.max(a,i);e.find(".mpcth-badge-content,.mpcth-badge-content-wrap").height(n).width(n),e.find(".mpcth-badge-content-wrap").css("transform","scale(0)")}),t(".mpcth-badge-dropdown").each(function(){var e=t(this),a=e.find(".mpcth-badge-content-wrap").width(),i=e.find(".mpcth-badge-toggle-wrap").width(),n=a>i?a:i;e.find(".mpcth-badge-toggle-wrap,.mpcth-badge-content-wrap").width(n)})}function h(t){t.stopPropagation()}function u(){Tt.off("mousedown",h),jt.off("mousedown",h),Tt.trigger("click")}function f(t){v(t.data.defH)}function v(t){var e=x.height(),a=Et.height(),i=Ut.height(),n=jt.outerHeight()-i;i+n+a>e?Ut.height(e-n-a).addClass("shrink"):t+a>e?Ut.height(e-n-a).addClass("shrink"):Ut.css("height","").removeClass("shrink")}function g(){t.ajax(Nt).done(function(e){return 0!==e.cart_hash.length||void t("#mpcth_cart").removeClass("active")})}function _(t){Bt||(Bt=!0,Mt.addClass("active"),Rt.load(Jt+" #mpcth_content .product",function(){var t=Rt.children();t.appendTo(Ht),Bt=!1,Mt.removeClass("active"),Mt.on("click",_),Ht.imagesLoaded(function(){Wt.masonry("appended",t),Wt.children(".product").addClass("mpcth-product-added"),t.find(".mpcth-post-header .yith-wcwl-add-to-wis
1hlist a, .mpcth-post-thumbnail .yith-wcwl-add-to-wishlist a").html('<i class="fa fa-fw fa-star"></i>'),t.find(".mpcth-post-content .yith-wcwl-add-to-wishlist a, .summary .yith-wcwl-add-to-wishlist a").prepend('<i class="fa fa-fw fa-star"></i>')}),++Ot<Qt?Jt=Jt.indexOf("page/")!=-1?Jt.replace(/page\/[0-9]+\//,"page/"+(Ot+1)+"/"):Jt.replace(/paged=[0-9]+/,"paged="+(Ot+1)):Mt.remove(),x.trigger("loaded_more")})),t.preventDefault()}function w(t){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)}function F(t){return/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)}function b(t){var e=!0,a=t.val();return t.is("#mpcth_comment_form_author")?a==re||""==a.replace(" ","")?e=!1:a.length<2?(e=!1,t.addClass("mpcth-input-invalid")):t.removeClass("mpcth-input-invalid"):t.is("#mpcth_comment_form_mail")?a==le||""==a?e=!1:!w(a)||a.length<6?(e=!1,t.addClass("mpcth-input-invalid")):t.removeClass("mpcth-input-invalid"):t.is("#mpcth_comment_form_url")?""==a||a==pe||F(a)?t.removeClass("mpcth-input-invalid"):(e=!1,t.addClass("mpcth-input-invalid")):t.is("#mpcth_comment_form_message")&&(a==me||""==a.replace(" ","")?e=!1:a.length<5?(e=!1,t.addClass("mpcth-input-invalid")):t.removeClass("mpcth-input-invalid")),e}var C,x=t(window),y=t("body"),D=t("#wpadminbar").length,k="ontouchstart"in window,S="function"==typeof history.pushState,z=y.hasClass("rtl");x.on("resize",function(t){clearTimeout(C),C=setTimeout(function(){x.trigger("smart_resize")},250)}),x.on("load",function(){x.trigger("resize")});var I=t("#mpcth_search"),A=t("#mpcth_smart_search_wrap"),E=t("#mpcth_mini_search");I.on("click",function(t){I.toggleClass("active"),I.is(".active")?(A.slideDown(),E.addClass("active"),I.on("mousedown",e),A.on("mousedown",e),E.on("mousedown",e),x.one("mousedown",a)):(A.stop(!0).slideUp(),E.removeClass("active"),I.off("mousedown",e),A.off("mousedown",e),E.off("mousedown",e),x.off("mousedown",a)),t.preventDefault()});var T=(t("#mpcth_smart_search_wrap .mpc-w-smart-search-filter-category"),t("#mpcth_smart_search_wrap #searchform"),t("#mpcth_smart_search_wrap .mpc-w-smart-search-filter-price")),j=t("#mpcth_smart_search"),U=t("#mpcth_smart_search_wrap #s"),q=t("#mpcth_smart_search_wrap #searchsubmit"),$=t("#mpcth_currency_symbol").val(),L=t("#mpcth_currency_symbol").attr("data-position");q.on("click",function(){if(""==U.val()){var e=T.filter("[name=min_price]"),a=T.filter("[name=max_price]");""==e.val()&&e.val(0),""==a.val()&&(a.next(".mpc-w-smart-search-filter-price-max").length?a.val(a.next(".mpc-w-smart-search-filter-price-max").val()):a.val(9999999)),j.find("select, input").each(function(){var e=t(this);""==e.val()&&e.attr("name","")}),T.each(function(){var e=t(this);e.val(e.val().replace($,""))}),U.attr("name","")}else j.find("select, input:not(#s)").attr("name","")}),T.on("focus",function(){var e=t(this);e.val(e.val().replace($,""))}),T.on("blur",function(){var e=t(this);e.val().length>0&&("right"==L||"right_space"==L?e.val(e.val()+$):e.val($+e.val()))});var N=t("#mpcth_page_header_container");i();var W=t("#mpcth_back_to_top"),M=t("#mpcth_page_header_wrap_spacer");W.length>0&&(W.on("click",function(e){t("html, body").animate({scrollTop:0}),W.removeClass("active"),e.preventDefault()}),M.waypoint({handler:function(t){"up"==t?W.removeClass("active"):W.addClass("active")},offset:"-25%"}));var P=t("#mpcth_mega_menu");
1x.on("load",function(){P.find(".menu-item").off("mouseover"),P.find(".mega-hdr-a").each(function(){var e=t(this),a=e.html();e.html('<span class="mpcth-color-main-border">'+a+"</span>")})});var H,R=t("#mpcth_nav");if(R.find(".mpcth-menu > ul > .page_item > .children, .mpcth-menu > .menu-item > .sub-menu").each(function(){var e=t(this);e.css(z?"right":"left",e.width()*-.5)}),P.length&&(H=setInterval(n,50)),x.on("load",function(){n()}),x.on("smart_resize",function(){n()}),k){var O=t("#mpcth_secondary_mini_menu .menu-item-has-children, #mpcth_nav .menu-item-has-children");t("body").on("click",function(){O.removeClass("mpc-active")}),O.children("a").on("click",function(e){t(this).parent().is(".mpc-active")||(O.removeClass("mpc-active"),t(this).parents(".menu-item-has-children").addClass("mpc-active"),e.preventDefault()),e.stopImmediatePropagation()})}t("#mpcth_page_header_content").is(".mpcth-header-order-m_s_l")&&(R.width(R.children().width()),x.on("smart_resize",function(){R.width(R.children().width())}));var Q=t("#mpcth_toggle_header_area"),J=t("#mpcth_header_area_wrap");$header_area=t("#mpcth_header_area"),Q.on("click",function(t){Q.toggleClass("active"),J.toggleClass("active"),Q.is(".active")?$header_area.slideDown():$header_area.stop(!0,!0).slideUp(),t.preventDefault()}),x.on("smart_resize",function(){x.width()<801&&(Q.removeClass("active"),J.removeClass("active"),$header_area.css("display",""))});var B=t("#mpcth_toggle_mobile_footer"),G=t("#mpcth_footer_content");B.on("click",function(t){B.toggleClass("active"),B.is(".active")?G.slideDown():G.stop(!0,!0).slideUp(),t.preventDefault()}),x.on("smart_resize",function(){x.width()>480&&(B.removeClass("active"),G.css("display",""))});var K=t("#mpcth_toggle_mobile_extended_footer"),V=t("#mpcth_footer_extended_content");K.on("click",function(t){K.toggleClass("active"),K.is(".active")?V.slideDown():V.stop(!0,!0).slideUp(),t.preventDefault()}),x.on("smart_resize",function(){x.width()>480&&(K.removeClass("active"),V.css("display",""))});var X=t("#mpcth_toggle_mobile_sidebar"),Y=t("#mpcth_sidebar");X.on("click",function(t){X.toggleClass("active"),Y.toggleClass("active"),t.preventDefault()}),x.on("smart_resize",function(){x.width()>979&&(X.removeClass("active"),Y.removeClass("active"))});var Z=t("#mpcth_toggle_mobile_menu"),tt=t("#mpcth_mobile_nav_wrap");Z.on("click",function(t){Z.toggleClass("active"),tt.toggleClass("active"),t.preventDefault()}),x.on("smart_resize",function(){x.width()>979&&(Z.removeClass("active"),tt.removeClass("active"))});var et=t("#mpcth_simple_menu"),at=t("#mpcth_simple_mobile_nav_wrap");et.on("click",function(t){et.toggleClass("active"),et.is(".active")?at.slideDown():at.stop(!0).animate({scrollTop:0},200,function(){at.slideUp()}),t.preventDefault()});var it=t("#mpcth_page_header_secondary_content"),nt=t("#mpcth_header_second_section .mpcth-header-wrap"),ot=!1;x.on("smart_resize",o),o(),c(t("#mpcth_content"));var ct=t(".page-template-template-portfolio-php #mpcth_content"),st={targetSelector:".mpcth-post",filterSelector:".mpcth-portfolio-filter",sortSelector:".mpcth-portfolio-sort",effects:["fade"],easing:"snap",perspectiveDistance:"0"};ct.mixitup(st);var rt=t("#mpcth_portfolio_filters, #mpcth_portfolio_sorts");rt.on("click","li",function(){rt.children().removeClass("active"),t(this).addClass("active")});var lt=rt.children("select");lt.on("change",function(){var e=t(this);e.siblings("ul").find("li").filter("[data-filter="+e.val()+"], [data-sort="+e.val()+"]").click()}),t(".wpb_toggle_content").each(function(){t(this).is(".wpb_toggle_open")||t(this).slideUp(),t(this).after('<div class="last_toggle_el_margin"></div>')}),t(".wpb_toggle").on("click",function(){t(this).toggleClass("wpb_toggle_title_active"),t(this).next(".wpb_toggle_content").slideToggle()}),t(".mpc-vc-counter").each(function(){t(this).on("mpc_waypoint",s)}),t(".mpc-vc-countdown").each(function(){var e=t(this).attr("data-end"),a=t(this).attr("data-format"),i=t(this).attr("data-style");if(""!==e&&void 0!==e){var n=new Date(1e3*e);t(this).countdown({until:n,format:""!==a&&void 0!==a?a:"WDHMS",layout:""!==i&&void 0!==i?i:""})}}),t(".mpcth-vc-row-wrap-parallax").waypoint(function(){t(this).children(".mpcth-overlay-image").delay(1e3).animate({opacity:1},500)},{offset:"85%"}),t(".mpcth-waypoint").waypoint(function(){t(this).addClass("mpcth-waypoint-triggered").trigger("mpc_waypoint")},{offset:"85%"});var pt=t('#mpcth_page_wrap a[href^="#"]'),mt=t("#mpcth_content .mpcth-page-content .mpcth-vc-row-wrap");pt=pt.filter(function(){return""!==this.hash}
1),pt.on("click",function(e){var a=this.hash,i=mt.filter(a);if(i.length){var n=t(a).offset().top-44,o=x.scrollTop();if(t("html, body").animate({scrollTop:n},Math.min(2e3,.75*Math.abs(n-o))),S)history.pushState(null,null,window.location.href.split("#").shift()+a);else{var c=t(a);c.attr("id",""),window.location.hash=a,c.attr("id",a.substring(1))}e.preventDefault()}});var dt=t("#mpcth_main");r();var ht=t("#mpcth_content.mpcth-blog-layout-masonry");ht.length&&(ht.imagesLoaded(function(){ht.masonry({itemSelector:".mpcth-post"}),ht.children(".mpcth-post").addClass("mpcth-post-fading").addClass("mpcth-post-added"),setTimeout(function(){ht.children(".mpcth-post").removeClass("mpcth-post-fading")},300),x.on("flexslider-loaded",function(){ht.masonry()})}),l());var ut=t("#mpcth_load_more"),ft=(ut.children(".mpcth-load-more-icon"),t("#mpcth_pagination .page-numbers")),vt=t("#mpcth_content"),gt=t("#mpcth_load_more_wrapper"),_t=y.is(".page-template-template-blog-php"),wt=y.is(".page-template-template-portfolio-php");if(ut.length){var Ft=ft.find(".page-numbers.current").text(),bt=gt.attr("data-max-pages"),Ct=ft.find(".page-numbers.next").attr("href"),xt=!1;ut.on("click",p)}setTimeout(function(){m(t("#mpcth_content"))},200),x.on("load",function(){t(".flex-direction-nav .flex-prev").addClass("fa fa-fw fa-angle-left"),t(".flex-direction-nav .flex-next").addClass("fa fa-fw fa-angle-right")}),t("#main_slider").flexslider({animation:"slide",useCSS:!1,controlNav:!1,animationLoop:!1,slideshow:!1,sync:"#main_thumbs",start:function(){t("#main_slider").addClass("slider-loaded")}}),t("#main_thumbs").flexslider({animation:"slide",useCSS:!1,controlNav:!1,animationLoop:!1,slideshow:!1,minItems:3,maxItems:4,itemWidth:80,itemMargin:20,asNavFor:"#main_slider"}),t("#main_slider").length&&t("#main_thumbs").length&&t(".variations select").on("change",function(){t("#main_slider").data("flexslider").flexAnimate(0),t("#main_thumbs").data("flexslider").flexAnimate(0)}),t(".mpcth-items-slider.mpc-vc-blog-posts-slider").flexslider({animation:"slide",useCSS:!1,controlNav:!1,animationLoop:!0,slideshow:!1,minItems:1,maxItems:2,itemWidth:560,itemMargin:40}),t(".mpc-vc-gallery .mpcth-main-slider").each(function(){var e=t(this);e.flexslider({animation:"slide",useCSS:!1,controlNav:!1,animationLoop:!1,slideshow:!1,sync:e.parent().find(".mpcth-thumbs-slider")})}),t(".mpc-vc-gallery .mpcth-thumbs-slider").each(function(){var e=t(this);e.flexslider({animation:"slide",useCSS:!1,controlNav:!1,animationLoop:!1,slideshow:!1,minItems:3,maxItems:4,itemWidth:80,itemMargin:20,asNavFor:e.parent().find(".mpcth-main-slider")})});var yt=t(".mpcth-items-slider-wrap"),Dt={circular:!0,infinite:!0,responsive:!0,width:"100%",height:"variable",items:{visible:{min:1,max:4},width:320,height:"variable"},next:{button:""},prev:{button:""},scroll:{items:1},auto:{play:!1,timeoutDuration:0,items:null}};yt.each(function(){var e=t(this),a=e.find(".mpcth-items-slider"),i=e.find(".mpcth-items-slider-prev"),n=e.find(".mpcth-items-slider-next");if(Dt.circular=!0,Dt.infinite=!0,Dt.items.visible.max=4,Dt.items.width=320,Dt.auto.play=!1,Dt.auto.timeoutDuration=0,Dt.auto.items=null,Dt.scroll.items=null,a.is(".mpc-vc-images-slider")&&(""!=a.attr("data-speed")&&(Dt.auto.play=!0,Dt.auto.timeoutDuration=parseInt(a.attr("data-speed"))),"1"==a.attr("data-single")&&(Dt.auto.items=1,Dt.scroll.items=1),"1"!=a.attr("data-loop")&&(Dt.circular=!1,Dt.infinite=!1)),Dt.prev.button=i,Dt.next.button=n,a.is(".mpcth-items-slider-wide")&&(Dt.items.visible.max=2,Dt.items.width=800),!a.is(".mpc-vc-blog-posts-slider")||a.parents(".wpb_column").first().is(".vc_span12, .vc_col-xs-12, .vc_col-sm-12, .vc_col-md-12, .vc_col-lg-12")&&y.is(".mpcth-sidebar-none")||(Dt.items.visible.max=1),""!=a.attr("data-max-width")&&a.attr("data-max-width")<320){var o=a.attr("data-max-width");Dt.items.width=o,Dt.items.visible.max=Math.ceil(a.width()/o)}if(a.is(".mpc-vc-products-slider")){var c=parseInt(a.attr("data-columns"))?parseInt(a.attr("data-columns")):4;Dt.items.width=1260/c,Dt.items.visible.max=Math.ceil(c),"1"==a.attr("data-single")&&void 0!=a.attr("data-single")&&(Dt.auto.items=1,Dt.scroll.items=1),""!=a.attr("data-speed")&&void 0!=a.attr("data-speed")&&(Dt.auto.play=!0,Dt.auto.timeoutDuration=parseInt(a.attr("data-speed")))}a.carouFredSel(Dt),x.on("load",function(){a.trigger("updateSizes"),e[0].style.visibility="visible"}),x.on("smart_resize",function(){a.trigger("updateSizes")})}),yt.swipe({excludedElements:"button, input, select, textarea, .noSwipe",swipeLeft:function(){t(this).children(".mpcth-items-slider-next").trigger("click")},swipeRight:function(){t(this).children(".mpcth-items-slider-prev").trigger("click")},tap:function(e,a){if(k){var i=t(a).closest("a");i.trigger("click"),(i.is(".mpcth-slide")||i.is(".mpcth-post-thumbnail")||i.parent().is(".mpcth-post-title")||i.parent().is(".mpcth-post-categories")||i.is(".add_to_cart_button")&&i.attr("href").indexOf("add-to-cart=")==-1)&&window.open(i.attr("href"),"_self")}}}),x.on("load",function(){t(".nivoSlider .nivo-prevNav").addClass("fa fa-fw fa-angle-left"),t(".nivoSlider .nivo-nextNav").addClass("fa fa-fw fa-angle-right")}),x.on("load",function(){setTimeout(function(){d()},500),t(".mpcth-badge-circle .mpcth-badge-content-wrap").on("mouseleave",function(){var e=t(this).parents(".mpcth-rev-badge").find(".mpcth-badge-content-wrap");e.removeClass("active")}),t(".mpcth-badge-circle .mpcth-badge-toggle-wrap").on("mouseenter",function(){var e=t(this).parents(".mpcth-rev-badge").find(".mpcth-badge-content-wrap");e.addClass("active")}),t(".mpcth-rev-badge.mpcth-badge-dropdown").find(".mpcth-badge-toggle").on("click",function(){var e=t(this),a=e.parents(".mpcth-rev-badge"),i=a.find(".mpcth-badge-content");i.hasClass("active")?i.removeClass("active"):i.addClass("active")})});var kt=t("#mpcth_newsletter");kt.find("br").remove(),kt.find("input[name=subscribe]").wrap('<span class="mpcth-newsletter-subscribe">'),kt.on("click",".mpcth-newsletter-toggle",function(t){kt.toggleClass("mpcth-toggled"),t.preventDefault()});var St=t(".woocommerce-tabs .tabs"),zt=t(".woocommerce-accordions > h6");if(zt.on("click","a",function(e){zt.removeClass("active"),t(this).parent().addClass("active"),St.find('[href="'+t(this).attr("href")+'"]').trigger("click"),e.preventDefault()}),y.is(".woocommerce-cart")||y.is(".single-product"))var It=t(".cart .quantity"),At=setInterval(function(){It.is(".buttons_added")&&(clearInterval(At),It.children(".plus").wrap('<span class="plus-wrap mpcth-color-main-background-hover">'),It.children(".minus").wrap('<span class="minus-wrap mpcth-color-main-background-hover">'))},50);(y.is(".woocommerce-cart")||y.is(".woocommerce"))&&(t(".shop_table_wrap table.cart").on("click",".plus, .minus",function(){var e=t(this),a=e.parents(".quantity").find(".qty"),i=parseInt(a.val())+(e.is(".plus")?1:-1);t(".shop_table_wrap .mpcth-mobile-cart").find('input[name="'+a.attr("name")+'"]').val(i>=0?i:0)}),t(".shop_table_wrap table.cart").on("change",".qty",function(){var e=t(this);t(".shop_table_wrap .mpcth-mobile-cart").find('input[name="'+e.attr("name")+'"]').val(e.val())})),t(".woocommerce-cart .shop_table_wrap").css("min-height",t(".woocommerce-cart .cart-sidebar").outerHeight()+1),x.on("smart_resize",function(){t(".woocommerce-cart .shop_table_wrap").css("min-height",t(".woocommerce-cart .cart-sidebar").outerHeight()+1)});var Et=t("#mpcth_page_header_wrap"),Tt=t("#mpcth_cart"),jt=t("#mpcth_mini_cart"),Ut=jt.find(".mpcth-mini-cart-products");y.on("added_to_cart wc_fragments_refreshed",function(){Ut=jt.find(".mpcth-mini-cart-products")}),Tt.on("click",function(t){if(Tt.toggleClass("open"),Tt.is(".open")){jt.addClass("active");var e=jt.outerHeight();x.on("resize",{defH:jt.outerHeight()},f),v(e),Tt.on("mousedown",h),jt.on("mousedown",h),x.one("mousedown",u)}else jt.removeClass("active"),x.off("resize",f),Ut.css("height","").removeClass("shrink"),Tt.off("mousedown",h),jt.off("mousedown",h),x.off("mousedown",u);t.preventDefault()});var qt,$t=t("#mpcth_mini_cart");try{qt="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc")}catch(Lt){qt=!1}if("undefined"!=typeof wc_cart_fragments_params){var Nt={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",success:function(e){e&&e.fragments&&(t.each(e.fragments,function(e,a){t(e).replaceWith(a)}),qt&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(e.fragments)),sessionStorage.setItem("wc_cart_hash",e.cart_hash)),t(document.body).trigger("wc_fragments_refreshed"))}};$t.on("click",".mpcth-mini-cart-remove",function(e){var a=t(this);$t.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),t.ajax(a.attr("href"),{complete:function(){g(),$t.unblock()}}),a.parents(".mpcth-mini-cart-product").slideUp(),e.preventDefault()})}t(".single-product .woocommerce-tabs .tabs a").on("click",function(){x.trigger("resize")}),y.on("added_to_cart",function(){t(".mpcth-cart-wrap .added_to_cart").wrapInner("<span>").prepend('<i class="fa fa-fw fa-check"></i>'),t("#mpcth_cart").addClass("active")}
1),t(".mpcth-post-header .yith-wcwl-add-to-wishlist, .mpcth-post-thumbnail .yith-wcwl-add-to-wishlist").find("a").wrapInner('<div class="mpcth-tooltip-message mpcth-color-main-background mpcth-color-main-border">').prepend('<div class="mpcth-tooltip-text"><i class="fa fa-fw fa-star"></i></div>').wrapInner('<div class="mpcth-tooltip-wrap">'),y.on("aln_reloaded",function(){setTimeout(function(){t(".mpcth-post-header .yith-wcwl-add-to-wishlist, .mpcth-post-thumbnail .yith-wcwl-add-to-wishlist").find("a").wrapInner('<div class="mpcth-tooltip-message mpcth-color-main-background mpcth-color-main-border">').prepend('<div class="mpcth-tooltip-text"><i class="fa fa-fw fa-star"></i></div>').wrapInner('<div class="mpcth-tooltip-wrap">')},250)}),t(".product .mpcth-post-content .yith-wcwl-add-to-wishlist, .summary .yith-wcwl-add-to-wishlist").find("a").prepend('<i class="fa fa-fw fa-star"></i>'),y.on("jckqv_open",function(){t("#jckqv .yith-wcwl-add-to-wishlist, .summary .yith-wcwl-add-to-wishlist").find("a").prepend('<i class="fa fa-fw fa-star"></i>')});var Wt=t(".mpcth-masonry-shop #mpcth_content > .products");Wt.length&&Wt.imagesLoaded(function(){Wt.masonry({itemSelector:".product"}),Wt.children(".product").addClass("mpcth-product-fading").addClass("mpcth-product-added"),setTimeout(function(){Wt.children(".product").removeClass("mpcth-product-fading")},300)});var Mt=t("#mpcth_shop_load_more"),Pt=(Mt.children(".mpcth-load-more-icon"),t(".woocommerce-pagination .page-numbers")),Ht=t("#mpcth_content .products"),Rt=t("#mpcth_shop_load_more_wrapper");if(Mt.length){var Ot=Pt.find(".page-numbers.current").text(),Qt=Rt.attr("data-max-pages"),Jt=Pt.find(".page-numbers.next").attr("href"),Bt=!1;Mt.on("click",_)}var Gt=t(".single-product .woocommerce-product-gallery"),Kt=Gt.find(".mpcth-sale-wrap.sold"),Vt=Gt.find(".mpcth-sale-wrap.new");Kt.length&&Kt.detach().appendTo(Gt),Vt.length&&Vt.detach().appendTo(Gt),y.on("jckqv_open",function(e){ajaxContentAdded=t.magnificPopup.instance.st.callbacks.ajaxContentAdded,t.magnificPopup.instance.st.callbacks.ajaxContentAdded=function(){ajaxContentAdded(),t("#jckqv_summary .onsale").wrap('<div class="mpcth-sale-wrap">'),x.trigger("quickview_loaded")};var a=t(".mpcth-post-content");t.magnificPopup.instance.st.callbacks.afterClose=function(){a.css("position","static"),setTimeout(function(){a.css("position",""),t(".mpcth-post-content").scrollTop(0)},1)}}),t(".mpc-vc-share-facebook").on("click",function(t){window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(location.href),"facebook-share","width=630,height=430"),t.preventDefault()}),t(".mpc-vc-share-twitter").on("click",function(t){window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(location.href)+"&text="+encodeURIComponent(document.title),"twitter-share","width=630,height=430"),t.preventDefault()}),t(".mpc-vc-share-google-plus").on("click",function(t){window.open("https://plus.google.com/share?url="+encodeURIComponent(location.href),"googleplus-share","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600"),t.preventDefault()}),t(".mpc-vc-share-pinterest").on("click",function(e){var a=t("#mpcth_page_wrap .mpcth-post-thumbnail img"),i=a.length>0?encodeURIComponent(a.first().attr("src")):"";window.open("https://pinterest.com/pin/create/button/?url="+encodeURIComponent(location.href)+"&description="+encodeURIComponent(document.title)+"&media="+i,"pinterest-share","width=630,height=430"),e.preventDefault()});var Xt=t(".wpcf7-form");Xt.find(".contact-form-input").length&&Xt.find("label").each(function(){t(this).appendTo(t(this).siblings("span"))});var Yt=t(".wpb_map_wraper");Yt.each(function(){var e=t(this);e.append('<div class="mpcth-map-overlay"></div>')});var Zt=t(".mpcth-map-overlay");Zt.on("click",function(){var e=t(this);e.addClass("unactive")}),x.on("scroll",function(){Zt.each(function(){var e=t(this);e.removeClass("unactive")})});var te=t(".single-product .variations select");t(".single-product .variations_form");te.each(function(){t(this).width(t(this).outerWidth())}),te.customSelect({customClass:"mpcthSelect"}),x.on("load",function(){te.on("woocommerce_variation_select_change change",function(){te.trigger("update")})}),x.on("quickview_loaded",function(){t("#jckqv .variations select").customSelect({customClass:"mpcthSelect"}),t("#jckqv .variations_form").on("woocommerce_variation_select_change",function(){t("#jckqv .variations select").trigger("update")})}),t(".page-template-template-portfolio-php #mpcth_portfolio_sorts .mpcth-portfolio-sort-select").customSelect({customClass:"mpcthSelect"}),t(".page-template-template-portfolio-php #mpcth_portfolio_sorts").addClass("mpcth-select-ready"),t(".page-template-template-portfolio-php #mpcth_portfolio_filters .mpcth-portfolio-filter-select").customSelect({customClass:"mpcthSelect"}),t(".page-template-template-portfolio-php #mpcth_portfolio_filters").addClass("mpcth-select-ready"),t(".bbpress #mpcth_content .bbp-topic-form .bbp-form select, .bbpress #mpcth_content #bbp-your-profile .bbp-form select").customSelect({customClass:"mpcthSelect"});var ee=t(".bbpress #mpcth_content .bbp-topic-form .bbp-form .mpcthSelect, .bbpress #mpcth_content #bbp-your-profile .bbp-form .mpcthSelect");x.on("smart_resize",function(){ee.trigger("update").prev(".hasCustomSelect").outerWidth(ee.outerWidth())}),t(".wpcf7 .wpcf7-select").customSelect({customClass:"mpcthSelect"});var ae=t(".wpcf7 .mpcthSelect");x.on("smart_resize",function(){ae.each(function(){var e=t(this);e.trigger("update").prev(".hasCustomSelect").outerWidth(e.outerWidth())})}),t(".woocommerce-page .woocommerce-ordering select").customSelect({customClass:"mpcthSelect"}),t(".widget select").select2({width:"100%"}),t("#mpcth_smart_search_wrap select").customSelect({customClass:"mpcthSelect"}),t("#mpcth_smart_search_wrap").addClass("mpcth-search-ready"),t(".mpcth-wpml-vanila-language-switcher").customSelect({customClass:"mpcthSelect"}),t(".mpcth-wpml-vanila-language-switcher").change(function(e){e.preventDefault(),window.location=t(this).find("option:selected").val()}),t(".mpcth-wpml-vanila-currency-switcher").customSelect({customClass:"mpcthSelect"}),t(".mpcth-wpml-vanila-currency-switcher").change(function(e){e.preventDefault(),t(this).parent().append('<span class="mpcth-load-more-icon active"></span>'),wcml_load_currency(t(this).attr("value"))}),t(".mpcth-wpml-drop-currency-switcher .mpcth-wpml-sub-dropdown a").on("click",function(e){e.preventDefault(),t(this).closest(".mpcth-wpml-item-current").append('<span class="mpcth-load-more-icon active"></span>'),t(this).closest(".mpcth-wpml-sub-dropdown").hide(),wcml_load_currency(t(this).attr("rel"))}),t(".mpcth-wpml-item-current > a").on("click",function(t){t.preventDefault()});var ie=t("#mpcth_comment_form"),ne=t("#mpcth_comment_form_author"),oe=t("#mpcth_comment_form_mail"),ce=t("#mpcth_comment_form_url"),se=t("#mpcth_comment_form_message");if("undefined"!=typeof mpc_cf)var re=mpc_cf.field_name,le=mpc_cf.field_email,pe=mpc_cf.field_url,me=mpc_cf.field_comment;else var re=le=pe=me="";ie.on("focus","input, textarea",function(){t(this).removeClass("mpcth-in
1put-invalid")}),ie.on("blur","input, textarea",function(){b(t(this))}),ie.on("submit",function(t){var e=!0;b(ne)||(e=!1),b(oe)||(e=!1),b(ce)||(e=!1),b(se)||(e=!1),e?ce.val()==pe&&ce.val(""):t.preventDefault()}),t(window).on("load",function(){function e(){t(window).height()>=t("body").height()?a.addClass("mpcth-fixed-footer").removeClass("mpcth-not-fixed-footer"):a.removeClass("mpcth-fixed-footer").addClass("mpcth-not-fixed-footer")}var a=t("#mpcth_footer.sticky_footer");if("undefined"==typeof essapi_2||"undefined"==typeof essapi_4)e();else var i=setInterval(function(){(essapi_2.is(":visible")||essapi_4.is(":visible"))&&(clearInterval(i),e())},2e3);t(window).on("resize",function(){e()})})}),jQuery(document).ready(function(t){t(window).on("smart_resize",function(){t(".rev_slider .mpcth-lookbook-price, .rev_slider .mpcth-lookbook-badge").removeAttr("style").find("*").removeAttr("style"); 2})}),jQuery(document).ready(function(t){if(t(".home.page-id-1768").length){var e=t("#mpcth_page_header_wrap"),a=t("#mpcth_page_header_wrap_spacer"),i=t("#mpcth_page_header_container"),n=t("#wpadminbar").length;a.waypoint({handler:function(a){if(t(window).width()<=979){var o=i.height();"up"==a?e.stop(!0,!0).animate({top:-o},200,function(){e.css("top",n?32:0).removeClass("mpcth-sticky-header")}):e.addClass("mpcth-sticky-header").css("top",-o).animate({top:n?32:0},700)}},offset:"-10%"})}}),jQuery(document).ready(function(t){t(".wpb_tabs_nav").on("mouseup",".ui-tabs-anchor",function(){var e=t(t(this).attr("href")),a=e.find(".mpcth-items-slider");a.length&&(setTimeout(function(){a.trigger("updateSizes")},100),setTimeout(function(){a.trigger("updateSizes")},200))})}),function(t){var e=t(".mc4wp-form-submitted"),a=t("#mpcth_newsletter"),i=t(".mc4wp-form-submitted.mc4wp-form-error"),n=t(".mc4wp-response");e.length>0&&a.addClass("mpcth-toggled"),i.length>0&&n.delay(5e3).fadeOut("slow")}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.