Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
michaelgreg /
conwaybrock.com /
index_files /
Delete
Unzip
Name
Size
Permission
Date
Action
embed_data
[ DIR ]
drwxr-xr-x
2026-04-22 17:02
index_data
[ DIR ]
drwxr-xr-x
2026-04-22 17:02
.DS_Store
6
KB
-rw-r--r--
2026-04-22 17:02
a.html
107
B
-rw-r--r--
2026-04-22 17:02
backstretch.themify-version.min.js
6.39
KB
-rw-r--r--
2026-04-22 17:02
building-1-1024x340.jpg
95.01
KB
-rw-r--r--
2026-04-22 17:02
building-1-1536x509.jpg
197.69
KB
-rw-r--r--
2026-04-22 17:02
building-1-300x99.jpg
9.69
KB
-rw-r--r--
2026-04-22 17:02
building-1-768x255.jpg
52.73
KB
-rw-r--r--
2026-04-22 17:02
building-1.jpg
408.58
KB
-rw-r--r--
2026-04-22 17:02
building-1a-692x296.jpg
44.65
KB
-rw-r--r--
2026-04-22 17:02
css.css
14.21
KB
-rw-r--r--
2026-04-22 17:02
embed.html
44.46
KB
-rw-r--r--
2026-04-22 17:02
index.html
892.7
KB
-rw-r--r--
2026-04-22 17:02
jquery-migrate.min.js
13.26
KB
-rw-r--r--
2026-04-22 17:02
jquery.iframe-auto-height.min.js
2.87
KB
-rw-r--r--
2026-04-22 17:02
jquery.min.js
85.5
KB
-rw-r--r--
2026-04-22 17:02
logo7-300x157.png
24.28
KB
-rw-r--r--
2026-04-22 17:02
logo7.png
60.42
KB
-rw-r--r--
2026-04-22 17:02
main.min.js
35.66
KB
-rw-r--r--
2026-04-22 17:02
media-queries.min.css
17.76
KB
-rw-r--r--
2026-04-22 17:02
style.min.css
4.61
KB
-rw-r--r--
2026-04-22 17:02
style.min_002.css
67.07
KB
-rw-r--r--
2026-04-22 17:02
themify-builder-29-generated.css
4.58
KB
-rw-r--r--
2026-04-22 17:02
themify-builder-style.min.css
127.66
KB
-rw-r--r--
2026-04-22 17:02
themify-customizer.css
855
B
-rw-r--r--
2026-04-22 17:02
themify.builder.script.min.js
48.93
KB
-rw-r--r--
2026-04-22 17:02
themify.common.min.css
4
KB
-rw-r--r--
2026-04-22 17:02
themify.gallery.min.js
10.98
KB
-rw-r--r--
2026-04-22 17:02
themify.header-slider.min.js
4.88
KB
-rw-r--r--
2026-04-22 17:02
themify.script.min.js
18.46
KB
-rw-r--r--
2026-04-22 17:02
themify.sidemenu.min.js
1.63
KB
-rw-r--r--
2026-04-22 17:02
themify.slidersection.min.js
3.5
KB
-rw-r--r--
2026-04-22 17:02
wp-emoji-release.min.js
22.23
KB
-rw-r--r--
2026-04-22 17:02
Save
Rename
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,g,f){c instanceof String&&(c=String(c));for(var l=c.length,p=0;p<l;p++){var a=c[p];if(g.call(f,a,p,c))return{i:p,v:a}}return{i:-1,v:void 0}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(c,g,f){c!=Array.prototype&&c!=Object.prototype&&(c[g]=f.value)};$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global&&null!=global?global:c}; $jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(c,g,f,l){if(g){f=$jscomp.global;c=c.split(".");for(l=0;l<c.length-1;l++){var p=c[l];p in f||(f[p]={});f=f[p]}c=c[c.length-1];l=f[c];g=g(l);g!=l&&null!=g&&$jscomp.defineProperty(f,c,{configurable:!0,writable:!0,value:g})}};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(c,f){return $jscomp.findInternal(this,c,f).v}},"es6-impl","es3");$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; $jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(c){return $jscomp.SYMBOL_PREFIX+(c||"")+$jscomp.symbolCounter_++}; $jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var c=$jscomp.global.Symbol.iterator;c||(c=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[c]&&$jscomp.defineProperty(Array.prototype,c,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(c){var g=0;return $jscomp.iteratorPrototype(function(){return g<c.length?{done:!1,value:c[g++]}:{done:!0}})}; $jscomp.iteratorPrototype=function(c){$jscomp.initSymbolIterator();c={next:c};c[$jscomp.global.Symbol.iterator]=function(){return this};return c};$jscomp.iteratorFromArray=function(c,g){$jscomp.initSymbolIterator();c instanceof String&&(c+="");var f=0,l={next:function(){if(f<c.length){var p=f++;return{value:g(p,c[p]),done:!1}}l.next=function(){return{done:!0,value:void 0}};return l.next()}};l[Symbol.iterator]=function(){return l};return l}; $jscomp.polyfill("Array.prototype.keys",function(c){return c?c:function(){return $jscomp.iteratorFromArray(this,function(c){return c})}},"es6-impl","es3");var ThemifyBuilderModuleJs; (function(c){"function"!==typeof NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var g=Array.prototype.slice,f=Array.prototype.splice,l={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1},p=c(window),a=c(document),b=[],d=p.height(),e,h=function(){var m=b.length;if(Themify.is_builder_active||0===m)window.addEventListener("scroll",h,{passive:!0,capture:!0}),p.on("tfsmartresize.sticky", r),window.MutationObserver&&e&&e.disconnect(),b=[];else for(var x=p.scrollTop(),q=a.height(),n=q-d,n=x>n?n-x:0,f=0;f<m;++f){var k=b[f],g=k.stickyWrapper.offset().top,l=k.stickyElement.outerHeight(),g=g-k.topSpacing-n;k.stickyWrapper.css("height",l);if(x<=g)null!==k.currentTop&&(k.stickyElement.css({width:"",position:"",top:""}).parent().removeClass(k.className),k.stickyElement.trigger("sticky-end",[k]),k.currentTop=null);else{g=q-l-k.topSpacing-k.bottomSpacing-x-n;g=0>g?g+k.topSpacing:k.topSpacing; if(k.currentTop!==g){var u=k.stickyElement.width();if(k.getWidthFrom)var z=k.stickyElement.innerWidth()-u,u=c(k.getWidthFrom).width()-z||u;else k.widthFromWrapper&&(u=k.stickyWrapper.width());k.stickyElement.css({width:u,position:"fixed",top:g}).parent().addClass(k.className);null===k.currentTop?k.stickyElement.trigger("sticky-start",[k]):k.stickyElement.trigger("sticky-update",[k]);k.currentTop===k.topSpacing&&k.currentTop>g||null===k.currentTop&&g<k.topSpacing?k.stickyElement.trigger("sticky-bottom-reached", [k]):null!==k.currentTop&&g===k.topSpacing&&k.currentTop<g&&k.stickyElement.trigger("sticky-bottom-unreached",[k]);k.currentTop=g}u=k.stickyWrapper.parent();z=k.stickyElement.offset().top;z+l>=u.offset().top+u.outerHeight()&&z<=k.topSpacing?k.stickyElement.css({position:"absolute",top:"",bottom:0}):k.stickyElement.css({position:"fixed",top:g,bottom:""})}}},r=function(a){var e=b.length;if(0<e)for(d=a.h,a=0;a<e;a++){var m=b[a],h=null;m.getWidthFrom&&m.responsiveWidth?h=c(m.getWidthFrom).width():m.widthFromWrapper&& (h=m.stickyWrapper.width());null!==h&&m.stickyElement.css("width",h)}},n={init:function(a){return this.each(function(){var e=c.extend({},l,a),d=c(this),m=d.prop("id"),h=m?m+"-"+l.wrapperClassName:l.wrapperClassName,f=c("<div></div>").prop("id",h).addClass(e.wrapperClassName);d.wrapAll(function(){if(0===c(this).parent("#"+h).length)return f});m=d.parent();e.center&&m.css({width:d.outerWidth(),marginLeft:"auto",marginRight:"auto"});"right"===d.css("float")&&d.css({"float":"none"}).parent().css({"float":"right"}); e.stickyElement=d;e.stickyWrapper=m;e.currentTop=null;b.push(e);n.setWrapperHeight(this);n.setupChangeListeners(this)})},setWrapperHeight:function(a){a=c(a);var b=a.parent();b&&b.css("height",a.outerHeight())},setupChangeListeners:function(a){window.MutationObserver?(e=new window.MutationObserver(function(c){(c[0].addedNodes.length||c[0].removedNodes.length)&&n.setWrapperHeight(a)}),e.observe(a,{subtree:!0,childList:!0})):(a.addEventListener("DOMNodeInserted",function(){n.setWrapperHeight(a)},{passive:!0}), a.addEventListener("DOMNodeRemoved",function(){n.setWrapperHeight(a)},{passive:!0}))},update:h,unstick:function(a){return this.each(function(){for(var a=c(this),e=-1,d=b.length;0<d--;)b[d].stickyElement.get(0)===this&&(f.call(b,d,1),e=d);-1!==e&&a.unwrap().css({width:"",position:"",top:"","float":""})})}};c.fn.sticky=function(a){if(n[a])return n[a].apply(this,g.call(arguments,1));if("object"!==typeof a&&a)c.error("Method "+a+" does not exist on jQuery.sticky");else return n.init.apply(this,arguments)}; c.fn.unstick=function(a){if(n[a])return n[a].apply(this,g.call(arguments,1));if("object"!==typeof a&&a)c.error("Method "+a+" does not exist on jQuery.sticky");else return n.unstick.apply(this,arguments)};c(function(){Themify.is_builder_active||(setTimeout(h,0),window.addEventListener("scroll",h,{passive:!0,capture:!0}),p.on("tfsmartresize.sticky",r))})})(jQuery); (function(c){c.fn.tabify=function(){return this.each(function(){if(!this.getAttribute("data-tabify")){this.setAttribute("data-tabify",!0);var g=this.getElementsByClassName("tab-nav");if(void 0!==g[0]){var f=g[0].getElementsByTagName("li"),l=this;f[0].classList.add("current");for(var p=f.length-1;-1<p;--p)c(f[p]).on("click",function(){c(this).addClass("current").attr("aria-expanded","true").siblings().removeClass("current").attr("aria-expanded","false");c(this).closest(".module-tab").find(".tab-nav-current-active").text(c(this).text()); var a=c(this).find("a").attr("href");c(a).attr("aria-hidden","false").trigger("resize").siblings(".tab-content").attr("aria-hidden","true");Themify.body.triggerHandler("tb_tabs_switch",[a,l]);Themify.is_builder_active||c(window).triggerHandler("resize");c(this).closest(".module-tab").find(".tab-nav-current-active").click();return!1});f=null;for(p=g.length-1;-1<p;--p)for(var f=g[p].querySelectorAll('a[href^="#tab-"]'),a=f.length-1;-1<a;--a)c(f[a]).on("click",function(a){a.preventDefault();a=c(this).prop("hash").replace("#tab-", "");a=c(".tab-nav:first",l).siblings(".tab-content").eq(a-1).prop("id");c('a[href^="#'+a+'"]').trigger("click")});g=null;c(".tab-nav-current-active",l).click(function(){var a=c(this);a.hasClass("clicked")?a.removeClass("clicked"):(0<a.position().left&&a.position().left<=a.closest(".module-tab").width()/2?a.next(".tab-nav").removeClass("right-align").addClass("center-align"):a.position().left>a.closest(".module-tab").width()/2?a.next(".tab-nav").removeClass("center-align").addClass("right-align"): a.next(".tab-nav").removeClass("center-align right-align"),a.addClass("clicked"))})}}})}})(jQuery); (function(c,g){function f(a,b){this.element=a;this.options=c.extend({},d,b);this.init()}var l=c(g),p=null,a=!1,b=!1,d={xpos:"50%",speedFactor:.1};f.prototype={items:[],top:0,index:0,scrollEvent:null,init:function(){this.top=this.element.offset().top;this.items.push(this);b||(p=l.height(),a=ThemifyBuilderModuleJs._isMobile(),l.on("tfsmartresize.builderParallax",this.resize.bind(this)),this.scrollEvent=this.scroll.bind(this),g.addEventListener("scroll",this.scrollEvent,{passive:!0,capture:!0}),b=!0); this.update()},scroll:function(){for(var a in this.items)this.items[a].update(a)},resize:function(){p=l.height();for(var a in this.items)this.items[a].top=this.items[a].element.offset().top,this.items[a].update(a)},destroy:function(a){void 0!==this.items[a]&&(this.items.splice(a,1),0===this.items.length&&(l.off("tfsmartresize.builderParallax"),g.removeEventListener("scroll",this.scrollEvent,{passive:!0,capture:!0}),b=!1))},update:function(c){if(!1===document.body.contains(this.element[0])||-1===this.element[0].className.indexOf("builder-parallax-scrolling"))this.destroy(c); else{c=l.scrollTop();var b=this.element.offset().top,e=this.element.outerHeight(!0);b+e<c||b>c+p||(a?(b=this.element.outerWidth(!0),b=Math.round(.15*(e>b?e:b)),200>b&&(b=200),this.element.css({backgroundSize:"auto "+Math.round(e+2*b)+"px","background-position-y":Math.round((this.top-c)*this.options.speedFactor-b)+"px"})):this.element.css("background-position-y",Math.round((this.top-c)*this.options.speedFactor)+"px"))}}};c.fn.builderParallax=function(a){return this.each(function(){c.data(this,"plugin_builderParallax", new f(c(this),a))})}})(jQuery,window); (function(c,g,f,l,p){ThemifyBuilderModuleJs={wow:null,is_mobile:null,loaded:{},fwvideos:[],init:function(){"complete"!==l.readyState&&"interactive"!==l.readyState?c(this.document_ready):this.document_ready();if(g.loaded)this.window_load();else c(g).one("load",this.window_load);if(g.onresize)this.window_resize();else c(g).on("tfsmartresize.moduleTabs",this.window_resize)},document_ready:function(){var a=ThemifyBuilderModuleJs;a.setupBodyClasses();f.body.triggerHandler("themify_builder_loaded");if(""=== tbLocalScript.fullwidth_support)c(g).on("tfsmartresize.tbfullwidth",function(c){a.setupFullwidthRows(null,!0)});a.tabsClick();f.is_builder_active||(a.addonLoad(),""===tbLocalScript.fullwidth_support&&a.setupFullwidthRows(),a.GridBreakPoint(),tbLocalScript.isAnimationActive&&a.wowInit(),a.carousel(),a.touchdropdown(),a.tabs(),a.onInfScr(),a.menuModuleMobileStuff(),a.playFocusedVideoBg(),a.alertModule(),a.pageBreakPagination(),c(g).on("hashchange",this.tabsDeepLink),a.optinModuleInit(),a.signupModuleInit(), a.socialShareModule());a.showcaseGallery();c(g).on("tfsmartresize.tblink",function(){a.menuModuleMobileStuff(!0)});a.InitScrollHighlight();a.readMoreLink();a.galleryPagination();a.loginModuleInit()},window_load:function(){var a=ThemifyBuilderModuleJs;g.loaded=!0;f.is_builder_active?a.wowApplyOnHover():(a.charts(),a.fullwidthVideo(),a.backgroundSlider(),a.backgroundZoom(),a.backgroundZooming(),a.stickyElementInit(),tbLocalScript.isParallaxActive&&a.backgroundScrolling(),a.tabsDeepLink(),a.gallery(), f.body.on("infiniteloaded.themify",function(c,d){if("undefined"!==typeof tbLocalScript){var b=d[0].getElementsByClassName("tb_async_module");null===tbLocalScript.addons&&(tbLocalScript.addons={});for(var h=b.length-1;-1<h;--h){var r=b[h].getAttribute("data-data");if(r){var r=JSON.parse(r),n=b[h].getAttribute("data-external"),n=n?JSON.parse(n):null,m;for(m in r)a.loaded[m]===p&&(a.loaded=!0,n&&(r[m].external=n),tbLocalScript.addons[m]=r[m],a.addonLoad(d,m))}b[h].parentNode.removeChild(b[h])}f.body.triggerHandler("builder_load_module_partial", [d]);a.loadOnAjax(d)}}));a.videoPlay();a.accordion()},window_resize:function(){var a=l.querySelectorAll(".module-tab[data-tab-breakpoint]"),c=a.length;if(0<c)for(var d=g.innerWidth,e=0;e<c;++e)if(parseInt(a[e].getAttribute("data-tab-breakpoint"))>=d)a[e].classList.add("responsive-tab-style");else{a[e].classList.remove("responsive-tab-style");for(var h=a[e].getElementsByClassName("tab-nav"),f=h.length-1;-1<f;--f)h[f].classList.remove("right-align"),h[f].classList.remove("center-align")}},wowInit:function(a, b){function d(){e.animationOnScroll(b);e.wow=new WOW({live:!0,offset:"undefined"!==typeof tbLocalScript&&tbLocalScript?parseInt(tbLocalScript.animationOffset):100});e.wow.init();(function(){"undefined"!==typeof e.wow.__proto__&&(e.wow.__proto__.applyStyle=function(a,c){var b=a.getAttribute("data-wow-duration"),e=a.getAttribute("class"),d=e.match(/animation_effect_repeat_(\d*)/),h=e.match(/animation_effect_delay_((?:\d+\.?\d*|\.\d+))/);null!==h&&(h=h[1]+"s");null!==d&&(d=d[1]);return this.animate(function(e){return function(){return e.customStyle(a, c,b,h,d)}}(this))})})();f.is_builder_active||e.wowApplyOnHover()}var e=ThemifyBuilderModuleJs;if(b&&e.wow)e.wow.doSync(),e.wow.sync();else if(a=a||d,"undefined"!==typeof tbLocalScript&&"undefined"!==typeof tbLocalScript.animationInviewSelectors&&(c(tbLocalScript.animationInviewSelectors.toString()).length||c(".hover-wow").length)){if(e.wow)return a(),e.wow;f.LoadCss(tbLocalScript.builder_url+"/css/animate.min.css",null,null,null,function(){f.LoadAsync(themify_vars.url+"/js/wow.min.js",a,null,null, function(){return e.wow})})}},wowApplyOnHover:function(){var a=!1;c(l).on("mouseenter",".hover-wow",function(){if(!1===a){a=!0;var b=this.getAttribute("class").match(/hover-animation-(\w*)/),d=this.style.animationName;""!=d&&c(this).css("animation-name","").removeClass(d);c(this).off("animationend").one("animationend",function(b){c(this).removeClass("animated tb_hover_animate "+b.originalEvent.animationName);a=!1}).addClass("animated tb_hover_animate "+b[1])}})},setupFullwidthRows:function(a,b){function d(a){var c= y.data(k+"-"+a);if(c===p&&"desktop"!==k)for(var b=v.indexOf(k)+1;4>b;++b)if(v[b]!==p&&(c=y.data(v[b]+"-"+a),c!==p)){y.data(k+"-"+a,c);break}return c!==p?c.split(","):[]}var e=f.is_builder_active;if(""===tbLocalScript.fullwidth_support){if(a)if(a[0].classList.contains("fullwidth")||a[0].classList.contains("fullwidth_row_container"))a=a.get();else return;else if(e||this.rows===p?(a=l.querySelectorAll(".fullwidth.module_row,.fullwidth_row_container.module_row"),e||(this.rows=a)):a=this.rows,0===a.length)return; var h=c(tbLocalScript.fullwidth_container),r=h.outerWidth(),h=h.offset().left;if(0!==r){var n="",m=tbLocalScript.breakpoints.tablet,x=tbLocalScript.breakpoints.tablet_landscape,q=tbLocalScript.breakpoints.mobile,v=["mobile","tablet","tablet_landscape","desktop"],w=c(g).width(),k="desktop";w<=q?k="mobile":w<=m[1]?k="tablet":w<=x[1]&&(k="tablet_landscape");m=0;for(x=a.length;m<x;++m){var y=c(a[m]);var t=y.closest(".themify_builder_content");if(0!==t.length&&0===t.closest(".slide-content").length){q= t.offset().left-h;w=r-q-t.outerWidth();if(e){if(t[0].classList.contains("tb_zooming_50")||t[0].classList.contains("tb_zooming_75"))w=q=0}else var u=y.attr("class").match(/module_row_(\d+)/)[1],n=n+(".themify_builder.themify_builder_content .themify_builder_"+t.data("postid")+"_row.module_row_"+u+".module_row{");if(a[m].classList.contains("fullwidth"))t=d("margin"),u="",t[0]?(u=t[0],n+="margin-left:calc("+t[0]+" - "+Math.abs(q)+"px);"):n+="margin-left:"+-q+"px;",t[1]?(""!==u&&(u+=" + "),u+=t[1],n+= "margin-right:calc("+t[1]+" - "+Math.abs(w)+"px);"):n+="margin-right:"+-w+"px;",n+=""!==u?"width:calc("+r+"px - ("+u+"));":"width:"+r+"px;";else if(n+="margin-left:"+-q+"px;margin-right:"+-w+"px;width:"+r+"px;",q||w)t=d("padding"),u="+",q&&(t[0]?(0>q&&(u="-"),n+="padding-left:calc("+t[0]+" "+u+" "+Math.abs(q)+"px);"):n+="padding-left:"+Math.abs(q)+"px;"),w&&(t[1]?(u=0<w?"+":"-",n+="padding-right:calc("+t[1]+" "+u+" "+Math.abs(w)+"px);"):n+="padding-right:"+Math.abs(w)+"px;");e?(a[m].style.paddingRight= a[m].style.paddingLeft=a[m].style.marginRight=a[m].style.marginLeft="",a[m].style.cssText+=n,n=""):n+="}"}}e||(n='<style id="tb-fulllwidth-styles" type="text/css">'+n+"</style>",c("#tb-fulllwidth-styles").remove(),l.head.insertAdjacentHTML("beforeend",n),!0!==b&&c(g).triggerHandler("resize"))}}},addQueryArg:function(a,c,d){d=d||g.location.href;var b,h=new RegExp("([?&])"+a+"=.*?(&|#|$)(.*)","gi");return h.test(d)?"undefined"!==typeof c&&null!==c?d.replace(h,"$1"+a+"="+c+"$2$3"):(b=d.split("#"),d= b[0].replace(h,"$1$3").replace(/(&|\?)$/,""),"undefined"!==typeof b[1]&&null!==b[1]&&(d+="#"+b[1]),d):"undefined"!==typeof c&&null!==c?(h=-1!==d.indexOf("?")?"&":"?",b=d.split("#"),d=b[0]+h+a+"="+c,"undefined"!==typeof b[1]&&null!==b[1]&&(d+="#"+b[1]),d):d},onInfScr:function(){var a=ThemifyBuilderModuleJs;c(l).ajaxSend(function(c,d,e){c=e.url.replace(/^(.*?)(\/page\/\d+\/)/i,"$2");d=/^\/page\/\d+\//i;var b;null!==(b=d.exec(c))&&b.index===d.lastIndex&&d.lastIndex++;null!==b&&(e.url=a.addQueryArg("themify_builder_infinite_scroll", "yes",e.url))})},InitScrollHighlight:function(){1!=tbLocalScript.loadScrollHighlight||!f.is_builder_active&&null===l.querySelector("div[class*=tb_section-]")||f.LoadAsync(tbLocalScript.builder_url+"/js/themify.scroll-highlight.js",function(){themifyScrollHighlight.init(tbScrollHighlight?tbScrollHighlight:{})},null,null,function(){return g.themifyScrollHighlight!==p})},backgroundSlider:function(a){function b(){var a=tbLocalScript.backgroundSlider.autoplay,a=parseInt(a,10);10>=a&&(a*=1E3);d.each(function(){var b= c(this),d=b.parent(),e=[],m=[],x=b.data("bgmode"),q=b.data("sliderspeed");b.find("li").each(function(){e.push(c(this).attr("data-bg"));m.push(c(this).attr("data-bg-alt"))});var v=4<e.length?4:e.length;d.tb_backstretch(e,{speed:parseInt(q),duration:a,mode:x});var e=null,w=d.data("tb_backstretch");b.find(".row-slider-prev,.row-slider-next").on("click",function(a){a.preventDefault();c(this).hasClass("row-slider-prev")?w.prev():w.next()});b.find(".row-slider-dot").on("click",function(){w.show(c(this).data("index"))}); var k=b.find(".row-slider-slides > li");k.length&&(k.eq(0).addClass("row-slider-dot-active"),b.parent().on("tb_backstretch.show",function(a,c){var b=k.eq(w.index);b.length&&(k.removeClass("row-slider-dot-active"),b.addClass("row-slider-dot-active"))}));if("kenburns-effect"===b.attr("data-bgmode")){var l,t=0;b.parent().on("tb_backstretch.before",function(a,c){setTimeout(function(){l!=c.index&&(c.$wrap.find("img").last().addClass("kenburns-effect"+(t+1>v?t=1:++t)),l=c.index)},50)}).on("tb_backstretch.after", function(a,c){var b=c.$wrap.find("img").last();/kenburns-effect\d/.test(b.attr("class"))||(b.addClass("kenburns-effect"+(t+1>v?t=1:++t)),l=c.index)})}c(g).on("backstretch.before backstretch.show",function(a,c,b){f.is_builder_active&&d.css("zIndex",0);m[b]!==p&&setTimeout(function(){c.$wrap.find("img:not(.deleteable)").attr("alt",m[b])},1)})})}var d=c(".tb_slider",a);0<d.length&&("undefined"===typeof c.fn.tb_backstretch?f.LoadAsync(themify_vars.url+"/js/backstretch.themify-version.js",b,null,null, function(){return"undefined"!==typeof c.fn.tb_backstretch}):b())},fullwidthVideo:function(a,b){a&&(a=a.data("fullwidthvideo")?a:c("[data-fullwidthvideo]",a));b=b||c(".themify_builder");a=a||c("[data-fullwidthvideo]",b);if(0<a.length){var d=this,e=this._isMobile(),h=[],g=[],n=[];a.each(function(a){a=c(this);var b=a.data("fullwidthvideo");if(!b)return!0;a.children(".big-video-wrap").remove();b=f.parseVideo(b);"youtube"===b.type?!e&&b.id&&h.push({el:a,id:b.id}):"vimeo"===b.type?!e&&b.id&&g.push({el:a, id:b.id}):n.push(a)});a=null;if(0<n.length)if(e){for(var m=n.length-1;-1<m;--m)if("play"===n[m].data("playonmobile")){var x=n[m].data("fullwidthvideo"),x='<div class="big-video-wrap"><video class="video-'+f.hash(m+"-"+x)+'" muted="true" autoplay="true" loop="true" playsinline="true" ><source src="'+x+'" type="video/mp4"></video></div>';n[m][0].insertAdjacentHTML("afterbegin",x)}n=null}else f.LoadAsync(themify_vars.url+"/js/bigvideo.js",function(){d.fullwidthVideoCallBack(n);n=null},null,null,function(){return"undefined"!== typeof c.fn.ThemifyBgVideo});0<g.length&&f.LoadAsync(tbLocalScript.builder_url+"/js/froogaloop.min.js",function(){d.fullwidthVimeoCallBack(g);g=null},null,null,function(){return"undefined"!==typeof $f});0<h.length&&(c.fn.ThemifyYTBPlayer?d.fullwidthYoutobeCallBack(h):f.LoadAsync(tbLocalScript.builder_url+"/js/themify-youtube-bg.js",function(){d.fullwidthYoutobeCallBack(h);h=null},null,null,function(){return"undefined"!==typeof c.fn.ThemifyYTBPlayer}))}},videoParams:function(a){var c="unmute"!==a[0].getAttribute("data-mutevideo"); a="unloop"!==a[0].getAttribute("data-unloopvideo");return{mute:c,loop:a}},fullwidthVideoCallBack:function(a){for(var c=a.length-1;-1<c;--c){var d=a[c].data("fullwidthvideo"),e=ThemifyBuilderModuleJs.videoParams(a[c]);a[c].ThemifyBgVideo({url:d,doLoop:e.loop,ambient:e.mute,id:f.hash(c+"-"+d)})}},fullwidthYoutobeCallBack:function(a){function c(){for(var c=a.length-1;-1<c;--c){var b=d.videoParams(a[c].el);a[c].el.ThemifyYTBPlayer({videoID:a[c].id,id:a[c].el.closest(".themify_builder_content").data("postid")+ "_"+c,mute:b.mute,loop:b.loop,mobileFallbackImage:tbLocalScript.videoPoster})}}var d=this;g.YT===p||"undefined"===typeof YT.Player?f.LoadAsync("//www.youtube.com/iframe_api",function(){g.onYouTubePlayerAPIReady=c},null,null,function(){return g.YT!==p&&"undefined"!==typeof YT.Player}):c()},fullwidthVimeoCallBack:function(a){function b(a){var c=a.outerWidth(!0),b=a.outerHeight(!0),d=Math.ceil(c/1.7);a.find("iframe").width(c).height(d).css({left:0,top:(b-d)/2})}var d=this;"undefined"===typeof d.fullwidthVimeoCallBack.counter&& (d.fullwidthVimeoCallBack.counter=1,c(g).on("tfsmartresize.tfVideo",function k(e){for(var m in a)a[m]&&(e=a[m].el.children(".themify-video-vmieo"),0<e.length?b(e):delete a[m]);0===a.length&&(d.fullwidthVimeoCallBack.counter="undefined",c(g).off("tfsmartresize.tfVideo",k))}));var e=l.getElementsByClassName("themify-video-vmieo").length,h;for(h in a)if(a[h]){var f=a[h].el,n=e+parseInt(h),m=d.videoParams(f),x=l.createElement("div"),q=l.createElement("iframe");x.className="big-video-wrap themify-video-vmieo"; q.id="themify-vimeo-"+n;q.setAttribute("frameborder",0);q.setAttribute("allowfullscreen",!0);q.setAttribute("webkitallowfullscreen",!0);q.setAttribute("mozallowfullscreen",!0);q.src="//player.vimeo.com/video/"+a[h].id+"?api=1&portrait=0&title=0&badge=0&player_id=themify-vimeo-"+n;x.appendChild(q);f[0].insertAdjacentElement("afterbegin",x);var v=$f(q);v.addEvent("ready",function(){v.api("setLoop",m.loop);v.api("setVolume",m.mute?0:1);v.api("fullscreen",0);var a=f.children(".themify-video-vmieo");1< a.length&&a.slice(1).remove();b(a);v.api("play")})}},playFocusedVideoBg:function(){var a=ThemifyBuilderModuleJs,b=function(){f.is_builder_active&&(g.removeEventListener("scroll",b,{passive:!0,capture:!0}),g.removeEventListener("mouseenter",b,{passive:!0,capture:!0}),g.removeEventListener("keydown",b,{passive:!0,capture:!0}),c(g).off("assignVideo",b));if(!(0< !a.fwvideos.length)){var d=g.innerHeight,e;for(e in a.fwvideos){var h=a.fwvideos[e].getPlayer();if(h.isPlaying||!h.source)break;var r=h.P.getBoundingClientRect(); 0<=r.bottom&&r.top<=d&&(h.show(h.source),h.isPlaying=!0)}}};g.addEventListener("scroll",b,{passive:!0,capture:!0});g.addEventListener("mouseenter",b,{passive:!0,capture:!0});g.addEventListener("keydown",b,{passive:!0,capture:!0});c(g).on("assignVideo",b)},charts:function(a){function b(){function a(a){var b="",d=l.createElement("style");d.type="text/css";d.id="chart-html5-styles";for(var e in a)b+='.module-feature-chart-html5[data-progress="'+e+'"] .chart-html5-full,.module-feature-chart-html5[data-progress="'+ e+'"] .chart-html5-fill {transform:rotate('+a[e]+"deg);}";d.styleSheet?d.styleSheet.cssText=b:d.appendChild(l.createTextNode(b));c("#chart-html5-styles").remove();l.getElementsByTagName("head")[0].insertAdjacentElement("beforeend",d)}var b=function(a){var c=Math.min(a.data("size"),a.closest(".module-feature").width()),b=Math.ceil(c/2);a.css({width:c,height:c}).find(".chart-html5-mask").css({borderRadius:"0 "+b+"px "+b+"px 0",clip:"rect(0px, "+c+"px, "+c+"px, "+b+"px)"});a.find(".chart-html5-fill").addClass("chart-loaded").css({borderRadius:b+ "px 0 0 "+b+"px",clip:"rect(0px, "+b+"px, "+c+"px, 0px)"})},n=(1.8).toFixed(2),m=!1;d.each(function(){var a=c(this).data("progress-end");a===p&&(a=100);e.charts_data[a]===p&&(e.charts_data[a]=parseFloat(n*a).toFixed(2)-.1,m=!0);b(c(this))});!0===m&&a(e.charts_data);if(!f.body[0].classList.contains("full-section-scrolling-horizontal"))d.each(function(){var a=c(this);a.closest(".module_row_slide").is(":not(:first-child)")?a.waypoint(function(){a.attr("data-progress",a.data("progress-end"))},{horizontal:!0, offset:"right-in-view"}):a.waypoint(function(){a.attr("data-progress",a.data("progress-end"))},{offset:"100%",triggerOnce:!0})});else if(!f.is_builder_active)f.body.on("themify_onepage_afterload",function(a,b){b.find(".module-feature-chart-html5").each(function(){c(this).attr("data-progress",c(this).data("progress-end"))})});c(g).on("tfsmartresize.charts",function(){d.each(function(){b(c(this))})})}var d=c(".module-feature-chart-html5",a),e=this;0<d.length&&(this.charts_data===p&&(this.charts_data= {}),f.LoadAsync(themify_vars.url+"/js/waypoints.min.js",b,null,null,function(){return"undefined"!==typeof c.fn.waypoint}))},carousel:function(a){var b=c(".themify_builder_slider",a);if(0<b.length){var d=this,e=function(){return tbLocalScript&&tbLocalScript.breakpoints?tbLocalScript.breakpoints.mobile>g.innerWidth:d._isMobile()},h=function(){var a=function(a){if("video"===a.data("type")){var b=a.children().map(function(){return c(this).height()});a.parent().height(Math.max.apply(null,b))}else if(a.closest(".module-slider").is(".slider-overlay, .slider-caption-overlay")){var b= a.find(".slide-content"),d=0;b.eq(0).attr("style")===p?(d=parseFloat(b.eq(0).css("bottom")),a.data("captionOffset",d)):a.data("captionOffset")&&(d=a.data("captionOffset"));b.each(function(){var b=c(this),e=b.closest(".slide-inner-wrap").height()-a.parent().height();b.css("bottom",e+d)})}},d=function(a,b){a.carouFredSel(b);if(b.auto&&0===b.auto.timeoutDuration&&b.next&&b.prev&&b.scroll)c([b.next,b.prev].join()).on("click",function(){a.trigger("finish").trigger(c(this).is(b.next)?"next":"prev",[{duration:2* b.scroll.duration}])})};b.each(function(){if(this.classList.contains("carousel_init"))return!0;this.classList.add("carousel_init");var b=c(this),n=b.find("img").length,h=b.closest(".themify_builder_slider_wrap"),r="undefined"===typeof b.data("height")?"variable":b.data("height"),l=e()&&b.data("mob-visible")?b.data("mob-visible"):{min:1,max:b.data("visible")},k={responsive:!0,circular:!0,infinite:!0,height:r,items:{visible:l,width:150,height:"variable"},onCreate:function(d){h.css({visibility:"visible", height:"auto"});b.trigger("updateSizes");c(".tb_slider_loader").remove();"auto"===r&&a(b);f.body.triggerHandler("tb_slider_created",d)},swipe:{onMouse:!0,onTouch:!0,options:{swipeLeft:function(){b.trigger("next",!0)},swipeRight:function(){b.trigger("prev",!0)},click:function(a,d){var e=b.closest(".carousel-wrap").prev().find(".themify_builder_slider").first();e.trigger("slideTo",c('li[data-index="'+c(d).closest("li").data("index")+'"]',e))}}}};if(2>b.children().length)h.css({visibility:"visible", height:"auto"}),c(".tb_slider_loader").remove(),c(g).triggerHandler("resize");else{b.data("horizontal")&&"yes"===b.data("horizontal")?(k.mousewheel=!0,k.swipe={onMouse:!0,onTouch:!0},k.items={visible:l},k.scroll={items:2,duration:1E3,timeoutDuration:0,easing:"linear"},k.auto=!1,k.circular=!1,k.infinite=!1):(0<parseInt(b.data("auto-scroll"))?k.auto={play:!0,timeoutDuration:parseInt(1E3*b.data("auto-scroll"))}:"continuously"===b.data("effect")||"undefined"===typeof b.data("auto-scroll")&&0!==parseInt(b.data("auto-scroll"))|| (k.auto=!1),"continuously"===b.data("effect")?(l=b.data("speed"),l=.5==l?.1:4==l?.04:.07,k.auto={timeoutDuration:0},k.align=!1,k.scroll={delay:1E3,easing:"linear",items:b.data("scroll"),duration:l,pauseOnHover:b.data("pause-on-hover")}):k.scroll={items:b.data("scroll"),pauseOnHover:b.data("pause-on-hover"),duration:parseInt(1E3*b.data("speed")),fx:b.data("effect")},l=b.data("id"),"yes"===b.data("arrow")&&(k.prev="."+l+" .carousel-prev",k.next="."+l+" .carousel-next"),"yes"===b.data("pagination")&& (k.pagination={container:"."+l+" .carousel-pager",items:b.data("visible")}));"no"===b.data("wrap")&&(k.circular=!1,k.infinite=!1);b.data("sync")&&(k.synchronise=[b.data("sync"),!1]);0<n?f.imagesLoad(b,function(){d(b,k)}):d(b,k);k.scroll.onBefore=function(a){f.body.triggerHandler("tb_slider_before_scroll",a)};k.scroll.onAfter=function(a){f.body.triggerHandler("tb_slider_after_scroll",a)};c(".mejs__video").on("resize",function(a){a.stopPropagation()});var p;c(g).on("tfsmartresize",function(){c(".mejs__video").resize(); "auto"===r&&a(b);p&&"desktop"!==p&&"mobile"!==p||!b.data("mob-visible")||!e()?p&&"mobile"!==p||(p="desktop",b.trigger("finish").trigger("configuration",{items:{visible:b.data("visible")}})):(p="mobile",b.trigger("finish").trigger("configuration",{items:{visible:b.data("mob-visible")}}));b.trigger("updateSizes")})}})};f.imagesLoad(function(){"undefined"===typeof c.fn.carouFredSel?f.LoadAsync(themify_vars.url+"/js/carousel.min.js",h,null,null,function(){return"undefined"!==typeof c.fn.carouFredSel}): h()})}},addonLoad:function(a,b){if(g.tbLocalScript!==p&&g.tbLocalScript.addons&&0<Object.keys(g.tbLocalScript.addons).length){if(b){if(tbLocalScript.addons[b]===p)return;var c={};c[b]=tbLocalScript.addons[b]}else c=tbLocalScript.addons;for(var e in c)if(null!==l.querySelector(c[e].selector)&&(c[e].css&&f.LoadCss(c[e].css,c[e].ver),c[e].js&&f.LoadAsync(c[e].js,null,c[e].ver,{before:c[e].external}),delete tbLocalScript.addons[e],a))break;f.is_builder_active||(tbLocalScript.addons=null)}},loadOnAjax:function(a, b){var c=ThemifyBuilderModuleJs;"row"===b&&c.setupFullwidthRows(a);c.touchdropdown(a);c.tabs(a);c.carousel(a);c.charts(a);c.fullwidthVideo(a,null);c.backgroundSlider(a);var e=null,h=null,r=null;a&&(e=a.find(".builder-zoom-scrolling"),a[0].classList.contains("builder-zoom-scrolling")&&(e=e.add(a)),h=a.find(".builder-zooming"),a[0].classList.contains("builder-zooming")&&(h=h.add(a)),tbLocalScript.isParallaxActive&&(r=a.find(".builder-parallax-scrolling"),a[0].classList.contains("builder-parallax-scrolling")&& (r=r.add(a))));(null===e||0<e.length)&&c.backgroundZoom(e);(null===h||0<h.length)&&c.backgroundZooming(h);tbLocalScript.isParallaxActive&&(null===r||0<r.length)&&c.backgroundScrolling(r);c.menuModuleMobileStuff(!1,a);tbLocalScript.isAnimationActive&&c.wowInit(null,a);c.gallery(a);e="module"===b&&null!==tb_app.activeModel?tb_app.activeModel.get("mod_name"):!1;c.addonLoad(a,e);c.pageBreakPagination(a);f.domready(a,!0);f.InitGallery();g.wc_single_product_params!==p&&c.initWC(a)},initWC:function(a){c(".wc-tabs-wrapper, .woocommerce-tabs, #rating", a).trigger("init");if("undefined"!==typeof c.fn.wc_product_gallery){var b=g.wc_single_product_params;c(".woocommerce-product-gallery",a).each(function(){c(this).trigger("wc-product-gallery-before-init",[this,b]).wc_product_gallery(b).trigger("wc-product-gallery-after-init",[this,b])})}},touchdropdown:function(a){f.isTouch&&(c.fn.themifyDropdown?c(".module-menu .nav",a).themifyDropdown():f.LoadAsync(themify_vars.url+"/js/themify.dropdown.js",function(){c(".module-menu .nav",a).themifyDropdown()},null, null,function(){return"undefined"!==typeof c.fn.themifyDropdown}))},accordion:function(){f.body.off("click.tb_accordeon").on("click.tb_accordeon",".accordion-title",function(a){a.preventDefault();var b=c(this),d=b.next();a=b.closest("li");var e=a.parent(),h=e.closest(".module.module-accordion").data("behavior"),r=a.toggleClass("current").siblings().removeClass("current");e.hasClass("tf-init-accordion")||e.addClass("tf-init-accordion");"accordion"===h&&r.find(".accordion-content").slideUp().closest("li").removeClass("builder-accordion-active").find(".accordion-title > a").attr("aria-expanded", "false");if(a.hasClass("builder-accordion-active"))d.slideUp(),a.removeClass("builder-accordion-active").find(".accordion-title > a").attr("aria-expanded","false"),d.attr("aria-hidden","true");else if(a.addClass("builder-accordion-active"),d.slideDown(function(){if("accordion"===h&&g.scrollY>d.offset().top){var a=""!=tbScrollHighlight.fixedHeaderSelector?c(tbScrollHighlight.fixedHeaderSelector):null;f.scrollTo(b.offset().top,tbScrollHighlight.speed,function(){null!==a&&0<a.length&&(f.scrollTo(Math.ceil(b.offset().top- a.outerHeight(!0)),300),a=null)})}}),a.find(".accordion-title > a").attr("aria-expanded","true"),d.attr("aria-hidden","false"),(a=d.hasClass("default-closed")?d.find(".themify_map"):!1)&&0<a.length)for(e=0,r=a.length;e<r;++e){var n=c(a[e]).data("gmap_object");"undefined"===typeof n.already_centered||n.already_centered||(n.already_centered=!1);if(!n.already_centered){var m=n.getCenter();google.maps.event.trigger(n,"resize");n.setCenter(m);n.already_centered=!0}}f.body.triggerHandler("tb_accordion_switch", [d]);f.is_builder_active||c(g).triggerHandler("resize")})},tabs:function(a){var b=c(".module.module-tab",a);a&&a[0].classList.contains("module-tab")&&(b=b.add(a));b.each(function(){var a=c(this.getElementsByClassName("tab-nav")[0]),b=a.outerHeight();200<b&&a.siblings(".tab-content").css("min-height",b);f.is_builder_active&&this.removeAttribute("data-tabify");c(this).tabify()})},tabsClick:function(){f.body.on("click",'a[href*="#tab-"]',function(a){if(!c(this).closest(".tab-nav").length){var b=c(this.hash); b.length&&b.closest(".module-tab").length&&(b.closest(".module-tab").find('.tab-nav a[href="'+this.hash+'"]').click(),a.preventDefault())}})},tabsDeepLink:function(){var a=decodeURIComponent(g.location.hash),a=a.replace("!/","");if(""!==a&&"#"!==a&&-1===a.search("/"))for(var b=["accordion","tab"],d=b.length-1;0<=d;--d)if(null!==l.querySelector(a+"."+b[d]+"-content")&&0<c(a).closest(".module-"+b[d]).length){var e=c('a[href="'+a+'"]');setTimeout(function(){e.trigger("click")},1);f.scrollTo(e.offset().top- 100,1E3)}},backgroundScrolling:function(a){a||(a=c(".builder-parallax-scrolling"));a.builderParallax()},backgroundZoom:function(a){function b(d){null!==d&&(a=c(".themify_builder .builder-zoom-scrolling"));if(0<a.length){var e=g.innerHeight;a.each(function(){var a=this.getBoundingClientRect();0<=a.bottom&&a.top<=e&&(a=140-(a.top+this.offsetHeight)/(e+this.offsetHeight)*40,c(this).css("background-size",a+"%"))})}else g.removeEventListener("scroll",b,{passive:!0,capture:!0})}a||(a=c(".themify_builder .builder-zoom-scrolling")); 0<a.length&&(b(null),g.addEventListener("scroll",b,{passive:!0,capture:!0}))},backgroundZooming:function(a){function b(d){null!==d&&(a=c(".themify_builder .builder-zooming"));if(0<a.length){var e=g.innerHeight,f=l.documentElement.clientHeight,r=l.body.clientHeight;a.each(function(){var a;if(a=!this.classList.contains("active-zooming"))a=this.getBoundingClientRect(),a=a.top+this.clientHeight>=(e||f||r)/2&&a.bottom-this.clientHeight<=(e||f||r)/3;a&&c(this).addClass("active-zooming")})}else g.removeEventListener("scroll", b,{passive:!0,capture:!0})}a||(a=c(".themify_builder .builder-zooming"));0<a.length&&(b(null),g.addEventListener("scroll",b,{passive:!0,capture:!0}))},animationOnScroll:function(a){var b=ThemifyBuilderModuleJs,d=tbLocalScript.animationInviewSelectors;f.body.addClass("animation-on");(function(){a=a||!1;0<c(d).length?f.body[0].classList.contains("animation-running")||f.body[0].classList.add("animation-running"):f.body[0].classList.contains("animation-running")&&f.body[0].classList.add("animation-running"); c.each(d,function(a,b){c(b).addClass("wow")});if(a)if(b.wow)b.wow.doSync();else{var e=b.wowInit();e&&e.doSync()}})()},setupBodyClasses:function(){var a=[];this._isTouch()&&a.push("builder-is-touch");this._isMobile()&&a.push("builder-is-mobile");tbLocalScript.isParallaxActive&&a.push("builder-parallax-scrolling-active");if(!f.is_builder_active)for(var c=l.getElementsByClassName("themify_builder_content"),d=c.length-1;-1<d;--d)if(null!==c[d].querySelector(".module_row")){a.push("has-builder");break}for(d= a.length-1;-1<d;--d)f.body[0].classList.add(a[d])},_isTouch:function(){return this._isMobile()||"ontouchstart"in g||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints},_isMobile:function(){null===this.is_mobile&&(this.is_mobile=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/));return this.is_mobile},galleryPagination:function(){f.body.on("click",".module-gallery .pagenav a",function(a){a.preventDefault();var b= c(this).closest(".module-gallery");c.ajax({url:this,beforeSend:function(){b.addClass("builder_gallery_load")},complete:function(){b.removeClass("builder_gallery_load")},success:function(a){if(a){var d=b[0].className.match(/tb_?.[^\s]+/);null!==d&&"undefined"!==typeof d[0]?b.html(c(a).find("."+d[0]).first().html()):b.html(c(a).find(".module-gallery").first().html());ThemifyBuilderModuleJs.gallery(b)}}})})},pageBreakPagination:function(a){var b=c(".post-pagination",a);a&&a[0].classList.contains("post-pagination")&& (b=b.add(a));0!==b.length&&(b.addClass("pagenav clearfix").contents().filter(function(){if(null!==this.nodeValue&&""!==this.nodeValue.replace(/ /g,""))return 1!==this.nodeType}).wrap("<span class='current number'></span>"),b.find("a").addClass("number"),b.css("display","block").find("strong").remove())},gallery:function(a){var b=c(".module-gallery",a),d=this,e=[];a&&a[0].classList.contains("module-gallery")&&(b=b.add(a));b.each(function(){if(this.classList.contains("gallery-masonry"))e.push(this); else if(this.classList.contains("layout-slider")){var a=c(".themify_builder_slider",this);2===a.length&&(a=a.eq(1).children("li"),a.each(function(){c(this).off("click.gallerySlider").on("click.gallerySlider",function(a){a.preventDefault();c(this).closest(".themify_builder_slider").eq(0).trigger("slideTo",c(this).index())})}),a=null)}else this.classList.contains("layout-showcase")&&d.showcaseGalleryCallback(c(this).find("a").first())});0<e.length&&f.isoTop(e,{itemSelector:".gallery-item",stamp:".module-title", masonry:{gutter:".module-gallery-gutter",columnWidth:!1}})},showcaseGallery:function(){var a=this;f.body.on("click",".module-gallery.layout-showcase a",function(b){b.preventDefault();a.showcaseGalleryCallback(c(this))})},showcaseGalleryCallback:function(a){var b=a.closest(".gallery").find(".gallery-showcase-image"),d=b.find(".gallery-showcase-title");d.css({opacity:"",visibility:""});b.addClass("builder_gallery_load").find("img").prop("src",a.data("image"));b.find(".gallery-showcase-title-text").html(a.prop("title")); b.find(".gallery-showcase-caption").html(a.data("caption"));!c.trim(d.text())&&d.css({opacity:0,visibility:"hidden"});b.find("img").one("load",function(){b.removeClass("builder_gallery_load")})},menuModuleMobileStuff:function(a,b){var d=c(".module.module-menu",b);if(0<d.length){var e=g.innerWidth,h=function(){var a=c(".mobile-menu-module");a.prop("class","mobile-menu-module");f.body.removeClass("menu-module-left menu-module-right").find(".module-menu."+a.attr("data-module")+" .body-overlay").removeClass("body-overlay-on"); setTimeout(function(){if(f.body.hasClass("close-left-menu")||f.body.hasClass("close-right-menu"))f.body.removeClass("close-left-menu close-right-menu"),a.empty()},300)};0===c(".mobile-menu-module").length&&f.body[0].insertAdjacentHTML("beforeend",'<div class="themify_builder themify_builder_content-'+f.body[0].getElementsByClassName("themify_builder_content")[0].dataset.postid+'"><div class="mobile-menu-module"></div></div>');d.each(function(){var b=c(this),d=b.data("menu-breakpoint");if(d){var f= b.find('div[class*="-container"]'),n=b.find(".menu-module-burger");e>=d?(f.show(),n.hide()):(f.hide(),n.css("display","block"),b.addClass("module-menu-mobile-active"));a||(0<b.next("style").length&&(d=b.next("style").html().replace(/\.[^{]+/g,function(a){return a+", .mobile-menu-module"+a.replace(/\.themify_builder\s|\.module-menu/g,"")}),b.next("style").html(d)),b[0].insertAdjacentHTML("afterbegin",'<a class="menu-module-burger"><span class="menu-module-burger-inner"></span></a>'))}});if(a||f.is_builder_active)h(); else{var l=c(".menu-module-burger"),d=l.parent().data("menu-breakpoint"),n=l.parent().data("menu-style");if(l.length&&e<d&&"mobile-menu-dropdown"===n){var m=c(".module-menu-container");f.body.on("click",function(a){a=c(a.target);!a.closest(".module-menu-container").length&&m.is(":visible")&&!a.closest(".menu-module-burger").length&&l.is(":visible")&&(l.removeClass("is-open"),m.removeClass("is-open"))})}f.body.on("click",".menu-module-burger",function(a){a.preventDefault();var b=c(this);a=b.parent(); var d=a.data("menu-style");if("mobile-menu-dropdown"===d)b.siblings(".module-menu-container").toggleClass("is-open"),b.toggleClass("is-open");else{var b=a.data("menu-direction"),e=a.data("gs"),n=a.data("element-id"),h=a.find('div[class*="-container"] > ul').clone(),g=h.prop("class").replace(/nav|menu-bar|fullwidth|vertical|with-sub-arrow/g,""),m=a.prop("class").match(/menu-[\d\-]+/g),e=p===e?"":" "+e,m=m?m[0]:"",h=h.removeAttr("id").removeAttr("class").addClass("nav");h.find("ul").length&&h.find("ul").prev("a").append('<i class="toggle-menu "></i>'); f.body.addClass("menu-module-"+b);c(".mobile-menu-module").addClass(b+" "+g+" "+m+" "+n+" "+d+e+" module-menu").attr("data-module",n).html(h).prepend('<a class="menu-close"><span class="menu-close-inner"></span></a>');a.find(".body-overlay").addClass("body-overlay-on")}}).on("click",".mobile-menu-module ul .toggle-menu",function(a){var b=c(this),d=b.closest("a");a.preventDefault();d.next("ul").toggle();b.hasClass("menu-close")?b.removeClass("menu-close"):b.addClass("menu-close")}).on("click",'.mobile-menu-module ul a[href="#"]', function(a){a.preventDefault()}).on("click",".module-menu .body-overlay,.mobile-menu-module .menu-close,.mobile-menu-module .menu-item a",function(a){c(a.target).hasClass("toggle-menu")||(a="close-"+(c(".mobile-menu-module").hasClass("right")?"right":"left"),f.body.addClass(a+"-menu"),h())}).on("scrollhighlightstart.themify",function(){f.body.find(".mobile-menu-slide,.mobile-menu-overlay").length&&h()})}}},GridBreakPoint:function(){function a(){var a=c(g).width(),m="desktop";a<=e?m="mobile":a<=d[1]? m="tablet":a<=b[1]&&(m="tablet_landscape");if(m!==r){var l=(a="desktop"===m)||"desktop"===r;a?f.body[0].classList.remove("tb_responsive_mode"):f.body[0].classList.add("tb_responsive_mode");for(var q=h.length-1;-1<q;--q){var p=h[q].children,w=h[q].getAttribute("data-col_"+m),k=p[0],y=p[p.length-1],t=h[q].getAttribute("data-basecol");if(l)for(var u=p.length-1;-1<u;--u){var z=p[u].getAttribute("data-w");z&&(p[u].style.width=a?z+"%":"")}u=h[q].getAttribute("data-"+m+"_dir");k&&y&&("rtl"===u?(k.classList.remove("first"), k.classList.add("last"),y.classList.remove("last"),y.classList.add("first"),h[q].classList.add("direction-rtl")):(k.classList.remove("last"),k.classList.add("first"),y.classList.remove("first"),y.classList.add("last"),h[q].classList.remove("direction-rtl")));if(t&&!a)if(!1!==r&&"desktop"!==r&&(h[q].classList.remove("tb_3col"),(k=h[q].getAttribute("data-col_"+r))&&h[q].classList.remove(c.trim(k.replace("tb_3col","").replace("mobile","column").replace("tablet","column")))),w&&"-auto"!==w&&w!==m+"-auto"){if(w= h[q].getAttribute("data-col_"+m))for(h[q].classList.add("tb_grid_classes"),h[q].classList.add("col-count-"+t),w=w.split(" "),u=w.length-1;-1<u;--u)h[q].classList.add(c.trim(w[u].replace("mobile","column").replace("tablet","column")))}else h[q].classList.remove("tb_grid_classes"),h[q].classList.remove("col-count-"+t)}r=m}}var b=tbLocalScript.breakpoints.tablet_landscape,d=tbLocalScript.breakpoints.tablet,e=tbLocalScript.breakpoints.mobile,h=l.querySelectorAll(".row_inner,.subrow_inner"),r=!1;a();c(g).on("tfsmartresize.themify_grid", function(b){b.isTrigger||a()})},readMoreLink:function(){f.body.on("click",".module-text-more",function(a){a.preventDefault();a=c(this);var b=a.parent().find(".more-text"),d=function(){c(this).closest(".module").trigger("resize")};a.hasClass("tb-text-more-link")?(a.removeClass("tb-text-more-link").addClass("tb-text-less-link"),b.slideDown(400,"linear",d)):(a.removeClass("tb-text-less-link").addClass("tb-text-more-link"),b.slideUp(400,"linear",d))})},stickyElementInit:function(){if(!tbLocalScript.isStickyScrollActive)return!0; var a=function(){var a=l.body,d=l.documentElement,e=Math.max(a.scrollHeight,a.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight),f=g.innerHeight||d.clientHeight||a.clientHeight;c("[data-sticky-active]").each(function(){var b=c(this),d=b.data("sticky-active"),g=d.stick.value?parseInt(d.stick.value):0,h="px"===d.stick.val_unit?g:g/100*f,g={topSpacing:h,zIndex:null,className:"tb_sticky_scroll_active"};"bottom"===d.stick.position&&(g.topSpacing=f-this.offsetHeight-h);if(d.unstick)if("builder_end"=== d.unstick.el_type){var d=b.closest(".themify_builder_content"),q=d.closest("#tbp_header");0!==q.length&&(q=l.getElementById("tbp_content"),q=null!==q?q.getElementsByClassName("themify_builder_content")[0]:a.getElementsByClassName("themify_builder_content")[1],q!==p&&(d=c(q)));d=d.offset().top+d.outerHeight(!0);g.bottomSpacing=e-d}else{var q=c(".tb_"+("row"===d.unstick.el_type?d.unstick.el_row_target:d.unstick.el_mod_target)).first(),v=d.unstick.value?parseInt(d.unstick.value):0;"%"===d.unstick.val_unit&& (v=v/100*f);q.length&&(h=e-(q.offset().top+this.offsetHeight+h),"bottom"===d.unstick.current?h="hits"===d.unstick.rule?h+(f-v):h+(f-(q.outerHeight(!0)+v)):"this"===d.unstick.current?(h=e-q.offset().top,"passes"===d.unstick.rule&&(h-=this.offsetHeight)):h="hits"===d.unstick.rule?h+v:h-v,g.bottomSpacing=h)}b.sticky(g)})};a();c(g).on("tfsmartresize.sticky",function(){c("[data-sticky-active]").each(function(){c(this).unstick()});a()})},alertModule:function(a){var b=c(".module.module-alert",a);a&&a[0].classList.contains("module-alert")&& (b=b.add(a));var d=function(a){return a&&!isNaN(parseFloat(a))&&isFinite(a)},e=function(a,b,c){var d=new Date;d.setTime(d.getTime()+864E5*c);l.cookie=a+"="+b+";expires="+d.toUTCString()+";path=/"},h=function(a){var b;var d=a?(b=a.data("alert-message"))?a.closest(".alert-inner"):a.closest(".module-alert"):c(this);d.slideUp(400,function(){if(b&&!d.parent().find(".alert-message").length){var a=c('<div class="alert-message" />').html(b+'<div class="alert-close ti-close" />');d.parent().html(a);a.hide().slideDown(400)}})}; b.each(function(){var a=c(this),b=0,f=0,g=a.data("module-id"),p=a.data("alert-limit"),a=a.data("auto-close");if(d(p)){a:{var v=g+"=";for(var w=l.cookie.split(";"),k=0,y=w.length;k<y;++k){for(var t=w[k];" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(v)){v=t.substring(v.length,t.length);break a}}v=""}v&&(v=v.split("|"),v[1]&&(f=+v[0],b=+v[1]));p!==f?e(g,p+"|1",365):p>b&&(++b,e(g,p+"|"+b,365))}d(a)&&setTimeout(h.bind(this),1E3*a)});f.body.on("click",".module-alert .alert-close",function(a){a.preventDefault(); h(c(this))})},loginModuleInit:function(){f.body.on("click",".module-login .tb_login_links a",function(a){a.preventDefault();c(this).closest(".module").find(".tb_lostpassword_username input").val(c(this).closest(".module").find(".tb_login_username input").val());c(this).closest("form").slideUp().siblings().slideDown()})},videoPlay:function(){f.body.on("click",".tb_video_overlay",function(a){a.preventDefault();a.stopPropagation();a=this.getAttribute("data-href");var b=f.parseVideo(a),c=this.parentNode; if("youtube"===b.type||"vimeo"===b.type){var e=l.createElement("iframe");e.src="youtube"===b.type?"https://www.youtube.com/embed/"+b.id+"?autoplay=1&autohide=1&border=0&wmode=opaque&enablejsapi=1":"//player.vimeo.com/video/"+b.id+"?api=1&autoplay=1&portrait=0&title=0&badge=0";this.hasAttribute("data-muted")&&(e.src+="&mute=1");e.setAttribute("allowfullscreen","");e.setAttribute("frameborder","0")}else e=l.createElement("video"),e.src=a,e.autoplay=!0,e.controls=!0,this.hasAttribute("data-muted")&& (e.mute=!0),e.poster=this.getElementsByTagName("img")[0].src;c.innerHTML="";c.appendChild(e)})},optinModuleInit:function(){f.body.on("submit",".tb_optin_form",function(a){a.preventDefault();var b=c(this);b.hasClass("processing")||(b.addClass("processing"),c.ajax({url:b.attr("action"),type:"POST",data:b.serialize(),success:function(a){a.success?"s1"===b.data("success")?g.location.href=a.data.redirect:b.fadeOut().closest(".module").find(".tb_optin_success_message").fadeIn():g.console&&console.log(a.data.error)}, complete:function(){b.removeClass("processing")}}))})},signupModuleInit:function(){if(null!==l.querySelector(".tb_signup_form"))f.body.off("submit.tb_signup").on("submit.tb_signup",".tb_signup_form",function(a){a.preventDefault();var b=c(this),d=b.find("button");d.prop("disabled",!0);c.ajax({type:"POST",url:tbLocalScript.ajaxurl,data:{dataType:"json",action:"tb_signup_process",nonce:b.find('input[name="nonce"]').val(),data:b.serialize()},beforeSend:function(){b.find(".tb_signup_errors span").remove(); b.find(".tb_signup_errors").removeClass("tb_signup_errors");b.find(".tb_signup_success").hide()},success:function(a){if(p!==a.err){var c=b[0].getElementsByClassName("tb_signup_messages")[0];c.className+=" tb_signup_errors";for(var d=a.err.length-1;-1<d;--d){var e=l.createElement("span");e.innerText=a.err[d];c.appendChild(e)}}else b.find(".tb_signup_success").fadeIn(),a=b.find('input[name="redirect"]'),0<a.length?""!==a.val()?g.location.href=a.val():g.location.reload(!0):b[0].reset();f.scrollTo(b.offset().top- 100)},complete:function(){d.prop("disabled",!1)}})})},socialShareModule:function(){f.body.off("click.tb_share").on("click.tb_share",".module-social-share a,.module-social-share a i",function(a){a.preventDefault();a=c(this);var b=a.closest(".module-social-share");if(0<b.length){var b=b.attr("data-url"),d="A"===a[0].tagName?a[0].dataset.type:a[0].parentNode.dataset.type,b=""!==b?b:g.location.href;f.sharer(d,b,a.attr("data-title"))}})}};ThemifyBuilderModuleJs.init()})(jQuery,window,Themify,document, void 0);