geno/wp-content/plugins/elementor/assets/js/kit-elements-defaults-editor.min.js

3 lines
35 KiB
JavaScript
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
/*! elementor - v3.18.0 - 20-12-2023 */
/*! For license information please see kit-elements-defaults-editor.min.js.LICENSE.txt */
(()=>{var e={6482:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.deleteElementDefaults=function deleteElementDefaults(e){return _deleteElementDefaults.apply(this,arguments)},t.getElementDefaults=function getElementDefaults(e){return($e.data.cache.storage.getItem(u)||{})[e]||{}},t.loadElementsDefaults=loadElementsDefaults,t.updateElementDefaults=function updateElementDefaults(e,t){return _updateElementDefaults.apply(this,arguments)};var o=n(r(50824)),a=n(r(10029)),u="kit-elements-defaults";function loadElementsDefaults(){return _loadElementsDefaults.apply(this,arguments)}function _loadElementsDefaults(){return(_loadElementsDefaults=(0,a.default)(o.default.mark((function _callee(){return o.default.wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return $e.data.cache.storage.removeItem(u),e.abrupt("return",$e.data.get("".concat(u,"/index")));case 2:case"end":return e.stop()}}),_callee)})))).apply(this,arguments)}function _updateElementDefaults(){return(_updateElementDefaults=(0,a.default)(o.default.mark((function _callee2(e,t){return o.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,$e.data.update("".concat(u,"/index"),{settings:t},{type:e});case 2:return r.next=4,loadElementsDefaults();case 4:case"end":return r.stop()}}),_callee2)})))).apply(this,arguments)}function _deleteElementDefaults(){return(_deleteElementDefaults=(0,a.default)(o.default.mark((function _callee3(e){return o.default.wrap((function _callee3$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,$e.data.delete("".concat(u,"/index"),{type:e});case 2:return t.next=4,loadElementsDefaults();case 4:case"end":return t.stop()}}),_callee3)})))).apply(this,arguments)}},52133:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(50824)),a=n(r(10029)),u=n(r(78983)),i=n(r(42081)),l=n(r(58724)),c=n(r(71173)),s=n(r(74910)),f=r(14653);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)(ConfirmCreation,e);var t,r=_createSuper(ConfirmCreation);function ConfirmCreation(){return(0,u.default)(this,ConfirmCreation),r.apply(this,arguments)}return(0,i.default)(ConfirmCreation,[{key:"validateArgs",value:function validateArgs(){this.requireContainer()}},{key:"apply",value:(t=(0,a.default)(o.default.mark((function _callee(e){var t,r;return o.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if(t=e.container,!(r=(0,f.getConfirmCreationDialog)({onConfirm:function onConfirm(){return $e.run("kit-elements-defaults/create",{container:t})}})).doNotShowAgain){n.next=5;break}return $e.run("kit-elements-defaults/create",{container:t}),n.abrupt("return");case 5:r.show();case 6:case"end":return n.stop()}}),_callee)}))),function apply(e){return t.apply(this,arguments)})}]),ConfirmCreation}($e.modules.editor.CommandContainerBase);t.default=p},10075:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r(50824)),u=o(r(10029)),i=o(r(78983)),l=o(r(42081)),c=o(r(58724)),s=o(r(71173)),f=o(r(74910)),p=r(6482),d=o(r(60600)),y=r(20267);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,f.default)(e);if(t){var o=(0,f.default)(this).constructor;r=Reflect.construct(