text: /*! elementor - v3.4.8 - 16-11-2021 */
  (self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[723],{3896:(e,t,i)=>{"use strict";var s=i(7914)(i(3251));e.exports=elementorModules.ViewModule.extend({oldAspectRatio:null,oldAnimation:null,swiper:null,player:null,getDefaultSettings:function(){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",header:"elementor-slideshow__header",footer:"elementor-slideshow__footer",title:"elementor-slideshow__title",description:"elementor-slideshow__description",counter:"elementor-slideshow__counter",iconExpand:"eicon-frame-expand",iconShrink:"eicon-frame-minimize",iconZoomIn:"eicon-zoom-in-bold",iconZoomOut:"eicon-zoom-out-bold",iconShare:"eicon-share-arrow",shareMenu:"elementor-slideshow__share-menu",shareLinks:"elementor-slideshow__share-links",hideUiVisibility:"elementor-slideshow--ui-hidden",shareMode:"elementor-slideshow--share-mode",fullscreenMode:"elementor-slideshow--fullscreen-mode",zoomMode:"elementor-slideshow--zoom-mode"}},selectors:{image:".elementor-lightbox-image",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(){return e.exports.modal||this.initModal(),e.exports.modal},initModal:function(){const t=e.exports.modal=elementorFrontend.getDialogsManager().createWidget("lightbox",{className:"elementor-lightbox",closeButton:!0,closeButtonOptions:{iconClass:"eicon-close",attributes:{tabindex:0,role:"button","aria-label":elementorFrontend.config.i18n.close+" (Esc)"}},selectors:{preventClose:"."+this.getSettings("classes.preventClose")},hide:{onClick:!0}});t.on("hide",(function(){t.setMessage("")}))},showModal:function(e){if(e.url&&!e.url.startsWith("http"))return;this.elements.$closeButton=this.getModal().getElements("closeButton"),this.$buttons=this.elements.$closeButton,this.focusedButton=null;const t=this,i=t.getDefaultSettings().modalOptions;t.id=e.id,t.setSettings("modalOptions",jQuery.extend(i,e.modalOptions));const n=t.getModal();switch(n.setID(t.getSettings("modalOptions.id")),n.onShow=function(){DialogsManager.getWidgetType("lightbox").prototype.onShow.apply(n,arguments),t.setEntranceAnimation()},n.onHide=function(){DialogsManager.getWidgetType("lightbox").prototype.onHide.apply(n,arguments),n.getElements("message").removeClass("animated"),s.default.isFullscreen&&t.deactivateFullscreen(),t.unbindHotKeys()},e.type){case"video":t.setVideoContent(e);break;case"image":const i=[{image:e.url,index:0,title:e.title,description:e.description}];e.slideshow={slides:i,swiper:{loop:!1,pagination:!1}};case"slideshow":t.setSlideshowContent(e.slideshow);break;default:t.setHTMLContent(e.html)}n.show()},createLightbox:function(e){let t={};if(e.dataset.elementorLightbox&&(t=JSON.parse(e.dataset.elementorLightbox)),t.type&&"slideshow"!==t.type)return void this.showModal(t);if(!e.dataset.elementorLightboxSlideshow){const t="single-img";return void this.showModal({type:"image",id:t,url:e.href,title:e.dataset.elementorLightboxTitle,description:e.dataset.elementorLightboxDescription,modalOptions:{id:"elementor-lightbox-slideshow-"+t}})}const i=e.dataset.elementorLightboxVideo||e.href;this.openSlideshow(e.dataset.elementorLightboxSlideshow,i)},setHTMLContent:function(e){window.elementorCommon&&elementorCommon.helpers.hardDeprecated("elementorFrontend.utils.lightbox.setHTMLContent","3.1.4"),this.getModal().setMessage(e)},setVideoContent:function(e){const t=jQuery,i=this.getSettings("classes"),s=t("<div>",{class:`${i.videoContainer} ${i.preventClose}`}),n=t("<div>",{class:i.videoWrapper}),o=this.getModal();let l;if("hosted"===e.videoType){const i=t.extend({src:e.url,autoplay:""},e.videoParams);l=t("<video>",i)}else{let i=elementorFrontend.utils.baseVideoLoader;-1!==e.url.indexOf("vimeo.com")?i=elementorFrontend.utils.vimeo:e.url.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)&&(i=elementorFrontend.utils.youtube),l=t("<iframe>",{src:i.getAutoplayURL(e.url),allowfullscreen:1})}s.append(n),n.append(l),o.setMessage(s),this.setVideoAspectRatio();const a=o.onHide;o.onHide=function(){a(),this.$buttons=jQuery(),this.focusedButton=null,o.getElements("message").removeClass("elementor-fit-aspect-ratio")}},getShareLinks:function(){const{i18n:e}=elementorFrontend.config,t={facebook:e.shareOnFacebook,twitter:e.shareOnTwitter,pinterest:e.pinIt},i=jQuery,s=this.getSettings("classes"),n=this.getSettings("selectors"),o=i("<div>",{class:s.slideshow.shareLinks}),l=this.getSlide("active"),a=l.find(n.image),r=l.data("elementor-slideshow-video");let d;return d=r||a.attr("src"),i.each(t,((e,t)=>{const s=i("<a>",{href:this.createShareLink(e,d),target:"_blank"}).text(t);s.prepend(i("<i>",{class:"eicon-"+e})),o.append(s)})),r||o.append(i("<a>",{href:d,download:""}).text(e.downloadImage).prepend(i("<i>",{class:"eicon-download-bold","aria-label":e.download}))),o},createShareLink:function(e,t){const i={};if("pinterest"===e)i.image=encodeURIComponent(t);else{const e=elementorFrontend.utils.urlActions.createActionHash("lightbox",{id:this.id,url:t});i.url=encodeURIComponent(location.href.replace(/#.*/,""))+e}return ShareLink.getNetworkLink(e,i)},getSlideshowHeader:function(){const{i18n:e}=elementorFrontend.config,t=jQuery,i="yes"===elementorFrontend.getKitSettings("lightbox_enable_counter"),s="yes"===elementorFrontend.getKitSettings("lightbox_enable_fullscreen"),n="yes"===elementorFrontend.getKitSettings("lightbox_enable_zoom"),o="yes"===elementorFrontend.getKitSettings("lightbox_enable_share"),l=this.getSettings("classes"),a=l.slideshow,r=this.elements;if(i||s||n||o){if(r.$header=t("<header>",{class:a.header+" "+l.preventClose}),o){r.$iconShare=t("<i>",{class:a.iconShare,role:"button","aria-label":e.share,"aria-expanded":!1}).append(t("<span>"));const i=t("<div>");i.on("click",(e=>{e.stopPropagation()})),r.$shareMenu=t("<div>",{class:a.shareMenu}).append(i),r.$iconShare.add(r.$shareMenu).on("click",this.toggleShareMenu),r.$header.append(r.$iconShare,r.$shareMenu),this.$buttons=this.$buttons.add(r.$iconShare)}return n&&(r.$iconZoom=t("<i>",{class:a.iconZoomIn,role:"switch","aria-checked":!1,"aria-label":e.zoom}),r.$iconZoom.on("click",this.toggleZoomMode),r.$header.append(r.$iconZoom),this.$buttons=this.$buttons.add(r.$iconZoom)),s&&(r.$iconExpand=t("<i>",{class:a.iconExpand,role:"switch","aria-checked":!1,"aria-label":e.fullscreen}).append(t("<span>"),t("<span>")),r.$iconExpand.on("click",this.toggleFullscreen),r.$header.append(r.$iconExpand),this.$buttons=this.$buttons.add(r.$iconExpand)),i&&(r.$counter=t("<span>",{class:a.counter}),r.$header.append(r.$counter)),r.$header}},toggleFullscreen:function(){s.default.isFullscreen?this.deactivateFullscreen():s.default.isEnabled&&this.activateFullscreen()},toggleZoomMode:function(){1!==this.swiper.zoom.scale?this.deactivateZoom():this.activateZoom()},toggleShareMenu:function(){this.shareMode?this.deactivateShareMode():(this.elements.$shareMenu.html(this.getShareLinks()),this.activateShareMode())},activateShareMode:function(){const e=this.getSettings("classes");this.elements.$container.addClass(e.slideshow.shareMode),this.elements.$iconShare.attr("aria-expanded",!0),this.swiper.detachEvents(),this.$originalButtons=this.$buttons,this.$buttons=this.elements.$iconShare.add(this.elements.$shareMenu.find("a")),this.shareMode=!0},deactivateShareMode:function(){const e=this.getSettings("classes");this.elements.$container.removeClass(e.slideshow.shareMode),this.elements.$iconShare.attr("aria-expanded",!1),this.swiper.attachEvents(),this.$buttons=this.$originalButtons,this.shareMode=!1},activateFullscreen:function(){const e=this.getSettings("classes");s.default.request(this.elements.$container.parents(".dialog-widget")[0]),this.elements.$iconExpand.removeClass(e.slideshow.iconExpand).addClass(e.slideshow.iconShrink).attr("aria-checked","true"),this.elements.$container.addClass(e.slideshow.fullscreenMode)},deactivateFullscreen:function(){const e=this.getSettings("classes");s.default.exit(),this.elements.$iconExpand.removeClass(e.slideshow.iconShrink).addClass(e.slideshow.iconExpand).attr("aria-checked","false"),this.elements.$container.removeClass(e.slideshow.fullscreenMode)},activateZoom:function(){const e=this.swiper,t=this.elements,i=this.getSettings("classes");e.zoom.in(),e.allowSlideNext=!1,e.allowSlidePrev=!1,e.allowTouchMove=!1,t.$container.addClass(i.slideshow.zoomMode),t.$iconZoom.removeClass(i.slideshow.iconZoomIn).addClass(i.slideshow.iconZoomOut)},deactivateZoom:function(){const e=this.swiper,t=this.elements,i=this.getSettings("classes");e.zoom.out(),e.allowSlideNext=!0,e.allowSlidePrev=!0,e.allowTouchMove=!0,t.$container.removeClass(i.slideshow.zoomMode),t.$iconZoom.removeClass(i.slideshow.iconZoomOut).addClass(i.slideshow.iconZoomIn)},getSlideshowFooter:function(){const e=jQuery,t=this.getSettings("classes"),i=e("<footer>",{class:t.slideshow.footer+" "+t.preventClose}),s=e("<div>",{class:t.slideshow.title}),n=e("<div>",{class:t.slideshow.description});return i.append(s,n),i},setSlideshowContent:function(e){const{i18n:t}=elementorFrontend.config,i=jQuery,s=1===e.slides.length,n=""!==elementorFrontend.getKitSettings("lightbox_title_src"),o=""!==elementorFrontend.getKitSettings("lightbox_description_src"),l=n||o,a=this.getSettings("classes"),r=a.slideshow,d=i("<div>",{class:r.container}),c=i("<div>",{class:r.slidesWrapper});let h,u;e.slides.forEach((e=>{let s=r.slide+" "+a.item;e.video&&(s+=" "+a.video);const n=i("<div>",{class:s});if(e.video){n.attr("data-elementor-slideshow-video",e.video);const s=i("<div>",{class:a.playButton}).html(i("<i>",{class:a.playButtonIcon,"aria-label":t.playVideo}));n.append(s)}else{const t=i("<div>",{class:"swiper-zoom-container"}),s=i('<div class="swiper-lazy-preloader"></div>'),o={"data-src":e.image,class:a.image+" "+a.preventClose+" swiper-lazy"};e.title&&(o["data-title"]=e.title,o.alt=e.title),e.description&&(o["data-description"]=e.description,o.alt+=" - "+e.description);const l=i("<img>",o);t.append([l,s]),n.append(t)}c.append(n)})),this.elements.$container=d,this.elements.$header=this.getSlideshowHeader(),d.prepend(this.elements.$header).append(c),s||(h=i("<div>",{class:r.prevButton+" "+a.preventClose,"aria-label":t.previous}).html(i("<i>",{class:r.prevButtonIcon})),u=i("<div>",{class:r.nextButton+" "+a.preventClose,"aria-label":t.next}).html(i("<i>",{class:r.nextButtonIcon})),d.append(u,h),this.$buttons=this.$buttons.add(u).add(h)),l&&(this.elements.$footer=this.getSlideshowFooter(),d.append(this.elements.$footer)),this.setSettings("hideUiTimeout",""),d.on("click mousemove keypress",this.showLightboxUi);const m=this.getModal();m.setMessage(d);const p=m.onShow;m.onShow=async()=>{p();const t={pagination:{el:"."+r.counter,type:"fraction"},on:{slideChangeTransitionEnd:this.onSlideChange},lazy:{loadPrevNext:!0},zoom:!0,spaceBetween:100,grabCursor:!0,runCallbacksOnInit:!1,loop:!0,keyboard:!0,handleElementorBreakpoints:!0};s||(t.navigation={prevEl:h,nextEl:u}),e.swiper&&i.extend(t,e.swiper);const n=elementorFrontend.utils.swiper;this.swiper=await new n(d,t),d.data("swiper",this.swiper),this.setVideoAspectRatio(),this.playSlideVideo(),l&&this.updateFooterText(),this.bindHotKeys(),this.makeButtonsAccessible()}},makeButtonsAccessible:function(){this.$buttons.attr("tabindex",0).on("keypress",(e=>{13!==e.which&&32!==e.which||jQuery(e.currentTarget).trigger("click")}))},showLightboxUi:function(){const e=this.getSettings("classes").slideshow;this.elements.$container.removeClass(e.hideUiVisibility),clearTimeout(this.getSettings("hideUiTimeout")),this.setSettings("hideUiTimeout",setTimeout((()=>{this.shareMode||this.elements.$container.addClass(e.hideUiVisibility)}),3500))},bindHotKeys:function(){this.getModal().getElements("window").on("keydown",this.activeKeyDown)},unbindHotKeys:function(){this.getModal().getElements("window").off("keydown",this.activeKeyDown)},activeKeyDown:function(e){this.showLightboxUi();if(9===e.which){const t=this.$buttons;let i,s=!1,n=!1;t.each((e=>{const o=t[e];if(jQuery(o).is(":focus"))return i=o,s=0===e,n=t.length-1===e,!1})),e.shiftKey?s&&(e.preventDefault(),t.last().trigger("focus")):!n&&i||(e.preventDefault(),t.first().trigger("focus"))}},setVideoAspectRatio:function(e){e=e||this.getSettings("modalOptions.videoAspectRatio");const t=this.getModal().getElements("widgetContent"),i=this.oldAspectRatio,s=this.getSettings("classes.aspectRatio");this.oldAspectRatio=e,i&&t.removeClass(s.replace("%s",i)),e&&t.addClass(s.replace("%s",e))},getSlide:function(e){return jQuery(this.swiper.slides).filter(this.getSettings("selectors.slideshow."+e+"Slide"))},updateFooterText:function(){if(!this.elements.$footer)return;const e=this.getSettings("classes"),t=this.getSlide("active").find(".elementor-lightbox-image"),i=t.data("title"),s=t.data("description"),n=this.elements.$footer.find("."+e.slideshow.title),o=this.elements.$footer.find("."+e.slideshow.description);n.text(i||""),o.text(s||"")},playSlideVideo:function(){const e=this.getSlide("active"),t=e.data("elementor-slideshow-video");if(!t)return;const i=this.getSettings("classes"),s=jQuery("<div>",{class:i.videoContainer+" "+i.invisible}),n=jQuery("<div>",{class:i.videoWrapper}),o=e.children("."+i.playButton);let l,a;s.append(n),e.append(s),-1!==t.indexOf("vimeo.com")?(l="vimeo",a=elementorFrontend.utils.vimeo):t.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)&&(l="youtube",a=elementorFrontend.utils.youtube);const r=a.getVideoIDFromURL(t);a.onApiReady((e=>{"youtube"===l?this.prepareYTVideo(e,r,s,n,o):"vimeo"===l&&this.prepareVimeoVideo(e,t,s,n,o)})),o.addClass(i.playing).removeClass(i.hidden)},prepareYTVideo:function(e,t,i,s,n){const o=this.getSettings("classes"),l=jQuery("<div>");let a=e.PlayerState.PLAYING;s.append(l),window.chrome&&(a=e.PlayerState.UNSTARTED),i.addClass("elementor-loading "+o.invisible),this.player=new e.Player(l[0],{videoId:t,events:{onReady:()=>{n.addClass(o.hidden),i.removeClass(o.invisible),this.player.playVideo()},onStateChange:e=>{e.data===a&&i.removeClass("elementor-loading "+o.invisible)}},playerVars:{controls:0,rel:0}})},prepareVimeoVideo:function(e,t,i,s,n){const o=this.getSettings("classes"),l={url:t,autoplay:!0,transparent:!1,playsinline:!1};this.player=new e.Player(s,l),this.player.ready().then((()=>{n.addClass(o.hidden),i.removeClass(o.invisible)}))},setEntranceAnimation:function(e){e=e||elementorFrontend.getCurrentDeviceSetting(this.getSettings("modalOptions"),"entranceAnimation");const t=this.getModal().getElements("message");this.oldAnimation&&t.removeClass(this.oldAnimation),this.oldAnimation=e,e&&t.addClass("animated "+e)},openSlideshow:function(e,t){const i=jQuery(this.getSettings("selectors.links")).filter(((t,i)=>{const s=jQuery(i);return e===i.dataset.elementorLightboxSlideshow&&!s.parent(".swiper-slide-duplicate").length&&!s.parents(".slick-cloned").length})),s=[];let n=0;i.each((function(){const e=this.dataset.elementorLightboxVideo;let o=this.dataset.elementorLightboxIndex;void 0===o&&(o=i.index(this)),(t===this.href||e&&t===e)&&(n=o);const l={image:this.href,index:o,title:this.dataset.elementorLightboxTitle,description:this.dataset.elementorLightboxDescription};e&&(l.video=e),s.push(l)})),s.sort(((e,t)=>e.index-t.index)),this.showModal({type:"slideshow",id:e,modalOptions:{id:"elementor-lightbox-slideshow-"+e},slideshow:{slides:s,swiper:{initialSlide:+n}}})},onSlideChange:function(){this.getSlide("prev").add(this.getSlide("next")).add(this.getSlide("active")).find("."+this.getSettings("classes.videoWrapper")).remove(),this.playSlideVideo(),this.updateFooterText()}})},3251:e=>{"use strict";var t,i,s,n,o;t="undefined"!=typeof window&&void 0!==window.document?window.document:{},i=e.exports,s=function(){for(var e,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],s=0,n=i.length,o={};s<n;s++)if((e=i[s])&&e[1]in t){var l=e.length;for(s=0;s<l;s++)o[i[0][s]]=e[s];return o}return!1}(),n={change:s.fullscreenchange,error:s.fullscreenerror},o={request:function(e){return new Promise(function(i,n){var o=function(){this.off("change",o),i()}.bind(this);this.on("change",o),e=e||t.documentElement,Promise.resolve(e[s.requestFullscreen]()).catch(n)}.bind(this))},exit:function(){return new Promise(function(e,i){if(this.isFullscreen){var n=function(){this.off("change",n),e()}.bind(this);this.on("change",n),Promise.resolve(t[s.exitFullscreen]()).catch(i)}else e()}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,i){var s=n[e];s&&t.addEventListener(s,i,!1)},off:function(e,i){var s=n[e];s&&t.removeEventListener(s,i,!1)},raw:s},s?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[s.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[s.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[s.fullscreenEnabled])}}}),i?e.exports=o:window.screenfull=o):i?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}}]);