PageSourceSearch

https://argentinosjuniors.com.ar/wp-content/themes/thena/js/theme/main.min.js?ver=1.3.1

js argentinosjuniors.com.ar collected 2026-10-02 04:46:53 UTC 101,832 bytes, 1 lines download raw bytes

1!function(I,H){"use strict";var t,E=false,z,g,u,h,B,W,s,D,V,i=1,m=0,v=0,C=false,L=I("html"),$=I("body"),N=$.hasClass("one-page-site"),R=$.hasClass("output-bg-full-img"),q=I(".pt-header"),F=$.find(".ajax-content"),X=I(".main-content"),K='<div class="pt-mouse-scroll-root"><div class="list-scroller"><div class="list-scroller-target"></div></div></div>';var a=H.ptMobileMaxWidth||1024;if(!!H.ActiveXObject||"ActiveXObject"in H){$.addClass("ie");C=true;if(navigator.userAgent.indexOf("MSIE 10.")>-1){$.addClass("ie-10")}}var J=function(){var e=function(){this._caches=[];this._maxSize=30};var t=e.prototype;t.getData=function(e){var t,s,i=this._caches.length;for(t=0;t<i;t++){s=this._caches[t];if(s&&s.ckey===e){return s.data}}return null};t.setData=function(e,t){var s,i,a=this._caches.length;for(s=0;s<a;s++){i=this._caches[s];if(i&&i.ckey===e){i.data=t;return t}}this._caches.push({ckey:e,data:t});if(this._caches.length>this._maxSize){this._caches.shift()}return t};return new e}.call(this);q.find(".logo-svg > img").each(function(){var t=function(e){if(e.naturalWidth&&e.naturalHeight){I(this).attr({width:e.naturalWidth,height:e.naturalHeight});return{w:e.naturalWidth,h:e.naturalHeight}}return null};var s=this;if(s.complete){t(s)}else{s.onload=function(){var e=t(s);if(e){v=e.w;m=e.h}s.onload=null;ne()}}});if(q.find(".logo img").attr("width")&&q.find(".logo img").attr("height")){m=parseInt(q.find(".logo img").attr("height"));v=parseInt(q.find(".logo img").attr("width"))}var G=($.css("direction")||"").toLowerCase()==="rtl";var Q=H.__ptDragTweenTime||600;var U=H.__ptDragEase||"quartOut";var e=H.safari!==undefined;if(e){$.addClass("is-safari")}var Y=/Mobi|Tablet|iPad|iPhone|Android/i.test(navigator.userAgent)&&!C;if(Y){$.addClass("real-mobile")}var Z=false;if("ontouchstart"in document.documentElement){$.addClass("pt-touch-on");Z=true}else{$.addClass("pt-touch-off");Z=false}var ee=true;if(Z&&!Y||$.hasClass("h-drag-enabled")&&!Y){ee=false}H.onpageshow=function(e){if(e&&e.persisted){if($.hasClass("remove-page-loading")){I(".site-loader").addClass("hide")}else{I(".site-loader").addClass("load").fadeOut(200,function(){I(".site-loader").addClass("hide")})}I(H).trigger("resize",[true])}};function te(){I(".s-btn-prev").on("click",function(){I(this).closest(".pt-slider-root").ptSwipeCall("prev");$.addClass("forPrev");I(this).closest(".pt-slider-root").find(".roll-target li.selected").trigger("click");setTimeout(function(){$.removeClass("forPrev forNext")},900)});I(".s-btn-next").on("click",function(){I(this).closest(".pt-slider-root").ptSwipeCall("next");$.addClass("forNext");I(this).closest(".pt-slider-root").find(".roll-target li.selected").trigger("click");setTimeout(function(){$.removeClass("forPrev forNext")},900)});if(!Y){var s;I(".sc-slider").on("mousedown",function(e){I(this).addClass("holding");s=e.originalEvent.x});I(".sc-slider").on("mouseup",function(e){I(this).removeClass("holding");var t=e.originalEvent.x;if(s-t>200){I(this).closest(".pt-slider-root").ptSwipeCall("next")}if(s-t<-200){I(this).closest(".pt-slider-root").ptSwipeCall("prev")}})}}var se=function(){I(".blog-list .item .pt-category:not(.edited),.single-main-intro .pt-category:not(.edited)").each(function(){I(this).addClass("edited");if(I("a",this).length>5){I(this).addClass("overload").wrapInner('<div class="cate-over-content"></div>');I(this).prepend('<i class="btn call-cate"></i>');I(this).prepend(I(".cate-over-content a",this).eq(0).clone()).prepend(I(".cate-over-content i",this).eq(0));I(".cate-over-content",this).append('<i class="btn close-cate"></i>')}});I(".overload i.btn").on("click",function(){if(I(this).hasClass("call-cate")){I(this).closest(".overload").addClass("show")}else{I(this).closest(".overload").removeClass("show")}});I(".close-cate").on("click",function(){I(this).closest(".overload").removeClass("show")})};var ie=function(){var e=I('.pt-h:not(.font-type-tall),.widget-title:not(.font-type-tall),.title:not(.font-type-tall),.sc-slider:not(.font-type-tall),.sc-textlist li[class*="large"]:not(.font-type-tall)');e.each(function(){var e=I(this).css("font-family");if(e.indexOf("Anton,")>-1||e.indexOf("steelfish-Local")>-1||e.substring(0,4)=="ntf-"||e.indexOf("voga-Local")>-1||e.indexOf("built-Local")>-1||$.hasClass("pt-font-tall")){I(this).addClass("font-type-tall")}})};var ae=function(t){var e=I(t).find(".item:not(.show)");if(e.length>0){var s=[];e.each(function(){s.push({target:this,index:parseInt(I(this).data("index"))})});s.sort(function(e,t){return e.index-t.index});var i=I(s[0].target);var a=i.find(".bg-full");var l;if(i.index()==0){i.addClass("first-item")}if(!a.hasClass("editing")&&!I(t).hasClass("jump")){if(a.data("bg")){l=a.data("bg");
1a.addClass("editing").css("backgroundImage","url("+l+")").imagesLoaded({background:R?".img-bg-full":true},function(e){i.addClass("show").find(".pic-loader").remove();a.removeAttr("data-bg").addClass("show").removeClass("editing");ae(t)})}else{i.addClass("show no-bg").find(".pic-loader").remove();a.removeAttr("data-bg").addClass("show").removeClass("editing");ae(t)}}if(i.index()==0){setTimeout(function(){if(!I(t).find(".first-item").hasClass("show")){I(t).addClass("jump");I(t).find(".item:not(.first-item)").each(function(){var t=I(this);var s=t.find(".bg-full");var e;if(s.data("bg")&&!s.hasClass("editing")){e=s.data("bg");s.css("backgroundImage","url("+e+")").imagesLoaded({background:R?".img-bg-full":true},function(e){t.addClass("show").find(".pic-loader").remove();s.removeAttr("data-bg").addClass("show")})}})}},8e3)}}else{if(I(t).data("autoplay")==1&&I(t).find(".item.current.has-video:not(.autoplay):not(.pause),.item.current.autoplay:not(.pause)").length==0){I(t).ptSwipeCall("setAutoplay",true)}if(I(t).hasClass("single-header")){I(t).ptSwipeCall("setAutoplay",true)}}};I.fn.extend({PtBgConvert:function(e){this.each(function(){if(I(this).data("bg")&&!I(this).hasClass("editing")){var e=I(this).data("bg");I(this).addClass("editing").css("backgroundImage","url("+e+")").imagesLoaded({background:R?".img-bg-full":true},function(e){var t=e.elements;var s=I(t).closest(".bg-full").parent();I(t).closest(".bg-full").removeAttr("data-bg").addClass("show").removeClass("editing").siblings(".clone-bg").addClass("show");s.find(".pic-loader").remove()})}});return this}});I.fn.extend({PtHoverBgConvert:function(e){this.each(function(){if(I(this).data("bg")&&!I(this).hasClass("editing")){var e=I(this).data("bg");I(this).addClass("editing").css("backgroundImage","url("+e+")").imagesLoaded({background:R?".img-bg-full":true},function(e){var t=e.elements;var s=I(t).closest(".hover-bg").parent();I(t).closest(".hover-bg").removeAttr("data-bg").addClass("show").removeClass("editing");s.addClass("hover-bg-done")})}});return this}});I.fn.extend({PtImgLoaded:function(e){this.each(function(){if(I(this).attr("src")&&!I(this).hasClass("inited")){I(this).addClass("inited").imagesLoaded(function(e){var t=e.elements;I(t).closest(".img").addClass("img-loaded").find(".pic-loader").remove()})}});return this}});var le=function(){var e=I(".pic-style-02.row-two .pic-main:not(.retina-inited),"+".pic-style-02.row-three .pic-main:not(.retina-inited),"+".sc-gallery.row-three-auto:not(.retina-inited),"+".sc-gallery.row-two-auto:not(.retina-inited),"+".sc-photo-wall:not(.retina-inited):not(.pt-autoplay-on)");if(E){e.each(function(){I(this).find(".bg-full[data-retina-bg]").not(".clone-bg,.clone").each(function(){var e=I(this);var t=e.data("retina-bg");if(t){e.after('<div class="bg-full clone for-retina" data-bg="'+t+'"></div>').removeAttr("data-retina-bg");e.siblings(".bg-full.clone").PtBgConvert();e.parent().addClass("retina-img-wrap")}})});e.addClass("retina-inited")}};var l=function(){if(H.innerWidth<a||Y){$.addClass("m-mode").removeClass("pc-mode")}else{$.addClass("pc-mode").removeClass("m-mode")}};l();I(H).on("resize",l);var n=function(){L.addClass("win-v");B=true;E=true;u=0;s=60;q.removeAttr("style");I(".pt-header.menu-style-03:not(.style-edited-03)").addClass("menu-style-01 style-edited-03").removeClass("menu-style-03");I(".pt-header.menu-style-02:not(.style-edited-02)").addClass("menu-style-01 style-edited-02").removeClass("menu-style-02");$.removeClass("for-menu-style-02")};var o=function(){L.removeClass("win-v");B=false;E=false;s=0;I(".pt-header.menu-style-01.style-edited-03").removeClass("menu-style-01 style-edited-03").addClass("menu-style-03");I(".pt-header.menu-style-01.style-edited-02").removeClass("menu-style-01 style-edited-02").addClass("menu-style-02");if(q.hasClass("menu-style-02")){$.addClass("for-menu-style-02")}var e=0;if(q.hasClass("menu-style-03")){if(g>1024){e=100}else{e=80}q.css("width",e)}else{var t=0;q.find(".menu-wrap .depth-1 > a").each(function(){var e=I(this).outerWidth();if(e>t){t=e}});if(q.hasClass("menu-style-02")){e=0}else{e=t+8;q.css("width",e+2)}}u=H.__menuBarWidth!==undefined?H.__menuBarWidth:e};q.find(".main-menu > ul > li").addClass("depth-1");q.find(".main-menu li.depth-1 > .sub-menu > li").addClass("depth-2");if($.hasClass("admin-bar")){if(H.innerWidth>780){t=32}else{t=46}}else{t=0}z=I(H).height()-t;g=H.innerWidth;if($.hasClass("menu-bg-transparent")&&q.hasClass("text-white")&&q.hasClass("menu-style-02")){$.addClass("menu-bg-transparent-on");i=0}if(z<480){if(g>z){I(".pt-header.menu-style-01:not(.style-edited-01):not(.style-edited-02):not(.style-edited-02)").addClass("menu-style-03 style-edited-01").removeClass("menu-style-01")}else{I(".pt-header.menu-style-03.style-edited-01").removeClass("menu-style-03 style-edited-01").addClass("menu-style-01")}}else{I(".pt-header.menu-style-03.style-edited-01").removeClass("menu-style-03 style-edited-01").addClass("menu-style-01")}
1if(!H.ptKeepHorizontal){if(g<=z||g<475){n()}else{o()}}else{if($.hasClass("m-mode")){n()}else{o()}}if(G){I(".pt-scroll-tips .wrap").css("right",u+60)}else{I(".pt-scroll-tips .wrap").css("left",u+60)}if(q.hasClass("menu-style-02")){if(q.hasClass("menu-height-02")){var r=Math.floor(z*.1);if(r<=60){r=60}h=r;q.height(r);I(".site-root").css("padding-top",r)}else{h=q.height()}}else{h=0}W=z-h*i;D=g-u;H.addEventListener("orientationchange",function(){$.append('<div class="mobile-hack-layer"></div>');I(".mobile-hack-layer").fadeIn(100);setTimeout(function(){I(H).trigger("resize",[true]);I(".mobile-hack-layer").fadeOut(300,function(){I(".mobile-hack-layer").remove()})},500)},false);var d=function(){if($.hasClass("admin-bar")){if(H.innerWidth>780){t=32}else{t=46}}else{t=0}z=I(H).height()-t;g=H.innerWidth;if(z<480){if(g>z){I(".pt-header.menu-style-01:not(.style-edited-01):not(.style-edited-02):not(.style-edited-02)").addClass("menu-style-03 style-edited-01").removeClass("menu-style-01")}else{I(".pt-header.menu-style-03.style-edited-01").removeClass("menu-style-03 style-edited-01").addClass("menu-style-01")}}else{I(".pt-header.menu-style-03.style-edited-01").removeClass("menu-style-03 style-edited-01").addClass("menu-style-01")}if(!H.ptKeepHorizontal){if(g<=z||g<475){n()}else{o()}}else{if($.hasClass("m-mode")){n()}else{o()}}if(q.hasClass("menu-style-02")){if(q.hasClass("menu-height-02")){var e=Math.floor(z*.1);if(e<=60){e=60}h=e;q.height(e);I(".site-root").css("padding-top",e)}else{h=q.height()}}else{h=0}W=z-h*i;D=g-u};I(H).on("resize",d);function ne(){var e=I(".site-root");if(E){I(".m-hidden-open .m-close-hidden,.m-menu-open .m-close-menu").fadeIn(100);I(".site-root").after(I(".pt-header:not(.edited)").addClass("edited"));I(".pt-header.text-black:not(.color-edited)").removeClass("text-black").addClass("color-edited text-white")}else{I(".m-close-hidden,.m-close-menu").fadeOut(100);I(".m-header").before(I(".pt-header.edited").removeClass("edited"));I(".pt-header.color-edited").removeClass("text-white color-edited").addClass("text-black")}var t=q.find(".menu-wrap").height()+10,s=q.find(".main-menu > ul").outerHeight(),i=q.find(".logo");var a=Math.round(i.find("a:not(.mobile-logo)").height()||0);if(s>t){I(".pt-header:not(.overload)").addClass("overload")}else{I(".pt-header.overload").removeClass("overload")}e.css(G?"padding-right":"padding-left",u);I(".menu-style-02 .logo img").removeAttr("style");if(q.hasClass("menu-style-02")){if(m<=a){q.find(".logo img").css({height:m,width:v})}else{q.find(".logo img").css({height:a,width:Math.round(a*v/m)})}}else{q.find(".logo img").removeAttr("style");if(C){var l=I(".pt-header a.logo-svg");if(l.length>0){var n=l.width();var o=l.find("img");var r=parseInt(o.attr("width"));var d=parseInt(o.attr("height"));o.css({width:n,height:d*(n/r)})}}}if(G){I(".site-bg").css("margin-right",u-1)}else{I(".site-bg").css("margin-left",u-1)}I(".blog-list").each(function(){var n;var e=I(this);if(I(H).height()<900){if(e.hasClass("large-image")){n=Math.round(W*.84)}else{n=Math.round(W*.6)}}else{if(e.hasClass("large-image")){n=Math.round(W*.7)}else{n=Math.round(W*.5)}}if(e.hasClass("raw-proportion")){if(e.hasClass("style-01")){e.find(".blog-main .text").css("width",g*.2)}I(".blog-main .item",this).each(function(){var e=I(this),t=e.width(),s=e.data("h"),i=e.data("w");var a=Math.round(n*i/s);var l=Math.round(t*s/i);if(E){I(".img",this).css("height",l)}else{I(".img",this).css({width:a,height:n})}})}var t=parseInt(I(".blog-main .intro").css("line-height"));if(E){I(".blog-main .intro").removeAttr("style")}else{I(".blog-main .intro").css({height:t*2,overflow:"hidden"})}});var c;var h;var f=I(".pic-list");f.find(".pic-main .item:not(.clone-page-header) .img").removeAttr("style");f.each(function(){var e=0;var t=I(this);var s;if((t.hasClass("row-two")||t.hasClass("row-three"))&&t.hasClass("pic-style-02")){if(t.hasClass("gap-small")){if(z>800){e=15}else{e=8}}if(t.hasClass("gap-large")){if(t.hasClass("row-two")){e=Math.round(W*.05)}if(t.hasClass("row-three")){e=Math.round(W*.025)}}if(t.data("user-gap")){e=f.data("user-gap")}if(t.hasClass("row-two")){s=.5}if(t.hasClass("row-three")){if(H.innerHeight>400&&!E){s=.33333}else{s=1}
1}t.find(".pic-main").css("padding",e);var i=Math.round((W-e*2)*s);t.find(".pic-main .item").css({height:i,padding:e})}if(t.hasClass("pic-style-01")){var a;if(t.hasClass("gap-small")){a=Math.round(W*.64)}else if(t.hasClass("gap-large")){a=Math.round(W*.55)}else{a=Math.round(W*.8)}if(E){I(".pic-style-01 .pic-main,.pic-style-01 .text-project .inner-wrap").removeAttr("style")}else{if(G){t.find(".pic-main .item").css({height:a,"margin-left":g*.08});I(".pic-list.pic-style-01 .pic-main").css("padding-right",g*.08)}else{t.find(".pic-main .item").css({height:a,"margin-right":g*.08});I(".pic-list.pic-style-01 .pic-main").css("padding-left",g*.08)}}}var l=f.find(".pic-main .item:not(.clone-page-header):not(.text-project):not(.hidden) .inner-wrap",this).outerHeight();var n=f.find(".pic-main .item:not(.clone-page-header):not(.text-project):not(.hidden) .inner-wrap",this).width();if(t.hasClass("type-s")){c=Math.round(l);h=Math.round(n)}if(t.hasClass("type-h")){c=Math.round(l*1.52);h=Math.round(n*.66)}if(t.hasClass("type-v")){c=Math.round(l*.75);h=Math.round(n*1.35)}if(!t.hasClass("type-auto")){if(E){t.find(".pic-main .item:not(.clone-page-header) .img").css("height",h)}else{t.find(".pic-main .item:not(.clone-page-header) .img").css("width",c)}}else{t.find(".pic-main .item:not(.clone-page-header)").each(function(){var e=I(this),t=e.data("h"),s=e.data("w"),i=Math.round(n*t/s),a=Math.round(l*s/t);if(E){I(".img",this).css({height:i})}else{I(".img",this).css({width:a})}})}});if($.hasClass("shop-style-02")||$.hasClass("shop-style-03")){var p;if($.hasClass("shop-style-02")){p=(W-200)*.35}else{p=(W-200)*.55}if(!E){I("ul.products li.product img.attachment-woocommerce_thumbnail").css("height",p)}else{I("ul.products li.product img.attachment-woocommerce_thumbnail").removeAttr("style")}}}function oe(){if($.hasClass("single")&&I(".single-root.style-01").hasClass("has-type-02")){if(H.innerWidth<1180){I("body:not(.type-edited)").removeClass("single-type-02").addClass("type-edited")}else{I("body.type-edited").addClass("single-type-02").removeClass("type-edited")}}if(I(".single-header:not(.single-item) .item").length==1){I(".single-header").addClass("single-item")}if(I(".single-root.style-01 .raw-proportion").length>0){var i=I(".single-header").width();I(".single-header .item").each(function(){var e=I(this).data("w");var t=I(this).data("h");var s=Math.ceil(i*t/e);I(".img",this).css({height:s})})}if(!$.hasClass("single")&&I(".single-root.style-02 .ptsc,.single-root.style-02 .single-extend .item,.single-root.style-02 .single-header .item").length==0&&I(".single-root.style-02").length>0){I(".single-root.style-02").addClass("only-text style-01").removeClass("style-02")}I(".single-root.style-02:not(.only-text)").not(".inited").each(function(){var e=I(this);var t=e.find(".single-inner");e.addClass("inited");e.wrapInner('<div class="single-roll-wrap"><div class="single-roll-inner"></div></div>');e.find(".single-roll-inner").append(e.find(".single-extend"));if(e.hasClass("main-info-style-02")){e.find(".single-roll-inner").prepend(t.wrapInner('<div class="main-info-style-02-inner"></div>'))}else{e.find(".single-roll-inner").prepend('<div class="single02-text-wrap"><div class="single02-info"><i class="btn call-single02-info"></i></div></div>');e.find(".single02-text-wrap").prepend(e.find(".single-main-intro .title"));e.find(".single02-text-wrap .title").each(function(){I(this).wrapInner("<span></span>");if(I("span",this).text().length<=4){I(this).addClass("title-short")}else{var e=I("span",this).html();I(this).append('<span class="clone-text-root"></span>');I(".clone-text-root",this).append('<em class="left"><span>'+e+"</span></em><span>"+e+"</span>")}})}if(e.find(".single-main-content").length>0){e.find(".single-main-content").append(t.find(".share")).prepend(e.find(".single-main-intro .single-meta"));if(e.hasClass("single-category-on")){if(!e.hasClass("main-info-style-02")){e.find(".single-main-content").prepend(e.find(".single-main-intro .pt-category"))}else{if(e.find(".single-main-content .single-meta").length==0){e.find(".single-main-content").prepend('<div class="single-meta"></div>')}e.find(".single-main-content .single-meta").prepend(e.find(".single-main-intro .pt-category").addClass("item"))}}e.find(".single02-info").append(e.find(".single-main-content"))}else{e.find(".single02-info").remove()}e.find(".single-roll-inner").append(e.find(".single-nav"));if(e.hasClass("show-related-and-tags")){e.find(".single-roll-inner").append(e.find(".single-footer").addClass("for-h-layout"))}else{e.find(".single-footer").remove()}});I(".single02-info .single-main-content").css("max-height",W*.7);if(I(".single-root.style-01 .single-extend .item").length>0){var a=I(".single-extend").width();I(".single-extend .item").each(function(){var e=I(this).data("w");var t=I(this).data("h");var s=Math.ceil(a*t/e);I(".img",this).css({height:s})})}var e=0;var t;if(I(".single-root.style-02").length>0){if(I(".single-root").hasClass("gap-small")){e=Math.ceil(W*.06)}else if(I(".single-root").hasClass("gap-large")){e=Math.ceil(W*.12)}if(I('.single-root[class*="gap-"]').hasClass("main-info-style-02")){var s;if($.hasClass("single")){s=W}else{s=z}I(".single-inner").css({height:s});I(".main-info-style-02-inner").css({"max-height":s})}if($.hasClass("single")){t=I(".main-content").width()}else{t=g}if(E){I(".single-header:not(.raw-proportion)").removeAttr("style")}else{I(".single-header:not(.raw-proportion)").css("width",t)}I(".single-root.style-02 .single-header.raw-proportion .item .img,.single-extend .item .img").removeAttr("style");I(".single-root.style-02 .single-header.raw-proportion .item,.single-extend .item").each(function(){var e=I(this).width();var t=I(this).height();var s=I(this).data("w");var i=I(this).data("h");var a=Math.ceil(t*s/i);var l=Math.ceil(e*i/s);if(E){I(".img",this).css({height:l})}else{I(".img",this).css({width:a,height:"100%"})}});I(".single-extend .item").each(function(){if(I(".text p",this).length>0){I(this).addClass("has-info")}if(I(".text h2",this).length>0){I(this).addClass("has-title")}})}I(".single-root .sc-text-carousel .item").css("height",I(".single-roll-inner").height())}var re=function(){var e=I(".single-root");I(".ajax-content .single-root").find("h1,h2,h3,h4,h5,h6").addClass("pt-h");ie();I(".single-header .img,.single-extend .img,.single-related .img").append('<abbr class="pic-loader"><i></i><i></i><i></i></abbr>');
1if(I(".single-nav div").length==0){I(".single-nav").remove()}if(I(".single-nav .ctrl").length==1){I(".single-nav").addClass("single-ctrl")}if(I(".single-related .item").length==0){I(".single-related").remove()}I(".single-root .ptsc").addClass("for-single");var t;if(e.data("title-color")){t=e.data("title-color");if(t.indexOf("rgba")>-1){var s=t.substring(t.indexOf("(")+1,t.lastIndexOf(","));t="rgb("+s+")"}if(e.hasClass("main-info-style-02")){I(".single-main-intro .title").css("color",t)}else{if(e.find(".single02-text-wrap").children(".title").hasClass("title-short")){e.find(".single02-text-wrap").children(".title").find("span").css("background-color",t)}else{e.find(".single02-text-wrap .clone-text-root span").css({"outline-color":t,"background-color":t})}I(".single-root.style-01 .single-main-intro .title").css("color",t)}}I(".ajax-content .bg-color").each(function(){if(I(this).data("color")){var e=I(this).data("color");I(this).css("background",e)}});I(".single-root.single-type-video .single-header .item").addClass("has-video");if(I(".single-extend .item").length==0){I(".single-extend").remove()}I(".single-extend .item").each(function(){if(I(".bg-full",this).data("video-src")||I(".bg-full",this).data("src")){I(this).addClass("has-video");if(I(".bg-full",this).data("volume")==0){I(this).addClass("video-mute")}}});I(".single-footer .bg-full,.single-extend .bg-full").PtBgConvert();if(I(".single-root:not(.single-type-video) .single-header .item").length>1){I(".single-root.style-01 .single-header .img,.single-root.style-02 .single-header:not(.raw-proportion) .img").append('<div class="s-btn s-btn-prev"></div><div class="s-btn s-btn-next"></div>');var i=1;var a=I(".single-header .item").length;var l;var n=true;I(".single-root.style-01 .single-header .item,.single-root.style-02 .single-header:not(.raw-proportion) .item").each(function(){if(I(this).index()>=9){l=""}else{l="0"}I(".img",this).prepend('<div class="slick-count"><i>'+l+i+"</i><em>"+l+a+"</em></div>");i++});if(I(".single-root.style-02").length>0||!I(".single-header").hasClass("raw-proportion")){n=false}I(".single-root.style-01 .single-header > .wrap").slick({dots:false,infinite:true,speed:600,rtl:G,adaptiveHeight:n,autoplay:true,pauseOnDotsHover:true,slidesToShow:1,swipe:ee,touchMove:ee,draggable:ee});I(".single-root.style-02 .single-header:not(.raw-proportion)").addClass("pt-slider-root").ptSwipe({wrapTarget:".wrap",itemTarget:".item",autoplay:false,speed:800,useDrag:B,tweenOutOffset:.98,ease:"cubicInOut",onInit:function(){},onSwipeBefore:function(){},onSwipeAfter:function(){}});if(!I(".single-root.style-02 .single-header").hasClass("raw-proportion")){te()}if(I(".single-root").hasClass("style-01")){I(".s-btn-prev").on("click",function(){$.addClass("forPrev");I(this).closest(".slick-slider").find(".slick-prev").trigger("click");setTimeout(function(){$.removeClass("forPrev forNext")},500)});I(".s-btn-next").on("click",function(){I(this).closest(".pt-slider-root").ptSwipeCall("next");$.addClass("forNext");I(this).closest(".slick-slider").find(".slick-next").trigger("click");setTimeout(function(){$.removeClass("forPrev forNext")},500)})}}I(".single-header").each(function(){ae(this)});I(".single-root.style-02 .single-extend .item.has-title.has-info .text").on("click",function(){I(this).toggleClass("show");I("p",this).slideToggle(300)});if(I(".single-root.style-02").length>0){I(".single-root:not(.ptsc-inited)").each(function(){var e=I(this);if(e.find(".single-nav").length>0){e.find(".single-nav").before(e.find(".ptsc")).before(e.find(".comment-root"))}else{e.find(".single-header").after(e.find(".comment-root")).after(e.find(".ptsc"))}}).addClass("ptsc-inited");I(".single-root").addClass("inited-for-hs").append(K).ptHScroller({contentTarget:".single-roll-wrap",wrapTarget:".single-roll-inner",viewportTarget:".item",viewportAddClass:".inviewport",wheelTarget:I(".single-root"),useScroller:true,needButton:true,buttonScrollPercent:.35,checkWindowSize:!H.ptKeepHorizontal,enableViewport:true,scrollSpeed:500,scrollEase:"quintOut",ignoreScrollerWidth:false,onScroll:function(e,t){I(".single-root .sc-gallery.row-two-auto,.single-root .sc-gallery.row-three-auto").ptFlexRowCall("setScrollPercent",[e,t]);I(".ptsc.sc-images .item.inviewport .bg-full:not(.show),.ptsc.sc-gallery .item.inviewport .bg-full:not(.show),.ptsc.sc-photo-wall .item.inviewport .bg-full:not(.show)").PtBgConvert()}}).ptHDragger({disabled:!$.hasClass("h-drag-enabled"),checkEdge:!$.hasClass("h-drag-uncheck-edge"),dragTweenTime:Q,clickTolerance:10,dragEase:U,speedRatio:.35,ignoreElement:"textarea,input,form,.close-single,.sc-map"});if(!Y&&!I(".single-header").hasClass("raw-proportion")){I(".single-root.style-02 .pt-hs-roll-btn").css("display","none")}}I(".single-related .img").addClass("hoverElems").ptElasticHover({target:".bg-full",offset:15,scale:1.1});I(".single-extend .item.has-video .img").append('<div class="v-ctrl call-item-video"></div>');var o='<div class="v-play v-ctrl"></div><div class="v-pause v-ctrl"></div><div class="v-mobile-play v-ctrl"></div>';if(I(".single-root").hasClass("single-type-video")){var r=I(".single-type-video .single-header .bg-full");r.closest(".item").addClass("pause").children(".img").append(o);if(!I(".single-root").hasClass("video-popup")){r.addClass("vTarget").ptMediaPlayer({autoplay:false,full:true,controls:false,ignoreMobile:true,removeVimeoControls:true,onStart:function(){r.closest(".has-video").addClass("v-ready")},onPlayStatus:function(e){if(e=="play"){I(".single-type-video .single-header .item").removeClass("pause")}},loop:true})}else{r.addClass("vTarget").closest(".has-video").addClass("v-ready")}}I(".share i.btn").on("click",function(){I(this).closest(".share").toggleClass("show")});I(".call-single02-info").on("click",function(){I(this).closest(".single02-info").toggleClass("show")});if(!Y){I(".main-content").on("scroll",function(){if(!E&&$.hasClass("single-type-02")){var e=I(".main-content").scrollTop()*.8;I(".single-header").css("transform","translateY("+e+"px)")}})}};function de(){if(E){I(".sc-slider.mobile-fullscreen").css("height",z-s)}else{I(".sc-slider.mobile-fullscreen").css("height","auto")}I(".sc-text-carousel:not(.inited-for-boxed)").each(function(){if(I(".page-header-02 .title,.page-header-02 .sub-title").length==0){I(this).addClass("boxed")}}).addClass("inited-for-boxed");I(".sc-slider:not(.for-single),.sc-banner:not(.raw-proportion):not(.for-single) > .wrap,.sc-text-carousel:not(.boxed):not(.for-single)").css({width:D});I(".sc-slider.for-single,.sc-banner.for-single:not(.raw-proportion) > .wrap,.sc-text-carousel.for-single:not(.boxed)").css({width:g});I(".sc-banner").each(function(){var e=I(this);e.children(".wrap").removeAttr("style");var t=e.height();var s=g;var i=e.data("w");var a=e.data("h");var l=Math.ceil(t*i/a);var n=Math.ceil(s*a/i);if(i/a<1.33){e.addClass("boxed")}if(E){if(e.hasClass("raw-proportion")){e.find(".bg-full").css({height:n})}else{e.find(".bg-full").css({height:g*.66})}}else{if(e.hasClass("raw-proportion")){e.children(".wrap").removeAttr("style").css({width:l})}else{if(e.hasClass("for-single")){e.children(".wrap").removeAttr("style").css({width:g})}else{e.children(".wrap").removeAttr("style").css({width:D})}}}});I(".sc-slider").each(function(){var e=I(this).data("w");if(!e){e=1}if(I(this).hasClass("for-single")){I(this).css("width",g*e)}else{I(this).css("width",D*e)}});I(".sc-text-carousel.boxed.for-single").css({width:Math.round(g*.5)});I(".sc-text-carousel.boxed:not(.for-single)").css({width:Math.round(D*.5)});I(".sc-subscribers").each(function(){var e=I(this);var t=D*e.data("w");if(I(this).hasClass("for-single")){t=g*e.data("w")}if(t!==0){e.css({width:t})}});I(".sc-textlist.row-two").each(function(){if(I(".item",this).length<2){I(this).removeClass("row-two")}});I(".sc-textlist:not(.row-two) .item").removeAttr("style").css("max-height",W*.8);I(".sc-textlist:not(.row-two) ul").removeAttr("style");I(".sc-textlist.row-two:not(.row-inited)").each(function(){I(this).children(".wrap").append('<div class="row-wrap row-01"></div><div class="row-wrap row-02"></div>');var e=I(".row-01",this);var t=I(".row-02",this);var s=0;I(".item",this).each(function(){if(s===0){e.append(this);s=1}else{t.append(this);s=0}});I(".row-02 .item",this).addClass("for-row-02")}).addClass("row-inited");var e=function(){I(".sc-textlist.row-two .item").removeAttr("style").removeClass("overload");I(".sc-textlist.row-two .row-wrap").each(function(){var e=I(this);var s=0;var i=e.height()-10;var t=parseInt(I(".item",this).css("padding-top"))*2+20;I(".item",this).each(function(e){var t=I(".inner-wrap",this).height();if(t>s){s=t}if(t>i){I(this).addClass("overload")}else{I(this).removeClass("overload")}});if(s>
1=i){e.find(".item").css("height",i)}else{e.find(".item").css("height",s+t)}})};e();I(".sc-videobox").each(function(){var e=I(this);var t=e.data("w");var s=e.find(".img");s.removeAttr("style");if(E){if(q.hasClass("style-edited-02")){s.css("min-height",s.width()/t*.56-60)}else{s.css("min-height",s.width()/t*.56)}}else{s.css("width",D*t)}});I(".sc-mixbox .item").each(function(){var e=I(this);var t=I(this).closest(".sc-mixbox");var s=e.data("w");var i=parseInt(e.find(".intro").css("line-height"));var a;var l=0;var n=0;var o;var r=D;if(t.hasClass("for-single")){r=g}if(e.find(".text > .btn").length>0){n=60}if(!e.hasClass("fade-set")&&!Z){e.addClass("fade-set").css("transition","opacity 0.4s 0."+Math.floor(Math.random()*5)+"s")}if(s!==0){if((t.hasClass("gap-small")||t.hasClass("gap-large"))&&s==1){l=parseInt(t.css(G?"padding-left":"padding-right"))*2}e.css({width:r*s-l})}var d=W-parseInt(t.css("padding-top"))*4-n;if(e.closest(".sc-mixbox").hasClass("content-center")){if(e.find(".img img").length>0){e.find(".img img").css({"max-height":d*.3,width:"auto"});a=d*.25}else if(e.find(".icon i").length>0){a=d*.25}else{a=d*.5}}else{a=d*.7}o=i*Math.round(a/i);I(".intro",this).css({"max-height":o});if(I(this).parent().parent().hasClass("pricing-table")){I(".text",this).css("max-height",d*.7)}});I(".sc-banner .intro").each(function(){var e=I(this);var t=e.closest(".ptsc");var s=e.closest(".text");var i=parseInt(e.css("line-height"));var a=i*4+10;var l=e.get(0).scrollHeight;if(l>a){t.addClass("overload");e.css({height:a})}else{e.removeAttr("style");t.removeClass("overload")}});I("body:not(.single) .sc-text-carousel .item").css("height",W);I(".sc-text-carousel .item").each(function(){var e=I(".inner-wrap",this);var t=I(this);if(E){t.removeClass("overload")}else{if(e.get(0).scrollHeight>W*.7){t.addClass("overload")}else{t.removeClass("overload")}}});I(".sc-section-title").each(function(){var e=I(this);var t=e.children(".wrap").height();var s=I(".img",this).data("w");var i=I(".img",this).data("h");var a=Math.ceil(t*s/i);var l=I(".sub-title .inner",this);if(e.find("h1 span").text().length>30&&e.find("span br").length==0){e.addClass("text-lots")}if(I(".img",this).data("w")>I(".img",this).data("h")&&e.hasClass("title-raw-proportion")){e.addClass("img-type-h")}if(I(".sub-title",this).length>0){var n=l.get(0).scrollHeight;var o=0;if(e.find("h1").length>0){o=e.find("h1").height()}var r=parseInt((z-o-h)*.6);l.css({"max-height":r});if(n>r){l.addClass("overload")}else{l.removeClass("overload")}}if(I(".img",this).length>0){if(e.hasClass("title-raw-proportion")){if(E){var d=I(".img",this).width();var c=Math.ceil(d*i/s);I(".img",this).removeAttr("style").css({height:c})}else{I(".img",this).removeAttr("style").css({width:a})}}else{if(e.hasClass("image-large")&&!e.hasClass("overlap")&&!e.hasClass("no-img")){I(".img",this).removeAttr("style")}else{I(".img",this).removeAttr("style").css("width",t*.55)}}}});I(".sc-images .img").removeAttr("style");I(".sc-images .item").each(function(){var e=I(".img",this).height();var t=I(".img",this).width();var s=I(this).attr("data-w");var i=I(this).attr("data-h");var a=Math.ceil(e*s/i);var l=Math.ceil(t*i/s);if(E){I(".img",this).removeAttr("style").css({height:l})}else{I(".img",this).removeAttr("style").css({width:a})}});I(".sc-photo-wall .img").removeAttr("style");I(".sc-photo-wall .sub-item").each(function(){var e=I(this).height();var t=I(".img",this).attr("data-w");var s=I(".img",this).attr("data-h");var i=I(".img",this).width();var a=Math.ceil(e*t/s);var l=Math.ceil(i*s/t);if(E){I(".img",this).css({height:l})}else{I(".img",this).css({width:a,height:e})}});I(".sc-gallery,.sc-gallery .img,.sc-gallery > .wrap,.sc-gallery .item").removeAttr("style");I(".sc-gallery").each(function(){var e=I(this),t=I(".img",this).height(),s=I(".img",this).width(),i=I(".item",this).length,a,l,n;var o=1;if(e.hasClass("row-two")){o=2}else if(e.hasClass("row-three")){o=3}else if(e.hasClass("row-four")){if(I(H).height()>800){o=4}else{o=3}}if(i%2!==0){e.find(".item").last().addClass("last-child")}e.children(".wrap").removeAttr("style");e.removeAttr("style");I(".item",this).removeAttr("style");if(!E){if(e.hasClass("row-one")||e.hasClass("row-two-auto")||e.hasClass("row-three-auto")){if(e.hasClass("row-two-auto")&&e.hasClass("gap-large")){I(".item",this).css({padding:Math.round(W*.05)});e.css({padding:Math.round(W*.05)})}if(e.hasClass("row-three-auto")&&e.hasClass("gap-large")){I(".item",this).css({padding:Math.round(W*.025)});e.css({padding:Math.round(W*.025)})}var r=I(".img",this).height();if(e.hasClass("row-two-auto")){r=e.children(".wrap").height()*.5-parseInt(I(".item",this).css("padding-top"))*2;I(".item",this).css({height:e.children(".wrap").height()*.5})}if(e.hasClass("row-three-auto")){if(H.innerHeight>400){n=.3333}else{n=1}
1r=e.children(".wrap").height()*n-parseInt(I(".item",this).css("padding-top"))*2;I(".item",this).css({height:e.children(".wrap").height()*n})}I(".item",this).each(function(){var e=r;var t=I(this).attr("data-w");var s=I(this).attr("data-h");var i=Math.ceil(e*t/s);I(".img",this).removeAttr("style").css({width:i})})}else{if(e.hasClass("type-h")){if(e.hasClass("gallery-wide")){a=Math.ceil(t*1.8)}else{a=Math.ceil(t*1.5)}}else if(e.hasClass("type-v")){a=Math.ceil(t*.6666)}else if(e.hasClass("type-s")){a=Math.ceil(t)}I(".img",this).removeAttr("style").css("width",a);var d=I(".item",this).outerWidth();e.children(".wrap").css("min-width",d*Math.ceil(i/o))}}else{if(e.hasClass("row-one")||e.hasClass("row-two-auto")||e.hasClass("row-three-auto")){I(".item",this).each(function(){var e=I(".img",this).width();var t=I(this).attr("data-w");var s=I(this).attr("data-h");var i=Math.ceil(e*s/t);I(".img",this).removeAttr("style").css({height:i})})}else{if(e.hasClass("type-h")){l=Math.ceil(s*.6666)}else if(e.hasClass("type-v")){l=Math.ceil(s*1.5)}else if(e.hasClass("type-s")){l=Math.ceil(s)}I(".img",this).removeAttr("style").css("height",l)}}});
1I(".sc-map").each(function(){var e=I(this).data("w");if(I(this).hasClass("for-single")){I(this).css("width",g*e)}else{I(this).css("width",D*e)}});I(".sc-progress.style-01 .bar-wrap").height(W*.5);I(".sc-progress.style-02 .number").css({height:W*.3,width:W*.3});I(".sc-custom-html:not(.not-set-size), .sc-rev-slider:not(.not-set-size)").each(function(){var e=I(this);var t=e.data("w");var s=e.data("h");if(t){e.css("width",D*t)}if((Y||H.innerWidth<a)&&s){e.css("height",s*100+"vh")}else{e.css("height","100%")}});setTimeout(function(){I(".sc-mixbox.v-align").each(function(){var t=0;var e=W*.7;I(".inner-wrap",this).removeAttr("style");if(I(".item",this).length>1&&!E){I(".inner-wrap",this).each(function(){var e=I(this).outerHeight();if(e>t){t=e}});if(t<e){I(".item .inner-wrap",this).stop().animate({height:t},300)}else{I(".inner-wrap",this).removeAttr("style")}}})},400)}var ce=function(e){if(!e){e=I("body")}e.find(".v-pause").on("click",function(){var e,t,s;e=I(this).closest(".item");t=e.parent().parent();s=e.find(".bg-full");if(t.hasClass("sc-slider")&&t.data("autoplay")==1){t.ptSwipeCall("setAutoplay",true);t.ptSwipeCall("resume")}I('.sc-slider[data-video-autoplay="0"] .item.has-video:not(.pause) .bg-full').ptMediaPlayerCall("unMute");I('.sc-slider[data-video-autoplay="1"]').each(function(){var e=I(this).find(".item.has-video .bg-full:not(.pt-mediaplayer-muted)");if(e.closest(".item").hasClass("js-pause")){e.ptMediaPlayerCall("play");e.closest(".item").removeClass("pause js-pause")}});e.addClass("pause");s.ptMediaPlayerCall("pause")});e.find(".v-play").on("click",function(){var e,t,s;e=I(this).closest(".item");t=e.parent().parent();s=e.find(".bg-full");if(t.hasClass("sc-slider")&&t.data("autoplay")==1){t.ptSwipeCall("pause")}I('.sc-slider[data-video-autoplay="0"] .item.has-video:not(.pause) .bg-full').ptMediaPlayerCall("mute");I('.sc-slider[data-video-autoplay="1"]').each(function(){var e=I(this).find(".item.has-video .bg-full:not(.pt-mediaplayer-muted)");if(!e.closest(".item").hasClass("pause")){e.ptMediaPlayerCall("pause");e.closest(".item").addClass("pause js-pause")}});e.removeClass("pause js-pause");s.ptMediaPlayerCall("play");if(!s.hasClass("pt-mediaplayer-muted")){s.ptMediaPlayerCall("unMute")}});e.find(".call-item-video,.v-mobile-play,.call-video-popup").on("click",function(){var e;if(I(this).hasClass("v-mobile-play")){e=I(this).siblings(".bg-full")}else if(I(this).hasClass("call-video-popup")){e=I(this).closest(".item")}else{e=I(this).parent().parent().find(".bg-full")}var t=I('<div class="bg-full"></div>');var s=e.data();var i=["volume","type","video-src","videoSrc","src"];i.forEach(function(e){if(s.hasOwnProperty(e)){t.data(e,s[e])}});var a=I('<div class="popup-player"><div class="player-wrap"></div><span class="close"></span></div>');a.children(".player-wrap").append(t);$.append(a);var l=I(".popup-player");l.on("click",function(e){if(e.target===I(this).children(".player-wrap").get(0)){e.stopPropagation();I(".popup-player .close").trigger("click")}});I(".sc-slider .item.has-video:not(.pause) .bg-full:not(.pt-mediaplayer-muted),.single-header .bg-full.vTarget").addClass("without-mute-video");I(".without-mute-video").ptMediaPlayerCall("mute");l.fadeIn(0,function(){I(".popup-player .close").addClass("show");l.animate({opacity:1},400,function(){l.find(".bg-full").addClass("show").ptMediaPlayer({autoplay:false,full:false,controls:true,ignoreMobile:false,loop:false,onStart:function(){l.find(".bg-full").ptMediaPlayerCall("play")}})})});I(".popup-player .close").on("click",function(){I(this).removeClass("show");l.find(".bg-full").removeClass("show");l.animate({opacity:0}
1,400,function(){l.find(".bg-full").ptMediaPlayerCall("dispose",true);l.remove()});I(".without-mute-video").ptMediaPlayerCall("unMute").removeClass("without-mute-video")})})};I(function(){if(navigator.userAgent.indexOf("Edge")>-1){$.addClass("edge")}if(navigator.userAgent.indexOf("Firefox")>-1){$.addClass("ff")}if(!navigator.userAgent.match(/window/i)){$.addClass("no-window")}if($.hasClass("admin-bar")){L.addClass("has-wp-bar")}if($.css("font-weight")=="500"){$.addClass("font-regular-500")}q.after('<div class="m-header"><div class="wrap"><div class="m-logo"></div><i class="btn m-call-menu"></i></div></div>');if(I("body > .hidden-menu").length>0){I(".m-header > .wrap").append('<i class="btn m-call-hidden"></i>')}I(".main-content").prepend('<div class="m-header-gap"></div>');if(q.hasClass("text-white")){I(".m-header").addClass("dark")}else{I(".m-header").addClass("light")}I(".m-logo").append(q.find(".logo").html());if(q.hasClass("logo-padding")){I(".m-logo").addClass("logo-padding")}if(q.find(".logo").hasClass("has-mobile-logo")){I(".m-logo").addClass("has-mobile-logo")}I(".site-root").append('<div class="click-layer m-close-hidden"></div><div class="click-layer m-close-menu"></div>');I(".m-call-hidden").on("click",function(){q.addClass("m-nav-index-0");$.addClass("m-hidden-open");I(".m-close-hidden").fadeIn(300)});I(".m-call-menu").on("click",function(){I(".hidden-menu").addClass("m-nav-index-0");$.addClass("m-menu-open");I(".m-close-menu").fadeIn(300)});I(".m-close-hidden").on("click",function(){$.removeClass("m-hidden-open");I(this).fadeOut(300,function(){q.removeClass("m-nav-index-0")})});I(".m-close-menu").on("click",function(){$.removeClass("m-menu-open");I(this).fadeOut(300,function(){I(".hidden-menu").removeClass("m-nav-index-0")})});var e=function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(H.devicePixelRatio>1){return true}if(H.matchMedia&&H.matchMedia(e).matches){return true}return false};if(e()){L.addClass("retina");var t=I(".logo img,.m-logo img");t.each(function(){var e=I(this).data("retina");if(e){I(this).attr("src",e)}})}I("body").find("h1,h2,h3,h4,h5,h6").addClass("pt-h");ie();I(".page-other a.btn").addClass("btn-animate-01");if(I("body > .hidden-menu").length>0&&(q.hasClass("menu-style-02")||q.hasClass("style-edited-02"))&&I(".copyright p").text().length>1){I(".hidden-menu .pt-widget-list").append(I("header .copyright"));I(".pt-popup").addClass("no-copyright")}if(I(".site-bg .bg-full").data("bg")){I(".site-root").addClass("has-site-bg");var s=I(".site-bg .bg-full").data("bg");I(".site-bg .bg-full").css("backgroundImage","url("+s+")").imagesLoaded({background:R?".img-bg-full":true},function(e){I(".site-bg .bg-full").removeAttr("data-bg").addClass("show")})}if(I(".site-bg").hasClass("type-patterns")){I(".site-root").addClass("has-site-bg");if(I(".site-bg").hasClass("patterns-01")||I(".site-bg").hasClass("patterns-02")){I(".site-bg .bg-full").append("<i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i>")}if(I(".site-bg").hasClass("patterns-05")&&I(".site-bg").data("patterns")){I(".site-bg .bg-full").css("background-image","url("+I(".site-bg").data("patterns")+")")}}if(I(".single-root.style-02").length>0&&I(".single-root .ptsc,.single-extend .img,.single-header .item").length==0){I(".single-root").removeClass("style-02 main-info-style-02 boxed").addClass("style-01")}if(I(".pt-header .pt-social li").length==0){I(".pt-header .pt-social").remove()}if(I(".single-root").hasClass("style-01")){$.addClass("single-style-01");if(I(".single-root").hasClass("has-widget")){I(".site-root").addClass("post-bg-default")}}if(I(".single-root").hasClass("style-02")){$.addClass("single-style-02")}if(I(".pt-header .copyright p").text().trim()==""){I(".pt-header .copyright").remove()}if(I(".page-header .sc-section-title.pt-margin,.page-header .sc-section-title.pt-margin-right").length>0&&I(".page-header .sc-section-title > .wrap div").length>0){I(".page-header + .blog-list .blog-main").addClass("small-gap")}I(".blog-list").each(function(){var s=I(this);I(".blog-main .item",this).each(function(){var e=I(this).data("h"),t=I(this).data("w");if(t/e>1.1){I(this).addClass("type-h")}else if(t/e>.9){I(this).addClass("type-s")}else{I(this).addClass("type-v")}if(I(this).data("bg-color")&&s.hasClass("style-01")){I(".text",this).css("background",I(this).data("bg-color"))}if(I(this).hasClass("text-post")&&s.hasClass("style-02")){I(".img",this).append(I(".
1intro",this));if(I(this).data("bg-color")){I(".img",this).css("background",I(this).data("bg-color"))}}});if(s.find(".pages li").length>0){s.addClass("has-pages")}});if(I(".pages li").length>0){I(".blog-list,.pic-list").addClass("has-pages")}var i=I(".single-root.style-01 .single-main-intro .pt-category a").length;if(i>0&&i<=4){I(".single-main-intro .single-meta").append(I(".single-main-intro .pt-category"));I(".single-main-intro .pt-category").removeClass("pt-category").addClass("item new-category")}se();I(".blog-list.style-02.large-image").removeClass("large-image");I(".pt-filter").each(function(){if(I(this).find(".btn").length==0){I(this).prepend('<i class="btn call-filter"></i>');I(this).find("ul").prepend('<i class="btn close-filter"></i>')}});if(I(".page-header + .pic-list.pic-style-02.header-position-02").length>0&&I(".page-header .ptsc > .wrap div").length>0){var a=I(".page-header .ptsc > .wrap").html();I(".pic-main").prepend('<div class="item clone-page-header"><div class="inner-wrap">'+a+"</div></div>");if(I(".page-header .ptsc").hasClass("text-white")){I(".clone-page-header").addClass("text-white")}if(I(".page-header .sc-section-title").data("color")){I(".clone-page-header .inner-wrap").append('<div class="bg-color" data-color="'+I(".page-header .sc-section-title").data("color")+'"></div>')}if(I(".page-header .sc-section-title img").length>0){I(".clone-page-header").addClass("no-bg-has-img")}if(I(".page-header .sc-section-title .bg-full").length>0){I(".clone-page-header").addClass("has-bg")}I(".page-header").remove()}I(".list-category").not(".inited").each(function(){if(I(this).find("a").length>1){I(this).addClass("lot")}});I(".call-filter").on("click",function(){I(this).closest(".pt-filter").addClass("show")});I(".close-filter").on("click",function(){I(this).closest(".pt-filter").removeClass("show")});I(".pic-list").each(function(){var i=I(this);var e=i.find(".pic-main .item");if(i.find(".pages li").length>0){i.addClass("has-pages")}if(i.hasClass("pic-style-01")){e.find(".inner-wrap").addClass("hoverElems").ptElasticHover({target:".img",offset:10,scale:1})}if(i.hasClass("pic-style-02")){e.find(".inner-wrap").addClass("hoverElems").ptElasticHover({target:".img-main,.img-addition",offset:6,direct:"x",scale:1.03})}e.find("h2").each(function(){var e=I("span",this).html();if(I("span",this).text().length<=4){I(this).closest(".text").addClass("title-short")}I(this).append('<span class="clone-text-root"></span>');I(".clone-text-root",this).append('<em class="left"><span>'+e+"</span></em><span>"+e+"</span>")});if(i.hasClass("type-auto")){e.not(".clone-page-header").each(function(){var e=I(this),t=e.data("h"),s=e.data("w");if(t<s){e.addClass("shape-h")}})}if(i.hasClass("caption-style-02")){i.each(function(){var e=I(this).data("list-title-color");if(e){I(".pic-main",this).find("h2",this).children("span:not(.clone-text-root)").css("color",e);I(".pic-main",this).find(".clone-text-root span",this).css("border-color",e)}})}e.each(function(){var e=I(this);if(e.data("bg-color")){var t=e.data("bg-color");if(t.indexOf("rgba")>-1){var s=t.substring(t.indexOf("(")+1,t.lastIndexOf(","));t="rgb("+s+")"}if(e.hasClass("text-project")){I(".inner-wrap",this).css("background",t)}else if(I(".text",this).hasClass("title-short")){if(i.hasClass("caption-style-02")){I("h2",this).children("span:not(.clone-text-root)").css("color",t)}else{I("h2",this).css("background",t)}}else if(I(this).closest(".pic-list").hasClass("caption-style-02")){I("h2",this).children("span:not(.clone-text-root)").css("color",t);I(".clone-text-root span",this).css("border-color",t)}else{I(".clone-text-root span",this).css({"outline-color":t,"background-color":t})}}if(e.find(".video-addition .bg-full").length>0){e.addClass("has-item-video");I(".img",this).append(I(".img a.full",this))}});if(i.hasClass("video-popup")){e.each(function(){var e=I(this);if(e.data("video-src")||e.data("src")){e.find("a.full").addClass("call-video-popup")}})}});I(".single-root.style-01:not(.has-widget) .single-header.raw-proportion .item").each(function(){var e=I(this).data("w");var t=I(this).data("h");if(e<=t){$.addClass("single-type-02");I(".single-root").addClass("has-type-02");return}});I(".blog-main .item:not(.text-post) .img,.pic-main .item:not(.text-project) .img > div:not(.video-addition)").append('<abbr class="pic-loader"><i></i><i></i><i></i></abbr>');
1I(".bg-color").each(function(){if(I(this).data("color")){var e=I(this).data("color");I(this).css("background",e)}});if(I(".pt-header .default-menu-list").length>0){I(".pt-header ul.children,.m-header ul.children").addClass("sub-menu")}I(".pt-header .logo").after('<i class="btn btn-menu-03 call-menu-03"><span></span><span></span><span></span></i><i class="btn btn-menu-03 close-menu-03"><span></span><span></span><span></span></i>');I(".site-root").append('<div class="click-layer close-menu-03"></div>');I("header nav .current_page_parent").addClass("current-menu-parent");I("header nav .current-menu-item,header nav .current_page_item").addClass("current_page_item");I("header nav .current_page_ancestor").addClass("current-menu-ancestor");var l=I(".main-menu li a").css("font-family");if(l&&(l.indexOf("Anton,")>-1||l.indexOf("steelfish-Local")>-1||l.substring(0,4)=="ntf-"||l.indexOf("built-Local")>-1)){I(".main-menu li a").addClass("font-type-tall")}I(".main-menu li").each(function(){if(I(this).children(".sub-menu").length>0){I(this).addClass("has-sub").children("a").after('<i class="btn call-sub-btn"></i>')}if(I(this).children(".sub-menu").children("li").length>10){I(this).children(".sub-menu").addClass("lot")}if(I(this).children("a").find("i.icon").length==0||I(this).children("a").find("i.icon").css("display")=="none"){I(this).addClass("no-icon")}});var n=0;I(".main-menu li.depth-1").each(function(){I(this).css({transition:(G?"right":"left")+" 0.6s "+n*.1+"s,opacity 0.6s "+n*.1+"s"});n++});I(".main-menu .sub-menu a i.icon").closest("li").addClass("has-icon");I(".main-menu .call-sub-btn").on("click",function(){if(E||q.hasClass("menu-style-03")){I(this).siblings(".sub-menu").slideToggle(200);I(this).closest("li").toggleClass("open")}else if(q.hasClass("menu-style-01")){var e=I(this).siblings(".sub-menu").html();q.append('<div class="clone-sub"><i class="btn close-clone-sub"></i><ul>'+e+"</ul></div>");q.addClass("show-clone-sub");if(G){I(".clone-sub").animate({right:"0"},600)}else{I(".clone-sub").animate({left:"0"},600)}I(".close-clone-sub").on("click",function(){var e=I(this).closest(".clone-sub");var t=e.outerWidth();q.removeClass("show-clone-sub");if(G){e.animate({right:-t},400,function(){I(".clone-sub").remove()})}else{e.animate({left:-t},400,function(){I(".clone-sub").remove()})}})}});I(".pt-header .call-menu-03").on("click",function(){$.addClass("show-menu-03");I(".close-menu-03.click-layer").fadeIn(300)});I(".close-menu-03").on("click",function(){$.removeClass("show-menu-03");I(".close-menu-03.click-layer").fadeOut(300)});if(I("body > .hidden-menu").length>0){I(".site-root,.hidden-menu .pt-widget-list").append('<div class="click-layer close-hidden-menu"></div>')}else{I(".call-hidden-menu").remove();$.addClass("no-hidden-menu")}I(".call-hidden-menu").on("click",function(){$.addClass("hidden-menu-open");var e=I(".hidden-menu .pt-widget-list").get(0).scrollHeight;I(".hidden-menu .click-layer.close-hidden-menu").css("height",e);setTimeout(function(){I(".site-root .close-hidden-menu").fadeIn(300)},50)});I(".close-hidden-menu").on("click",function(){$.removeClass("hidden-menu-open");I(".site-root .close-hidden-menu").fadeOut(300);I(".hidden-menu .click-layer.close-hidden-menu").removeAttr("style")});I('.widget_nav_menu div[class*="container"] li').each(function(){if(I("ul",this).length>0){I(this).addClass("has-sub").append('<i class="call-widget-sub"></i>')}});I(".call-widget-sub").on("click",function(){I(this).toggleClass("open").siblings("ul").slideToggle(200)});I('.widget_nav_menu div[class*="container"] .has-sub > a[href="#"]').on("click",function(){I(this).siblings(".call-widget-sub").toggleClass("open");I(this).siblings("ul").slideToggle(200)});I(".header-search form").on("mouseenter",function(){I(this).addClass("show")}).on("mouseleave",function(){I(this).removeClass("show")});I(".header-search form input").on("focus",function(){I(this).closest("form").addClass("focus")});I(".header-search form input").on("blur",function(){I(this).closest("form").removeClass("focus")});I('.header-additional i.btn[class*="call-"]:not(.call-hidden-menu)').on("click",function(){I(this).parent().toggleClass("m-show")});var o=function(){if(q.hasClass("menu-style-02")){$.addClass("site-menu-02");I(".pt-header .pt-social").removeClass("hide");I(".pt-header .menu-wrap li.sub-crossed").removeClass("sub-crossed");I(".menu-style-02 .sub-menu").each(function(){var e=I(H).width();var t=I(this).offset();var s=t?t.left:0;var i=s+I(this).outerWidth();if(!G){if(i+50>e){I(this).parent().addClass("sub-crossed")}}else{if(s-50<0){I(this).parent().addClass("sub-crossed")}}});var e=I(".pt-header.menu-style-02 .menu-wrap");var t=e.offset();var s=t?t.left:0;var i=e.width()+s;var a=I(".pt-header .pt-social").offset();var l=a?a.left:0;if(i>=l){I(".pt-header .pt-social").addClass("hide")}}};o();if($.hasClass("woocommerce-page")){I(".pt-header li.depth-1 li.current-menu-item,.pt-header li.depth-1 li.current-menu-parent").closest("li.depth-1").addClass("current-menu-ancestor")}if($.hasClass("shop-style-02")||$.hasClass("shop-style-03")){I("#primary").addClass("horizontal");I("#primary > main").prepend('<div class="pt-wc-header"></div>');I(".pt-wc-header").append(I("nav.woocommerce-breadcrumb,header.woocommerce-products-header,p.woocommerce-result-count,form.
1woocommerce-ordering"));I(".main-content:not(.inited-for-hs)").append(K).ptHScroller({contentTarget:"#primary",wrapTarget:"#main",viewportTarget:".products li",viewportAddClass:".inviewport",wheelTarget:".main-content",useScroller:true,enableViewport:true,needButton:true,buttonScrollPercent:.35,checkWindowSize:!H.ptKeepHorizontal,scrollSpeed:500,scrollEase:"quintOut",ignoreScrollerWidth:false,onScroll:function(e){}}).ptHDragger({disabled:!$.hasClass("h-drag-enabled"),checkEdge:!$.hasClass("h-drag-uncheck-edge"),dragTweenTime:Q,clickTolerance:10,dragEase:U,speedRatio:.35,ignoreElement:".list-widgets-wrap,textarea,input,form,.close-single,.sc-map"}).addClass("inited-for-hs")}I(".related.products:not(.use-raw-size) li").each(function(){var e=I(this).find('a[class*="woocommerce-Loop"]');e.prepend('<div class="wc-related-thumb"><div>').addClass("bg-edited");var t="url("+I("img.attachment-woocommerce_thumbnail",this).attr("src")+")";I(".wc-related-thumb",this).css("background-image",t)});I("ul.products li.product a img,.wc-related-thumb").addClass("hoverElems").ptElasticHover({offset:10,scale:1});ne();I(H).on("resize",o);if(I("body.single").length>0){oe();re()}I(".comment-list.pings").each(function(){if(I(this).find("li").length==0){I(this).remove()}});var r=function(e){var t;if(e=="ajax"){t=F}else{t=X}if(H.devicePixelRatio>1){var s=t.find(".sc-section-title img:not(.retina-inited),.sc-mixbox .img img:not(.retina-inited)");s.each(function(){if(I(this).attr("retina-src")&&I(this).attr("retina-src")!==""){I(this).attr("src",I(this).attr("retina-src")).addClass("retina-inited")}})}ie();I(".text-area a,.comment-area p a,.widget li > a,.sc-textlist li a,.intro a,.sc-section-title a,.textwidget a,.sub-title a").each(function(){if(I(this).children().length==0&&!I(this).attr("class")){I(this).addClass("text-link")}});t.find(".ptsc:not(.sc-custom-html):not(.sc-rev-slider) > .wrap").each(function(){if(I(this).find("div").length==0){I(this).parent().addClass("sc-empty")}});if(I(".page-header .ptsc.sc-empty").length>0){I(".page-header").addClass("empty")}t.find(".sc-mixbox .item,.sc-subscribers").each(function(){var e=.33;if(I(this).data("w")){var e=I(this).data("w")}I(this).css("--data-w",e)});var i=t.find(".sc-section-title").not(".inited");i.each(function(){var e=I(this);var t=e.data("color");var s=e.data("title-color");if(t){I(".text",this).css("background",t)}if(s){I("h1 span",this).css("color",s)}if(I("h1",this).find("br").length>0){I("h1",this).addClass("has-br")}if(e.hasClass("image-large")&&!e.hasClass("overlap")&&!e.hasClass("no-img")){e.find(".img").append(I(".text",this))}});var a=t.find(".sc-textlist").not(".inited");a.each(function(){var e=I(this);e.find(".pt-icon").each(function(){if(I(this).data("color")){I(this).css("color",I(this).data("color"))}});if(e.children(".bg-full,.bg-color").length>0){e.addClass("has-bg")}if(e.find(".wpcf7-form").length>0){e.addClass("has-wpcf7")}e.find(".inner-wrap").each(function(){if(!I(this).hasClass("fade-set")&&!Z){var e=Math.floor(Math.random()*7);I(this).addClass("fade-set").css("transition","opacity 0.4s 0."+e+"s, transform 0.4s 0."+e+"s")}})});t.find(".mc4wp-form-fields:not(.sc-inited)").each(function(){if(I("input",this).length==2&&I('input[type="email"]',this).length==1&&I('input[type="submit"]',this).length==1&&I("p",this).length==2){I(this).addClass("classic");I('input[type="submit"]',this).parent().addClass("has-submit")}}).addClass("sc-inited");t.find(".sc-subscribers:not(.sc-inited)").each(function(){if(I(".bg-full",this).data("video-src")||I(".bg-full",this).data("src")){I(this).addClass("has-video")}}).addClass("sc-inited");t.find(".sc-section-title .img:not(.sc-loaded),.sc-slider .img:not(.sc-loaded),.sc-mixbox .img:not(.sc-loaded),.sc-images .img:not(.sc-loaded),.sc-banner.has-bgimg > .wrap:not(.sc-loaded),.sc-gallery .img:not(.sc-loaded),.sc-carousel .img:not(.sc-loaded),.sc-photo-wall .img:not(.sc-loaded)").append('<abbr class="pic-loader"><i></i><i></i><i></i></abbr>').addClass("sc-loaded");t.find(".sc-mixbox a.btn:not(.btn-animate-01),.sc-banner a.btn:not(.btn-animate-01)").addClass("btn-animate-01");t.find(".sc-banner .bg-full:not(.show),.sc-videobox .bg-full:not(.show),.sc-mixbox .bg-full:not(.show),.sc-subscribers .bg-full:not(.show),.sc-section-title .bg-full:not(.show),.ptsc > .bg-full:not(.show)").PtBgConvert();t.find(".wpcf7-form:not(.sc-inited)").each(function(){if(I(this).find('p input:not([type="submit"])').length%2==0){I(this).find('p input:not([type="submit"])').closest("p").addClass("form-col-2")}}).addClass("sc-inited");var l=I('.comment-form input:not([type="submit"]):not([type="hidden"]),.comment-form textarea,.wpcf7 input:not([type="submit"]):not([type="hidden"]),.wpcf7 textarea,.wpcf7 select');l.each(function(){if(I(this).hasClass("sc-inited")){return}if(!I(this).closest("form").hasClass("pt-form")){I(this).closest("form").addClass("pt-form")}I(this).parent().wrapInner('<fieldset class="pt-form-item"></fieldset>');var e;if(I(this).attr("placeholder")){e=I(this).attr("placeholder");I(this).removeAttr("placeholder")}else{if(I(this).is("select")){var t=I("<div></div>");if(I(this).siblings("label").length>0){e=I(this).siblings("label").html()}else{e=I(this).closest("label").html()}t.html(e).children().remove();e=t.text().trim()}else{if(I(this).siblings("label").length>0){e=I(this).siblings("label").text().trim()}else{e=I(this).closest("label").text().trim()}}}if(I(this).parent().find(I(".pt-form-title").length==0)){I(this).parent().prepend('<legend class="pt-form-title">'+e+"</legend>")}if(I(this).attr("rows")!==undefined){I(this).attr("rows","4")}}).addClass("sc-inited");
1I('.comment-form input[type="submit"]:not(.btn-inited),.wpcf7 input[type="submit"]:not(.btn-inited)').addClass("btn-inited").wrap('<p class="has-submit"></p>');l.on("focus",function(){I(this).closest("fieldset").addClass("focus")});l.on("blur",function(){I(this).closest("fieldset").removeClass("focus")});t.find(".sc-mixbox .pt-h").each(function(){if(I(this).attr("data-color")){var e=I(this).data("color");I(this).css("color",e).removeAttr("data-color")}});t.find(".sc-mixbox div.icon:not(.sc-inited)").each(function(){I(this).closest(".item").addClass("has-icon");if(I(this).data("color")){var e=I(this).data("color");I("i",this).css("background",e)}}).addClass("sc-inited");t.find(".sc-mixbox .img:not(.img-loaded) img").PtImgLoaded();t.find(".sc-mixbox:not(.sc-inited)").each(function(){if(I(".item.has-bg-color",this).length==I(".item",this).length||I(this).hasClass("pricing-table")){I(this).addClass("non-bg")}if(I(this).children(".wrap").find("div").length==0){I(this).addClass("null")}if(I(this).data("border-color")){I(this).addClass("has-border");I(".item",this).append('<div class="border-layer" style="border-color:'+I(this).data("border-color")+'"></div>')}I(".item",this).each(function(){if(I(".bg-full",this).data("video-src")||I(".bg-full",this).data("src")){I(this).addClass("has-video")}if(I(".bg-full",this).length>0){I(this).addClass("has-bgimg")}if(I(".text",this).length==0){I(this).addClass("no-text")}})}).addClass("sc-inited");t.find(".sc-mixbox .intro:not(.sc-inited),.pricing-table .text:not(.sc-inited),.sc-banner .intro:not(.sc-inited)").addClass("sc-inited").wrap('<div class="ptbar-outerWrap"><div class="content"></div></div>');I(".ptbar-outerWrap:not(.ptbar-inited)").ptBar({contentTarget:".content"}).addClass("ptbar-inited");t.find(".pricing-table .item:not(.color-inited)").each(function(){var e;if(I(this).data("color")){e=I(this).data("color")}else{e=$.data("color")}I(".price-amount,li i",this).css("color",e)}).addClass("color-inited");t.find(".hover-bg:not(.show)").PtHoverBgConvert();t.find(".sc-slider:not(.step-01-inited)").each(function(){var e;if(I(".item",this).length>1){I(".item .img",this).append('<div class="s-btn s-btn-prev"></div><div class="s-btn s-btn-next"></div>')}else{I(this).addClass("single-item")}I(".item",this).each(function(){if(I(".bg-full",this).data("video-src")||I(".bg-full",this).data("src")){I(this).addClass("has-video");if(I(".bg-full",this).data("volume")==0){I(this).addClass("video-mute")}}});if(I(this).data("video-autoplay")=="1"){I(".item.has-video",this).addClass("autoplay")}}).addClass("step-01-inited");t.find(".sc-slider:not(.single-item):not(.pt-slider-root)").addClass("pt-slider-root").ptSwipe({wrapTarget:".wrap",itemTarget:".item",autoplay:false,speed:800,useDrag:B,tweenOutOffset:.95,ease:"cubicInOut",onInit:function(){var s=this.$element;var e=s.find(".item.current");s.find(".item.current .text").addClass("show");if(s.find(".item.current").hasClass("text-white")){s.find(".pt-swipe-dots").addClass("light")}else{s.find(".pt-swipe-dots").removeClass("light")}var t='<div class="v-play v-ctrl"></div><div class="v-pause v-ctrl"></div><div class="v-mobile-play v-ctrl"></div><div class="volume-btn"></div>';var i=s.find(".has-video .bg-full:not(.btn-inited)");i.addClass("btn-inited").after(t);if(!s.data("video-autoplay")){s.find(".has-video .bg-full").not(".vTarget").addClass("vTarget").ptMediaPlayer({autoplay:false,full:true,controls:false,ignoreMobile:true,removeVimeoControls:true,onStart:function(e){var t=I(e).closest(".item");I(e).addClass("ready");t.addClass("v-ready");s.find(".item.has-video").addClass("pause")},onPlayStatus:function(e,t){if(e=="play"){I(t).closest(".has-video").removeClass("pause")}},loop:true})}else{s.find(".has-video .bg-full").not(".vTarget").addClass("vTarget").ptMediaPlayer({autoplay:true,full:true,controls:false,ignoreMobile:s.hasClass("mobile-list")?true:false,removeVimeoControls:true,volumeBtn:".volume-btn",onStart:function(e){var t=I(e).closest(".item");I(e).addClass("ready");t.addClass("v-ready");I(e).ptMediaPlayerCall("pause").ptMediaPlayerCall("mute");s.find(".current.has-video .vTarget").ptMediaPlayerCall("play")},loop:true})}if(s.find(".item.current.has-video:not(.pause)").length>0){s.ptSwipeCall("pause")}if(s.data("autoplay")){if(e.hasClass("has-video")){if(e.hasClass("pause")){s.ptSwipeCall("setAutoplay",true);s.ptSwipeCall("resume")}else if(this.$element.data("video-autoplay")){this.$element.ptSwipeCall("pause")}}else{this.$element.ptSwipeCall("setAutoplay",true);this.$element.ptSwipeCall("resume")}}},onSwipeBefore:function(){this.$element.find(".vTarget").ptMediaPlayerCall("pause");
1this.$element.find(".item.has-video:not(.autoplay)").addClass("pause");if(this.$element.find(".item.current").hasClass("text-white")){this.$element.find(".pt-swipe-dots").addClass("light")}else{this.$element.find(".pt-swipe-dots").removeClass("light")}var e=this.$element.find(".item.current").index();if(e>-1){var t=this.$element.find(".pt-swipe-dots ul");if(t.length>0){var s=t.children().eq(e);if(s.length>0){s.trigger("click")}}}},onSwipeAfter:function(){var e=this.$element.find(".item.current");e.find(".text").addClass("show");e.not(".current").find(".text").removeClass("show");if(this.$element.data("autoplay")){if(e.hasClass("has-video")){if(e.hasClass("pause")){this.$element.ptSwipeCall("setAutoplay",true);this.$element.ptSwipeCall("resume")}else if(this.$element.data("video-autoplay")){this.$element.ptSwipeCall("pause")}}else{this.$element.ptSwipeCall("setAutoplay",true);this.$element.ptSwipeCall("resume")}}this.$element.find(".item.current.autoplay.has-video:not(.pause) .vTarget").ptMediaPlayerCall("play")}});t.find(".sc-slider:not(.step-02-inited)").each(function(){var t=0;var s=I(this);var i;var a=1;var l=I(".item",this).length;s.find(".pt-swipe-dots").wrapInner('<div class="roll-target"></div>');if(I(".item",this).length!==I(".pt-h",this).length){s.addClass("normal-nav").removeClass("text-nav")}I(".item",this).each(function(){if(I(this).index()>=9){i=""}else{i="0"}I(".text",this).prepend('<div class="slider-count"><i>'+i+a+"</i><em>"+i+l+"</em></div>");a++;var e=I(".pt-h",this).text();s.find(".pt-swipe-dots li").eq(t).append("<span>"+e+"</span>");if(I("a",this).length>0){s.find(".pt-swipe-dots li").eq(t).append(I("a",this).clone().empty())}t++;if(I(".intro",this).length==0){I(this).addClass("no-intro")}if(I("h2",this).length==0){I(this).addClass("no-title")}});ae(this)}).addClass("step-02-inited");t.find('.sc-slider[data-video-autoplay="1"] .volume-btn').not(".click-inited").on("click",function(){var e=I(this).closest(".ptsc");var t=I(this).closest(".item").find(".vTarget");if(t.hasClass("pt-mediaplayer-muted")){e.find(".vTarget").ptMediaPlayerCall("mute")}else{e.find(".vTarget").ptMediaPlayerCall("unMute")}}).addClass("click-inited");var f=900,p=.3;function n(){I(".pt-swipe-dots").removeClass("top-has-distance bottom-has-distance");t.find(".sc-slider").each(function(){var e=I(this);var t=p;if(e.hasClass("normal-nav")){return}if(e.hasClass("text-style-03")){t=.7}var s=e.find(".pt-swipe-dots li").eq(0).outerHeight();var i=Math.ceil(e.children(".wrap").outerHeight()*t/s);var a=s*i;e.find(".roll-target").css("max-height",a);e.find(".roll-target ul").removeAttr("style");e.find(".roll-target li.selected").trigger("click")})}t.find(".sc-slider .roll-target li").on("click",function(){var e=I(this).closest(".sc-slider");var t=p;if(e.hasClass("normal-nav")){return}if(e.hasClass("text-style-03")){t=.7}var s=I(this).parent();var i=I(this).outerHeight();var a=Math.ceil(e.children(".wrap").outerHeight()*t/i);var l=i*a;var n=s.children("li").length;if(n<=a){return}var o=this.parentNode||{};if(o.dotsInCD){return}o.dotsInCD=true;setTimeout(function(){o.dotsInCD=false},f);var r=I(this);var d=r.index();var c=(d+1)*i;var h=l/2-c;h=Math.ceil(h/i)*i;if(h>=0){h=0;I(this).closest(".pt-swipe-dots").removeClass("top-has-distance").addClass("bottom-has-distance")}else if(h<=l-n*i){h=l-n*i;I(this).closest(".pt-swipe-dots").addClass("top-has-distance").removeClass("bottom-has-distance")}else{I(this).closest(".pt-swipe-dots").addClass("top-has-distance bottom-has-distance")}g(o,h,600)});var o=function(e){var t=e.target.target;I(t).css("transform","translate3d(0,"+Math.floor(t._tweenValue)+"px,0)")};var g=function(e,t,s){createjs.Tween.get(e,{override:true,onChange:o}).to({_tweenValue:t},s===undefined?800:s,createjs.Ease.cubicOut)};n();I(H).on("resize",n);te();var r=t.find(".sc-banner").not(".inited");r.not(".inited").each(function(){var r=I(this);if(r.hasClass("style-01")){r.find(".text").attr({"data-offset":"0.4","data-direct":"0"}).ptElementParallax({container:".sc-banner",type:"h"})}if(r.hasClass("style-02")){r.find(".text").attr({"data-offset":"0.4","data-direct":"1"}).ptElementParallax({container:".sc-banner",type:"h"})}
1r.find(".intro").append('<div class="text-mask"></div>');if(r.find(".bg-full").data("video-src")||r.find(".bg-full").data("src")){r.addClass("has-video")}if(r.find(".bg-full").length>0){r.addClass("has-bgimg")}var e;if(I(".text",this).length>0){I(".text",this).append('<div class="intro-toggle"><i class="btn call-intro"></i><i class="btn close-intro"></i></div>');e=I(".text",this).css("background-color");e=e.substring(e.indexOf("(")+1);e=e.substring(0,e.indexOf(")"));I(this).find(".text-mask").css({background:"linear-gradient(to bottom, rgba("+e+", 0), rgba("+e+",1))"})}if(I("a.btn",this).length>0){I("a.btn",this).wrap('<div class="btn-wrap"></div')}r.find(".call-intro").on("click",function(){var e=r.find(".intro");var t=r.find(".text");if(r.hasClass("overload")){var s=parseInt(e.css("line-height"));var i=s*4+10;var a=e.get(0).scrollHeight;var l=t.outerHeight();var n=W-(l-i)-100;if(a<n){t.addClass("open");e.stop().animate({height:a},400)}else{var o=Math.round(n/s);t.addClass("open");e.stop().animate({height:s*o},400,function(){r.find(".ptbar-outerWrap").ptBarCall("resize")})}}});
1r.find(".close-intro").on("click",function(){var e=r.find(".intro");var t=r.find(".text");var s=parseInt(e.css("line-height"));var i=s*4+10;e.stop().animate({height:i},200,function(){t.removeClass("open");r.find(".ptbar-outerWrap").ptBarCall("resize")})})});t.find(".sc-gallery .bg-full[data-video-src],.sc-photo-wall .bg-full[data-video-src]").each(function(){var e=I(this);e.closest('div[class*="item"]').addClass("has-video")});var d=t.find(".sc-gallery").not(".inited");d.each(function(){var e=I(this);if(e.hasClass("lightbox")){e.find("a.full").addClass("iv-link")}if(I(this).data("border-color")){I(".inner-wrap",this).append('<div class="border-layer"></div>');var t=I(this).data("border-color");I(".border-layer",this).css("border-color",t)}var s=I(".item",this).length;if(I(this).hasClass("row-three")){if(s%2!==0){I(".item:last",this).addClass("last")}}if(I(this).hasClass("caption-02")){I(this).find(".caption").each(function(){if(I(this).text().trim()!==""){var e=I(this).text();I(this).after('<div class="text"><p class="has-span"><span>'+e+"</span></p></div>")}})}e.find(".item").each(function(){if(I("a.custom-link",this).length>0){I(this).addClass("has-link")}})});if(!$.hasClass("lightbox-type-02")){I(".site-root:not(.lightbox-inited)").ptImageViewer({itemSelector:".sc-gallery.lightbox .item:not(.has-video) a.full,.sc-photo-wall .sub-item:not(.has-video) .iv-link",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"}).addClass("lightbox-inited")}if($.hasClass("lightbox-type-02")){if(I(".site-root").find(".sc-gallery.lightbox").length>0){I(".site-root:not(.lightbox-inited)").ptImageViewer({itemSelector:".sc-gallery.lightbox .item:not(.has-video) a.full",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"}).addClass("lightbox-inited")}I(".site-root .sc-photo-wall.lightbox:not(.lightbox-inited)").ptImageViewer({itemSelector:".sub-item:not(.has-video) a.iv-link",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"}).addClass("lightbox-inited")}t.find(".sc-gallery.lightbox .inner-wrap:not(.hoverElems)").addClass("hoverElems").ptElasticHover({target:".bg-full",offset:3,direct:"x",scale:1.03});t.find(".sc-photo-wall .img:not(.hoverElems),.widget_media_image img:not(.hoverElems)").addClass("hoverElems").ptElasticHover({offset:10,scale:1});t.find(".sc-photo-wall p:not(.has-span)").wrapInner("<span></span>").addClass("has-span");if(Z){t.find(".sc-photo-wall.text-style-02 .text").not(".clickInited").on("click",function(){I(this).toggleClass("clicked")}).addClass("clickInited")}t.find(".sc-images a.custom-link").each(function(){I(this).closest(".item").addClass("has-link")});var c;var h=3;var u=false;if(E){c=false;h=1;if(G){u=true}}else{c=true}I(".sc-text-carousel").each(function(){var e=I(this).children(".wrap");var t=I(this);var s=false;if(E&&$.hasClass("text-carousel-adaptive")){s=true}if(I(this).children(".bg-full").not(".has-video").data("video-src")||I(this).children(".bg-full").not(".has-video").data("src")){I(this).addClass("has-video")}if(I(".item",this).length>1){e.addClass("no-single-item");e.slick({dots:true,infinite:true,speed:600,adaptiveHeight:s,autoplay:t.data("autoplay")===undefined?true:t.data("autoplay"),rtl:u,slidesToShow:1,autoplaySpeed:t.data("autoplay-speed")||4e3,vertical:c,verticalSwiping:c,swipe:ee,pauseOnDotsHover:true,touchMove:ee,draggable:ee})}});I(".sc-carousel").each(function(){var s=I(".item",this);var e=I(".img",this);var i=I(this);var t=i.children(".wrap");var a;var l=s.length;var n=1;i.attr("item-length",l);if(l<4){i.addClass("pc-no-swipe")}if(l>2){t.addClass("no-single-item");if(l>=10){a=""}else{a="0"}s.each(function(){I(this).attr("data-index",n);n++});t.on("init",function(e){var t=(W-s.height())*.5;i.find(".slick-track").css("top",t);i.find(".slick-current").addClass("ready")});i.children(".wrap:not(.slick-slider)").slick({dots:false,arrows:true,infinite:true,rtl:u,speed:500,autoplay:false,slidesToShow:h,vertical:c,verticalSwiping:c,swipe:ee,touchMove:ee,draggable:ee});i.append('<div class="sc-carousel-count"><i></i>/<em>'+a+l+"</em></div>");i.find(".sc-carousel-count i").text(a+i.find(".slick-current .item").data("index"));t.on("beforeChange",function(e){i.find(".slick-slide").removeClass("ready")});t.on("afterChange",function(e){i.find(".slick-current").addClass("ready");i.find(".sc-carousel-count i").text(a+i.find(".slick-current .item").data("index"))});I(H).on("resize",function(){var e=(W-s.height())*.5;i.find(".slick-track").css("top",e)});setTimeout(function(){i.find(".bg-full.editing").addClass("show").removeAttr("data-bg").siblings(".pic-loader").remove()},8e3)}});var m=function(){var t=false;if(E&&$.hasClass("text-carousel-adaptive")){t=true}I(".sc-text-carousel > .wrap.slick-slider,.sc-carousel > .wrap.slick-slider").slick("unslick");I(".sc-text-carousel > .wrap.no-single-item").each(function(){var e=I(this).closest(".ptsc");I(this).slick({dots:true,infinite:true,speed:600,autoplay:e.data("autoplay")===undefined?true:e.data("autoplay"),slidesToShow:1,rtl:u,adaptiveHeight:t,autoplaySpeed:e.data("autoplay-speed")||4e3,vertical:c,verticalSwiping:c,swipe:ee,touchMove:ee,draggable:ee})});I(".sc-carousel > .wrap.no-single-item").slick({dots:false,arrows:true,infinite:true,speed:400,autoplay:false,rtl:u,slidesToShow:h,vertical:c,verticalSwiping:c,swipe:ee,touchMove:ee,draggable:ee});I(".sc-text-carousel .item").css("height",W);I(".sc-text-carousel > .wrap.slick-slider").slick("setPosition")};I(H).on("resize",function(){if(E){c=false;h=1;if(G){u=true}if(V!=="Mobile"){V="Mobile";m()}}else{u=false;c=true;h=3;if(V!=="Pc"){V="Pc";m()}}});var v=t.find(".sc-gallery.pt-hover-on,.sc-photo-wall.pt-hover-on").not(".hover-inited");function C(){I(".vTarget",this).ptMediaPlayerCall("play")}function b(){I(".vTarget",this).ptMediaPlayerCall("pause")}v.each(function(){var e=I(this);
1e.find(".has-video .bg-full[data-video-src]").each(function(){I(this).after(I(this).clone().addClass("clone-bg"))});e.find(".clone-bg").removeAttr("data-video-src data-type data-volume");var t=e.find(".has-video .bg-full").not(".vTarget,.clone-bg,.for-retina");t.addClass("vTarget").ptMediaPlayer({autoplay:true,full:true,controls:false,ignoreMobile:true,removeVimeoControls:true,onStart:function(e){I(e).ptMediaPlayerCall("pause").ptMediaPlayerCall("mute")},loop:true});e.find(".has-video").hoverIntent({timeout:200,sensitivity:200,over:C,out:b})}).addClass("hover-inited");t.find(".sc-photo-wall.pt-video-popup-on .has-video .bg-full,.sc-gallery.pt-hover-on .has-video .bg-full").not(".v-btn-inited,.clone,.clone-bg").after('<div class="call-item-video btn-full"></div>').addClass("v-btn-inited");var w=t.find(".sc-photo-wall.pt-autoplay-on .has-video .bg-full");w.ptMediaPlayer({autoplay:true,full:true,controls:false,ignoreMobile:false,removeVimeoControls:true,loop:true});t.find(".sc-progress .item").each(function(){var e=I(this);var t=parseFloat(I(".number span",this).text()),s=e.data("bar-color"),i=e.data("bar-bgcolor");
1if(isNaN(t)){e.remove()}else{if(t>100){t=100}if(t<=0){t=0}I(".number",this).attr("data-percent",t);if(I(this).closest(".sc-progress").hasClass("style-01")){if(s){I(".progress-bar",this).css("background",s)}if(i){I(".bar-wrap",this).css("background",i)}}else{I(".text",this).prepend(I('<div class="clone-number">'+t+"</div>"))}}});var y;if(E){y="Mobile"}else{y="Pc"}I(H).on("resize",function(){if(E){if(y!=="Mobile"){y="Mobile";I(".sc-progress.style-01 .item.inited").removeClass("inited")}}else{if(y!=="Pc"){y="Pc";I(".sc-progress.style-01 .item.inited").removeClass("inited")}}});I.fn.extend({PtProgressChange:function(e){var t=this;var r=0;if(!I(".site-bg").hasClass("hide")){r=600}t.each(function(){var e=I(this);var t=e.closest(".ptsc");if(t.hasClass("style-01")){var s=parseFloat(e.find(".number").data("percent"));var i=e.find(".progress-bar");if(E){i.stop().delay(r).animate({width:s+"%"},600)}else{i.stop().delay(r).animate({height:s+"%"},600)}}else if(t.hasClass("style-02")){var a=$.data("color");var l="rgba(166,166,166,.2)";var n=e.data("bar-color");var o=e.data("bar-bgcolor");
1if(n){a=n}if(o){l=o}e.find(".number").pieChart({size:600,lineWidth:10,barColor:a,trackColor:l})}e.addClass("inited")});return this}});var x=true;var k=false;var M=null;var S=I(".pt-filter");S.each(function(){if(I(this).find("li").length>1){I(this).closest(".ptsc").addClass("pt-has-filter")}I(this).find("li a").each(function(){I(this).after(I(this).clone().addClass("full"))})});var M=I(".pt-has-filter");if(S.length>1){S.remove();console.log("Multiple list has filters are not supported")}if(I(".pic-list.list-justify-off").length>0){x=false}if(M.find(".pt-filter li").length>0&&!Y){k=true}if(M.find(".pt-filter").length==1&&Y&&!E&&I(".pt-has-filter ~ .ptsc").length>0){I(".pt-filter").addClass("hide")}if(I(".ptsc-list > .wrap .ptsc").length>0){var T=I(".ptsc-list > .wrap > .ptsc").length>1;I(".main-content:not(.inited-for-hs)").append(K).ptHScroller({contentTarget:".ptsc-list",wrapTarget:".wrap",viewportTarget:".item",viewportAddClass:".inviewport",wheelTarget:I(".main-content"),useScroller:true,enableViewport:true,needButton:true,buttonScrollPercent:.35,checkWindowSize:!H.ptKeepHorizontal,scrollSpeed:500,scrollEase:"quintOut",ignoreScrollerWidth:false,onScroll:function(e,t){I(".sc-progress .item.inviewport:not(.inited)").PtProgressChange();I(".sc-images .item.inviewport .bg-full:not(.show),.sc-gallery .item.inviewport .bg-full:not(.show),.sc-photo-wall .item.inviewport .bg-full:not(.show)").PtBgConvert();I(".pic-main .item.inviewport .bg-full:not(.show),.blog-main .item.inviewport .bg-full:not(.show)").PtBgConvert();I(".pic-list.row-two > .wrap,.pic-list.row-three > .wrap,.sc-gallery.row-two-auto,.sc-gallery.row-three-auto").ptFlexRowCall("setScrollPercent",[e,t]);if(k&&T&&!G&&M.position()){var s=M.width();var i=s+M.position().left-D;if(s<D){M.addClass("filter-no-fixed")}else{M.removeClass("filter-no-fixed");if(t.scrollX>i){if(!M.hasClass("filter-hide")){M.addClass("filter-hide")}}else{if(M.hasClass("filter-hide")){M.removeClass("filter-hide")}}}}},onEdgeIn:function(){I(this).find(".pt-has-filter .pt-filter").hide()},onEdgeOut:function(){I(this).find(".pt-has-filter .pt-filter").show()}}).ptHDragger({disabled:!$.hasClass("h-drag-enabled"),checkEdge:!$.hasClass("h-drag-uncheck-edge"),dragTweenTime:Q,clickTolerance:10,dragEase:U,speedRatio:.35,ignoreElement:"textarea,input,form,.close-single,.sc-map"}).addClass("inited-for-hs");I(".custom-link,a.btn").on("click",function(){var e=I(this).attr("href");if(I(this).attr("target")=="_blank"){return}if(e&&e.indexOf("#move=")===0){var t=parseFloat(e.substring("#move=".length));if(!isNaN(t)){I(".main-content.inited-for-hs").ptHScrollerCall("scroll",[t,1])}H.location.hash=""}});I(".pic-list.row-two.pic-style-02 > .wrap:not(.initde-for-flex)").ptFlexRow({wrapClass:".pic-main",itemTarget:".item",viewTarget:I(".main-content>.ptsc-list"),rows:2,alignType:1,useJustified:x,onInit:function(){I(".main-content.inited-for-hs").ptHScrollerCall("enableViewport",true)},onResizeAfter:function(e){if(L.hasClass("retina")){_()}if(e){I(".main-content.inited-for-hs").ptHScrollerCall("resize")}}}).addClass("initde-for-flex");I(".pic-list.row-three.pic-style-02 > .wrap:not(.initde-for-flex)").ptFlexRow({wrapClass:".pic-main",itemTarget:".item",viewTarget:I(".main-content>.ptsc-list"),rows:3,alignType:1,useJustified:x,onInit:function(){I(".main-content.inited-for-hs").ptHScrollerCall("enableViewport",true)},onResizeAfter:function(e){if(L.hasClass("retina")){_()}if(e){I(".main-content.inited-for-hs").ptHScrollerCall("resize")}}}).addClass("initde-for-flex")}t.find(".sc-images .item.inviewport .bg-full:not(.show),.sc-gallery .item.inviewport .bg-full:not(.show),.sc-carousel .bg-full:not(.show),.sc-photo-wall .item.inviewport .bg-full:not(.show)").PtBgConvert();I("html:not(.win-v) .sc-progress .item.inviewport:not(.inited),html.win-v .sc-progress .item:not(.inited)").PtProgressChange();I(H).on("resize",function(){I(".sc-progress .item:not(.inited)").PtProgressChange()});t.find(".sc-gallery:not(.initde-for-flex)").each(function(){var e=I(this);var t;if(e.hasClass("row-two-auto")||e.hasClass("row-three-auto")){if(e.hasClass("row-two-auto")){t=2}if(e.hasClass("row-three-auto")){t=3}e.ptFlexRow({wrapClass:".wrap",itemTarget:".item",rows:t,alignType:1,useJustified:x,onInit:function(){I(".main-content.inited-for-hs").ptHScrollerCall("enableViewport",true)},onResizeAfter:function(e){if(e){I(".main-content.inited-for-hs").ptHScrollerCall("resize")}}})}}).addClass("initde-for-flex");t.find(".sc-gallery:not(.pt-hover-on) .has-video .bg-full:not(.vTarget),.sc-photo-wall:not(.pt-hover-on):not(.pt-autoplay-on) .has-video .bg-full:not(.vTarget)").after('<div class="call-item-video v-ctrl"></div>');
1var P='<div class="v-mobile-play v-ctrl"></div>';var j=t.find(".sc-mixbox .has-video .bg-full:not(.vTarget),.sc-banner.has-video .bg-full:not(.vTarget),.sc-text-carousel.has-video .bg-full:not(.vTarget),.sc-subscribers.has-video .bg-full:not(.vTarget)");j.after(P);j.addClass("vTarget").ptMediaPlayer({autoplay:true,full:true,controls:false,ignoreMobile:false,removeVimeoControls:true,onStart:function(){j.addClass("ready");j.closest(".has-video").addClass("v-ready")},loop:true});i.addClass("inited");a.addClass("inited");r.addClass("inited");d.addClass("inited")};de();r("normal");if(I(".single-root.style-02 .ptsc").length>0){I(".single-root.inited-for-hs").ptHScrollerCall("resize")}setTimeout(function(){var t=H.sbi_custom_js;H.sbi_custom_js=function(){if(t){t()}var e=function(){if(E){I(".ptsc #sb_instagram .sbi_item").removeAttr("style")}else{I(".ptsc #sb_instagram .sbi_item").each(function(){var e=I(this).outerHeight();I(this).css("width",e)})}};e();I(H).on("resize",e)}},0);I(".blog-list:not(.style-02) .blog-main .img").addClass("hoverElems").ptElasticHover({offset:10,scale:1});I(".blog-list.style-02 .blog-main .img").addClass("hoverElems").ptElasticHover({target:".bg-full",offset:4,scale:1.05});if(I(".ptsc-list").length==0&&I(".blog-list .item").length>0){I(".main-content").addClass("inited").append('<div class="pt-mouse-scroll-root"><div class="list-scroller"><div class="list-scroller-target"></div></div></div>').ptHScroller({contentTarget:".blog-list",wrapTarget:".wrap",viewportTarget:".item",viewportAddClass:".inviewport",wheelTarget:H,useScroller:true,scrollOffset:0,enableViewport:true,checkWindowSize:!H.ptKeepHorizontal,scrollSpeed:500,scrollEase:"quintOut",ignoreScrollerWidth:false,onScroll:function(e){I(".blog-list .item.inviewport .bg-full:not(.show)").PtBgConvert()}}).ptHDragger({disabled:!$.hasClass("h-drag-enabled"),checkEdge:!$.hasClass("h-drag-uncheck-edge"),dragTweenTime:Q,clickTolerance:10,dragEase:U,speedRatio:.35,ignoreElement:"textarea,input,form,.close-single,.sc-map"})}I(".blog-main .item.inviewport .bg-full:not(.show)").PtBgConvert();function _(){var e;I(".pic-list.row-two:not(.gap-small):not(.gap-large) .pic-main").each(function(){if(I(".item",this).length>0){e=I("item",this).height();if(!E){I(".fr-item-container",this).css("height",e)}else{I(".fr-item-container",this).css("height","auto")}}})}if(I(".pic-main .item").length>0){I(".pic-main .item.inviewport .bg-full:not(.show)").PtBgConvert();I(".pt-filter li").on("click",function(){var e=I(this);var t=I(this).closest(".pt-filter");var s=I(this).closest(".ptsc");t.find("li").removeClass("active");I(this).addClass("active");s.find(".pages").stop().animate({opacity:0}
1,200);s.find(".pic-main").stop().animate({opacity:0},200,function(){if(e.attr("data-filter")=="*"){s.find(".pic-main .item.hidden").removeClass("hidden")}else{var i=e.data("filter");s.find(".pic-main .item:not(.clone-page-header)").each(function(){var e=I(this);var t=I(this).data("filter");var s=t.split(" ");if(s.indexOf(i)>-1){e.removeClass("hidden")}else{e.addClass("hidden")}})}});setTimeout(function(){if(!E){I(H).trigger("resize",[true])}setTimeout(function(){s.find(".pic-main,.pages").stop().animate({opacity:1},200)},50)},250)})}function d(){I(".vTarget",this).ptMediaPlayerCall("play")}function c(){I(".vTarget",this).ptMediaPlayerCall("pause")}if(!Z){I(".pic-main .video-addition .bg-full:not(.vTarget)").addClass("vTarget").ptMediaPlayer({autoplay:true,full:true,controls:false,ignoreMobile:true,removeVimeoControls:true,onStart:function(e){I(e).ptMediaPlayerCall("pause")},loop:true});I(".pic-main .has-item-video .inner-wrap").hoverIntent({timeout:200,sensitivity:200,over:d,out:c})}I(".widget_media_gallery").each(function(){var e=I(".gallery-icon > a",this).attr("href");if(e&&(e.indexOf(".jpg")>-1||e.indexOf(".gif")>-1||e.indexOf(".png")>-1||e.indexOf(".jpeg")>-1)){I(this).addClass("iv");I(".gallery-item",this).each(function(){I(this).attr("data-src",I("a",this).attr("href"));I("a",this).removeAttr("href")})}});I(".widget_media_gallery.iv").ptImageViewer({itemSelector:".gallery-item",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"});I(".site-bg.has-bg:not(.video-bg)").ptHParallaxBg({direct:1,fragmentWidth:1e3,fragments:[50,100,150,200,250,300,350,400,450,500],targetClass:".bg-full",scroller:I(".inited-for-hs:not(.for-ajax)")});if(I(".site-bg.video-bg .bg-full").data("video-src")||I(".site-bg.video-bg .bg-full").data("src")){I(".site-bg.video-bg .bg-full").addClass("vTarget").ptMediaPlayer({autoplay:true,full:true,controls:false,ignoreMobile:false,removeVimeoControls:true,loop:true})}I(".main-content.inited-for-hs").ptHScrollerCall("resize");I(".pic-list.ajax .pic-main a.full:not(.call-video-popup),.blog-list.ajax .blog-main .pt-h a,.blog-list.ajax .blog-main a.full").addClass("ajax-link");var h=function(e){var t=I(this);e=e||{};var s=this.href||t.data("href");if(t.hasClass("ajax-link")){if(e.ctrlKey&&s){e.preventDefault();e.stopPropagation();H.open(s)}return}if(t.hasClass("call-video-popup")||t.hasClass("ajax_add_to_cart")||t.hasClass("remove_from_cart_button")||t.hasClass("iv-link")||t.hasClass("native-link")){return}if(H.ptPreventLink){H.ptPreventLink=false;return}if(!s||s==="#"||s.indexOf("#move=")>-1){return}var i=decodeURIComponent(s).replace(" ","");if(i.indexOf("t=_blank")>-1||i.indexOf("target=_blank")>-1){e.preventDefault();H.open(s);return}var a=["mailto:","tel:","sms:","intent:"];var l=a.length;for(var n=0;n<l;n++){if(s.indexOf(a[n])===0){return}}if(e.ctrlKey){e.preventDefault();H.open(s);return}if(this.target==="_blank"||t.hasClass("zoom")||t.hasClass("play")){if(!this.href){if(this.target==="_blank"){H.open(s)}else{H.location.href=s}}return}var o=s.lastIndexOf("/");if(o>-1){var r=s.substring(o+1);o=r.indexOf("#");if(o>-1){return}}if(N&&O(s)){return}e.preventDefault();if(H.ptRemoveHandleLink||$.hasClass("remove-page-loading")){H.location.href=s}else{I(".site-loader").removeClass("animate-hide").fadeIn(20,"easeOutQuad",function(){if(I(".site-loader .loader-img").length>0){I(".site-loader").addClass("leaving").removeClass("hide");I(".site-loader .loader-img").delay(400).animate({opacity:"1"},200)}else{I(".site-loader").removeClass("hide").addClass("leaving")}});setTimeout(function(){H.location.href=s},600)}};I(".ptsc:not(.sc-custom-html):not(.sc-rev-slider) a, li.product a,"+".pt-header a, .m-header a,"+".hidden-menu a, .pt-popup a,"+".single-nav a, .single-related a, .single-meta a,"+".woocommerce-MyAccount-navigation a, a.woocommerce-Button, a.wc-backward,"+"a[data-href]").not(".comment-reply-link, .not-fade-link").on("click",h);ce();I("body > .ajax-content .ajax-bg").after('<div class="ajax-mask"></div>');var f=function(a){function t(e){var t=I(".ajax-content .ajax-target");var s=I(e);t.append(s);$.trigger("ajax-loaded-before",[s,a]);if(I(".ajax-content").hasClass("has-gallery")){NProgress.done();var i="dark";if(I(".ajax-content").hasClass("ajax-text-black")){i="light"}t.ptImageViewer({itemSelector:".ajax-gallery-image",fadeTime:600,loop:true,showThumb:true,skinStyle:i,closeHandler:function(){I(".close-single").trigger("click")}});t.ptImageViewerCall("open")}else{if(I(".ajax-content").hasClass("ajax-text-black")){I(".ajax-content").addClass("text-black")}else if(I(".ajax-content").hasClass("ajax-text-white")){I(".ajax-content").addClass("text-white")}t.find(".single-root").addClass("for-ajax");t.find(".single-root.style-01").removeClass("style-01").addClass("style-02");$.addClass("show-ajax");NProgress.done();oe();re();de();r("ajax");le();if(!$.hasClass("lightbox-type-02")){t.addClass("hasScGallery").ptImageViewer({itemSelector:".sc-gallery.lightbox .item:not(.has-video) a.full,.sc-photo-wall .sub-item:not(.has-video) a[data-src]",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"})}if($.hasClass("lightbox-type-02")){if(t.find(".sc-gallery.lightbox").length>0){t.addClass("hasScGallery").ptImageViewer({itemSelector:".sc-gallery.lightbox .item:not(.has-video) a.full",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"})}t.find(".sc-photo-wall.lightbox").ptImageViewer({itemSelector:".sub-item:not(.has-video) .img a[data-src]",fadeTime:600,loop:true,openClass:"iv-for-widgets",skinStyle:"dark"})}I(".ajax-content .sc-text-carousel .item").css("height",I(".single-roll-inner").height());I(".ajax-content .sc-text-carousel > .wrap.slick-slider").slick("setPosition");if(I(".single-header.raw-proportion").length==0){te()}I(".single-root.inited-for-hs").ptHScrollerCall("resize");I(".ajax-content .sc-banner .text.para-inited").ptElementParallaxCall("resize");t.find(".single-nav a.full,.single-related a.full").addClass("ajax-footer-a for-nav");
1t.find("a.ajax-footer-a").on("click",function(e){var t=I(this).data("href")||this.href;e.preventDefault();e.stopPropagation();var s=G?{opacity:0,right:"50px"}:{opacity:0,left:"50px"};I(".single-root").stop().animate(s,400,"easeOutQuad",function(){NProgress.start();NProgress.configure({easing:"ease",speed:500});I(".single-type-video .single-header .bg-full").ptMediaPlayerCall("dispose",true);I(".single-root").remove();$.removeClass("single-type-02");if(!N&&!H.__pt_not_handle_ajax_history){try{var e=history.state;if(e&&e.callAJAX){history.back()}}catch(e){}}setTimeout(function(){f(t)},500)})})}ce(s);$.trigger("ajax-loaded",[s,a]);if(!N&&!H.__pt_not_handle_ajax_history){try{history.pushState({callAJAX:true,url:a},"",a)}catch(e){}}}var e=I(".ajax-content").hasClass("has-gallery");var s="gallery="+(e?"1":"0")+",url="+a;var i=J.getData(s);if(i){t(i)}else{I.ajax({url:a,type:"get",dataType:"text",data:{single_ajax:1,is_gallery:e},success:function(e){J.setData(s,e);t(e)},error:function(e){console.log("AJAX load single error: "+e);I(".close-single").trigger("click")}})}};I(".ajax-link").on("click",function(e){if(e&&e.ctrlKey){return}I(".ajax-target").empty();var t=I(this).closest(".ptsc");I(".ajax-content").removeClass("ajax-text-black ajax-text-white has-gallery");if(t.hasClass("ajax-text-white")){I(".ajax-content").addClass("ajax-text-white")}else if(t.hasClass("ajax-text-black")){I(".ajax-content").addClass("ajax-text-black")}else{if($.hasClass("site-dark")){I(".ajax-content").addClass("ajax-text-white")}else if($.hasClass("site-light")){I(".ajax-content").addClass("ajax-text-black")}}if(t.hasClass("ajax-gallery")){I(".ajax-content").addClass("has-gallery")}e.preventDefault();e.stopPropagation();var s=I(".ajax-content");var i=I(this).data("href")||this.href;s.fadeIn(20,function(){NProgress.start();NProgress.configure({easing:"ease",speed:500});I(".ajax-bg").addClass("show");if(I(".ajax-content").hasClass("has-gallery")){$.addClass("single-iv-open")}setTimeout(function(){f(i)},500)})});I(".close-single").on("click",function(){NProgress.done();I(".ajax-bg").addClass("temp-trans");setTimeout(function(){I(".ajax-content").removeClass("ajax-text-black ajax-text-white has-gallery");$.removeClass("single-iv-open");I(".ajax-bg").removeClass("show temp-trans");I(".ajax-content").fadeOut(20)},600);I(".single-root").stop().animate({opacity:0,left:"-50px"},400,"easeOutQuad",function(){I(".single-type-video .single-header .bg-full").ptMediaPlayerCall("dispose",true);I(".ajax-content .ptbar-outerWrap").ptBarCall("dispose");I(".single-root").remove();I(".ajax-target").empty();$.removeClass("show-ajax single-type-02");$.trigger("ajax-closed")});I(".ajax-content.has-gallery .ajax-target,.ajax-target.hasScGallery,.ajax-target .sc-photo-wall.lightbox").ptImageViewerCall("dispose");I(".ajax-content.has-gallery .ajax-target").empty();if(!N&&!H.__pt_not_handle_ajax_history){try{var e=history.state;if(e&&e.callAJAX){history.back()}}catch(e){}}});I(".main-content .list-scroller").on("mousedown",function(){$.addClass("pt-mousedown")});I(document).on("mouseup",".pt-mousedown",function(){I("body.pt-mousedown").removeClass("pt-mousedown")});if(!!H.ActiveXObject||"ActiveXObject"in H||navigator.userAgent.indexOf("Edge")>-1){var p=H.__pt_theme_root_url;I(".s-btn.s-btn-prev").css("cursor",'url("'+p+'/data/images/left.ico"),pointer');I(".s-btn.s-btn-next").css("cursor",'url("'+p+'/data/images/right.ico"),pointer');I(".click-layer,.close-single,.close-cate-popup").css("cursor",'url("'+p+'/data/images/close.ico"),pointer')}if(I(".main-content").hasClass("no-scroll")||I(".single-root").hasClass("no-scroll")){$.removeClass("pt-scroll-guide")}try{if(H.localStorage&&H.localStorage.getItem("pt-scroll-tips-hidden")==="1"){$.removeClass("pt-scroll-guide")}}catch(e){}var g=I(".ptsc.need-wait-load .bg-full");var u=g.length;var m=function(){if(u==0){v()}else{u--;g.imagesLoaded({background:R?".img-bg-full":true},m)}};var v=function(){setTimeout(function(){if(I(".site-loader .loader-img").length>0){I(".site-loader .loader-img").animate({opacity:"0"},200,function(){I(".site-loader").addClass("hide")})}else{I(".site-loader").addClass("hide")}},250);setTimeout(function(){I(".site-loader").fadeOut(20,"easeOutQuad",function(){I(".site-loader").addClass("animate-hide")});I(".main-content.inited-for-hs").ptHScrollerCall("resize");if($.hasClass("pt-scroll-guide")){var e=I(".pt-scroll-tips .wrap");e.addClass("show-img");
1e.fadeIn(0,function(){e.animate({bottom:"60px",opacity:"1"},500)});if(e.length>0){var t=I(".pt-scroll-tips").data("timeup");setTimeout(function(){I(".pt-scroll-tips .wrap").fadeOut(200,function(){I(".pt-scroll-tips").remove()})},t)}}},1e3);if(I(".pic-list .clone-page-header").length>0){I(H).trigger("resize",[true])}};var C=function(){I(".pt-scroll-tips .wrap").fadeOut(200,function(){I(".pt-scroll-tips").remove()});try{var e=H.localStorage;if(e){e.setItem("pt-scroll-tips-hidden","1")}}catch(e){}};I(".main-content .list-scroller").one("mousedown",function(){if(!H.DONT_HIDE_SCROLL_GUIDE_BY_PRESSING_SCROLLER){C()}});I(".close-tips").on("click",function(){C()});var b=function(){var i=[];var e=I(".sc-section-title h1,.clone-page-header h1,.sc-fixed-text .pt-h");if(e.length>0){e.each(function(){var e=I(this).css("font-family");var t=e.replace(/,\s*/g,",").split(",");if(t.length>0){var s=t[0];if(i.indexOf(s)<0){i.push(s)}}})}return i};var w=b();if(w.length>0){var y=3e3;var x=[];w.forEach(function(e){var t=new FontFaceObserver(e);x.push(t.load(null,y))});Promise.all(x).then(function(e){m()}).catch(function(e){m()})}else{m()}I(H).on("keyup",function(e){if(e.keyCode===27){var t=I(".popup-player");if(t.length>0){t.find(".close").trigger("click")}else if($.hasClass("show-ajax")){I(".close-single").trigger("click")}}});var k;if($.hasClass("use-pt-popup")){I(".header-additional").append('<div class="pt-popup-btn"><i class="btn call-popup"></i><em></em></div>');if(I(".pt-popup").data("btn-text")){k=I(".pt-popup").data("btn-text");I(".pt-popup-btn em").text(k)}else{I(".pt-popup-btn em").remove()}if(I(".pt-popup").hasClass("icon-style-02")){I(".pt-popup-btn").addClass("icon-02")}if(q.hasClass("icon-style-01")){I(".pt-popup-btn").addClass("icon-outline")}I(".m-call-menu").after(I(".pt-popup-btn").clone());I(".pt-popup").append('<div class="pt-popup-widgets"></div>');I(".pt-popup-widgets").append(I(".header-additional .copyright").clone()).append(I(".header-additional .pt-social").clone())}var M=I(".pt-popup > .wrap"),S=I(".pt-popup"),T;function P(){var e;if(I(".pt-popup .bg").length>0){e=M.outerHeight()+parseInt(S.css("padding-top"))*2;if(e<z){e=z;S.removeClass("overflow")}else{S.addClass("overflow")}I(".pt-popup .bg").css("height",e-10)}}I(H).on("resize",P);if(I(".pt-popup .img .bg-full").length==0){S.addClass("no-img")}if(I(".pt-popup .text").length==0){S.addClass("no-text")}
1if(S.data("color")){T=S.data("color")}I(".pt-popup-btn,.call-popup-clone").on("click",function(){if(S.data("color")){M.css("background-color",T)}S.fadeIn(0,function(){$.addClass("show-popup")});P()});I(".pt-popup .bg,.close-pt-popup").on("click",function(){M.css("transition","transform 0.4s cubic-bezier(0.9, 0.5, 0.4, 0.9),opacity 0.35s");S.addClass("temp");setTimeout(function(){S.fadeOut(0,function(){$.removeClass("show-popup");S.removeClass("temp");M.removeAttr("style")})},420)});I(".pt-popup .bg-full").PtBgConvert();if(q.find(".header-additional .wpml-ls").not(".inited").length>0&&$.hasClass("pt-default-lang-switcher")){var j=q.find(".header-additional .wpml-ls");j.addClass("inited");q.find(".header-additional").append(j);if(j.find("img.wpml-ls-flag").length==0){j.addClass("no-flag")}if(j.hasClass("wpml-ls-legacy-dropdown")||j.hasClass("wpml-ls-legacy-dropdown-click")){j.append('<ul class="pt-wpml-list"></ul>');var A=j.find(".pt-wpml-list");j.find("li").each(function(){if(I(this).children("a").length>0){A.append(I(this).clone())}});A.find("li ul").remove()}if(j.hasClass("wpml-ls-legacy-dropdown-click")||Z){j.on("click",function(){if(!B){I(this).toggleClass("show-sub")}})}}var O=function(e){if(!e){return true}var t=H.location;var s=t.href;s=s.substring(t.protocol.length);s=s.substring(0,s.length-t.hash.length);if(s.indexOf("#")>-1){s=s.substring(0,s.indexOf("#"))}s=s.replace(/\/*$/g,"");if(e.indexOf("http:")===0){e=e.substring("http:".length)}else if(e.indexOf("https:")===0){e=e.substring("https:".length)}if(e.indexOf("#")>-1){e=e.substring(0,e.indexOf("#"))}e=e.replace(/\/*$/g,"");return s===e};!function(){if(!N){return}var l=function(e,t){if(t===undefined){t=true}var s=I(".main-content.pt-hscroller-element");if(s.length===0){s=I(".main-content").find(".pt-hscroller-element")}if(s.length===0||s.hasClass("no-scroll")){return false}if(e){s.ptHScrollerCall("scrollToElement",[e,t])}else{s.ptHScrollerCall("scrollTo",[0,t])}return true};var n=function(e,t){if(t===undefined){t=true}var s=e?Math.round(I(e).position().top-I(H).height()/4):0;var i=Math.round(I(".main-content").scrollTop());if(i!==s){I(".main-content").animate({scrollTop:s+"px"},t?I("body").data("smoothing-scroll-speed")||600:0)}return true};var o=q.find("#main-menu-list > .menu-item");q.find("#main-menu-list").each(function(){var e=I(this).children(".menu-item-home");var t=e.length;if(t>1){var s=[];e.each(function(){var e=I(this).children("a").attr("href")||"";if(e.indexOf("#")>-1&&e.substring(e.indexOf("#")+1)){s.push(this)}});if(s.length===t){s.shift()}s.forEach(function(e){I(e).removeClass("menu-item-home current_page_item current-menu-item current-menu-ancestor")})}});var r=q.find("#main-menu-list > .menu-item-home");var d=function(e){var t=e.closest("nav");t.children("ul").find(".menu-item").removeClass("current_page_item current-menu-item current-menu-ancestor");e.addClass("current_page_item current-menu-item current-menu-ancestor");var s=e;var i=0;while(s.parent().length>0&&s.parent().hasClass("sub-menu")){s=s.parent().closest(".menu-item");s.addClass("current_page_item current-menu-item current-menu-ancestor");if(++i>5){break}}};!function e(){var t=H.location.hash;if(t){var a=t.substring(1);var s=document.getElementById(a);if(s){o.find("a").each(function(e){var t=this.href;if(t.indexOf("#")>-1){var s=t.substring(t.indexOf("#")+1);if(s===a){d(I(this).parent());var i=document.getElementById(a);if(i){l(i,false)||n(i,false)}}}})}}}();o.find("a").on("click",function(e){var t=this.href;var s=O(t);if(s&&t.indexOf("#")>-1){e.preventDefault();var i=t.substring(t.indexOf("#")+1);if(i){var a=document.getElementById(i);if(a){try{history.pushState({onepage:true,id:i},"",t)}catch(e){}d(I(this).parent());l(a)||n(a)}}}else if(s){e.preventDefault();try{history.pushState({onepage:true,id:i},"",t)}catch(e){}d(I(this).parent());l()||n()}});I(H).on("popstate",function(e){var t=e.originalEvent;var s=t.state;if(s&&s.callAJAX){return}if(s&&s.onepage){var i=s.id;if(i){var a=document.getElementById(i);if(a){o.find("a").each(function(e){var t=this.href;if(t.indexOf("#")>-1){var s=t.substring(t.indexOf("#")+1);if(s===i){d(I(this).parent())}}});l(a)||n(a)}}else{l()||n();d(r)}}else{l()||n();d(r)}})}();le();
1I(H).on("resize",le)});I(H).on("resize",function(e,t){if(t||!Y){ne();de()}if(I("body.single,.ajax-target div").length>0){oe()}if($.hasClass("hidden-menu-open")){I(".close-hidden-menu").trigger("click")}I(".sc-banner .text.open .close-intro").trigger("click");I("header nav .sub-menu").each(function(){I(this).removeClass("hack-blur");var e=I(this).outerHeight();if(e%2!==0){I(this).addClass("hack-blur")}});setTimeout(function(){I(".ptbar-outerWrap").ptBarCall("resize")},50);I(".pt-swipe-root").ptSwipeCall("useDrag",B)});I(H).on("load",function(){setTimeout(function(){I(".inited-for-hs").ptHScrollerCall("resize")},500);I("header nav .sub-menu").each(function(){I(this).removeClass("hack-blur");var e=I(this).outerHeight();if(e%2!==0){I(this).addClass("hack-blur")}});I(".sc-banner .intro").each(function(){var e=I(this);var t=e.closest(".ptsc");var s=parseInt(e.css("line-height"));var i=s*4+10;var a=e.get(0).scrollHeight;if(a>i){t.addClass("overload");e.css({height:i})}else{e.removeAttr("style");t.removeClass("overload")}})})}(jQuery,window);

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.