!function(t){var e=function(e,n){var i,s,o,r,c=!1,a=!1,l=!1,f={},d={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"},isRTL:!1,handleScrollbarWidth:!1},p=function(t,e,n){var i={},s=t[0].style;n.forEach((function(t){i[t]=void 0!==s[t]?s[t]:""})),t.data("css-backup-"+e,i)},u=function(t,e){return t.data("css-backup-"+e)};const h=()=>{if(r=g(i,"width"),o=i.offset().left,s.isRTL){const t=s.handleScrollbarWidth?window.innerWidth:document.body.offsetWidth;o=Math.max(t-r-o,0)}};var m=function(){f.$spacer=i.clone().addClass(s.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),i.after(f.$spacer)},v=function(){f.$spacer.remove()},_=function(){p(i,"unsticky",["position","width","margin-top","margin-bottom","top","bottom","inset-inline-start"]);const t={position:"fixed",width:r,marginTop:0,marginBottom:0};t[s.to]=s.offset,t["top"===s.to?"bottom":"top"]="",o&&(t["inset-inline-start"]=o+"px"),i.css(t).addClass(s.classes.stickyActive)},y=function(){i.css(u(i,"unsticky")).removeClass(s.classes.stickyActive)},g=function(t,e,n){var i=getComputedStyle(t[0]),s=parseFloat(i[e]),o="height"===e?["top","bottom"]:["left","right"],r=[];return"border-box"!==i.boxSizing&&r.push("border","padding"),n&&r.push("margin"),r.forEach((function(t){o.forEach((function(e){s+=parseFloat(i[t+"-"+e])}))})),s},b=function(t){var e=f.$window.scrollTop(),n=g(t,"height"),i=innerHeight,s=t.offset().top-e,o=s-i;return{top:{fromTop:s,fromBottom:o},bottom:{fromTop:s+n,fromBottom:o+n}}},w=function(){y(),v(),c=!1,i.trigger("sticky:unstick")},k=function(){var t=b(i),e="top"===s.to;if(a){(e?t.top.fromTop>s.offset:t.bottom.fromBottom<-s.offset)&&(f.$parent.css(u(f.$parent,"childNotFollowing")),i.css(u(i,"notFollowing")),a=!1)}else{var n=b(f.$parent),c=getComputedStyle(f.$parent[0]),l=parseFloat(c[e?"borderBottomWidth":"borderTopWidth"]),d=e?n.bottom.fromTop-l:n.top.fromBottom+l;(e?d<=t.bottom.fromTop:d>=t.top.fromBottom)&&function(){p(f.$parent,"childNotFollowing",["position"]),f.$parent.css("position","relative"),p(i,"notFollowing",["position","inset-inline-start","top","bottom"]);const t={position:"absolute"};if(o=f.$spacer.position().left,s.isRTL){const t=i.parent().outerWidth(),e=f.$spacer.position().left;r=f.$spacer.outerWidth(),o=Math.max(t-r-e,0)}t["inset-inline-start"]=o+"px",t[s.to]="",t["top"===s.to?"bottom":"top"]=0,i.css(t),a=!0}()}},z=function(){var t,e=s.offset;if(c){var n=b(f.$spacer);t="top"===s.to?n.top.fromTop-e:-n.bottom.fromBottom-e,s.parent&&k(),t>0&&w()}else{var o=b(i);(t="top"===s.to?o.top.fromTop-e:-o.bottom.fromBottom-e)<=0&&(h(),m(),_(),c=!0,i.trigger("sticky:stick"),s.parent&&k())}!function(t){l&&-t<s.effectsOffset?(i.removeClass(s.classes.stickyEffects),l=!1):!l&&-t>=s.effectsOffset&&(i.addClass(s.classes.stickyEffects),l=!0)}(t)},$=function(){z()},x=function(){c&&(y(),v(),h(),m(),_(),s.parent&&(a=!1,k()))};this.destroy=function(){c&&w(),f.$window.off("scroll",$).off("resize",x),i.removeClass(s.classes.sticky)},s=jQuery.extend(!0,d,n),i=t(e).addClass(s.classes.sticky),f.$window=t(window),s.parent&&(f.$parent=i.parent(),"parent"!==s.parent&&(f.$parent=f.$parent.closest(s.parent))),f.$window.on({scroll:$,resize:x}),z()};t.fn.sticky=function(n){var i="string"==typeof n;return this.each((function(){var s=t(this);if(i){var o=s.data("sticky");if(!o)throw Error("Trying to perform the `"+n+"` method prior to initialization");if(!o[n])throw ReferenceError("Method `"+n+"` not found in sticky instance");o[n].apply(o,Array.prototype.slice.call(arguments,1)),"destroy"===n&&s.removeData("sticky")}else s.data("sticky",new e(this,n))})),this},window.Sticky=e}(jQuery),function(t){var e=function(e,n){var i,s,o,r,c=!1,a=!1,l=!1,f={},d=function(t,e,n){var i={},s=t[0].style;n.forEach((function(t){i[t]=void 0!==s[t]?s[t]:""})),t.data("css-backup-"+e,i)},p=function(t,e){return t.data("css-backup-"+e)};const u=()=>{if(r=y(i,"width"),o=i.offset().left,s.isRTL){const t=s.handleScrollbarWidth?window.innerWidth:document.body.offsetWidth;o=Math.max(t-r-o,0)}};var h=function(){f.$spacer=i.clone().addClass(s.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),i.after(f.$spacer)},m=function(){f.$spacer.remove()},v=function(){d(i,"unsticky",["position","width","margin-top","margin-bottom","top","bottom","inset-inline-start"]);const t={position:"fixed",width:r,marginTop:0,marginBottom:0};t[s.to]=s.offset,t["top"===s.to?"bottom":"top"]="",o&&(t["inset-inline-start"]=o+"px"),i.css(t).addClass(s.classes.stickyActive)},_=function(){i.css(p(i,"unsticky")).removeClass(s.classes.stickyActive)},y=function(t,e,n){var i=getComputedStyle(t[0]),s=parseFloat(i[e]),o="height"===e?["top","bottom"]:["left","right"],r=[];return"border-box"!==i.boxSizing&&r.push("border","padding"),n&&r.push("margin"),r.forEach((function(t){o.forEach((function(e){s+=parseFloat(i[t+"-"+e])}))})),s},g=function(t){var e=f.$window.scrollTop(),n=y(t,"height"),i=innerHeight,s=t.offset().top-e,o=s-i;return{top:{fromTop:s,fromBottom:o},bottom:{fromTop:s+n,fromBottom:o+n}}},b=function(){_(),m(),c=!1,i.trigger("sticky:unstick")},w=function(){var t=g(i),e="top"===s.to;if(a)(e?t.top.fromTop>s.offset:t.bottom.fromBottom<-s.offset)&&(f.$parent.css(p(f.$parent,"childNotFollowing")),i.css(p(i,"notFollowing")),a=!1);else{var n=g(f.$parent),c=getComputedStyle(f.$parent[0]),l=parseFloat(c[e?"borderBottomWidth":"borderTopWidth"]),u=e?n.bottom.fromTop-l:n.top.fromBottom+l;(e?u<=t.bottom.fromTop:u>=t.top.fromBottom)&&function(){d(f.$parent,"childNotFollowing",["position"]),f.$parent.css("position","relative"),d(i,"notFollowing",["position","inset-inline-start","top","bottom"]);const t={position:"absolute"};if(o=f.$spacer.position().left,s.isRTL){const t=i.parent().outerWidth(),e=f.$spacer.position().left;r=f.$spacer.outerWidth(),o=Math.max(t-r-e,0)}t["inset-inline-start"]=o+"px",t[s.to]="",t["top"===s.to?"bottom":"top"]=0,i.css(t),a=!0}()}},k=function(){var t,e=s.offset;if(c){var n=g(f.$spacer);t="top"===s.to?n.top.fromTop-e:-n.bottom.fromBottom-e,s.parent&&w(),t>0&&b()}else{var o=g(i);(t="top"===s.to?o.top.fromTop-e:-o.bottom.fromBottom-e)<=0&&(u(),h(),v(),c=!0,i.trigger("sticky:stick"),s.parent&&w())}!function(t){l&&-t<s.effectsOffset?(i.removeClass(s.classes.stickyEffects),l=!1):!l&&-t>=s.effectsOffset&&(i.addClass(s.classes.stickyEffects),l=!0)}(t)},z=function(){k()},$=function(){c&&(_(),m(),u(),h(),v(),s.parent&&(a=!1,w()))};this.destroy=function(){c&&b(),f.$window.off("scroll",z).off("resize",$),i.removeClass(s.classes.sticky)},s=jQuery.extend(!0,{to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"},isRTL:!1,handleScrollbarWidth:!1},n),i=t(e).addClass(s.classes.sticky),f.$window=t(window),s.parent&&(f.$parent=i.parent(),"parent"!==s.parent&&(f.$parent=f.$parent.closest(s.parent))),f.$window.on({scroll:z,resize:$}),k()};t.fn.sticky=function(n){var i="string"==typeof n;return this.each((function(){var s=t(this);if(i){var o=s.data("sticky");if(!o)throw Error("Trying to perform the `"+n+"` method prior to initialization");if(!o[n])throw ReferenceError("Method `"+n+"` not found in sticky instance");o[n].apply(o,Array.prototype.slice.call(arguments,1)),"destroy"===n&&s.removeData("sticky")}else s.data("sticky",new e(this,n))})),this},window.Sticky=e}(jQuery),jQuery(window).on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({currentConfig:{},debouncedReactivate:null,bindEvents:function(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+"sticky","resize",this.reactivateOnResize)},unbindEvents:function(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+"sticky","resize",this.reactivateOnResize)},isStickyInstanceActive:function(){return void 0!==this.$element.data("sticky")},getResponsiveSetting:function(t){const e=this.getElementSettings();return elementorFrontend.getCurrentDeviceSetting(e,t)},getResponsiveSettingList:function(t){return["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map((e=>e?`${t}_${e}`:t))},getConfig:function(){const t=this.getElementSettings(),e={to:t.tenweb_sticky,offset:this.getResponsiveSetting("tenweb_sticky_offset"),effectsOffset:this.getResponsiveSetting("tenweb_sticky_effects_offset"),classes:{sticky:"elementor-sticky",stickyActive:"elementor-sticky--active elementor-section--handles-inside",stickyEffects:"elementor-sticky--effects",spacer:"elementor-sticky__spacer"},isRTL:elementorFrontend.config.is_rtl,handleScrollbarWidth:elementorFrontend.isEditMode()},n=elementorFrontend.elements.$wpAdminBar,i=this.isContainerElement(this.$element[0])&&!this.isContainerElement(this.$element[0].parentElement);return n.length&&"top"===t.tenweb_sticky&&"fixed"===n.css("position")&&(e.offset+=n.height()),t.tenweb_sticky_parent&&!i&&(e.parent=".e-container, .e-container__inner, .e-con, .e-con-inner, .elementor-widget-wrap"),e},activate:function(){this.currentConfig=this.getConfig(),this.$element.sticky(this.currentConfig)},deactivate:function(){this.isStickyInstanceActive()&&this.$element.sticky("destroy")},run:function(t){if(this.getElementSettings("tenweb_sticky")){var e=elementorFrontend.getCurrentDeviceMode();-1!==this.getElementSettings("tenweb_sticky_on").indexOf(e)?!0===t?this.reactivate():this.isStickyInstanceActive()||this.activate():this.deactivate()}else this.deactivate()},reactivateOnResize:function(){clearTimeout(this.debouncedReactivate),this.debouncedReactivate=setTimeout((()=>{const t=this.getConfig();JSON.stringify(t)!==JSON.stringify(this.currentConfig)&&this.run(!0)}),300)},reactivate:function(){this.deactivate(),this.activate()},onElementChange:function(t){-1!==["tenweb_sticky","tenweb_sticky_on"].indexOf(t)&&this.run(!0);-1!==[...this.getResponsiveSettingList("tenweb_sticky_offset"),...this.getResponsiveSettingList("tenweb_sticky_effects_offset"),"tenweb_sticky_parent"].indexOf(t)&&this.reactivate()},onDeviceModeChange:function(){setTimeout((()=>this.run(!0)))},onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",(()=>this.onDeviceModeChange())),this.run()},onDestroy:function(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()},isContainerElement:t=>["e-container","e-container__inner","e-con","e-con-inner"].some((e=>t?.classList.contains(e)))});elementorFrontend.hooks.addAction("frontend/element_ready/section",(function(e){new t({$element:e})})),elementorFrontend.hooks.addAction("frontend/element_ready/container",(function(e){new t({$element:e})})),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(e){new t({$element:e})}))})),function(t,e){tenwebParallax=function(n,i){var s={vertical_scroll:{active:!1,direction:"up",speed:4},horizontal_scroll:{active:!1,direction:"right",speed:4},transparency:{active:!1,direction:"in",speed:5},blur:{active:!1,direction:"in",speed:10},scale:{active:!1,direction:"in",speed:10}};this.element=n;var o={};!function(t){o=s,"object"!=typeof t&&(o=s);let e=Object.entries(t);for(let t=0;t<e.length;t++)"object"==typeof e[t]&&"object"==typeof s[e[t][0]]&&"object"==typeof e[t][1]&&(void 0!==e[t][1].active&&["on","yes","On","Yes",!0].includes(e[t][1].active)&&(o[e[t][0]].active=!0),void 0!==e[t][1].speed&&0<=e[t][1].speed<=10&&(o[e[t][0]].speed=e[t][1].speed),void 0!==e[t][1].direction&&["in","out","up","down"].includes(e[t][1].direction)&&(o[e[t][0]].direction=e[t][1].direction))}(i),this.layerDiv=function(){var i=t.createElement("div");i.classList.add("tenweb-elementor-scrolling-effects-container");var s=t.createElement("div");s.classList.add("tenweb-elementor-scrolling-effects-layer");var o=n.currentStyle||e.getComputedStyle(n,null);return s.style.backgroundImage=o.backgroundImage,s.style.backgroundPosition=o.backgroundPosition,s.style.backgroundRepeat=o.backgroundRepeat,s.style.backgroundSize=o.backgroundSize,i.appendChild(s),n.prepend(i),s}(),this.options=o},tenwebParallax.prototype={vertical_transform:function(){if(this.options.vertical_scroll.active){if(this.layerDiv.style.height=100+100*this.options.vertical_scroll.speed/10+"%",this.isElementVisible()){var t=this.element.offsetHeight*this.options.vertical_scroll.speed/2/10,n=-(e.scrollY+e.innerHeight-this.element.offsetTop)*this.options.vertical_scroll.speed/4/10;return"down"==this.options.vertical_scroll.direction&&(n=-n),"translateY(calc(-"+t+"px + "+n+"px))"}return""}return""},horizontal_transform:function(){if(this.options.horizontal_scroll.active){if(this.layerDiv.style.width=100+100*this.options.horizontal_scroll.speed/10+"%",this.isElementVisible()){var t=(e.scrollY+e.innerHeight-this.element.offsetTop)*this.options.horizontal_scroll.speed/4/10,n=this.element.offsetWidth*this.options.horizontal_scroll.speed/2/10;return"left"==this.options.horizontal_scroll.direction&&(t=-t),"translateX(calc(-"+n+"px + "+t+"px))"}return""}return""},transparency:function(){return this.options.transparency.active&&this.isElementVisible()?(opacity_value=(e.scrollY+e.innerHeight-this.element.offsetTop)/(this.element.offsetHeight+e.innerHeight),opacity_value*=this.options.transparency.speed/10,"out"==this.options.transparency.direction&&(opacity_value=1-opacity_value),opacity_value):""},blur:function(){return this.options.blur.active&&this.isElementVisible()?(blur_value=(e.scrollY+e.innerHeight-this.element.offsetTop)/(this.element.offsetHeight+e.innerHeight),blur_value*=this.options.blur.speed,"out"==this.options.blur.direction&&(blur_value=10-blur_value),"blur("+blur_value+"px)"):""},scale:function(){return this.options.scale.active&&this.isElementVisible()?(scale_value=(e.scrollY+e.innerHeight-this.element.offsetTop)/(this.element.offsetHeight+e.innerHeight),scale_value=scale_value*this.options.scale.speed/10,scale_value+=1,"out"==this.options.scale.direction&&(scale_value=2-scale_value),"scale("+scale_value+")"):""},onScroll:function(){var t=this.vertical_transform();t+=this.horizontal_transform(),t+=this.scale(),this.layerDiv.style.transform=t,this.layerDiv.style.opacity=this.transparency(),this.layerDiv.style.filter=this.blur()},onResize:function(){var t=this.vertical_transform();t+=this.horizontal_transform(),t+=this.scale(),this.layerDiv.style.transform=t,this.layerDiv.style.opacity=this.transparency(),this.layerDiv.style.filter=this.blur()},changePosition:function(){},isElementVisible:function(){var n=this.element.getBoundingClientRect();return n.top+n.height>=0&&n.top<=(e.innerHeight||t.documentElement.clientHeight)},elementTopPosition:function(){},elementBottomPosition:function(){},addDisableBackgroundClass:function(){this.element.classList.add("tenweb-disable-background-image")},removeDisableBackgroundClass:function(){this.element.classList.remove("tenweb-disable-background-image")},start:function(){return this.onScroll=this.onScroll.bind(this),this.onResize=this.onResize.bind(this),this.addDisableBackgroundClass(),e.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onResize),this.onResize(),this},destroy:function(){this.layerDiv.parentElement.remove(),this.removeDisableBackgroundClass(),e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize)}}}(document,window),jQuery(window).on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({defoult_settings:{background_background:"classic",tenweb_enable_parallax_efects:"no","tenweb_vertical_scroll_efects-direction":"down","tenweb_vertical_scroll_efects-speed":{unit:"px",size:4.5,sizes:[]},tenweb_vertical_scroll_efects:"no",tenweb_horizontal_scroll_efects:"no",tenweb_transparency_efects:"no",tenweb_blur_efects:"no",tenweb_scale_efects:"no","tenweb_horizontal_scroll_efects-direction":"left","tenweb_horizontal_scroll_efects-speed":{unit:"px",size:4,sizes:[]},"tenweb_transparency_efects-direction":"in","tenweb_transparency_efects-speed":{unit:"px",size:4,sizes:[]},"tenweb_blur_efects-direction":"in","tenweb_blur_efects-speed":{unit:"px",size:4,sizes:[]},"tenweb_scale_efects-direction":"in","tenweb_scale_efects-speed":{unit:"px",size:4,sizes:[]},tenweb_parallax_on:["desktop","tablet","mobile"]},current_settings:{},curParalax:{},elementBgImg:"",is_active:!1,updateSettings:function(t){var e=this;for(const[n,i]of Object.entries(e.defoult_settings))void 0!==t[n]?e.current_settings[n]=t[n]:e.current_settings[n]=e.defoult_settings[n]},isSectionParallax:function(t){return!!t.hasOwnProperty("tenweb_enable_parallax_efects")},activate:function(){var t=this,e=t.$element[0];t.is_active&&t.deactivate(),t.curParalax=new tenwebParallax(e,{vertical_scroll:{active:t.current_settings.tenweb_vertical_scroll_efects,speed:t.current_settings["tenweb_vertical_scroll_efects-speed"].size,direction:t.current_settings["tenweb_vertical_scroll_efects-direction"]},horizontal_scroll:{active:t.current_settings.tenweb_horizontal_scroll_efects,speed:t.current_settings["tenweb_horizontal_scroll_efects-speed"].size,direction:t.current_settings["tenweb_horizontal_scroll_efects-direction"]},transparency:{active:t.current_settings.tenweb_transparency_efects,speed:t.current_settings["tenweb_transparency_efects-speed"].size,direction:t.current_settings["tenweb_transparency_efects-direction"]},blur:{active:t.current_settings.tenweb_blur_efects,speed:t.current_settings["tenweb_blur_efects-speed"].size,direction:t.current_settings["tenweb_blur_efects-direction"]},scale:{active:t.current_settings.tenweb_scale_efects,speed:t.current_settings["tenweb_scale_efects-speed"].size,direction:t.current_settings["tenweb_scale_efects-direction"]}}).start(),t.is_active=!0},deactivate:function(){var t=this;t.$element[0];"function"==typeof t.curParalax.destroy&&t.curParalax.destroy(),t.is_active=!1},run:function(t){var e=this.getElementSettings();if(this.isSectionParallax(e))if(this.updateSettings(e),"yes"===this.current_settings.tenweb_enable_parallax_efects&&"classic"===this.current_settings.background_background){var n=elementorFrontend.getCurrentDeviceMode();-1!==this.getElementSettings("tenweb_parallax_on").indexOf(n)?this.activate():this.deactivate()}else this.deactivate();else this.deactivate()},reactivate:function(){this.deactivate(),this.activate()},onElementChange:function(t){this.run()},onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.run()},onDestroy:function(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()}});elementorFrontend.hooks.addAction("frontend/element_ready/section",(function(e){new t({$element:e})}))}))
;