1!function(i){"use strict";"object"!=typeof qodef&&(window.qodef={}),window.qodefCore={},qodefCore.shortcodes={},qodefCore.listShortcodesScripts={qodefSwiper:qodef.qodefSwiper,qodefPagination:qodef.qodefPagination,qodefFilter:qodef.qodefFilter,qodefMasonryLayout:qodef.qodefMasonryLayout,qodefJustifiedGallery:qodef.qodefJustifiedGallery,qodefCustomCursor:qodefCore.qodefCustomCursor},qodefCore.body=i("body"),qodefCore.html=i("html"),qodefCore.windowWidth=i(window).width(),qodefCore.windowHeight=i(window).height(),qodefCore.scroll=0,i(document).ready(function(){qodefCore.scroll=i(window).scrollTop(),e.init(),t.init(),s.init(),r.init()}),i(window).resize(function(){qodefCore.windowWidth=i(window).width(),qodefCore.windowHeight=i(window).height(),t.init()}),i(window).scroll(function(){qodefCore.scroll=i(window).scrollTop()}),i(window).load(function(){a.init(),d.init()});qodefCore.qodefIsInViewport={check:function(o,t,i,n){var e,a;o.length&&(e=void 0!==o.data("viewport-offset")?o.data("viewport-offset"):.15,(a=new IntersectionObserver(function(e){!0===e[0].isIntersecting?(t.call(o),!1!==i&&a.disconnect()):n&&!1===i&&n.call(o)},{threshold:[e]})).observe(o[0]))}};var n={disable:function(){window.addEventListener&&window.addEventListener("wheel",n.preventDefaultValue,{passive:!1}),document.onkeydown=n.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",n.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){for(var o=[37,38,39,40],t=o.length;t--;)if(e.keyCode===o[t])return void n.preventDefaultValue(e)}},o=(qodefCore.qodefScroll=n,{init:function(e){e.length&&o.qodefInitScroll(e)},qodefInitScroll:function(e){var o=new PerfectScrollbar(e[0],{wheelSpeed:.6,suppressScrollX:!0});i(window).resize(function(){o.update()})}}),e=(qodefCore.qodefPerfectScrollbar=o,{init:function(){var e;this.holder=i("#greenpath-core-page-inline-style"),this.holder.length&&(e=this.holder.data("style")).length&&i("head").append('<style type="text/css">'+e+"</style>")}}),t={init:function(){var e=i(".qodef-sticky-column--enable");e.length&&e.each(function(){var e=i(this).height();i(this).hasClass("qodef-sticky-column-snap-to--top")?i(this).css("top","calc(0% + "+qodefGlobal.vars.adminBarHeight+"px)"):i(this).hasClass("qodef-sticky-column-snap-to--bottom")?i(this).css("top","calc(100% - "+e+"px)"):i(this).css("top","calc(50% - "+(e-qodefGlobal.vars.adminBarHeight)/2+"px)")})}},a=(qodefCore.qodefStickyColumn=t,{init:function(){var e=i(".qodef-scroll-item");e.length&&e.each(function(){var e=i(this),o=parseInt(i(this).attr("data-parallax-min")?i(this).attr("data-parallax-min"):-35),t=parseInt(i(this).attr("data-parallax-max")?i(this).attr("data-parallax-max"):-50),t=Math.floor(Math.random()*(t-o)+o),o=parseInt(i(this).attr("data-parallax-smoothness")?i(this).attr("data-parallax-smoothness"):30);(e.hasClass("qodef-grid-item")?e.children(".qodef-e-inner"):e).attr("data-parallax",'{"y": '+t+', "smoothness": '+o+"}")}),a.initScroll()},initScroll:function(){i("[data-parallax]").length&&!qodefCore.html.hasClass("touchevents")&&"object"==typeof ParallaxScroll&&ParallaxScroll.init()}}),r=(qodefCore.qodefScrollItem=a,{init:function(){var e=i("#qodef-back-to-top"),o=i("#qodef-page-footer");e.length&&r.initItem(e,o)},initItem:function(o,e){gsap.registerPlugin(ScrollTrigger),e.each(function(){var e=i(this);ScrollTrigger.create({trigger:e,start:"top bottom-=35px",end:"bottom bottom-=35px",onEnter:()=>o.addClass("qodef--light"),onLeave:()=>o.removeClass("qodef--light"),onEnterBack:()=>o.addClass("qodef--light"),onLeaveBack:()=>o.removeClass("qodef--light")})})}}),d=(qodef.qodefBttSkin=r,{init:function(){var e=i(".qodef-cursor-item");e.length&&(e.each(function(){var e=i(this);d.initCursor(e)}),window.addEventListener("mousemove",function(e){qodefCore.mousePos={x:e.clientX,y:e.clientY}}))},initCursor:function(e){function o(){n.tX=i(n.tX,t(qodefCore.mousePos.x,0,qodefCore.windowWidth,-a,a),.02),n.tY=i(n.tY,t(qodefCore.mousePos.y,0,qodefCore.windowHeight,-r,r),.02),gsap.set(e,{x:n.tX,y:n.tY}),d=requestAnimationFrame(o)}qodefCore.mousePos={x:qodefCore.windowWidth/2,y:qodefCore.windowHeight/2};var t=(e,o,t,i,n)=>(e-o)*(n-i)/(t-o)+i,i=(e,o,t)=>(1-t)*e+t*o,n={tX:0,tY:0},a=gsap.utils.random(10,30,10),r=gsap.utils.random(10,20,10),d=requestAnimationFrame(o);qodefCore.qodefIsInViewport.check(e,function(){d=requestAnimationFrame(o)},!1,function(){cancelAnimationFrame(d)})}}),s=(qodefCore.qodefCursorItem=d,{init:function(){this.holder=i(".qodef--has-appear:not(.qodef--appeared), .qodef--custom-appear:not(.qodef--appeared)"),this.holder.length&&this.holder.each(function(){var e=i(this);qodefCore.qodefIsInViewport.check(e,()=>{qodef.qodefWaitForImages.check(e,function(){e.addClass("qodef--appeared")})})})}});qodefCore.qodefAppear=s}(jQuery),function(a){"use strict";a(document).ready(function(){r.init()});
1var r={init:function(){this.holder=a("#qodef-back-to-top"),this.holder.length&&(this.holder.on("click",function(e){e.preventDefault(),r.animateScrollToTop()}),r.showHideBackToTop())},animateScrollToTop:function(){function o(){var e;0!==n&&(n<1e-4&&(n=0),e=r.easingFunction((i-n)/i),a("html, body").scrollTop(i-(i-n)*e),n*=.9,t=requestAnimationFrame(o))}var t,i=qodef.scroll,n=qodef.scroll;o(),a(window).one("wheel touchstart",function(){cancelAnimationFrame(t)})},easingFunction:function(e){return 0==e?0:Math.pow(1200,e-1)},showHideBackToTop:function(){a(window).scroll(function(){var e=a(this),o=e.scrollTop(),e=e.height(),o=0<o?o+e/2:1;o<1e3?r.addClass("off"):r.addClass("on")})},addClass:function(e){this.holder.removeClass("qodef--off qodef--on"),"on"===e?this.holder.addClass("qodef--on"):this.holder.addClass("qodef--off")}}}(jQuery),function(o){"use strict";o(window).on("load",function(){i.init()}),o(window).resize(function(){i.init()});var i={init:function(){var e=o(".qodef-background-text");e.length&&e.each(function(){i.responsiveOutputHandler(o(this))})},responsiveOutputHandler:function(t){o.each({3840:1441,1512:1369,1368:1201,1200:1},function(e,o){qodef.windowWidth<=e&&qodef.windowWidth>=o&&i.generateResponsiveOutput(t,e)})},generateResponsiveOutput:function(e,o){e=e.find(".qodef-m-background-text");e.length&&e.css({"font-size":e.data("size-"+o)+"px",top:e.data("vertical-offset-"+o)+"px"})}};window.qodefBackgroundText=i}(jQuery),function(t){"use strict";t(document).ready(function(){i.init()});var i={cursorApended:!1,init:function(){if(t(".qodef--drag-cursor").length){var e=qodefGlobal.vars.dragCursor;!1===i.cursorApended&&(qodefCore.html.append('<div class="qodef-m-custom-cursor qodef-m"><div class="qodef-m-custom-cursor-inner">'+e+"</div></div>"),i.cursorApended=!0);const o=t(".qodef-m-custom-cursor");qodefCore.html.hasClass("touchevents")||(document.addEventListener("pointermove",function(e){o.css({top:e.clientY-60,left:e.clientX-60})}),t(e=".qodef--drag-cursor .swiper-button-prev,.qodef--drag-cursor .swiper-button-next,.qodef--drag-cursor .swiper-pagination,.qodef--drag-cursor .qodef-e-media-image a,.qodef--drag-cursor a:not(.woocommerce-loop-product__link),.qodef--drag-cursor .qodef-e-post-link,.qodef--drag-cursor .qodef-e-hotspot").css({cursor:"pointer"}),t(document).on("mouseenter",e,function(){o.addClass("qodef--hide")}).on("mouseleave",e,function(){o.removeClass("qodef--hide")}),e=".qodef--drag-cursor",t(document).on("mouseenter",e,function(){o.addClass("qodef--show")}).on("mouseleave",e,function(){o.removeClass("qodef--show")}))}}};qodefCore.qodefCustomCursor=i}(jQuery),function(t){"use strict";t(window).on("load",function(){e.init()});var e={holder:"",init:function(){this.holder=t("#qodef-page-footer.qodef--uncover"),this.holder.length&&!qodefCore.html.hasClass("touchevents")&&(e.addClass(),e.setHeight(this.holder),t(window).resize(function(){e.setHeight(e.holder)}))},setHeight:function(e){e.css("height","auto");var o=e.outerHeight();0<o&&(t("#qodef-page-outer").css({"margin-bottom":o,"background-color":qodefCore.body.css("backgroundColor")}),e.css("height",o))},addClass:function(){qodefCore.body.addClass("qodef-page-footer--uncover")}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()}),i(window).on("resize",function(){n.handleHeaderWidth("resize")});var n={init:function(){var t=i("a.qodef-fullscreen-menu-opener"),e=i("#qodef-fullscreen-area nav ul li a");t.length&&(n.handleHeaderWidth("init"),t.on("click",function(e){e.preventDefault();var o=i(this);qodefCore.body.hasClass("qodef-fullscreen-menu--opened")?n.closeFullscreen(o):(n.openFullscreen(o),i(document).keyup(function(e){27===e.keyCode&&n.closeFullscreen(o)}))}),e.on("tap click",function(e){var o=i(this);o.parent().hasClass("menu-item-has-children")?(e.preventDefault(),n.clickItemWithChild(o)):"http://#"!==o.attr("href")&&"#"!==o.attr("href")&&n.closeFullscreen(t)}))},openFullscreen:function(e){e.addClass("qodef--opened"),qodefCore.body.removeClass("qodef-fullscreen-menu-animate--out").addClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in"),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){e.removeClass("qodef--opened"),qodefCore.body.removeClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in").addClass("qodef-fullscreen-menu-animate--out"),qodefCore.qodefScroll.enable(),i("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200)},clickItemWithChild:function(e){var e=e.parent(),o=e.find(".sub-menu").first();o.is(":visible")?(o.slideUp(300),e.removeClass("qodef--opened")):(o.slideDown(300),e.addClass("qodef--opened").siblings().find(".sub-menu").slideUp(400))},handleHeaderWidth:function(e){var o=i("#qodef-page-header"),t=i("a.qodef-fullscreen-menu-opener");o.length&&t.length&&(1200<qodefCore.windowWidth?qodefCore.body.height()>qodefCore.windowHeight&&("resize"===e&&o.css({width:""}),o.width(o.width())):o.css({width:""}))}}}(jQuery),function(){"use strict";jQuery(document).ready(function(){e.init()});var e={appearanceType:function(){return-1!==qodefCore.body.attr("class").indexOf("qodef-header-appearance--")?qodefCore.body.attr("class").match(/qodef-header-appearance--([\w]+)/)[1]:""},init:function(){var e=this.appearanceType();
1""!==e&&"none"!==e&&qodefCore[e+"HeaderAppearance"]()}}}(),function(n){"use strict";n(document).ready(function(){a.init()});var a={init:function(){var e,o,t,i;qodefCore.body.hasClass("qodef-mobile-header-appearance--sticky")&&(e=qodefGlobal.vars.adminBarHeight,o=qodefCore.scroll,t=0,i=n("#qodef-page-outer"),n(".qodef-page-mobile-header-bottom-search"),0<e&&(qodef.windowWidth<=782&&(e+=14),t+=e),a.showHideMobileHeader(o,t,i),n(window).scroll(function(){a.showHideMobileHeader(o,t,i),o=qodefCore.scroll}),n(window).resize(function(){i.css("padding-top",0),a.showHideMobileHeader(o,t,i)}))},showHideMobileHeader:function(e,o,t){var i=n(".qodef-page-mobile-header-bottom-search");qodefCore.windowWidth<=1200&&(qodefCore.scroll>o?(qodefCore.body.addClass("qodef-mobile-header--sticky"),i.length?t.css("padding-top",qodefGlobal.vars.mobileHeaderHeight+i.outerHeight()):t.css("padding-top",qodefGlobal.vars.mobileHeaderHeight)):(qodefCore.body.removeClass("qodef-mobile-header--sticky"),t.css("padding-top",0)),qodefCore.scroll<=o?qodefCore.body.removeClass("qodef-mobile-header--sticky-display"):qodefCore.body.addClass("qodef-mobile-header--sticky-display"))}}}(jQuery),function(d){"use strict";d(document).ready(function(){e.init()}),d(window).on("resize",function(){e.wideDropdownPosition()});var e={init:function(){e.dropdownBehavior(),e.wideDropdownPosition(),e.dropdownPosition()},dropdownBehavior:function(){d(".qodef-header-navigation > ul > li").each(function(){var t=d(this);t.find(".qodef-drop-down-second").length&&qodef.qodefWaitForImages.check(t,function(){var e=t.find(".qodef-drop-down-second"),o=e.find(".qodef-drop-down-second-inner ul").outerHeight();navigator.userAgent.match(/(iPod|iPhone|iPad)/)?t.on("touchstart mouseenter",function(){e.css({height:o,overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){e.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})}):qodefCore.body.hasClass("qodef-drop-down-second--animate-height")?t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").css({visibility:"visible",height:"0",opacity:"1"}),e.stop().animate({height:o},400,"linear",function(){e.css("overflow","visible")})},100)},timeout:100,out:function(){e.stop().animate({height:"0",opacity:0},100,function(){e.css({overflow:"hidden",visibility:"hidden"})}),e.removeClass("qodef-drop-down--start")}}):t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").stop().css({height:o})},150)},timeout:150,out:function(){e.stop().css({height:"0"}).removeClass("qodef-drop-down--start")}})})})},wideDropdownPosition:function(){var e=d(".qodef-header-navigation > ul > li.qodef-menu-item--wide");e.length&&e.each(function(){var e,o,t=d(this).find(".qodef-drop-down-second");t.length&&(t.css("left",0),e=t.offset().left,qodefCore.body.hasClass("qodef--boxed")?(o=d(".qodef--boxed #qodef-page-wrapper").outerWidth(),e-=(qodefCore.windowWidth-o)/2,t.css({left:-e,width:o})):qodefCore.body.hasClass("qodef-drop-down-second--full-width")?t.css({left:-e,width:qodefCore.windowWidth}):t.css({left:-e+(qodefCore.windowWidth-t.width())/2}))})},dropdownPosition:function(){var e=d(".qodef-header-navigation > ul > li.qodef-menu-item--narrow.menu-item-has-children");e.length&&e.each(function(){var e,o=d(this),t=o.offset().left,i=o.find(".qodef-drop-down-second"),n=i.find(".qodef-drop-down-second-inner ul"),a=n.outerWidth(),r=d(window).width()-t;qodef.body.hasClass("qodef--boxed")&&(r=d(".qodef--boxed #qodef-page-wrapper").outerWidth()-t),0<o.find("li.menu-item-has-children").length&&(e=r-a),i.removeClass("qodef-drop-down--right"),n.removeClass("qodef-drop-down--right"),(r<a||e<a)&&(i.addClass("qodef-drop-down--right"),n.addClass("qodef-drop-down--right"))})}}}(jQuery),function(o){"use strict";o(window).on("load",function(){t.init()});var t={init:function(e){this.$sections=o(".qodef-parallax"),o.extend(this.$sections,e);e=!qodefCore.html.hasClass("touchevents")&&!qodefCore.body.hasClass("qodef-browser--edge")&&!qodefCore.body.hasClass("qodef-browser--ms-explorer");this.$sections.length&&e&&this.$sections.each(function(){o(this).hasClass("qodef-parallax--init")||(t.ready(o(this)),o(this).addClass("qodef-parallax--init"))})},ready:function(e){t.animateParallax(e)},animateParallax:function(e){var o,t=e.closest(".qodef-page-title").length,i=e.offset().top<qodefCore.windowHeight,n=t?e.find(".qodef-m-inner"):e.find(".qodef-parallax-row-holder"),a=e.find(".qodef-parallax-img-holder");qodefCore.html.hasClass("touchevents")||(o=a.outerHeight()-n.outerHeight(),n=a.outerWidth()-n.outerWidth(),e.hasClass("qodef-parallax-translate")&&(n=0),e.hasClass("qodef-parallax-diagonal-to-right")&&(n=-n),gsap.to(a,{opacity:1,duration:1}),gsap.timeline({scrollTrigger:{trigger:e,scrub:1.5,start:()=>
1t?"top top":i?"center center":"top bottom",end:()=>"bottom top"}}).to(a,{y:-o,x:-n}))}};qodefCore.qodefParallaxBackground=t}(jQuery),function(a){"use strict";a(document).ready(function(){e.init()});var e={init:function(){function n(e,o){for(var t=0;t<e.length;t++){var i=e[t];t<o?a(i).addClass("active"):a(i).removeClass("active")}}var e=a("#qodef-page-comments-form .qodef-rating-inner");e.each(function(){var e=a(this),o=e.find(".qodef-rating"),t=o.val(),i=e.find(".qodef-star-rating");n(i,t),i.on("click",function(){o.val(a(this).data("value")).trigger("change")}),o.change(function(){t=o.val(),n(i,t)})})}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i("a.qodef-side-area-opener"),o=i("#qodef-side-area-close"),t=i("#qodef-side-area");n.openerHoverColor(e),e.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-side-area--opened")?n.closeSideArea():(n.openSideArea(),i(document).keyup(function(e){27===e.keyCode&&n.closeSideArea()}))}),o.on("click",function(e){e.preventDefault(),n.closeSideArea()}),t.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(t)},openSideArea:function(){var e=i("#qodef-page-wrapper"),o=i(window).scrollTop();i(".qodef-side-area-cover").remove(),e.prepend('<div class="qodef-side-area-cover"/>'),qodefCore.body.removeClass("qodef-side-area-animate--out").addClass("qodef-side-area--opened qodef-side-area-animate--in"),i(".qodef-side-area-cover").on("click",function(e){e.preventDefault(),n.closeSideArea()}),i(window).scroll(function(){400<Math.abs(qodefCore.scroll-o)&&n.closeSideArea()})},closeSideArea:function(){qodefCore.body.removeClass("qodef-side-area--opened qodef-side-area-animate--in").addClass("qodef-side-area-animate--out")},openerHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(n){"use strict";n(document).ready(function(){a.init()}),n(window).on("load",function(){a.windowLoaded=!0,"visible"===document.visibilityState?a.fadeOutLoader():document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&a.fadeOutLoader()})}),n(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&a.init(e)});var a={holder:"",windowLoaded:!1,init:function(e){this.holder=n("#qodef-page-spinner:not(.qodef--custom-spinner):not(.qodef-layout--textual)"),this.holder.length&&(a.animateSpinner(e),a.fadeOutAnimation())},animateSpinner:function(e){e&&a.fadeOutLoader()},fadeOutLoader:function(o,e,t){var i=a.holder.length?a.holder:n("#qodef-page-spinner:not(.qodef--custom-spinner):not(.qodef-layout--textual)");o=o||600,t=t||"swing",i.delay(e=e||0).fadeOut(o,t),n(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&i.fadeOut(o,t)})},fadeOutAnimation:function(){var t,e;qodefCore.body.hasClass("qodef-spinner--fade-out")&&(t=n("#qodef-page-wrapper"),e=n("a"),window.addEventListener("pageshow",function(e){(e.persisted||void 0!==window.performance&&2===window.performance.navigation.type)&&!t.is(":visible")&&t.show()}),e.on("click",function(e){var o=n(this);1===e.which&&0<=o.attr("href").indexOf(window.location.host)&&!o.hasClass("remove")&&o.parent(".product-remove").length<=0&&o.parents(".woocommerce-product-gallery__image").length<=0&&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(),t.fadeOut(600,"easeOutSine",function(){window.location=o.attr("href")}))}))}};qodefCore.qodefSpinner=a}(jQuery),function(r){"use strict";r(window).on("load",function(){d.init()});var d={init:function(){var e,o,t,i,n,a;this.holder=r("#qodef-subscribe-popup-modal"),this.holder.length&&(e=this.holder.find(".qodef-sp-prevent"),o=r(".qodef-sp-close"),t="no",e.length&&(i=this.holder.hasClass("qodef-sp-prevent-cookies"),n=e.find(".qodef-sp-prevent-input"),a=n.data("value"),(i?(t=localStorage.getItem("disabledPopup"),sessionStorage):(t=sessionStorage.getItem("disabledPopup"),localStorage)).removeItem("disabledPopup"),e.children().on("click",function(){"yes"!==a?(a="yes",n.addClass("qodef-sp-prevent-clicked").data("value","yes")):(a="no",n.removeClass("qodef-sp-prevent-clicked").data("value","no")),"
1yes"===a?(i?localStorage:sessionStorage).setItem("disabledPopup","yes"):(i?localStorage:sessionStorage).setItem("disabledPopup","no")})),"yes"!==t)&&(qodefCore.body.hasClass("qodef-sp-opened")?d.handleClassAndScroll("remove"):d.handleClassAndScroll("add"),o.on("click",function(e){e.preventDefault(),d.handleClassAndScroll("remove")}),r(document).keyup(function(e){27===e.keyCode&&d.handleClassAndScroll("remove")}))},handleClassAndScroll:function(e){"remove"===e&&(qodefCore.body.removeClass("qodef-sp-opened"),qodefCore.qodefScroll.enable()),"add"===e&&(qodefCore.body.addClass("qodef-sp-opened"),qodefCore.qodefScroll.disable())}}}(jQuery),function(t){"use strict";t(document).ready(function(){e.init()});var e={init:function(){var e=t(".qodef-close-message"),o=t("#qodef-top-message-holder");e.click(function(){setTimeout(300,o.addClass("qodef-close-message")),o.slideUp("fast")})}}}(jQuery),function(o){"use strict";qodefCore.shortcodes.greenpath_core_accordion={},o(document).ready(function(){t.init()});var t={init:function(){var e=o(".qodef-accordion");e.length&&e.each(function(){t.initItem(o(this))})},initItem:function(e){e.hasClass("qodef-behavior--accordion")&&t.initAccordion(e),e.hasClass("qodef-behavior--toggle")&&t.initToggle(e),e.addClass("qodef--init")},initAccordion:function(e){e.accordion({header:e.find(".qodef-accordion-title"),animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"})},initToggle:function(e){e.find(".qodef-accordion-title").off().on("mouseenter",function(){o(this).addClass("ui-state-hover")}).on("mouseleave",function(){o(this).removeClass("ui-state-hover")}).on("click",function(e){e.preventDefault(),e.stopImmediatePropagation();e=o(this);e.hasClass("ui-state-active")?(e.removeClass("ui-state-active"),e.next().removeClass("ui-accordion-content-active").slideUp(300)):(e.addClass("ui-state-active"),e.next().addClass("ui-accordion-content-active").slideDown(400))})}};qodefCore.shortcodes.greenpath_core_accordion.qodefAccordion=t}(jQuery),function(e){"use strict";qodefCore.shortcodes.greenpath_core_button={},e(document).ready(function(){i.init()});var i={init:function(){this.buttons=e(".qodef-button"),this.buttons.length&&this.buttons.each(function(){i.initItem(e(this))})},initItem:function(e){i.buttonHoverColor(e),i.buttonHoverBgColor(e),i.buttonHoverBorderColor(e)},buttonHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter touchstart",function(){i.changeColor(e,"color",o)}),e.on("mouseleave touchend",function(){i.changeColor(e,"color",t)}))},buttonHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter touchstart",function(){i.changeColor(e,"background-color",o)}),e.on("mouseleave touchend",function(){i.changeColor(e,"background-color",t)}))},buttonHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter touchstart",function(){i.changeColor(e,"border-color",o)}),e.on("mouseleave touchend",function(){i.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.greenpath_core_button.qodefButton=i}(jQuery),function(e){"use strict";qodefCore.shortcodes.greenpath_core_countdown={},e(document).ready(function(){s.init()});var s={init:function(){this.countdowns=e(".qodef-countdown"),this.countdowns.length&&this.countdowns.each(function(){s.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-m-date"),t=["week","day","hour","minute","second"],e=s.generateOptions(e,t);s.initCountdown(o,e,t)},generateOptions:function(e,o){var t={};t.date=void 0!==e.data("date")?e.data("date"):null;for(var i=0;i<o.length;i++){var n=o[i]+"Label",a=o[i]+"LabelPlural";t[n]=void 0!==e.data(o[i]+"-label")?e.data(o[i]+"-label"):"",t[a]=void 0!==e.data(o[i]+"-label-plural")?e.data(o[i]+"-label-plural"):""}return t},initCountdown:function(i,n,a){var r=new Date(n.date).getTime(),d=setInterval(function(){var e=(new Date).getTime(),e=r-e;this.weeks=Math.floor(e/6048e5),this.days=Math.floor(e%6048e5/864e5),this.hours=Math.floor(e%864e5/36e5),this.minutes=Math.floor(e%36e5/6e4),this.seconds=Math.floor(e%6e4/1e3);for(var o=0;o<a.length;o++){var t=a[o]+"s";s.initiateDate(i,this[t],a[o],n)}e<0&&(clearInterval(d),s.afterClearInterval(i,a,n))},1e3)},initiateDate:function(e,o,t,i){e=e.find(".qodef-"+t+"s");e.find(".qodef-label").html(1===o?i[t+"Label"]:i[t+"LabelPlural"]),o=o<10?"0"+o:o,e.find(".qodef-digit").html(o)},afterClearInterval:function(e,o,t){for(var i=0;i<o.length;i++){var n=e.find(".qodef-"+o[i]+"s");n.find(".qodef-label").html(t[o[i]+"LabelPlural"]),n.find(".qodef-digit").html("00")}}};qodefCore.shortcodes.greenpath_core_countdown.qodefCountdown=s}(jQuery),function(r){"use strict";qodefCore.shortcodes.greenpath_core_counter={},r(document).ready(function(){i.init()});var i={init:function(){this.counters=r(".qodef-counter"),this.counters.length&&this.counters.each(function(){i.initItem(r(this))})},initItem:function(e){var o=e.find(".qodef-m-digit"),t=i.generateOptions(e);qodefCore.qodefIsInViewport.check(e,function(){i.counterScript(o,t)}
1)},generateOptions:function(e){var o={};return o.start=void 0!==e.data("start-digit")&&""!==e.data("start-digit")?e.data("start-digit"):0,o.end=void 0!==e.data("end-digit")&&""!==e.data("end-digit")?e.data("end-digit"):null,o.step=void 0!==e.data("step-digit")&&""!==e.data("step-digit")?e.data("step-digit"):1,o.delay=void 0!==e.data("step-delay")&&""!==e.data("step-delay")?parseInt(e.data("step-delay"),10):100,o.txt=void 0!==e.data("digit-label")&&""!==e.data("digit-label")?e.data("digit-label"):"",o},counterScript:function(e,o){var t=r.extend({start:0,end:null,step:1,delay:50,txt:""},o||{}),i=t.start,n=t.end,a=(e.text(i+t.txt),setInterval(function(){null!==n&&n<=i||(i+=t.step,n<=i&&(i=n,clearInterval(a)),e.text(i+t.txt))},t.delay))}};qodefCore.shortcodes.greenpath_core_counter.qodefCounter=i}(jQuery),function(e){"use strict";qodefCore.shortcodes.greenpath_core_google_map={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-google-map"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){void 0!==window.qodefGoogleMap&&window.qodefGoogleMap.init(e.find(".qodef-m-map"))}};qodefCore.shortcodes.greenpath_core_google_map.qodefGoogleMap=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.greenpath_core_icon={},e(document).ready(function(){n.init()});var n={init:function(){this.icons=e(".qodef-icon-holder"),this.icons.length&&this.icons.each(function(){n.initItem(e(this))})},initItem:function(e){n.iconHoverColor(e),n.iconHoverBgColor(e),n.iconHoverBorderColor(e)},iconHoverColor:function(e){var o,t,i;void 0!==e.data("hover-color")&&(o=e.find("span").length?e.find("span"):e,t=o.css("color"),i=e.data("hover-color"),e.on("mouseenter",function(){n.changeColor(o,"color",i)}),e.on("mouseleave",function(){n.changeColor(o,"color",t)}))},iconHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter",function(){n.changeColor(e,"background-color",o)}),e.on("mouseleave",function(){n.changeColor(e,"background-color",t)}))},iconHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter",function(){n.changeColor(e,"border-color",o)}),e.on("mouseleave",function(){n.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.greenpath_core_icon.qodefIcon=n}(jQuery),function(o){"use strict";qodefCore.shortcodes.greenpath_core_image_gallery={},o(document).ready(function(){t.init()});const t={init:function(){var e=o(".qodef-image-gallery");e.length&&e.each(function(){var e=o(this);t.initItem(e)})},initItem:function(e){!qodefCore.html.hasClass("touchevents")&&e.hasClass("qodef-scroll-gallery")&&1024<qodefCore.windowWidth&&t.initScroll(e)},initScroll:function(e){gsap.registerPlugin(ScrollTrigger);var o=e.find(".qodef-grid-inner"),e=gsap.timeline({scrollTrigger:{trigger:e,scrub:1.5,start:()=>"top bottom",end:()=>"bottom top"}});return e.to(o,{xPercent:-10}),e}};qodefCore.shortcodes.greenpath_core_image_gallery={},qodefCore.shortcodes.greenpath_core_image_gallery.qodefImageGallery=t,qodefCore.shortcodes.greenpath_core_image_gallery.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.greenpath_core_image_gallery.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.greenpath_core_image_gallery.qodefMagnificPopup=qodef.qodefMagnificPopup,qodefCore.shortcodes.greenpath_core_image_gallery.qodefCustomCursor=qodefCore.qodefCustomCursor}(jQuery),function(){"use strict";qodefCore.shortcodes.greenpath_core_image_with_text={},qodefCore.shortcodes.greenpath_core_image_with_text.qodefMagnificPopup=qodef.qodefMagnificPopup,qodefCore.shortcodes.greenpath_core_image_with_text.qodefAppear=qodefCore.qodefAppear}(jQuery),function(){"use strict";qodefCore.shortcodes.greenpath_core_interactive_link_showcase={}}(jQuery),function(e){"use strict";qodefCore.shortcodes.greenpath_core_progress_bar={},e(document).ready(function(){a.init()});var a={init:function(){this.holder=e(".qodef-progress-bar"),this.holder.length&&this.holder.each(function(){a.initItem(e(this))})},initItem:function(i){var n=i.data("layout");qodefCore.qodefIsInViewport.check(i,function(){i.addClass("qodef--init");var e=i.find(".qodef-m-canvas"),o=a.generateBarData(i,n),t=i.data("number")/100;switch(n){case"circle":a.initCircleBar(e,o,t);break;case"semi-circle":a.initSemiCircleBar(e,o,t);break;case"line":o=a.generateLineData(i,t),a.initLineBar(e,o);break;
1case"custom":a.initCustomBar(e,o,t)}})},generateBarData:function(e,t){var o=e.data("active-line-width"),i=e.data("active-line-color"),n=e.data("inactive-line-width"),a=e.data("inactive-line-color");return{strokeWidth:o,color:i,trailWidth:n,trailColor:a,easing:"linear",duration:void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,svgStyle:{width:"100%",height:"100%"},text:{style:{color:e.data("text-color")},autoStyleContainer:!1},from:{color:a},to:{color:i},step:function(e,o){"custom"!==t&&o.setText(Math.round(100*o.value())+"%")}}},generateLineData:function(e,o){var t=e.data("active-line-width"),i=e.data("active-line-color"),n=e.data("inactive-line-width"),a=e.data("inactive-line-color"),r=void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,d=e.data("text-color");return{percentage:100*o,duration:r,fillBackgroundColor:i,backgroundColor:a,height:t,inactiveHeight:n,followText:e.hasClass("qodef-percentage--floating"),textColor:d}},initCircleBar:function(e,o,t){a.checkBar(e)&&new ProgressBar.Circle(e[0],o).animate(t)},initSemiCircleBar:function(e,o,t){a.checkBar(e)&&new ProgressBar.SemiCircle(e[0],o).animate(t)},initCustomBar:function(e,o,t){a.checkBar(e)&&((e=new ProgressBar.Path(e[0],o)).set(0),e.animate(t))},initLineBar:function(e,o){e.LineProgressbar(o)},checkBar:function(e){return!e.find("svg").length}};qodefCore.shortcodes.greenpath_core_progress_bar.qodefProgressBar=a}(jQuery),function(n){"use strict";qodefCore.shortcodes.greenpath_core_swapping_image_gallery={},n(document).ready(function(){a.init()}),n(window).resize(function(){a.init()});var a={init:function(){this.holder=n(".qodef-swapping-image-gallery"),this.holder.length&&this.holder.each(function(){a.initItem(n(this))})},initItem:function(e){let o=e.find(".qodef-m-item"),t=e.find(".qodef-item-image"),i=e.find(".qodef-e-gallery");o.length&&(o.first().addClass("qodef--active"),t.length&&(i.css("height",n.makeArray(t).reduce((e,o)=>Math.max(e,n(o).outerHeight()),0)),a.setActiveImage(o.first(),t)),o.on("click",function(e){e=n(e.target.closest(".qodef-m-item"));o.removeClass("qodef--active"),e.addClass("qodef--active"),a.setActiveImage(e,t)}))},setActiveImage:function(e,o){let t=e.data("index");n.makeArray(o).map(e=>n(e).removeClass("qodef--active"));e=n.makeArray(o).filter(e=>n(e).data("index")===t);n(e).addClass("qodef--active")}};qodefCore.shortcodes.greenpath_core_swapping_image_gallery.qodefSwappingImageGallery=a}(jQuery),function(r){"use strict";qodefCore.shortcodes.greenpath_core_tabs={},r(document).ready(function(){e.init()});var e={init:function(){this.holder=r(".qodef-tabs"),this.holder.length&&this.holder.each(function(){e.initItem(r(this))})},initItem:function(e){e.children(".qodef-tabs-content").each(function(e){e+=1;var o=r(this),t=o.attr("id"),o=o.parent().find(".qodef-tabs-navigation li:nth-child("+e+") a"),e=o.attr("href");-1<(t="#"+t).indexOf(e)&&o.attr("href",t)}),e.addClass("qodef--init").tabs()},setHeight(e){var o,t,i=e.find(".qodef-tabs-navigation"),n=e.find(".qodef-tabs-content"),a=0;i.length&&(o=i.outerHeight(!0)),n.length&&n.each(function(){t=r(this).outerHeight(!0),a=a<t?t:a}),e.height(o+a)}};qodefCore.shortcodes.greenpath_core_tabs.qodefTabs=e}(jQuery),function(e){"use strict";qodefCore.shortcodes.greenpath_core_text_marquee={},e(document).ready(function(){a.init()}),e(window).resize(function(){a.init()});var a={init:function(){this.holder=e(".qodef-text-marquee"),this.holder.length&&this.holder.each(function(){a.prepareContent(e(this)),a.calculateWidthRatio(e(this))})},prepareContent:function(e){var o=e.find(".qodef--copy");e.removeClass("qodef--init"),o.length&&o.remove()},calculateWidthRatio:function(e){var o,t=e.find(".qodef-m-content"),i=t.find(".qodef-m-content-inner"),n=0<i.outerWidth()?Math.ceil(t.outerWidth()/i.outerWidth()):1;if(i.html().length)for(o=0;o<n;o++)a.duplicateContent(t,i);e.addClass("qodef--init")},duplicateContent:function(e,o){o.clone().appendTo(e).addClass("qodef--copy")}};qodefCore.shortcodes.greenpath_core_text_marquee.qodefTextMarquee=a}(jQuery),function(){"use strict";qodefCore.shortcodes.greenpath_core_video_button={},qodefCore.shortcodes.greenpath_core_video_button.qodefMagnificPopup=qodef.qodefMagnificPopup}(jQuery),function(i){"use strict";i(window).on("load",function(){o.init()});var o={init:function(){var e=i(".widget_greenpath_core_sticky_sidebar");e.length&&1024<qodefCore.windowWidth&&(e.wrapper=e.parents("#qodef-page-sidebar"),e.offsetM=e.offset().top-e.wrapper.offset().top,e.adj=15,o.callStack(e),i(window).on("resize",function(){1024<qodefCore.windowWidth&&o.callStack(e)}),i(window).on("scroll",function(){1024<qodefCore.windowWidth&&o.infoPosition(e)}))},calc:function(e){var o=i(".qodef-page-content-section"),t=qodefCore.body.hasClass("qodef-header-appearance--none")?0:parseInt(qodefGlobal.vars.headerHeight,10);1024<qodefCore.windowWidth&&o.height()<100&&o.css("height",e.wrapper.height()-o.height()),e.start=o.offset().top,e.end=o.outerHeight(),e.h=e.wrapper.height(),e.w=e.outerWidth(),e.left=e.offset().left,e.top=t+qodefGlobal.vars.adminBarHeight-e.offsetM,e.data("state","top")},infoPosition:function(e){var o;qodefCore.scroll<e.start-e.top&&qodefCore.scroll+e.h&&"top"!==e.data("state")?(gsap.to(e.wrapper,.1,{y:5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}),e.data("state","top"),e.wrapper.css({position:"static"})):qodefCore.scroll>=e.start-e.top&&qodefCore.scroll+e.h+e.adj<=e.start+e.end&&"fixed"!==e.data("state")?(o="top"===e.data("state")?1:-1,e.data("state","fixed"),e.wrapper.css({position:"fixed",top:e.top,left
1:e.left,width:e.w}),gsap.fromTo(e.wrapper,.2,{y:0},{y:10*o,ease:Power4.easeInOut}),gsap.to(e.wrapper,.2,{y:0,delay:.2})):qodefCore.scroll+e.h+e.adj>e.start+e.end&&"bottom"!==e.data("state")&&(e.data("state","bottom"),e.wrapper.css({position:"absolute",top:e.end-e.h-e.adj,left:"auto",width:e.w}),gsap.fromTo(e.wrapper,.1,{y:0},{y:-5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}))},callStack:function(e){this.calc(e),this.infoPosition(e)}}}(jQuery),function(e){"use strict";var t="greenpath_core_blog_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),qodefCore.shortcodes[t].qodefResizeIframes=qodef.qodefResizeIframes}(jQuery),function(o){"use strict";o(document).ready(function(){e.init()});var e={init:function(){var e=o(".qodef-extended-dropdown-menu:not(.qodef-dropdown-always-opened)");e.length&&(e.on("mouseenter",function(){e.addClass("qodef-dropdown-hovered")}),e.on("mouseleave",function(){e.removeClass("qodef-dropdown-hovered")}))}}}(jQuery),function(t){"use strict";var i={showHideHeader:function(e,o){1200<qodefCore.windowWidth&&(qodefCore.scroll<=0?(qodefCore.body.removeClass("qodef-header--fixed-display"),e.css("padding-top","0"),o.css("margin-top","0")):(qodefCore.body.addClass("qodef-header--fixed-display"),e.css("padding-top",parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.topAreaHeight)+"px"),o.css("margin-top",parseInt(qodefGlobal.vars.topAreaHeight)+"px")))},init:function(){var e,o;qodefCore.body.hasClass("qodef-header--vertical")||(e=t("#qodef-page-outer"),o=t("#qodef-page-header"),i.showHideHeader(e,o),t(window).scroll(function(){i.showHideHeader(e,o)}),t(window).resize(function(){e.css("padding-top","0"),i.showHideHeader(e,o)}))}};qodefCore.fixedHeaderAppearance=i.init}(jQuery),function(i){"use strict";var n={header:"",docYScroll:0,init:function(){var e=n.displayAmount();n.header=i(".qodef-header-sticky"),n.docYScroll=i(document).scrollTop(),n.setVisibility(e),i(window).scroll(function(){n.setVisibility(e)})},displayAmount:function(){return 0!==qodefGlobal.vars.qodefStickyHeaderScrollAmount?parseInt(qodefGlobal.vars.qodefStickyHeaderScrollAmount,10):parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.adminBarHeight,10)},setVisibility:function(e){var o,t=qodefCore.scroll<e;n.header.hasClass("qodef-appearance--up")&&(t=(o=i(document).scrollTop())>n.docYScroll&&e<o||o<e,n.docYScroll=i(document).scrollTop()),n.showHideHeader(t)},showHideHeader:function(e){e?qodefCore.body.removeClass("qodef-header--sticky-display"):qodefCore.body.addClass("qodef-header--sticky-display")}};qodefCore.stickyHeaderAppearance=n.init}(jQuery),function(r){"use strict";r(document).ready(function(){t.init()});var t={init:function(){var e,o=r("#qodef-side-area-mobile-header");o.length&&qodefCore.body.hasClass("qodef-mobile-header--side-area")&&(r(".qodef-woo-side-area-menu-cover").length||r("#qodef-page-wrapper").prepend('<div class="qodef-woo-side-area-menu-cover"/>'),e=o.find(".qodef-m-navigation"),t.initOpenerTrigger(o,e),t.initNavigationClickToggle(e),"object"==typeof qodefCore.qodefPerfectScrollbar)&&qodefCore.qodefPerfectScrollbar.init(o)},initOpenerTrigger:function(o,e){var t=r(".qodef-side-area-mobile-header-opener"),i=o.children(".qodef-m-close");t.length&&e.length&&t.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),qodefCore.qodefScroll.disable(),qodefCore.body.hasClass("qodef-woo-side-area-menu--opened")?qodefCore.body.removeClass("qodef-woo-side-area-menu--opened"):qodefCore.body.addClass("qodef-woo-side-area-menu--opened"),o.hasClass("qodef--opened")?o.removeClass("qodef--opened"):o.addClass("qodef--opened")}),i.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),qodefCore.qodefScroll.enable(),qodefCore.body.hasClass("qodef-woo-side-area-menu--opened")&&qodefCore.body.removeClass("qodef-woo-side-area-menu--opened"),o.hasClass("qodef--opened")&&o.removeClass("qodef--opened")})},initNavigationClickToggle:function(e){var a=e.find("ul li.menu-item-has-children");a.each(function(){var o=r(this),t=o.find(" > .qodef-drop-down-second, > ul"),i=o.find(">
1 .qodef-menu-item-arrow"),n="fast";i.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),t.is(":visible")?(o.removeClass("qodef-menu-item--open"),t.slideUp(n)):(i.parent().parent().children().hasClass("qodef-menu-item--open")&&i.parent().parent().parent().hasClass("qodef-vertical-menu")?(o.parent().parent().children().removeClass("qodef-menu-item--open"),o.parent().parent().children().find(" > .qodef-drop-down-second").slideUp(n)):(o.parents("li").hasClass("qodef-menu-item--open")||(a.removeClass("qodef-menu-item--open"),a.find(" > .qodef-drop-down-second, > ul").slideUp(n)),o.parent().parent().children().hasClass("qodef-menu-item--open")&&(o.parent().parent().children().removeClass("qodef-menu-item--open"),o.parent().parent().children().find(" > .qodef-drop-down-second, > ul").slideUp(n))),o.addClass("qodef-menu-item--open"),t.slideDown("slow"))})})}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i("a.qodef-search-opener"),o=i(".qodef-search-cover-form"),t=o.find(".qodef-m-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),n.openCoversHeader(o)}),t.on("click",function(e){e.preventDefault(),n.closeCoversHeader(o)}))},openCoversHeader:function(e){qodefCore.body.addClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.removeClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},600)},closeCoversHeader:function(e){qodefCore.body.removeClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.addClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-covers-search--fadeout")},300)}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i("a.qodef-search-opener"),o=i(".qodef-fullscreen-search-holder"),t=o.find(".qodef-m-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-fullscreen-search--opened")?n.closeFullscreen(o):n.openFullscreen(o)}),t.on("click",function(e){e.preventDefault(),n.closeFullscreen(o)}),i(document).keyup(function(e){27===e.keyCode&&qodefCore.body.hasClass("qodef-fullscreen-search--opened")&&n.closeFullscreen(o)}))},openFullscreen:function(e){qodefCore.body.removeClass("qodef-fullscreen-search--fadeout"),qodefCore.body.addClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},900),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){qodefCore.body.removeClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),qodefCore.body.addClass("qodef-fullscreen-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-fullscreen-search--fadeout")},300),qodefCore.qodefScroll.enable()}}}(jQuery),function(o){"use strict";o(document).ready(function(){t.init()});var t={init:function(){this.search=o("a.qodef-search-opener"),this.search.length&&this.search.each(function(){var e=o(this);t.searchHoverColor(e)})},searchHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(a){"use strict";a(document).ready(function(){t.init()}),a(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&t.init(e)});const t={init(e){var o=a("#qodef-page-spinner.qodef-layout--predefined");o.length&&!e&&t.animateSpinner(o)},animateSpinner(e){var o=e.find(".qodef-m-spinner-bg-image"),t=e.find(".qodef-m-spinner-bg-image-inner"),i=gsap.timeline({paused:!0,onStart:()=>{e.addClass("qodef--init")}}),n=gsap.timeline({paused:!0,onStart:()=>{a(".qodef--appeared").removeClass("qodef--appeared")}});n.to(o,{duration:1.8,opacity:1},"0.2").fromTo(t,{xPercent:0},{xPercent:-50,repeat:-1,yoyo:!0,ease:"none",duration:18},"0").to(e,{onStart:()=>{qodefCore.qodefAppear.init()}},"3.1").to(e,{"--qode-clip":100,duration:1.5,ease:"power3.inOut",onComplete:()=>{n.pause()}},"2.4"),i.from(e,{duration:1}).to(e,{duration:.1,repeat:-1,onRepeat:()=>{qodefCore.qodefSpinner.windowLoaded?(i.pause(),n.play()):i.restart()}},".8"),i.play()}}}(jQuery),function(n){"use strict";n(document).ready(function(){a.init()}),n(window).on("load",function(){a.windowLoaded=!0,a.completeAnimation()}),n(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&a.init(e)});var a={holder:"",windowLoaded:!1,percentNumber:0,init:function(e){this.holder=n("#qodef-page-spinner.qodef-layout--progress-bar"),this.holder.length&&a.animateSpinner(this.holder,e)}
1,animateSpinner:function(e,o){var t=e.find(".qodef-m-spinner-number-label"),i=(e.find(".qodef-m-spinner-line-front").animate({width:"100%"},1e4,"linear"),setInterval(function(){a.animatePercent(t,a.percentNumber),a.windowLoaded&&clearInterval(i)},100));o&&a.fadeOutLoader(e)},completeAnimation:function(){var e=a.holder.length?a.holder:n("#qodef-page-spinner.qodef-layout--progress-bar"),o=setInterval(function(){100<=a.percentNumber?(clearInterval(o),e.find(".qodef-m-spinner-line-front").stop().animate({width:"100%"},500),e.addClass("qodef--finished"),setTimeout(function(){a.fadeOutLoader(e)},600)):a.animatePercent(e.find(".qodef-m-spinner-number-label"),a.percentNumber)},6)},animatePercent:function(e,o){o<100&&(e.text(o+=5),a.percentNumber=o)},fadeOutLoader:function(o,t,e,i){t=t||600,i=i||"swing",o.delay(e=e||0).fadeOut(t,i),n(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,i)})}}}(jQuery),function(d){"use strict";d(document).ready(function(){s.init()}),d(window).on("load",function(){s.windowLoaded=!0}),d(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&s.init(e)});var s={init(e){var o=d("#qodef-page-spinner.qodef-layout--textual");o.length&&(e?s.fadeOutLoader(o):s.splitText(o))},splitText(e){var o,t,i=e.find(".qodef-m-text");i.length&&(o=i.text().trim().split(""),t="",i.empty(),o.forEach(e=>{t=" "===e?"qodef-m-empty-char":" ",i.append('<span class="qodef-m-char '+t+'">'+e+"</span>")}),setTimeout(()=>{s.animateSpinner(e)},100))},animateSpinner(r){r.addClass("qodef--init"),function i(n){var e=r.find(".qodef-m-char"),a=e.length-1;e.length&&e.each((e,o)=>{var t=d(o);setTimeout(()=>{t.animate(n.type,n.duration,n.easing,()=>{e===a&&(1===n.repeat?i({type:{opacity:0}
1,duration:1200,easing:"swing",delay:0,repeat:0}):s.windowLoaded?(s.fadeOutLoader(r,600,0,"swing"),setTimeout(()=>{var e=d(".qodef-after-spinner-rev rs-module");e.length&&e.revstart()},800)):i({type:{opacity:1},duration:1800,easing:"swing",delay:160,repeat:1}))})},e*n.delay)})}({type:{opacity:1},duration:1800,easing:"swing",delay:160,repeat:1})},fadeOutLoader(o,t,e,i){t=t||500,e=e||0,i=i||"swing",o.length&&(o.delay(e).fadeOut(t,i),d(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,i)}))}}}(jQuery),function(r){"use strict";qodefCore.shortcodes.greenpath_core_instagram_list={},r(document).ready(function(){i.init()});var i={init:function(){this.holder=r(".qodef-instagram-list #sb_instagram"),this.holder.length&&this.holder.each(function(){var e,o,t;r(this).parent().hasClass("qodef-instagram-columns")?(o=(e=r(this).find("#sbi_images")).find(".sbi_item.sbi_type_image, .sbi_item.sbi_type_carousel"),t=e.css("padding"),e.css("padding","0"),e.css("margin","-"+t),e.css("width","calc(100% + "+t+" + "+t+")"),o.attr("style","padding: "+t+"!important")):r(this).parent().hasClass("qodef-instagram-slider")&&i.initSlider(r(this))})},initSlider:function(e,o){var t=e.find("#sbi_images"),i=e.find(".sbi_item.sbi_type_image"),n=t.css("padding"),a=(t.css("padding","0"),i.css("padding","0"),t.attr("style","margin-right: "+2*parseInt(n)+"px !important"),{});a.spaceBetween=2*parseInt(n),a.customStages=!0,a.slidesPerView=void 0!==e.data("cols")&&""!==e.data("cols")?e.data("cols"):3,a.slidesPerView1200=void 0!==e.data("cols")&&""!==e.data("cols")?e.data("cols"):3,a.slidesPerView880=void 0!==e.data("colstablet")&&""!==e.data("colstablet")?e.data("colstablet"):2,a.slidesPerView680=void 0!==e.data("colsmobile")&&""!==e.data("colsmobile")?e.data("colsmobile"):1,e.attr("data-options",JSON.stringify(a)),t.addClass("swiper-wrapper"),i.length&&i.each(function(){r(this).addClass("qodef-e qodef-image-wrapper swiper-slide")}),"object"==typeof qodef.qodefSwiper&&(!1===o?qodef.qodefSwiper.initSlider(e):qodef.qodefSwiper.init(e))}};qodefCore.shortcodes.greenpath_core_instagram_list.qodefInstagram=i,qodefCore.shortcodes.greenpath_core_instagram_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(){"use strict";jQuery(document).on("yith_wccl_product_gallery_loaded",function(){"function"==typeof qodefCore.qodefWooMagnificPopup&&qodefCore.qodefWooMagnificPopup.init()})}(),function(e){"use strict";e("body").on("yith_woocompare_open_popup",function(){e(".compare-list .remove a"),e(".compare-list .add-to-cart .button"),e("#cboxLoadedContent iframe");e("#cboxLoadedContent").contents().find("html").css("display","none")})}(jQuery),function(n){"use strict";n(document).on("ready",function(){r.init()}),n(document).on("qv_loader_stop",function(){e.init()}),n(document).on("qv_loader_stop qv_variation_gallery_loaded",function(){a.init()});var a={init:function(e){this.holder=[],this.holder.push({holder:n("#yith-quick-view-modal .variations select"),options:{minimumResultsForSearch:1/0}}),n.extend(this.holder,e),"object"==typeof this.holder&&n.each(this.holder,function(e,o){a.createSelect2(o.holder,o.options)})},createSelect2:function(e,o){"function"==typeof e.select2&&e.select2(o)}},r={init:function(){var o=n("#yith-quick-view-modal .yith-wcqv-wrapper"),e=n(".yith-wcqv-button"),t=n("#yith-quick-view-close"),i=n(".yith-quick-view-overlay");o.length&&o.off().each(function(){e.on("click",function(){qodefCore.body.hasClass("qodef-woo-quick-view--opened")?r.closeQuickView(o):(r.openQuickView(o),r.trigger(o),n(document).keyup(function(e){27===e.keyCode&&a.closeQuickView(o)}))}),t.on("click",function(){r.closeQuickView(o)}),i.on("click",function(){r.closeQuickView(o)})})},trigger:function(e){e=e.find(".yith-wcqv-main:not(.ps)");e.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e)},openQuickView:function(e){qodefCore.qodefScroll.disable(),qodefCore.body.addClass("qodef-woo-quick-view--opened"),e.addClass("qodef--opened")},closeQuickView:function(e){qodefCore.qodefScroll.enable(),qodefCore.body.removeClass("qodef-woo-quick-view--opened"),e.hasClass("qodef--opened")&&e.removeClass("qodef--opened")}},e={init:function(){var e=n(".woocommerce-product-details__short-description");e.length&&e.each(function(){var e=n(this);66<e.height()&&(e.addClass("qodef--expand-description"),e.on("click",function(){e.toggleClass("qodef-fullheight")}))})}}}(jQuery),function(d){"use strict";qodefCore.shortcodes.greenpath_core_product_cart_showcase={},d(document).ready(function(){i.init()});var i={init:function(){var t=d(".qodef-product-cart-showcase"),e=t.find(".qodef-add-all-to-cart-button"),o=t.find('.qodef-m-order-product input[type="checkbox"]');t.length&&(o.each(function(e){var o=d(this);o.on("change",function(){o.attr("checked",!o.attr("checked")),i.updateProductIds(t)})}),e.on("click",function(e){e.preventDefault(),i.updateWooCart(t)}))},updateProductIds:function(e){var t=document.getElementById("product-cart-showcase-ids"),e=e.find('.qodef-m-order-product input[type="checkbox"]'),i=[];e.each(function(e){var o=d(this);o.attr("checked")&&"checked"===o.attr("checked")&&i.push(o.attr("value")),t.value=i.join(",")})},updateWooCart:function(e){var o=d(".widget_greenpath_core_woo_dropdown_cart"),t=o.find(".qodef-m-opener"),i=o.find(".qodef-widget-dropdown-cart-content"),n=d(".qodef-add-all-to-cart-button"),a=n.find(".qodef-m-text"),o=document.getElementById("product-cart-showcase-ids");d.ajax({type:"POST",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.productShowcaseWooCartRestRoute,data:{"product-cart-showcase-ids":o.value},dataType:"html",success:function(e){e=JSON.parse(e);
1t.html(e.data.woo_dropdown_opener),i.html(e.data.woo_dropdown_content),a.html(e.data.success_button_text),n.addClass("added"),n.attr("href",e.data.success_button_url),n.unbind("click").click()},complete:function(){console.log("complete")}})},doAjaxRequest:function(e,o,t){var i=document.getElementById("product-cart-showcase-ids"),n=d(".qodef-m-order-price"),a=d(".qodef-m-order-quantity"),r=i.value.split(",");jQuery.inArray(e,r)&&(i.value=r.join(),d.ajax({type:"POST",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.productShowcaseCartRestRoute,data:{"product-cart-showcase-ids":i.value},dataType:"html",success:function(e){e=JSON.parse(e);n.html(e.data.cart_total_amount),a.html(e.data.cart_total_quantity)},complete:function(){console.log("complete")}}))}};qodefCore.shortcodes.greenpath_core_product_cart_showcase.qodefProductCartShowcase=i}(jQuery),function(t){"use strict";t(document).ready(function(){e.init()});var e={init:function(){var e=t(".qodef-woo-product-category-list.qodef--alternate-image");e.length&&e.each(function(){var e=t(this).find(".product-category"),o=0;e.each(function(){var e=t(this).outerWidth();o<e&&(o=e)}).each(function(){t(this).css("height",o)})})}};qodefCore.shortcodes.greenpath_core_product_category_list={},qodefCore.shortcodes.greenpath_core_product_category_list.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.greenpath_core_product_category_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(u){"use strict";var t="greenpath_core_product_list",e=(qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&u.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),u(document).ready(function(){e.init(),a.init(),s.init(),r.init()}),{init:function(){var e=u(".qodef-woo-product-list");e.length&&e.each(function(){var e=u(this),o=e.find(".yith-wcwl-add-to-wishlist"),t=e.find(".yith-wcqv-button"),i=e.find("a.button.compare");e.hasClass("qodef--no-wishlist")&&o.remove(),e.hasClass("qodef--no-quickview")&&t.remove(),e.hasClass("qodef--no-compare")&&i.remove()})}}),a={holderHeight:0,init:function(){var e=u(".qodef-woo-product-list.qodef-filter--advanced");e.length&&e.each(function(){var o=u(this),e=o.find(".qodef-product-list-filter-horizontal, .qodef-product-list-filter-vertical"),t=o.find(".qodef-filter-show-more, .qodef-filter-show-less"),i=o.find(".qodef-product-list-filter-holder .qodef-filter-opener"),n=o.find(".qodef-filter-content .qodef-filter-close");a.startingStyle(o,e),i.length&&i.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-product-side-area--opened")?a.closeSideArea():(a.openSideArea(),u(document).keyup(function(e){27===e.keyCode&&a.closeSideArea()}))}),n.length&&n.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-product-side-area--opened")&&a.closeSideArea()}),o.hasClass("qodef-filter--advanced")&&o.hasClass("qodef-filter-type--side-area")&&e.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e),window.matchMedia("(min-width: 881px)")&&t.on("click",function(e){e.preventDefault();e=e.target;a.showMore(o,e)})})},startingStyle:function(o,e){var t=o.find(".qodef-e-options-wrapper"),i=o.find(".qodef-e-grid-filter"),n=o.find(".qodef-e-checkbox");o.hasClass("qodef-grid-filter--on")&&i.each(function(){var e=u(this).find(".qodef-e-grid-option");e.removeClass("qodef--active"),(o.hasClass("qodef-item-layout--horizontal")?e.last():e.first()).addClass("qodef--active")}),n.length&&(a.holderHeight=8*u(n[0]).outerHeight(!0)),t.each(function(){var e;window.matchMedia("(min-width: 881px)").matches&&(e=u(this).siblings(".qodef-filter-show-more"),8<u(this).find(".qodef-e-checkbox").length)&&(e.addClass("qodef--active"),e.addClass("qodef--active"),u(this).css("height",a.holderHeight))}),e.addClass("qodef--initialized")},showMore:function(e,o){var o=u(o),t=o.siblings(".qodef-e-options-wrapper");o.is(".qodef-filter-show-more")?(o.siblings(".qodef-filter-show-less").addClass("qodef--active"),o.removeClass("qodef--active"),t.css("height","auto")):o.is(".qodef-filter-show-less")&&(o.siblings(".qodef-filter-show-more").addClass("qodef--active"),o.removeClass("qodef--active"),t.css("height",a.holderHeight))},openSideArea:function(){var e=u("#qodef-page-wrapper");u(window).scrollTop();u(".qodef-product-side-area-cover").remove(),e.prepend('<div class="qodef-product-side-area-cover"/>'),qodefCore.body.removeClass("qodef-side-area-animate--out").addClass("qodef-product-side-area--opened qodef-side-area-animate--in"),u(".qodef-product-side-area-cover").on("click",function(e){e.preventDefault(),a.closeSideArea()})},closeSideArea:function(){qodefCore.body.removeClass("qodef-product-side-area--opened qodef-side-area-animate--in").addClass("qodef-side-area-animate--out")}},s={init:function(){var e=u(".qodef-woo-product-list.qodef-filter--advanced .qodef-product-list-filter-mobile");e.length&&e.each(function(){var e=u(this),o=e.parent(),t=e.find(".qodef-e-info-top"),i=e.find(".qodef-info-bottom"),n=e.find(".qodef-e-info-scroll"),a=e.find(".qodef-filter-opener"),r=e.find(".qodef-filter-close"),d=e.find(".qodef--show");
1window.matchMedia("(max-width: 880px)").matches&&(s.openItem(e),window.addEventListener("scroll",function(){window.scrollY>t.offset().top+t.outerHeight(!0)+100&&window.scrollY<o.offset().top+o.outerHeight(!0)-screen.height/2?n.addClass("qodef--active"):n.removeClass("qodef--active")}),a.length&&a.on("click",function(e){e.preventDefault(),o.hasClass("qodef-product-mobile-filter--opened")?s.closeMobileFilter(o):(s.openMobileFilter(o),u(document).keyup(function(e){27===e.keyCode&&s.closeMobileFilter(o)}))}),r.length&&r.on("click",function(e){e.preventDefault(),o.hasClass("qodef-product-mobile-filter--opened")&&s.closeMobileFilter(o)}),d.length&&d.on("click",function(e){e.preventDefault(),o.hasClass("qodef-product-mobile-filter--opened")&&s.closeMobileFilter(o)}),o.hasClass("qodef-filter--advanced"))&&i.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(i)})},openItem:function(e){e.find(".qodef-filter-title").on("click",function(e){var e=u(e.target.closest(".qodef-filter-title")),o=e.siblings(".qodef-e-options-wrapper"),t=o.prop("scrollHeight");e.hasClass("qodef--active")?(e.removeClass("qodef--active"),o.css("height",0)):(e.addClass("qodef--active"),o.css("height",t))})},openMobileFilter:function(e){var o=u("#qodef-page-wrapper");u(window).scrollTop();u(".qodef-product-mobile-filter-cover").remove(),o.prepend('<div class="qodef-product-mobile-filter-cover"/>'),qodefCore.body.removeClass("qodef-product-mobile-filter-animate--out").addClass("qodef-product-mobile-filter-cover--opened qodef-product-mobile-filter-animate--in"),e.addClass("qodef-product-mobile-filter--opened"),qodefCore.qodefScroll.disable()},closeMobileFilter:function(e){qodefCore.body.removeClass("qodef-product-mobile-filter-cover--opened qodef-product-mobile-filter-animate--in").addClass("qodef-product-mobile-filter-animate--out"),e.removeClass("qodef-product-mobile-filter--opened"),qodefCore.qodefScroll.enable()}},r={list:{},fields:{},resetText:"",init:function(){var e=u(".qodef-woo-shortcode.qodef-woo-product-list.qodef-filter--advanced");e.length&&e.each(function(){var o=u(this),e=o.find(".qodef-e-price-filter"),t=o.find(".qodef--reset");r.list=o,r.resetText=t.children(".qodef-m-text").text(),o.hasClass("qodef-grid-filter--on")&&r.initGrid(o),r.setupPriceFilter(o,e),r.initSearchParams(o),t.on("click",function(e){t.children(".qodef-m-text").text(r.resetText),r.removeActiveFilters(e,o)})})},initSearchParams:function(o){var e=o.find(".qodef-e-order-link"),t=[],i=o.find(".qodef-e-link"),n=o.find(".qodef-e-checkbox"),a=o.find(".qodef-e-price-filter .qodef-filter-button .qodef-button");t.$orderbyFields=e,t.orderbyFieldsExists=t.$orderbyFields.length,t.$checkboxFields=o.find(".qodef-e-checkbox input"),t.checkboxFieldsExists=t.$checkboxFields.length,t.$linkFields=i,t.linkFieldsExists=t.$linkFields.length,t.priceRangeFields=o.find("#min_price, #max_price"),t.priceRangeFieldsExists=t.priceRangeFields.length,r.fields=t,e.on("click",function(e){e.preventDefault();e=u(e.target).closest(".qodef-e-order-link");e.siblings().removeClass("qodef--active"),e.addClass("qodef--active"),o.find("#order-current .qodef-e-text").text(e.text()),r.initFilter(o,t)}),n.on("change",{productList:o,fields:t},function(e){r.initFilter(o,t),r.updateReset(o,t)}),i.on("click",function(e){e.preventDefault();e=u(e.target).closest(".qodef-e-link");e.hasClass("qodef--active")?e.removeClass("qodef--active"):e.addClass("qodef--active"),r.initFilter(o,t),r.updateReset(o,t)}),a.on("click",function(e){e.preventDefault(),r.initFilter(o,t)})},updateReset:function(e,o){var t,i=e.find(".qodef--reset");i.length&&(t=e.find(".qodef-e-link.qodef--active").length,e=e.find(".qodef-e-checkbox input:checked").length,-1===i.find(".qodef-m-text").text().indexOf("(")?0<t+e&&i.children(".qodef-m-text").append("("+(t+e)+")"):0<t+e?i.children(".qodef-m-text").text(r.resetText+"("+(t+e)+")"):i.children(".qodef-m-text").text(r.resetText))},initFilter:function(e,o){var t,i=e.data("options"),n={},a=("product_tag"===i.tax&&(n.tag=[],n.tag.push(i.tax_slug),n.tag=n.tag.join(",")),o.orderbyFieldsExists&&o.$orderbyFields.each(function(){var e,o;u(this).hasClass("qodef--active")&&(e="order_by",o=u(this).data("value"),n[e]=void 0!==o&&""!==o?o:"")}),o.checkboxFieldsExists&&(a=e.find(".qodef-e-checkbox input:checked"),n.brand=[],n.rating=[],n.category=[],n.attr1=[],n.attrType1="",n.attr2=[],n.attrType2="","product_cat"===i.tax&&n.category.push(i.tax_slug),a.each(function(){var e=u(this);switch(e.attr("name")){case"qodef-product-brand":var o="brand";void 0!==(i=e.data("id"))&&""!==i?n[o].push(e.data("id")):n[o]="";break;case"qodef-product-attribute":var t=e.data("id");""===n.attrType1||n.attrType1===e.data("type")?void 0!==t&&""!==t?(n.attrType1=e.data("type"),n.attr1.push(t)):n.attr1="":void 0!==t&&""!==t?(n.attrType2=e.data("type"),n.attr2.push(t)):n.attr2="";break;case"qodef-product-category":var o="category",i=e.data("id");n.category=[],void 0!==i&&""!==i?n[o].push(e.data("id")):n[o]="";break;case"qodef-product-rating":o="rating";void 0!==(i=e.attr("value"))&&""!==i?n[o].push(e.attr("value")):n[o]=""}}),n.brand=n.brand.join(","),n.category=n.category.join(","),n.rating=n.rating.join(",")),o.linkFieldsExists&&(n.attr1=n.attr1||[],n.attrType1=n.attrType1||"",n.attr2=n.attr2||[],n.attrType2=n.attrType2||"",o.$linkFields.each(function(){var e,o=u(this);o.hasClass("qodef--active")&&(e=o.data("id"),""===n.attrType1||n.attrType1===o.data("type")?void 0!==e&&""!==e?(n.attrType1=o.data("type"),n.attr1.push(e)):n.attr1="":void 0!==e&&""!==e?(n.attrType2=o.data("type"),n.attr2.push(e)):n.attr2="")})),n.attr1&&(n.attr1=n.attr1.join(",")),n.attr2&&(n.attr2=n.attr2.join(",")),o.priceRangeFieldsExists&&(a=e.find(".qodef-price-slider-amount #min_price, .qodef-price-slider-amount #qodef-mobile-min_price").attr("value"),o=e.find(".qodef-price-slider-amount #max_price, .qodef-price-slider-amount #qodef-mobile-max_price").attr("value"),t="price",n.price=[],void 0!==a&&""!==a?n[t].push(a):n[t]="",void 0!==o&&""!==o?n[t].push(o):n[t]=""),r.createAdditionalQuery(n));u.each(a,function(e,o){i[e]=o}),e.data("options",i),qodef.body.trigger("greenpath_trigger_load_more",[e,1])},createAdditionalQuery:function(n){var a={},r=0;return a.additional_query_args={},a.additional_query_args.tax_query={},a.additional_query_args.meta_query={},"object"==typeof n&&(u.each(n,function(e,o){switch(e){case"order_by":a.orderby=n.order_by;break;case"category":""!==o&&"*"!==o&&(-1!==o.indexOf(",")&&(o=o.split(",")),a.additional_query_args.tax_query["value"+r]={},a.additional_query_args.tax_query["value"+r].taxonomy="product_cat",a.additional_query_args.tax_query["value"+r].field="number"==typeof o?"term_id":"slug",a.additional_query_args.tax_query["value"+r].terms=o,a.additional_query_args.tax_query["value"+r].operator="IN",r++);break;case"tag":""!==o&&"*"!==o&&(-1!==o.indexOf(",")&&(o=o.split(",")),a.additional_query_args.tax_query["value"+r]={},a.additional_query_args.tax_query["value"+r].taxonomy="product_tag",a.additional_query_args.tax_query["value"+r].field="number"==typeof o?"term_id":"slug",a.additional_query_args.tax_query["value"+r].terms=o,a.additional_query_args.tax_query["value"+r].operator="IN",r++);break;case"brand":""!==o&&(-1!==o.indexOf(",")&&(o=o.split(",")),a.additional_query_args.tax_query["value"+r]={},a.additional_query_args.tax_query["value"+r].taxonomy="product_"+e,a.additional_query_args.tax_query["value"+r].field="slug",a.additional_query_args.tax_query["value"+r].terms=o,a.additional_query_args.tax_query["value"+r].operator="IN",r++);break;case"price":""!==o&&(a.additional_query_args.meta_query.value={},a.additional_query_args.meta_query.value.key="_price",a.additional_query_args.meta_query.value.value=[parseInt(o[0]),parseInt(o[1])],a.additional_query_args.meta_query.value.compare="BETWEEN",a.additional_query_args.meta_query.value.type="NUMERIC");break;case"attr1":""!==o&&(-1!==o.indexOf(",")&&(o=o.split(",")),a.additional_query_args.tax_query["value"+r]={},a.additional_query_args.tax_query["value"+r].taxonomy="pa_"+n.attrType1,a.additional_query_args.tax_query["value"+r].field="slug",a.additional_query_args.tax_query["value"+r].terms=o,a.additional_query_args.tax_query["value"+r].operator="IN",r++);break;case"attr2":""!==o&&(-1!==o.indexOf(",")&&(o=o.split(",")),a.additional_query_args.tax_query["value"+r]={},a.additional_query_args.tax_query["value"+r].taxonomy="pa_"+n.attrType2,a.additional_query_args.tax_query["value"+r].field="slug",a.additional_query_args.tax_query["value"+r].terms=o,a.additional_query_args.tax_query["value"+r].operator="IN",r++);break;case"rating":var t,i;""!==o&&(i=t=0,-1!==o.indexOf(",")?(o=o.split(","),t=Math.min(...o),5===(i=Math.max(...o))?(i+=.1,t-=.5):1===t?i+=.5:(i+=.5,t-=.5)):t=5===o?(i=parseFloat(o)+.1,parseFloat(o)-.5):1===o?(i=parseFloat(o)+.5,parseFloat(o)):(i=parseFloat(o)+.5,parseFloat(o)-.5),a.additional_query_args.meta_query["value"+r]={},a.additional_query_args.meta_query["value"+r].key="_wc_average_rating",a.additional_query_args.meta_query["value"+r].value=[t,i],a.additional_query_args.meta_query["value"+r].compare="BETWEEN",r++)}}),1<Object.entries(a.additional_query_args.tax_query).length&&(a.additional_query_args.tax_query.relation="AND"),1<Object.entries(a.additional_query_args.meta_query).length)&&(a.additional_query_args.meta_query.relation="AND"),u.isEmptyObject(a.additional_query_args.tax_query)&&delete a.additional_query_args.tax_query,a},initGrid:function(a){var r=a.find(".qodef-e-grid-option"),e=a.attr("class").split(/\s+/),o=e.filter(e=>e.startsWith("qodef-item-layout"))[0],e=e.filter(e=>e.startsWith("qodef-col-num"))[0],d="qodef-item-layout--horizontal",s="qodef-col-num--1",c=s.length,l=o===d?"qodef-item-layout--info-below":o,f=a.hasClass("qodef-item-layout--horizontal")?s:e;r.on("click",e=>{e.preventDefault();var e=u(e.target.closest(".qodef-e-grid-option")),o=a.attr("class").split(/\s+/),t=a.find(".qodef-e-grid-option.qodef--list"),i=a.find(".qodef-e-grid-option.qodef--grid"),n=o.filter(e=>e.startsWith("qodef-item-layout"))[0],o=o.filter(e=>e.startsWith("qodef-col-num")&&e.length<=c)[0];r.removeClass("qodef--active"),(e.hasClass("qodef--list")?(a.removeClass(n),a.removeClass(o),a.addClass(d),a.addClass(s),t.addClass("qodef--active"),i):(a.removeClass(n),a.removeClass(o),a.addClass(l),a.addClass(f),i.addClass("qodef--active"),t)).removeClass("qodef--active")})},setupPriceFilter:function(t,e){e.find(".qodef-price-slider-amount #min_price, .qodef-price-slider-amount #max_price").hide();var o=e.find(".qodef-price-slider"),i=t.find(".qodef-price-slider-amount #min_price").data("min"),n=t.find(".qodef-price-slider-amount #max_price").data("max"),a=t.find(".qodef-price-slider-amount #min_price").data("currency"),r=t.find(".qodef-price-slider-amount #min_price").val(),d=t.find(".qodef-price-slider-amount #max_price").val(),s=e.find(".qodef--min"),e=e.find(".qodef--max");s.prepend(a),e.prepend(a),o.slider({range:!0,animate:!0,min:i,max:n,step:1,values:[r,d],create:function(){u(".qodef-price-slider-amount #min_price").val(r),u(".qodef-price-slider-amount #max_price").val(d),u(document.body).trigger("price_slider_create",[r,d])},slide:function(e,o){u("input#min_price").attr("value",o.values[0]),u("input#max_price").attr("value",o.values[1]),t.find(".qodef-e-price-filter .qodef-e-amount .qodef--min").text(a+o.values[0]),t.find(".qodef-e-price-filter .qodef-e-amount .qodef--max").text(a+o.values[1]),u(document.body).trigger("price_slider_slide",[o.values[0],o.values[1]])}})},removeActiveFilters:function(e,o){var t;(e.target.matches(".qodef--reset")||e.target.matches(".qodef-m-text"))&&(e.preventDefault(),e=o.find(".qodef-e-checkbox input:checked"),t=
1o.find(".qodef-e-link.qodef--active"),e.each(function(e,o){u(o).prop("checked",!1)}),t.each(function(e,o){u(o).removeClass("qodef--active")}),r.initFilter(o,r.fields))}}}(jQuery),function(i){"use strict";i(document).ready(function(){o.init()});var o={init:function(){var e=i(".qodef-product-search-holder");e.length&&e.off().each(function(){var e=i(this);o.trigger(e)})},trigger:function(e){var o,a,r,t;"undefined"!=typeof qodefProductList&&qodefProductList.products.length&&(o=i(".qodef-product-search-holder form"),a=qodefProductList.products,r=function(e){for(var o='<div><div class="qodef-product-search-item">',t=(e.thumb&&(o+='<div class="qodef-product-search-image"><img src="'+e.thumb+'" alt="product-featured-image"/></div>'),o=o+'<div class="qodef-product-search-item-content">'+'<div class="qodef-product-search-item-cat">',e.product_cat.length),i=0;i<t;i++)o+=e.product_cat[i].split("-").join(" "),i!==t-1&&(o+=", ");return o+="</div>",e.post_title&&(o+='<h6 class="qodef-product-search-title">'+e.post_title+"</h6>"),e.price&&(o+='<div class="qodef-product-search-price">'+e.price+"</div>"),o+="</div></div>"},t=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("post_title"),queryTokenizer:Bloodhound.tokenizers.whitespace,local:a}),o.each(function(){var o=i(this),n=(o.hasClass("qodef-typeahead--initialized")||(o.find(".qodef-product-search").typeahead({hint:!0,highlight:!0,minLength:1},{name:"s",display:"post_title",source:t,templates:{suggestion:r}}),o.addClass("qodef-typeahead--initialized")),i(this).find(".qodef-product-category")[0]);n.onchange=function(){var t=n.options[n.selectedIndex].value,i=[],e=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("post_title"),queryTokenizer:Bloodhound.tokenizers.whitespace,local:function(){if(""===t)return a;for(var e=a.length,o=0;o<e;o++)-1!==a[o].product_cat.indexOf(t)&&i.push(a[o]);return i}});o.find(".qodef-product-search").typeahead("destroy"),o.find(".qodef-product-search").typeahead({hint:!0,highlight:!0,minLength:1},{name:"s",display:"post_title",source:e,templates:{suggestion:r}})},i(".qodef-product-search-form").on("click",".tt-suggestion",function(){setTimeout(function(){i(".qodef-product-search-submit").trigger("click")},100)}),i(".qodef-product-search-form").on("click",".tt-suggestion",function(){setTimeout(function(){i(".qodef-product-search-submit").trigger("click")},100)}),i(".qodef-product-category-holder").on("click","",function(){i(".qodef-product-category-holder").toggleClass("dropdown-opened")})}))}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()});var n={init:function(){var e=i(".widget_greenpath_core_woo_side_area_cart");e.length&&e.off().each(function(){var e=i(this);i(".qodef-woo-side-area-cart-cover").length||i("#qodef-page-wrapper").prepend('<div class="qodef-woo-side-area-cart-cover"/>
1'),n.trigger(e),n.start(e),qodefCore.body.on("added_to_cart removed_from_cart wc_fragments_refreshed",function(){n.init()})})},trigger:function(e){e=e.find(".qodef-woo-side-area-cart");e.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e)},start:function(o){o.on("click",".qodef-m-opener",function(e){e.preventDefault(),o.hasClass("qodef--opened")?n.closeSideArea(o):(n.openSideArea(o),n.trigger(o),i(document).keyup(function(e){27===e.keyCode&&n.closeSideArea(o)}))}),o.on("click",".qodef-m-close",function(e){e.preventDefault(),n.closeSideArea(o)})},openSideArea:function(o){qodefCore.qodefScroll.disable(),qodefCore.body.addClass("qodef-woo-side-area-cart--opened");var e=i("#qodef-page-header"),t=i("#qodef-fullscreen-area");e.css("z-index","102"),t.css("z-index","102"),i("#qodef-top-area").css("z-index","100"),o.addClass("qodef--opened"),i(".qodef-woo-side-area-cart-cover").on("click",function(e){e.preventDefault(),n.closeSideArea(o)})},closeSideArea:function(e){var o=i("#qodef-page-header"),t=i("#qodef-fullscreen-area");e.hasClass("qodef--opened")&&(qodefCore.qodefScroll.enable(),qodefCore.body.removeClass("qodef-woo-side-area-cart--opened"),e.removeClass("qodef--opened"),setTimeout(function(){o.css("z-index","100"),t.css("z-index","99"),i("#qodef-top-area").css("z-index","101")},500))}}}(jQuery),jQuery(document).ready(function(e){e(document).on("added_to_wishlist removed_from_wishlist",function(){var o=e(".qodef-wishlist-count");e.ajax({url:yith_wcwl_l10n.ajax_url,data:{action:"yith_wcwl_update_wishlist_count"},dataType:"json",success:function(e){o.html(e.count)},beforeSend:function(){o.block()},complete:function(){o.unblock()}})})}),function(){"use strict";qodefCore.shortcodes.greenpath_core_clients_list={},qodefCore.shortcodes.greenpath_core_clients_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(e){"use strict";var t="greenpath_core_team_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(){"use strict";qodefCore.shortcodes.greenpath_core_testimonials_list={},qodefCore.shortcodes.greenpath_core_testimonials_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(C){"use strict";C(document).ready(function(){e.init()});var e={init:function(){this.holder=C(".qodef-interactive-link-showcase.qodef-layout--interactive-list"),this.holder.length&&this.holder.each(function(){e.initItem(C(this))})},initItem:function(e){var q,m,o=e.find(".qodef-m-item"),v=0,g=0;o.length&&o.on("mouseenter",function(){o.removeClass("qodef--active"),C(this).addClass("qodef--active")}).on("mousemove",function(e){var o=C(this),t=o.find(".qodef-e-follow-content"),i=t.find(".qodef-e-follow-image"),n=i.find("img"),a=n.width(),r=parseInt(i.data("images-count"),10),d=i.data("images"),s=t.find(".qodef-e-follow-title"),c=o.outerWidth(),l=o.outerHeight(),f=o.offset().top-qodefCore.scroll,o=o.offset().left;if(q=e.clientX-o>>0,m=e.clientY-f>>0,v=c<q?c:q<0?0:q,g=l<m?l:m<0?0:m,1<r){var u=d.split("|"),h=c/r;n.removeAttr("srcset"),v<h&&n.attr("src",u[0]);for(var p=1;p<=r-2;p++)h*p<=v&&v<h*(p+1)&&n.attr("src",u[p]);c-h<=v&&n.attr("src",u[r-1])}i.css({top:l/2}),s.css({transform:"translateY("+-(parseInt(l,10)/2+g)+"px)",left:-(v-a/2)}),t.css({top:g,left:v})}).on("mouseleave",function(){o.removeClass("qodef--active")}),e.addClass("qodef--init")}};qodefCore.shortcodes.greenpath_core_interactive_link_showcase.qodefInteractiveLinkShowcaseInteractiveList=e}(jQuery),function(n){"use strict";n(document).ready(function(){e.init()});var e={init:function(){this.holder=n(".qodef-interactive-link-showcase.qodef-layout--list"),this.holder.length&&this.holder.each(function(){e.initItem(n(this))})},initItem:function(e){var t=e.find(".qodef-m-image"),i=e.find(".qodef-m-item");t.eq(0).addClass("qodef--active"),i.eq(0).addClass("qodef--active"),i.on("touchstart mouseenter",function(e){var o=n(this);(!qodefCore.html.hasClass("touchevents")||!o.hasClass("qodef--active")&&680<qodefCore.windowWidth)&&(e.preventDefault(),t.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"),i.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"))}).on("touchend mouseleave",function(){var e=n(this);(!qodefCore.html.hasClass("touchevents")||!e.hasClass("qodef--active")&&680<qodefCore.windowWidth)&&(i.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"),t.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"))}),e.addClass("qodef--init")}};qodefCore.shortcodes.greenpath_core_interactive_link_showcase.qodefInteractiveLinkShowcaseList=e}(jQuery),function(a){"use strict";a(document).ready(function(){e.init()});
1var e={init:function(){this.holder=a(".qodef-interactive-link-showcase.qodef-layout--slider"),this.holder.length&&this.holder.each(function(){e.initItem(a(this))})},initItem:function(i){var t=i.find(".qodef-m-image"),n=new Swiper(i.find(".swiper-container")[0],{loop:!0,slidesPerView:"auto",centeredSlides:!0,speed:1400,mousewheel:!0,init:!1});n.on("init",function(){t.eq(0).addClass("qodef--active"),i.find(".swiper-slide-active").addClass("qodef--active"),n.on("slideChangeTransitionStart",function(){var e=i.find(".swiper-slide"),o=i.find(".swiper-slide-active");t.removeClass("qodef--active").eq(o.data("swiper-slide-index")).addClass("qodef--active"),e.removeClass("qodef--active"),o.addClass("qodef--active")}),i.find(".swiper-slide").on("click",function(e){var o=a(this),t=i.find(".swiper-slide-active");if(!o.hasClass("swiper-slide-active"))return e.preventDefault(),e.stopImmediatePropagation(),e.pageX<t.offset().left?(n.slidePrev(),!1):e.pageX>t.offset().left+t.outerWidth()?(n.slideNext(),!1):void 0}),i.addClass("qodef--init")}),qodef.qodefWaitForImages.check(i,function(){n.init()})}};qodefCore.shortcodes.greenpath_core_interactive_link_showcase.qodefInteractiveLinkShowcaseSlider=e}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.