Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/elementor-pro   php

Repository URL to install this package:

Version: 3.2.1 

/ js / search-form.69e3551a94b182780302.bundle.min.js

/*! elementor-pro - v3.2.1 - 21-03-2021 */
(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[858],{188:(e,t,n)=>{"use strict";n(7394)(t,"__esModule",{value:!0}),t.default=void 0,n(1954);var s=elementorModules.frontend.handlers.Base.extend({getDefaultSettings:function getDefaultSettings(){return{selectors:{wrapper:".elementor-search-form",container:".elementor-search-form__container",icon:".elementor-search-form__icon",input:".elementor-search-form__input",toggle:".elementor-search-form__toggle",submit:".elementor-search-form__submit",closeButton:".dialog-close-button"},classes:{isFocus:"elementor-search-form--focus",isFullScreen:"elementor-search-form--full-screen",lightbox:"elementor-lightbox"}}},getDefaultElements:function getDefaultElements(){var e=this.getSettings("selectors"),t={};return t.$wrapper=this.$element.find(e.wrapper),t.$container=this.$element.find(e.container),t.$input=this.$element.find(e.input),t.$icon=this.$element.find(e.icon),t.$toggle=this.$element.find(e.toggle),t.$submit=this.$element.find(e.submit),t.$closeButton=this.$element.find(e.closeButton),t},bindEvents:function bindEvents(){var e=this,t=e.elements.$container,n=e.elements.$closeButton,s=e.elements.$input,l=e.elements.$wrapper,o=e.elements.$icon,i=this.getElementSettings("skin"),r=this.getSettings("classes");"full_screen"===i?(e.elements.$toggle.on("click",(function(){t.toggleClass(r.isFullScreen).toggleClass(r.lightbox),s.trigger("focus")})),t.on("click",(function(e){t.hasClass(r.isFullScreen)&&t[0]===e.target&&t.removeClass(r.isFullScreen).removeClass(r.lightbox)})),n.on("click",(function(){t.removeClass(r.isFullScreen).removeClass(r.lightbox)})),elementorFrontend.elements.$document.on("keyup",(function(e){27===e.keyCode&&t.hasClass(r.isFullScreen)&&t.trigger("click")}))):s.on({focus:function focus(){l.addClass(r.isFocus)},blur:function blur(){l.removeClass(r.isFocus)}}),"minimal"===i&&o.on("click",(function(){l.addClass(r.isFocus),s.trigger("focus")}))}});t.default=s}}]);