芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/assets/js/container-converter.min.js
/*! elementor - v3.12.1 - 02-04-2023 */ (()=>{var e={88852:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.ConvertAll=void 0;var u=o(r(9833)),i=o(r(78983)),a=o(r(42081)),l=o(r(58724)),c=o(r(71173)),s=o(r(74910));function _createSuper(e){var t=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}}();return function _createSuperInternal(){var r,n=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,c.default)(this,r)}}var f=function(e){(0,l.default)(ConvertAll,e);var t=_createSuper(ConvertAll);function ConvertAll(){return(0,i.default)(this,ConvertAll),t.apply(this,arguments)}return(0,a.default)(ConvertAll,[{key:"getHistory",value:function getHistory(){return{type:n("Converted to Containers","elementor"),title:n("All Content","elementor")}}},{key:"apply",value:function apply(){var e=elementor.getPreviewContainer().children;(0,u.default)(e).forEach((function(e){$e.run("container-converter/convert",{container:e})}))}}]),ConvertAll}($e.modules.document.CommandHistory);t.ConvertAll=f},91354:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.Convert=void 0;var u=o(r(78983)),i=o(r(42081)),a=o(r(58724)),l=o(r(71173)),c=o(r(74910)),s=o(r(91341));function _createSuper(e){var t=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}}();return function _createSuperInternal(){var r,n=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}var f=function(e){(0,a.default)(Convert,e);var t=_createSuper(Convert);function Convert(){return(0,u.default)(this,Convert),t.apply(this,arguments)}return(0,i.default)(Convert,[{key:"getHistory",value:function getHistory(){return{type:n("Converted to Container","elementor"),title:n("Section","elementor")}}},{key:"validateArgs",value:function validateArgs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(e)}},{key:"apply",value:function apply(e){this.constructor.convert(e)}}],[{key:"convert",value:function convert(e){var t=e.container,r=e.rootContainer,n=void 0===r?t.parent:r,o=t.view,u=t.type,i=n===t.parent?o._index+1:o._index;if(s.default.canConvertToContainer(u)){var a=t.model.toJSON(),l=s.default.getLegacyControlsMapping(a),c=t.settings.toJSON({remove:"default"});c=s.default.migrate(c,l),c=s.default.normalizeSettings(a,c);var f=$e.run("document/elements/create",{model:{elType:"container",settings:c},container:n,options:{at:i,edit:!1}});t.children.forEach((function(e){$e.run("container-converter/convert",{container:e,rootContainer:f})}))}else $e.run("document/elements/create",{model:{elType:t.model.get("elType"),widgetType:t.model.get("widgetType"),settings:t.settings.toJSON({remove:"default"})},container:n,options:{at:i,edit:!1}})}}]),Convert}($e.modules.document.CommandHistory);t.Convert=f},89470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Convert",{enumerable:!0,get:function get(){return n.Convert}}),Object.defineProperty(t,"ConvertAll",{enumerable:!0,get:function get(){return o.ConvertAll}});var n=r(91354),o=r(88852)},77417:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203),u=r(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(78983)),a=o(r(42081)),l=o(r(58724)),c=o(r(71173)),s=o(r(74910)),f=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n);return n}(r(89470));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _createSuper(e){var t=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}}();return function _createSuperInternal(){var r,n=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,c.default)(this,r)}}var p=function(e){(0,l.default)(_default,e);var t=_createSuper(_default);function _default(){var e;return(0,i.default)(this,_default),(e=t.call(this)).bindEvents(),e}return(0,a.default)(_default,[{key:"bindEvents",value:function bindEvents(){elementor.channels.editor.on("elementorContainerConverter:convert",(function(e){var t=e.container,r=e.el.querySelector(".elementor-button"),o="e-loading";r.classList.add(o),setTimeout((function(){"document"===t.type?$e.run("container-converter/convert-all"):$e.run("container-converter/convert",{container:t}),r.classList.remove(o),r.setAttribute("disabled",!0),elementor.notifications.showToast({message:n("Your changes have been updated.","elementor")})}))}))}},{key:"getNamespace",value:function getNamespace(){return"container-converter"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(f)}}]),_default}($e.modules.ComponentBase);t.default=p},62721:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(93231)),u=r(69886);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t
{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(93231)),u=r(69886);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t
{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.getDeviceKey=getDeviceKey,t.responsive=function responsive(e,t){var r=[""].concat((0,o.default)(Object.keys(elementorFrontend.config.responsive.activeBreakpoints)));return Object.fromEntries(r.map((function(r){var n=getDeviceKey(e,r);if("string"==typeof t){var o=getDeviceKey(t,r);return[n,function(e){var t=e.settings;return[o,t[n]]}]}return[n,function(o){var u=o.settings,i=o.value;return t({key:e,deviceKey:n,value:i,deviceValue:u[n],settings:u,breakpoint:r})}]})))};var o=n(r(9833));function getDeviceKey(e,t){return[e,t].filter((function(e){return!!e})).join("_")}},91341:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(40131)),u=n(r(78983)),i=n(r(42081)),a=n(r(93231)),l=n(r(99685)),c=n(r(62721));function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t
{"use strict";e.exports=wp.i18n},98106:e=>{e.exports=function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r
{e.exports=function _arrayWithHoles(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},34102:(e,t,r)=>{var n=r(98106);e.exports=function _arrayWithoutHoles(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},77266:e=>{e.exports=function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},78983:e=>{e.exports=function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},42081:(e,t,r)=>{var n=r(74040);function _defineProperties(e,t){for(var r=0;r
{var n=r(74040);e.exports=function _defineProperty(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},74910:e=>{function _getPrototypeOf(t){return e.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,_getPrototypeOf(t)}e.exports=_getPrototypeOf,e.exports.__esModule=!0,e.exports.default=e.exports},58724:(e,t,r)=>{var n=r(96196);e.exports=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&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},73203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},68:e=>{e.exports=function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},40608:e=>{e.exports=function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,u,i,a=[],l=!0,c=!1;try{if(u=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=u.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},56894:e=>{e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},91282:e=>{e.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},71173:(e,t,r)=>{var n=r(7501).default,o=r(77266);e.exports=function _possibleConstructorReturn(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},96196:e=>{function _setPrototypeOf(t,r){return e.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,_setPrototypeOf(t,r)}e.exports=_setPrototypeOf,e.exports.__esModule=!0,e.exports.default=e.exports},40131:(e,t,r)=>{var n=r(17358),o=r(40608),u=r(35068),i=r(56894);e.exports=function _slicedToArray(e,t){return n(e)||o(e,t)||u(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},9833:(e,t,r)=>{var n=r(34102),o=r(68),u=r(35068),i=r(91282);e.exports=function _toConsumableArray(e){return n(e)||o(e)||u(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},56027:(e,t,r)=>{var n=r(7501).default;e.exports=function _toPrimitive(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},74040:(e,t,r)=>{var n=r(7501).default,o=r(56027);e.exports=function _toPropertyKey(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:e=>{function _typeof(t){return e.exports=_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.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},35068:(e,t,r)=>{var n=r(98106);e.exports=function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,__webpack_require__),o.exports}(()=>{"use strict";var e=__webpack_require__(73203),t=e(__webpack_require__(78983)),r=e(__webpack_require__(42081)),n=e(__webpack_require__(58724)),o=e(__webpack_require__(71173)),u=e(__webpack_require__(74910)),i=e(__webpack_require__(77417));function _createSuper(e){var t=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}}();return function _createSuperInternal(){var r,n=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,o.default)(this,r)}}new(function(e){(0,n.default)(Module,e);var o=_createSuper(Module);function Module(){return(0,t.default)(this,Module),o.apply(this,arguments)}return(0,r.default)(Module,[{key:"onInit",value:function onInit(){$e.components.register(new i.default)}}]),Module}(elementorModules.editor.utils.Module))})()})();