Viewing File: /home/rtsgrob/ww6/wp-content/themes/synergia/assets/js/modules.min.js
!function(e){"use strict";function o(){qodef.scroll=e(window).scrollTop(),qodef.body.hasClass("qodef-dark-header")&&(qodef.defaultHeaderStyle="qodef-dark-header"),qodef.body.hasClass("qodef-light-header")&&(qodef.defaultHeaderStyle="qodef-light-header")}function a(){}function d(){qodef.windowWidth=e(window).width(),qodef.windowHeight=e(window).height()}function t(){qodef.scroll=e(window).scrollTop()}switch(window.qodef={},qodef.modules={},qodef.scroll=0,qodef.window=e(window),qodef.document=e(document),qodef.windowWidth=e(window).width(),qodef.windowHeight=e(window).height(),qodef.body=e("body"),qodef.html=e("html, body"),qodef.htmlEl=e("html"),qodef.menuDropdownHeightSet=!1,qodef.defaultHeaderStyle="",qodef.minVideoWidth=1500,qodef.videoWidthOriginal=1280,qodef.videoHeightOriginal=720,qodef.videoRatio=1.61,qodef.qodefOnDocumentReady=o,qodef.qodefOnWindowLoad=a,qodef.qodefOnWindowResize=d,qodef.qodefOnWindowScroll=t,e(document).ready(o),e(window).on("load",a),e(window).resize(d),e(window).scroll(t),!0){case qodef.body.hasClass("qodef-grid-1300"):qodef.boxedLayoutWidth=1350;break;case qodef.body.hasClass("qodef-grid-1200"):qodef.boxedLayoutWidth=1250;break;case qodef.body.hasClass("qodef-grid-1000"):qodef.boxedLayoutWidth=1050;break;case qodef.body.hasClass("qodef-grid-800"):qodef.boxedLayoutWidth=850;break;default:qodef.boxedLayoutWidth=1150}}(jQuery),function(_){"use strict";var e={};function o(){var e;h().init(),-1<navigator.appVersion.toLowerCase().indexOf("mac")&&qodef.body.hasClass("qodef-smooth-scroll")&&qodef.body.removeClass("qodef-smooth-scroll"),s().init(),_("#qodef-back-to-top").on("click",function(e){e.preventDefault(),qodef.html.animate({scrollTop:0},qodef.window.scrollTop()/3,"linear")}),qodef.window.scroll(function(){var e=_(this).scrollTop(),o=_(this).height(),e=0<e?e+o/2:1;r(e<1e3?"off":"on")}),l(),f(),c(),p(),(e=_(".qodef-preload-background")).length&&e.each(function(){var e,o,a=_(this);""!==a.css("background-image")&&"none"!==a.css("background-image")?(o=(o=(o=a.attr("style")).match(/url\(["']?([^'")]+)['"]?\)/))?o[1]:"")&&((e=new Image).src=o,_(e).load(function(){a.removeClass("qodef-preload-background")})):_(window).on("load",function(){a.removeClass("qodef-preload-background")})}),u(),(e=_(".qodef-search-post-type")).length&&e.each(function(){var e,o=_(this),a=o.find(".qodef-post-type-search-field"),d=o.siblings(".qodef-post-type-search-results"),t=o.find(".qodef-search-loading"),n=o.find(".qodef-search-icon"),i=(t.addClass("qodef-hidden"),o.data("post-type"));a.on("keyup paste",function(){var o=_(this);o.attr("autocomplete","off"),t.removeClass("qodef-hidden"),n.addClass("qodef-hidden"),clearTimeout(e),e=setTimeout(function(){var e=o.val();e.length<3?(d.html(""),d.fadeOut(),t.addClass("qodef-hidden"),n.removeClass("qodef-hidden")):(e={action:"synergia_select_search_post_types",term:e,postType:i,search_post_types_nonce:_('input[name="qodef_search_post_types_nonce"]').val()},_.ajax({type:"POST",data:e,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){e=JSON.parse(e);"success"===e.status&&(t.addClass("qodef-hidden"),n.removeClass("qodef-hidden"),d.html(e.data.html),d.fadeIn())},error:function(e,o,a){console.log("Status: "+o),console.log("Error: "+a),t.addClass("qodef-hidden"),n.removeClass("qodef-hidden"),d.fadeOut()}}))},500)}),a.on("focusout",function(){t.addClass("qodef-hidden"),n.removeClass("qodef-hidden"),d.fadeOut()})}),_(".add_to_cart_button").on("click",function(){_(this).text(qodefGlobalVars.vars.qodefAddingToCart)})}function a(){var o;S(),qodef.body.hasClass("qodef-smooth-page-transitions")&&(qodef.body.hasClass("qodef-smooth-page-transitions-preloader")&&((o=_("body > .qodef-smooth-transition-loader.qodef-mimic-ajax")).find(".qodef-synergia-loader").length&&o.find(".qodef-synergia-loader").addClass("qodef-synergia-loaded"),setTimeout(function(){o.fadeOut(500),_(window).on("pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(500)})},1e3)),qodef.body.hasClass("qodef-smooth-page-transitions-fadeout"))&&_("a").on("click",function(e){var o=_(this);(o.parents(".qodef-shopping-cart-dropdown").length||o.parent(".product-remove").length)&&o.hasClass("remove")||1===e.which&&0<=o.attr("href").indexOf(window.location.host)&&void 0===o.data("rel")&&void 0===o.attr("rel")&&!o.hasClass("lightbox-active")&&(void 0===o.attr("target")||"_self"===o.attr("target"))&&o.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(e.preventDefault(),_(".qodef-wrapper-inner").fadeOut(1e3,function(){window.location=o.attr("href")}))}),m().init()}function d(){f()}function t(e){i(e)}function n(e){for(var o=[37,38,39,40],a=o.length;a--;)if(e.keyCode===o[a])return void i(e)}function i(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}(qodef.modules.common=e).qodefFluidVideo=c,e.qodefEnableScroll=function(){window.removeEventListener&&window.removeEventListener("wheel",t,{passive:!1});window.onmousewheel=document.onmousewheel=document.onkeydown=null},e.qodefDisableScroll=function(){window.addEventListener&&window.addEventListener("wheel",t,{passive:!1});window.onmousewheel=document.onmousewheel=t,document.onkeydown=n},e.qodefOwlSlider=p,e.qodefInitParallax=S,e.qodefInitSelfHostedVideoPlayer=l,e.qodefSelfHostedVideoSize=f,e.qodefPrettyPhoto=u,e.qodefStickySidebarWidget=m,e.getLoadMoreData=function(e){var o,a=e.data(),d={};for(o in a)a.hasOwnProperty(o)&&void 0!==a[o]&&!1!==a[o]&&(d[o]=a[o]);return d},e.setLoadMoreAjaxData=function(e,o){var a,d={action:o};for(a in e)e.hasOwnProperty(a)&&void 0!==e[a]&&!1!==e[a]&&(d[a]=e[a]);return d},e.qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,e.qodefOnWindowResize=d,_(document).ready(o),_(window).on("load",a),_(window).resize(d);var s=function(){function d(){if(""!==(a=window.location.hash.split("#")[1])&&0<_('[data-qodef-anchor="'+a+'"]').length){var e=_(".qodef-main-menu a, .qodef-mobile-nav a, .qodef-fullscreen-menu a"),o=a,a=o!==""?_('[data-qodef-anchor="'+o+'"]'):"";if(o!==""&&a.length>0){a=a.offset().top;a=a-n(a)-qodefGlobalVars.vars.qodefAddForAdminBar;if(e.length)e.each(function(){var e=_(this);if(e.attr("href").indexOf(o)>-1)t(e)});qodef.html.stop().animate({scrollTop:Math.round(a)},1e3,function(){if(history.pushState)history.pushState(null,"","#"+o)})}}}var t=function(o){_(".qodef-main-menu, .qodef-mobile-nav, .qodef-fullscreen-menu").each(function(){var e=_(this);o.parents(e).length&&(e.find(".qodef-active-item").removeClass("qodef-active-item"),o.parent().addClass("qodef-active-item"),e.find("a").removeClass("current"),o.addClass("current"))})},n=function(e){"qodef-sticky-header-on-scroll-down-up"===qodef.modules.stickyHeader.behaviour&&(qodef.modules.stickyHeader.isStickyVisible=e>qodef.modules.header.stickyAppearAmount),"qodef-sticky-header-on-scroll-up"===qodef.modules.stickyHeader.behaviour&&e>qodef.scroll&&(qodef.modules.stickyHeader.isStickyVisible=!1);e=qodef.modules.stickyHeader.isStickyVisible?qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight:qodefPerPageVars.vars.qodefHeaderTransparencyHeight;return e=qodef.windowWidth<1025?0:e};return{init:function(){var o,e,a;_("[data-qodef-anchor]").length&&(qodef.document.on("click",".qodef-main-menu a, .qodef-fullscreen-menu a, .qodef-btn, .qodef-anchor, .qodef-mobile-nav a",function(){var e=_(this),o=e.prop("hash").split("#")[1],a=""!==o?_('[data-qodef-anchor="'+o+'"]'):"";if(""!==o&&0<a.length)return a=(a=a.offset().top)-n(a)-qodefGlobalVars.vars.qodefAddForAdminBar,t(e),qodef.html.stop().animate({scrollTop:Math.round(a)},1e3,function(){history.pushState&&history.pushState(null,"","#"+o)}),!1}),e=_("[data-qodef-anchor]"),"/"!==(a=window.location.href.split("#")[0]).substr(-1)&&(a+="/"),e.waypoint(function(e){"down"===e&&(o=(0<_(this.element).length?_(this.element):_(this)).data("qodef-anchor"),t(_("a[href='"+a+"#"+o+"']")))},{offset:"50%"}),e.waypoint(function(e){"up"===e&&(o=(0<_(this.element).length?_(this.element):_(this)).data("qodef-anchor"),t(_("a[href='"+a+"#"+o+"']")))},{offset:function(){return-(_(this.element).outerHeight()-150)}}),_(window).on("load",function(){d()}))}}};function r(e){var o=_("#qodef-back-to-top");o.removeClass("off on"),"on"===e?o.addClass("on"):o.addClass("off")}function l(){var e=_(".qodef-self-hosted-video");e.length&&e.mediaelementplayer({audioWidth:"100%"})}function f(){var e=_(".qodef-self-hosted-video-holder .qodef-video-wrap");e.length&&e.each(function(){var e=_(this),o=e.closest(".qodef-self-hosted-video-holder").outerWidth(),a=o/qodef.videoRatio;navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(e.parent().width(o),e.parent().height(a)),e.width(o),e.height(a),e.find("video, .mejs-overlay, .mejs-poster").width(o),e.find("video, .mejs-overlay, .mejs-poster").height(a)})}function c(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function u(){_("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:"",social_tools:!1,markup:'<div class="pp_pic_holder"> <div class="ppt"> </div> <div class="pp_top"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> <div class="pp_content_container"> <div class="pp_left"> <div class="pp_right"> <div class="pp_content"> <div class="pp_loaderIcon"></div> <div class="pp_fade"> <a href="#" class="pp_expand" title="Expand the image">Expand</a> <div class="pp_hoverContainer"> <a class="pp_next" href="#"><span class="fa fa-angle-right"></span></a> <a class="pp_previous" href="#"><span class="fa fa-angle-left"></span></a> </div> <div id="pp_full_res"></div> <div class="pp_details"> <div class="pp_nav"> <a href="#" class="pp_arrow_previous">Previous</a> <p class="currentTextHolder">0/0</p> <a href="#" class="pp_arrow_next">Next</a> </div> <p class="pp_description"></p> {pp_social} <a class="pp_close" href="#">Close</a> </div> </div> </div> </div> </div> </div> <div class="pp_bottom"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> </div> <div class="pp_overlay"></div>'})}var h=function(){var e=_(".qodef-icon-has-hover");return{init:function(){e.length&&e.each(function(){var e,o,a,d;void 0!==(e=_(this)).data("hover-color")&&(o=function(e){e.data.icon.css("color",e.data.color)},a=e.data("hover-color"),d=e.css("color"),""!==a)&&(e.on("mouseenter",{icon:e,color:a},o),e.on("mouseleave",{icon:e,color:d},o))})}}};function S(){var e=_(".qodef-parallax-row-holder");e.length&&e.each(function(){var e=_(this),o=e.data("parallax-bg-image"),a=.4*e.data("parallax-bg-speed"),d=0;void 0!==e.data("parallax-bg-height")&&!1!==e.data("parallax-bg-height")&&(d=parseInt(e.data("parallax-bg-height"))),e.css({"background-image":"url("+o+")"}),0<d&&e.css({"min-height":d+"px",height:d+"px"}),e.parallax("50%",a)})}function m(){var n,i,e=_(".qodef-widget-sticky-sidebar"),o=_(".qodef-page-header"),r=o.length?o.outerHeight():0,s=0,l=0,f=[];function a(){f.length&&_.each(f,function(e){f[e].object;var o,a,d=f[e].offset,t=f[e].position,n=f[e].height,i=f[e].width,s=f[e].sidebarHolder,e=f[e].sidebarHolderHeight;qodef.body.hasClass("qodef-fixed-on-scroll")?(o=_(".qodef-fixed-wrapper.fixed")).length&&(r=o.outerHeight()+qodefGlobalVars.vars.qodefAddForAdminBar):qodef.body.hasClass("qodef-no-behavior")&&(r=qodefGlobalVars.vars.qodefAddForAdminBar),1024<qodef.windowWidth&&s.length&&(o=-(t-r),a=n-t-40,t=e+d-r-t-qodefGlobalVars.vars.qodefTopBarHeight,qodef.scroll>=d-r)&&n<e?(s.hasClass("qodef-sticky-sidebar-appeared")?s.css({top:o+"px"}):s.addClass("qodef-sticky-sidebar-appeared").css({position:"fixed",top:o+"px",width:i,"margin-top":"-10px"}).animate({"margin-top":"0"},200),qodef.scroll+a>=t?(d=e-a+o-r,s.css({position:"absolute",top:d+"px"})):s.hasClass("qodef-sticky-sidebar-appeared")&&s.css({position:"fixed",top:o+"px"})):s.removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})})}return{init:function(){e.length&&e.each(function(){var e=_(this),o=e.parents("aside.qodef-sidebar"),a=e.parents(".wpb_widgetised_column"),d="",t=0;n=e.offset().top,i=e.position().top,l=s=0,o.length?(s=o.outerHeight(),l=o.outerWidth(),t=(d=o).parent().parent().outerHeight(),(o=o.parent().parent().find(".qodef-blog-holder")).length&&(t-=parseInt(o.css("marginBottom")))):a.length&&(s=a.outerHeight(),l=a.outerWidth(),t=(d=a).parents(".vc_row").outerHeight()),f.push({object:e,offset:n,position:i,height:s,width:l,sidebarHolder:d,sidebarHolderHeight:t})}),a(),_(window).scroll(function(){a()})},reInit:a}}function p(){var e=_(".qodef-owl-slider");e.length&&e.each(function(){var o=_(this),e=_(this),a=o.children().length,d=1,t=!0,n=!0,i=!0,s=5e3,r=600,l=0,f=0,c=0,u=0,h=!1,m=!1,p=!1,q=!1,g=!1,v=!0,y=!1,b=!1,w=!!o.hasClass("qodef-pl-is-slider"),C=!!o.hasClass("qodef-ig-slider"),k=w?o.parent():o,w=(void 0===o.data("number-of-items")||!1===o.data("number-of-items")||w||(d=o.data("number-of-items")),void 0!==k.data("number-of-columns")&&!1!==k.data("number-of-columns")&&w&&(d=k.data("number-of-columns")),void 0!==k.data("number-of-columns")&&!1!==k.data("number-of-columns")&&C&&(d=k.data("number-of-columns")),"no"===k.data("enable-loop")&&(t=!1),"no"===k.data("enable-autoplay")&&(n=!1),"no"===k.data("enable-autoplay-hover-pause")&&(i=!1),void 0!==k.data("slider-speed")&&!1!==k.data("slider-speed")&&(s=k.data("slider-speed")),void 0!==k.data("slider-speed-animation")&&!1!==k.data("slider-speed-animation")&&(r=k.data("slider-speed-animation")),void 0!==k.data("slider-margin")&&!1!==k.data("slider-margin")?l="no"===k.data("slider-margin")?0:k.data("slider-margin"):o.parent().hasClass("qodef-huge-space")?l=60:o.parent().hasClass("qodef-large-space")?l=50:o.parent().hasClass("qodef-medium-space")?l=40:o.parent().hasClass("qodef-normal-space")?l=30:o.parent().hasClass("qodef-small-space")?l=20:o.parent().hasClass("qodef-tiny-space")&&(l=10),"yes"===k.data("slider-padding")&&(h=!0,u=parseInt(.28*o.outerWidth()),l=50),"yes"===k.data("enable-center")&&(m=!0),"yes"===k.data("enable-auto-width")&&(p=!0),void 0!==k.data("slider-animate-in")&&!1!==k.data("slider-animate-in")&&(q=k.data("slider-animate-in")),void 0!==k.data("slider-animate-out")&&!1!==k.data("slider-animate-out")&&(g=k.data("slider-animate-out")),"no"===k.data("enable-navigation")&&(v=!1),"yes"===k.data("enable-pagination")&&(y=!0),"yes"===k.data("enable-thumbnail")&&(b=!0),v&&y&&o.addClass("qodef-slider-has-both-nav"),a<=1&&(y=v=n=t=!1),2),C=d;if(d<2&&(w=d),(h||30<l)&&(f=20,c=30),0<l&&l<=30&&(c=f=l),e=o.owlCarousel({items:d,loop:t,autoplay:n,autoplayHoverPause:i,autoplayTimeout:s,smartSpeed:r,margin:l,stagePadding:u,center:m,autoWidth:p,animateIn:q,animateOut:g,dots:y,nav:v,navText:['<span class="arrow_carrot-left"></span>','<span class="arrow_carrot-right"></span>'],responsive:{0:{items:1,margin:f,stagePadding:0,center:!1,autoWidth:!1},681:{items:w,margin:c},769:{items:w,margin:c},1025:{items:C=4<d?4:C},1281:{items:d}},onInitialize:function(){o.css("visibility","visible"),S()},onDrag:function(e){qodef.body.hasClass("qodef-smooth-page-transitions-fadeout")&&0<e.isTrigger&&o.addClass("qodef-slider-is-moving")},onDragged:function(){qodef.body.hasClass("qodef-smooth-page-transitions-fadeout")&&o.hasClass("qodef-slider-is-moving")&&setTimeout(function(){o.removeClass("qodef-slider-is-moving")},500)}}),_(window).on("load",function(){e.trigger("refresh.owl.carousel")}),b){var k=o.parent().find(".qodef-slider-thumbnail"),x="";switch(parseInt(k.data("thumbnail-count"))%6){case 2:x="two";break;case 3:x="three";break;case 4:x="four";break;case 5:x="five";break;case 0:x="six";break;default:x=""}""!==x&&k.addClass("qodef-slider-columns-"+x),k.find(".qodef-slider-thumbnail-item").on("click",function(){e.trigger("to.owl.carousel",[_(this).index(),r])})}})}}(jQuery),function(t){"use strict";function e(){t(document).on("click",".qodef-like",function(){var e,o=t(this),a=o.attr("id"),d=o.data("post-id");return o.hasClass("liked")||(a={action:"synergia_select_like",likes_id:a,type:e=void 0!==o.data("type")?o.data("type"):e,like_nonce:t("#qodef_like_nonce_"+d).val()},t.post(qodefGlobalVars.vars.qodefAjaxUrl,a,function(e){o.html(e).addClass("liked").attr("title","You already like this!")})),!1})}t(document).ready(e)}(jQuery),function(l){"use strict";var e={};function o(){f(),n()}function a(){i().init()}function d(){n()}function t(){i().scroll()}function f(){l("audio.qodef-blog-audio").mediaelementplayer({audioWidth:"100%"})}function c(e,o){var a,d,t,n;o.hasClass("qodef-masonry-images-fixed")&&(a=parseInt(o.find("article").css("padding-left")),d=o.find(".qodef-post-size-default"),t=o.find(".qodef-post-size-large-width"),n=o.find(".qodef-post-size-large-height"),o=o.find(".qodef-post-size-large-width-height"),680<qodef.windowWidth?(d.css("height",e-2*a),n.css("height",Math.round(2*e)-2*a),o.css("height",Math.round(2*e)-2*a),t.css("height",e-2*a)):(d.css("height",e),n.css("height",e),o.css("height",e),t.css("height",Math.round(e/2))))}function n(){var e=l(".qodef-blog-holder.qodef-blog-type-masonry");e.length&&e.each(function(){var e=l(this),o=e.children(".qodef-blog-holder-inner");c(e.find(".qodef-blog-masonry-grid-sizer").width(),e),o.waitForImages(function(){o.isotope({layoutMode:"packery",itemSelector:"article",percentPosition:!0,packery:{gutter:".qodef-blog-masonry-grid-gutter",columnWidth:".qodef-blog-masonry-grid-sizer"}}),o.css("opacity","1"),setTimeout(function(){o.isotope("layout")},800)})})}function i(){function a(e){var o=e.outerHeight()+e.offset().top-qodefGlobalVars.vars.qodefAddForAdminBar;!e.hasClass("qodef-blog-pagination-infinite-scroll-started")&&qodef.scroll+qodef.windowHeight>o&&d(e)}function d(a){var e,d=a.children(".qodef-blog-holder-inner"),o=(void 0!==a.data("max-num-pages")&&!1!==a.data("max-num-pages")&&(e=a.data("max-num-pages")),a.hasClass("qodef-blog-pagination-infinite-scroll")&&a.addClass("qodef-blog-pagination-infinite-scroll-started"),qodef.modules.common.getLoadMoreData(a)),t=a.find(".qodef-blog-pag-loading"),n=o.nextPage,i=a.find('input[name*="qodef_blog_load_more_nonce_"]');o.blog_load_more_id=i.attr("name").substring(i.attr("name").length-4,i.attr("name").length),o.blog_load_more_nonce=i.val(),n<=e&&(t.addClass("qodef-showing"),i=qodef.modules.common.setLoadMoreAjaxData(o,"synergia_select_blog_load_more"),l.ajax({type:"POST",data:i,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){n++,a.data("next-page",n);var o=l.parseJSON(e).html;a.waitForImages(function(){a.hasClass("qodef-blog-type-masonry")?(s(d,t,o),c(d.find(".qodef-blog-masonry-grid-sizer").width(),a)):r(d,t,o),setTimeout(function(){f(),qodef.modules.common.qodefOwlSlider(),qodef.modules.common.qodefFluidVideo(),qodef.modules.common.qodefInitSelfHostedVideoPlayer(),qodef.modules.common.qodefSelfHostedVideoSize(),"function"==typeof qodef.modules.common.qodefStickySidebarWidget&&qodef.modules.common.qodefStickySidebarWidget().reInit(),l(document.body).trigger("blog_list_load_more_trigger")},400)}),a.hasClass("qodef-blog-pagination-infinite-scroll-started")&&a.removeClass("qodef-blog-pagination-infinite-scroll-started")}})),n===e&&a.find(".qodef-blog-pag-load-more").hide()}var e=l(".qodef-blog-holder"),s=function(e,o,a){e.append(a).isotope("reloadItems").isotope({sortBy:"original-order"}),o.removeClass("qodef-showing"),setTimeout(function(){e.isotope("layout")},600)},r=function(e,o,a){o.removeClass("qodef-showing"),e.append(a)};return{init:function(){e.length&&e.each(function(){var o,e=l(this);e.hasClass("qodef-blog-pagination-load-more")&&(o=e).find(".qodef-blog-pag-load-more a").on("click",function(e){e.preventDefault(),e.stopPropagation(),d(o)}),e.hasClass("qodef-blog-pagination-infinite-scroll")&&a(e)})},scroll:function(){e.length&&e.each(function(){var e=l(this);e.hasClass("qodef-blog-pagination-infinite-scroll")&&a(e)})}}}(qodef.modules.blog=e).qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,e.qodefOnWindowResize=d,e.qodefOnWindowScroll=t,l(document).ready(o),l(window).on("load",a),l(window).resize(d),l(window).scroll(t)}(jQuery),function(r){"use strict";var e={};function o(){var t;d(),(t=r(".qodef-drop-down > ul > li")).each(function(e){var o,a,d;0<r(t[e]).find(".second").length&&(o=r(t[e]),a=o.find(".second"),o.hasClass("wide")&&(d=0,(e=r(this).find(".second > .inner > ul > li")).each(function(){var e=r(this).height();d<e&&(d=e)}),e.css("height",""),e.height(d)),qodef.menuDropdownHeightSet||(o.data("original_height",a.height()+"px"),a.height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/)?o.on("touchstart mouseenter",function(){a.css({height:o.data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){a.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})}):qodef.body.hasClass("qodef-dropdown-animate-height")?o.mouseenter(function(){a.css({visibility:"visible",height:"0px",opacity:"0"}),a.stop().animate({height:o.data("original_height"),opacity:1},300,function(){a.css("overflow","visible")})}).mouseleave(function(){a.stop().animate({height:"0px"},150,function(){a.css({overflow:"hidden",visibility:"hidden"})})}):o.hoverIntent({interval:0,over:function(){setTimeout(function(){a.addClass("qodef-drop-down-start"),a.stop().css({height:o.data("original_height")})},150)},timeout:150,out:function(){a.stop().css({height:"0px"}),a.removeClass("qodef-drop-down-start")}}))}),r(".qodef-drop-down ul li.wide ul li a").on("click",function(e){var o;1===e.which&&(o=r(this),setTimeout(function(){o.mouseleave()},500))}),qodef.menuDropdownHeightSet=!0}function a(){t()}function d(){var e=r(".qodef-drop-down > ul > li.narrow.menu-item-has-children");e.length&&e.each(function(e){var o,a=r(this),d=a.offset().left,t=a.find(".second"),n=t.find(".inner ul"),i=n.outerWidth(),s=qodef.windowWidth-d;qodef.body.hasClass("qodef-boxed")&&(s=qodef.boxedLayoutWidth-(d-(qodef.windowWidth-qodef.boxedLayoutWidth)/2)),0<a.find("li.sub").length&&(o=s-i),t.removeClass("right"),n.removeClass("right"),(s<i||o<i)&&(t.addClass("right"),n.addClass("right"))})}function t(){var d=r(".qodef-drop-down > ul > li.wide");d.length&&d.each(function(e){var o,a,e=r(d[e]).find(".second");!e.length||e.hasClass("left_position")||e.hasClass("right_position")||(e.css("left",0),o=e.offset().left,qodef.body.hasClass("qodef-boxed")?(a=r(".qodef-boxed .qodef-wrapper .qodef-wrapper-inner").outerWidth(),o-=(qodef.windowWidth-a)/2,e.css("left",-o),e.css("width",a)):(e.css("left",-o),e.css("width",qodef.windowWidth)))})}(qodef.modules.header=e).qodefSetDropDownMenuPosition=d,e.qodefSetDropDownWideMenuPosition=t,e.qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,r(document).ready(o),r(window).on("load",a)}(jQuery),function(t){"use strict";var e={};function o(){var a,d,e;e=t(".qodef-wrapper"),a=t("a.qodef-side-menu-button-opener"),d="qodef-right-side-menu-opened",e.prepend('<div class="qodef-cover"/>'),t("a.qodef-side-menu-button-opener, a.qodef-close-side-menu").on("click",function(e){var o;e.preventDefault(),a.hasClass("opened")?(a.removeClass("opened"),qodef.body.removeClass(d)):(a.addClass("opened"),qodef.body.addClass(d),t(".qodef-wrapper .qodef-cover").on("click",function(){qodef.body.removeClass("qodef-right-side-menu-opened"),a.removeClass("opened")}),o=t(window).scrollTop(),t(window).scroll(function(){400<Math.abs(qodef.scroll-o)&&(qodef.body.removeClass(d),a.removeClass("opened"))}))}),(e=t(".qodef-side-menu")).length&&e.perfectScrollbar({wheelSpeed:.6,suppressScrollX:!0})}(qodef.modules.sidearea=e).qodefOnDocumentReady=o,t(document).ready(o)}(jQuery),function(s){"use strict";var e={};function o(){s(document).on("click",".qodef-quantity-minus, .qodef-quantity-plus",function(e){e.stopPropagation();var o,e=s(this),a=e.siblings(".qodef-quantity-input"),d=parseFloat(a.data("step")),t=parseFloat(a.data("max")),n=!1,i=parseFloat(a.val());(n=e.hasClass("qodef-quantity-minus")?!0:n)?1<=(o=i-d)?a.val(o):a.val(0):(o=i+d,void 0!==t&&t<=o?a.val(t):a.val(o)),a.trigger("change")});var e=s(".woocommerce-ordering .orderby");e.length&&e.select2({minimumResultsForSearch:1/0}),(e=s(".qodef-woocommerce-page .qodef-content .variations td.value select")).length&&e.select2(),(e=s("#calc_shipping_country")).length&&e.select2(),(e=s(".cart-collaterals .shipping select#calc_shipping_state")).length&&e.select2(),(e=s(".qodef-woo-single-page.qodef-woo-single-has-pretty-photo .images .woocommerce-product-gallery__image")).length&&(e.children("a").attr("data-rel","prettyPhoto[woo_single_pretty_photo]"),"function"==typeof qodef.modules.common.qodefPrettyPhoto)&&qodef.modules.common.qodefPrettyPhoto()}function a(){t()}function d(){t()}function t(){var e=s(".qodef-pl-holder.qodef-masonry-layout .qodef-pl-outer");e.length&&e.each(function(){var e=s(this);e.waitForImages(function(){e.isotope({itemSelector:".qodef-pli",resizable:!1,masonry:{columnWidth:".qodef-pl-sizer",gutter:".qodef-pl-gutter"}}),setTimeout(function(){"function"==typeof qodef.modules.common.qodefInitParallax&&qodef.modules.common.qodefInitParallax()},1e3),e.isotope("layout").css("opacity",1)})})}(qodef.modules.woocommerce=e).qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,e.qodefOnWindowResize=d,s(document).ready(o),s(window).on("load",a),s(window).resize(d)}(jQuery),function(s){"use strict";var e={};function o(){var e,o,a,d,t,n,i=s(".qodef-title-holder.qodef-bg-parallax");0<i.length&&1024<qodef.windowWidth&&(e=i.hasClass("qodef-bg-parallax-zoom-out"),o=parseInt(i.data("height")),a=parseInt(i.data("background-width")),d=o/1e4*7,t=-qodef.scroll*d,n=qodefGlobalVars.vars.qodefAddForAdminBar,i.css({"background-position":"center "+(t+n)+"px"}),e&&i.css({"background-size":a-qodef.scroll+"px auto"}),s(window).scroll(function(){t=-qodef.scroll*d,i.css({"background-position":"center "+(t+n)+"px"}),e&&i.css({"background-size":a-qodef.scroll+"px auto"})}))}(qodef.modules.title=e).qodefOnDocumentReady=o,s(document).ready(o)}(jQuery),function(u){"use strict";var e={};function o(){var e;(e=u(".qodef-blog-list-holder.qodef-bl-masonry")).length&&e.each(function(){var e=u(this).find(".qodef-blog-list");e.waitForImages(function(){e.isotope({layoutMode:"packery",itemSelector:".qodef-bl-item",percentPosition:!0,packery:{gutter:".qodef-bl-grid-gutter",columnWidth:".qodef-bl-grid-sizer"}}),e.css("opacity","1")})})}function a(){t().init()}function d(){t().scroll()}function t(){function t(e){var o=e.outerHeight()+e.offset().top-qodefGlobalVars.vars.qodefAddForAdminBar;!e.hasClass("qodef-bl-pag-infinite-scroll-started")&&qodef.scroll+qodef.windowHeight>o&&n(e)}function n(a,e){var d,t=a.find(".qodef-blog-list"),e=(void 0!==a.data("max-num-pages")&&!1!==a.data("max-num-pages")&&(d=a.data("max-num-pages")),a.hasClass("qodef-bl-pag-standard-shortcodes")&&a.data("next-page",e),a.hasClass("qodef-bl-pag-infinite-scroll")&&a.addClass("qodef-bl-pag-infinite-scroll-started"),qodef.modules.common.getLoadMoreData(a)),n=a.find(".qodef-blog-pag-loading"),i=e.nextPage,o=a.find('input[name*="qodef_blog_load_more_nonce_"]');e.blog_load_more_id=o.attr("name").substring(o.attr("name").length-4,o.attr("name").length),e.blog_load_more_nonce=o.val(),i<=d&&(a.hasClass("qodef-bl-pag-standard-shortcodes")?(n.addClass("qodef-showing qodef-standard-pag-trigger"),a.addClass("qodef-bl-pag-standard-shortcodes-animate")):n.addClass("qodef-showing"),o=qodef.modules.common.setLoadMoreAjaxData(e,"synergia_select_blog_shortcode_load_more"),u.ajax({type:"POST",data:o,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){a.hasClass("qodef-bl-pag-standard-shortcodes")||i++,a.data("next-page",i);var o=u.parseJSON(e).html;a.hasClass("qodef-bl-pag-standard-shortcodes")?(s(a,d,i),a.waitForImages(function(){a.hasClass("qodef-bl-masonry")?r(a,t,n,o):(l(a,t,n,o),"function"==typeof qodef.modules.common.qodefStickySidebarWidget&&qodef.modules.common.qodefStickySidebarWidget().reInit())})):a.waitForImages(function(){a.hasClass("qodef-bl-masonry")?f(t,n,o):(c(t,n,o),"function"==typeof qodef.modules.common.qodefStickySidebarWidget&&qodef.modules.common.qodefStickySidebarWidget().reInit())}),a.hasClass("qodef-bl-pag-infinite-scroll-started")&&a.removeClass("qodef-bl-pag-infinite-scroll-started")}})),i===d&&a.find(".qodef-blog-pag-load-more").hide()}var e=u(".qodef-blog-list-holder"),s=function(e,o,a){var e=e.find(".qodef-bl-standard-pagination"),d=e.find("li.qodef-bl-pag-number"),t=e.find("li.qodef-bl-pag-prev a"),e=e.find("li.qodef-bl-pag-next a");d.removeClass("qodef-bl-pag-active"),d.eq(a-1).addClass("qodef-bl-pag-active"),t.data("paged",a-1),e.data("paged",a+1),1<a?t.css({opacity:"1"}):t.css({opacity:"0"}),a===o?e.css({opacity:"0"}):e.css({opacity:"1"})},r=function(e,o,a,d){o.html(d).isotope("reloadItems").isotope({sortBy:"original-order"}),a.removeClass("qodef-showing qodef-standard-pag-trigger"),e.removeClass("qodef-bl-pag-standard-shortcodes-animate"),setTimeout(function(){o.isotope("layout"),"function"==typeof qodef.modules.common.qodefStickySidebarWidget&&qodef.modules.common.qodefStickySidebarWidget().reInit()},600)},l=function(e,o,a,d){a.removeClass("qodef-showing qodef-standard-pag-trigger"),e.removeClass("qodef-bl-pag-standard-shortcodes-animate"),o.html(d)},f=function(e,o,a){e.append(a).isotope("reloadItems").isotope({sortBy:"original-order"}),o.removeClass("qodef-showing"),setTimeout(function(){e.isotope("layout"),"function"==typeof qodef.modules.common.qodefStickySidebarWidget&&qodef.modules.common.qodefStickySidebarWidget().reInit()},600)},c=function(e,o,a){o.removeClass("qodef-showing"),e.append(a)};return{init:function(){e.length&&e.each(function(){var d,e,o,a=u(this);a.hasClass("qodef-bl-pag-standard-shortcodes")&&(e=(d=a).find(".qodef-bl-standard-pagination li")).length&&e.each(function(){var o=u(this).children("a"),a=1;o.on("click",function(e){e.preventDefault(),e.stopPropagation(),void 0!==o.data("paged")&&!1!==o.data("paged")&&(a=o.data("paged")),n(d,a)})}),a.hasClass("qodef-bl-pag-load-more")&&(o=a).find(".qodef-blog-pag-load-more a").on("click",function(e){e.preventDefault(),e.stopPropagation(),n(o)}),a.hasClass("qodef-bl-pag-infinite-scroll")&&t(a)})},scroll:function(){e.length&&e.each(function(){var e=u(this);e.hasClass("qodef-bl-pag-infinite-scroll")&&t(e)})}}}(qodef.modules.blogListSC=e).qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,e.qodefOnWindowScroll=d,u(document).ready(o),u(window).on("load",a),u(window).scroll(d)}(jQuery),function(f){"use strict";var e={};function o(){var e,o,a,d,t,n,i,s,r,l=f("a.qodef-fullscreen-menu-opener");l.length&&(e=f(".qodef-fullscreen-menu-holder-outer"),d=a=!1,t=f(".qodef-fullscreen-above-menu-widget-holder"),n=f(".qodef-fullscreen-below-menu-widget-holder"),i=f(".qodef-fullscreen-menu-holder-outer nav > ul > li > a"),s=f(".qodef-fullscreen-menu > ul li.has_sub > a"),r=f(".qodef-fullscreen-menu ul li:not(.has_sub) a"),e.perfectScrollbar({wheelSpeed:.6,suppressScrollX:!0}),f(window).resize(function(){e.height(qodef.windowHeight)}),qodef.body.hasClass("qodef-fade-push-text-right")?(o="qodef-push-nav-right",a=!0):qodef.body.hasClass("qodef-fade-push-text-top")&&(o="qodef-push-text-top",d=!0),(a||d)&&(t.length&&t.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),i.each(function(e){f(this).css({"-webkit-animation-delay":70*(e+1)+"ms","-moz-animation-delay":70*(e+1)+"ms","animation-delay":70*(e+1)+"ms"})}),n.length)&&n.children().css({"-webkit-animation-delay":70*(i.length+1)+"ms","-moz-animation-delay":70*(i.length+1)+"ms","animation-delay":70*(i.length+1)+"ms"}),l.on("click",function(e){e.preventDefault(),l.hasClass("qodef-fm-opened")?(l.removeClass("qodef-fm-opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(o),qodef.modules.common.qodefEnableScroll(),f("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200)):(l.addClass("qodef-fm-opened"),qodef.body.removeClass("qodef-fullscreen-fade-out").addClass("qodef-fullscreen-menu-opened qodef-fullscreen-fade-in"),qodef.body.removeClass(o),qodef.modules.common.qodefDisableScroll(),f(document).keyup(function(e){27===e.keyCode&&(l.removeClass("qodef-fm-opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(o),qodef.modules.common.qodefEnableScroll(),f("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200))}))}),s.on("tap click",function(e){e.preventDefault();var o,e=f(this).parent(),a=e.siblings(".menu-item-has-children");return e.hasClass("has_sub")&&((o=e.find("> ul.sub_menu")).is(":visible")?(o.slideUp(450,"easeInOutQuint"),e.removeClass("open_sub")):(e.addClass("open_sub"),0===a.length?o.slideDown(400,"easeInOutQuint"):(e.closest("li.menu-item").siblings().find(".menu-item").removeClass("open_sub"),e.siblings().removeClass("open_sub").find(".sub_menu").slideUp(400,"easeInOutQuint",function(){o.slideDown(400,"easeInOutQuint")})))),!1}),r.on("click",function(e){if("http://#"===f(this).attr("href")||"#"===f(this).attr("href"))return!1;1===e.which&&(l.removeClass("qodef-fm-opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(o),f("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200),qodef.modules.common.qodefEnableScroll())}))}(qodef.modules.headerMinimal=e).qodefOnDocumentReady=o,f(document).ready(o)}(jQuery),function(i){"use strict";var e={};function o(){a().init()}(qodef.modules.headerVertical=e).qodefOnDocumentReady=o,i(document).ready(o);var a=function(){function o(){t.hasClass("qodef-with-scroll")&&t.perfectScrollbar({wheelSpeed:.6,suppressScrollX:!0})}function a(){var e=i(".qodef-vertical-area-bottom-logo"),o=t.find(".qodef-vertical-area-opener"),a=0;function d(){t.removeClass("active"),e.length&&e.removeClass("active")}o.on("click tap",function(){t.hasClass("active")?d():(t.addClass("active"),e.length&&e.addClass("active"),a=i(window).scrollTop())}),i(window).scroll(function(){400<Math.abs(i(window).scrollTop()-a)&&d()})}var t=i(".qodef-vertical-menu-area");return{init:function(){var n,e;t.length&&(e=t.find(".qodef-vertical-menu"),(n=e.find("ul li.menu-item-has-children")).each(function(){var o=i(this).find(" > .second, > ul"),a=this,d=i(this).find("> a"),t="fast";d.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.is(":visible")?(i(a).removeClass("open"),o.slideUp(t)):(d.parent().parent().children().hasClass("open")&&d.parent().parent().parent().hasClass("qodef-vertical-menu")?(i(this).parent().parent().children().removeClass("open"),i(this).parent().parent().children().find(" > .second").slideUp(t)):(i(this).parents("li").hasClass("open")||(n.removeClass("open"),n.find(" > .second, > ul").slideUp(t)),i(this).parent().parent().children().hasClass("open")&&(i(this).parent().parent().children().removeClass("open"),i(this).parent().parent().children().find(" > .second, > ul").slideUp(t))),i(a).addClass("open"),o.slideDown("slow"))})}),o(),qodef.body.hasClass("qodef-header-vertical-closed"))&&a()}}}}(jQuery),function(u){"use strict";var e={};function o(){if(1024<qodef.windowWidth){var o,e,a=u(".qodef-page-header"),d=u(".qodef-sticky-header"),t=u(".qodef-fixed-wrapper"),n=t.children(".qodef-menu-area"),i=n.outerHeight(),s=u(".qodef-slider"),r=s.length?s.outerHeight():0,l=t.length?t.offset().top-qodefGlobalVars.vars.qodefAddForAdminBar:0;switch(!0){case qodef.body.hasClass("qodef-sticky-header-on-scroll-up"):qodef.modules.stickyHeader.behaviour="qodef-sticky-header-on-scroll-up";var f=u(document).scrollTop();o=parseInt(qodefGlobalVars.vars.qodefTopBarHeight)+parseInt(qodefGlobalVars.vars.qodefLogoAreaHeight)+parseInt(qodefGlobalVars.vars.qodefMenuAreaHeight)+parseInt(qodefGlobalVars.vars.qodefStickyHeaderHeight),(e=function(){var e=u(document).scrollTop();f<e&&o<e||e<o?(qodef.modules.stickyHeader.isStickyVisible=!1,d.removeClass("header-appear").find(".qodef-main-menu .second").removeClass("qodef-drop-down-start"),qodef.body.removeClass("qodef-sticky-header-appear")):(qodef.modules.stickyHeader.isStickyVisible=!0,d.addClass("header-appear"),qodef.body.addClass("qodef-sticky-header-appear")),f=u(document).scrollTop()})(),u(window).scroll(function(){e()});break;case qodef.body.hasClass("qodef-sticky-header-on-scroll-down-up"):qodef.modules.stickyHeader.behaviour="qodef-sticky-header-on-scroll-down-up",0!==qodefPerPageVars.vars.qodefStickyScrollAmount?qodef.modules.stickyHeader.stickyAppearAmount=parseInt(qodefPerPageVars.vars.qodefStickyScrollAmount):qodef.modules.stickyHeader.stickyAppearAmount=parseInt(qodefGlobalVars.vars.qodefTopBarHeight)+parseInt(qodefGlobalVars.vars.qodefLogoAreaHeight)+parseInt(qodefGlobalVars.vars.qodefMenuAreaHeight)+parseInt(r),(e=function(){qodef.scroll<qodef.modules.stickyHeader.stickyAppearAmount?(qodef.modules.stickyHeader.isStickyVisible=!1,d.removeClass("header-appear").find(".qodef-main-menu .second").removeClass("qodef-drop-down-start"),qodef.body.removeClass("qodef-sticky-header-appear")):(qodef.modules.stickyHeader.isStickyVisible=!0,d.addClass("header-appear"),qodef.body.addClass("qodef-sticky-header-appear"))})(),u(window).scroll(function(){e()});break;case qodef.body.hasClass("qodef-fixed-on-scroll"):qodef.modules.stickyHeader.behaviour="qodef-fixed-on-scroll";var c=function(){qodef.scroll<=l?(t.removeClass("fixed"),qodef.body.removeClass("qodef-fixed-header-appear"),n.css({height:i+"px"}),a.css("margin-bottom","0")):(t.addClass("fixed"),qodef.body.addClass("qodef-fixed-header-appear"),n.css({height:i-30+"px"}),a.css("margin-bottom",i-30+"px"))};c(),u(window).scroll(function(){c()})}}}(qodef.modules.stickyHeader=e).isStickyVisible=!1,e.stickyAppearAmount=0,e.behaviour="",e.qodefOnDocumentReady=o,u(document).ready(o)}(jQuery),function(f){"use strict";var e={};function o(){var e;qodef.body.hasClass("qodef-search-covers-header")&&0<(e=f("a.qodef-search-opener")).length&&e.on("click",function(e){e.preventDefault();var o,e=f(this),a=f(".qodef-page-header"),d=f(".qodef-top-bar"),t=a.find(".qodef-fixed-wrapper.fixed"),n=f(".qodef-mobile-header"),i=f(".qodef-search-cover"),s=!!e.parents(".qodef-top-bar").length,r=!!e.parents(".qodef-fixed-wrapper.fixed").length,l=!!e.parents(".qodef-sticky-header").length,e=!!e.parents(".qodef-mobile-header").length;i.removeClass("qodef-is-active"),(s?(o=qodefGlobalVars.vars.qodefTopBarHeight,d.find(".qodef-search-cover")):r?(o=t.outerHeight(),a.children(".qodef-search-cover")):l?(o=qodefGlobalVars.vars.qodefStickyHeaderHeight,a.children(".qodef-search-cover")):e?(o=(n.hasClass("mobile-header-appear")?n.children(".qodef-mobile-header-inner"):n).outerHeight(),n.find(".qodef-search-cover")):(o=a.outerHeight(),a.children(".qodef-search-cover"))).addClass("qodef-is-active"),i.hasClass("qodef-is-active")&&i.height(o).stop(!0).fadeIn(600).find('input[type="text"]').focus(),i.find(".qodef-search-close").on("click",function(e){e.preventDefault(),i.stop(!0).fadeOut(450)}),i.blur(function(){i.stop(!0).fadeOut(450)}),f(window).scroll(function(){i.stop(!0).fadeOut(450)})})}(qodef.modules.searchCoversHeader=e).qodefOnDocumentReady=o,f(document).ready(o)}(jQuery),function(t){"use strict";var e={};function o(){var a,o,e,d;qodef.body.hasClass("qodef-fullscreen-search")&&0<(e=t("a.qodef-search-opener")).length&&(a=t(".qodef-fullscreen-search-holder"),o=t(".qodef-fullscreen-search-close"),e.on("click",function(e){e.preventDefault(),a.hasClass("qodef-animate")?(qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-out"),qodef.body.removeClass("qodef-search-fade-in"),a.removeClass("qodef-animate"),setTimeout(function(){a.find(".qodef-search-field").val(""),a.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll()):(qodef.body.addClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.removeClass("qodef-search-fade-out"),a.addClass("qodef-animate"),setTimeout(function(){a.find(".qodef-search-field").focus()},900),qodef.modules.common.qodefDisableScroll()),o.on("click",function(e){e.preventDefault(),qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),a.removeClass("qodef-animate"),setTimeout(function(){a.find(".qodef-search-field").val(""),a.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll()}),t(document).mouseup(function(e){var o=t(".qodef-form-holder-inner");o.is(e.target)||0!==o.has(e.target).length||(e.preventDefault(),qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),a.removeClass("qodef-animate"),setTimeout(function(){a.find(".qodef-search-field").val(""),a.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll())}),t(document).keyup(function(e){27===e.keyCode&&(qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),a.removeClass("qodef-animate"),setTimeout(function(){a.find(".qodef-search-field").val(""),a.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll())})}),e=t(".qodef-fullscreen-search-holder .qodef-search-field"),d=t(".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line"),e.focus(function(){d.css("width","100%")}),e.blur(function(){d.css("width","0")}))}(qodef.modules.searchFullscreen=e).qodefOnDocumentReady=o,t(document).ready(o)}(jQuery),function(c){"use strict";var e={};function o(){var e;qodef.body.hasClass("qodef-slide-from-header-bottom")&&0<(e=c("a.qodef-search-opener")).length&&e.on("click",function(e){e.preventDefault();var e=c(this),o=parseInt(qodef.windowWidth-e.offset().left-e.outerWidth()),a=(qodef.body.hasClass("qodef-boxed")&&1024<qodef.windowWidth&&(o-=parseInt((qodef.windowWidth-c(".qodef-boxed .qodef-wrapper .qodef-wrapper-inner").outerWidth())/2)),c(".qodef-page-header")),d="100%",t=c(".qodef-top-bar"),n=a.find(".qodef-fixed-wrapper.fixed"),i=c(".qodef-mobile-header"),s=c(".qodef-slide-from-header-bottom-holder"),r=!!e.parents(".qodef-top-bar").length,l=!!e.parents(".qodef-fixed-wrapper.fixed").length,f=!!e.parents(".qodef-sticky-header").length,e=!!e.parents(".qodef-mobile-header").length;s.removeClass("qodef-is-active"),(r?t.find(".qodef-slide-from-header-bottom-holder"):l?(d=n.outerHeight()+qodefGlobalVars.vars.qodefAddForAdminBar,a.children(".qodef-slide-from-header-bottom-holder")):f?(d=qodefGlobalVars.vars.qodefStickyHeaderHeight+qodefGlobalVars.vars.qodefAddForAdminBar,a.children(".qodef-slide-from-header-bottom-holder")):e?(i.hasClass("mobile-header-appear")&&(d=i.children(".qodef-mobile-header-inner").outerHeight()+qodefGlobalVars.vars.qodefAddForAdminBar),i.find(".qodef-slide-from-header-bottom-holder")):a.children(".qodef-slide-from-header-bottom-holder")).addClass("qodef-is-active"),s.hasClass("qodef-is-active")&&s.css({right:o,top:d}).stop(!0).slideToggle(300,"easeOutBack"),c(document).keyup(function(e){27===e.keyCode&&s.stop(!0).fadeOut(0)}),c(window).scroll(function(){s.stop(!0).fadeOut(0)})})}(qodef.modules.searchSlideFromHB=e).qodefOnDocumentReady=o,c(document).ready(o)}(jQuery),function(f){"use strict";var e={};function o(){var o,a,d,e=f(".qodef-mobile-header"),t=f(".qodef-mobile-header .qodef-mobile-menu-opener"),n=f(".qodef-mobile-header .qodef-mobile-nav"),i=f(".qodef-mobile-nav .mobile_arrow, .qodef-mobile-nav h6, .qodef-mobile-nav a.qodef-mobile-no-link"),s=e.length?e.height():0,r=(t.length&&n.length&&t.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),n.is(":visible")?(n.slideUp(450,"easeInOutQuint"),t.removeClass("qodef-mobile-menu-opened")):(n.slideDown(450,"easeInOutQuint"),t.addClass("qodef-mobile-menu-opened"))}),e=n.outerHeight()+s>qodef.windowHeight-100?qodef.windowHeight-s-100:n.height(),n.height(e),n.perfectScrollbar({wheelSpeed:.6,suppressScrollX:!0}),f(window).resize(function(){var e=n.outerHeight()+s>qodef.windowHeight-100?qodef.windowHeight-s-100:n.height();n.height(e)}),i.length&&i.each(function(){var t=f(this);t.on("tap click",function(e){var o,a=t.parent("li"),d=a.siblings(".menu-item-has-children");a.hasClass("has_sub")&&((o=a.find("> ul.sub_menu")).is(":visible")?(o.slideUp(450,"easeInOutQuint"),a.removeClass("edgtf-opened")):(a.addClass("edgtf-opened"),(0===d.length?a:a.siblings().removeClass("edgtf-opened")).find(".sub_menu").slideUp(400,"easeInOutQuint",function(){o.slideDown(400,"easeInOutQuint")})))})}),f(".qodef-mobile-nav a, .qodef-mobile-logo-wrapper a").on("click tap",function(e){"http://#"!==f(this).attr("href")&&"#"!==f(this).attr("href")&&(n.slideUp(450,"easeInOutQuint"),t.removeClass("qodef-mobile-menu-opened"))}),f(".qodef-mobile-header")),l=r.find(".qodef-mobile-menu-opener"),e=r.length?r.outerHeight():0;qodef.body.hasClass("qodef-content-is-behind-header")&&0<e&&qodef.windowWidth<=1024&&f(".qodef-content").css("marginTop",-e),qodef.body.hasClass("qodef-sticky-up-mobile-header")&&(a=f("#wpadminbar"),d=f(document).scrollTop(),o=e+qodefGlobalVars.vars.qodefAddForAdminBar,f(window).scroll(function(){var e=f(document).scrollTop();o<e?r.addClass("qodef-animate-mobile-header"):r.removeClass("qodef-animate-mobile-header"),d<e&&o<e&&!l.hasClass("qodef-mobile-menu-opened")||e<o?(r.removeClass("mobile-header-appear"),r.css("margin-bottom",0),a.length&&r.find(".qodef-mobile-header-inner").css("top",0)):(r.addClass("mobile-header-appear"),r.css("margin-bottom",o)),d=f(document).scrollTop()}))}(qodef.modules.mobileHeader=e).qodefOnDocumentReady=o,f(document).ready(o)}(jQuery),function(d){"use strict";var e={};function o(){var e,o,a;qodef.body.hasClass("qodef-fullscreen-search-with-sidebar")&&0<(e=d("a.qodef-search-opener")).length&&(o=d(".qodef-fullscreen-with-sidebar-search-holder"),a=d(".qodef-fullscreen-search-close"),e.on("click",function(e){e.preventDefault(),o.perfectScrollbar({wheelSpeed:.6,suppressScrollX:!0}),o.hasClass("qodef-animate")?(qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-out"),qodef.body.removeClass("qodef-search-fade-in"),o.removeClass("qodef-animate"),setTimeout(function(){o.find(".qodef-search-field").val(""),o.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll()):(qodef.body.addClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.removeClass("qodef-search-fade-out"),o.addClass("qodef-animate"),setTimeout(function(){o.find(".qodef-search-field").focus()},900),qodef.modules.common.qodefDisableScroll()),a.on("click",function(e){e.preventDefault(),qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),o.removeClass("qodef-animate"),setTimeout(function(){o.find(".qodef-search-field").val(""),o.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll()}),d(document).keyup(function(e){27===e.keyCode&&(qodef.body.removeClass("qodef-fullscreen-search-opened qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),o.removeClass("qodef-animate"),setTimeout(function(){o.find(".qodef-search-field").val(""),o.find(".qodef-search-field").blur()},300),qodef.modules.common.qodefEnableScroll())})}))}(qodef.modules.searchFullscreenWithSidebar=e).qodefOnDocumentReady=o,d(document).ready(o)}(jQuery),function(d){"use strict";var e={};function o(){var e,o,a;qodef.body.hasClass("qodef-search-slides-from-window-top")&&0<(e=d("a.qodef-search-opener")).length&&(o=d(".qodef-search-slide-window-top"),a=d(".qodef-swt-search-close"),e.on("click",function(e){e.preventDefault(),0===o.height()?(d('.qodef-search-slide-window-top input[type="text"]').focus(),qodef.body.addClass("qodef-search-open")):qodef.body.removeClass("qodef-search-open"),d(window).scroll(function(){0!==o.height()&&50<qodef.scroll&&qodef.body.removeClass("qodef-search-open")}),a.on("click",function(e){e.preventDefault(),qodef.body.removeClass("qodef-search-open")})}))}(qodef.modules.searchSlideFromWT=e).qodefOnDocumentReady=o,d(document).ready(o)}(jQuery),function(i){"use strict";var e={};function o(){var e;(e=i(".qodef-portfolio-single-holder .qodef-ps-masonry-images").children()).length&&(e.isotope({layoutMode:"packery",itemSelector:".qodef-ps-image",percentPosition:!0,packery:{gutter:".qodef-ps-grid-gutter",columnWidth:".qodef-ps-grid-sizer"}}),e.css("opacity","1")),a().init()}(qodef.modules.portfolio=e).qodefOnWindowLoad=o,i(window).on("load",o);var a=function(){var o,a,d,e,t,n=i(".qodef-follow-portfolio-info .qodef-portfolio-single-holder .qodef-ps-info-sticky-holder");n.length&&(e=n.parent(),o=e.offset().top,a=e.height(),d=i(".qodef-ps-image-holder").height(),e=i(".header-appear, .qodef-fixed-wrapper"),t=e.length?e.height():0);return{init:function(){var e;n.length&&a<d&&qodef.scroll>o&&(e=qodef.scroll-o+qodefGlobalVars.vars.qodefAddForAdminBar+t,d<e+a&&(e=d-a),n.stop().animate({marginTop:e})),i(window).scroll(function(){n.length&&a<d&&(qodef.scroll>o?qodef.scroll+t+qodefGlobalVars.vars.qodefAddForAdminBar+a+50<o+d?(i(".header-appear, .qodef-fixed-wrapper").length&&(t=i(".header-appear, .qodef-fixed-wrapper").height()),n.stop().animate({marginTop:qodef.scroll-o+qodefGlobalVars.vars.qodefAddForAdminBar+t}),t=0):n.stop().animate({marginTop:d-a}):n.stop().animate({marginTop:0}))})}}}}(jQuery),function(d){"use strict";var e={};function o(){a()}function a(){var e=d(".qodef-accordion-holder");e.length&&e.each(function(){var e,o,a=d(this);a.hasClass("qodef-accordion")&&a.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"}),a.hasClass("qodef-toggle")&&(o=(e=(a=d(this)).find(".qodef-accordion-title")).next(),a.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),e.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),o.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),e.each(function(){var e=d(this);e.on("mouseenter mouseleave",function(){e.toggleClass("ui-state-hover")}),e.on("click",function(){e.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),e.next().toggleClass("ui-accordion-content-active").slideToggle(400)})}))})}(qodef.modules.accordions=e).qodefInitAccordions=a,e.qodefOnDocumentReady=o,d(document).ready(o)}(jQuery),function(t){"use strict";var e={};function o(){a()}function a(){var a,d,e=t(".qodef-grow-in, .qodef-fade-in-down, .qodef-element-from-fade, .qodef-element-from-left, .qodef-element-from-right, .qodef-element-from-top, .qodef-element-from-bottom, .qodef-flip-in, .qodef-x-rotate, .qodef-z-rotate, .qodef-y-translate, .qodef-fade-in, .qodef-fade-in-left-x-rotate");e.length&&e.each(function(){var o=t(this);o.appear(function(){var e;a=o.data("animation"),d=parseInt(o.data("animation-delay")),void 0!==a&&""!==a&&(e=a+"-on",setTimeout(function(){o.addClass(e)},d))},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}(qodef.modules.animationHolder=e).qodefInitAnimationHolder=a,e.qodefOnDocumentReady=o,t(document).ready(o)}(jQuery),function(s){"use strict";var e={};function o(){a().init()}(qodef.modules.button=e).qodefButton=a,e.qodefOnDocumentReady=o,s(document).ready(o);var a=function(){var e=s(".qodef-btn");return{init:function(){e.length&&e.each(function(){var e,o,a,d,t,n,i;void 0!==(d=s(this)).data("hover-color")&&(a=function(e){e.data.button.css("color",e.data.color)},o=d.css("color"),e=d.data("hover-color"),d.on("mouseenter",{button:d,color:e},a),d.on("mouseleave",{button:d,color:o},a)),void 0!==(e=s(this)).data("hover-bg-color")&&(d=function(e){e.data.button.css("background-color",e.data.color)},o=e.css("background-color"),a=e.data("hover-bg-color"),e.find(".qodef-btn-overlay").css("background-color",e.data("hover-bg-color")),e.on("mouseenter",{button:e,color:a},d),e.on("mouseleave",{button:e,color:o},d)),void 0!==(d=s(this)).data("hover-border-color")&&(t=function(e){e.data.button.css("border-color",e.data.color)},n=d.css("borderTopColor"),i=d.data("hover-border-color"),d.on("mouseenter",{button:d,color:i},t),d.on("mouseleave",{button:d,color:n},t))})}}}}(jQuery),function(g){"use strict";var e={};function o(){a()}function a(){var t,n,i,s,r,l,f,c,u,h,m,e=g(".qodef-countdown"),o=new Date,p=o.getMonth(),q=o.getFullYear();e.length&&e.each(function(){var e,o,a=g(this).attr("id"),d=g("#"+a);t=d.data("year"),n=d.data("month"),i=d.data("day"),s=d.data("hour"),r=d.data("minute"),l=d.data("timezone"),f=d.data("month-label"),c=d.data("day-label"),u=d.data("hour-label"),h=d.data("minute-label"),m=d.data("second-label"),e=d.data("digit-size"),o=d.data("label-size"),p===n&&q===t||(n-=1),d.countdown({until:new Date(t,n,i,s,r,44),labels:["",f,"",c,u,h,m],format:"oDHMS",timezone:l,padZeroes:!0,onTick:function(){d.find(".countdown-amount").css({"font-size":e+"px","line-height":e+"px"}),d.find(".countdown-period").each(function(){g(this).css({"font-size":o+"px"}),g(this).addClass("qodef-gradient-vertical-text")})}})})}(qodef.modules.countdown=e).qodefInitCountdown=a,e.qodefOnDocumentReady=o,g(document).ready(o)}(jQuery),function(r){"use strict";var e={};function o(){d()}function a(){t()}function d(){var e=r(".qodef-custom-font-holder");e.length&&e.each(function(){var e=r(this),o="",a="",d="",t="",n="",i="",s="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(o=e.data("item-class")),void 0!==e.data("font-size-1280")&&!1!==e.data("font-size-1280")&&(a+="font-size: "+e.data("font-size-1280")+" !important;"),void 0!==e.data("font-size-1024")&&!1!==e.data("font-size-1024")&&(d+="font-size: "+e.data("font-size-1024")+" !important;"),void 0!==e.data("font-size-768")&&!1!==e.data("font-size-768")&&(t+="font-size: "+e.data("font-size-768")+" !important;"),void 0!==e.data("font-size-680")&&!1!==e.data("font-size-680")&&(n+="font-size: "+e.data("font-size-680")+" !important;"),void 0!==e.data("line-height-1280")&&!1!==e.data("line-height-1280")&&(a+="line-height: "+e.data("line-height-1280")+" !important;"),void 0!==e.data("line-height-1024")&&!1!==e.data("line-height-1024")&&(d+="line-height: "+e.data("line-height-1024")+" !important;"),void 0!==e.data("line-height-768")&&!1!==e.data("line-height-768")&&(t+="line-height: "+e.data("line-height-768")+" !important;"),void 0!==e.data("line-height-680")&&!1!==e.data("line-height-680")&&(n+="line-height: "+e.data("line-height-680")+" !important;"),(a.length||d.length||t.length||n.length)&&(a.length&&(s+="@media only screen and (max-width: 1280px) {.qodef-custom-font-holder."+o+" { "+a+" } }"),d.length&&(s+="@media only screen and (max-width: 1024px) {.qodef-custom-font-holder."+o+" { "+d+" } }"),t.length&&(s+="@media only screen and (max-width: 768px) {.qodef-custom-font-holder."+o+" { "+t+" } }"),n.length)&&(s+="@media only screen and (max-width: 680px) {.qodef-custom-font-holder."+o+" { "+n+" } }"),(i=s.length?'<style type="text/css">'+s+"</style>":i).length&&r("head").append(i)})}function t(){var e=r(".qodef-cf-typed");e.length&&e.each(function(){var e=r(this),o=e.parent(".qodef-cf-typed-wrap").parent(".qodef-custom-font-holder"),a=[],d=e.find(".qodef-cf-typed-1").text(),t=e.find(".qodef-cf-typed-2").text(),n=e.find(".qodef-cf-typed-3").text(),i=e.find(".qodef-cf-typed-4").text();d.length&&a.push(d),t.length&&a.push(t),n.length&&a.push(n),i.length&&a.push(i),o.appear(function(){e.typed({strings:a,typeSpeed:90,backDelay:700,loop:!0,contentType:"text",loopCount:!1,cursorChar:"_"})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}(qodef.modules.customFont=e).qodefCustomFontResize=d,e.qodefCustomFontTypeOut=t,e.qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,r(document).ready(o),r(window).on("load",a)}(jQuery),function(d){"use strict";var e={};function o(){a()}function a(){var e=d(".qodef-counter-holder");e.length&&e.each(function(){var o=d(this),a=o.find(".qodef-counter");o.appear(function(){var e;o.css("opacity","1"),a.hasClass("qodef-zero-counter")?(e=parseFloat(a.text()),a.countTo({from:0,to:e,speed:1500,refreshInterval:100})):a.absoluteCounter({speed:2e3,fadeInDelay:1e3})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}(qodef.modules.counter=e).qodefInitCounter=a,e.qodefOnDocumentReady=o,d(document).ready(o)}(jQuery),function(r){"use strict";var e={};function o(){a()}function a(){var e=r(".qodef-elements-holder");e.length&&e.each(function(){var e=r(this).children(".qodef-eh-item"),o="",s="";e.each(function(){var e=r(this),o="",a="",d="",t="",n="",i="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(o=e.data("item-class")),void 0!==e.data("1280-1600")&&!1!==e.data("1280-1600")&&(a=e.data("1280-1600")),void 0!==e.data("1024-1280")&&!1!==e.data("1024-1280")&&(d=e.data("1024-1280")),void 0!==e.data("768-1024")&&!1!==e.data("768-1024")&&(t=e.data("768-1024")),void 0!==e.data("680-768")&&!1!==e.data("680-768")&&(n=e.data("680-768")),void 0!==e.data("680")&&!1!==e.data("680")&&(i=e.data("680")),(a.length||d.length||t.length||n.length||i.length||"".length)&&(a.length&&(s+="@media only screen and (min-width: 1281px) and (max-width: 1600px) {.qodef-eh-item-content."+o+" { padding: "+a+" !important; } }"),d.length&&(s+="@media only screen and (min-width: 1025px) and (max-width: 1280px) {.qodef-eh-item-content."+o+" { padding: "+d+" !important; } }"),t.length&&(s+="@media only screen and (min-width: 769px) and (max-width: 1024px) {.qodef-eh-item-content."+o+" { padding: "+t+" !important; } }"),n.length&&(s+="@media only screen and (min-width: 681px) and (max-width: 768px) {.qodef-eh-item-content."+o+" { padding: "+n+" !important; } }"),i.length)&&(s+="@media only screen and (max-width: 680px) {.qodef-eh-item-content."+o+" { padding: "+i+" !important; } }")}),(o=s.length?'<style type="text/css">'+s+"</style>":o).length&&r("head").append(o),"function"==typeof qodef.modules.common.qodefOwlSlider&&qodef.modules.common.qodefOwlSlider()})}(qodef.modules.elementsHolder=e).qodefInitElementsHolderResponsiveStyle=a,e.qodefOnDocumentReady=o,r(document).ready(o)}(jQuery),function(o){"use strict";var e={};function a(){d()}function d(){var e=o(".qodef-hiding-images");e.length&&!qodef.htmlEl.hasClass("touch")&&e.appear(function(){var e=o(this);e.waitForImages(function(){e.addClass("qodef-appeared")})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})}(qodef.modules.hidingImages=e).qodefInitHidingImages=d,e.qodefOnDocumentReady=a,o(document).ready(a)}(jQuery),function(b){"use strict";var e={};function o(){a()}function a(){var e=b(".qodef-google-map");e.length&&e.each(function(){var e,o,a,d=b(this),t=!1,n="",i=(void 0!==d.data("snazzy-map-style")&&"yes"===d.data("snazzy-map-style")&&(t=!0,s=(i=d.parent().find(".qodef-snazzy-map")).val(),i.length)&&s.length&&(n=JSON.parse(s.replace(/`{`/g,"[").replace(/`}`/g,"]").replace(/``/g,'"').replace(/`/g,""))),void 0!==d.data("custom-map-style")&&(r=d.data("custom-map-style")),void 0!==d.data("color-overlay")&&!1!==d.data("color-overlay")&&(l=d.data("color-overlay")),void 0!==d.data("saturation")&&!1!==d.data("saturation")&&(f=d.data("saturation")),void 0!==d.data("lightness")&&!1!==d.data("lightness")&&(c=d.data("lightness")),void 0!==d.data("zoom")&&!1!==d.data("zoom")&&(h=d.data("zoom")),void 0!==d.data("pin")&&!1!==d.data("pin")&&(e=d.data("pin")),void 0!==d.data("height")&&!1!==d.data("height")&&(y=d.data("height")),void 0!==d.data("unique-id")&&!1!==d.data("unique-id")&&(o=d.data("unique-id")),void 0!==d.data("scroll-wheel")&&(u=d.data("scroll-wheel")),void 0!==d.data("addresses")&&!1!==d.data("addresses")&&(a=d.data("addresses")),"map_"+o),s=t,d=n,t=r,n=l,r=f,l=c,f=u,c=h,u="qodef-map-"+o,h=y,m=e,p=i,q="geocoder_"+o,g=a;if("object"==typeof google){var v,y=[],n=(y=s&&d.length?d:[{stylers:[{hue:n},{saturation:r},{lightness:l},{gamma:1}]}],d=s||"yes"===t?"qodef-style":google.maps.MapTypeId.ROADMAP,f="yes"===f,new google.maps.StyledMapType(y,{name:"Qode Google Map"})),r=(q=new google.maps.Geocoder,new google.maps.LatLng(-34.397,150.644)),l=(isNaN(h)||(h+="px"),{zoom:c,scrollwheel:f,center:r,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"qodef-style"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:d});for((p=new google.maps.Map(document.getElementById(u),l)).mapTypes.set("qodef-style",n),v=0;v<g.length;++v)!function(d,t,n,e){var o,i;""!==d&&(o='<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>'+d+"</p></div></div>",i=new google.maps.InfoWindow({content:o}),e.geocode({address:d},function(e,o){var a;o===google.maps.GeocoderStatus.OK&&(n.setCenter(e[0].geometry.location),a=new google.maps.Marker({map:n,position:e[0].geometry.location,icon:t,title:d.store_title}),google.maps.event.addListener(a,"click",function(){i.open(n,a)}),google.maps.event.addDomListener(window,"resize",function(){n.setCenter(e[0].geometry.location)}))}))}(g[v],m,p,q);document.getElementById(u).style.height=h}})}(qodef.modules.googleMap=e).qodefShowGoogleMap=a,e.qodefOnDocumentReady=o,b(document).ready(o)}(jQuery),function(o){"use strict";var e={};function a(){d().init()}(qodef.modules.iconListItem=e).qodefInitIconList=d,e.qodefOnDocumentReady=a,o(document).ready(a);var d=function(){var e=o(".qodef-animate-list");return{init:function(){e.length&&e.each(function(){var e;e=o(this),setTimeout(function(){e.appear(function(){e.addClass("qodef-appeared")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},30)})}}}}(jQuery),function(r){"use strict";var e={};function o(){a().init()}(qodef.modules.icon=e).qodefIcon=a,e.qodefOnDocumentReady=o,r(document).ready(o);var a=function(){var e=r(".qodef-icon-shortcode");return{init:function(){e.length&&e.each(function(){var e,o,a,d,t,n,i,s;(e=r(this)).hasClass("qodef-icon-animation")&&e.appear(function(){e.parent(".qodef-icon-animation-holder").addClass("qodef-icon-animation-show")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount}),void 0!==(n=r(this)).data("hover-color")&&(t=function(e){e.data.icon.css("color",e.data.color)},a=n.find(".qodef-icon-element"),o=n.data("hover-color"),d=a.css("color"),""!==o)&&(n.on("mouseenter",{icon:a,color:o},t),n.on("mouseleave",{icon:a,color:d},t)),void 0!==(o=r(this)).data("hover-background-color")&&(n=function(e){e.data.icon.css("background-color",e.data.color)},a=o.data("hover-background-color"),d=o.css("background-color"),""!==a)&&(o.on("mouseenter",{icon:o,color:a},n),o.on("mouseleave",{icon:o,color:d},n)),void 0!==(t=r(this)).data("hover-border-color")&&(n=function(e){e.data.icon.css("border-color",e.data.color)},i=t.data("hover-border-color"),s=t.css("borderTopColor"),""!==i)&&(t.on("mouseenter",{icon:t,color:i},n),t.on("mouseleave",{icon:t,color:s},n))})}}}}(jQuery),function(o){"use strict";var e={};function a(){d()}function d(){var e=o(".qodef-image-gallery.qodef-ig-masonry-type");e.length&&e.each(function(){var e=o(this).find(".qodef-ig-masonry");e.waitForImages(function(){e.isotope({layoutMode:"packery",itemSelector:".qodef-ig-image",percentPosition:!0,packery:{gutter:".qodef-ig-grid-gutter",columnWidth:".qodef-ig-grid-sizer"}}),setTimeout(function(){e.isotope("layout"),qodef.modules.common.qodefInitParallax()},800),e.css("opacity","1")})})}(qodef.modules.imageGallery=e).qodefInitImageGalleryMasonry=d,e.qodefOnWindowLoad=a,o(window).on("load",a)}(jQuery),function(o){"use strict";var e={};function a(){d()}function d(){var e=o(".qodef-pie-chart-holder");e.length&&e.each(function(){var a=o(this),d=a.children(".qodef-pc-percentage"),t="#25abd1",n="#f7f7f7",i=200;void 0!==d.data("size")&&""!==d.data("size")&&(i=d.data("size")),void 0!==d.data("bar-color")&&""!==d.data("bar-color")&&(t=d.data("bar-color")),void 0!==d.data("track-color")&&""!==d.data("track-color")&&(n=d.data("track-color")),d.appear(function(){var e,o;e=(e=d).find(".qodef-pc-percent"),o=parseFloat(e.text()),e.countTo({from:0,to:o,speed:1500,refreshInterval:50}),a.css("opacity","1"),d.easyPieChart({barColor:t,trackColor:n,scaleColor:!1,lineCap:"butt",lineWidth:8,animate:1500,size:i})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}(qodef.modules.pieChart=e).qodefInitPieChart=d,e.qodefOnDocumentReady=a,o(document).ready(a)}(jQuery),function(n){"use strict";var e={};function o(){a()}function a(){var e=n(".qodef-item-showcase-holder");e.length&&e.each(function(){var o=n(this),e=o.find(".qodef-is-left"),a=o.find(".qodef-is-right"),d=o.find(".qodef-is-image");function t(e){o.find(e).each(function(e){var o=n(this);setTimeout(function(){o.addClass("qodef-appeared")},150*e)})}e.wrapAll("<div class='qodef-is-item-holder qodef-is-left-holder' />"),a.wrapAll("<div class='qodef-is-item-holder qodef-is-right-holder' />"),o.animate({opacity:1},200),setTimeout(function(){o.appear(function(){d.addClass("qodef-appeared"),o.on("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(e){1200<qodef.windowWidth?(t(".qodef-is-left-holder .qodef-is-item"),t(".qodef-is-right-holder .qodef-is-item")):t(".qodef-is-item")})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},100)})}(qodef.modules.itemShowcase=e).qodefInitItemShowcase=a,e.qodefOnDocumentReady=o,n(document).ready(o)}(jQuery),function(d){"use strict";var e={};function o(){a()}function a(){var e=d(".qodef-progress-bar");e.length&&e.each(function(){var e=d(this),o=e.find(".qodef-pb-content"),a=o.data("percentage");e.parents(".qodef-vss-ms-section").length?(t(e,a),o.css("width","0%"),o.animate({width:a+"%"},2e3)):e.appear(function(){t(e,a),o.css("width","0%"),o.animate({width:a+"%"},2e3)})})}function t(e,o){var a=parseFloat(o),o=e.find(".qodef-pb-percent");o.length&&o.each(function(){var e=d(this);e.css("opacity","1"),e.countTo({from:0,to:a,speed:2e3,refreshInterval:50})})}(qodef.modules.progressBar=e).qodefInitProgressBars=a,e.qodefOnDocumentReady=o,d(document).ready(o)}(jQuery),function(a){"use strict";var e={};function o(){d().init()}function d(){var e=a(".qodef-process-holder");return{init:function(){e.length&&e.each(function(){var e;e=a(this),qodef.body.hasClass("qodef-no-animations-on-touch")||(e.find(".qodef-process-item-holder"),e.find(".qodef-process-bg-holder"),e.appear(function(){a(this).addClass("appeared"),e.find(".qodef-process-item-holder").each(function(e){var o=a(this);setTimeout(function(){o.addClass("item-appeared")},250*e)})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount}))})}}}(qodef.modules.process=e).qodefProcess=d,e.qodefOnDocumentReady=o,a(document).ready(o)}(jQuery),function(d){"use strict";var e={};function o(){a()}function a(){var e=d(".qodef-tabs");e.length&&e.each(function(){var e=d(this);e.children(".qodef-tab-container").each(function(e){e+=1;var o=d(this),a=o.attr("id"),o=o.parent().find(".qodef-tabs-nav li:nth-child("+e+") a"),e=o.attr("href");-1<(a="#"+a).indexOf(e)&&o.attr("href",a)}),e.tabs(),d(".qodef-tabs a.qodef-external-link").off("click")})}(qodef.modules.tabs=e).qodefInitTabs=a,e.qodefOnDocumentReady=o,d(document).ready(o)}(jQuery),function(r){"use strict";var e={};function o(){a()}function a(){var e=r(".qodef-text-marquee");e.length&&!qodef.htmlEl.hasClass("touch")&&e.each(function(){var t,o=r(this),e=o.find(".qodef-marquee-element"),n=e.filter(".qodef-original-text"),i=e.filter(".qodef-aux-text"),s=function(e){e=(o.outerWidth()>e.outerWidth()?o:e).outerWidth();return e};window.requestNextAnimationFrame=function(){var a,e,d=void 0,o=navigator.userAgent,t=this;return window.webkitRequestAnimationFrame&&(a=function(e){void 0===e&&(e=+new Date),t.callback(e)},d=window.webkitRequestAnimationFrame,window.webkitRequestAnimationFrame=function(e,o){t.callback=e,d(a,o)}),window.mozRequestAnimationFrame&&(e=o.indexOf("rv:"),-1!==o.indexOf("Gecko"))&&"2.0"===o.substr(e+3,3)&&(window.mozRequestAnimationFrame=void 0),window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,o){var a,d;window.setTimeout(function(){a=+new Date,e(a),d=+new Date,t.timeout=1e3/60-(d-a)},t.timeout)}}(),t=s(n),e.css({width:t}),i.css("left",t),e.each(function(e){var o=r(this),a=0,d=function(){--a,o.position().left<=-t&&(o.css("left",parseInt(t-1)),a=0),o.css("transform","translate3d("+.8*a+"px,0,0)"),requestNextAnimationFrame(d),r(window).resize(function(){t=s(n),a=0,n.css("left",0),i.css("left",t)})};d()})})}(qodef.modules.textMarquee=e).qodefInitTextMarquee=a,e.qodefOnDocumentReady=o,r(document).ready(o)}(jQuery),function(s){"use strict";var e={};function o(){a()}function a(){var n,i=s(".qodef-vertical-split-slider");i.length&&(qodef.body.hasClass("qodef-vss-initialized")&&(qodef.body.removeClass("qodef-vss-initialized"),s.fn.multiscroll.destroy()),i.height(qodef.windowHeight).animate({opacity:1},300),n="",qodef.body.hasClass("qodef-light-header")?n="light":qodef.body.hasClass("qodef-dark-header")&&(n="dark"),i.multiscroll({scrollingSpeed:700,easing:"easeInOutQuart",navigation:!0,useAnchorsOnLoad:!1,sectionSelector:".qodef-vss-ms-section",leftSelector:".qodef-vss-ms-left",rightSelector:".qodef-vss-ms-right",afterRender:function(){r(s(".qodef-vss-ms-left .qodef-vss-ms-section:last-child").data("header-style"),n),qodef.body.addClass("qodef-vss-initialized");var e=s("div.wpcf7 > form"),o=(e.length&&e.each(function(){var o=s(this);o.find(".wpcf7-submit").off().on("click",function(e){e.preventDefault(),wpcf7.submit(o)})}),s('<div class="qodef-vss-responsive"></div>')),a=i.find(".qodef-vss-ms-left > div"),d=i.find(".qodef-vss-ms-right > div");i.after(o);for(var t=0;t<a.length;t++)o.append(s(a[t]).clone(!0)),o.append(s(d[a.length-1-t]).clone(!0));e=s(".qodef-vss-responsive .qodef-google-map");e.length&&e.each(function(){var e=s(this),o=(e.empty(),Math.floor(1e5*Math.random()+1));e.attr("id","qodef-map-"+o),e.data("unique-id",o)}),"function"==typeof qodef.modules.animationHolder.qodefInitAnimationHolder&&qodef.modules.animationHolder.qodefInitAnimationHolder(),"function"==typeof qodef.modules.button.qodefButton&&qodef.modules.button.qodefButton().init(),"function"==typeof qodef.modules.elementsHolder.qodefInitElementsHolderResponsiveStyle&&qodef.modules.elementsHolder.qodefInitElementsHolderResponsiveStyle(),"function"==typeof qodef.modules.googleMap.qodefShowGoogleMap&&qodef.modules.googleMap.qodefShowGoogleMap(),"function"==typeof qodef.modules.icon.qodefIcon&&qodef.modules.icon.qodefIcon().init(),"function"==typeof qodef.modules.progressBar.qodefInitProgressBars&&qodef.modules.progressBar.qodefInitProgressBars()},onLeave:function(e,o){var a,d;d=o,(a=i).hasClass("qodef-vss-scrolling-animation")&&(1<d&&!a.hasClass("qodef-vss-scrolled")?a.addClass("qodef-vss-scrolled"):1===d&&a.hasClass("qodef-vss-scrolled")&&a.removeClass("qodef-vss-scrolled")),r(s(s(".qodef-vss-ms-left .qodef-vss-ms-section")[s(".qodef-vss-ms-left .qodef-vss-ms-section").length-o]).data("header-style"),n)}}),qodef.windowWidth<=1024?s.fn.multiscroll.destroy():s.fn.multiscroll.build(),s(window).resize(function(){qodef.windowWidth<=1024?s.fn.multiscroll.destroy():s.fn.multiscroll.build()}))}function r(e,o){void 0!==e&&""!==e?qodef.body.removeClass("qodef-light-header qodef-dark-header").addClass("qodef-"+e+"-header"):""!==o?qodef.body.removeClass("qodef-light-header qodef-dark-header").addClass("qodef-"+o+"-header"):qodef.body.removeClass("qodef-light-header qodef-dark-header")}(qodef.modules.verticalSplitSlider=e).qodefInitVerticalSplitSlider=a,e.qodefOnDocumentReady=o,s(document).ready(o)}(jQuery),function(h){"use strict";var e={};function o(){}function a(){var e;n(),(e=h(".qodef-portfolio-list-holder .qodef-pl-filter-holder")).length&&e.each(function(){var t=h(this),n=t.closest(".qodef-portfolio-list-holder"),i=n.find(".qodef-pl-inner"),s=!!n.hasClass("qodef-pl-pag-load-more");t.find(".qodef-pl-filter:first").addClass("qodef-pl-current"),n.hasClass("qodef-pl-gallery")&&i.isotope(),t.find(".qodef-pl-filter").on("click",function(){var e=h(this),o=e.attr("data-filter"),a=o.length?o.substring(1):"",d=!!i.children().hasClass(a);e.parent().children(".qodef-pl-filter").removeClass("qodef-pl-current"),e.addClass("qodef-pl-current"),s&&!d&&o.length?function a(e,o,d){var t=e,n=t.find(".qodef-pl-inner"),i=o,s=d,e=0;void 0!==t.data("max-num-pages")&&!1!==t.data("max-num-pages")&&(e=t.data("max-num-pages"));var o=qodef.modules.common.getLoadMoreData(t),r=o.nextPage,d=qodef.modules.common.setLoadMoreAjaxData(o,"qodef_core_portfolio_ajax_load_more"),l=t.find(".qodef-pl-loading");r<=e&&(l.addClass("qodef-showing qodef-filter-trigger"),n.css("opacity","0"),h.ajax({type:"POST",data:d,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){r++,t.data("next-page",r);var e=h.parseJSON(e),o=e.html;t.waitForImages(function(){n.append(o).isotope("reloadItems").isotope({sortBy:"original-order"});var e=!!n.children().hasClass(s);e?setTimeout(function(){p(n.find(".qodef-pl-grid-sizer").width(),t),n.isotope("layout").isotope({filter:i}),l.removeClass("qodef-showing qodef-filter-trigger"),setTimeout(function(){n.css("opacity","1"),m(),qodef.modules.common.qodefInitParallax()},150)},400):(l.removeClass("qodef-showing qodef-filter-trigger"),a(t,i,s))})}}))}(n,o,a):(o=0===o.length?"*":o,t.parent().children(".qodef-pl-inner").isotope({filter:o}),qodef.modules.common.qodefInitParallax())})}),m(),i().init()}function d(){n()}function t(){i().scroll()}function m(){var e=h(".qodef-portfolio-list-holder.qodef-pl-has-animation");e.length&&e.each(function(){h(this).children(".qodef-pl-inner").children("article").each(function(e){var o=h(this);o.appear(function(){o.addClass("qodef-item-show"),setTimeout(function(){o.addClass("qodef-item-shown")},1e3)},{accX:0,accY:0})})})}function n(){var e=h(".qodef-portfolio-list-holder.qodef-pl-masonry");e.length&&e.each(function(){var e=h(this),o=e.children(".qodef-pl-inner");p(e.find(".qodef-pl-grid-sizer").width(),e),o.isotope({layoutMode:"packery",itemSelector:"article",percentPosition:!0,packery:{gutter:".qodef-pl-grid-gutter",columnWidth:".qodef-pl-grid-sizer"}}),setTimeout(function(){qodef.modules.common.qodefInitParallax()},600),o.css("opacity","1")})}function p(e,o){var a,d,t,n;o.hasClass("qodef-pl-images-fixed")&&(a=parseInt(o.find("article").css("padding-left")),d=o.find(".qodef-pl-masonry-default"),t=o.find(".qodef-pl-masonry-large-width"),n=o.find(".qodef-pl-masonry-large-height"),o=o.find(".qodef-pl-masonry-large-width-height"),680<qodef.windowWidth?(d.css("height",e-2*a),n.css("height",Math.round(2*e)-2*a),o.css("height",Math.round(2*e)-2*a),t.css("height",e-2*a)):(d.css("height",e),n.css("height",e),o.css("height",e),t.css("height",Math.round(e/2))))}function i(){function t(e){var o=e.outerHeight()+e.offset().top-qodefGlobalVars.vars.qodefAddForAdminBar;!e.hasClass("qodef-pl-infinite-scroll-started")&&qodef.scroll+qodef.windowHeight>o&&n(e)}function n(a,d){var t,n=a.find(".qodef-pl-inner"),e=(void 0!==a.data("max-num-pages")&&!1!==a.data("max-num-pages")&&(t=a.data("max-num-pages")),a.hasClass("qodef-pl-pag-standard")&&a.data("next-page",d),a.hasClass("qodef-pl-pag-infinite-scroll")&&a.addClass("qodef-pl-infinite-scroll-started"),qodef.modules.common.getLoadMoreData(a)),i=a.find(".qodef-pl-loading"),s=e.nextPage;(s<=t||0===t)&&(a.hasClass("qodef-pl-pag-standard")?(i.addClass("qodef-showing qodef-standard-pag-trigger"),a.addClass("qodef-pl-pag-standard-animate")):i.addClass("qodef-showing"),e=qodef.modules.common.setLoadMoreAjaxData(e,"qodef_core_portfolio_ajax_load_more"),h.ajax({type:"POST",data:e,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){a.hasClass("qodef-pl-pag-standard")||s++,a.data("next-page",s);var o=h.parseJSON(e).html;a.hasClass("qodef-pl-pag-standard")?(r(a,t,s),a.waitForImages(function(){(a.hasClass("qodef-pl-masonry")||a.hasClass("qodef-pl-gallery")&&a.hasClass("qodef-pl-has-filter")?l:f)(a,n,i,o)})):a.waitForImages(function(){a.hasClass("qodef-pl-masonry")?(1===d?l:c)(a,n,i,o):a.hasClass("qodef-pl-gallery")&&a.hasClass("qodef-pl-has-filter")&&1!==d?c(a,n,i,o):1===d?f(a,n,i,o):u(n,i,o)}),a.hasClass("qodef-pl-infinite-scroll-started")&&a.removeClass("qodef-pl-infinite-scroll-started")}})),s===t&&a.find(".qodef-pl-load-more-holder").hide()}var e=h(".qodef-portfolio-list-holder"),r=function(e,o,a){var e=e.find(".qodef-pl-standard-pagination"),d=e.find("li.qodef-pl-pag-number"),t=e.find("li.qodef-pl-pag-prev a"),e=e.find("li.qodef-pl-pag-next a");d.removeClass("qodef-pl-pag-active"),d.eq(a-1).addClass("qodef-pl-pag-active"),t.data("paged",a-1),e.data("paged",a+1),1<a?t.css({opacity:"1"}):t.css({opacity:"0"}),a===o?e.css({opacity:"0"}):e.css({opacity:"1"})},l=function(e,o,a,d){o.find("article").remove(),o.append(d),p(o.find(".qodef-pl-grid-sizer").width(),e),o.isotope("reloadItems").isotope({sortBy:"original-order"}),a.removeClass("qodef-showing qodef-standard-pag-trigger"),e.removeClass("qodef-pl-pag-standard-animate"),setTimeout(function(){o.isotope("layout"),m(),qodef.modules.common.qodefInitParallax(),qodef.modules.common.qodefPrettyPhoto()},600)},f=function(e,o,a,d){a.removeClass("qodef-showing qodef-standard-pag-trigger"),e.removeClass("qodef-pl-pag-standard-animate"),o.html(d),m(),qodef.modules.common.qodefInitParallax(),qodef.modules.common.qodefPrettyPhoto()},c=function(e,o,a,d){o.append(d),p(o.find(".qodef-pl-grid-sizer").width(),e),o.isotope("reloadItems").isotope({sortBy:"original-order"}),a.removeClass("qodef-showing"),setTimeout(function(){o.isotope("layout"),m(),qodef.modules.common.qodefInitParallax(),qodef.modules.common.qodefPrettyPhoto()},600)},u=function(e,o,a){o.removeClass("qodef-showing"),e.append(a),m(),qodef.modules.common.qodefInitParallax(),qodef.modules.common.qodefPrettyPhoto()};return{init:function(){e.length&&e.each(function(){var d,e,o,a=h(this);a.hasClass("qodef-pl-pag-standard")&&(e=(d=a).find(".qodef-pl-standard-pagination li")).length&&e.each(function(){var o=h(this).children("a"),a=1;o.on("click",function(e){e.preventDefault(),e.stopPropagation(),void 0!==o.data("paged")&&!1!==o.data("paged")&&(a=o.data("paged")),n(d,a)})}),a.hasClass("qodef-pl-pag-load-more")&&(o=a).find(".qodef-pl-load-more a").on("click",function(e){e.preventDefault(),e.stopPropagation(),n(o)}),a.hasClass("qodef-pl-pag-infinite-scroll")&&t(a)})},scroll:function(){e.length&&e.each(function(){var e=h(this);e.hasClass("qodef-pl-pag-infinite-scroll")&&t(e)})},getMainPagFunction:function(e,o){n(e,o)}}}(qodef.modules.portfolioList=e).qodefOnDocumentReady=o,e.qodefOnWindowLoad=a,e.qodefOnWindowResize=d,e.qodefOnWindowScroll=t,h(document).ready(o),h(window).on("load",a),h(window).resize(d),h(window).scroll(t)}(jQuery);
Back to Directory
File Manager