%PDF-
%PDF-
Mini Shell
Mini Shell
/*! elementor - v2.1.6 - 31-07-2018 */
!function r(s,a,l){function d(t,e){if(!a[t]){if(!s[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(c)return c(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var o=a[t]={exports:{}};s[t][0].call(o.exports,function(e){return d(s[t][1][e]||e)},o,o.exports,r,s,a,l)}return a[t].exports}for(var c="function"==typeof require&&require,e=0;e<l.length;e++)d(l[e]);return d}({1:[function(i,e,t){var n;n=function(n){var e=this,t={section:i("elementor-frontend/handlers/section"),"accordion.default":i("elementor-frontend/handlers/accordion"),"alert.default":i("elementor-frontend/handlers/alert"),"counter.default":i("elementor-frontend/handlers/counter"),"progress.default":i("elementor-frontend/handlers/progress"),"tabs.default":i("elementor-frontend/handlers/tabs"),"toggle.default":i("elementor-frontend/handlers/toggle"),"video.default":i("elementor-frontend/handlers/video"),"image-carousel.default":i("elementor-frontend/handlers/image-carousel"),"text-editor.default":i("elementor-frontend/handlers/text-editor")};this.initHandlers=function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",i("elementor-frontend/handlers/global")),n.each(t,function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)}),(elementorFrontend.isEditMode()?jQuery(".elementor-element",".elementor:not(.elementor-edit-mode)"):n(".elementor-element")).each(function(){e.runReadyTrigger(n(this))})},this.getHandlers=function(e){return e?t[e]:t},this.runReadyTrigger=function(e){var t=e.attr("data-element_type");t&&(e=jQuery(e),elementorFrontend.hooks.doAction("frontend/element_ready/global",e,n),-1===["section","column"].indexOf(t)&&elementorFrontend.hooks.doAction("frontend/element_ready/widget",e,n),elementorFrontend.hooks.doAction("frontend/element_ready/"+t,e,n))},elementorFrontend.isEditMode()||e.initHandlers()},e.exports=n},{"elementor-frontend/handlers/accordion":4,"elementor-frontend/handlers/alert":5,"elementor-frontend/handlers/counter":7,"elementor-frontend/handlers/global":8,"elementor-frontend/handlers/image-carousel":9,"elementor-frontend/handlers/progress":10,"elementor-frontend/handlers/section":11,"elementor-frontend/handlers/tabs":12,"elementor-frontend/handlers/text-editor":13,"elementor-frontend/handlers/toggle":14,"elementor-frontend/handlers/video":15}],2:[function(i,e,t){var o,s,a,l,d,c,u,h;o=jQuery,s={},a=i("../utils/hooks"),l=i("./handler-module"),d=i("elementor-frontend/elements-handler"),c=i("elementor-frontend/utils/youtube"),u=i("elementor-frontend/utils/anchors"),h=i("elementor-frontend/utils/lightbox"),window.elementorFrontend=new function(){var e,r=this;this.config=elementorFrontendConfig,this.Module=l;var t=function(){s.$body.attr("data-elementor-device-mode",r.getCurrentDeviceMode())},n=function(e,t){var n=r.isEditMode()?elementor.settings[e].model.attributes:r.config.settings[e];return t?n[t]:n};this.init=function(){r.hooks=new a,s.window=window,s.$window=o(window),s.$document=o(document),s.$body=o("body"),s.$elementor=s.$document.find(".elementor"),s.$wpAdminBar=s.$document.find("#wpadminbar"),s.$window.on("resize",t),t(),s.$window.trigger("elementor/frontend/init"),r.isEditMode()||(r.hotKeys=i("elementor-utils/hot-keys"),r.hotKeys.bindListener(s.$window)),r.utils={youtube:new c,anchors:new u,lightbox:new h},r.modules={StretchElement:i("elementor-frontend/modules/stretch-element"),Masonry:i("elementor-utils/masonry")},r.elementsHandler=new d(o)},this.getElements=function(e){return e?s[e]:s},this.getDialogsManager=function(){return e||(e=new DialogsManager.Instance),e},this.getPageSettings=function(e){return n("page",e)},this.getGeneralSettings=function(e){return n("general",e)},this.isEditMode=function(){return r.config.isEditMode},this.throttle=function(n,i){var o,r,s,a,l=0,d=function(){l=Date.now(),o=null,a=n.apply(r,s),o||(r=s=null)};return function(){var e=Date.now(),t=i-(e-l);return r=this,s=arguments,t<=0||i<t?(o&&(clearTimeout(o),o=null),l=e,a=n.apply(r,s),o||(r=s=null)):o||(o=setTimeout(d,t)),a}},this.addListenerOnce=function(e,t,n,i){if(i||(i=r.getElements("$window")),r.isEditMode())if(this.removeListeners(e,t,i),i instanceof jQuery){var o=t+"."+e;i.on(o,n)}else i.on(t,n,e);else i.on(t,n)},this.removeListeners=function(e,t,n,i){if(i||(i=r.getElements("$window")),i instanceof jQuery){var o=t+"."+e;i.off(o,n)}else i.off(t,n,e)},this.getCurrentDeviceMode=function(){return getComputedStyle(s.$elementor[0],":after").content.replace(/"/g,"")},this.waypoint=function(e,n,i){return i=o.extend({offset:"100%",triggerOnce:!0},i),e.elementorWaypoint(function(){var e=this.element||this,t=n.apply(e,arguments);return i.triggerOnce&&this.destroy&&this.destroy(),t},i)}},elementorFrontend.isEditMode()||jQuery(elementorFrontend.init)},{"../utils/hooks":20,"./handler-module":3,"elementor-frontend/elements-handler":1,"elementor-frontend/modules/stretch-element":16,"elementor-frontend/utils/anchors":17,"elementor-frontend/utils/lightbox":18,"elementor-frontend/utils/youtube":19,"elementor-utils/hot-keys":21,"elementor-utils/masonry":22}],3:[function(e,t,n){var i;i=e("../utils/view-module").extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onGeneralSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct:function(e){this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners()},findElement:function(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).closest(".elementor-element").is(t)})},getUniqueHandlerID:function(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners:function(){var n=this;if(n.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback:function(e){e.cid===n.getModelCID()&&n.onDestroy()}}],n.onElementChange){var e=n.getElementName(),t="change";"global"!==e&&(t+=":"+e),n.editorListeners.push({event:t,to:elementor.channels.editor,callback:function(e,t){n.getUniqueHandlerID(t.model.cid,t.$el)===n.getUniqueHandlerID()&&n.onElementChange(e.model.get("name"),e,t)}})}n.onEditSettingsChange&&n.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback:function(e,t){t.model.cid===n.getModelCID()&&n.onEditSettingsChange(Object.keys(e.changed)[0])}}),["page","general"].forEach(function(e){var t="on"+elementor.helpers.firstLetterUppercase(e)+"SettingsChange";n[t]&&n.editorListeners.push({event:"change",to:elementor.settings[e].model,callback:function(e){n[t](e.changed)}})})},getEditorListeners:function(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners:function(){var t=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(e){elementorFrontend.addListenerOnce(t,e.event,e.callback,e.to)})},removeEditorListeners:function(){var t=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(e){elementorFrontend.removeListeners(t,e.event,null,e.to)})},getElementName:function(){return this.$element.data("element_type").split(".")[0]},getID:function(){return this.$element.data("id")},getModelCID:function(){return this.$element.data("model-cid")},getElementSettings:function(e){var t={},n=this.getModelCID();if(this.isEdit&&n){var i=elementorFrontend.config.elements.data[n],o=elementorFrontend.config.elements.keys[i.attributes.widgetType||i.attributes.elType];jQuery.each(i.getActiveControls(),function(e){-1!==o.indexOf(e)&&(t[e]=i.attributes[e])})}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings:function(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},onDestroy:function(){this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}}),t.exports=i},{"../utils/view-module":24}],4:[function(e,t,n){var i=e("elementor-frontend/handlers/base-tabs");t.exports=function(e){new i({$element:e,showTabFn:"slideDown",hideTabFn:"slideUp"})}},{"elementor-frontend/handlers/base-tabs":6}],5:[function(e,t,n){t.exports=function(e,t){e.find(".elementor-alert-dismiss").on("click",function(){t(this).parent().fadeOut()})}},{}],6:[function(e,t,n){var i=e("elementor-frontend/handler-module");t.exports=i.extend({$activeContent:null,getDefaultSettings:function(){return{selectors:{tabTitle:".elementor-tab-title",tabContent:".elementor-tab-content"},classes:{active:"elementor-active"},showTabFn:"show",hideTabFn:"hide",toggleSelf:!0,hidePrevious:!0,autoExpand:!0}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent)}},activateDefaultTab:function(){var e=this.getSettings();if(e.autoExpand&&("editor"!==e.autoExpand||this.isEdit)){var t=this.getEditSettings("activeItemIndex")||1,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n)}},deactivateActiveTab:function(e){var t=this.getSettings(),n=t.classes.active,i=e?'[data-tab="'+e+'"]':"."+n,o=this.elements.$tabTitles.filter(i),r=this.elements.$tabContents.filter(i);o.add(r).removeClass(n),r[t.hideTabFn]()},activateTab:function(e){var t=this.getSettings(),n=t.classes.active,i=this.elements.$tabTitles.filter('[data-tab="'+e+'"]'),o=this.elements.$tabContents.filter('[data-tab="'+e+'"]');i.add(o).addClass(n),o[t.showTabFn]()},isActiveTab:function(e){return this.elements.$tabTitles.filter('[data-tab="'+e+'"]').hasClass(this.getSettings("classes.active"))},bindEvents:function(){var t=this;t.elements.$tabTitles.on("focus",function(e){t.changeActiveTab(e.currentTarget.dataset.tab)}),t.getSettings("toggleSelf")&&t.elements.$tabTitles.on("mousedown",function(e){jQuery(e.currentTarget).is(":focus")&&t.changeActiveTab(e.currentTarget.dataset.tab)})},onInit:function(){i.prototype.onInit.apply(this,arguments),this.activateDefaultTab()},onEditSettingsChange:function(e){"activeItemIndex"===e&&this.activateDefaultTab()},changeActiveTab:function(e){var t=this.isActiveTab(e),n=this.getSettings();!n.toggleSelf&&t||!n.hidePrevious||this.deactivateActiveTab(),!n.hidePrevious&&t&&this.deactivateActiveTab(e),t||this.activateTab(e)}})},{"elementor-frontend/handler-module":3}],7:[function(e,t,n){t.exports=function(e,i){elementorFrontend.waypoint(e.find(".elementor-counter-number"),function(){var e=i(this),t=e.data(),n=t.toValue.toString().match(/\.(.*)/);n&&(t.rounding=n[1].length),e.numerator(t)})}},{}],8:[function(e,t,n){var i,o=e("elementor-frontend/handler-module");i=o.extend({getElementName:function(){return"global"},animate:function(){var e=this.$element,t=this.getAnimation(),n=this.getElementSettings(),i=n._animation_delay||n.animation_delay||0;e.removeClass(t),setTimeout(function(){e.removeClass("elementor-invisible").addClass(t)},i)},getAnimation:function(){var e=this.getElementSettings();return e.animation||e._animation},onInit:function(){o.prototype.onInit.apply(this,arguments);var e=this.getAnimation();e&&(this.$element.removeClass(e),elementorFrontend.waypoint(this.$element,this.animate.bind(this)))},onElementChange:function(e){/^_?animation/.test(e)&&this.animate()}}),t.exports=function(e){new i({$element:e})}},{"elementor-frontend/handler-module":3}],9:[function(e,t,n){var i,r=e("elementor-frontend/handler-module");i=r.extend({getDefaultSettings:function(){return{selectors:{carousel:".elementor-image-carousel"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$carousel:this.$element.find(e.carousel)}},onInit:function(){r.prototype.onInit.apply(this,arguments);var e=this.getElementSettings(),t=+e.slides_to_show||3,n=1===t,i=elementorFrontend.config.breakpoints,o={slidesToShow:t,autoplay:"yes"===e.autoplay,autoplaySpeed:e.autoplay_speed,infinite:"yes"===e.infinite,pauseOnHover:"yes"===e.pause_on_hover,speed:e.speed,arrows:-1!==["arrows","both"].indexOf(e.navigation),dots:-1!==["dots","both"].indexOf(e.navigation),rtl:"rtl"===e.direction,responsive:[{breakpoint:i.lg,settings:{slidesToShow:+e.slides_to_show_tablet||(n?1:2),slidesToScroll:1}},{breakpoint:i.md,settings:{slidesToShow:+e.slides_to_show_mobile||1,slidesToScroll:1}}]};n?o.fade="fade"===e.effect:o.slidesToScroll=+e.slides_to_scroll,this.elements.$carousel.slick(o)}}),t.exports=function(e){new i({$element:e})}},{"elementor-frontend/handler-module":3}],10:[function(e,t,n){t.exports=function(e,t){elementorFrontend.waypoint(e.find(".elementor-progress-bar"),function(){var e=t(this);e.css("width",e.data("max")+"%")})}},{}],11:[function(e,t,n){var i=e("elementor-frontend/handler-module"),o=i.extend({player:null,isYTVideo:null,getDefaultSettings:function(){return{selectors:{backgroundVideoContainer:".elementor-background-video-container",backgroundVideoEmbed:".elementor-background-video-embed",backgroundVideoHosted:".elementor-background-video-hosted"}}},getDefaultElements:function(){var e=this.getSettings("selectors"),t={$backgroundVideoContainer:this.$element.find(e.backgroundVideoContainer)};return t.$backgroundVideoEmbed=t.$backgroundVideoContainer.children(e.backgroundVideoEmbed),t.$backgroundVideoHosted=t.$backgroundVideoContainer.children(e.backgroundVideoHosted),t},calcVideosSize:function(){var e=this.elements.$backgroundVideoContainer.outerWidth(),t=this.elements.$backgroundVideoContainer.outerHeight(),n="16:9".split(":"),i=n[0]/n[1],o=i<e/t;return{width:o?e:t*i,height:o?e/i:t}},changeVideoSize:function(){var e=this.isYTVideo?jQuery(this.player.getIframe()):this.elements.$backgroundVideoHosted,t=this.calcVideosSize();e.width(t.width).height(t.height)},startVideoLoop:function(){var e=this;if(e.player.getIframe().contentWindow){var t=e.getElementSettings(),n=t.background_video_start||0,i=t.background_video_end;if(e.player.seekTo(n),i)setTimeout(function(){e.startVideoLoop()},1e3*(i-n+1))}},prepareYTVideo:function(t,e){var n=this,i=n.elements.$backgroundVideoContainer,o=n.getElementSettings(),r=t.PlayerState.PLAYING;window.chrome&&(r=t.PlayerState.UNSTARTED),i.addClass("elementor-loading elementor-invisible"),n.player=new t.Player(n.elements.$backgroundVideoEmbed[0],{videoId:e,events:{onReady:function(){n.player.mute(),n.changeVideoSize(),n.startVideoLoop(),n.player.playVideo()},onStateChange:function(e){switch(e.data){case r:i.removeClass("elementor-invisible elementor-loading");break;case t.PlayerState.ENDED:n.player.seekTo(o.background_video_start||0)}}},playerVars:{controls:0,showinfo:0,rel:0}}),elementorFrontend.getElements("$window").on("resize",n.changeVideoSize)},activate:function(){var t=this,e=t.getElementSettings("background_video_link"),n=elementorFrontend.utils.youtube.getYoutubeIDFromURL(e);t.isYTVideo=!!n,n?elementorFrontend.utils.youtube.onYoutubeApiReady(function(e){setTimeout(function(){t.prepareYTVideo(e,n)},1)}):t.elements.$backgroundVideoHosted.attr("src",e).one("canplay",t.changeVideoSize)},deactivate:function(){this.isYTVideo&&this.player.getIframe()?this.player.destroy():this.elements.$backgroundVideoHosted.removeAttr("src")},run:function(){var e=this.getElementSettings();"video"===e.background_background&&e.background_video_link?this.activate():this.deactivate()},onInit:function(){i.prototype.onInit.apply(this,arguments),this.run()},onElementChange:function(e){"background_background"===e&&this.run()}}),r=i.extend({stretchElement:null,bindEvents:function(){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)},unbindEvents:function(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch)},initStretch:function(){this.stretchElement=new elementorFrontend.modules.StretchElement({element:this.$element,selectors:{container:this.getStretchContainer()}})},getStretchContainer:function(){return elementorFrontend.getGeneralSettings("elementor_stretched_section_container")||window},stretch:function(){this.getElementSettings("stretch_section")&&this.stretchElement.stretch()},onInit:function(){i.prototype.onInit.apply(this,arguments),this.initStretch(),this.stretch()},onElementChange:function(e){"stretch_section"===e&&(this.getElementSettings("stretch_section")?this.stretch():this.stretchElement.reset())},onGeneralSettingsChange:function(e){"elementor_stretched_section_container"in e&&(this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch())}}),s=i.extend({getDefaultSettings:function(){return{selectors:{container:"> .elementor-shape-%s"},svgURL:elementorFrontend.config.urls.assets+"shapes/"}},getDefaultElements:function(){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},buildSVG:function(e){var t="shape_divider_"+e,n=this.getElementSettings(t),i=this.elements["$"+e+"Container"];if(i.empty().attr("data-shape",n),n){var o=n;this.getElementSettings(t+"_negative")&&(o+="-negative");var r=this.getSettings("svgURL")+o+".svg";jQuery.get(r,function(e){i.append(e.childNodes[0])}),this.setNegative(e)}},setNegative:function(e){this.elements["$"+e+"Container"].attr("data-negative",!!this.getElementSettings("shape_divider_"+e+"_negative"))},onInit:function(){var t=this;i.prototype.onInit.apply(t,arguments),["top","bottom"].forEach(function(e){t.getElementSettings("shape_divider_"+e)&&t.buildSVG(e)})},onElementChange:function(e){var t=e.match(/^shape_divider_(top|bottom)$/);if(t)this.buildSVG(t[1]);else{var n=e.match(/^shape_divider_(top|bottom)_negative$/);n&&(this.buildSVG(n[1]),this.setNegative(n[1]))}}}),a=i.extend({isFirst:function(){return this.$element.is(".elementor-edit-mode .elementor-top-section:first")},getOffset:function(){return this.$element.offset().top},setHandlesPosition:function(){var e=this;if(e.isFirst()){var t=e.getOffset(),n=e.$element.find("> .elementor-element-overlay > .elementor-editor-section-settings"),i="elementor-section--handles-inside";t<25?(e.$element.addClass(i),t<-5?n.css("top",-t):n.css("top","")):e.$element.removeClass(i)}},onInit:function(){this.setHandlesPosition(),this.$element.on("mouseenter",this.setHandlesPosition)}});t.exports=function(e){(elementorFrontend.isEditMode()||e.hasClass("elementor-section-stretched"))&&new r({$element:e}),elementorFrontend.isEditMode()&&(new s({$element:e}),new a({$element:e})),new o({$element:e})}},{"elementor-frontend/handler-module":3}],12:[function(e,t,n){var i=e("elementor-frontend/handlers/base-tabs");t.exports=function(e){new i({$element:e,toggleSelf:!1})}},{"elementor-frontend/handlers/base-tabs":6}],13:[function(e,t,n){var i,o=e("elementor-frontend/handler-module");i=o.extend({dropCapLetter:"",getDefaultSettings:function(){return{selectors:{paragraph:"p:first"},classes:{dropCap:"elementor-drop-cap",dropCapLetter:"elementor-drop-cap-letter"}}},getDefaultElements:function(){var e=this.getSettings("selectors"),t=this.getSettings("classes"),n=jQuery("<span>",{class:t.dropCap}),i=jQuery("<span>",{class:t.dropCapLetter});return n.append(i),{$paragraph:this.$element.find(e.paragraph),$dropCap:n,$dropCapLetter:i}},getElementName:function(){return"text-editor"},wrapDropCap:function(){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],o=i.trim();if("<"!==o){this.dropCapLetter=i,this.elements.$dropCapLetter.text(o);var r=t.slice(i.length).replace(/^ */,function(e){return new Array(e.length+1).join(" ")});e.html(r).prepend(this.elements.$dropCap)}}}}else this.dropCapLetter&&(this.elements.$dropCap.remove(),this.elements.$paragraph.prepend(this.dropCapLetter),this.dropCapLetter="")},onInit:function(){o.prototype.onInit.apply(this,arguments),this.wrapDropCap()},onElementChange:function(e){"drop_cap"===e&&this.wrapDropCap()}}),t.exports=function(e){new i({$element:e})}},{"elementor-frontend/handler-module":3}],14:[function(e,t,n){var i=e("elementor-frontend/handlers/base-tabs");t.exports=function(e){new i({$element:e,showTabFn:"slideDown",hideTabFn:"slideUp",hidePrevious:!1,autoExpand:"editor"})}},{"elementor-frontend/handlers/base-tabs":6}],15:[function(e,t,n){var i,o=e("elementor-frontend/handler-module");i=o.extend({getDefaultSettings:function(){return{selectors:{imageOverlay:".elementor-custom-embed-image-overlay",video:".elementor-video",videoIframe:".elementor-video-iframe"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$imageOverlay:this.$element.find(e.imageOverlay),$video:this.$element.find(e.video),$videoIframe:this.$element.find(e.videoIframe)}},getLightBox:function(){return elementorFrontend.utils.lightbox},handleVideo:function(){this.getElementSettings("lightbox")||(this.elements.$imageOverlay.remove(),this.playVideo())},playVideo:function(){if(this.elements.$video.length)this.elements.$video[0].play();else{var e=this.elements.$videoIframe,t=e[0].src.replace("&autoplay=0","");e[0].src=t+"&autoplay=1"}},animateVideo:function(){this.getLightBox().setEntranceAnimation(this.getElementSettings("lightbox_content_animation"))},handleAspectRatio:function(){this.getLightBox().setVideoAspectRatio(this.getElementSettings("aspect_ratio"))},bindEvents:function(){this.elements.$imageOverlay.on("click",this.handleVideo)},onElementChange:function(e){if("lightbox_content_animation"!==e){var t=this.getElementSettings("lightbox");"lightbox"!==e||t?"aspect_ratio"===e&&t&&this.handleAspectRatio():this.getLightBox().getModal().hide()}else this.animateVideo()}}),t.exports=function(e){new i({$element:e})}},{"elementor-frontend/handler-module":3}],16:[function(e,t,n){var i=e("../../utils/view-module");t.exports=i.extend({getDefaultSettings:function(){return{element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window}}},getDefaultElements:function(){return{$element:jQuery(this.getSettings("element"))}},stretch:function(){var e,t=this.getSettings("selectors.container");try{e=jQuery(t)}catch(e){}e&&e.length||(e=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,i=e.outerWidth(),o=n.offset().left,r="fixed"===n.css("position"),s=r?0:o;if(window!==e[0]){var a=e.offset().left;r?s=a:a<o&&(s=o-a)}r||(elementorFrontend.config.is_rtl&&(s=i-(n.outerWidth()+s)),s=-s);var l={};l.width=i+"px",l[this.getSettings("direction")]=s+"px",n.css(l)},reset:function(){var e={width:""};e[this.getSettings("direction")]="",this.elements.$element.css(e)}})},{"../../utils/view-module":24}],17:[function(e,t,n){var i=e("../../utils/view-module");t.exports=i.extend({getDefaultSettings:function(){return{scrollDuration:500,selectors:{links:'a[href*="#"]',targets:".elementor-element, .elementor-menu-anchor",scrollable:"html, body"}}},getDefaultElements:function(){return{$scrollable:jQuery(this.getSettings("selectors").scrollable)}},bindEvents:function(){elementorFrontend.getElements("$document").on("click",this.getSettings("selectors.links"),this.handleAnchorLinks)},handleAnchorLinks:function(e){var t=e.currentTarget,n=location.pathname===t.pathname;if(location.hostname===t.hostname&&n&&!(t.hash.length<2)){var i=jQuery(t.hash).filter(this.getSettings("selectors.targets"));if(i.length){var o=i.offset().top,r=elementorFrontend.getElements("$wpAdminBar"),s=jQuery(".elementor-sticky--active");0<r.length&&(o-=r.height()),0<s.length&&(o-=Math.max.apply(null,s.map(function(){return jQuery(this).outerHeight()}).get())),e.preventDefault(),o=elementorFrontend.hooks.applyFilters("frontend/handlers/menu_anchor/scroll_top_distance",o),this.elements.$scrollable.animate({scrollTop:o},this.getSettings("scrollDuration"),"linear")}}},onInit:function(){i.prototype.onInit.apply(this,arguments),this.bindEvents()}})},{"../../utils/view-module":24}],18:[function(e,t,n){var i,o=e("../../utils/view-module");i=o.extend({oldAspectRatio:null,oldAnimation:null,swiper: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"}},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(){return i.modal||this.initModal(),i.modal},initModal:function(){var e=i.modal=elementorFrontend.getDialogsManager().createWidget("lightbox",{className:"elementor-lightbox",closeButton:!0,closeButtonClass:"eicon-close",selectors:{preventClose:"."+this.getSettings("classes.preventClose")},hide:{onClick:!0}});e.on("hide",function(){e.setMessage("")})},showModal:function(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),setTimeout(function(){t.setEntranceAnimation()},10)},i.onHide=function(){DialogsManager.getWidgetType("lightbox").prototype.onHide.apply(i,arguments),i.getElements("widgetContent").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(e){this.getModal().setMessage(e)},setImageContent:function(e){var t=this.getSettings("classes"),n=jQuery("<div>",{class:t.item}),i=jQuery("<img>",{src:e,class:t.image+" "+t.preventClose});n.append(i),this.getModal().setMessage(n)},setVideoContent:function(e){var t,n=this.getSettings("classes"),i=jQuery("<div>",{class:n.videoContainer}),o=jQuery("<div>",{class:n.videoWrapper}),r=this.getModal();if("hosted"===e.videoType){var s={src:e.url,autoplay:""};e.videoParams.forEach(function(e){s[e]=""}),t=jQuery("<video>",s)}else{var a=e.url.replace("&autoplay=0","")+"&autoplay=1";t=jQuery("<iframe>",{src:a,allowfullscreen:1})}i.append(o),o.append(t),r.setMessage(i),this.setVideoAspectRatio();var l=r.onHide;r.onHide=function(){l(),r.getElements("message").removeClass("elementor-fit-aspect-ratio")}},setSlideshowContent:function(t){var s=jQuery,n=this,a=n.getSettings("classes"),l=a.slideshow,i=s("<div>",{class:l.container}),d=s("<div>",{class:l.slidesWrapper}),o=s("<div>",{class:l.prevButton+" "+a.preventClose}).html(s("<i>",{class:l.prevButtonIcon})),r=s("<div>",{class:l.nextButton+" "+a.preventClose}).html(s("<i>",{class:l.nextButtonIcon}));t.slides.forEach(function(e){var t=l.slide+" "+a.item;e.video&&(t+=" "+a.video);var n=s("<div>",{class:t});if(e.video){n.attr("data-elementor-slideshow-video",e.video);var i=s("<div>",{class:a.playButton}).html(s("<i>",{class:a.playButtonIcon}));n.append(i)}else{var o=s("<div>",{class:"swiper-zoom-container"}),r=s("<img>",{class:a.image+" "+a.preventClose}).attr("src",e.image);o.append(r),n.append(o)}d.append(n)}),i.append(d,o,r);var e=n.getModal();e.setMessage(i);var c=e.onShow;e.onShow=function(){c();var e={navigation:{prevEl:o,nextEl:r},pagination:{clickable:!0},on:{slideChangeTransitionEnd:n.onSlideChange},grabCursor:!0,runCallbacksOnInit:!1,loop:!0,keyboard:!0};t.swiper&&s.extend(e,t.swiper),n.swiper=new Swiper(i,e),n.setVideoAspectRatio(),n.playSlideVideo()}},setVideoAspectRatio:function(e){e=e||this.getSettings("modalOptions.videoAspectRatio");var t=this.getModal().getElements("widgetContent"),n=this.oldAspectRatio,i=this.getSettings("classes.aspectRatio");this.oldAspectRatio=e,n&&t.removeClass(i.replace("%s",n)),e&&t.addClass(i.replace("%s",e))},getSlide:function(e){return jQuery(this.swiper.slides).filter(this.getSettings("selectors.slideshow."+e+"Slide"))},playSlideVideo:function(){var e=this.getSlide("active"),t=e.data("elementor-slideshow-video");if(t){var n=this.getSettings("classes"),i=jQuery("<div>",{class:n.videoContainer+" "+n.invisible}),o=jQuery("<div>",{class:n.videoWrapper}),r=jQuery("<iframe>",{src:t}),s=e.children("."+n.playButton);i.append(o),o.append(r),e.append(i),s.addClass(n.playing).removeClass(n.hidden),r.on("load",function(){s.addClass(n.hidden),i.removeClass(n.invisible)})}},setEntranceAnimation:function(e){e=e||this.getSettings("modalOptions.entranceAnimation");var t=this.getModal().getElements("message");this.oldAnimation&&t.removeClass(this.oldAnimation),(this.oldAnimation=e)&&t.addClass("animated "+e)},isLightboxLink:function(e){if("A"===e.tagName&&!/\.(png|jpe?g|gif|svg)$/i.test(e.href))return!1;var t=elementorFrontend.getGeneralSettings("elementor_global_image_lightbox"),n=e.dataset.elementorOpenLightbox;return"yes"===n||t&&"no"!==n},openLink:function(e){var t=e.currentTarget,n=jQuery(e.target),i=elementorFrontend.isEditMode(),o=!!n.closest("#elementor").length;if(this.isLightboxLink(t)){if(e.preventDefault(),!elementorFrontend.isEditMode()||elementorFrontend.getGeneralSettings("elementor_enable_lightbox_in_editor")){var r={};if(t.dataset.elementorLightbox&&(r=JSON.parse(t.dataset.elementorLightbox)),r.type&&"slideshow"!==r.type)this.showModal(r);else if(t.dataset.elementorLightboxSlideshow){var s=t.dataset.elementorLightboxSlideshow,a=jQuery(this.getSettings("selectors.links")).filter(function(){return s===this.dataset.elementorLightboxSlideshow}),l=[],d={};a.each(function(){if(!d[this.href]){d[this.href]=!0;var e=this.dataset.elementorLightboxIndex;void 0===e&&(e=a.index(this));var t={image:this.href,index:e};this.dataset.elementorLightboxVideo&&(t.video=this.dataset.elementorLightboxVideo),l.push(t)}}),l.sort(function(e,t){return e.index-t.index});var c=t.dataset.elementorLightboxIndex;void 0===c&&(c=a.index(t)),this.showModal({type:"slideshow",modalOptions:{id:"elementor-lightbox-slideshow-"+s},slideshow:{slides:l,swiper:{initialSlide:+c}}})}else this.showModal({type:"image",url:t.href})}}else i&&o&&e.preventDefault()},bindEvents:function(){elementorFrontend.getElements("$document").on("click",this.getSettings("selectors.links"),this.openLink)},onInit:function(){o.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.settings.general.model.on("change",this.onGeneralSettingsChange)},onGeneralSettingsChange:function(e){"elementor_lightbox_content_animation"in e.changed&&(this.setSettings("modalOptions.entranceAnimation",e.changed.elementor_lightbox_content_animation),this.setEntranceAnimation())},onSlideChange:function(){this.getSlide("prev").add(this.getSlide("next")).add(this.getSlide("active")).find("."+this.getSettings("classes.videoWrapper")).remove(),this.playSlideVideo()}}),t.exports=i},{"../../utils/view-module":24}],19:[function(e,t,n){var i=e("../../utils/view-module");t.exports=i.extend({getDefaultSettings:function(){return{isInserted:!1,APISrc:"https://www.youtube.com/iframe_api",selectors:{firstScript:"script:first"}}},getDefaultElements:function(){return{$firstScript:jQuery(this.getSettings("selectors.firstScript"))}},insertYTAPI:function(){this.setSettings("isInserted",!0),this.elements.$firstScript.before(jQuery("<script>",{src:this.getSettings("APISrc")}))},onYoutubeApiReady:function(e){var t=this;t.getSettings("IsInserted")||t.insertYTAPI(),window.YT&&YT.loaded?e(YT):setTimeout(function(){t.onYoutubeApiReady(e)},350)},getYoutubeIDFromURL:function(e){var t=e.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/);return t&&t[1]}})},{"../../utils/view-module":24}],20:[function(e,t,n){"use strict";t.exports=function(){var o,n=Array.prototype.slice,l={actions:{},filters:{}};function i(e,t,n,i){var o,r,s;if(l[e][t])if(n)if(o=l[e][t],i)for(s=o.length;s--;)(r=o[s]).callback===n&&r.context===i&&o.splice(s,1);else for(s=o.length;s--;)o[s].callback===n&&o.splice(s,1);else l[e][t]=[]}function r(e,t,n,i,o){var r={callback:n,priority:i,context:o},s=l[e][t];if(s){var a=!1;if(jQuery.each(s,function(){if(this.callback===n)return!(a=!0)}),a)return;s.push(r),s=function(e){for(var t,n,i,o=1,r=e.length;o<r;o++){for(t=e[o],n=o;(i=e[n-1])&&i.priority>t.priority;)e[n]=e[n-1],--n;e[n]=t}return e}(s)}else s=[r];l[e][t]=s}function s(e,t,n){var i,o,r=l[e][t];if(!r)return"filters"===e&&n[0];if(o=r.length,"filters"===e)for(i=0;i<o;i++)n[0]=r[i].callback.apply(r[i].context,n);else for(i=0;i<o;i++)r[i].callback.apply(r[i].context,n);return"filters"!==e||n[0]}return o={removeFilter:function(e,t){return"string"==typeof e&&i("filters",e,t),o},applyFilters:function(){var e=n.call(arguments),t=e.shift();return"string"==typeof t?s("filters",t,e):o},addFilter:function(e,t,n,i){return"string"==typeof e&&"function"==typeof t&&r("filters",e,t,n=parseInt(n||10,10),i),o},removeAction:function(e,t){return"string"==typeof e&&i("actions",e,t),o},doAction:function(){var e=n.call(arguments),t=e.shift();return"string"==typeof t&&s("actions",t,e),o},addAction:function(e,t,n,i){return"string"==typeof e&&"function"==typeof t&&r("actions",e,t,n=parseInt(n||10,10),i),o}}}},{}],21:[function(e,t,n){t.exports=new function(){var i={},t=function(e){var t=i[e.which];t&&jQuery.each(t,function(){this.isWorthHandling&&!this.isWorthHandling(e)||!this.allowAltKey&&e.altKey||(e.preventDefault(),this.handle(e))})};this.isControlEvent=function(e){return e[elementor.envData.mac?"metaKey":"ctrlKey"]},this.addHotKeyHandler=function(e,t,n){i[e]||(i[e]={}),i[e][t]=n},this.bindListener=function(e){e.on("keydown",t)}}},{}],22:[function(e,t,n){var i=e("./view-module");t.exports=i.extend({getDefaultSettings:function(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function(){var a=[],l=this.elements.$container.position().top,d=this.getSettings(),c=d.columnsCount;l+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(e){var t=Math.floor(e/c),n=jQuery(this),i=n[0].getBoundingClientRect().height+d.verticalSpaceBetween;if(t){var o=n.position(),r=e%c,s=o.top-l-a[r];s-=parseInt(n.css("margin-top"),10),s*=-1,n.css("margin-top",s+"px"),a[r]+=i}else a.push(i)})}})},{"./view-module":24}],23:[function(e,t,n){var r=function(){var r,s=jQuery,t=arguments,a=this,o={};this.getItems=function(e,t){if(t){var n=t.split("."),i=n.splice(0,1);if(!n.length)return e[i];if(!e[i])return;return this.getItems(e[i],n.join("."))}return e},this.getSettings=function(e){return this.getItems(r,e)},this.setSettings=function(e,t,n){if(n||(n=r),"object"==typeof e)return s.extend(n,e),a;var i=e.split("."),o=i.splice(0,1);return i.length?(n[o]||(n[o]={}),a.setSettings(i.join("."),t,n[o])):(n[o]=t,a)},this.forceMethodImplementation=function(e){var t=e.callee.name;throw new ReferenceError("The method "+t+" must to be implemented in the inheritor child.")},this.on=function(e,t){return"object"==typeof e?s.each(e,function(e){a.on(e,this)}):e.split(" ").forEach(function(e){o[e]||(o[e]=[]),o[e].push(t)}),a},this.off=function(e,t){if(!o[e])return a;if(!t)return delete o[e],a;var n=o[e].indexOf(t);return-1!==n&&delete o[e][n],a},this.trigger=function(e){var t="on"+e[0].toUpperCase()+e.slice(1),n=Array.prototype.slice.call(arguments,1);a[t]&&a[t].apply(a,n);var i=o[e];return i&&s.each(i,function(e,t){t.apply(a,n)}),a},a.__construct.apply(a,t),s.each(a,function(e){var t=a[e];"function"==typeof t&&(a[e]=function(){return t.apply(a,arguments)})}),function(){r=a.getDefaultSettings();var e=t[0];e&&s.extend(r,e)}(),a.trigger("init")};r.prototype.__construct=function(){},r.prototype.getDefaultSettings=function(){return{}},r.extendsCount=0,r.extend=function(e){var t=jQuery,n=this,i=function(){return n.apply(this,arguments)};t.extend(i,n),(i.prototype=Object.create(t.extend({},n.prototype,e))).constructor=i;var o=++r.extendsCount;return i.prototype.getConstructorID=function(){return o},i.__super__=n.prototype,i},t.exports=r},{}],24:[function(e,t,n){var i;i=e("./module").extend({elements:null,getDefaultElements:function(){return{}},bindEvents:function(){},onInit:function(){this.initElements(),this.bindEvents()},initElements:function(){this.elements=this.getDefaultElements()}}),t.exports=i},{"./module":23}]},{},[2]);
Zerion Mini Shell 1.0