芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/wp-content/themes/odefy/js/theme-addons.min.js
"use strict";function wglAccordionInit(){jQuery(".wgl-accordion").each((function(){const e=jQuery(this),t=e.find(".wgl-accordion_header"),i=e.data("type"),n=e.data("trigger"),a="toggle"===i&&"hover"===n?"mouseenter click":"click";t.each((function(){const e=jQuery(this).parent().parent();"yes"===e.data("default")&&e.addClass("active").find(".wgl-accordion_content").slideDown(400)})),t.on(a,(function(e){const t=jQuery(this).parent().parent();"accordion"===i?t.toggleClass("active").find(".wgl-accordion_content").slideToggle(400):"toggle"===i&&(t.siblings().find(".wgl-accordion_content").stop(!0,!1).slideUp(400),t.addClass("active").find(".wgl-accordion_content").slideDown(400),t.siblings().removeClass("active").find(".wgl-accordion_content").slideUp(400))}))}))}function wglServicesAccordionInit(){jQuery(".wgl-accordion-services").each((function(){jQuery(this).find(".service__item:first-child").addClass("active"),jQuery(this).find(".service__item").on("mouseover",(function(){jQuery(this).addClass("active").siblings().removeClass("active")}))}))}function wglScrollAnimation(){let e=jQuery(".wgl-portfolio_container.appear-animation"),t=jQuery(".wgl-gallery_items.appear-animation"),i=jQuery(".wgl-products.appear-animation");!function(e){var t=window.document.documentElement;function i(){var e=t.clientHeight,i=window.innerHeight;return e
=o}function o(e,t){this.el=e,this.options=function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}(this.defaults,t),this.el.length&&this._init()}o.prototype={defaults:{viewportFactor:0},_init:function(){this.items=Array.prototype.slice.call(jQuery(this.el).children()),this.itemsCount=this.items.length,this.itemsRenderedCount=0,this.didScroll=!1,this.delay=100;"function"==typeof imagesLoaded?imagesLoaded(this.el,this._imgLoaded(this)):this._imgLoaded(this)},_imgLoaded:function(e){e.items.forEach((function(t,i){a(t)&&(e._checkTotalRendered(),jQuery(t).hasClass("show")||jQuery(t).hasClass("animate")||!a(t,e.options.viewportFactor)||(e._itemClass(jQuery(t),e.delay,void 0),e.delay+=200,setTimeout((function(){e.delay=100}),200)))})),window.addEventListener("scroll",(function(){e._onScrollFn()}),!1),window.addEventListener("resize",(function(){e._resizeHandler()}),!1)},_onScrollFn:function(){var e=this;this.didScroll||(this.didScroll=!0,setTimeout((function(){e._scrollPage()}),60))},_itemClass:function(e,t,i){i=setTimeout((function(){e.length?jQuery(e).addClass("animate"):clearTimeout(i)}),t)},_scrollPage:function(){var e=this;this.items.forEach((function(t,o){jQuery(t).hasClass("show")||jQuery(t).hasClass("animate")||!a(t,e.options.viewportFactor)||setTimeout((function(){n(),i();e._checkTotalRendered(),e._itemClass(jQuery(t),e.delay,void 0),e.delay+=200,setTimeout((function(){e.delay=100}),200)}),25)})),this.didScroll=!1},_resizeHandler:function(){var e=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((function(){e._scrollPage(),e.resizeTimeout=null}),1e3)},_checkTotalRendered:function(){++this.itemsRenderedCount,this.itemsRenderedCount===this.itemsCount&&window.removeEventListener("scroll",this._onScrollFn)}},window.AnimOnScroll=o}(jQuery),new AnimOnScroll(e,{}),new AnimOnScroll(t,{}),i.length&&i.each((function(){let e=jQuery(this);e.find(".swiper-wrapper").length?new AnimOnScroll(e.find(".swiper-wrapper"),{}):new AnimOnScroll(e,{})}))}function wglScrollUp(){var e;(e=jQuery).fn.goBack=function(t){var i={scrollTop:jQuery(window).height(),scrollSpeed:600,fadeInSpeed:1e3,fadeOutSpeed:500},n=(t=e.extend(i,t),e(this));e(window).on("scroll",(function(){e(window).scrollTop()>t.scrollTop?n.addClass("active"):n.removeClass("active")})),n.on("click",(function(){e("html,body").animate({scrollTop:0},t.scrollSpeed)}))},jQuery("#scroll_up").goBack()}function wglBlogMasonryInit(){var e=jQuery(".blog-posts > .masonry");if(e.length){var t=e.get(0);imagesLoaded(t,(function(){setTimeout((function(){e.isotope({layoutMode:"masonry",masonry:{columnWidth:".item"},itemSelector:".item",percentPosition:!0}),jQuery(window).trigger("resize")}),250)}))}}function wglButton(){!function(e){const t=e(".elementor-widget-wgl-button.has-magnetic .wgl-button");function i(i){const n=i.pageX,a=i.pageY;t.each((function(){const t=e(this),i=t.data("magnetic-threshold")??500,o=t.data("magnetic-strong")??.5,s=t.offset().left+t.width()/2,r=t.offset().top+t.height()/2,l=n-s,c=a-r,d=Math.sqrt(l*l+c*c);if(d
e>9?""+e:"0"+e,formatFractionTotal:e=>e>9?""+e:"0"+e,renderBullet:(e,t)=>'
'+(e+1)+"
"},navigation:{nextEl:_,prevEl:b},breakpoints:{},autoplayEnable:c,pause_on_hover:h,freeMode:g};if(jQuery(this).hasClass("fade_swiper")&&(Q.fadeEffect={crossFade:!0}),p&&(Q.mousewheel={releaseOnEdges:!0}),o.responsive&&!w&&"vertical"!==s){let e={};o.responsive.forEach((function(t){t.breakpoint&&(e[t.breakpoint]={slidesPerView:parseInt(t.slidesToShow),slidesPerGroup:parseInt(t.slidesToScroll)?parseInt(t.slidesToScroll):1},t.gap&&(e[t.breakpoint].spaceBetween=parseInt(t.gap)))})),Q.breakpoints=e}window.elementorFrontend?window.elementorFrontend.isEditMode()?wglInitSwiper(i,Q):elementorFrontend.on("components:init",()=>{wglInitSwiper(i,Q,elementorFrontend)}):wglInitSwiper(i,Q)})),t.length&&t.each((function(){const e=jQuery(this),t=e.find(".wgl-carousel_wrap"),i=t.find(".testimonials__wrapper, .wgl-item"),n=e.hasClass("animation-direction-vertical")?"rotateX":"rotateY";let a,o,s,r,l,c,d=i.length,u=t.outerHeight(),h=0;function m(){if("rotateY"===n){let t=0;i.each((function(){let e=jQuery(this).outerHeight();e>t&&(t=e)})),e.css({height:t})}}function p(){h--,f()}function g(){h++,f()}function f(){i.removeClass("active current next prev"),c=360/d,l="rotateX"===n?Math.round(u/d*.7*Math.sqrt(d/1.5)):jQuery("#main").width()<=992?Math.round(u/d*.5*Math.sqrt(d/1.2)):Math.round(u/d*1.3*Math.sqrt(d/1.2)),i.each((function(e){a=jQuery(this),s=c*e,o=c*h*-1+s,a.css({transform:n+"("+s+"deg) translateZ("+l+"px)"+n+"("+-1*o+"deg) "}),r=h<0?d-Math.abs(h+1)%d-1:h%d,r===e?(a.addClass("active current"),0===r&&i.last().addClass("active prev"),r===d-1&&i.first().addClass("active next")):e===r-1?a.addClass("active prev"):e===r+1&&a.addClass("active next")})),o=c*h*-1,t.css({transform:"translateZ("+-l+"px) "+n+"("+o+"deg)"}),i.children().off(),e.find(".prev").children().on("click",p),e.find(".next").children().on("click",g)}function w(e,t){if(!e.lastRunTime||e.lastRunTime
{wglSwiperControl(i,e,t)})}else if("undefined"!=typeof Swiper){wglSwiperControl(new Swiper(e[0],t),e,t)}}function wglSwiperControl(e,t,i){i.autoplayEnable||e.autoplay.stop(),i.pause_on_hover&&i.autoplayEnable&&(t.on("mouseenter",(function(){e.autoplay.stop()})),t.on("mouseleave",(function(){e.autoplay.start()})))}function wglCircuitService(){jQuery(".wgl-circuit-service").length&&jQuery(".wgl-circuit-service").each((function(){var e=jQuery(this).find(".wgl-services_icon-wrap"),t=360/e.length,i=-1;e.each((function(){var e=jQuery(this);jQuery(this).parents(".wgl-services_item:first-child").addClass("active"),e.on("mouseover",(function(){jQuery(this).parents(".wgl-services_item").addClass("active").siblings().removeClass("active")}));var n=100*parseFloat(e.css("width"))/parseFloat(e.parent().css("width")),a=i*t*Math.PI/180,o=50+(50-n/2)*Math.cos(a)-n/2,s=50+(50-n/2)*Math.sin(a)-n/2;e.css({left:o+"%",top:s+"%"}),i++}))}))}function wglContentMinHeight(){var e=jQuery("header.wgl-theme-header"),t=jQuery("footer.footer"),i=jQuery(".page-header"),n=0,a=0,o=0;e.length&&(n=e.outerHeight(!0),document.querySelector("html").style.setProperty("--header-height",n+"px")),t.length&&(a=t.outerHeight(!0),document.querySelector("html").style.setProperty("--footer-height",a+"px")),i.length&&(o=i.outerHeight(!0),document.querySelector("html").style.setProperty("--pt-height",o+"px"))}function wglCountdownInit(){var e=jQuery(".wgl-countdown");0!==e.length&&e.each((function(){var e=jQuery(this).data("atts"),t=new Date(+e.year,+e.month-1,+e.day,+e.hours,+e.minutes);jQuery(this).countdown({until:t,padZeroes:!0,digits:["
0
","
1
","
2
","
3
","
4
","
5
","
6
","
7
","
8
","
9
"],format:e.format?e.format:"yowdHMS",labels:[e.labels[0],e.labels[1],e.labels[2],e.labels[3],e.labels[4],e.labels[5],e.labels[6],e.labels[7]],labels1:[e.labels[0],e.labels[1],e.labels[2],e.labels[3],e.labels[4],e.labels[5],e.labels[6],e.labels[7]]})}))}function wglCounterInit(){let e=jQuery(".wgl-counter__value");e.length&&e.appear((function(){let e=jQuery(this).data("start-value"),t=jQuery(this).data("end-value"),i=jQuery(this).data("speed"),n=jQuery(this).data("sep");jQuery(this).countTo({from:e,to:t,speed:i,refreshInterval:10,separator:n})}))}function wglCursorInit(){var e=jQuery("body").attr("data-elementor-device-mode");if("desktop"===e||"laptop"===e||"widescreen"===e){var t=jQuery("#wgl-cursor"),i=jQuery("#wgl-cursor-pointer"),n=jQuery(".wgl-cursor-text");jQuery(document).on("mousemove",(function(e){t.css("transform",`translate3d(calc(${e.clientX}px - 50%), calc(${e.clientY}px - 50%), 0)`)})),n.length&&n.each((function(){var e=jQuery(this),t=wglCursorAppend(e),n=e.attr("data-cursor-color-bg");e.hasClass("additional-cursor")&&(e=e.parent());const a="undefined"!==jQuery.type(t)&&""!==jQuery.type(t);let o;e.on("mouseenter",(function(){a?(i.empty().append(jQuery(t)),o=setTimeout(()=>{i.addClass("visible")},20)):i.css("color",n)})).on("mouseleave",(function(e){if(a)clearTimeout(o),i.removeClass("visible");else if(e.relatedTarget){var t=jQuery(e.relatedTarget);t.hasClass("wgl-cursor-text")||(t=t.parents("[data-cursor-color-bg]").eq(0)),t.length>0&&t.hasClass("wgl-cursor-text")?setTimeout((function(){t.trigger("mouseenter")}),0):i.css("color","var(--odefy-cursor-point-color)")}}))}))}}!function(e){jQuery(document).ready((function(){!function(){var e,t,i=document.getElementsByClassName("wgl_cpt_section");for(e=0;e
0&&jQuery(e).find(".wgl-carousel_swiper").each((function(){!function(e){var t=e.data("swiper")?e.data("swiper"):{},i=(!!t.paginationType&&t.paginationType,e.data("item-carousel")?'[data-carousel="'+e.data("item-carousel")+'"]':""),n=(void 0!==e.data("pagination")&&e.data("pagination"),void 0!==e.data("arrow-next")?e.data("arrow-next"):".elementor-swiper-button-next"+i),a=void 0!==e.data("arrow-prev")?e.data("arrow-prev"):".elementor-swiper-button-prev"+i,o={effect:"fade",speed:900,navigation:{nextEl:n,prevEl:a}};if("undefined"==typeof Swiper){new(0,window.elementorFrontend.utils.swiper)(e,o).then(e=>{e.update()})}else new Swiper(e[0],o).init()}(jQuery(this)),jQuery(e).hasClass("blog_masonry")&&jQuery(e).isotope("layout")}))}function s(e){var i,o,s,r,l,c;if(n=0,null!=e&&(i=e.getElementsByClassName("container-grid")).length&&(i=i[0],(o=e.getElementsByClassName("posts_grid_ajax")).length&&(s=(o=o[0]).getElementsByClassName("ajax_data")).length)){if(r=(s=s[0]).value,r=JSON.parse(r),n+=(l=r).post_count,(t=e.getElementsByClassName("infinity_item")).length){t=t[0],jQuery(t).wglIsVisible()&&a(i,e,l);var d=0;jQuery(window).on("resize scroll",(function(){if(jQuery(t).wglIsVisible()){var n=jQuery(this).scrollTop();n>d&&a(i,e,l),d=n}}))}(c=e.getElementsByClassName("load_more_item")).length&&(c=c[0]).addEventListener("click",(function(t){t.preventDefault(),jQuery(this).addClass("loading"),a(i,e,l)}),!1)}}}(jQuery),jQuery(document).on("berocket_ajax_products_loaded",wglScrollAnimation),jQuery(window).on("elementor/frontend/init",(function(){wglSectionCursor()}));var wglCursorAppend=e=>{var t=e.attr("data-cursor-class")??"",i=e.attr("data-cursor-text"),n=e.attr("data-cursor-image"),a=[];return"undefined"!==jQuery.type(n)?a=jQuery('
'+n+"
"):"undefined"!==jQuery.type(i)&&(a=jQuery('
'+i+"
")),a[0]};function wglSectionCursor(){function e(e){return e.each((function(){var e=jQuery(this),t=jQuery(this).data("id"),i={},n=!1,a=[],o=function(e){return!(!e||!e.hasOwnProperty("cursor_tooltip")||""===e.cursor_tooltip)};!function(){if(window.elementorFrontend.isEditMode()){if(!window.elementor.elements&&!window.elementor.elements.models)return;window.elementor.elements.models.forEach((function(e){t===e.id&&(i=e.attributes.settings.attributes,a[e.id]=e.attributes.settings.attributes)})),n=o(i),i=a}else i=wgl_section_settings[0][t],n=o(i),i=wgl_section_settings[0];if(i=i[jQuery(e).data("id")],n){0==jQuery("#wgl-cursor").length&&jQuery("body").append('
');var s=jQuery(e);if(s.addClass("wgl-cursor-text"),"custom"===i.cursor_tooltip_type){let e="
"+(i.tooltip_text??"")+"
";if(s.attr("data-cursor-text",e),i.cursor_tooltip_bg)var r=" tooltip_bg";else r="";s.removeAttr("data-cursor-image data-cursor-color-bg")}else"image"===i.cursor_tooltip_type?(i.cursor_thumbnail.url.length&&s.attr("data-cursor-image","
"),s.removeAttr("data-cursor-text data-cursor-color-bg")):"simple"===i.cursor_tooltip_type&&(i.cursor_color_bg.length&&s.attr("data-cursor-color-bg",i.cursor_color_bg),s.removeAttr("data-cursor-image data-cursor-text"));s.attr("data-cursor-class","wgl-element-"+t+" cursor-from-js"+r),window.elementorFrontend.isEditMode()&&wglCursorInit()}else e.off().removeClass("wgl-cursor-text").removeAttr("data-cursor-text data-cursor-image data-cursor-color-bg"),jQuery("#wgl-cursor-pointer").empty()}()}))}window.elementorFrontend.hooks.addAction("frontend/element_ready/section",e),window.elementorFrontend.hooks.addAction("frontend/element_ready/container",e)}function wglInitDblhAppear(){jQuery(".elementor-widget-wgl-double-heading.appear_anim-yes").each((function(){jQuery(this).appear((function(){let e=jQuery(this);e.length&&e.each((function(){jQuery(this).addClass("show_divider")}))}))}))}function isTopInMiddle(e,t){return e.getBoundingClientRect().top<=window.innerHeight/2+t}function isBottomInMiddle(e,t){return e.getBoundingClientRect().bottom>=window.innerHeight/2-t}function wglSectionDynamicColors(){let e=document.querySelectorAll(".wgl_dynamic_colors_enable"),t=document.querySelector("body"),i=t.classList.contains("wgl-init-dark");e.forEach((function(e){let n=e.className,a=0,o=n.match(/\bwgl_dynamic_colors_sensitivity-(\d+)\b/);function s(){isTopInMiddle(e,a)&&isBottomInMiddle(e,a)?(t.classList.add("wgl_dynamic_colors-active"),i?t.classList.remove("wgl-dark-mode"):t.classList.add("wgl-dark-mode")):(t.classList.remove("wgl_dynamic_colors-active"),i?t.classList.add("wgl-dark-mode"):t.classList.remove("wgl-dark-mode"))}o&&(a=parseInt(o[1],10)),s(),window.addEventListener("scroll",s)}))}function wglDynamicStyles(){var e=jQuery("#odefy-footer-inline-css");jQuery.fn.wglAddDynamicStyles=function(){return 0===this.length?this:this.each((function(){var e="",t=jQuery(this),i=function(){jQuery("head").append("")};e+=t.text(),t.remove(),i()}))},e.wglAddDynamicStyles()}function wglFilterSwiper(){document.querySelectorAll(".wgl-filter_swiper_wrapper, .wgl-tabs_swiper-wrapper .wgl-tabs_headings-wrap").forEach((e,t)=>{window.elementorFrontend&&(window.elementorFrontend.isEditMode()?wglFilterSwiperInit(e):elementorFrontend.on("components:init",()=>{wglFilterSwiperInit(e)}))})}function wglFilterSwiperInit(e){if("undefined"==typeof Swiper){new(0,window.elementorFrontend.utils.swiper)(e,{slidesPerView:"auto",slideActiveClass:"slide-active"}).then(t=>{t.init(),jQuery(e).on("slides_added",(function(){t.updateSlides()}))})}else{new Swiper(e,{slidesPerView:"auto",slideActiveClass:"slide-active"})}}function mobilecheck(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t}jQuery(window).on("elementor/frontend/init",()=>{elementorFrontend.on("components:init",()=>{const e=document.querySelectorAll(".elementor-element");e.forEach((t,i)=>{e.length-1===i&&wglSectionDynamicColors()})})});var click=mobilecheck()&&"ontouchstart"in document.documentElement?"touchstart":"click";function initClickEvent(){click=mobilecheck()&&"ontouchstart"in document.documentElement?"touchstart":"click"}function wglIsVisibleInit(){jQuery.fn.wglIsVisible=function(){var e=jQuery(this).offset().top,t=e+jQuery(this).outerHeight(),i=jQuery(window).scrollTop(),n=i+jQuery(window).height();return t>i&&e
ul,.wc-tabs").each((function(){jQuery(this).lavalamp()})),setTimeout((function(){jQuery(".wgl-tabs.has-lavalamp .wgl-tabs_headings, .wgl-tabs-horizontal.has-lavalamp .wgl-tabs-horizontal_headings").lavalamp()}),600)}function wglLinkOverlay(){jQuery(".wgl-link-overlay").each((function(){let e=jQuery(this),t=e.closest(".elementor-widget"),i="auto"!==t.css("z-index")&&t.css("z-index"),n=e.data("link-position"),a=!1;switch(i||e.css("z-index",i),n){case"1st":a=t.parent();break;case"2nd":a=t.parent().parent();break;case"3rd":a=t.parent().parent().parent();break;case"column":a=t.closest(".elementor-column");break;default:a=t.closest(".elementor-section")}a&&(e.prependTo(a),t.remove())}))}function wglLinkScroll(){jQuery("a.smooth-scroll, .smooth-scroll").on("click",(function(e){var t;if("A"==this.tagName)t=jQuery.attr(this,"href");else{var i=jQuery(this).find("a");t=jQuery(i).attr("href")}jQuery("html, body").animate({scrollTop:jQuery(t).offset().top},500),e.preventDefault()}))}function wglMobileHeader(){var e,t=jQuery(".wgl-mobile-header .mobile_nav_wrapper .wgl-menu-outer_content > .primary-nav > ul"),i=jQuery(".menu_vertical.elementor-widget-wgl-menu .primary-nav > ul");(e=jQuery).fn.wglMobileMenu=function(t){var i={toggleBtn:".wgl-mobile-header .hamburger-box",switcher:".button_switcher",back:".back",overlay:".wgl-menu_overlay",anchor:".menu-item > a[href*=\\#]"};return 0===this.length?this:this.each((function(){var n={},a=e(this),o=jQuery(".mobile_nav_wrapper .primary-nav > ul ul, .mobile_nav_wrapper .primary-nav > ul .wgl-e-container"),s=jQuery(".mobile_nav_wrapper").data("mobileWidth"),r=jQuery(".hamburger-box"),l=jQuery("body"),c=jQuery(".wgl-mobile-header.wgl-sticky-element"),d=jQuery(window).width(),u=l.data("mobileWidth")??1200,h=d<=u,m="is-active",p="show_sub_menu",g="mobile_switch_on",f=function(){jQuery(window).width()<=s?r.hasClass(m)||y():v()},w=function(e){(d=jQuery(window).width())>=u?(h=!1,f()):d<=u&&!h&&(h=!0,f())},y=function(){o.removeClass(p),a.hide().addClass(g),l.removeClass(g)},v=function(){o.removeClass(p),l.removeClass(g),a.show().removeClass(g),r.removeClass(m),jQuery(".button_switcher").removeClass("is-active")},_=function(){a.find(".menu-item-has-children").each((function(){jQuery(this).find("> a").append('
')}))},b=function(e){a.toggleClass(p),l.toggleClass(g),l.hasClass(g)?(l.removeClass("mobile_switch_off"),wglDisableBodyScroll(!0,".wgl-menu-outer_content")):(l.addClass("mobile_switch_off"),wglDisableBodyScroll(!1,".wgl-menu-outer_content"))},j=function(){var e=jQuery(c).height();jQuery(window).scrollTop()>=e?jQuery(c).addClass("sticky_mobile"):jQuery(c).removeClass("sticky_mobile")};let Q;n.settings=e.extend({},i,t),_(),f(),jQuery(n.settings.toggleBtn).on(click,b),jQuery(n.settings.overlay).on(click,(function(t){var i=e(".wgl-menu_outer");!i.is(t.target)&&0===i.has(t.target).length&&e("body").hasClass(g)&&b()})),jQuery(n.settings.switcher).on(click,(function(e){e.preventDefault();var t=jQuery(this).parents("li");jQuery(this).hasClass(m)?(jQuery(this).parent().prevAll(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass(p),jQuery(this).parent().nextAll(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass(p)):(jQuery(".mobile_nav_wrapper .menu-item-has-children").not(t).find(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass(p),jQuery(".mobile_nav_wrapper .menu-item-has-children").not(t).find(".button_switcher").removeClass(m),jQuery(".mobile_nav_wrapper .menu-item-has-children").not(t).find("a[href*=\\#]").removeClass(m),jQuery(this).parent().prevAll(".sub-menu, div.wgl-e-container").stop(!0).slideDown(450).addClass(p),jQuery(this).parent().nextAll(".sub-menu, div.wgl-e-container").stop(!0).slideDown(450).addClass(p)),jQuery(this).toggleClass(m)})),jQuery(n.settings.anchor).on(click,(function(e){jQuery(".button_switcher").is(e.target)||(jQuery(".mobile_nav_wrapper .menu-item-has-children").find(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass(p),jQuery(".mobile_nav_wrapper .menu-item-has-children").find(".button_switcher").removeClass(m),jQuery(e.target).closest(".wgl-mobile-header").length&&b())})),jQuery(n.settings.back).on(click,(function(e){e.preventDefault(),jQuery(this).closest(".sub-menu").removeClass(p),jQuery(this).closest(".sub-menu").prev("a").removeClass(m),jQuery(this).closest(".sub-menu").prev("a").find(".button_switcher").removeClass(m)})),jQuery(window).resize((function(){clearTimeout(Q),Q=setTimeout(w,100)})),0!==c.length&&l.hasClass("admin-bar")&&(j(),jQuery(window).scroll((function(){jQuery(window).width()<=c.find(".mobile_nav_wrapper").data("mobileWidth")&&j()})),jQuery(window).resize((function(){jQuery(window).width()<=c.find(".mobile_nav_wrapper").data("mobileWidth")&&j()})))}))},function(e){e.fn.wglVerticalMenu=function(t){var i={switcher:".button_switcher_vertical",anchor:".menu-item > a[href*=\\#]"};return 0===this.length?this:this.each((function(){var n={},a=e(this),o="is-active",s=function(){a.find(".menu-item-has-children").each((function(){jQuery(this).find("> a").append('
')}))};n.settings=e.extend({},i,t),s(),a.find(n.settings.switcher).on(click,(function(e){e.preventDefault();var t=jQuery(this).parents("li");jQuery(this).hasClass(o)?(jQuery(this).parent().prevAll(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass("show_sub_menu"),jQuery(this).parent().nextAll(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass("show_sub_menu")):(a.find(".menu-item-has-children").not(t).find(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass("show_sub_menu"),a.find(".menu-item-has-children").not(t).find(".button_switcher").removeClass(o),a.find(".menu-item-has-children").not(t).find("a[href*=\\#]").removeClass(o),jQuery(this).parent().prevAll(".sub-menu, div.wgl-e-container").stop(!0).slideDown(450).addClass("show_sub_menu"),jQuery(this).parent().nextAll(".sub-menu, div.wgl-e-container").stop(!0).slideDown(450).addClass("show_sub_menu")),jQuery(this).toggleClass(o)})),a.find(n.settings.anchor).on(click,(function(e){a.find(".button_switcher_vertical").is(e.target)||(a.find(".menu-item-has-children").find(".sub-menu, div.wgl-e-container").stop(!0).slideUp(450).removeClass("show_sub_menu"),a.find(".menu-item-has-children").find(".button_switcher").removeClass(o),jQuery(e.target).closest(".wgl-mobile-header").length&&(a.toggleClass("show_sub_menu"),body.toggleClass("menu_vertical_switch_on"),body.hasClass("menu_vertical_switch_on")?wglDisableBodyScroll(!0,".wgl-menu-outer_content"):wglDisableBodyScroll(!1,".wgl-menu-outer_content")))}))}))}}(jQuery),t.wglMobileMenu(),i.wglVerticalMenu()}jQuery(window).on("resize",initClickEvent),function(e){e.fn.countTo=function(t){t=e.extend({},e.fn.countTo.defaults,t||{});var i=Math.ceil(t.speed/t.refreshInterval),n=(t.to-t.from)/i;return e(this).each((function(){var a=this,o=0,s=t.from,r=setInterval((function(){s+=n,o++,e(a).html(s.toFixed(t.decimals).toString().replace(/\B(?=(\d{3})+(?!\d))/g,l)),"function"==typeof t.onUpdate&&t.onUpdate.call(a,s);o>=i&&(clearInterval(r),s=t.to,"function"==typeof t.onComplete&&t.onComplete.call(a,s))}),t.refreshInterval),l=t.separator}))},e.fn.countTo.defaults={from:0,to:100,speed:1e3,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null,separator:""}}(jQuery),jQuery(window).load((function(){jQuery("#preloader-wrapper").fadeOut()})),function(e,t){let i=function(t,i){this.element=e(t).data("lavalamp",this),this.options=e.extend({},this.options,i),this.init()};i.prototype={options:{current:".current-menu-ancestor,.current-menu-item,.current-category-ancestor,.current-page-ancestor,.current_page_parent,.wgl-tabs_header.active,.wgl-tabs-horizontal_header_wrap.active,.active",items:"li,.wgl-tabs_header,.wgl-tabs-horizontal_header_wrap",bubble:'
',animation:!1,blur:e.noop,focus:e.noop,easing:"easeInOutCubic",duration:"0.6s"},element:null,current:null,bubble:null,_focus:null,init:function(){let i,n=this,a=n.element.children("li,.wgl-tabs_header,.wgl-tabs-horizontal_header_wrap");this.onWindowResize=function(){i&&clearTimeout(i),i=setTimeout((function(){n.reload()}),100)},e(t).on("resize.lavalamp",this.onWindowResize),e(a).addClass("lavalamp-item"),this.element.hasClass("wgl-tabs_headings")||this.element.parent().hasClass("wgl-tabs_headings")||this.element.hasClass("wgl-tabs-horizontal_headings")||this.element.parent().hasClass("wgl-tabs-horizontal_headings")||this.element.hasClass("wc-tabs")||this.element.parent().hasClass("wc-tabs")?this.element.on("click.lavalamp",".lavalamp-item",(function(){n._move(e(this))})):this.element.on("mouseenter.lavalamp",".lavalamp-item",(function(){n.current.each((function(){n.options.blur.call(this,n)})),n._move(e(this))})).on("mouseleave.lavalamp",(function(){n.current.index(n._focus)<0&&(n._focus=null,n.current.each((function(){n.options.focus.call(this,n)})),n._move(n.current))})),this.bubble=e.isFunction(this.options.bubble)?this.options.bubble.call(this,this.element):e(this.options.bubble).prependTo(this.element),n.element.addClass("lavalamp"),n.element.find(".lavalamp-object").addClass(n.options.easing),this.reload(),n.element.addClass("lavalamp_animate")},reload:function(){this.current=this.element.children(this.options.current),0===this.current.size()&&(this.current=this.element.children().not(".lavalamp-object").eq(0)),this._move(this.current,!1)},destroy:function(){this.bubble&&this.bubble.remove(),this.element.off(".lavalamp"),e(t).off("resize.lavalamp",this.onWindowResize)},_move:function(e,t){let i,n=e.position();if(e.hasClass("wgl-tabs_header")||e.parent().hasClass("wc-tabs"))i={WebkitTransitionDuration:this.options.duration,MozTransitionDuration:this.options.duration,transitionDuration:this.options.duration,transform:"translate("+Math.round(n.left)+"px)",width:Math.round(e.outerWidth()),opacity:1,left:"0px"};else if(e.hasClass("wgl-tabs-horizontal_header_wrap"))i={WebkitTransitionDuration:this.options.duration,MozTransitionDuration:this.options.duration,transitionDuration:this.options.duration,transform:"translateY("+Math.round(n.top)+"px)",height:Math.round(e.outerHeight(!0)),opacity:1};else{e.children("a").children("span").width();n.left=n.left+parseInt(e.children("a").css("marginLeft"))+1,i={WebkitTransitionDuration:this.options.duration,MozTransitionDuration:this.options.duration,transitionDuration:this.options.duration,transform:"translate("+n.left+"px)",width:"calc("+e.children().outerWidth()+"px)",marginTop:"calc("+e.children().outerHeight(!1)/2+"px + "+e.find(".item_text").outerHeight(!1)/2+"px + 3px)"}}this._focus=e,this.bubble.css(i)}},e.fn.lavalamp=function(t){if("string"==typeof t){let i=e(this).data("lavalamp");return i[t].apply(i,Array.prototype.slice.call(arguments,1))}return this.each((function(){let n=e(this).data("lavalamp");n?(e.extend(n.options,t||{}),n.reload()):new i(this,t)}))}}(jQuery,window),function(e){e(document).on("click",".sl-button",(function(){var t,i=e(this),n=i.attr("data-post-id"),a=i.attr("data-nonce"),o=i.attr("data-iscomment"),s=(t=e("1"===o?".sl-comment-button-"+n:".sl-button-"+n)).next("#sl-loader");return""!==n&&e.ajax({type:"POST",url:wgl_core.ajaxurl,data:{action:"wgl_theme_like",post_id:n,nonce:a,is_comment:o},beforeSend:function(){s.html('
Loading...
')},success:function(e){var n=e.icon,a=e.count;t.html(n+a),"unliked"===e.status?(t.prop("title",i.data("title-like")),t.removeClass("liked")):(t.prop("title",i.data("title-unlike")),t.addClass("liked")),s.empty()}}),!1}))}(jQuery);var wglDisableBodyScroll=function(){var e,t=!1,i=!1;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(el))return null;do{if(t.matches(e))return t;t=t.parentElement}while(null!==t);return el});var n=function(e){!1!==i&&e.target.closest(t)||e.preventDefault()},a=function(t){1===t.targetTouches.length&&(e=t.targetTouches[0].clientY)},o=function(t){if(1===t.targetTouches.length){var n=t.targetTouches[0].clientY-e;0===i.scrollTop&&n>0&&t.preventDefault(),i.scrollHeight-i.scrollTop<=i.clientHeight&&n<0&&t.preventDefault()}};return function(e,s){void 0!==s&&(t=s,i=document.querySelector(s)),!0===e?(!1!==i&&(i.addEventListener("touchstart",a,!1),i.addEventListener("touchmove",o,!1)),document.body.addEventListener("touchmove",n,!1)):(!1!==i&&(i.removeEventListener("touchstart",a,!1),i.removeEventListener("touchmove",o,!1)),document.body.removeEventListener("touchmove",n,!1))}}();function wglPageTitleParallax(){var e=jQuery(".page-header.page_title_parallax");0!==e.length&&(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent||navigator.vendor||window.opera)||e.paroller())}function wglExtendedParallax(){var e=jQuery(".extended-parallax");0!==e.length&&(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent||navigator.vendor||window.opera)||e.each((function(){jQuery(this).paroller()})))}function wglPortfolioParallax(){var e=jQuery(".wgl-portfolio-item_bg.portfolio_parallax");0!==e.length&&e.paroller()}function wglParallaxVideo(){jQuery(".parallax-video").each((function(){jQuery(this).jarallax({loop:!0,speed:1,videoSrc:jQuery(this).data("video"),videoStartTime:jQuery(this).data("start"),videoEndTime:jQuery(this).data("end")})}))}function wglParticlesCustom(){jQuery(".wgl-particles-js").each((function(){var e,t=jQuery(this).attr("id"),i=jQuery(this).data("particles-type"),n=jQuery(this).data("particles-colors-type"),a=jQuery(this).data("particles-color"),o=jQuery(this).data("particles-color"),s=jQuery(this).data("particles-number"),r=jQuery(this).data("particles-line"),l=jQuery(this).data("particles-size"),c=jQuery(this).data("particles-speed"),d=jQuery(this).data("particles-hover"),u=jQuery(this).data("particles-hover-mode");switch(i){case"particles":default:i="circle";break;case"hexagons":i="polygon"}"random_colors"==n&&(o=(a=a.split(","))[0]),tsParticles.load(t,{particles:{number:{value:s,density:{enable:!0,value_area:800}},color:{value:a},shape:{type:i,polygon:{nb_sides:6}},opacity:{value:1,random:!0,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:l,random:!0,anim:{enable:!1,speed:30,size_min:1,sync:!1}},line_linked:{enable:r,distance:150,color:o,opacity:.4,width:1},move:{enable:!0,speed:c,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:d,mode:u},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:150,line_linked:{opacity:1}},bubble:{distance:200,size:1.6*l,duration:20,opacity:1,speed:30},repulse:{distance:80,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0}),e=function(){requestAnimationFrame(e)},requestAnimationFrame(e)}))}function wglParticlesImageCustom(){jQuery(".wgl-particles-img-js").each((function(){var e=jQuery(this).attr("id"),t=jQuery(this).data("particles-color")||"#000000",i=jQuery(this).data("particles-number"),n=jQuery(this).data("particles-line"),a=jQuery(this).data("particles-size"),o=jQuery(this).data("particles-speed"),s=jQuery(this).data("particles-hover"),r=jQuery(this).data("particles-hover-mode"),l=jQuery(this).data("particles-rotate");l="yes"===l;var c,d=jQuery(this).data("particles-rotate-animation")||0,u=jQuery(this).data("image").split(","),h=[];u.forEach((function(e,t,i){var n=new URL(e),a={};a.height=n.searchParams.get("height"),a.replaceColor=!0,a.src=e.split("?")[0],a.width=n.searchParams.get("width"),a.fill=!0,a.close=!0,h.push(a)})),tsParticles.load(e,{detectRetina:!0,fpsLimit:60,particles:{number:{value:i,density:{enable:!0,area:800},limit:0},color:{value:t},shape:{image:h,polygon:{close:!0,fill:!0,sides:5},type:"image",custom:{}},opacity:{animation:{enable:!1,minimumValue:.1,speed:1,sync:!1},random:{enable:!1,minimumValue:1},value:1},size:{animation:{enable:!1,minimumValue:1,speed:40,sync:!1},random:{enable:!1,minimumValue:1},value:a},lineLinked:{blink:!1,color:{value:t},consent:!1,distance:150,enable:n,opacity:.4,width:1},move:{collisions:!1,direction:"none",enable:!0,outMode:"out",random:!1,speed:o,straight:!1,attract:{enable:!1,rotate:{x:600,y:1200}}},rotate:{animation:{enable:l,speed:d,sync:!1},direction:"random",random:!0,value:0},stroke:{color:{value:t},width:0,opacity:1}},interactivity:{detectsOn:"canvas",events:{onClick:{enable:!1,mode:"push"},onHover:{enable:s,mode:r,parallax:{enable:!1,force:60,smooth:10}},resize:!0},modes:{bubble:{distance:200,duration:20,opacity:1,size:1.6*a},connect:{distance:80,lineLinked:{opacity:.5},radius:60},grab:{distance:150,lineLinked:{opacity:1}},push:{quantity:4},remove:{quantity:2},repulse:{distance:200,duration:.4},slow:{factor:1,radius:0}}},backgroundMask:{cover:{color:{value:"#fff"},opacity:1},enable:!1},pauseOnBlur:!0,background:{}}),c=function(){requestAnimationFrame(c)},requestAnimationFrame(c)}))}function wglPhysicsButton(e=!1){let t=jQuery(".wgl-button_physics");t.length&&t.each((function(){let e=jQuery(this);e.appear((function(){var t=Matter.Engine,i=Matter.Render,n=Matter.Events,a=Matter.MouseConstraint,o=Matter.Mouse,s=Matter.Bodies,r=Matter.Query,l=t.create();const c=this.querySelector(".wgl-physics_canvas");let d=this.querySelector(".wgl-physics_elements"),u=d.querySelectorAll(".wgl-physics_item").length;const h=1e3*Number(this.querySelector(".wgl-physics_elements").getAttribute("data-delay"));var m=e.find(".wgl-physics_matter").width(),p=e.find(".wgl-physics_matter").height();let g=u,f=[],w=[];const y="yes"===this.querySelector(".wgl-physics_elements").getAttribute("data-increase-active")?1.2:1,v=Number(this.querySelector(".wgl-physics_elements").getAttribute("data-restitution")),_=Number(this.querySelector(".wgl-physics_elements").getAttribute("data-friction")),b=Number(this.querySelector(".wgl-physics_elements").getAttribute("data-density"));var j=i.create({element:c,engine:l,options:{width:m,height:p,pixelRatio:2,background:"transparent",wireframes:!1}}),Q=o.create(j.canvas),C=a.create(l,{mouse:Q,constraint:{stiffness:.2,render:{visible:!1}}});class x{constructor(e){this.element=d.querySelectorAll(".wgl-physics_item")[e],this.element.classList.contains("visible")||this.element.classList.add("visible");const t=parseInt(getComputedStyle(this.element).getPropertyValue("--size-circle")),i=this.element.querySelector(".wgl-button_physics_link")?this.element.querySelector(".wgl-button_physics_link").getAttribute("href"):"#";let n=Math.floor(Math.random()*m);this.radius=.5*t,this.body=Matter.Bodies.circle(n,0,this.radius,{render:{fillStyle:"transparent"},url:i,idItem:this.element.getAttribute("data-item-id"),restitution:v,friction:_,density:b}),this.element.style.width=2*t+"px",this.element.style.height=2*t+"px",this.cornea=document.createElement("div"),this.element.appendChild(this.cornea)}update(){if(this.pos={x:this.body.position.x,y:this.body.position.y},I&&I.idItem===this.element.getAttribute("data-item-id")){const e=this.radius*(y-1)/2,t=this.radius*(y-1)/2;this.element.style.width=2*this.radius*y+"px",this.element.style.height=2*this.radius*y+"px",this.element.style.transform=`translate(${this.pos.x-this.radius-e}px, ${this.pos.y-this.radius-t}px) scale(${y})`}else this.element.style.width=2*this.radius+"px",this.element.style.height=2*this.radius+"px",this.element.style.transform=`translate(${this.pos.x-this.radius}px, ${this.pos.y-this.radius}px) scale(1)`}lookAt(e){let t={x:e.x-this.pos.x,y:e.y-this.pos.y},i=[Math.sqrt(t.x*t.x+t.y*t.y),Math.atan2(t.y,t.x)],n=i[0]<.5*this.radius?i[0]:.5*this.radius;this.cornea.style.transform=`translate(${Math.cos(i[1])*n}px, ${Math.sin(i[1])*n}px)`,window.cornea=`translate(${Math.cos(i[1])*n}px, ${Math.sin(i[1])*n}px)`,window.polar=i}}window.render=j;var k=s.rectangle(m/2+160,p+80,m+320,160,{isStatic:!0}),S=s.rectangle(-80,0,160,2*p,{isStatic:!0}),T=s.rectangle(m+80,0,160,2*p,{isStatic:!0}),M=s.rectangle(m/2+160,-80,m+320,160,{isStatic:!0});let E={x:0,y:0};window.addEventListener("pointermove",e=>{E={x:e.clientX,y:e.clientY}}),f.push(k),f.push(S),f.push(T),f.push(M);for(let e=0;e
{w.push(new x(e)),Matter.World.add(l.world,w[e].body)},e*h)}Matter.World.add(l.world,f),Matter.World.add(l.world,C),j.mouse=Q;let z=!1;C.mouse.element.removeEventListener("mousewheel",C.mouse.mousewheel),C.mouse.element.removeEventListener("DOMMouseScroll",C.mouse.mousewheel),document.addEventListener("mousedown",()=>z=!0),document.addEventListener("mousemove",()=>z=!1),n.on(C,"mousedown",(function(t){var i=t.source,n=l.world.bodies;if(!i.bodyB)for(var a=0;a
{I=e.body,Matter.Body.scale(I,y,y)}),n.on(C,"enddrag",e=>{Matter.Body.scale(I,1/y,1/y),I=null}),n.on(C,"mousemove",(function(t){var i=r.point(w.map(e=>e.body),t.mouse.position);w.forEach(e=>{jQuery(e.element).removeClass("hover"),j.canvas.style.cursor="default"}),i[0]&&(jQuery(e).find('[data-item-id="'+i[0].idItem+'"]').addClass("hover"),j.canvas.style.cursor="pointer")})),this.addEventListener("mouseleave",()=>{w.forEach(e=>{jQuery(e.element).removeClass("hover")})}),Matter.Runner.run(l),i.run(j),Matter.Events.on(l,"afterUpdate",()=>{w.forEach(e=>{e.update(),e.lookAt(E)})});let A=!1;const P=function(){d.querySelectorAll(".wgl-physics_item").forEach((function(e){e.classList.contains("hide_mobile")&&e.getAttribute("data-resolution")&&(window.innerWidth<=e.getAttribute("data-resolution")?e.style.display="none":(A=!0,e.style.display="flex"))}))};P(),C.mouse.element.removeEventListener("touchstart",C.mouse.mousedown),C.mouse.element.removeEventListener("touchmove",C.mouse.mousemove),C.mouse.element.removeEventListener("touchend",C.mouse.mouseup),A&&(C.mouse.element.addEventListener("touchstart",C.mouse.mousedown,{passive:!0}),C.mouse.element.addEventListener("touchmove",e=>{C.body&&e.cancelable&&C.mouse.mousemove(e)}),C.mouse.element.addEventListener("touchend",e=>{C.body&&e.cancelable&&C.mouse.mouseup(e)})),window.addEventListener("resize",P)}))}))}function wglPieChartInit(){var e=jQuery(".wgl-pie_chart");e.length&&e.each((function(){var t=e.find(".chart");e.appear((function(){jQuery(t).easyPieChart({barColor:jQuery(this).data("barColor"),trackColor:jQuery(this).data("trackColor"),scaleColor:!1,lineCap:"square",lineWidth:jQuery(this).data("lineWidth"),animate:{duration:1400,enabled:!0},size:jQuery(this).data("size"),onStep:function(e,t,i){jQuery(this.el).find(".chart__percent").text(Math.round(i)+"%")}})}))}))}function wglVideoboxInit(){var e=jQuery(".videobox, .swipebox, .gallery a[href$='.jpg'], .gallery a[href$='.jpeg'], .gallery a[href$='.JPEG'], .gallery a[href$='.gif'], .gallery a[href$='.png']");0!==e.length&&e.each((function(){jQuery(this).attr("data-elementor-open-lightbox","yes")}))}function wglPageTitleParallax(){var e=jQuery(".item__image.item__image-wide"),t=function(){if(0!==e.length){var t=e.parent().innerWidth(),i=window.innerWidth,n=0,a=e.data("img-width");i!=t&&(n=(i-t)/2),e.css("--pf-width",i+"px"),e.css("--pf-content-width",a),e.css("max-width",i+"px"),e.css("left","-"+n+"px")}else e.css("--pf-width",""),e.css("--pf-content-width",""),e.css("max-width",""),e.css("left","")};t(),window.addEventListener("resize",()=>{t()})}function wglProgressBarsInit(e){(e?jQuery(e).find(".wgl-progress-bar"):jQuery(".wgl-progress-bar")).each((function(){let e=jQuery(this),t=e.find(".bar__filled"),i=t.data("value"),n=t.data("max-value"),a=t.data("speed"),o=t.data("sep"),s=i/n*100;e.appear((function(){e.find(".value__digit").countTo({from:0,to:i,speed:a,refreshInterval:10,separator:o}),t.css({width:s+"%",transitionDuration:a+"ms"}),e.hasClass("layout-dynamic")?e.find(".progress__content").css({width:s+"%",transitionDuration:a+"ms"}):e.hasClass("layout-dynamic_middle")&&e.addClass("init")}))}))}function wglSearchInit(){var e;(e=jQuery).fn.wglSearch=function(t){var i={toggleID:".header_search-button",closeID:".header_search-close",searchField:".header_search-field",body:"body > *:not(header)"};return 0===this.length?this:this.each((function(){var n={},a=e(this),o="header_search-open",s=function(){e(a).removeClass(o)},r=function(t){e(a).closest(".header_search").hasClass(o)?s():(e(a).addClass(o),setTimeout((function(){e(a).find("input.search-field").focus()}),400))},l=function(t){e(t.target).closest(".search-form").length||e(".header_search").hasClass(o)&&s()};e(document).on("keydown",(function(t){27===t.which&&e(".header_search").hasClass(o)&&s()})),n.settings=e.extend({},i,t),e(this).hasClass("search_standard")||e(this).hasClass("search_standard_fw")?(e(this).find(n.settings.toggleID).on(click,r),e(this).find(n.settings.closeID).on(click,l)):(e(n.settings.toggleID).on(click,r),e(n.settings.searchField).on(click,l)),e(n.settings.body).on(click,l)}))},jQuery(".header_search").wglSearch()}function wglServiceInit(){Array.prototype.forEach.call(document.querySelectorAll(".toggling_content .wgl-service_wrapper_description, .toggling_image .wgl-service_media"),(function(e){e.style.setProperty("--max-height",e.scrollHeight+"px")}))}function wglShowcase2Init(){let e=jQuery(".wgl-showcase-2");e.length&&e.each((function(){let e,t,i=jQuery(this),n=i.data("breakpoint"),a=i.find(".showcase-2__item"),o=i.find(".showcase-2__content_wrapper"),s=i.find(".showcase-2__title"),r=i.find(".showcase-2__item_inner"),l=i.find(".active");function c(){jQuery(window).outerWidth()<=n?(l=i.find(".active"),i.removeClass("mobile_view_disable").addClass("mobile_view_enable"),l.find(".showcase-2__content_wrapper").slideDown(800).parent().parent().siblings().find(".showcase-2__content_wrapper").slideUp(800)):(s.each((function(){let e=jQuery(this);e.parent().css({"--sc2-title-width":Math.floor(e.outerWidth())+"px"})})),a.css({"--sc2-inner-width":Math.floor(r.outerWidth())+"px"}),i.addClass("mobile_view_disable").removeClass("mobile_view_enable"))}e=setTimeout((function(){a.on("mouseenter tap",(function(){clearTimeout(e);let t=jQuery(this);t.hasClass("active")||(a.removeClass("active"),t.addClass("active"),i.hasClass("content_animation-yes")&&(i.hasClass("mobile_view_enable")?(o.stop(!0,!0).slideUp(800),t.find(".showcase-2__content_wrapper").slideDown(800)):o.show()))}))}),100),0===l.length&&i.on("mouseleave",(function(){i.hasClass("mobile_view_enable")||a.removeClass("active")})),jQuery(window).resize((function(){clearTimeout(t),t=setTimeout(c,100)})),c()}))}function wglShowcaseInit(){let e=jQuery(".wgl-showcase.slide-showcase");e.length&&e.each((function(){let e=jQuery(this),t=e.find(".showcase__image"),i=e.find(".showcase__item");t.eq(0).addClass("active"),i.eq(0).addClass("active");let n=e.find(".wgl-double-heading");n=n.length>0?1:0,i.on("touchstart mouseenter",(function(){let e=jQuery(this);e.hasClass("active")||(t.removeClass("active").eq(e.index()-n).addClass("active"),i.removeClass("active").eq(e.index()-n).addClass("active"))})).on("touchend mouseleave",(function(){let e=jQuery(this);e.hasClass("active")||(t.removeClass("active").eq(e.index()-n).addClass("active"),i.removeClass("active").eq(e.index()-n).addClass("active"))})),e.addClass("showcase__init")}));let t=jQuery(".wgl-showcase.interactive-showcase");t.length&&t.each((function(){let e=jQuery(this),t=e.find(".showcase__item"),i=e.find(".active");t.on("mouseenter",(function(){let e=jQuery(this);e.hasClass("active")||(t.removeClass("active"),e.addClass("active"))})),0===i.length&&e.on("mouseleave",(function(){t.removeClass("active")}))}))}function wglSidePanelInit(){var e;(e=jQuery).fn.wglSidePanel=function(t){var i={toggleID:".side_panel-toggle",closeID:".side-panel_close",closeOverlay:".side-panel_overlay",body:"body > *:not(header)",sidePanel:"#side-panel .side-panel_sidebar"};return 0===this.length?this:this.each((function(){var n,a={},o=e(this),s="side-panel_open",r=e("#side-panel"),l=function(){e(o).removeClass(s),r.removeClass(s),e("body").removeClass("side-panel--opened").addClass("side-panel--closed");var t=r.find("section.elementor-element").data("settings");t&&t.animation&&r.find("section.elementor-element").removeClass(t.animation)},c=function(t){t.preventDefault(),e(o).closest(".side_panel").hasClass(s)&&l()};a.settings=e.extend({},i,t),e(a.settings.toggleID).on(click,(function(t){t.preventDefault(),n=e(window).scrollTop(),e(o).closest(".side_panel").hasClass(s)||(function(){r.hasClass("side-panel_active")||r.addClass("side-panel_active"),r.addClass(s),e(o).addClass(s),e("body").removeClass("side-panel--closed").addClass("side-panel--opened");var t=r.find("section.elementor-element").data("settings");t&&t.animation&&r.find("section.elementor-element").removeClass("elementor-invisible").addClass("animated").addClass(t.animation)}(),e(window).scroll((function(){450
=jQuery(window).prop("clientWidth"))return void t.removeClass("sticky_active");let i=jQuery(window).scrollTop();"standard"===s?i>=o&&0!==o?t.addClass("sticky_active"):t.removeClass("sticky_active"):i>o?i>l?t.removeClass("sticky_active"):t.addClass("sticky_active"):t.removeClass("sticky_active"),l=i}function h(e){let t=jQuery(window).scrollTop();t>o&&t>a?(i.removeClass("stick_default"),t>c||0===o||r>=jQuery(window).width()?i.addClass("stick_top"):i.removeClass("stick_top")):i.addClass("stick_default").removeClass("stick_top"),c=t}if(0!==i.length){function m(){i.css({"--height":e.height()+"px","--sticky-height":o+"px","--mobile-sticky-height":0!==n.length?n.height()+"px":"0",opacity:1})}0===d?i.addClass("stick_default"):d>=o&&i.addClass("stick_top"),m(),jQuery(window).scroll((function(){h(jQuery(this))})),jQuery(window).resize((function(){h(jQuery(this)),m()}))}0!==t.length&&(jQuery(window).scroll((function(){u(jQuery(this))})),jQuery(window).resize((function(){u(jQuery(this))})))}function wglStickySidebar(){jQuery(".sticky-sidebar").length&&(jQuery("body").addClass("sticky-sidebar_init"),jQuery(".sticky-sidebar").each((function(){const e=jQuery(this),t=e.css("--wgl-sticky-offset-t")??150;e.theiaStickySidebar({additionalMarginTop:t,additionalMarginBottom:30})}))),jQuery(".sticky_layout .info-wrapper").length&&jQuery(".sticky_layout .info-wrapper").each((function(){jQuery(this).theiaStickySidebar({additionalMarginTop:150,additionalMarginBottom:150})}))}function wglStretchSection(){window.elementorFrontend.hooks.addAction("frontend/element_ready/container",(function(e){return e.each((function(){var e=jQuery(this),t=jQuery(this).data("id"),i={},n=!1,a=[],o=function(){if(window.elementorFrontend.isEditMode()){if(!window.elementor.elements&&!window.elementor.elements.models)return;window.elementor.elements.models.forEach((function(e){t===e.id&&(i=e.attributes.settings.attributes,a[e.id]=e.attributes.settings.attributes)})),n=s(i),i=a}else i=wgl_section_settings[0][t],n=s(i),i=wgl_section_settings[0];if(i=i[jQuery(e).data("id")],n){var o=jQuery(e),r=o.parent().innerWidth(),l=window.innerWidth,c=0;l!=r&&(c=(l-r)/2),o.css("--width",l+"px"),o.css("max-width",l+"px"),o.css("left","-"+c+"px")}else e.css("--width",""),e.css("max-width",""),e.css("left","")},s=function(e){return!(!e||!e.hasOwnProperty("apply_stretch_section")||""===e.apply_stretch_section)};o(),window.addEventListener("resize",()=>{o()})}))}))}function wglStripedServicesInit(){let e=jQuery(".wgl-striped-services");e.length&&e.each((function(){let t=jQuery(this).find(".service-item");t.on("mouseenter",(function(){e.addClass("onhover"),t.removeClass("active"),jQuery(this).addClass("active")})),t.on("mouseleave",(function(){e.removeClass("onhover")}))}))}function wglTabsInit(){let e=jQuery(".wgl-tabs");e.length&&e.each((function(){let e=jQuery(this),t=e.find(".wgl-tabs_headings .wgl-tabs_header"),i=e.find(".wgl-tabs_content-wrap .wgl-tabs_content"),n=e.find(".wgl-tabs_content-wrap"),a=i.filter(":first").outerHeight();t.filter(":first").addClass("active"),i.filter(":first").addClass("active"),i.filter(":not(:first)").hide(),i.not(".active").each((function(){jQuery(this).find(".wgl-image-layers").removeClass("img-layer_animate")})),n.css({height:a}),t.each((function(){let e=jQuery(this);e.on("click tap",(function(){let t=e.data("tab-id"),o=jQuery(".wgl-tabs .wgl-tabs_content[data-tab-id="+t+"]");a=o.outerHeight(),n.css({height:a}),e.addClass("active").siblings().removeClass("active"),o.addClass("active").slideDown().siblings().removeClass("active").slideUp(),i.not(".active").each((function(){jQuery(this).find(".wgl-image-layers").removeClass("img-layer_animate")})),o.find(".wgl-image-layers").addClass("img-layer_animate")}))}))}))}function wglTabsHorizontalInit(){let e=jQuery(".wgl-tabs-horizontal");e.length&&e.each((function(){let t=jQuery(this),i=t.find(".wgl-tabs-horizontal_headings .wgl-tabs-horizontal_header_wrap"),n=t.find(".wgl-tabs-horizontal_content-wrap .wgl-tabs-horizontal_content"),a=Math.max.apply(Math,n.map((function(){return jQuery(this).height()})).get());t.css({"min-height":a}),i.filter(":first").addClass("active"),n.filter(":not(:first)").hide(),i.each((function(){let t=jQuery(this);t.on("click tap",(function(){let i=t.data("tab-id"),n=jQuery(".wgl-tabs-horizontal .wgl-tabs-horizontal_content[data-tab-id="+i+"]");t.addClass("active").siblings().removeClass("active"),e.hasClass("effect-fade")?(n.siblings().fadeOut(200),n.delay(201).fadeIn()):n.slideDown().siblings().slideUp()}))}))}))}function wglTextBackground(){var e=jQuery(".wgl-animation-background-text");e.length&&e.each((function(e){var t=jQuery('
');jQuery(this).find(">div:eq(0)").before(t);var i=window.getComputedStyle(this,":before").content;i=i.slice(1,-1),t.addClass("element-"+e),t.attr("data-info",e),jQuery(this).find(t).html(i.replace(/([^\x00-\x80]|\w)/g,"
$&
")).appear((function(){"function"==typeof anime&&(jQuery(this).data("info")===e&&anime.timeline({loop:!1}).add({targets:".element-"+e+" .letter",translateY:[100,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:1400,delay:function(e,t){return 0+350*t}}))}))}))}function wglTextEditor(){let e=jQuery(".wgl-text-editor.mask_effect");e.length&&e.each((function(){var e=jQuery(this).find(".text-editor_wrapper"),t=e.find(".text-editor_wrapper-inner").nextAll(".text-editor_wrapper-inner").eq(0);0===e.find(".text-editor_wrapper-inner-clone").length&&jQuery(t).addClass("text-editor_wrapper-clone").wrap('
');var i,n=e.find(".text-editor_outer-clone"),a=e.find(".text-editor_wrapper-clone"),o=function(){var t=e.outerWidth();a.css("width",t)};e.on("mousemove",(function(e){var t=e.offsetX,i=e.offsetY;jQuery(a).css({transform:"translate("+-t+"px,"+-i+"px)"}),jQuery(n).css({transform:"translate("+t+"px,"+i+"px)"})})),o(),window.addEventListener("resize",(function(){clearTimeout(i),i=setTimeout((function(){o()}),10)}))}));let t=jQuery(".wgl-text-editor.text_parallax");t.length&&t.each((function(){jQuery(this).paroller({type:"foreground"})}));let i=jQuery(".wgl-text-editor.text_appear");i.length&&i.appear((function(){jQuery(this).addClass("appear")}))}function wglInitTimelineAppear(e){let t=e?jQuery(e).find(".wgl-timeline-vertical"):jQuery(".wgl-timeline-vertical");t.each((function(){if(t.hasClass("appear_animation")){let e=t.find('[class*="tlv__items-"]');e.length&&e.each((function(){let e=jQuery(this);e.appear((function(){e.addClass("show")}))}))}}))}function wglTimelineHorizontal(){var e=jQuery(".wgl-timeline-horizontal");e.length&&e.each((function(){window.elementorFrontend&&(window.elementorFrontend.isEditMode()?wglTimilineSwiperInit(jQuery(this)):elementorFrontend.on("components:init",()=>{wglTimilineSwiperInit(jQuery(this))}))}))}function wglTimilineSwiperInit(e){const t=e.find(".time_line_h-date_container"),i=e.find(".time_line_h-date_container"),n=e.find(".time_line_h-content_container");let a,o;const s=t.data("swiper")?t.data("swiper"):{},r=t.data("item-carousel")?'[data-carousel="'+t.data("item-carousel")+'"]':"",l=void 0!==s.initial_slide?s.initial_slide:0,c=void 0!==s.pagination?s.pagination:".swiper-pagination"+r,d=".elementor-swiper-button-next"+r,u=".elementor-swiper-button-prev"+r;if("undefined"==typeof Swiper){const e=window.elementorFrontend.utils.swiper;a=new e(i,{slidesPerView:"auto",slideActiveClass:"slide-active",centeredSlides:!0,slideToClickedSlide:!0,initialSlide:l,navigation:{nextEl:d,prevEl:u},pagination:{el:c,clickable:!0,type:"bullets",renderBullet:(e,t)=>'
'+(e+1)+"
"}}),o=new e(n,{slidesPerView:"auto",slideActiveClass:"slide-active",centeredSlides:!0,slideToClickedSlide:!0,initialSlide:l}),a.then(e=>{a=e}),o.then(e=>{o=e,a.controller.control=o,o.controller.control=a})}else a=new Swiper(i,{slidesPerView:"auto",slideActiveClass:"slide-active",centeredSlides:!0,slideToClickedSlide:!0,initialSlide:l,navigation:{nextEl:d,prevEl:u},pagination:{el:c,clickable:!0,type:"bullets",renderBullet:(e,t)=>'
'+(e+1)+"
"}}),o=new Swiper(n,{slidesPerView:"auto",slideActiveClass:"slide-active",centeredSlides:!0,slideToClickedSlide:!0,initialSlide:l}),a.controller.control=o,o.controller.control=a;e.hasClass("appear_anim")&&e.length&&e.each((function(){let e=jQuery(this);e.appear((function(){e.addClass("show")}))}))}function wglWoocommerceHelper(){let e=jQuery("body");e.on("click",".quantity.number-input span.minus",(function(e){this.parentNode.querySelector("input[type=number]").stepDown(),document.querySelector(".woocommerce-cart-form [name=update_cart]")&&(document.querySelector(".woocommerce-cart-form [name=update_cart]").disabled=!1)})),e.on("click",".quantity.number-input span.plus",(function(e){this.parentNode.querySelector("input[type=number]").stepUp(),document.querySelector(".woocommerce-cart-form [name=update_cart]")&&(document.querySelector(".woocommerce-cart-form [name=update_cart]").disabled=!1)})),jQuery(".wgl-products .product a.add_to_cart_button.ajax_add_to_cart").on("click",(function(){jQuery(this).closest(".product").addClass("added_to_cart_item")}));let t=jQuery(".action__wrapper");t.length&&(jQuery(".cart_totals").css({"min-height":t.height()}),jQuery(window).resize((function(){jQuery(".cart_totals").css({"min-height":t.height()})})));let i=jQuery(".wgl-reset-filter"),n=jQuery(".wgl-filter-button"),a=jQuery(".wgl-filter-products"),o=a.find(".sidebar-container");function s(){n.removeClass("active"),a.animate({paddingBottom:"hide",height:"hide",opacity:"hide"},"slow").removeClass("active")}i.length&&o.length&&o.append(i),e.on("click tap",".wgl-filter-button",(function(e){n.hasClass("active")?s():(n.addClass("active"),a.animate({paddingBottom:"show",height:"show",opacity:"show"},"slow").addClass("active"))})),e.on("click tap",".wgl-filter-overlay, .wgl-filter-close, .wgl-reset-filter",(function(e){s()})),e.on("click tap",(function(e){e.target===a[0]||a.has(e.target).length||e.target===n[0]||n.has(e.target).length||s()})),jQuery(document).on("keydown",(function(e){27===e.which&&n.hasClass("active")&&s()}))}function wglWoocommerceLoginIn(){var e=jQuery(".login-in");if(e.length){var t=e,i=t.find("a.login-in_link"),n=t.find("div.overlay");i.on("click tap",(function(e){e.preventDefault(),t.toggleClass("open_login")}));var a=function(e){jQuery(e.target).closest(".modal_content").length||jQuery(e.target).is(".modal_content")||t.removeClass("open_login")};n.on("click tap",a),jQuery(document).on("keydown",(function(e){27===e.which&&a(e)}))}}function wglWoocommerceMiniCart(){var e=jQuery("header .wgl-cart-header .mini-cart");e.length&&e.each((function(){var e=jQuery("div.mini_cart-overlay"),t=function(e){jQuery(".wgl-theme-header").removeClass("open_cart")};jQuery("a.woo_icon").on("click tap",(function(){jQuery(".wgl-theme-header").toggleClass("open_cart")})),e.on("click tap",t),jQuery("body").on("click","header a.close_mini_cart",t),jQuery(document).on("keydown",(function(e){27===e.which&&t()}))}))}function wglSelectWrap(){jQuery("select").each((function(){var e=jQuery(this);e.hasClass("first-disable")&&jQuery("option:first-child",e).attr("disabled",!0)}))}function wglButtonAnimation(){jQuery(".wgl-button.with-border:not(.load_more_item)").each((function(){let e=jQuery(this);e.on("click tap",(function(){e.addClass("animated"),setTimeout((function(){e.removeClass("animated")}),600)}))})),jQuery(".wgl-button").each((function(){jQuery(this).on("touchstart mouseenter",(function(){jQuery(this).find(".highlight_svg").removeClass("hide-highlight").addClass("active")})).on("touchend mouseleave",(function(){jQuery(this).find(".highlight_svg").addClass("hide-highlight").removeClass("active")}))}))}function wglInitZoom(){const e=document.querySelectorAll(".wgl-zoom"),t=window.innerHeight;e.length&&e.forEach((function(e){const i=e,n=(i.querySelector(".wgl-zoom_wrapper"),Array.from(i.querySelectorAll(".wgl-zoom_item__wrapper"))),a=i.getAttribute("data-speed"),o=n.map(e=>{const t=document.body.getAttribute("data-elementor-device-mode"),i=JSON.parse(e.dataset.zoom),n=e=>{const n=i[e+"_tablet"],a=i[e+"_mobile"];return"tablet"===t?""!==n?n:i[e]:"mobile"===t?""!==a?a:""!==n?n:i[e]:i[e]},a=e=>{const n=i[e+"_unit"],a=i[e+"_tablet_unit"],o=i[e+"_mobile_unit"];return"tablet"===t?""!==a?a:n:"mobile"===t?""!==o?o:""!==a?a:n:n};return{item:e,timeFrom:i.time_from,timeTo:i.time_to,scaleFrom:n("scale_from"),scaleTo:n("scale_to"),opacityFrom:i.opacity_from,opacityTo:i.opacity_to,blurFrom:n.blur_from,blurTo:n.blur_to,vPosFrom:n("vert_pos_from"),vPosTo:n("vert_pos_to"),hPosFrom:n("hor_pos_from"),hPosTo:n("hor_pos_to"),vPosUnit:a("vert_pos_from"),hPosUnit:a("hor_pos_from"),bgTimeFrom:i.bg_time_from,bgTimeTo:i.bg_time_to,bgScaleFrom:n("bg_scale_from"),bgScaleTo:n("bg_scale_to"),bgOpacityFrom:i.bg_opacity_from,bgOpacityTo:i.bg_opacity_to}});let s=0;function r(){s=function(e=!1){let n=i.getBoundingClientRect(),o=(t-n.top)/n.height-1;return o/=a,o<-1?-1:o>2?2:o}(),function(e,t,i,n){jQuery(t).toggleClass("zoom_fixed",n>0&&n<1),jQuery(t).toggleClass("zoom_completed",n>=1)}(0,i,0,s),o.forEach(e=>{!function(e,t){const i=e.item;let n=e.timeFrom??"",a=e.timeTo??"",o=e.scaleFrom??"",s=e.scaleTo??"",r=e.opacityFrom??"",l=e.opacityTo??"",c=e.blurFrom??"",d=e.blurTo??"",u=e.vPosFrom??"",h=e.vPosUnit??"%",m=e.vPosTo??"",p=e.hPosFrom??"",g=e.hPosTo??"",f=e.hPosUnit??"%",w=e.bgTimeFrom??"",y=e.bgTimeTo??"",v=e.bgScaleFrom??"",_=e.bgScaleTo??"",b=e.bgOpacityFrom??"",j=e.bgOpacityTo??"";const Q=(e,t,i)=>((e,t=0,i=1)=>Math.min(i,Math.max(t,e)))((i-e)/(t-e)),C=(e,t,i,n,a)=>((e,t,i)=>e*(1-i)+t*i)(i,n,Q(e,t,a));if(""!==o){s=""!==s?s:o;let e=C(n,a,o,s,t).toFixed(3);i.style.setProperty("--wgl-zoom-scale",e<0?0:e)}if(""!==r){l=""!==l?l:r;let e=C(n,a,r,l,t).toFixed(3);i.style.setProperty("--wgl-zoom-opacity",e<0?0:e>1?1:e)}if(""!==c){d=""!==d?d:c;let e=C(n,a,c,d,t).toFixed(3);i.style.setProperty("--wgl-zoom-blur",(e<0?0:e)+"px)")}if(""!==u){m=""!==m?m:u;let e=C(n,a,u,m,t).toFixed(3);i.style.setProperty("--wgl-zoom-v-pos",e+h)}if(""!==p){g=""!==g?g:p;let e=C(n,a,p,g,t).toFixed(3);i.style.setProperty("--wgl-zoom-h-pos",e+f)}if(""!==v){_=""!==_?_:v;let e=C(w,y,v,_,t).toFixed(5);i.style.setProperty("--wgl-zoom-bg-scale",e<0?0:e)}if(""!==b){j=""!==j?j:b;let e=C(w,y,b,j,t).toFixed(5);i.style.setProperty("--wgl-zoom-bg-opacity",e<0?0:e>1?1:e)}}(e,s)})}document.addEventListener("scroll",r,{passive:!0}),r()}))}window.addEventListener("resize",(function(e){wglServiceInit()}),!0),jQuery(window).on("elementor/frontend/init",(function(){wglStretchSection()}));