????
| Current Path : /home2/morganrand/public_html/sub/wp-content/plugins/elementor/assets/js/ |
| Current File : /home2/morganrand/public_html/sub/wp-content/plugins/elementor/assets/js/frontend-modules.min.js |
/*! elementor - v2.5.9 - 18-03-2019 */
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=208)}({17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.ViewModule),i(t,[{key:"getDefaultSettings",value:function(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}},{key:"getDefaultElements",value:function(){var e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}},{key:"getDocumentSettings",value:function(e){var t=void 0;if(this.isEdit){t={};var n=elementor.settings.page.model;jQuery.each(n.getActiveControls(),function(e){t[e]=n.attributes[e]})}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}},{key:"runElementsHandlers",value:function(){this.elements.$elements.each(function(e,t){return elementorFrontend.elementsHandler.runReadyTrigger(t)})}},{key:"onInit",value:function(){this.$element=this.getSettings("$element"),function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(i):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onInit",this).call(this),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.settings.page.model.on("change",this.onSettingsChange.bind(this)):this.runElementsHandlers()}},{key:"onSettingsChange",value:function(){}}]),t}();t.default=r},19:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(5)),r=s(n(6)),o=s(n(20));function s(e){return e&&e.__esModule?e:{default:e}}t.default=window.elementorModules={Module:i.default,ViewModule:r.default,utils:{Masonry:o.default}}},20:function(e,t,n){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n(6));e.exports=i.default.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 e=[],t=this.elements.$container.position().top,n=this.getSettings(),i=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(r){var o=Math.floor(r/i),s=jQuery(this),l=s[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(o){var u=s.position(),c=r%i,a=u.top-t-e[c];a-=parseInt(s.css("margin-top"),10),a*=-1,s.css("margin-top",a+"px"),e[c]+=l}else e.push(l)})}})},208:function(e,t,n){"use strict";var i=l(n(19)),r=l(n(17)),o=l(n(209)),s=l(n(210));function l(e){return e&&e.__esModule?e:{default:e}}i.default.frontend={Document:r.default,tools:{StretchElement:o.default},handlers:{Base:s.default}}},209:function(e,t,n){"use strict";e.exports=elementorModules.ViewModule.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(),r=n.offset().left,o="fixed"===n.css("position"),s=o?0:r;if(window!==e[0]){var l=e.offset().left;o&&(s=l),r>l&&(s=r-l)}o||(elementorFrontend.config.is_rtl&&(s=i-(n.outerWidth()+s)),s=-s);var u={};u.width=i+"px",u[this.getSettings("direction")]=s+"px",n.css(u)},reset:function(){var e={width:""};e[this.getSettings("direction")]="",this.elements.$element.css(e)}})},210:function(e,t,n){"use strict";e.exports=elementorModules.ViewModule.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 e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback:function(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){var t=e.getWidgetType()||e.getElementType(),n="change";"global"!==t&&(n+=":"+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback:function(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback:function(t,n){n.model.cid===e.getModelCID()&&e.onEditSettingsChange(Object.keys(t.changed)[0])}}),["page","general"].forEach(function(t){var n="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[n]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback:function(t){e[n](t.changed)}})})},getEditorListeners:function(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners:function(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners:function(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType:function(){return this.$element.data("element_type")},getWidgetType:function(){var e=this.$element.data("widget_type");if(e)return e.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],r=i.attributes,o=r.widgetType||r.elType;r.isInner&&(o="inner-"+o);var s=elementorFrontend.config.elements.keys[o];s||(s=elementorFrontend.config.elements.keys[o]=[],jQuery.each(i.controls,function(e,t){t.frontend_available&&s.push(e)})),jQuery.each(i.getActiveControls(),function(e){-1!==s.indexOf(e)&&(t[e]=r[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)},getCurrentDeviceSetting:function(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onDestroy:function(){this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},5:function(e,t,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){var e=jQuery,t=arguments,n=this,r={},o=void 0;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(o,e)},this.setSettings=function(t,r,s){if(s||(s=o),"object"===(void 0===t?"undefined":i(t)))return e.extend(s,t),n;var l=t.split("."),u=l.splice(0,1);return l.length?(s[u]||(s[u]={}),n.setSettings(l.join("."),r,s[u])):(s[u]=r,n)},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(t,o){return"object"===(void 0===t?"undefined":i(t))?(e.each(t,function(e){n.on(e,this)}),n):(t.split(" ").forEach(function(e){r[e]||(r[e]=[]),r[e].push(o)}),n)},this.off=function(e,t){if(!r[e])return n;if(!t)return delete r[e],n;var i=r[e].indexOf(t);return-1!==i&&delete r[e][i],n},this.trigger=function(t){var i="on"+t[0].toUpperCase()+t.slice(1),o=Array.prototype.slice.call(arguments,1);n[i]&&n[i].apply(n,o);var s=r[t];return s?(e.each(s,function(e,t){t.apply(n,o)}),n):n},n.__construct.apply(n,t),e.each(n,function(e){var t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})}),function(){o=n.getDefaultSettings();var i=t[0];i&&e.extend(!0,o,i)}(),n.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},e.exports=r},6:function(e,t,n){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n(5));e.exports=i.default.extend({elements:null,getDefaultElements:function(){return{}},bindEvents:function(){},onInit:function(){this.initElements(),this.bindEvents()},initElements:function(){this.elements=this.getDefaultElements()}})}});