",{class:s,style:'background-image: url("'+n.url+'");'});i.append(r),o.append(i),e.elements.$slides=e.elements.$slides.add(i)}),r.append(o),this.$element.prepend(r),this.elements.$backgroundSlideShowContainer=r}},{key:"initSlider",value:function initSlider(){1>=this.getSlidesCount()||(this.swiper=new Swiper(this.elements.$backgroundSlideShowContainer,this.getSwiperOptions()),this.handleKenBurns())}},{key:"activate",value:function activate(){this.buildSwiperElements(),this.initSlider()}},{key:"deactivate",value:function deactivate(){this.swiper&&(this.swiper.destroy(),this.elements.$backgroundSlideShowContainer.remove())}},{key:"run",value:function run(){"slideshow"===this.getElementSettings("background_background")?this.activate():this.deactivate()}},{key:"onInit",value:function onInit(){(0,l.default)((0,s.default)(BackgroundSlideshow.prototype),"onInit",this).call(this),this.getElementSettings("background_slideshow_gallery")&&this.run()}},{key:"onDestroy",value:function onDestroy(){(0,l.default)((0,s.default)(BackgroundSlideshow.prototype),"onDestroy",this).call(this),this.deactivate()}},{key:"onElementChange",value:function onElementChange(e){"background_background"===e&&this.run()}}]),BackgroundSlideshow}(elementorModules.frontend.handlers.Base);t.default=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var i=n(0);n(15),n(48);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(6)),u=i(n(544)),c=i(n(463)),d=i(n(182)),f=i(n(545)),p=i(n(546)),h=n(275),g=n(547),v=n(564),m=n(565),y=function(e){function Frontend(){var e,t;(0,r.default)(this,Frontend);for(var n=arguments.length,i=new Array(n),o=0;o
",{id:"elementor-device-mode",class:"elementor-screen-only"})};return e.$body.append(e.$deviceMode),e}},{key:"bindEvents",value:function bindEvents(){var e=this;this.elements.$window.on("resize",function(){return e.setDeviceModeData()})}},{key:"getElements",value:function getElements(e){return this.getItems(this.elements,e)}},{key:"getPageSettings",value:function getPageSettings(e){var t=this.isEditMode()?elementor.settings.page.model.attributes:this.config.settings.page;return this.getItems(t,e)}},{key:"getGeneralSettings",value:function getGeneralSettings(e){var t=this.isEditMode()?elementor.settings.general.model.attributes:this.config.settings.general;return this.getItems(t,e)}},{key:"getCurrentDeviceMode",value:function getCurrentDeviceMode(){return getComputedStyle(this.elements.$deviceMode[0],":after").content.replace(/"/g,"")}},{key:"getDeviceSetting",value:function getDeviceSetting(e,t,n){for(var i=["desktop","tablet","mobile"],r=i.indexOf(e);r>0;){var o=t[n+"_"+i[r]];if(o)return o;r--}return t[n]}},{key:"getCurrentDeviceSetting",value:function getCurrentDeviceSetting(e,t){return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(),e,t)}},{key:"isEditMode",value:function isEditMode(){return this.config.environmentMode.edit}},{key:"isWPPreviewMode",value:function isWPPreviewMode(){return this.config.environmentMode.wpPreview}},{key:"initDialogsManager",value:function initDialogsManager(){var e;this.getDialogsManager=function(){return e||(e=new DialogsManager.Instance),e}}},{key:"initOnReadyComponents",value:function initOnReadyComponents(){this.utils={youtube:new f.default,vimeo:new p.default,anchors:new v,lightbox:new m},this.modules={StretchElement:elementorModules.frontend.tools.StretchElement,Masonry:elementorModules.utils.Masonry},this.elementsHandler=new g(jQuery),this.documentsManager=new u.default,this.trigger("components:init")}},{key:"initOnReadyElements",value:function initOnReadyElements(){this.elements.$wpAdminBar=this.elements.$document.find(this.getSettings("selectors.adminBar"))}},{key:"addIeCompatibility",value:function addIeCompatibility(){var e="string"==typeof document.createElement("div").style.grid;if(d.default.ie||!e){this.elements.$body.addClass(this.getSettings("classes.ie"));var t='';this.elements.$body.append(t)}}},{key:"setDeviceModeData",value:function setDeviceModeData(){this.elements.$body.attr("data-elementor-device-mode",this.getCurrentDeviceMode())}},{key:"addListenerOnce",value:function addListenerOnce(e,t,n,i){if(i||(i=this.elements.$window),this.isEditMode())if(this.removeListeners(e,t,i),i instanceof jQuery){var r=t+"."+e;i.on(r,n)}else i.on(t,n,e);else i.on(t,n)}},{key:"removeListeners",value:function removeListeners(e,t,n,i){if(i||(i=this.elements.$window),i instanceof jQuery){var r=t+"."+e;i.off(r,n)}else i.off(t,n,e)}},{key:"debounce",value:function debounce(e,t){var n;return function(){var i=this,r=arguments,o=function later(){n=null,e.apply(i,r)},a=!n;clearTimeout(n),n=setTimeout(o,t),a&&e.apply(i,r)}}},{key:"waypoint",value:function waypoint(e,t,n){n=jQuery.extend({offset:"100%",triggerOnce:!0},n);return e.elementorWaypoint(function correctCallback(){var e=this.element||this,i=t.apply(e,arguments);return n.triggerOnce&&this.destroy&&this.destroy(),i},n)}},{key:"muteMigrationTraces",value:function muteMigrationTraces(){jQuery.migrateMute=!0,jQuery.migrateTrace=!1}},{key:"init",value:function init(){this.hooks=new h,this.storage=new c.default,this.addIeCompatibility(),this.setDeviceModeData(),this.initDialogsManager(),this.isEditMode()&&this.muteMigrationTraces(),this.elements.$window.trigger("elementor/frontend/init"),this.initOnReadyElements(),this.initOnReadyComponents()}},{key:"Module",get:function get(){return this.isEditMode()&&parent.elementorCommon.helpers.hardDeprecated("elementorFrontend.Module","2.5.0","elementorModules.frontend.handlers.Base"),elementorModules.frontend.handlers.Base}}]),Frontend}(elementorModules.ViewModule);window.elementorFrontend=new y,elementorFrontend.isEditMode()||jQuery(function(){return elementorFrontend.init()})},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(6)),u=i(n(464)),c=function(e){function _default(){var e,t;(0,r.default)(this,_default);for(var n=arguments.length,i=new Array(n),o=0;o]+)/}},{key:"isApiLoaded",value:function isApiLoaded(){return window.YT&&YT.loaded}},{key:"getApiObject",value:function getApiObject(){return YT}}]),YoutubeLoader}(i(n(507)).default);t.default=u},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(6)),u=function(e){function VimeoLoader(){return(0,r.default)(this,VimeoLoader),(0,a.default)(this,(0,s.default)(VimeoLoader).apply(this,arguments))}return(0,l.default)(VimeoLoader,e),(0,o.default)(VimeoLoader,[{key:"getApiURL",value:function getApiURL(){return"https://player.vimeo.com/api/player.js"}},{key:"getURLRegex",value:function getURLRegex(){return/^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/)?(\d+)([^?"'>]?)/}},{key:"isApiLoaded",value:function isApiLoaded(){return window.Vimeo}},{key:"getApiObject",value:function getApiObject(){return Vimeo}}]),VimeoLoader}(i(n(507)).default);t.default=u},function(e,t,n){"use strict";var i=n(0),r=i(n(548)),o=i(n(549)),a=i(n(550)),s=i(n(551)),l=i(n(552)),u=i(n(553)),c=i(n(554)),d=i(n(555)),f=i(n(556)),p=i(n(557)),h=i(n(562)),g=i(n(563));e.exports=function(e){var t=this,n={section:p.default,column:h.default,"accordion.default":r.default,"alert.default":o.default,"counter.default":a.default,"progress.default":s.default,"tabs.default":l.default,"toggle.default":u.default,"video.default":c.default,"image-carousel.default":d.default,"text-editor.default":f.default},i={};this.initHandlers=function(){!function addGlobalHandlers(){elementorFrontend.hooks.addAction("frontend/element_ready/global",g.default)}(),function addElementsHandlers(){e.each(n,function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)})}()},this.addHandler=function(e,t){var n,r=t.$element.data("model-cid");if(r){n=e.prototype.getConstructorID(),i[r]||(i[r]={});var o=i[r][n];o&&o.onDestroy()}var a=new e(t);r&&(i[r][n]=a)},this.getHandlers=function(e){return e?n[e]:n},this.runReadyTrigger=function(t){var n=jQuery(t),i=n.attr("data-element_type");i&&(elementorFrontend.hooks.doAction("frontend/element_ready/global",n,e),elementorFrontend.hooks.doAction("frontend/element_ready/"+i,n,e),"widget"===i&&elementorFrontend.hooks.doAction("frontend/element_ready/"+n.attr("data-widget_type"),n,e))},function init(){t.initHandlers()}()}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(465));t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(r.default,{$element:e,showTabFn:"slideDown",hideTabFn:"slideUp"})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0,n(15);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(6)),u=function(e){function Alert(){return(0,r.default)(this,Alert),(0,a.default)(this,(0,s.default)(Alert).apply(this,arguments))}return(0,l.default)(Alert,e),(0,o.default)(Alert,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{dismissButton:".elementor-alert-dismiss"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors");return{$dismissButton:this.$element.find(e.dismissButton)}}},{key:"bindEvents",value:function bindEvents(){this.elements.$dismissButton.on("click",this.onDismissButtonClick.bind(this))}},{key:"onDismissButtonClick",value:function onDismissButtonClick(){this.$element.fadeOut()}}]),Alert}(elementorModules.frontend.handlers.Base);t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(u,{$element:e})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0,n(173),n(99),n(86),n(15);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(28)),u=i(n(6)),c=function(e){function Counter(){return(0,r.default)(this,Counter),(0,a.default)(this,(0,s.default)(Counter).apply(this,arguments))}return(0,u.default)(Counter,e),(0,o.default)(Counter,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{counterNumber:".elementor-counter-number"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors");return{$counterNumber:this.$element.find(e.counterNumber)}}},{key:"onInit",value:function onInit(){var e=this;(0,l.default)((0,s.default)(Counter.prototype),"onInit",this).call(this),elementorFrontend.waypoint(this.elements.$counterNumber,function(){var t=e.elements.$counterNumber.data(),n=t.toValue.toString().match(/\.(.*)/);n&&(t.rounding=n[1].length),e.elements.$counterNumber.numerator(t)})}}]),Counter}(elementorModules.frontend.handlers.Base);t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(c,{$element:e})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0,n(15);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(28)),u=i(n(6)),c=function(e){function Progress(){return(0,r.default)(this,Progress),(0,a.default)(this,(0,s.default)(Progress).apply(this,arguments))}return(0,u.default)(Progress,e),(0,o.default)(Progress,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{progressNumber:".elementor-progress-bar"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors");return{$progressNumber:this.$element.find(e.progressNumber)}}},{key:"onInit",value:function onInit(){var e=this;(0,l.default)((0,s.default)(Progress.prototype),"onInit",this).call(this),elementorFrontend.waypoint(this.elements.$progressNumber,function(){var t=e.elements.$progressNumber;t.css("width",t.data("max")+"%")})}}]),Progress}(elementorModules.frontend.handlers.Base);t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(c,{$element:e})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(465));t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(r.default,{$element:e,toggleSelf:!1})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(465));t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(r.default,{$element:e,showTabFn:"slideDown",hideTabFn:"slideUp",hidePrevious:!1,autoExpand:"editor"})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0,n(187),n(188),n(48),n(15);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(6)),u=function(e){function VideoModule(){return(0,r.default)(this,VideoModule),(0,a.default)(this,(0,s.default)(VideoModule).apply(this,arguments))}return(0,l.default)(VideoModule,e),(0,o.default)(VideoModule,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{imageOverlay:".elementor-custom-embed-image-overlay",video:".elementor-video",videoIframe:".elementor-video-iframe"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors");return{$imageOverlay:this.$element.find(e.imageOverlay),$video:this.$element.find(e.video),$videoIframe:this.$element.find(e.videoIframe)}}},{key:"getLightBox",value:function getLightBox(){return elementorFrontend.utils.lightbox}},{key:"handleVideo",value:function handleVideo(){this.getElementSettings("lightbox")||(this.elements.$imageOverlay.remove(),this.playVideo())}},{key:"playVideo",value:function playVideo(){if(this.elements.$video.length)this.elements.$video[0].play();else{var e=this.elements.$videoIframe,t=e.data("lazy-load");t&&e.attr("src",t);var n=e[0].src.replace("&autoplay=0","");if(e[0].src=n+"&autoplay=1",e[0].src.includes("vimeo.com")){var i=e[0].src,r=/#t=[^&]*/.exec(i);e[0].src=i.slice(0,r.index)+i.slice(r.index+r[0].length)+r[0]}}}},{key:"animateVideo",value:function animateVideo(){this.getLightBox().setEntranceAnimation(this.getCurrentDeviceSetting("lightbox_content_animation"))}},{key:"handleAspectRatio",value:function handleAspectRatio(){this.getLightBox().setVideoAspectRatio(this.getElementSettings("aspect_ratio"))}},{key:"bindEvents",value:function bindEvents(){this.elements.$imageOverlay.on("click",this.handleVideo.bind(this))}},{key:"onElementChange",value:function onElementChange(e){if(0!==e.indexOf("lightbox_content_animation")){var t=this.getElementSettings("lightbox");"lightbox"!==e||t?"aspect_ratio"===e&&t&&this.handleAspectRatio():this.getLightBox().getModal().hide()}else this.animateVideo()}}]),VideoModule}(elementorModules.frontend.handlers.Base);t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(u,{$element:e})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0,n(15);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(28)),u=i(n(6)),c=function(e){function ImageCarouselHandler(){return(0,r.default)(this,ImageCarouselHandler),(0,a.default)(this,(0,s.default)(ImageCarouselHandler).apply(this,arguments))}return(0,u.default)(ImageCarouselHandler,e),(0,o.default)(ImageCarouselHandler,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{carousel:".elementor-image-carousel-wrapper",slideContent:".swiper-slide"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors"),t={$carousel:this.$element.find(e.carousel)};return t.$swiperSlides=t.$carousel.find(e.slideContent),t}},{key:"getSlidesCount",value:function getSlidesCount(){return this.elements.$swiperSlides.length}},{key:"getSwiperSettings",value:function getSwiperSettings(){var e=this.getElementSettings(),t=+e.slides_to_show||3,n=1===t,i=n?1:2,r=elementorFrontend.config.breakpoints,o={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,breakpoints:{}};o.breakpoints[r.md]={slidesPerView:+e.slides_to_show_mobile||1,slidesPerGroup:+e.slides_to_scroll_mobile||1},o.breakpoints[r.lg]={slidesPerView:+e.slides_to_show_tablet||i,slidesPerGroup:+e.slides_to_scroll_tablet||1},this.isEdit||"yes"!==e.autoplay||(o.autoplay={delay:e.autoplay_speed,disableOnInteraction:!!e.pause_on_interaction}),!0===o.loop&&(o.loopedSlides=this.getSlidesCount()),n?(o.effect=e.effect,"fade"===e.effect&&(o.fadeEffect={crossFade:!0})):o.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(o.spaceBetween=e.image_spacing_custom.size);var a="arrows"===e.navigation||"both"===e.navigation,s="dots"===e.navigation||"both"===e.navigation;return a&&(o.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),s&&(o.pagination={el:".swiper-pagination",type:"bullets",clickable:!0}),o}},{key:"updateSpaceBetween",value:function updateSpaceBetween(){this.swiper.params.spaceBetween=this.getElementSettings("image_spacing_custom").size||0,this.swiper.update()}},{key:"onInit",value:function onInit(){for(var e,t=this,n=arguments.length,i=new Array(n),r=0;rthis.elements.$swiperSlides.length||(this.swiper=new Swiper(this.elements.$carousel,this.getSwiperSettings()),o.pause_on_hover&&this.elements.$carousel.on({mouseenter:function mouseenter(){t.swiper.autoplay.stop()},mouseleave:function mouseleave(){t.swiper.autoplay.start()}}))}},{key:"onElementChange",value:function onElementChange(e){0===e.indexOf("image_spacing_custom")?this.updateSpaceBetween():"arrows_position"===e&&this.swiper.update()}},{key:"onEditSettingsChange",value:function onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}}]),ImageCarouselHandler}(elementorModules.frontend.handlers.Base);t.default=function _default(e){elementorFrontend.elementsHandler.addHandler(c,{$element:e})}},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0,n(86),n(48),n(15);var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(28)),u=i(n(6)),c=function(e){function TextEditor(){return(0,r.default)(this,TextEditor),(0,a.default)(this,(0,s.default)(TextEditor).apply(this,arguments))}return(0,u.default)(TextEditor,e),(0,o.default)(TextEditor,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{paragraph:"p:first"},classes:{dropCap:"elementor-drop-cap",dropCapLetter:"elementor-drop-cap-letter"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors"),t=this.getSettings("classes"),n=jQuery("",{class:t.dropCap}),i=jQuery("",{class:t.dropCapLetter});return n.append(i),{$paragraph:this.$element.find(e.paragraph),$dropCap:n,$dropCapLetter:i}}},{key:"wrapDropCap",value:function wrapDropCap(){if(this.getElementSettings("drop_cap")){var e=this.elements.$paragraph;if(e.length){var t=e.html().replace(/ /g," "),n=t.match(/^ *([^ ] ?)/);if(n){var i=n[1],r=i.trim();if("<"!==r){this.dropCapLetter=i,this.elements.$dropCapLetter.text(r);var o=t.slice(i.length).replace(/^ */,function(e){return new Array(e.length+1).join(" ")});e.html(o).prepend(this.elements.$dropCap)}}}}else this.dropCapLetter&&(this.elements.$dropCap.remove(),this.elements.$paragraph.prepend(this.dropCapLetter),this.dropCapLetter="")}},{key:"onInit",value:function onInit(){for(var e,t=arguments.length,n=new Array(t),i=0;io;return{width:a?n:i*o,height:a?n/o:i}}},{key:"changeVideoSize",value:function changeVideoSize(){var e;if(("hosted"===this.videoType||this.player)&&("youtube"===this.videoType?e=jQuery(this.player.getIframe()):"vimeo"===this.videoType?e=jQuery(this.player.element):"hosted"===this.videoType&&(e=this.elements.$backgroundVideoHosted),e)){var t=this.calcVideosSize(e);e.width(t.width).height(t.height)}}},{key:"startVideoLoop",value:function startVideoLoop(e){var t=this;if(this.player.getIframe().contentWindow){var n=this.getElementSettings(),i=n.background_video_start||0,r=n.background_video_end;if(!n.background_play_once||e){if(this.player.seekTo(i),r)setTimeout(function(){t.startVideoLoop(!1)},1e3*(r-i+1))}else this.player.stopVideo()}}},{key:"prepareVimeoVideo",value:function prepareVimeoVideo(e,t){var n=this,i=this.getElementSettings(),r=(i.background_video_start&&i.background_video_start,{id:t,width:this.elements.$backgroundVideoContainer.outerWidth().width,autoplay:!0,loop:!i.background_play_once,transparent:!1,background:!0,muted:!0});this.player=new e.Player(this.elements.$backgroundVideoContainer,r),this.handleVimeoStartEndTimes(i),this.player.ready().then(function(){jQuery(n.player.element).addClass("elementor-background-video-embed"),n.changeVideoSize()})}},{key:"handleVimeoStartEndTimes",value:function handleVimeoStartEndTimes(e){var t=this;e.background_video_start&&this.player.on("play",function(n){0===n.seconds&&t.player.setCurrentTime(e.background_video_start)}),this.player.on("timeupdate",function(n){e.background_video_end&&e.background_video_endi-.5&&t.player.setCurrentTime(e.background_video_start)})})}},{key:"prepareYTVideo",value:function prepareYTVideo(e,t){var n=this,i=this.elements.$backgroundVideoContainer,r=this.getElementSettings(),o=e.PlayerState.PLAYING;window.chrome&&(o=e.PlayerState.UNSTARTED),i.addClass("elementor-loading elementor-invisible"),this.player=new e.Player(this.elements.$backgroundVideoEmbed[0],{videoId:t,events:{onReady:function onReady(){n.player.mute(),n.changeVideoSize(),n.startVideoLoop(!0),n.player.playVideo()},onStateChange:function onStateChange(t){switch(t.data){case o:i.removeClass("elementor-invisible elementor-loading");break;case e.PlayerState.ENDED:n.player.seekTo(r.background_video_start||0),r.background_play_once&&n.player.destroy()}}},playerVars:{controls:0,rel:0,playsinline:1}})}},{key:"activate",value:function activate(){var e,t=this,n=this.getElementSettings("background_video_link"),i=this.getElementSettings("background_play_once");if(-1!==n.indexOf("vimeo.com")?(this.videoType="vimeo",this.apiProvider=elementorFrontend.utils.vimeo):n.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)&&(this.videoType="youtube",this.apiProvider=elementorFrontend.utils.youtube),this.apiProvider)e=this.apiProvider.getVideoIDFromURL(n),this.apiProvider.onApiReady(function(n){"youtube"===t.videoType&&t.prepareYTVideo(n,e),"vimeo"===t.videoType&&t.prepareVimeoVideo(n,e)});else{this.videoType="hosted";var r=this.getElementSettings("background_video_start"),o=this.getElementSettings("background_video_end");(r||o)&&(n+="#t="+(r||0)+(o?","+o:"")),this.elements.$backgroundVideoHosted.attr("src",n).one("canplay",this.changeVideoSize.bind(this)),i&&this.elements.$backgroundVideoHosted.on("ended",function(){t.elements.$backgroundVideoHosted.hide()})}elementorFrontend.elements.$window.on("resize",this.changeVideoSize)}},{key:"deactivate",value:function deactivate(){"youtube"===this.videoType&&this.player.getIframe()||"vimeo"===this.videoType?this.player.destroy():this.elements.$backgroundVideoHosted.removeAttr("src").off("ended"),elementorFrontend.elements.$window.off("resize",this.changeVideoSize)}},{key:"run",value:function run(){var e=this.getElementSettings();(e.background_play_on_mobile||"mobile"!==elementorFrontend.getCurrentDeviceMode())&&("video"===e.background_background&&e.background_video_link?this.activate():this.deactivate())}},{key:"onInit",value:function onInit(){for(var e,t=arguments.length,n=new Array(t),i=0;i .elementor-element-overlay > .elementor-editor-section-settings");t<25?(this.$element.addClass("elementor-section--handles-inside"),t<-5?n.css("top",-t):n.css("top","")):this.$element.removeClass("elementor-section--handles-inside")}}},{key:"onInit",value:function onInit(){this.setHandlesPosition(),this.$element.on("mouseenter",this.setHandlesPosition.bind(this))}}]),HandlesPosition}(elementorModules.frontend.handlers.Base);t.default=u},function(e,t,n){"use strict";var i=n(0);n(1)(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(2)),o=i(n(3)),a=i(n(5)),s=i(n(4)),l=i(n(28)),u=i(n(6)),c=function(e){function StretchedSection(){return(0,r.default)(this,StretchedSection),(0,a.default)(this,(0,s.default)(StretchedSection).apply(this,arguments))}return(0,u.default)(StretchedSection,e),(0,o.default)(StretchedSection,[{key:"bindEvents",value:function bindEvents(){var e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element)}},{key:"unbindEvents",value:function unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch)}},{key:"initStretch",value:function initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement({element:this.$element,selectors:{container:this.getStretchContainer()}})}},{key:"getStretchContainer",value:function getStretchContainer(){return elementorFrontend.getGeneralSettings("elementor_stretched_section_container")||window}},{key:"stretch",value:function stretch(){this.getElementSettings("stretch_section")&&this.stretchElement.stretch()}},{key:"onInit",value:function onInit(){var e;this.initStretch();for(var t=arguments.length,n=new Array(t),i=0;i .elementor-shape-%s"},svgURL:elementorFrontend.config.urls.assets+"shapes/"}}},{key:"getDefaultElements",value:function getDefaultElements(){var e={},t=this.getSettings("selectors");return e.$topContainer=this.$element.find(t.container.replace("%s","top")),e.$bottomContainer=this.$element.find(t.container.replace("%s","bottom")),e}},{key:"getSvgURL",value:function getSvgURL(e,t){var n=this.getSettings("svgURL")+t+".svg";return elementor.config.additional_shapes&&e in elementor.config.additional_shapes&&(n=elementor.config.additional_shapes[e],-10&&(r-=o.height()),a.length>0&&(r-=Math.max.apply(null,a.map(function(){return jQuery(this).outerHeight()}).get())),e.preventDefault(),r=elementorFrontend.hooks.applyFilters("frontend/handlers/menu_anchor/scroll_top_distance",r),this.elements.$scrollable.animate({scrollTop:r},this.getSettings("scrollDuration"),"linear")}}},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.bindEvents()}})},function(e,t,n){"use strict";n(15),n(161),n(86),n(48),e.exports=elementorModules.ViewModule.extend({oldAspectRatio:null,oldAnimation:null,swiper:null,player:null,getDefaultSettings:function getDefaultSettings(){return{classes:{aspectRatio:"elementor-aspect-ratio-%s",item:"elementor-lightbox-item",image:"elementor-lightbox-image",videoContainer:"elementor-video-container",videoWrapper:"elementor-fit-aspect-ratio",playButton:"elementor-custom-embed-play",playButtonIcon:"fa",playing:"elementor-playing",hidden:"elementor-hidden",invisible:"elementor-invisible",preventClose:"elementor-lightbox-prevent-close",slideshow:{container:"swiper-container",slidesWrapper:"swiper-wrapper",prevButton:"elementor-swiper-button elementor-swiper-button-prev",nextButton:"elementor-swiper-button elementor-swiper-button-next",prevButtonIcon:"eicon-chevron-left",nextButtonIcon:"eicon-chevron-right",slide:"swiper-slide"}},selectors:{links:"a, [data-elementor-lightbox]",slideshow:{activeSlide:".swiper-slide-active",prevSlide:".swiper-slide-prev",nextSlide:".swiper-slide-next"}},modalOptions:{id:"elementor-lightbox",entranceAnimation:"zoomIn",videoAspectRatio:169,position:{enable:!1}}}},getModal:function getModal(){return e.exports.modal||this.initModal(),e.exports.modal},initModal:function initModal(){var t=e.exports.modal=elementorFrontend.getDialogsManager().createWidget("lightbox",{className:"elementor-lightbox",closeButton:!0,closeButtonClass:"eicon-close",selectors:{preventClose:"."+this.getSettings("classes.preventClose")},hide:{onClick:!0}});t.on("hide",function(){t.setMessage("")})},showModal:function showModal(e){var t=this,n=t.getDefaultSettings().modalOptions;t.setSettings("modalOptions",jQuery.extend(n,e.modalOptions));var i=t.getModal();switch(i.setID(t.getSettings("modalOptions.id")),i.onShow=function(){DialogsManager.getWidgetType("lightbox").prototype.onShow.apply(i,arguments),t.setEntranceAnimation()},i.onHide=function(){DialogsManager.getWidgetType("lightbox").prototype.onHide.apply(i,arguments),i.getElements("message").removeClass("animated")},e.type){case"image":t.setImageContent(e.url);break;case"video":t.setVideoContent(e);break;case"slideshow":t.setSlideshowContent(e.slideshow);break;default:t.setHTMLContent(e.html)}i.show()},setHTMLContent:function setHTMLContent(e){this.getModal().setMessage(e)},setImageContent:function setImageContent(e){var t=this.getSettings("classes"),n=jQuery("",{class:t.item}),i=jQuery("
",{src:e,class:t.image});n.append(i),this.getModal().setMessage(n)},setVideoContent:function setVideoContent(e){var t,n=this.getSettings("classes"),i=jQuery("
",{class:"".concat(n.videoContainer," ").concat(n.preventClose)}),r=jQuery("
",{class:n.videoWrapper}),o=this.getModal();if("hosted"===e.videoType){var a=jQuery.extend({src:e.url,autoplay:""},e.videoParams);t=jQuery("