![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/thread-self/cwd/wp-content/plugins/uicore-elements/assets/js/utils/ |
"use strict";function _typeof(e){return(_typeof="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})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:String(e)}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(r){var n=_isNativeReflectConstruct();return function(){var e,t=_getPrototypeOf(r);return _possibleConstructorReturn(this,n?(e=_getPrototypeOf(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",function(){var r=function(){_inherits(t,$e.components.get("nested-elements").exports.NestedView);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"filter",value:function(e,t){return e.attributes.dataIndex=t+1,!0}},{key:"onAddChild",value:function(e){var t=null==(t=e._parent.$el.find(".e-n-tabs")[0])?void 0:t.dataset.widgetNumber,r=e.model.attributes.dataIndex,n=null==(n=e._parent.$el.find('.e-n-tab-title[data-tab-index="'.concat(r,'"]')))?void 0:n.attr("id");e.$el.attr({id:"ui-e-tab-content-"+t+r,role:"tabpanel","aria-labelledby":n,"data-tab-index":r,style:"--ui-e-tabs-order: "+r+";"}),elementor.previewView.isBuffering&&1===r&&e.$el.addClass("e-active")}}]),t}(),n=function(){_inherits(t,$e.components.get("nested-elements").exports.NestedView);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"onAddChild",value:function(e){e.$el.addClass("ui-e-item")}}]),t}(),o=function(){_inherits(t,$e.components.get("nested-elements").exports.NestedView);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"onAddChild",value:function(e){var t=e._parent.$el.find(".ui-e-table")[0].style.getPropertyValue("--ui-e-cols-qty"),r=e.$el,n=e._index+1;Math.floor((n-1)/t)%2!=0&&e.$el.addClass("ui-e-even"),r.addClass("ui-e-table-cell").addClass("ui-e-item")}}]),t}(),e=function(){_inherits(t,elementor.modules.elements.types.NestedElementBase);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"getType",value:function(){return"uicore-tabs"}},{key:"getView",value:function(){return r}}]),t}(),t=function(){_inherits(t,elementor.modules.elements.types.NestedElementBase);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"getType",value:function(){return"uicore-custom-carousel"}},{key:"getView",value:function(){return n}}]),t}(),i=function(){_inherits(t,elementor.modules.elements.types.NestedElementBase);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"getType",value:function(){return"uicore-custom-slider"}},{key:"getView",value:function(){return n}}]),t}(),s=function(){_inherits(t,elementor.modules.elements.types.NestedElementBase);var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,[{key:"getType",value:function(){return"uicore-custom-table"}},{key:"getView",value:function(){return o}}]),t}();elementor.elementsManager.registerElementType(new e),elementor.elementsManager.registerElementType(new t),elementor.elementsManager.registerElementType(new i),elementor.elementsManager.registerElementType(new s)});