PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.0-beta3
Elementor Website Builder – more than just a page builder v4.3.0-beta3
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | assets/js/web-cli.min.js +9 -2 4.2.0-dev24.3.0-beta3 View file →
@@ -1,2 +1,9 @@
1 -/*! For license information please see web-cli.min.js.LICENSE.txt */
2 -(()=>{var r={641:(r,u,c)=>{"use strict";var l=c(96784)(c(10564)),p=function Module(){var r,u=jQuery,c=arguments,p=this,v={};this.getItems=function(r,u){if(u){var c=u.split("."),l=c.splice(0,1);if(!c.length)return r[l];if(!r[l])return;return this.getItems(r[l],c.join("."))}return r},this.getSettings=function(u){return this.getItems(r,u)},this.setSettings=function(c,v,h){if(h||(h=r),"object"===(0,l.default)(c))return u.extend(h,c),p;var y=c.split("."),g=y.splice(0,1);return y.length?(h[g]||(h[g]={}),p.setSettings(y.join("."),v,h[g])):(h[g]=v,p)},this.getErrorMessage=function(r,u){var c;if("forceMethodImplementation"===r)c="The method '".concat(u,"' must to be implemented in the inheritor child.");else c="An error occurs";return c},this.forceMethodImplementation=function(r){throw new Error(this.getErrorMessage("forceMethodImplementation",r))},this.on=function(r,c){return"object"===(0,l.default)(r)?(u.each(r,function(r){p.on(r,this)}),p):(r.split(" ").forEach(function(r){v[r]||(v[r]=[]),v[r].push(c)}),p)},this.off=function(r,u){if(!v[r])return p;if(!u)return delete v[r],p;var c=v[r].indexOf(u);return-1!==c&&(delete v[r][c],v[r]=v[r].filter(function(r){return r})),p},this.trigger=function(r){var c="on"+r[0].toUpperCase()+r.slice(1),l=Array.prototype.slice.call(arguments,1);p[c]&&p[c].apply(p,l);var h=v[r];return h?(u.each(h,function(r,u){u.apply(p,l)}),p):p},function init(){p.__construct.apply(p,c),function ensureClosureMethods(){u.each(p,function(r){var u=p[r];"function"==typeof u&&(p[r]=function(){return u.apply(p,arguments)})})}(),function initSettings(){r=p.getDefaultSettings();var l=c[0];l&&u.extend(!0,r,l)}(),p.trigger("init")}()};p.prototype.__construct=function(){},p.prototype.getDefaultSettings=function(){return{}},p.prototype.getConstructorID=function(){return this.constructor.name},p.extend=function(r){var u=jQuery,c=this,l=function child(){return c.apply(this,arguments)};return u.extend(l,c),(l.prototype=Object.create(u.extend({},c.prototype,r))).constructor=l,l.__super__=c.prototype,l},r.exports=p},3231:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989));u.default=function(){return(0,v.default)(function BaseStorage(r){if((0,p.default)(this,BaseStorage),BaseStorage===(this instanceof BaseStorage?this.constructor:void 0))throw new TypeError("Cannot construct BaseStorage instances directly");this.provider=r},[{key:"clear",value:function clear(){return this.provider.clear()}},{key:"getItem",value:function getItem(r){var u=this.provider.getItem(r);return null!==u?JSON.parse(u):u}},{key:"key",value:function key(r){return this.provider.key(r)}},{key:"removeItem",value:function removeItem(r){return this.provider.removeItem(r)}},{key:"setItem",value:function setItem(r,u){return this.provider.setItem(r,JSON.stringify(u))}},{key:"getAll",value:function getAll(){var r=this,u=Object.keys(this.provider),c={};return u.forEach(function(u){c[u]=r.getItem(u)}),c}}])}()},4221:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(83535));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function CommandInternalBase(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e.commandsInternal;return(0,p.default)(this,CommandInternalBase),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,CommandInternalBase,[r,u])}return(0,g.default)(CommandInternalBase,r),(0,v.default)(CommandInternalBase,null,[{key:"getInstanceType",value:function getInstanceType(){return"CommandInternalBase"}}])}(m.default)},9535:(r,u,c)=>{var l=c(89736);function _regenerator(){var u,c,p="function"==typeof Symbol?Symbol:{},v=p.iterator||"@@iterator",h=p.toStringTag||"@@toStringTag";function i(r,p,v,h){var g=p&&p.prototype instanceof Generator?p:Generator,m=Object.create(g.prototype);return l(m,"_invoke",function(r,l,p){var v,h,g,m=0,k=p||[],b=!1,C={p:0,n:0,v:u,a:d,f:d.bind(u,4),d:function d(r,c){return v=r,h=0,g=u,C.n=c,y}};function d(r,l){for(h=r,g=l,c=0;!b&&m&&!p&&c<k.length;c++){var p,v=k[c],R=C.p,O=v[2];r>3?(p=O===l)&&(g=v[(h=v[4])?5:(h=3,3)],v[4]=v[5]=u):v[0]<=R&&((p=r<2&&R<v[1])?(h=0,C.v=l,C.n=v[1]):R<O&&(p=r<3||v[0]>l||l>O)&&(v[4]=r,v[5]=l,C.n=O,h=0))}if(p||r>1)return y;throw b=!0,l}return function(p,k,R){if(m>1)throw TypeError("Generator is already running");for(b&&1===k&&d(k,R),h=k,g=R;(c=h<2?u:g)||!b;){v||(h?h<3?(h>1&&(C.n=-1),d(h,g)):C.n=g:C.v=g);try{if(m=2,v){if(h||(p="next"),c=v[p]){if(!(c=c.call(v,g)))throw TypeError("iterator result is not an object");if(!c.done)return c;g=c.value,h<2&&(h=0)}else 1===h&&(c=v.return)&&c.call(v),h<2&&(g=TypeError("The iterator does not provide a '"+p+"' method"),h=1);v=u}else if((c=(b=C.n<0)?g:r.call(l,C))!==y)break}catch(r){v=u,h=1,g=r}finally{m=1}}return{value:c,done:b}}}(r,v,h),!0),m}var y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}c=Object.getPrototypeOf;var g=[][v]?c(c([][v]())):(l(c={},v,function(){return this}),c),m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(g);function f(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,l(r,h,"GeneratorFunction")),r.prototype=Object.create(m),r}return GeneratorFunction.prototype=GeneratorFunctionPrototype,l(m,"constructor",GeneratorFunctionPrototype),l(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",l(GeneratorFunctionPrototype,h,"GeneratorFunction"),l(m),l(m,h,"Generator"),l(m,v,function(){return this}),l(m,"toString",function(){return"[object Generator]"}),(r.exports=_regenerator=function _regenerator(){return{w:i,m:f}},r.exports.__esModule=!0,r.exports.default=r.exports)()}r.exports=_regenerator,r.exports.__esModule=!0,r.exports.default=r.exports},10203:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.DefaultError=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(60395));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.DefaultError=function(r){function DefaultError(){return(0,p.default)(this,DefaultError),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,DefaultError,arguments)}return(0,g.default)(DefaultError,r),(0,v.default)(DefaultError,null,[{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){return 501}}])}(m.default);u.default=k},10564:r=>{function _typeof(u){return r.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(u)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},11018:r=>{r.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.")},r.exports.__esModule=!0,r.exports.default=r.exports},11327:(r,u,c)=>{var l=c(10564).default;r.exports=function toPrimitive(r,u){if("object"!=l(r)||!r)return r;var c=r[Symbol.toPrimitive];if(void 0!==c){var p=c.call(r,u||"default");if("object"!=l(p))return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===u?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},13452:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.ForceMethodImplementation=void 0;var p=l(c(40989)),v=l(c(39805)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(22835));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.ForceMethodImplementation=function(r){function ForceMethodImplementation(){var r,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,v.default)(this,ForceMethodImplementation),r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,ForceMethodImplementation,["".concat(u.isStatic?"static ":"").concat(u.fullName,"() should be implemented, please provide '").concat(u.functionName||u.fullName,"' functionality.")]),Error.captureStackTrace(r,ForceMethodImplementation),r}return(0,g.default)(ForceMethodImplementation,r),(0,p.default)(ForceMethodImplementation)}((0,m.default)(Error));u.default=function _default(){var r=Error().stack.split("\n")[2].trim(),u=r.startsWith("at new")?"constructor":r.split(" ")[1],c={};if(c.functionName=u,c.fullName=u,c.functionName.includes(".")){var l=c.functionName.split(".");c.className=l[0],c.functionName=l[1]}else c.isStatic=!0;throw new k(c)}},14718:(r,u,c)=>{var l=c(29402);r.exports=function _superPropBase(r,u){for(;!{}.hasOwnProperty.call(r,u)&&null!==(r=l(r)););return r},r.exports.__esModule=!0,r.exports.default=r.exports},14767:(r,u,c)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"Close",{enumerable:!0,get:function get(){return l.Close}}),Object.defineProperty(u,"Open",{enumerable:!0,get:function get(){return p.Open}}),Object.defineProperty(u,"Toggle",{enumerable:!0,get:function get(){return v.Toggle}});var l=c(17431),p=c(97283),v=c(25279)},15118:(r,u,c)=>{var l=c(10564).default,p=c(36417);r.exports=function _possibleConstructorReturn(r,u){if(u&&("object"==l(u)||"function"==typeof u))return u;if(void 0!==u)throw new TypeError("Derived constructors may only return object or undefined");return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},15213:(r,u)=>{"use strict";function _createForOfIteratorHelper(r,u){var c="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!c){if(Array.isArray(r)||(c=function _unsupportedIterableToArray(r,u){if(r){if("string"==typeof r)return _arrayLikeToArray(r,u);var c={}.toString.call(r).slice(8,-1);return"Object"===c&&r.constructor&&(c=r.constructor.name),"Map"===c||"Set"===c?Array.from(r):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?_arrayLikeToArray(r,u):void 0}}(r))||u&&r&&"number"==typeof r.length){c&&(r=c);var l=0,p=function F(){};return{s:p,n:function n(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function e(r){throw r},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var v,h=!0,y=!1;return{s:function s(){c=c.call(r)},n:function n(){var r=c.next();return h=r.done,r},e:function e(r){y=!0,v=r},f:function f(){try{h||null==c.return||c.return()}finally{if(y)throw v}}}}function _arrayLikeToArray(r,u){(null==u||u>r.length)&&(u=r.length);for(var c=0,l=Array(u);c<u;c++)l[c]=r[c];return l}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;u.default=function _default(r,u){var c,l=_createForOfIteratorHelper(u=Array.isArray(u)?u:[u]);try{for(l.s();!(c=l.n()).done;){var p=c.value;if(r.constructor.name===p.prototype[Symbol.toStringTag])return!0}}catch(r){l.e(r)}finally{l.f()}return!1}},15606:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(88413)),k=l(c(641)),b=l(c(13452));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function HooksBase(){var r;(0,p.default)(this,HooksBase);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return(r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,HooksBase,[].concat(c))).current="",r.usedIds=[],r.callbacks={after:{},catch:{}},r.depth={after:{},catch:{}},r.callbacksFlatList={},r}return(0,g.default)(HooksBase,r),(0,v.default)(HooksBase,[{key:"activate",value:function activate(){Object.values(this.getAll(!0)).forEach(function(r){r.activate()})}},{key:"deactivate",value:function deactivate(){Object.values(this.getAll(!0)).forEach(function(r){r.deactivate()})}},{key:"getType",value:function getType(){(0,b.default)()}},{key:"get",value:function get(r){return this.callbacksFlatList[r]}},{key:"getAll",value:function getAll(){var r=this;if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.callbacksFlatList;var u={};return Object.keys(this.callbacks).forEach(function(c){u[c]||(u[c]=[]),Object.keys(r.callbacks[c]).forEach(function(l){u[c].push({command:l,callbacks:r.callbacks[c][l]})})}),u}},{key:"getCurrent",value:function getCurrent(){return this.current}},{key:"getUsedIds",value:function getUsedIds(){return this.usedIds}},{key:"getCallbacks",value:function getCallbacks(r,u,c){var l=c.containers,p=void 0===l?[c.container]:l,v=!!p[0]&&p[0].type,h=[];return this.callbacks[r]&&this.callbacks[r][u]&&(v&&this.callbacks[r][u][v]&&(h=h.concat(this.callbacks[r][u][v])),this.callbacks[r][u].all&&(h=h.concat(this.callbacks[r][u].all))),!!h.length&&h}},{key:"checkEvent",value:function checkEvent(r){if(-1===Object.keys(this.callbacks).indexOf(r))throw Error("".concat(this.getType(),": '").concat(r,"' is not available."))}},{key:"checkInstance",value:function checkInstance(r){if(r.getType()!==this.getType())throw new Error("invalid instance, please use: 'elementor-api/modules/hook-base.js'. ")}},{key:"checkId",value:function checkId(r){if(-1!==this.usedIds.indexOf(r))throw Error("id: '".concat(r,"' is already in use."))}},{key:"shouldRun",value:function shouldRun(r){return!!r&&r.length}},{key:"register",value:function register(r,u){var c=u.getCommand(),l=u.getId(),p=u.getContainerType();return this.checkEvent(r),this.checkInstance(u),this.checkId(l),this.registerCallback(l,r,c,u,p)}},{key:"registerCallback",value:function registerCallback(r,u,c,l,p){this.callbacks[u][c]||(this.callbacks[u][c]=[]),this.usedIds.push(r),this.callbacks[u][c]||(this.callbacks[u][c]={});var v={id:r,callback:l.run.bind(l),isActive:!0,activate:function activate(){this.isActive=!0},deactivate:function deactivate(){this.isActive=!1}};return p?(this.callbacks[u][c][p]||(this.callbacks[u][c][p]=[]),this.callbacks[u][c][p].push(v)):(this.callbacks[u][c].all||(this.callbacks[u][c].all=[]),this.callbacks[u][c].all.push(v)),this.callbacksFlatList[v.id]=v,v}},{key:"run",value:function run(r,u,c){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,p=this.getCallbacks(r,u,c);return!!this.shouldRun(p)&&(this.current=u,this.onRun(u,c,r),this.runCallbacks(r,u,p,c,l))}},{key:"runCallbacks",value:function runCallbacks(r,u,c,l,p){var v=[];for(var h in c){var y=c[h];if(y.isActive){if(void 0===this.depth[r][y.id]&&(this.depth[r][y.id]=0),this.depth[r][y.id]++,1===this.depth[r][y.id]){this.onCallback(u,l,r,y.id);try{var g=this.runCallback(r,y,l,p);if(!g)throw Error("Callback failed, event: '".concat(r,"'"));v.push(g)}catch(r){if(r instanceof $e.modules.HookBreak)throw r;m.default.error(r)}}this.depth[r][y.id]--}}return v}},{key:"runCallback",value:function runCallback(r,u,c,l){(0,b.default)()}},{key:"onRun",value:function onRun(r,u,c){(0,b.default)()}},{key:"onCallback",value:function onCallback(r,u,c,l){(0,b.default)()}}])}(k.default)},16375:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(18821)),v=l(c(39805)),h=l(c(40989));u.default=function(){return(0,h.default)(function UiStates(){(0,v.default)(this,UiStates),this.states={}},[{key:"register",value:function register(r){var u=r.getPrefixedId();if(this.states[u])throw"State '".concat(u,"' already exists.");this.states[u]=r}},{key:"getAll",value:function getAll(){var r={};return Object.entries(this.states).forEach(function(u){var c=(0,p.default)(u,2),l=c[0],v=c[1].getOptions();r[l]=Object.keys(v)}),r}},{key:"get",value:function get(r){return r?this.states[r]:this.states}},{key:"set",value:function set(r,u){if(!this.get(r))throw"State '".concat(r,"' doesn't exist.");var c=this.getCurrent(r),l="e-ui-state--".concat(r.replaceAll("/","-")),p="".concat(l,"__").concat(c),v="".concat(l,"__").concat(u),h=this.get(r).getScopes();this.get(r).set(u),h.forEach(function(l){l.classList.remove(p),u&&l.classList.add(v);var h=new CustomEvent("e-ui-state:".concat(r),{detail:{oldValue:c,newValue:u}});l.dispatchEvent(h)})}},{key:"remove",value:function remove(r){this.set(r,"")}},{key:"getCurrent",value:function getCurrent(r){var u;return null===(u=this.get(r))||void 0===u?void 0:u.getCurrent()}}])}()},17224:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(41621)),m=l(c(87861)),k=l(c(19218));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,u,c,l){var p=(0,g.default)((0,y.default)(1&l?r.prototype:r),u,c);return 2&l&&"function"==typeof p?function(r){return p.apply(c,r)}:p}u.default=function(r){function Routes(){var r;(0,p.default)(this,Routes);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return(r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Routes,[].concat(c))).savedStates={},r.historyPerComponent={},r}return(0,m.default)(Routes,r),(0,v.default)(Routes,[{key:"refreshContainer",value:function refreshContainer(r){var u=this.getCurrent(r),c=this.getCurrentArgs(r);this.clearCurrent(r),this.to(u,c)}},{key:"getHistory",value:function getHistory(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r?this.historyPerComponent[r]||[]:this.historyPerComponent}},{key:"clearHistory",value:function clearHistory(r){delete this.historyPerComponent[r]}},{key:"clearCurrent",value:function clearCurrent(r){var u=this.current[r];u&&(this.detachCurrent(r),this.getComponent(u).onCloseRoute(u),this.dispatchOnClose(u))}},{key:"clear",value:function clear(){var r=this;Object.keys(this.current).forEach(function(u){return r.clearCurrent(u)})}},{key:"saveState",value:function saveState(r){return this.savedStates[r]={route:this.current[r],args:this.currentArgs[r]},this}},{key:"restoreState",value:function restoreState(r){return!!this.savedStates[r]&&(this.to(this.savedStates[r].route,this.savedStates[r].args),!0)}},{key:"validateRun",value:function validateRun(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!_superPropGet(Routes,"validateRun",this,3)([r,u]))return!1;if(this.is(r,u)&&!u.refresh)return!1;var c=this.getComponent(r);return c.isOpen&&!u.reOpen||(c.isOpen=c.open(u)),c.isOpen}},{key:"beforeRun",value:function beforeRun(r,u){var c=this.getComponent(r).getServiceName(),l=this.current[c];l&&this.getComponent(l).onCloseRoute(l),k.default.trace.push(r),_superPropGet(Routes,"beforeRun",this,3)([r,u,!1]),this.attachCurrent(c,r,u),l&&this.dispatchOnClose(l)}},{key:"to",value:function to(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{history:!0};this.run(r,u);var l=this.getComponent(r).getServiceName();c.history&&(this.historyPerComponent[l]||(this.historyPerComponent[l]=[]),this.historyPerComponent[l].push({route:r,args:u}))}},{key:"back",value:function back(r){var u=this.getHistory(r);u.pop();var c=u.pop();c&&this.to(c.route,c.args)}},{key:"runShortcut",value:function runShortcut(r){this.to(r)}},{key:"afterRun",value:function afterRun(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;this.getComponent(r).onRoute(r,u),this.dispatchOnOpen(r),_superPropGet(Routes,"afterRun",this,3)([r,u,c,!1]),k.default.trace.pop()}},{key:"is",value:function is(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!_superPropGet(Routes,"is",this,3)([r]))return!1;var c=this.getComponent(r).getServiceName();return _.isEqual(u,this.currentArgs[c])}},{key:"isPartOf",value:function isPartOf(r){var u=r.split("/")[0],c=[],l=this.current[u]?this.current[u].split("/"):[],p=!1;return l.forEach(function(u){c.push(u),c.join("/")===r&&(p=!0)}),p}},{key:"error",value:function error(r){throw Error("Routes: "+r)}},{key:"dispatchOnOpen",value:function dispatchOnOpen(r){window.dispatchEvent(new CustomEvent("elementor/routes/open",{detail:{route:r}}))}},{key:"dispatchOnClose",value:function dispatchOnClose(r){window.dispatchEvent(new CustomEvent("elementor/routes/close",{detail:{route:r}}))}}])}(k.default)},17431:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Close=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(83535));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Close=function(r){function Close(){return(0,p.default)(this,Close),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Close,arguments)}return(0,g.default)(Close,r),(0,v.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}])}(m.default);u.default=k},18821:(r,u,c)=>{var l=c(70569),p=c(65474),v=c(37744),h=c(11018);r.exports=function _slicedToArray(r,u){return l(r)||p(r,u)||v(r,u)||h()},r.exports.__esModule=!0,r.exports.default=r.exports},19218:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(61790)),v=l(c(58155)),h=l(c(10564)),y=l(c(39805)),g=l(c(40989)),m=l(c(15118)),k=l(c(29402)),b=l(c(87861)),C=l(c(85707)),R=l(c(95020)),O=l(c(83535)),A=l(c(88413)),x=l(c(92766));function ownKeys(r,u){var c=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);u&&(l=l.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),c.push.apply(c,l)}return c}function _objectSpread(r){for(var u=1;u<arguments.length;u++){var c=null!=arguments[u]?arguments[u]:{};u%2?ownKeys(Object(c),!0).forEach(function(u){(0,C.default)(r,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(c)):ownKeys(Object(c)).forEach(function(u){Object.defineProperty(r,u,Object.getOwnPropertyDescriptor(c,u))})}return r}function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var S=u.default=function(r){function Commands(){var r;(0,y.default)(this,Commands);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return(r=function _callSuper(r,u,c){return u=(0,k.default)(u),(0,m.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,k.default)(r).constructor):u.apply(r,c))}(this,Commands,[].concat(c))).current={},r.currentArgs={},r.currentTrace=[],r.commands={},r.components={},Object.defineProperty(r,"classes",{get:function get(){return x.default.deprecated("$e.commands.classes","3.7.0","$e.commands.getCommandClass(), $e.commandsInternal.getCommandClass(), $e.data.getCommandClass(), $e.routes.getCommandClass() according to the requested command infra-structure,"),_objectSpread(_objectSpread(_objectSpread(_objectSpread({},$e.commands.commands),$e.commandsInternal.commands),$e.data.commands),$e.routes.commands)}}),r}return(0,b.default)(Commands,r),(0,g.default)(Commands,[{key:"getCommandClass",value:function getCommandClass(r){return this.commands[r]}},{key:"getAll",value:function getAll(){return Object.keys(this.commands).sort()}},{key:"register",value:function register(r,u,c){var l,p=this;"string"==typeof r?(l=r,(r=$e.components.get(l))||this.error("'".concat(l,"' component is not exist."))):l=r.getNamespace();var v=l+(u?"/"+u:"");this.commands[v]&&this.error("`".concat(v,"` is already registered.")),this.commands[v]=c,this.components[v]=l;var h=r.getShortcuts()[u];return h&&(h.command=v,h.callback=function(r){return p.runShortcut(v,r)},$e.shortcuts.register(h.keys,h)),this}},{key:"unregister",value:function unregister(r,u){var c;"string"==typeof r?(c=r,(r=$e.components.get(c))||this.error("'".concat(c,"' component is not exist."))):c=r.getNamespace();var l=c+(u?"/"+u:"");this.commands[l]||this.error("`".concat(l,"` not exist.")),delete this.commands[l],delete this.components[l];var p=r.getShortcuts()[u];return p&&$e.shortcuts.unregister(p.keys,p),this}},{key:"getComponent",value:function getComponent(r){var u=this.components[r];return $e.components.get(u)}},{key:"is",value:function is(r){var u=this.getComponent(r);return!!u&&r===this.current[u.getServiceName()]}},{key:"isCurrentFirstTrace",value:function isCurrentFirstTrace(r){return r===this.getCurrentFirstTrace()}},{key:"getCurrent",value:function getCurrent(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r?!!this.current[r]&&this.current[r]:this.current}},{key:"getCurrentArgs",value:function getCurrentArgs(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r?!!this.currentArgs[r]&&this.currentArgs[r]:this.currentArgs}},{key:"getCurrentFirst",value:function getCurrentFirst(){return Object.values(this.current)[0]}},{key:"getCurrentLast",value:function getCurrentLast(){var r=Object.values(this.current);return r[r.length-1]}},{key:"getCurrentFirstTrace",value:function getCurrentFirstTrace(){return this.currentTrace[0]}},{key:"beforeRun",value:function beforeRun(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],l=this.getComponent(r),p=l.getServiceName();c&&this.addCurrentTrace(p,r,u),u.onBefore&&u.onBefore.apply(l,[u]),this.trigger("run:before",l,r,u),window.dispatchEvent(new CustomEvent("elementor/commands/run/before",{detail:{command:r,args:u}}))}},{key:"validateRun",value:function validateRun(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.commands[r]||this.error("`".concat(r,"` not found.")),this.getComponent(r).dependency(r,u)}},{key:"run",value:function run(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.validateRun(r,u))return!1;this.beforeRun(r,u);var c=this.commands[r];c.getInstanceType&&(c=new c(u));var l=this.getComponent(r);if(!(c instanceof O.default)){var p=c.apply(l,[u]);return this.afterRun(r,u,p),p}return this.validateInstanceScope(c,l,r)?this.runInstance(c):this.removeCurrentTrace(l)}},{key:"runInstance",value:function runInstance(r){var u=null;r.onBeforeRun(r.args);try{r.onBeforeApply(r.args),u=r.run()}catch(u){if(this.catchApply(u,r),u instanceof $e.modules.HookBreak)return this.removeCurrentTrace(r.component),!1}return this.applyRunAfter(r,u)}},{key:"applyRunAfter",value:function applyRunAfter(r,u){var c=this;if(u&&"object"===(0,h.default)(u)&&u.promise&&u.then&&u.fail){return function handleJQueryDeferred(u){return u.fail(function(u){c.catchApply(u,r),c.afterRun(r.command,r.args,u)}),u.done(function(u){return c.applyRunAfterAsyncResult(r,u)})}(u)}return u instanceof Promise?this.applyRunAfterAsync(r,u):(this.applyRunAfterSync(r,u),u)}},{key:"applyRunAfterSync",value:function applyRunAfterSync(r,u){r.onAfterApply(r.args,u),r.onAfterRun(r.args,u),this.afterRun(r.command,r.args,u)}},{key:"applyRunAfterAsync",value:function applyRunAfterAsync(r,u){var c=this;return(0,v.default)(p.default.mark(function _callee(){return p.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=1,u.catch(function(u){c.catchApply(u,r),c.afterRun(r.command,r.args,u)});case 1:return l.next=2,u.then(function(u){return c.applyRunAfterAsyncResult(r,u)});case 2:return l.abrupt("return",u);case 3:case"end":return l.stop()}},_callee)}))()}},{key:"applyRunAfterAsyncResult",value:(u=(0,v.default)(p.default.mark(function _callee2(r,u){var c,l;return p.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(c=r.onAfterApply(r.args,u),!(l=Array.isArray(c)?c.flat().filter(function(r){return r instanceof Promise}):[]).length){p.next=1;break}return p.next=1,Promise.all(l);case 1:r.onAfterRun(r.args,u),this.afterRun(r.command,r.args,u);case 2:case"end":return p.stop()}},_callee2,this)})),function applyRunAfterAsyncResult(r,c){return u.apply(this,arguments)})},{key:"afterRun",value:function afterRun(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],p=this.getComponent(r);u.onAfter&&u.onAfter.apply(p,[u,c]),this.trigger("run:after",p,r,u,c),window.dispatchEvent(new CustomEvent("elementor/commands/run/after",{detail:{command:r,args:u}})),l&&this.removeCurrentTrace(p)}},{key:"catchApply",value:function catchApply(r,u){u.onCatchApply(r),A.default.error(r)}},{key:"runShortcut",value:function runShortcut(r,u){return this.run(r,u)}},{key:"validateInstanceScope",value:function validateInstanceScope(r,u,c){return r instanceof O.default||this.error("invalid instance, command: '".concat(c,"' ")),u===r.component||($e.devTools&&$e.devTools.log.warn("Command: '".concat(c,"' registerArgs.component: '").concat(r.component.getNamespace(),"' while current component is: '").concat(u.getNamespace(),"'")),!1)}},{key:"addCurrentTrace",value:function addCurrentTrace(r,u,c){this.currentTrace.push(u),Commands.trace.push(u),this.attachCurrent(r,u,c)}},{key:"removeCurrentTrace",value:function removeCurrentTrace(r){var u=r.getServiceName();this.currentTrace.pop(),Commands.trace.pop(),this.detachCurrent(u)}},{key:"attachCurrent",value:function attachCurrent(r,u,c){this.current[r]=u,this.currentArgs[r]=c}},{key:"detachCurrent",value:function detachCurrent(r){delete this.current[r],delete this.currentArgs[r]}},{key:"error",value:function error(r){throw Error("Commands: ".concat(r))}}]);var u}(R.default);(0,C.default)(S,"trace",[])},20603:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Base=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(84743));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Base=function(r){function Base(){return(0,p.default)(this,Base),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Base,arguments)}return(0,g.default)(Base,r),(0,v.default)(Base,[{key:"getType",value:function getType(){return"data"}}])}(m.default);u.default=k},21024:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(41621)),m=l(c(87861)),k=l(c(85707)),b=l(c(3231));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,u,c,l){var p=(0,g.default)((0,y.default)(1&l?r.prototype:r),u,c);return 2&l&&"function"==typeof p?function(r){return p.apply(c,r)}:p}var C=u.default=function(r){function BasePrefixStorage(){return(0,p.default)(this,BasePrefixStorage),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,BasePrefixStorage,arguments)}return(0,m.default)(BasePrefixStorage,r),(0,v.default)(BasePrefixStorage,[{key:"clear",value:function clear(){var r=this;Object.keys(this.getAll()).forEach(function(u){return r.removeItem(u)})}},{key:"getItem",value:function getItem(r){return _superPropGet(BasePrefixStorage,"getItem",this,3)([BasePrefixStorage.DEFAULT_KEY_PREFIX+r])}},{key:"removeItem",value:function removeItem(r){return _superPropGet(BasePrefixStorage,"removeItem",this,3)([BasePrefixStorage.DEFAULT_KEY_PREFIX+r])}},{key:"setItem",value:function setItem(r,u){return _superPropGet(BasePrefixStorage,"setItem",this,3)([BasePrefixStorage.DEFAULT_KEY_PREFIX+r,u])}},{key:"getAll",value:function getAll(){var r=this,u=BasePrefixStorage.DEFAULT_KEY_PREFIX,c=Object.keys(this.provider),l={};return c.forEach(function(c){c.startsWith(u)&&(c=c.replace(u,""),l[c]=r.getItem(c))}),l}}])}(b.default);(0,k.default)(C,"DEFAULT_KEY_PREFIX","e_")},22835:(r,u,c)=>{var l=c(29402),p=c(91270),v=c(65826),h=c(86060);function _wrapNativeSuper(u){var c="function"==typeof Map?new Map:void 0;return r.exports=_wrapNativeSuper=function _wrapNativeSuper(r){if(null===r||!v(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==c){if(c.has(r))return c.get(r);c.set(r,Wrapper)}function Wrapper(){return h(r,arguments,l(this).constructor)}return Wrapper.prototype=Object.create(r.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),p(Wrapper,r)},r.exports.__esModule=!0,r.exports.default=r.exports,_wrapNativeSuper(u)}r.exports=_wrapNativeSuper,r.exports.__esModule=!0,r.exports.default=r.exports},23697:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Base=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(84743));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Base=function(r){function Base(){return(0,p.default)(this,Base),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Base,arguments)}return(0,g.default)(Base,r),(0,v.default)(Base,[{key:"getType",value:function getType(){return"ui"}}])}(m.default);u.default=k},25279:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Toggle=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(83535));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Toggle=function(r){function Toggle(){return(0,p.default)(this,Toggle),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Toggle,arguments)}return(0,g.default)(Toggle,r),(0,v.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}])}(m.default);u.default=k},29402:r=>{function _getPrototypeOf(u){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(u)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},31058:(r,u,c)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"After",{enumerable:!0,get:function get(){return l.After}}),Object.defineProperty(u,"Base",{enumerable:!0,get:function get(){return p.Base}}),Object.defineProperty(u,"Before",{enumerable:!0,get:function get(){return v.Before}}),Object.defineProperty(u,"Catch",{enumerable:!0,get:function get(){return h.Catch}});var l=c(61856),p=c(23697),v=c(52003),h=c(66777)},31823:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(21024));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function LocalStorage(){return(0,p.default)(this,LocalStorage),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,LocalStorage,[localStorage])}return(0,g.default)(LocalStorage,r),(0,v.default)(LocalStorage,[{key:"debug",value:function debug(){var r=this.getAll(),u={};return Object.keys(r).sort().forEach(function(c){var l=r[c];u[c]=l}),u}}])}(m.default)},33343:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(41621)),m=l(c(87861)),k=l(c(15606));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function Data(){var r;(0,p.default)(this,Data);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return(r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Data,[].concat(c))).callbacks.dependency={},r.depth.dependency={},r}return(0,m.default)(Data,r),(0,v.default)(Data,[{key:"getType",value:function getType(){return"data"}},{key:"runCallback",value:function runCallback(r,u,c,l){switch(r){case"dependency":if(!u.callback(c))throw this.depth[r][u.id]--,new $e.modules.HookBreak;return!0;case"catch":case"after":return u.callback(c,l)||"after"===r}return!1}},{key:"shouldRun",value:function shouldRun(r){return function _superPropGet(r,u,c,l){var p=(0,g.default)((0,y.default)(1&l?r.prototype:r),u,c);return 2&l&&"function"==typeof p?function(r){return p.apply(c,r)}:p}(Data,"shouldRun",this,3)([r])&&elementor.documents.getCurrent().history.getActive()}},{key:"onRun",value:function onRun(r,u,c){$e.devTools&&$e.devTools.log.callbacks().run(this.getType(),r,u,c)}},{key:"onCallback",value:function onCallback(r,u,c,l){$e.devTools&&$e.devTools.log.callbacks().callback(this.getType(),r,u,c,l)}}])}(k.default)},33448:r=>{function _isNativeReflectConstruct(){try{var u=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(u){}return(r.exports=_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!u},r.exports.__esModule=!0,r.exports.default=r.exports)()}r.exports=_isNativeReflectConstruct,r.exports.__esModule=!0,r.exports.default=r.exports},33929:(r,u,c)=>{var l=c(67114),p=c(89736);r.exports=function AsyncIterator(r,u){function n(c,p,v,h){try{var y=r[c](p),g=y.value;return g instanceof l?u.resolve(g.v).then(function(r){n("next",r,v,h)},function(r){n("throw",r,v,h)}):u.resolve(g).then(function(r){y.value=r,v(y)},function(r){return n("throw",r,v,h)})}catch(r){h(r)}}var c;this.next||(p(AsyncIterator.prototype),p(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),p(this,"_invoke",function(r,l,p){function f(){return new u(function(u,c){n(r,p,u,c)})}return c=c?c.then(f,f):f()},!0)},r.exports.__esModule=!0,r.exports.default=r.exports},34550:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(641));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function _default(){var r;(0,p.default)(this,_default);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return(r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,_default,[].concat(c))).components={},r.activeComponents={},r}return(0,g.default)(_default,r),(0,v.default)(_default,[{key:"getAll",value:function getAll(){return Object.keys(this.components).sort()}},{key:"register",value:function register(r){if(!this.components[r.getNamespace()])return r.registerAPI(),this.components[r.getNamespace()]=r,r}},{key:"get",value:function get(r){return this.components[r]}},{key:"getActive",value:function getActive(){return this.activeComponents}},{key:"activate",value:function activate(r){this.inactivate(r),this.activeComponents[r]=!0}},{key:"inactivate",value:function inactivate(r){delete this.activeComponents[r]}},{key:"isActive",value:function isActive(r){return!!this.activeComponents[r]}}])}(m.default)},34662:(r,u,c)=>{"use strict";var l=c(96784),p=c(10564);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var v=l(c(39805)),h=l(c(40989)),y=l(c(15118)),g=l(c(29402)),m=l(c(87861)),k=l(c(85707)),b=l(c(83535)),C=function _interopRequireWildcard(r,u){if("function"==typeof WeakMap)var c=new WeakMap,l=new WeakMap;return function _interopRequireWildcard(r,u){if(!u&&r&&r.__esModule)return r;var v,h,y={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return y;if(v=u?l:c){if(v.has(r))return v.get(r);v.set(r,y)}for(var g in r)"default"!==g&&{}.hasOwnProperty.call(r,g)&&((h=(v=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,g))&&(h.get||h.set)?v(y,g,h):y[g]=r[g]);return y}(r,u)}(c(58269));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function CommandData(r){var u,c,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e.data;return(0,v.default)(this,CommandData),c=function _callSuper(r,u,c){return u=(0,g.default)(u),(0,y.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,g.default)(r).constructor):u.apply(r,c))}(this,CommandData,[r,l]),(0,k.default)(c,"data",void 0),(0,k.default)(c,"type",void 0),null!==(u=c.args.options)&&void 0!==u&&u.type&&(c.type=c.args.options.type),c}return(0,m.default)(CommandData,r),(0,h.default)(CommandData,[{key:"getApplyMethods",value:function getApplyMethods(){var r,u;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type){case"create":r=this.applyBeforeCreate,u=this.applyAfterCreate;break;case"delete":r=this.applyBeforeDelete,u=this.applyAfterDelete;break;case"get":r=this.applyBeforeGet,u=this.applyAfterGet;break;case"update":r=this.applyBeforeUpdate,u=this.applyAfterUpdate;break;case"options":r=this.applyBeforeOptions,u=this.applyAfterOptions;break;default:return!1}return{before:r.bind(this),after:u.bind(this)}}},{key:"getRequestData",value:function getRequestData(){return{type:this.type,args:this.args,timestamp:(new Date).getTime(),component:this.component,command:this.command,endpoint:$e.data.commandToEndpoint(this.command,JSON.parse(JSON.stringify(this.args)),this.constructor.getEndpointFormat())}}},{key:"apply",value:function apply(){var r=this,u=this.getApplyMethods();this.args=u.before(this.args);var c=this.getRequestData();return $e.data.fetch(c).then(function(l){return r.data=l,r.data=u.after(l,r.args),r.data={data:r.data},r.data=Object.assign({__requestData__:c},r.data),r.data})}},{key:"applyBeforeCreate",value:function applyBeforeCreate(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterCreate",value:function applyAfterCreate(r){return r}},{key:"applyBeforeDelete",value:function applyBeforeDelete(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterDelete",value:function applyAfterDelete(r){return r}},{key:"applyBeforeGet",value:function applyBeforeGet(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterGet",value:function applyAfterGet(r){return r}},{key:"applyBeforeUpdate",value:function applyBeforeUpdate(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterUpdate",value:function applyAfterUpdate(r){return r}},{key:"applyBeforeOptions",value:function applyBeforeOptions(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterOptions",value:function applyAfterOptions(r){return r}},{key:"applyAfterCatch",value:function applyAfterCatch(r){r.notify()}},{key:"onCatchApply",value:function onCatchApply(r){var u,c=(null===(u=r)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.status)||501,l=Object.values(C).find(function(r){return r.getHTTPErrorCode()===c});l||(l=C.DefaultError),r=l.create(r.message,r.code,r.data||[]),this.runCatchHooks(r),this.applyAfterCatch(r)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandData"}},{key:"getEndpointFormat",value:function getEndpointFormat(){return null}}])}(b.default)},36417:r=>{r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},37662:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Error404=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(60395)),k=l(c(88413));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var b=u.Error404=function(r){function Error404(){return(0,p.default)(this,Error404),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Error404,arguments)}return(0,g.default)(Error404,r),(0,v.default)(Error404,[{key:"notify",value:function notify(){k.default.warn(this.message)}}],[{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){return 404}}])}(m.default);u.default=b},37744:(r,u,c)=>{var l=c(78113);r.exports=function _unsupportedIterableToArray(r,u){if(r){if("string"==typeof r)return l(r,u);var c={}.toString.call(r).slice(8,-1);return"Object"===c&&r.constructor&&(c=r.constructor.name),"Map"===c||"Set"===c?Array.from(r):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?l(r,u):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},39805:r=>{r.exports=function _classCallCheck(r,u){if(!(r instanceof u))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},40259:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(78941)),y=l(c(88413));u.default=function(){return(0,v.default)(function Shortcuts(r){(0,p.default)(this,Shortcuts),this.specialKeys={13:"enter",27:"esc",38:"up",40:"down",46:"del",191:"?"},this.component="",this.handlers={},this.bindListener(r)},[{key:"bindListener",value:function bindListener(r){var u=this;r.on("keydown",function(r){return u.handle(r)})}},{key:"getAll",value:function getAll(){var r={};return jQuery.each(this.handlers,function(u,c){jQuery.each(c,function(c,l){r[l.command]=u})}),r}},{key:"register",value:function register(r,u){var c=this;r.replace(" ","").split(",").forEach(function(r){c.handlers[r]||(c.handlers[r]=[]),c.handlers[r].push(u)})}},{key:"unregister",value:function unregister(r,u){var c=this;r.replace(" ","").split(",").forEach(function(r){c.handlers[r].forEach(function(l,p){u===p&&delete c.handlers[r][l]})})}},{key:"handle",value:function handle(r){var u=this.getHandlersByPriority(r);if(u){var c=u.filter(function(u){if(u.exclude&&-1!==u.exclude.indexOf("input")){var c=jQuery(r.target);if(c.is(":input, .elementor-input")||c.closest('[contenteditable="true"]').length)return!1}return!(u.dependency&&!u.dependency(r))&&!(!u.allowAltKey&&r.altKey)});c.length&&(1<c.length&&elementorWebCliConfig.isDebug&&y.default.warn("Multiple handlers for shortcut.",c,r),r.preventDefault(),c[0].callback(r))}}},{key:"isControlEvent",value:function isControlEvent(r){return r[h.default.mac?"metaKey":"ctrlKey"]}},{key:"getEventShortcut",value:function getEventShortcut(r){var u=[];return r.altKey&&u.push("alt"),this.isControlEvent(r)&&u.push("ctrl"),r.shiftKey&&u.push("shift"),this.specialKeys[r.which]?u.push(this.specialKeys[r.which]):u.push(String.fromCharCode(r.which).toLowerCase()),u.join("+")}},{key:"isActiveScope",value:function isActiveScope(r){var u=Object.keys($e.components.activeComponents),c=u[u.length-1],l=$e.components.get(c);if(!l)return!1;var p=l.getNamespace();if(r.some(function(r){return p===r}))return!0;var v=l.getServiceName();return r.some(function(r){return v===r})}},{key:"getHandlersByPriority",value:function getHandlersByPriority(r){var u=this,c=this.handlers[this.getEventShortcut(r)];if(!c)return!1;var l=c.filter(function(r){return r.scopes&&u.isActiveScope(r.scopes)});if(l.length)return l;var p=c.filter(function(r){return!r.scopes});return p.length?p:void 0}}])}()},40397:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(85707)),v=l(c(18821)),h=l(c(39805)),y=l(c(40989)),g=l(c(15118)),m=l(c(29402)),k=l(c(87861)),b=l(c(41019)),C=c(58007),R=l(c(641)),O=l(c(13452)),A=l(c(92766));function ownKeys(r,u){var c=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);u&&(l=l.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),c.push.apply(c,l)}return c}function _objectSpread(r){for(var u=1;u<arguments.length;u++){var c=null!=arguments[u]?arguments[u]:{};u%2?ownKeys(Object(c),!0).forEach(function(u){(0,p.default)(r,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(c)):ownKeys(Object(c)).forEach(function(u){Object.defineProperty(r,u,Object.getOwnPropertyDescriptor(c,u))})}return r}function _callSuper(r,u,c){return u=(0,m.default)(u),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,m.default)(r).constructor):u.apply(r,c))}function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function ComponentBase(){return(0,h.default)(this,ComponentBase),_callSuper(this,ComponentBase,arguments)}return(0,k.default)(ComponentBase,r),(0,y.default)(ComponentBase,[{key:"__construct",value:function __construct(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.manager&&(this.manager=r.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var r=this;Object.entries(this.getTabs()).forEach(function(u){return r.registerTabRoute(u[0])}),Object.entries(this.getRoutes()).forEach(function(u){var c=(0,v.default)(u,2),l=c[0],p=c[1];return r.registerRoute(l,p)}),Object.entries(this.getCommands()).forEach(function(u){var c=(0,v.default)(u,2),l=c[0],p=c[1];return r.registerCommand(l,p)}),Object.entries(this.getCommandsInternal()).forEach(function(u){var c=(0,v.default)(u,2),l=c[0],p=c[1];return r.registerCommandInternal(l,p)}),Object.values(this.getHooks()).forEach(function(u){return r.registerHook(u)}),Object.entries(this.getData()).forEach(function(u){var c=(0,v.default)(u,2),l=c[0],p=c[1];return r.registerData(l,p)}),Object.values(this.getUiStates()).forEach(function(u){return r.registerUiState(u)}),Object.entries(this.getStates()).forEach(function(u){var c=(0,v.default)(u,2),l=c[0],p=c[1];return r.registerState(l,p)})}},{key:"getNamespace",value:function getNamespace(){(0,O.default)()}},{key:"getRootContainer",value:function getRootContainer(){return A.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(r,u){var c;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":c=$e.commands;break;case"internal":c=$e.commandsInternal;break;case"data":c=$e.data;break;default:throw new Error("Invalid commands type: '".concat(r,"'"))}var l=this.getNamespace()+"/"+r,p={command:l,component:this};!!u.getInstanceType&&u.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(l,"', context is unknown type.")),p.callback=u,u=function(r){function context(){return(0,h.default)(this,context),_callSuper(this,context,arguments)}return(0,k.default)(context,r),(0,y.default)(context)}(b.default)),u.setRegisterConfig(p),c.register(this,r,u)}},{key:"registerHook",value:function registerHook(r){return r.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(r,u){this.registerCommand(r,u,"internal")}},{key:"registerUiState",value:function registerUiState(r){$e.uiStates.register(r)}},{key:"registerState",value:function registerState(r,u){r=this.getNamespace()+(r?"/".concat(r):"");var c=(0,C.createSlice)(_objectSpread(_objectSpread({},u),{},{name:r}));$e.store.register(r,c)}},{key:"registerRoute",value:function registerRoute(r,u){$e.routes.register(this,r,u)}},{key:"registerData",value:function registerData(r,u){this.registerCommand(r,u,"data")}},{key:"unregisterRoute",value:function unregisterRoute(r){$e.routes.unregister(this,r)}},{key:"registerTabRoute",value:function registerTabRoute(r){var u=this;this.registerRoute(r,function(c){return u.activateTab(r,c)})}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(r){this.toggleRouteClass(r,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",r)}},{key:"onCloseRoute",value:function onCloseRoute(r){this.toggleRouteClass(r,!1),this.inactivate(),this.trigger("route/close",r)}},{key:"setDefaultRoute",value:function setDefaultRoute(r){this.defaultRoute=this.getNamespace()+"/"+r}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(r){delete this.tabs[r],this.unregisterRoute(r)}},{key:"hasTab",value:function hasTab(r){return!!this.tabs[r]}},{key:"addTab",value:function addTab(r,u,c){var l=this;if(this.tabs[r]=u,void 0!==c){var p={},v=Object.keys(this.tabs);v.pop(),v.splice(c,0,r),v.forEach(function(r){p[r]=l.tabs[r]}),this.tabs=p}this.registerTabRoute(r)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(r){return this.getNamespace()+"/"+r}},{key:"renderTab",value:function renderTab(r){}},{key:"activateTab",value:function activateTab(r,u){var c=this;this.renderTab(r,u),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",function(r){$e.route(c.getTabRoute(r.currentTarget.dataset.tab),u)}).removeClass("elementor-active").filter('[data-tab="'+r+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(r){return"e-route-"+r.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(r){return r.replace(/[A-Z]/g,function(r,u){return(u>0?"-":"")+r.toLowerCase()})}},{key:"importCommands",value:function importCommands(r){var u=this,c={};return Object.entries(r).forEach(function(r){var l=(0,v.default)(r,2),p=l[0],h=l[1],y=u.normalizeCommandName(p);c[y]=h}),c}},{key:"importHooks",value:function importHooks(r){var u={};for(var c in r){var l=new r[c];u[l.getId()]=l}return u}},{key:"importUiStates",value:function importUiStates(r){var u=this,c={};return Object.values(r).forEach(function(r){var l=new r(u);c[l.getId()]=l}),c}},{key:"setUiState",value:function setUiState(r,u){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(r),u)}},{key:"toggleRouteClass",value:function toggleRouteClass(r,u){document.body.classList.toggle(this.getBodyClass(r),u)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}])}(R.default)},40989:(r,u,c)=>{var l=c(45498);function _defineProperties(r,u){for(var c=0;c<u.length;c++){var p=u[c];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(r,l(p.key),p)}}r.exports=function _createClass(r,u,c){return u&&_defineProperties(r.prototype,u),c&&_defineProperties(r,c),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},41019:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(83535));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function CommandCallbackBase(){return(0,p.default)(this,CommandCallbackBase),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,CommandCallbackBase,arguments)}return(0,g.default)(CommandCallbackBase,r),(0,v.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(r)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}])}(m.default)},41621:(r,u,c)=>{var l=c(14718);function _get(){return r.exports=_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(r,u,c){var p=l(r,u);if(p){var v=Object.getOwnPropertyDescriptor(p,u);return v.get?v.get.call(arguments.length<3?r:c):v.value}},r.exports.__esModule=!0,r.exports.default=r.exports,_get.apply(null,arguments)}r.exports=_get,r.exports.__esModule=!0,r.exports.default=r.exports},45498:(r,u,c)=>{var l=c(10564).default,p=c(11327);r.exports=function toPropertyKey(r){var u=p(r,"string");return"symbol"==l(u)?u:u+""},r.exports.__esModule=!0,r.exports.default=r.exports},46313:(r,u,c)=>{var l=c(9535),p=c(33929);r.exports=function _regeneratorAsyncGen(r,u,c,v,h){return new p(l().w(r,u,c,v),h||Promise)},r.exports.__esModule=!0,r.exports.default=r.exports},50087:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Catch=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(20603));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Catch=function(r){function Catch(){return(0,p.default)(this,Catch),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Catch,arguments)}return(0,g.default)(Catch,r),(0,v.default)(Catch,[{key:"register",value:function register(){$e.hooks.registerDataCatch(this)}}])}(m.default);u.default=k},52003:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Before=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(23697));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Before=function(r){function Before(){return(0,p.default)(this,Before),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Before,arguments)}return(0,g.default)(Before,r),(0,v.default)(Before,[{key:"register",value:function register(){$e.hooks.registerUIBefore(this)}}])}(m.default);u.default=k},53051:(r,u,c)=>{var l=c(67114),p=c(9535),v=c(62507),h=c(46313),y=c(33929),g=c(95315),m=c(66961);function _regeneratorRuntime(){"use strict";var u=p(),c=u.m(_regeneratorRuntime),k=(Object.getPrototypeOf?Object.getPrototypeOf(c):c.__proto__).constructor;function n(r){var u="function"==typeof r&&r.constructor;return!!u&&(u===k||"GeneratorFunction"===(u.displayName||u.name))}var b={throw:1,return:2,break:3,continue:3};function a(r){var u,c;return function(l){u||(u={stop:function stop(){return c(l.a,2)},catch:function _catch(){return l.v},abrupt:function abrupt(r,u){return c(l.a,b[r],u)},delegateYield:function delegateYield(r,p,v){return u.resultName=p,c(l.d,m(r),v)},finish:function finish(r){return c(l.f,r)}},c=function t(r,c,p){l.p=u.prev,l.n=u.next;try{return r(c,p)}finally{u.next=l.n}}),u.resultName&&(u[u.resultName]=l.v,u.resultName=void 0),u.sent=l.v,u.next=l.n;try{return r.call(this,u)}finally{l.p=u.prev,l.n=u.next}}}return(r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return{wrap:function wrap(r,c,l,p){return u.w(a(r),c,l,p&&p.reverse())},isGeneratorFunction:n,mark:u.m,awrap:function awrap(r,u){return new l(r,u)},AsyncIterator:y,async:function async(r,u,c,l,p){return(n(u)?h:v)(a(r),u,c,l,p)},keys:g,values:m}},r.exports.__esModule=!0,r.exports.default=r.exports)()}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},58007:r=>{"use strict";r.exports=elementorVendors.reduxToolkit},58155:r=>{function asyncGeneratorStep(r,u,c,l,p,v,h){try{var y=r[v](h),g=y.value}catch(r){return void c(r)}y.done?u(g):Promise.resolve(g).then(l,p)}r.exports=function _asyncToGenerator(r){return function(){var u=this,c=arguments;return new Promise(function(l,p){var v=r.apply(u,c);function _next(r){asyncGeneratorStep(v,l,p,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(v,l,p,_next,_throw,"throw",r)}_next(void 0)})}},r.exports.__esModule=!0,r.exports.default=r.exports},58269:(r,u,c)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"DefaultError",{enumerable:!0,get:function get(){return l.DefaultError}}),Object.defineProperty(u,"Error404",{enumerable:!0,get:function get(){return p.Error404}});var l=c(10203),p=c(37662)},60395:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(22835)),k=l(c(85707)),b=l(c(88413)),C=l(c(13452));function ownKeys(r,u){var c=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);u&&(l=l.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),c.push.apply(c,l)}return c}function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function BaseError(){var r,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,p.default)(this,BaseError),r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,BaseError,[u]),(0,k.default)(r,"code",""),(0,k.default)(r,"data",[]),r.code=c,r.data=l,r}return(0,g.default)(BaseError,r),(0,v.default)(BaseError,[{key:"notify",value:function notify(){b.default.error(function _objectSpread(r){for(var u=1;u<arguments.length;u++){var c=null!=arguments[u]?arguments[u]:{};u%2?ownKeys(Object(c),!0).forEach(function(u){(0,k.default)(r,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(c)):ownKeys(Object(c)).forEach(function(u){Object.defineProperty(r,u,Object.getOwnPropertyDescriptor(c,u))})}return r}({message:this.message},this))}}],[{key:"create",value:function create(r){return new this(r,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}},{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){(0,C.default)()}}])}((0,m.default)(Error))},61790:(r,u,c)=>{var l=c(53051)();r.exports=l;try{regeneratorRuntime=l}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=l:Function("r","regeneratorRuntime = r")(l)}},61856:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.After=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(23697));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.After=function(r){function After(){return(0,p.default)(this,After),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,After,arguments)}return(0,g.default)(After,r),(0,v.default)(After,[{key:"register",value:function register(){$e.hooks.registerUIAfter(this)}}])}(m.default);u.default=k},62507:(r,u,c)=>{var l=c(46313);r.exports=function _regeneratorAsync(r,u,c,p,v){var h=l(r,u,c,p,v);return h.next().then(function(r){return r.done?r.value:h.next()})},r.exports.__esModule=!0,r.exports.default=r.exports},64537:r=>{r.exports=function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')},r.exports.__esModule=!0,r.exports.default=r.exports},64859:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(15118)),v=l(c(29402)),h=l(c(87861)),y=l(c(39805)),g=l(c(40989)),m=l(c(40397));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(){return(0,g.default)(function BackwardsCompatibility(){(0,y.default)(this,BackwardsCompatibility)},[{key:"ensureTab",value:function ensureTab(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=$e.components.get(r);if(!l){var k=function(u){function Component(){return(0,y.default)(this,Component),function _callSuper(r,u,c){return u=(0,v.default)(u),(0,p.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,v.default)(r).constructor):u.apply(r,c))}(this,Component,arguments)}return(0,h.default)(Component,u),(0,g.default)(Component,[{key:"getNamespace",value:function getNamespace(){return r}},{key:"renderTab",value:function renderTab(r){elementor.getPanelView().setPage(c).activateTab(r)}}])}(m.default);l=$e.components.register(new k)}!l.hasTab(u)&&elementor.config.tabs[u]&&l.addTab(u,{title:elementor.config.tabs[u]})}}])}()},65474:r=>{r.exports=function _iterableToArrayLimit(r,u){var c=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=c){var l,p,v,h,y=[],g=!0,m=!1;try{if(v=(c=c.call(r)).next,0===u){if(Object(c)!==c)return;g=!1}else for(;!(g=(l=v.call(c)).done)&&(y.push(l.value),y.length!==u);g=!0);}catch(r){m=!0,p=r}finally{try{if(!g&&null!=c.return&&(h=c.return(),Object(h)!==h))return}finally{if(m)throw p}}return y}},r.exports.__esModule=!0,r.exports.default=r.exports},65826:r=>{r.exports=function _isNativeFunction(r){try{return-1!==Function.toString.call(r).indexOf("[native code]")}catch(u){return"function"==typeof r}},r.exports.__esModule=!0,r.exports.default=r.exports},66777:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Catch=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(23697));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Catch=function(r){function Catch(){return(0,p.default)(this,Catch),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Catch,arguments)}return(0,g.default)(Catch,r),(0,v.default)(Catch,[{key:"register",value:function register(){$e.hooks.registerUICatch(this)}}])}(m.default);u.default=k},66961:(r,u,c)=>{var l=c(10564).default;r.exports=function _regeneratorValues(r){if(null!=r){var u=r["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],c=0;if(u)return u.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length))return{next:function next(){return r&&c>=r.length&&(r=void 0),{value:r&&r[c++],done:!r}}}}throw new TypeError(l(r)+" is not iterable")},r.exports.__esModule=!0,r.exports.default=r.exports},67114:r=>{r.exports=function _OverloadYield(r,u){this.v=r,this.k=u},r.exports.__esModule=!0,r.exports.default=r.exports},67149:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(61790)),v=l(c(58155)),h=l(c(18821)),y=l(c(39805)),g=l(c(40989)),m=l(c(85707)),k=l(c(88413));function _createForOfIteratorHelper(r,u){var c="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!c){if(Array.isArray(r)||(c=function _unsupportedIterableToArray(r,u){if(r){if("string"==typeof r)return _arrayLikeToArray(r,u);var c={}.toString.call(r).slice(8,-1);return"Object"===c&&r.constructor&&(c=r.constructor.name),"Map"===c||"Set"===c?Array.from(r):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?_arrayLikeToArray(r,u):void 0}}(r))||u&&r&&"number"==typeof r.length){c&&(r=c);var l=0,p=function F(){};return{s:p,n:function n(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function e(r){throw r},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var v,h=!0,y=!1;return{s:function s(){c=c.call(r)},n:function n(){var r=c.next();return h=r.done,r},e:function e(r){y=!0,v=r},f:function f(){try{h||null==c.return||c.return()}finally{if(y)throw v}}}}function _arrayLikeToArray(r,u){(null==u||u>r.length)&&(u=r.length);for(var c=0,l=Array(u);c<u;c++)l[c]=r[c];return l}u.default=function(){return(0,g.default)(function HashCommands(){(0,y.default)(this,HashCommands),(0,m.default)(this,"dispatchersList",{"e:run":{runner:function runner(){return $e.run},isSafe:function isSafe(r){var u;return null===(u=$e.commands.getCommandClass(r))||void 0===u?void 0:u.getInfo().isSafe},isSafeWithArgs:function isSafeWithArgs(r){var u;return null===(u=$e.commands.getCommandClass(r))||void 0===u?void 0:u.getInfo().isSafeWithArgs}},"e:route":{runner:function runner(){return $e.route},isSafe:function isSafe(){return!0},isSafeWithArgs:function isSafeWithArgs(){return!1}}}),(0,m.default)(this,"commands",[]),this.commands=this.get()},[{key:"get",value:function get(){var r=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:location.hash,c=[];u&&u.substr(1).split("&").forEach(function(u){var l=u.split("?"),p=(0,h.default)(l,2),v=p[0],y=p[1],g=v.split(":");if(3===g.length){var m=g[0]+":"+g[1];if(r.dispatchersList[m]){var k=g[2],b=r.parseCommandArgs(y);c.push({method:m,command:k,args:b})}}});return c}},{key:"run",value:(r=(0,v.default)(p.default.mark(function _callee(){var r,u,c,l,v,h,y,g,m,k,b,C=arguments;return p.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:r=C.length>0&&void 0!==C[0]?C[0]:this.commands,u=_createForOfIteratorHelper(r),p.prev=1,u.s();case 2:if((c=u.n()).done){p.next=5;break}if(l=c.value,v=this.dispatchersList[l.method]){p.next=3;break}return p.abrupt("return",Promise.reject(new Error("No dispatcher found for the command: `".concat(l.command,"`."))));case 3:if(v.isSafe(l.command)){p.next=4;break}return p.abrupt("return",Promise.reject(new Error("Attempting to run unsafe or non exist command: `".concat(l.command,"`."))));case 4:p.next=2;break;case 5:p.next=7;break;case 6:p.prev=6,k=p.catch(1),u.e(k);case 7:return p.prev=7,u.f(),p.finish(7);case 8:h=_createForOfIteratorHelper(r),p.prev=9,h.s();case 10:if((y=h.n()).done){p.next=12;break}return g=y.value,m=this.dispatchersList[g.method],p.next=11,m.runner()(g.command,m.isSafeWithArgs(g.command)?g.args:void 0);case 11:p.next=10;break;case 12:p.next=14;break;case 13:p.prev=13,b=p.catch(9),h.e(b);case 14:return p.prev=14,h.f(),p.finish(14);case 15:case"end":return p.stop()}},_callee,this,[[1,6,7,8],[9,13,14,15]])})),function run(){return r.apply(this,arguments)})},{key:"runOnce",value:function runOnce(){var r=this;this.run(this.commands).then(function(){r.commands=[]})}},{key:"parseCommandArgs",value:function parseCommandArgs(r){try{return JSON.parse(decodeURI(r||"{}"))}catch(r){return k.default.warn("Hash commands JSON args cannot be parsed. \n\n",r),{}}}}]);var r}()},70100:(r,u,c)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"After",{enumerable:!0,get:function get(){return l.After}}),Object.defineProperty(u,"Base",{enumerable:!0,get:function get(){return p.Base}}),Object.defineProperty(u,"Catch",{enumerable:!0,get:function get(){return v.Catch}}),Object.defineProperty(u,"Dependency",{enumerable:!0,get:function get(){return h.Dependency}});var l=c(77894),p=c(20603),v=c(50087),h=c(92671)},70569:r=>{r.exports=function _arrayWithHoles(r){if(Array.isArray(r))return r},r.exports.__esModule=!0,r.exports.default=r.exports},70751:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(29402)),y=l(c(41621));u.default=function(){function InstanceType(){var r=this;(0,p.default)(this,InstanceType);for(var u=this instanceof InstanceType?this.constructor:void 0,c=[];u.__proto__&&u.__proto__.name;)c.push(u.__proto__),u=u.__proto__;c.reverse().forEach(function(u){return r instanceof u})}return(0,v.default)(InstanceType,null,[{key:Symbol.hasInstance,value:function value(r){var u=function _superPropGet(r,u,c,l){var p=(0,y.default)((0,h.default)(1&l?r.prototype:r),u,c);return 2&l&&"function"==typeof p?function(r){return p.apply(c,r)}:p}(InstanceType,Symbol.hasInstance,this,2)([r]);if(r&&!r.constructor.getInstanceType)return u;if(r&&(r.instanceTypes||(r.instanceTypes=[]),u||this.getInstanceType()===r.constructor.getInstanceType()&&(u=!0),u)){var c=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===r.instanceTypes.indexOf(c)&&r.instanceTypes.push(c)}return!u&&r&&(u=r.instanceTypes&&Array.isArray(r.instanceTypes)&&-1!==r.instanceTypes.indexOf(this.getInstanceType())),u}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}()},73252:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(85707)),y=l(c(33343)),g=l(c(74741));u.default=function(){return(0,v.default)(function Hooks(){(0,p.default)(this,Hooks),(0,h.default)(this,"data",new y.default),(0,h.default)(this,"ui",new g.default)},[{key:"activate",value:function activate(){this.getTypes().forEach(function(r){r.activate()})}},{key:"deactivate",value:function deactivate(){this.getTypes().forEach(function(r){r.deactivate()})}},{key:"getAll",value:function getAll(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],u={};return this.getTypes().forEach(function(c){u[c.getType()]=c.getAll(r)}),u}},{key:"getTypes",value:function getTypes(){return[this.data,this.ui]}},{key:"getType",value:function getType(r){return this.getTypes().find(function(u){return r===u.getType()})}},{key:"register",value:function register(r,u,c){return this.getType(r).register(u,c)}},{key:"run",value:function run(r,u,c,l){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;return this.getType(r).run(u,c,l,p)}},{key:"registerDataAfter",value:function registerDataAfter(r){return this.register("data","after",r)}},{key:"registerDataCatch",value:function registerDataCatch(r){return this.register("data","catch",r)}},{key:"registerDataDependency",value:function registerDataDependency(r){return this.register("data","dependency",r)}},{key:"registerUIAfter",value:function registerUIAfter(r){return this.register("ui","after",r)}},{key:"registerUICatch",value:function registerUICatch(r){return this.register("ui","catch",r)}},{key:"registerUIBefore",value:function registerUIBefore(r){return this.register("ui","before",r)}},{key:"runDataAfter",value:function runDataAfter(r,u,c){return this.run("data","after",r,u,c)}},{key:"runDataCatch",value:function runDataCatch(r,u,c){return this.run("data","catch",r,u,c)}},{key:"runDataDependency",value:function runDataDependency(r,u){return this.run("data","dependency",r,u)}},{key:"runUIAfter",value:function runUIAfter(r,u,c){return this.run("ui","after",r,u,c)}},{key:"runUICatch",value:function runUICatch(r,u,c){return this.run("ui","catch",r,u,c)}},{key:"runUIBefore",value:function runUIBefore(r,u){return this.run("ui","before",r,u)}}])}()},74741:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(15606));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function Ui(){var r;(0,p.default)(this,Ui);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return(r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Ui,[].concat(c))).callbacks.before={},r.depth.before={},r}return(0,g.default)(Ui,r),(0,v.default)(Ui,[{key:"getType",value:function getType(){return"ui"}},{key:"runCallback",value:function runCallback(r,u,c,l){switch(r){case"before":u.callback(c);break;case"catch":case"after":u.callback(c,l);break;default:return!1}return!0}},{key:"onRun",value:function onRun(r,u,c){$e.devTools&&$e.devTools.log.callbacks().run(this.getType(),r,u,c)}},{key:"onCallback",value:function onCallback(r,u,c,l){$e.devTools&&$e.devTools.log.callbacks().callback(this.getType(),r,u,c,l)}}])}(m.default)},76189:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(18821)),v=l(c(39805)),h=l(c(40989)),y=l(c(85707)),g=c(58007);function ownKeys(r,u){var c=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);u&&(l=l.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),c.push.apply(c,l)}return c}function _objectSpread(r){for(var u=1;u<arguments.length;u++){var c=null!=arguments[u]?arguments[u]:{};u%2?ownKeys(Object(c),!0).forEach(function(u){(0,y.default)(r,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(c)):ownKeys(Object(c)).forEach(function(u){Object.defineProperty(r,u,Object.getOwnPropertyDescriptor(c,u))})}return r}u.default=function(){return(0,h.default)(function Store(){(0,v.default)(this,Store),(0,y.default)(this,"slices",{}),(0,y.default)(this,"reduxStore",void 0),this.slices={},this.reduxStore=this.createStore()},[{key:"createStore",value:function createStore(){return(0,g.configureStore)({reducer:function reducer(){}})}},{key:"injectReducer",value:function injectReducer(r,u){var c=this.getReducers();this.reduxStore.replaceReducer((0,g.combineReducers)(_objectSpread(_objectSpread({},c),{},(0,y.default)({},r,u))))}},{key:"register",value:function register(r,u){if(this.slices[r])throw"Slice with ID '".concat(r,"' already exists.");this.slices[r]=u,this.injectReducer(r,u.reducer)}},{key:"get",value:function get(r){return this.slices[r]}},{key:"getAllSlices",value:function getAllSlices(){return this.slices}},{key:"getAll",value:function getAll(){return Object.keys(this.slices).sort()}},{key:"getReducers",value:function getReducers(){return Object.entries(this.slices).reduce(function(r,u){var c=(0,p.default)(u,2),l=c[0],v=c[1];return _objectSpread(_objectSpread({},r),{},(0,y.default)({},l,v.reducer))},{})}},{key:"getReduxStore",value:function getReduxStore(){return this.reduxStore}},{key:"dispatch",value:function dispatch(){var r;return(r=this.reduxStore).dispatch.apply(r,arguments)}},{key:"getState",value:function getState(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,u=this.reduxStore.getState();return r?u[r]:u}},{key:"replaceReducer",value:function replaceReducer(){var r;return(r=this.reduxStore).replaceReducer.apply(r,arguments)}},{key:"subscribe",value:function subscribe(){var r;return(r=this.reduxStore).subscribe.apply(r,arguments)}}])}()},77894:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.After=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(20603));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.After=function(r){function After(){return(0,p.default)(this,After),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,After,arguments)}return(0,g.default)(After,r),(0,v.default)(After,[{key:"register",value:function register(){$e.hooks.registerDataAfter(this)}}])}(m.default);u.default=k},78113:r=>{r.exports=function _arrayLikeToArray(r,u){(null==u||u>r.length)&&(u=r.length);for(var c=0,l=Array(u);c<u;c++)l[c]=r[c];return l},r.exports.__esModule=!0,r.exports.default=r.exports},78941:(r,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var c=function matchUserAgent(r){return l.indexOf(r)>=0},l=navigator.userAgent,p=!!window.opr&&!!opr.addons||!!window.opera||c(" OPR/"),v=c("Firefox"),h=/^((?!chrome|android).)*safari/i.test(l)||/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),y=/Trident|MSIE/.test(l)&&!!document.documentMode,g=!y&&!!window.StyleMedia||c("Edg"),m=!!window.chrome&&c("Chrome")&&!(g||p),k=c("Chrome")&&!!window.CSS,b={appleWebkit:c("AppleWebKit")&&!k,blink:k,chrome:m,edge:g,firefox:v,ie:y,mac:c("Macintosh"),opera:p,safari:h,webkit:c("AppleWebKit")};u.default=b},79434:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.READABLE=u.EDITABLE=u.DELETABLE=u.CREATABLE=u.ALLMETHODS=void 0;var p=l(c(61790)),v=l(c(58155)),h=l(c(18821)),y=l(c(39805)),g=l(c(40989)),m=l(c(15118)),k=l(c(29402)),b=l(c(41621)),C=l(c(87861)),R=l(c(82946)),O=l(c(19218)),A=l(c(92871));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,u,c,l){var p=(0,b.default)((0,k.default)(1&l?r.prototype:r),u,c);return 2&l&&"function"==typeof p?function(r){return p.apply(c,r)}:p}var x=u.READABLE=["GET"],S=u.CREATABLE=["POST"],w=u.EDITABLE=["POST","PUT","PATCH"],j=u.DELETABLE=["DELETE"];u.ALLMETHODS=["GET","POST","PUT","PATCH","DELETE"],u.default=function(r){function Data(){var r,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,y.default)(this,Data),(r=function _callSuper(r,u,c){return u=(0,k.default)(u),(0,m.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,k.default)(r).constructor):u.apply(r,c))}(this,Data,[u])).args=Object.assign(u,{namespace:"elementor",version:"1",baseEndpointURL:elementorWebCliConfig.urls.rest}),r.cache=new A.default(r),r.validatedRequests={},r.commandFormats={},r}return(0,C.default)(Data,r),(0,g.default)(Data,[{key:"getHTTPMethod",value:function getHTTPMethod(r){switch(r){case"create":return"POST";case"delete":return"DELETE";case"get":return"GET";case"update":return"PUT";case"options":return"OPTIONS"}return!1}},{key:"getAllowedMethods",value:function getAllowedMethods(r){switch(r){case"create":return S;case"delete":return j;case"get":return x;case"update":return w;case"options":return["OPTIONS"]}return!1}},{key:"getEndpointURL",value:function getEndpointURL(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.endpoint,c=r.baseEndpointURL,l=void 0===c?this.args.baseEndpointURL:c,p=r.namespace,v=void 0===p?this.args.namespace:p,h=r.version,y=void 0===h?this.args.version:h;return"".concat(l).concat(v,"/v").concat(y,"/")+u}},{key:"commandToEndpoint",value:function commandToEndpoint(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=r;(null!=u&&u.query?Object.values(u.query).length:0)&&c&&c.includes("/{")&&c.split("/").filter(function(r){return"{"===r.charAt(0)}).forEach(function(r){r=(r=r.replace("{","")).replace("}","");var l=Object.entries(u.query).find(function(u){return(0,h.default)(u,1)[0]===r});if(l){var p=l[0],v=l[1].toString();c=c.replace(new RegExp("{"+r+"}","g"),v),delete u.query[p]}});if(c&&(l=c),c&&l.includes("/{")&&(l=l.substring(0,l.indexOf("/{"))),u.query&&Object.values(u.query).length){var p=Object.entries(u.query).sort(function(r,u){return(0,h.default)(r,1)[0]-(0,h.default)(u,1)[0]});p.length&&(l+="?",p.forEach(function(r){var u=(0,h.default)(r,2),c=u[0],p=u[1];p="".concat(p).replace(/\//g,"%2F"),l+=c+"="+p+"&"})),l=l.replace(/&$/,"")}return l}},{key:"commandExtractArgs",value:function commandExtractArgs(r){var u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null!==(u=r)&&void 0!==u&&u.includes("?")){c.query||(c.query={});var l=r.split("?"),p=l[0],v=l[1],h=new URLSearchParams(v);Object.assign(c.query,Object.fromEntries(h)),r=p}return{command:r,args:c}}},{key:"validateRequestData",value:function validateRequestData(r){var u=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!r.timestamp||!this.validatedRequests[r.timestamp]){var c=new R.default(r);c.requireArgument("component"),c.requireArgumentType("command","string"),c.requireArgumentType("endpoint","string"),u&&c.requireArgumentType("data","object",r.args),r.timestamp||(r.timestamp=(new Date).getTime()),this.validatedRequests[r.timestamp]=!0}}},{key:"prepareHeaders",value:function prepareHeaders(r){var u,c=r.type,l=elementorWebCliConfig.nonce,p={signal:null===(u=r.args)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.signal,credentials:"include"},v={"X-WP-Nonce":l},h=this.getAllowedMethods(c),y=this.getHTTPMethod(c);if("GET"===y)Object.assign(p,{headers:v});else{if(!h)throw Error("Invalid type: '".concat(c,"'"));var g,m;if(["POST","PUT"].includes(y)&&(null===(g=r.args)||void 0===g||!g.data))throw Error("Invalid requestData.args.data");Object.assign(v,{"Content-Type":"application/json"}),null!==(m=r.args)&&void 0!==m&&m.headers&&Object.assign(v,r.args.headers),Object.assign(p,{method:y,headers:v,body:"application/json"===v["Content-Type"]?JSON.stringify(r.args.data):r.args.data})}return p}},{key:"prepareEndpoint",value:function prepareEndpoint(r){var u=r.endpoint.split("?"),c=u.shift(),l=this.getEndpointURL(r,c);if(u.length){var p=l.includes("?")?"&":"?";l+=p+u.pop()}return l}},{key:"fetch",value:function fetch(r){var u,c=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.fetch;r.cache="miss";var h=null===(u=r.args.options)||void 0===u?void 0:u.refresh,y="get"===r.type&&!h,g=["create","get"].includes(r.type)&&!h;if(y){var m=this.cache.getAsync(r);if(m)return m}var k=this.prepareHeaders(r);return new Promise(function(){var u=(0,v.default)(p.default.mark(function _callee2(u,h){var y,m,b,C;return p.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.prev=0,y=c.prepareEndpoint(r),m=l(y,k),R.next=1,m.then(function(){var r=(0,v.default)(p.default.mark(function _callee(r){return p.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(r.ok){u.next=3;break}if(!r.headers.get("content-type").includes("application/json")){u.next=2;break}return u.next=1,r.json();case 1:r=u.sent;case 2:throw r;case 3:return u.abrupt("return",r.json());case 4:case"end":return u.stop()}},_callee)}));return function(u){return r.apply(this,arguments)}}());case 1:b=R.sent,g&&c.cache.set(r,b),u(b),R.next=3;break;case 2:R.prev=2,C=R.catch(0),h(C);case 3:case"end":return R.stop()}},_callee2,null,[[0,2]])}));return function(r,c){return u.apply(this,arguments)}}())}},{key:"getCache",value:function getCache(r,u){var c={query:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}};return this.cache.get({endpoint:this.commandToEndpoint(u,c,this.commandFormats[u]),component:r,command:u,args:c})}},{key:"setCache",value:function setCache(r,u,c,l){var p={query:c};this.cache.set({endpoint:this.commandToEndpoint(u,p,this.commandFormats[u]),component:r,command:u,args:p},l)}},{key:"updateCache",value:function updateCache(r,u,c,l){var p={query:c,data:l};this.cache.update({endpoint:this.commandToEndpoint(u,p,this.commandFormats[u]),component:r,command:u,args:p})}},{key:"deleteCache",value:function deleteCache(r,u){var c={query:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}};this.cache.delete({endpoint:this.commandToEndpoint(u,c,this.commandFormats[u]),component:r,command:u,args:c})}},{key:"registerFormat",value:function registerFormat(r,u){this.commandFormats[r]=u}},{key:"create",value:function create(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.run("create",r,{query:c,options:l,data:u})}},{key:"delete",value:function _delete(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.run("delete",r,{query:u,options:c})}},{key:"get",value:function get(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.run("get",r,{query:u,options:c})}},{key:"update",value:function update(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.run("update",r,{query:c,options:l,data:u})}},{key:"options",value:function options(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.run("options",r,{query:u,options:c})}},{key:"register",value:function register(r,u,c){_superPropGet(Data,"register",this,3)([r,u,c]);var l=r.getNamespace()+"/"+u,p=$e.data.getCommandClass(l),v=!(null==p||!p.getEndpointFormat)&&p.getEndpointFormat();return v&&$e.data.registerFormat(l,v),this}},{key:"run",value:function run(r,u,c){c.options.type=r;var l=this.commandExtractArgs(u,c);return u=l.command,c=l.args,_superPropGet(Data,"run",this,3)([u,c])}},{key:"error",value:function error(r){throw Error("Data commands: "+r)}}])}(O.default)},79958:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(85707)),k=l(c(82946)),b=l(c(92766));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=u.default=function(r){function CommandInfra(){var r,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,p.default)(this,CommandInfra),!(r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,CommandInfra,[u])).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return r.command=r.constructor.getCommand(),r.component=r.constructor.getComponent(),r.initialize(u),u=r.args,r.validateArgs(u),r}return(0,g.default)(CommandInfra,r),(0,v.default)(CommandInfra,[{key:"currentCommand",get:function get(){return b.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(r){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(r){this.registerConfig=Object.freeze(r)}}])}(k.default);(0,m.default)(C,"registerConfig",null)},81768:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(19218));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function CommandsInternal(){return(0,p.default)(this,CommandsInternal),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,CommandsInternal,arguments)}return(0,g.default)(CommandsInternal,r),(0,v.default)(CommandsInternal,[{key:"error",value:function error(r){throw Error("Commands internal: "+r)}}])}(m.default)},82946:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(10564)),v=l(c(39805)),h=l(c(40989)),y=l(c(15118)),g=l(c(29402)),m=l(c(87861)),k=l(c(70751)),b=l(c(15213));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function ArgsObject(r){var u;return(0,v.default)(this,ArgsObject),(u=function _callSuper(r,u,c){return u=(0,g.default)(u),(0,y.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,g.default)(r).constructor):u.apply(r,c))}(this,ArgsObject)).args=r,u}return(0,m.default)(ArgsObject,r),(0,h.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(u,r))throw Error("".concat(r," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(r,c),(0,p.default)(c[r])!==u)throw Error("".concat(r," invalid type: ").concat(u,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(r,c),!(c[r]instanceof u||(0,b.default)(c[r],u)))throw Error("".concat(r," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(r,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(r,c),c[r].constructor.toString()!==u.prototype.constructor.toString())throw Error("".concat(r," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}])}(k.default)},83070:(r,u,c)=>{"use strict";var l=c(96784),p=c(10564);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var v=l(c(39805)),h=l(c(40989)),y=l(c(64859)),g=l(c(83535)),m=l(c(4221)),k=l(c(34662)),b=l(c(19218)),C=l(c(81768)),R=l(c(40397)),O=l(c(87829)),A=l(c(34550)),x=l(c(79434)),S=l(c(67149)),w=l(c(87007)),j=l(c(73252)),T=l(c(17224)),P=l(c(40259)),N=l(c(76189)),B=l(c(16375)),E=_interopRequireWildcard(c(70100)),I=_interopRequireWildcard(c(31058));function _interopRequireWildcard(r,u){if("function"==typeof WeakMap)var c=new WeakMap,l=new WeakMap;return(_interopRequireWildcard=function _interopRequireWildcard(r,u){if(!u&&r&&r.__esModule)return r;var v,h,y={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return y;if(v=u?l:c){if(v.has(r))return v.get(r);v.set(r,y)}for(var g in r)"default"!==g&&{}.hasOwnProperty.call(r,g)&&((h=(v=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,g))&&(h.get||h.set)?v(y,g,h):y[g]=r[g]);return y})(r,u)}u.default=function(){return(0,h.default)(function API(){(0,v.default)(this,API),this.components=new A.default,this.commands=new b.default,this.commandsInternal=new C.default,this.hooks=new j.default,this.routes=new T.default,this.shortcuts=new P.default(jQuery(window)),this.data=new x.default,this.store=new N.default,this.uiStates=new B.default,this.modules={CommandBase:g.default,CommandInternalBase:m.default,CommandData:k.default,ComponentBase:R.default,ComponentModalBase:O.default,HookBreak:w.default,hookData:E,hookUI:I},this.extras={hashCommands:new S.default},this.bc=new y.default},[{key:"run",value:function run(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $e.commands.run(r,u)}},{key:"internal",value:function internal(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $e.commandsInternal.run(r,u)}},{key:"route",value:function route(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{history:!0};return $e.routes.to(r,u,c)}}])}()},83535:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(79958)),k=l(c(92766));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function CommandBase(){return(0,p.default)(this,CommandBase),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,CommandBase,arguments)}return(0,g.default)(CommandBase,r),(0,v.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,r)}},{key:"onAfterRun",value:function onAfterRun(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,r,u)}},{key:"onBeforeApply",value:function onBeforeApply(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,r)}},{key:"onAfterApply",value:function onAfterApply(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.command,r,u)}},{key:"onCatchApply",value:function onCatchApply(r){this.runCatchHooks(r)}},{key:"runCatchHooks",value:function runCatchHooks(r){$e.hooks.runDataCatch(this.command,this.args,r),$e.hooks.runUICatch(this.command,this.args,r)}},{key:"requireContainer",value:function requireContainer(){var r=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(k.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!u.container&&!u.containers)throw Error("container or containers are required.");if(u.container&&u.containers)throw Error("container and containers cannot go together please select one of them.");(u.containers||[u.container]).forEach(function(u){r.requireArgumentInstance("container",elementorModules.editor.Container,{container:u})})}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}])}(m.default)},84743:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(85707)),y=l(c(13452));u.default=function(){return(0,v.default)(function HookBase(){(0,p.default)(this,HookBase),(0,h.default)(this,"type",void 0),(0,h.default)(this,"command",void 0),(0,h.default)(this,"id",void 0),this.initialize(),this.type=this.getType(),this.command=this.getCommand(),this.id=this.getId()},[{key:"initialize",value:function initialize(){}},{key:"register",value:function register(){(0,y.default)()}},{key:"getType",value:function getType(){(0,y.default)()}},{key:"getCommand",value:function getCommand(){(0,y.default)()}},{key:"getId",value:function getId(){(0,y.default)()}},{key:"getContainerType",value:function getContainerType(){}},{key:"getConditions",value:function getConditions(){return!0}},{key:"apply",value:function apply(r){(0,y.default)()}},{key:"run",value:function run(){var r=(arguments.length<=0?void 0:arguments[0]).options,u=void 0===r?{}:r;return!(!u.callbacks||!1!==u.callbacks[this.id])||(!this.getConditions.apply(this,arguments)||($e.devTools&&$e.devTools.log.callbacks().active(this.type,this.command,this.id),this.apply.apply(this,arguments)))}}])}()},85707:(r,u,c)=>{var l=c(45498);r.exports=function _defineProperty(r,u,c){return(u=l(u))in r?Object.defineProperty(r,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):r[u]=c,r},r.exports.__esModule=!0,r.exports.default=r.exports},86060:(r,u,c)=>{var l=c(33448),p=c(91270);r.exports=function _construct(r,u,c){if(l())return Reflect.construct.apply(null,arguments);var v=[null];v.push.apply(v,u);var h=new(r.bind.apply(r,v));return c&&p(h,c.prototype),h},r.exports.__esModule=!0,r.exports.default=r.exports},87007:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(40989)),v=l(c(39805)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(22835));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function HookBreak(){return(0,v.default)(this,HookBreak),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,HookBreak,["HookBreak"])}return(0,g.default)(HookBreak,r),(0,p.default)(HookBreak)}((0,m.default)(Error))},87829:(r,u,c)=>{"use strict";var l=c(96784),p=c(10564);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;l(c(64537));var v=l(c(39805)),h=l(c(40989)),y=l(c(15118)),g=l(c(29402)),m=l(c(41621)),k=l(c(87861)),b=l(c(40397)),C=function _interopRequireWildcard(r,u){if("function"==typeof WeakMap)var c=new WeakMap,l=new WeakMap;return function _interopRequireWildcard(r,u){if(!u&&r&&r.__esModule)return r;var v,h,y={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return y;if(v=u?l:c){if(v.has(r))return v.get(r);v.set(r,y)}for(var g in r)"default"!==g&&{}.hasOwnProperty.call(r,g)&&((h=(v=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,g))&&(h.get||h.set)?v(y,g,h):y[g]=r[g]);return y}(r,u)}(c(14767)),R=l(c(13452));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,u,c,l){var p=(0,m.default)((0,g.default)(1&l?r.prototype:r),u,c);return 2&l&&"function"==typeof p?function(r){return p.apply(c,r)}:p}u.default=function(r){function ComponentModalBase(){return(0,v.default)(this,ComponentModalBase),function _callSuper(r,u,c){return u=(0,g.default)(u),(0,y.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,g.default)(r).constructor):u.apply(r,c))}(this,ComponentModalBase,arguments)}return(0,k.default)(ComponentModalBase,r),(0,h.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var r=this;_superPropGet(ComponentModalBase,"registerAPI",this,3)([]),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return r.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(C)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var r=this;if(!this.layout){var u=this.getModalLayout();this.layout=new u({component:this}),this.layout.getModal().on("hide",function(){return r.close()})}return this.layout.showModal(),!0}},{key:"close",value:function close(){if(!_superPropGet(ComponentModalBase,"close",this,3)([]))return!1;var close=elementor.hooks.applyFilters("component/modal/close",this.layout.getModal().hide.bind(this.layout.getModal()),this);return close(),!0}},{key:"getModalLayout",value:function getModalLayout(){(0,R.default)()}}])}(b.default)},87861:(r,u,c)=>{var l=c(91270);r.exports=function _inherits(r,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(u&&u.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),u&&l(r,u)},r.exports.__esModule=!0,r.exports.default=r.exports},88413:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989));u.default=function(){return(0,v.default)(function Console(){(0,p.default)(this,Console)},null,[{key:"error",value:function error(r){$e.devTools&&$e.devTools.log.error(r),r instanceof $e.modules.HookBreak||console.error(r)}},{key:"warn",value:function warn(){for(var r,u='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),c=arguments.length,l=new Array(c),p=0;p<c;p++)l[p]=arguments[p];l.unshift("%c %c",u,""),(r=console).warn.apply(r,l)}}])}()},89736:r=>{function _regeneratorDefine(u,c,l,p){var v=Object.defineProperty;try{v({},"",{})}catch(u){v=0}r.exports=_regeneratorDefine=function regeneratorDefine(r,u,c,l){function o(u,c){_regeneratorDefine(r,u,function(r){return this._invoke(u,c,r)})}u?v?v(r,u,{value:c,enumerable:!l,configurable:!l,writable:!l}):r[u]=c:(o("next",0),o("throw",1),o("return",2))},r.exports.__esModule=!0,r.exports.default=r.exports,_regeneratorDefine(u,c,l,p)}r.exports=_regeneratorDefine,r.exports.__esModule=!0,r.exports.default=r.exports},91270:r=>{function _setPrototypeOf(u,c){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,u){return r.__proto__=u,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(u,c)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},92671:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Dependency=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(20603));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Dependency=function(r){function Dependency(){return(0,p.default)(this,Dependency),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Dependency,arguments)}return(0,g.default)(Dependency,r),(0,v.default)(Dependency,[{key:"register",value:function register(){$e.hooks.registerDataDependency(this)}}])}(m.default);u.default=k},92766:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(18821)),v=l(c(39805)),h=l(c(40989)),y=l(c(88413)),g=function deprecatedMessage(r,u,c,l){var p="`".concat(u,"` is ").concat(r," deprecated since ").concat(c);l&&(p+=" - Use `".concat(l,"` instead")),y.default.warn(p)};u.default=function(){return(0,h.default)(function Deprecation(){(0,v.default)(this,Deprecation)},null,[{key:"deprecated",value:function deprecated(r,u,c){this.isHardDeprecated(u)?function hardDeprecated(r,u,c){g("hard",r,u,c)}(r,u,c):function softDeprecated(r,u,c){elementorWebCliConfig.isDebug&&g("soft",r,u,c)}(r,u,c)}},{key:"parseVersion",value:function parseVersion(r){var u=r.split(".");if(u.length<3||u.length>4)throw new RangeError("Invalid Semantic Version string provided");var c=(0,p.default)(u,4),l=c[0],v=c[1],h=c[2],y=c[3],g=void 0===y?"":y;return{major1:parseInt(l),major2:parseInt(v),minor:parseInt(h),build:g}}},{key:"getTotalMajor",value:function getTotalMajor(r){var u=parseInt("".concat(r.major1).concat(r.major2,"0"));return u=Number((u/10).toFixed(0)),r.major2>9&&(u=r.major2-9),u}},{key:"compareVersion",value:function compareVersion(r,u){var c=this;return[this.parseVersion(r),this.parseVersion(u)].map(function(r){return c.getTotalMajor(r)}).reduce(function(r,u){return r-u})}},{key:"isSoftDeprecated",value:function isSoftDeprecated(r){return this.compareVersion(r,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(r){var u=this.compareVersion(r,elementorWebCliConfig.version);return u<0||u>=8}}])}()},92871:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(10564)),v=l(c(18821)),h=l(c(39805)),y=l(c(40989)),g=l(c(31823));u.default=function(){return(0,y.default)(function Cache(r){(0,h.default)(this,Cache),this.manager=r,this.storage=new g.default},[{key:"getAsync",value:function getAsync(r){var u=this.get(r);return null!==u&&(r.cache="hit",new Promise(function(r){r(u)}))}},{key:"set",value:function set(r,u){$e.data.validateRequestData(r);var c=r.component.getNamespace(),l=r.endpoint.replace(c+"/",""),p=l.split("/"),v={};if(p.length&&l!==c){var h=p.reduce(function(r,u){return r[u]={},r[u]},v);Object.assign(h,u)}else v=u;var y=this.storage.getItem(c);null!==y&&(v=jQuery.extend(!0,y,v)),this.storage.setItem(c,v)}},{key:"get",value:function get(r){$e.data.validateRequestData(r);var u=r.component.getNamespace(),c=this.storage.getItem(u);return null!==c?u===r.endpoint?c:r.endpoint.replace(r.component.getNamespace()+"/","").split("/").reduce(function(r,u){if(r&&r[u])return r[u]},c)||null:null}},{key:"update",value:function update(r){$e.data.validateRequestData(r,!0);var u=r.endpoint,c={};return Object.entries(this.storage.getAll()).forEach(function(l){var p=(0,v.default)(l,2),h=p[0],y=p[1];if(y&&u.includes(h)){var g=y,m=r.endpoint.replace(r.component.getNamespace()+"/","").split("/");if(1===m.length&&h===r.endpoint&&h===r.component.getNamespace())c=jQuery.extend(!0,g,r.args.data);else{var k=m.reduce(function(r,u){return r[u]},g);c=jQuery.extend(!0,k,r.args.data)}}}),0!==Object.values(c).length&&(this.set(r,c),!0)}},{key:"delete",value:function _delete(r){$e.data.validateRequestData(r);var u=!1,c=r.component.getNamespace();if(c!==r.endpoint){var l=this.storage.getItem(c),v={};if(null===l)return!1;var h=r.endpoint.replace(c+"/","").split("/"),y=h[h.length-1];if(h.reduce(function(r,u){return r[u]=u===y?null:{},r[u]},v),Object.keys(l).length){var g=function deleteKeys(r,c){return c?Object.keys(c).forEach(function(l){c[l]&&"object"===(0,p.default)(c[l])?g(r[l],c[l]):null===c[l]&&(delete r[l],u=!0)}):Object.keys(r).forEach(function(u){return delete r[u]}),r};this.storage.setItem(c,g(l,v))}}else for(var m in this.storage.getAll())if(m===r.endpoint){this.storage.removeItem(r.endpoint),u=!0;break}return u}}])}()},95020:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(85707)),k=l(c(641)),b=l(c(92766));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}u.default=function(r){function CommandsBackwardsCompatibility(){var r;(0,p.default)(this,CommandsBackwardsCompatibility);for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];return r=function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,CommandsBackwardsCompatibility,[].concat(c)),(0,m.default)(r,"on",function(u,c){if("run"===u){var l=r.getConstructorID();return l=l.replace(/^./,function(r){return r.toLowerCase()}),b.default.deprecated("$e.".concat(l,".on( 'run', ... )"),"3.0.0","$e.".concat(l,".on( 'run:before', ... )")),void r.onOrig("run:before",c)}r.onOrig(u,c)}),r}return(0,g.default)(CommandsBackwardsCompatibility,r),(0,v.default)(CommandsBackwardsCompatibility,[{key:"__construct",value:function __construct(){this.onOrig=this.on}}])}(k.default)},95315:r=>{r.exports=function _regeneratorKeys(r){var u=Object(r),c=[];for(var l in u)c.unshift(l);return function e(){for(;c.length;)if((l=c.pop())in u)return e.value=l,e.done=!1,e;return e.done=!0,e}},r.exports.__esModule=!0,r.exports.default=r.exports},96784:r=>{r.exports=function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}},r.exports.__esModule=!0,r.exports.default=r.exports},97283:(r,u,c)=>{"use strict";var l=c(96784);Object.defineProperty(u,"__esModule",{value:!0}),u.default=u.Open=void 0;var p=l(c(39805)),v=l(c(40989)),h=l(c(15118)),y=l(c(29402)),g=l(c(87861)),m=l(c(83535));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=u.Open=function(r){function Open(){return(0,p.default)(this,Open),function _callSuper(r,u,c){return u=(0,y.default)(u),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(u,c||[],(0,y.default)(r).constructor):u.apply(r,c))}(this,Open,arguments)}return(0,g.default)(Open,r),(0,v.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}])}(m.default);u.default=k}},u={};function __webpack_require__(c){var l=u[c];if(void 0!==l)return l.exports;var p=u[c]={exports:{}};return r[c](p,p.exports,__webpack_require__),p.exports}(()=>{"use strict";var r=__webpack_require__(96784)(__webpack_require__(83070));window.$e=new r.default})()})();
1 +(function(r){var c=Object.create,l=Object.defineProperty,__name=(r,c)=>l(r,`name`,{value:c,configurable:!0}),u=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,m=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,__esmMin=(r,c,l)=>()=>{if(l)throw l[0];try{return r&&(c=r(r=0)),c}catch(r){throw l=[r],r}},__commonJSMin=(r,c)=>()=>(c||(r((c={exports:{}}).exports,c),r=null),c.exports),__exportAll=(r,c)=>{let u={};for(var p in r)l(u,p,{get:r[p],enumerable:!0});return c||l(u,Symbol.toStringTag,{value:`Module`}),u},__copyProps=(r,c,m,g)=>{if(c&&typeof c==`object`||typeof c==`function`)for(var v=p(c),y=0,b=v.length,x;y<b;y++)x=v[y],!h.call(r,x)&&x!==m&&l(r,x,{get:(r=>c[r]).bind(null,x),enumerable:!(g=u(c,x))||g.enumerable});return r},__toESM=(r,u,p)=>(p=r==null?{}:c(m(r)),__copyProps(u||!r||!r.__esModule?l(p,`default`,{value:r,enumerable:!0}):p,r));function _classCallCheck(r,c){if(!(r instanceof c))throw TypeError(`Cannot call a class as a function`)}function _typeof(r){"@babel/helpers - typeof";return _typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(r){return typeof r}:function(r){return r&&typeof Symbol==`function`&&r.constructor===Symbol&&r!==Symbol.prototype?`symbol`:typeof r},_typeof(r)}var g=__esmMin((()=>{}));g();function toPrimitive(r,c){if(_typeof(r)!=`object`||!r)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var u=l.call(r,c||`default`);if(_typeof(u)!=`object`)return u;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(c===`string`?String:Number)(r)}g();function toPropertyKey(r){var c=toPrimitive(r,`string`);return _typeof(c)==`symbol`?c:c+``}function _defineProperties(r,c){for(var l=0;l<c.length;l++){var u=c[l];u.enumerable=u.enumerable||!1,u.configurable=!0,`value`in u&&(u.writable=!0),Object.defineProperty(r,toPropertyKey(u.key),u)}}function _createClass(r,c,l){return c&&_defineProperties(r.prototype,c),l&&_defineProperties(r,l),Object.defineProperty(r,"prototype",{writable:!1}),r}function _assertThisInitialized(r){if(r===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return r}g();function _possibleConstructorReturn(r,c){if(c&&(_typeof(c)==`object`||typeof c==`function`))return c;if(c!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return _assertThisInitialized(r)}function _getPrototypeOf(r){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_getPrototypeOf(r)}function _setPrototypeOf(r,c){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,c){return r.__proto__=c,r},_setPrototypeOf(r,c)}function _inherits(r,c){if(typeof c!=`function`&&c!==null)throw TypeError(`Super expression must either be null or a function`);r.prototype=Object.create(c&&c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&&_setPrototypeOf(r,c)}function _defineProperty(r,c,l){return(c=toPropertyKey(c))in r?Object.defineProperty(r,c,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[c]=l,r}function _arrayWithHoles(r){if(Array.isArray(r))return r}function _iterableToArrayLimit(r,c){var l=r==null?null:typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(l!=null){var u,p,m,h,g=[],v=!0,y=!1;try{if(m=(l=l.call(r)).next,c===0){if(Object(l)!==l)return;v=!1}else for(;!(v=(u=m.call(l)).done)&&(g.push(u.value),g.length!==c);v=!0);}catch(r){y=!0,p=r}finally{try{if(!v&&l.return!=null&&(h=l.return(),Object(h)!==h))return}finally{if(y)throw p}}return g}}function _arrayLikeToArray$2(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$2,`_arrayLikeToArray`);function _unsupportedIterableToArray$2(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$2(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$2(r,c):void 0}}__name(_unsupportedIterableToArray$2,`_unsupportedIterableToArray`);function _nonIterableRest(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2 +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray(r,c){return _arrayWithHoles(r)||_iterableToArrayLimit(r,c)||_unsupportedIterableToArray$2(r,c)||_nonIterableRest()}function _superPropBase(r,c){for(;!{}.hasOwnProperty.call(r,c)&&(r=_getPrototypeOf(r))!==null;);return r}function _get(){return _get=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(r,c,l){var u=_superPropBase(r,c);if(u){var p=Object.getOwnPropertyDescriptor(u,c);return p.get?p.get.call(arguments.length<3?r:l):p.value}},_get.apply(null,arguments)}function _superPropGet$5(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$5,`_superPropGet`);var v=function(){function InstanceType(){var r=this;_classCallCheck(this,InstanceType);for(var c=this instanceof InstanceType?this.constructor:void 0,l=[];c.__proto__&&c.__proto__.name;)l.push(c.__proto__),c=c.__proto__;l.reverse().forEach(function(c){return r instanceof c})}return _createClass(InstanceType,null,[{key:Symbol.hasInstance,value:function value(r){var c=_superPropGet$5(InstanceType,Symbol.hasInstance,this,2)([r]);if(r&&!r.constructor.getInstanceType)return c;if(r&&(r.instanceTypes||(r.instanceTypes=[]),c||this.getInstanceType()===r.constructor.getInstanceType()&&(c=!0),c)){var l=this.getInstanceType===InstanceType.getInstanceType?`BaseInstanceType`:this.getInstanceType();r.instanceTypes.indexOf(l)===-1&&r.instanceTypes.push(l)}return!c&&r&&(c=r.instanceTypes&&Array.isArray(r.instanceTypes)&&r.instanceTypes.indexOf(this.getInstanceType())!==-1),c}},{key:`getInstanceType`,value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}();function _createForOfIteratorHelper$1(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$1(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
3 +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}__name(_createForOfIteratorHelper$1,`_createForOfIteratorHelper`);function _unsupportedIterableToArray$1(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$1(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$1(r,c):void 0}}__name(_unsupportedIterableToArray$1,`_unsupportedIterableToArray`);function _arrayLikeToArray$1(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$1,`_arrayLikeToArray`);var y=__name((function(r,c){c=Array.isArray(c)?c:[c];var l=_createForOfIteratorHelper$1(c),u;try{for(l.s();!(u=l.n()).done;){var p=u.value;if(r.constructor.name===p.prototype[Symbol.toStringTag])return!0}}catch(r){l.e(r)}finally{l.f()}return!1}),`default`);g();function _callSuper$35(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$36()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$35,`_callSuper`);function _isNativeReflectConstruct$36(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$36=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$36,`_isNativeReflectConstruct`);var b=function(r){function ArgsObject(r){var c;return _classCallCheck(this,ArgsObject),c=_callSuper$35(this,ArgsObject),c.args=r,c}return _inherits(ArgsObject,r),_createClass(ArgsObject,[{key:`requireArgument`,value:function requireArgument(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(c,r))throw Error(`${r} is required.`)}},{key:`requireArgumentType`,value:function requireArgumentType(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(r,l),_typeof(l[r])!==c)throw Error(`${r} invalid type: ${c}.`)}},{key:`requireArgumentInstance`,value:function requireArgumentInstance(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(r,l),!(l[r]instanceof c)&&!y(l[r],c))throw Error(`${r} invalid instance.`)}},{key:`requireArgumentConstructor`,value:function requireArgumentConstructor(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(r,l),l[r].constructor.toString()!==c.prototype.constructor.toString())throw Error(`${r} invalid constructor type.`)}}],[{key:`getInstanceType`,value:function getInstanceType(){return`ArgsObject`}}])}(v),x=function(){function Console(){_classCallCheck(this,Console)}return _createClass(Console,null,[{key:`error`,value:function error(r){$e.devTools&&$e.devTools.log.error(r),r instanceof $e.modules.HookBreak||console.error(r)}},{key:`warn`,value:function warn(){for(var r,c=`font-size: 12px; background-image: url("${elementorWebCliConfig.urls.assets}images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;`,l=arguments.length,u=Array(l),p=0;p<l;p++)u[p]=arguments[p];u.unshift(`%c %c`,c,``),(r=console).warn.apply(r,u)}}])}(),S=function softDeprecated(r,c,l){elementorWebCliConfig.isDebug&&w(`soft`,r,c,l)},C=function hardDeprecated(r,c,l){w(`hard`,r,c,l)},w=function deprecatedMessage(r,c,l,u){var p=`\`${c}\` is ${r} deprecated since ${l}`;u&&(p+=` - Use \`${u}\` instead`),x.warn(p)},T=function(){function Deprecation(){_classCallCheck(this,Deprecation)}return _createClass(Deprecation,null,[{key:`deprecated`,value:function deprecated(r,c,l){this.isHardDeprecated(c)?C(r,c,l):S(r,c,l)}},{key:`parseVersion`,value:function parseVersion(r){var c=r.split(`.`);if(c.length<3||c.length>4)throw RangeError(`Invalid Semantic Version string provided`);var l=_slicedToArray(c,4),u=l[0],p=l[1],m=l[2],h=l[3];return{major1:parseInt(u),major2:parseInt(p),minor:parseInt(m),build:h===void 0?``:h}}},{key:`getTotalMajor`,value:function getTotalMajor(r){var c=parseInt(`${r.major1}${r.major2}0`);return c=Number((c/10).toFixed(0)),r.major2>9&&(c=r.major2-9),c}},{key:`compareVersion`,value:function compareVersion(r,c){var l=this;return[this.parseVersion(r),this.parseVersion(c)].map(function(r){return l.getTotalMajor(r)}).reduce(function(r,c){return r-c})}},{key:`isSoftDeprecated`,value:function isSoftDeprecated(r){return this.compareVersion(r,elementorWebCliConfig.version)<=4}},{key:`isHardDeprecated`,value:function isHardDeprecated(r){var c=this.compareVersion(r,elementorWebCliConfig.version);return c<0||c>=8}}])}();function _callSuper$34(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$35()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$34,`_callSuper`);function _isNativeReflectConstruct$35(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$35=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$35,`_isNativeReflectConstruct`);var E=function(r){function CommandInfra(){var r,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(_classCallCheck(this,CommandInfra),r=_callSuper$34(this,CommandInfra,[c]),!r.constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return r.command=r.constructor.getCommand(),r.component=r.constructor.getComponent(),r.initialize(c),c=r.args,r.validateArgs(c),r}return _inherits(CommandInfra,r),_createClass(CommandInfra,[{key:`currentCommand`,get:function get(){return T.deprecated(`this.currentCommand`,`3.7.0`,`this.command`),this.command}},{key:`initialize`,value:function initialize(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`validateArgs`,value:function validateArgs(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`apply`,value:function apply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],elementorModules.ForceMethodImplementation()}},{key:`run`,value:function run(){return this.apply(this.args)}},{key:`onBeforeRun`,value:function onBeforeRun(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`onAfterRun`,value:function onAfterRun(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1]}},{key:`onBeforeApply`,value:function onBeforeApply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`onAfterApply`,value:function onAfterApply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1]}},{key:`onCatchApply`,value:function onCatchApply(r){}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandInfra`}},{key:`getInfo`,value:function getInfo(){return{}}},{key:`getCommand`,value:function getCommand(){return this.registerConfig.command}},{key:`getComponent`,value:function getComponent(){return this.registerConfig.component}},{key:`setRegisterConfig`,value:function setRegisterConfig(r){this.registerConfig=Object.freeze(r)}}])}(b);_defineProperty(E,`registerConfig`,null);function _callSuper$33(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$34()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$33,`_callSuper`);function _isNativeReflectConstruct$34(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$34=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$34,`_isNativeReflectConstruct`);var D=function(r){function CommandBase(){return _classCallCheck(this,CommandBase),_callSuper$33(this,CommandBase,arguments)}return _inherits(CommandBase,r),_createClass(CommandBase,[{key:`onBeforeRun`,value:function onBeforeRun(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$e.hooks.runUIBefore(this.command,r)}},{key:`onAfterRun`,value:function onAfterRun(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,r,c)}},{key:`onBeforeApply`,value:function onBeforeApply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$e.hooks.runDataDependency(this.command,r)}},{key:`onAfterApply`,value:function onAfterApply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.command,r,c)}},{key:`onCatchApply`,value:function onCatchApply(r){this.runCatchHooks(r)}},{key:`runCatchHooks`,value:function runCatchHooks(r){$e.hooks.runDataCatch(this.command,this.args,r),$e.hooks.runUICatch(this.command,this.args,r)}},{key:`requireContainer`,value:function requireContainer(){var r=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.args;if(T.deprecated(`requireContainer()`,`3.7.0`,"Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!c.container&&!c.containers)throw Error(`container or containers are required.`);if(c.container&&c.containers)throw Error(`container and containers cannot go together please select one of them.`);(c.containers||[c.container]).forEach(function(c){r.requireArgumentInstance(`container`,elementorModules.editor.Container,{container:c})})}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandBase`}}])}(E);function _callSuper$32(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$33()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$32,`_callSuper`);function _isNativeReflectConstruct$33(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$33=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$33,`_isNativeReflectConstruct`);var ee=function(r){function CommandCallbackBase(){return _classCallCheck(this,CommandCallbackBase),_callSuper$32(this,CommandCallbackBase,arguments)}return _inherits(CommandCallbackBase,r),_createClass(CommandCallbackBase,[{key:`apply`,value:function apply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.constructor.getCallback()(r)}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandCallbackBase`}},{key:`getCallback`,value:function getCallback(){return this.registerConfig.callback}}])}(D),O=__toESM(__commonJSMin(((r,c)=>{g();var l=function Module(){var r=jQuery,c=arguments,l=this,u={},p,m=function ensureClosureMethods(){r.each(l,function(r){var c=l[r];typeof c==`function`&&(l[r]=function(){return c.apply(l,arguments)})})},h=function initSettings(){p=l.getDefaultSettings();var u=c[0];u&&r.extend(!0,p,u)},g=function init(){l.__construct.apply(l,c),m(),h(),l.trigger(`init`)};this.getItems=function(r,c){if(c){var l=c.split(`.`),u=l.splice(0,1);return l.length?r[u]?this.getItems(r[u],l.join(`.`)):void 0:r[u]}return r},this.getSettings=function(r){return this.getItems(p,r)},this.setSettings=function(c,u,m){if(m||(m=p),_typeof(c)===`object`)return r.extend(m,c),l;var h=c.split(`.`),g=h.splice(0,1);return h.length?(m[g]||(m[g]={}),l.setSettings(h.join(`.`),u,m[g])):(m[g]=u,l)},this.getErrorMessage=function(r,c){var l;switch(r){case`forceMethodImplementation`:l=`The method '${c}' must to be implemented in the inheritor child.`;break;default:l=`An error occurs`}return l},this.forceMethodImplementation=function(r){throw Error(this.getErrorMessage(`forceMethodImplementation`,r))},this.on=function(c,p){return _typeof(c)===`object`?(r.each(c,function(r){l.on(r,this)}),l):(c.split(` `).forEach(function(r){u[r]||(u[r]=[]),u[r].push(p)}),l)},this.off=function(r,c){if(!u[r])return l;if(!c)return delete u[r],l;var p=u[r].indexOf(c);return p!==-1&&(delete u[r][p],u[r]=u[r].filter(function(r){return r})),l},this.trigger=function(c){var p=`on`+c[0].toUpperCase()+c.slice(1),m=Array.prototype.slice.call(arguments,1);l[p]&&l[p].apply(l,m);var h=u[c];return h&&r.each(h,function(r,c){c.apply(l,m)}),l},g()};l.prototype.__construct=function(){},l.prototype.getDefaultSettings=function(){return{}},l.prototype.getConstructorID=function(){return this.constructor.name},l.extend=function(r){var c=jQuery,l=this,u=function child(){return l.apply(this,arguments)};return c.extend(u,l),u.prototype=Object.create(c.extend({},l.prototype,r)),u.prototype.constructor=u,u.__super__=l.prototype,u},c.exports=l}))());function _isNativeFunction(r){try{return Function.toString.call(r).indexOf(`[native code]`)!==-1}catch(c){return typeof r==`function`}}function _isNativeReflectConstruct$32(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$32=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$32,`_isNativeReflectConstruct`);function _construct(r,c,l){if(_isNativeReflectConstruct$32())return Reflect.construct.apply(null,arguments);var u=[null];u.push.apply(u,c);var p=new(r.bind.apply(r,u));return l&&_setPrototypeOf(p,l.prototype),p}function _wrapNativeSuper(r){var c=typeof Map==`function`?new Map:void 0;return _wrapNativeSuper=function _wrapNativeSuper(r){if(r===null||!_isNativeFunction(r))return r;if(typeof r!=`function`)throw TypeError(`Super expression must either be null or a function`);if(c!==void 0){if(c.has(r))return c.get(r);c.set(r,Wrapper)}function Wrapper(){return _construct(r,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(r.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,r)},_wrapNativeSuper(r)}function _callSuper$31(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$31()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$31,`_callSuper`);function _isNativeReflectConstruct$31(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$31=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$31,`_isNativeReflectConstruct`);var te=function(r){function ForceMethodImplementation(){var r,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return _classCallCheck(this,ForceMethodImplementation),r=_callSuper$31(this,ForceMethodImplementation,[`${c.isStatic?`static `:``}${c.fullName}() should be implemented, please provide '${c.functionName||c.fullName}' functionality.`]),Error.captureStackTrace(r,ForceMethodImplementation),r}return _inherits(ForceMethodImplementation,r),_createClass(ForceMethodImplementation)}(_wrapNativeSuper(Error)),k=__name((function(){var r=Error().stack.split(`
4 +`)[2].trim(),c=r.startsWith(`at new`)?`constructor`:r.split(` `)[1],l={};if(l.functionName=c,l.fullName=c,l.functionName.includes(`.`)){var u=l.functionName.split(`.`);l.className=u[0],l.functionName=u[1]}else l.isStatic=!0;throw new te(l)}),`default`);function ownKeys$3(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}__name(ownKeys$3,`ownKeys`);function _objectSpread$3(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$3(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$3(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}__name(_objectSpread$3,`_objectSpread`);function _callSuper$30(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$30()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$30,`_callSuper`);function _isNativeReflectConstruct$30(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$30=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$30,`_isNativeReflectConstruct`);var A=function(c){function ComponentBase(){return _classCallCheck(this,ComponentBase),_callSuper$30(this,ComponentBase,arguments)}return _inherits(ComponentBase,c),_createClass(ComponentBase,[{key:`__construct`,value:function __construct(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.manager&&(this.manager=r.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute=``,this.currentTab=``}},{key:`registerAPI`,value:function registerAPI(){var r=this;Object.entries(this.getTabs()).forEach(function(c){return r.registerTabRoute(c[0])}),Object.entries(this.getRoutes()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerRoute(u,p)}),Object.entries(this.getCommands()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerCommand(u,p)}),Object.entries(this.getCommandsInternal()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerCommandInternal(u,p)}),Object.values(this.getHooks()).forEach(function(c){return r.registerHook(c)}),Object.entries(this.getData()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerData(u,p)}),Object.values(this.getUiStates()).forEach(function(c){return r.registerUiState(c)}),Object.entries(this.getStates()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerState(u,p)})}},{key:`getNamespace`,value:function getNamespace(){k()}},{key:`getRootContainer`,value:function getRootContainer(){return T.deprecated(`getRootContainer()`,`3.7.0`,`getServiceName()`),this.getServiceName()}},{key:`getServiceName`,value:function getServiceName(){return this.getNamespace().split(`/`)[0]}},{key:`store`,get:function get(){return $e.store.get(this.getNamespace())}},{key:`defaultTabs`,value:function defaultTabs(){return{}}},{key:`defaultRoutes`,value:function defaultRoutes(){return{}}},{key:`defaultCommands`,value:function defaultCommands(){return{}}},{key:`defaultCommandsInternal`,value:function defaultCommandsInternal(){return{}}},{key:`defaultHooks`,value:function defaultHooks(){return{}}},{key:`defaultUiStates`,value:function defaultUiStates(){return{}}},{key:`defaultStates`,value:function defaultStates(){return{}}},{key:`defaultShortcuts`,value:function defaultShortcuts(){return{}}},{key:`defaultUtils`,value:function defaultUtils(){return{}}},{key:`defaultData`,value:function defaultData(){return{}}},{key:`getCommands`,value:function getCommands(){return this.commands}},{key:`getCommandsInternal`,value:function getCommandsInternal(){return this.commandsInternal}},{key:`getHooks`,value:function getHooks(){return this.hooks}},{key:`getUiStates`,value:function getUiStates(){return this.uiStates}},{key:`getStates`,value:function getStates(){return this.states}},{key:`getRoutes`,value:function getRoutes(){return this.routes}},{key:`getTabs`,value:function getTabs(){return this.tabs}},{key:`getShortcuts`,value:function getShortcuts(){return this.shortcuts}},{key:`getData`,value:function getData(){return this.data}},{key:`registerCommand`,value:function registerCommand(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`default`,u;switch(l){case`default`:u=$e.commands;break;case`internal`:u=$e.commandsInternal;break;case`data`:u=$e.data;break;default:throw Error(`Invalid commands type: '${r}'`)}var p=this.getNamespace()+`/`+r,m=c.getInstanceType?c.getInstanceType():!1,h={command:p,component:this};m||($e.devTools&&$e.devTools.log.warn(`Attach command-callback-base, on command: '${p}', context is unknown type.`),h.callback=c,c=function(r){function context(){return _classCallCheck(this,context),_callSuper$30(this,context,arguments)}return _inherits(context,r),_createClass(context)}(ee)),c.setRegisterConfig(h),u.register(this,r,c)}},{key:`registerHook`,value:function registerHook(r){return r.register()}},{key:`registerCommandInternal`,value:function registerCommandInternal(r,c){this.registerCommand(r,c,`internal`)}},{key:`registerUiState`,value:function registerUiState(r){$e.uiStates.register(r)}},{key:`registerState`,value:function registerState(c,l){c=this.getNamespace()+(c?`/${c}`:``);var u=(0,r.createSlice)(_objectSpread$3(_objectSpread$3({},l),{},{name:c}));$e.store.register(c,u)}},{key:`registerRoute`,value:function registerRoute(r,c){$e.routes.register(this,r,c)}},{key:`registerData`,value:function registerData(r,c){this.registerCommand(r,c,`data`)}},{key:`unregisterRoute`,value:function unregisterRoute(r){$e.routes.unregister(this,r)}},{key:`registerTabRoute`,value:function registerTabRoute(r){var c=this;this.registerRoute(r,function(l){return c.activateTab(r,l)})}},{key:`dependency`,value:function dependency(){return!0}},{key:`open`,value:function open(){return!0}},{key:`close`,value:function close(){return this.isOpen?(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0):!1}},{key:`activate`,value:function activate(){$e.components.activate(this.getNamespace())}},{key:`inactivate`,value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:`isActive`,value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:`onRoute`,value:function onRoute(r){this.toggleRouteClass(r,!0),this.toggleHistoryClass(),this.activate(),this.trigger(`route/open`,r)}},{key:`onCloseRoute`,value:function onCloseRoute(r){this.toggleRouteClass(r,!1),this.inactivate(),this.trigger(`route/close`,r)}},{key:`setDefaultRoute`,value:function setDefaultRoute(r){this.defaultRoute=this.getNamespace()+`/`+r}},{key:`getDefaultRoute`,value:function getDefaultRoute(){return this.defaultRoute}},{key:`removeTab`,value:function removeTab(r){delete this.tabs[r],this.unregisterRoute(r)}},{key:`hasTab`,value:function hasTab(r){return!!this.tabs[r]}},{key:`addTab`,value:function addTab(r,c,l){var u=this;if(this.tabs[r]=c,l!==void 0){var p={},m=Object.keys(this.tabs);m.pop(),m.splice(l,0,r),m.forEach(function(r){p[r]=u.tabs[r]}),this.tabs=p}this.registerTabRoute(r)}},{key:`getTabsWrapperSelector`,value:function getTabsWrapperSelector(){return``}},{key:`getTabRoute`,value:function getTabRoute(r){return this.getNamespace()+`/`+r}},{key:`renderTab`,value:function renderTab(r){}},{key:`activateTab`,value:function activateTab(r,c){var l=this;this.renderTab(r,c),jQuery(this.getTabsWrapperSelector()+` .elementor-component-tab`).off(`click`).on(`click`,function(r){$e.route(l.getTabRoute(r.currentTarget.dataset.tab),c)}).removeClass(`elementor-active`).filter(`[data-tab="`+r+`"]`).addClass(`elementor-active`)}},{key:`getActiveTabConfig`,value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:`getBodyClass`,value:function getBodyClass(r){return`e-route-`+r.replace(/\//g,`-`)}},{key:`normalizeCommandName`,value:function normalizeCommandName(r){return r.replace(/[A-Z]/g,function(r,c){return(c>0?`-`:``)+r.toLowerCase()})}},{key:`importCommands`,value:function importCommands(r){var c=this,l={};return Object.entries(r).forEach(function(r){var u=_slicedToArray(r,2),p=u[0],m=u[1],h=c.normalizeCommandName(p);l[h]=m}),l}},{key:`importHooks`,value:function importHooks(r){var c={};for(var l in r){var u=new r[l];c[u.getId()]=u}return c}},{key:`importUiStates`,value:function importUiStates(r){var c=this,l={};return Object.values(r).forEach(function(r){var u=new r(c);l[u.getId()]=u}),l}},{key:`setUiState`,value:function setUiState(r,c){$e.uiStates.set(`${this.getNamespace()}/${r}`,c)}},{key:`toggleRouteClass`,value:function toggleRouteClass(r,c){document.body.classList.toggle(this.getBodyClass(r),c)}},{key:`toggleHistoryClass`,value:function toggleHistoryClass(){document.body.classList.toggle(`e-routes-has-history`,!!$e.routes.getHistory(this.getServiceName()).length)}}])}(O.default);function _callSuper$29(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$29()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$29,`_callSuper`);function _isNativeReflectConstruct$29(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$29=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$29,`_isNativeReflectConstruct`);var ne=function(){function BackwardsCompatibility(){_classCallCheck(this,BackwardsCompatibility)}return _createClass(BackwardsCompatibility,[{key:`ensureTab`,value:function ensureTab(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:``,u=$e.components.get(r);if(!u){var p=function(c){function Component(){return _classCallCheck(this,Component),_callSuper$29(this,Component,arguments)}return _inherits(Component,c),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return r}},{key:`renderTab`,value:function renderTab(r){elementor.getPanelView().setPage(l).activateTab(r)}}])}(A);u=$e.components.register(new p)}!u.hasTab(c)&&elementor.config.tabs[c]&&u.addTab(c,{title:elementor.config.tabs[c]})}}])}();function _callSuper$28(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$28()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$28,`_callSuper`);function _isNativeReflectConstruct$28(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$28=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$28,`_isNativeReflectConstruct`);var re=function(r){function CommandInternalBase(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e.commandsInternal;return _classCallCheck(this,CommandInternalBase),_callSuper$28(this,CommandInternalBase,[r,c])}return _inherits(CommandInternalBase,r),_createClass(CommandInternalBase,null,[{key:`getInstanceType`,value:function getInstanceType(){return`CommandInternalBase`}}])}(D);function ownKeys$2(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}__name(ownKeys$2,`ownKeys`);function _objectSpread$2(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$2(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$2(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}__name(_objectSpread$2,`_objectSpread`);function _callSuper$27(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$27()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$27,`_callSuper`);function _isNativeReflectConstruct$27(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$27=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$27,`_isNativeReflectConstruct`);var j=function(r){function BaseError(){var r,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return _classCallCheck(this,BaseError),r=_callSuper$27(this,BaseError,[c]),_defineProperty(r,`code`,``),_defineProperty(r,`data`,[]),r.code=l,r.data=u,r}return _inherits(BaseError,r),_createClass(BaseError,[{key:`notify`,value:function notify(){x.error(_objectSpread$2({message:this.message},this))}}],[{key:`create`,value:function create(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return new this(r,c,l)}},{key:`getHTTPErrorCode`,value:function getHTTPErrorCode(){k()}}])}(_wrapNativeSuper(Error));function _callSuper$26(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$26()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$26,`_callSuper`);function _isNativeReflectConstruct$26(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$26=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$26,`_isNativeReflectConstruct`);var M=function(r){function DefaultError(){return _classCallCheck(this,DefaultError),_callSuper$26(this,DefaultError,arguments)}return _inherits(DefaultError,r),_createClass(DefaultError,null,[{key:`getHTTPErrorCode`,value:function getHTTPErrorCode(){return 501}}])}(j);function _callSuper$25(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$25()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$25,`_callSuper`);function _isNativeReflectConstruct$25(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$25=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$25,`_isNativeReflectConstruct`);var ie=function(r){function Error404(){return _classCallCheck(this,Error404),_callSuper$25(this,Error404,arguments)}return _inherits(Error404,r),_createClass(Error404,[{key:`notify`,value:function notify(){x.warn(this.message)}}],[{key:`getHTTPErrorCode`,value:function getHTTPErrorCode(){return 404}}])}(j),ae=__exportAll({DefaultError:()=>M,Error404:()=>ie});function _callSuper$24(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$24()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$24,`_callSuper`);function _isNativeReflectConstruct$24(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$24=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$24,`_isNativeReflectConstruct`);var oe=function(r){function CommandData(r){var c,l,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e.data;return _classCallCheck(this,CommandData),l=_callSuper$24(this,CommandData,[r,u]),_defineProperty(l,`data`,void 0),_defineProperty(l,`type`,void 0),(c=l.args.options)!=null&&c.type&&(l.type=l.args.options.type),l}return _inherits(CommandData,r),_createClass(CommandData,[{key:`getApplyMethods`,value:function getApplyMethods(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.type,c,l;switch(r){case`create`:c=this.applyBeforeCreate,l=this.applyAfterCreate;break;case`delete`:c=this.applyBeforeDelete,l=this.applyAfterDelete;break;case`get`:c=this.applyBeforeGet,l=this.applyAfterGet;break;case`update`:c=this.applyBeforeUpdate,l=this.applyAfterUpdate;break;case`options`:c=this.applyBeforeOptions,l=this.applyAfterOptions;break;default:return!1}return{before:c.bind(this),after:l.bind(this)}}},{key:`getRequestData`,value:function getRequestData(){return{type:this.type,args:this.args,timestamp:new Date().getTime(),component:this.component,command:this.command,endpoint:$e.data.commandToEndpoint(this.command,JSON.parse(JSON.stringify(this.args)),this.constructor.getEndpointFormat())}}},{key:`apply`,value:function apply(){var r=this,c=this.getApplyMethods();this.args=c.before(this.args);var l=this.getRequestData();return $e.data.fetch(l).then(function(u){return r.data=u,r.data=c.after(u,r.args),r.data={data:r.data},r.data=Object.assign({__requestData__:l},r.data),r.data})}},{key:`applyBeforeCreate`,value:function applyBeforeCreate(){return arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}},{key:`applyAfterCreate`,value:function applyAfterCreate(r){return arguments.length>1&&arguments[1]!==void 0&&arguments[1],r}},{key:`applyBeforeDelete`,value:function applyBeforeDelete(){return arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}},{key:`applyAfterDelete`,value:function applyAfterDelete(r){return arguments.length>1&&arguments[1]!==void 0&&arguments[1],r}},{key:`applyBeforeGet`,value:function applyBeforeGet(){return arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}},{key:`applyAfterGet`,value:function applyAfterGet(r){return arguments.length>1&&arguments[1]!==void 0&&arguments[1],r}},{key:`applyBeforeUpdate`,value:function applyBeforeUpdate(){return arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}},{key:`applyAfterUpdate`,value:function applyAfterUpdate(r){return arguments.length>1&&arguments[1]!==void 0&&arguments[1],r}},{key:`applyBeforeOptions`,value:function applyBeforeOptions(){return arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}},{key:`applyAfterOptions`,value:function applyAfterOptions(r){return arguments.length>1&&arguments[1]!==void 0&&arguments[1],r}},{key:`applyAfterCatch`,value:function applyAfterCatch(r){r.notify()}},{key:`onCatchApply`,value:function onCatchApply(r){var c,l=((c=r)==null||(c=c.data)==null?void 0:c.status)||501,u=Object.values(ae).find(function(r){return r.getHTTPErrorCode()===l});u||(u=M),r=u.create(r.message,r.code,r.data||[]),this.runCatchHooks(r),this.applyAfterCatch(r)}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandData`}},{key:`getEndpointFormat`,value:function getEndpointFormat(){return null}}])}(D);function asyncGeneratorStep(r,c,l,u,p,m,h){try{var g=r[m](h),v=g.value}catch(r){l(r);return}g.done?c(v):Promise.resolve(v).then(u,p)}function _asyncToGenerator(r){return function(){var c=this,l=arguments;return new Promise(function(u,p){var m=r.apply(c,l);function _next(r){asyncGeneratorStep(m,u,p,_next,_throw,`next`,r)}function _throw(r){asyncGeneratorStep(m,u,p,_next,_throw,`throw`,r)}_next(void 0)})}}var N=__commonJSMin(((r,c)=>{function _OverloadYield(r,c){this.v=r,this.k=c}c.exports=_OverloadYield,c.exports.__esModule=!0,c.exports.default=c.exports})),P=__commonJSMin(((r,c)=>{function _regeneratorDefine(r,l,u,p){var m=Object.defineProperty;try{m({},``,{})}catch(r){m=0}c.exports=_regeneratorDefine=function regeneratorDefine(r,c,l,u){function o(c,l){_regeneratorDefine(r,c,function(r){return this._invoke(c,l,r)})}c?m?m(r,c,{value:l,enumerable:!u,configurable:!u,writable:!u}):r[c]=l:(o(`next`,0),o(`throw`,1),o(`return`,2))},c.exports.__esModule=!0,c.exports.default=c.exports,_regeneratorDefine(r,l,u,p)}c.exports=_regeneratorDefine,c.exports.__esModule=!0,c.exports.default=c.exports})),I=__commonJSMin(((r,c)=>{var l=P();function _regenerator(){
5 +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
6 +var r,u,p=typeof Symbol==`function`?Symbol:{},m=p.iterator||`@@iterator`,h=p.toStringTag||`@@toStringTag`;function i(c,p,m,h){var v=p&&p.prototype instanceof Generator?p:Generator,y=Object.create(v.prototype);return l(y,`_invoke`,function(c,l,p){var m,h,v,y=0,b=p||[],x=!1,S={p:0,n:0,v:r,a:d,f:d.bind(r,4),d:function d(c,l){return m=c,h=0,v=r,S.n=l,g}};function d(c,l){for(h=c,v=l,u=0;!x&&y&&!p&&u<b.length;u++){var p,m=b[u],C=S.p,w=m[2];c>3?(p=w===l)&&(v=m[(h=m[4])?5:(h=3,3)],m[4]=m[5]=r):m[0]<=C&&((p=c<2&&C<m[1])?(h=0,S.v=l,S.n=m[1]):C<w&&(p=c<3||m[0]>l||l>w)&&(m[4]=c,m[5]=l,S.n=w,h=0))}if(p||c>1)return g;throw x=!0,l}return function(p,b,C){if(y>1)throw TypeError(`Generator is already running`);for(x&&b===1&&d(b,C),h=b,v=C;(u=h<2?r:v)||!x;){m||(h?h<3?(h>1&&(S.n=-1),d(h,v)):S.n=v:S.v=v);try{if(y=2,m){if(h||(p=`next`),u=m[p]){if(!(u=u.call(m,v)))throw TypeError(`iterator result is not an object`);if(!u.done)return u;v=u.value,h<2&&(h=0)}else h===1&&(u=m.return)&&u.call(m),h<2&&(v=TypeError(`The iterator does not provide a '`+p+`' method`),h=1);m=r}else if((u=(x=S.n<0)?v:c.call(l,S))!==g)break}catch(c){m=r,h=1,v=c}finally{y=1}}return{value:u,done:x}}}(c,m,h),!0),y}var g={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}u=Object.getPrototypeOf;var v=[][m]?u(u([][m]())):(l(u={},m,function(){return this}),u),y=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(v);function f(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,l(r,h,`GeneratorFunction`)),r.prototype=Object.create(y),r}return GeneratorFunction.prototype=GeneratorFunctionPrototype,l(y,`constructor`,GeneratorFunctionPrototype),l(GeneratorFunctionPrototype,`constructor`,GeneratorFunction),GeneratorFunction.displayName=`GeneratorFunction`,l(GeneratorFunctionPrototype,h,`GeneratorFunction`),l(y),l(y,h,`Generator`),l(y,m,function(){return this}),l(y,`toString`,function(){return`[object Generator]`}),(c.exports=_regenerator=function _regenerator(){return{w:i,m:f}},c.exports.__esModule=!0,c.exports.default=c.exports)()}c.exports=_regenerator,c.exports.__esModule=!0,c.exports.default=c.exports})),L=__commonJSMin(((r,c)=>{var l=N(),u=P();function AsyncIterator(r,c){function n(u,p,m,h){try{var g=r[u](p),v=g.value;return v instanceof l?c.resolve(v.v).then(function(r){n(`next`,r,m,h)},function(r){n(`throw`,r,m,h)}):c.resolve(v).then(function(r){g.value=r,m(g)},function(r){return n(`throw`,r,m,h)})}catch(r){h(r)}}var p;this.next||(u(AsyncIterator.prototype),u(AsyncIterator.prototype,typeof Symbol==`function`&&Symbol.asyncIterator||`@asyncIterator`,function(){return this})),u(this,`_invoke`,function(r,l,u){function f(){return new c(function(c,l){n(r,u,c,l)})}return p=p?p.then(f,f):f()},!0)}c.exports=AsyncIterator,c.exports.__esModule=!0,c.exports.default=c.exports})),R=__commonJSMin(((r,c)=>{var l=I(),u=L();function _regeneratorAsyncGen(r,c,p,m,h){return new u(l().w(r,c,p,m),h||Promise)}c.exports=_regeneratorAsyncGen,c.exports.__esModule=!0,c.exports.default=c.exports})),se=__commonJSMin(((r,c)=>{var l=R();function _regeneratorAsync(r,c,u,p,m){var h=l(r,c,u,p,m);return h.next().then(function(r){return r.done?r.value:h.next()})}c.exports=_regeneratorAsync,c.exports.__esModule=!0,c.exports.default=c.exports})),ce=__commonJSMin(((r,c)=>{function _regeneratorKeys(r){var c=Object(r),l=[];for(var u in c)l.unshift(u);return function e(){for(;l.length;)if((u=l.pop())in c)return e.value=u,e.done=!1,e;return e.done=!0,e}}c.exports=_regeneratorKeys,c.exports.__esModule=!0,c.exports.default=c.exports})),le=__commonJSMin(((r,c)=>{function _typeof(r){"@babel/helpers - typeof";return c.exports=_typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(r){return typeof r}:function(r){return r&&typeof Symbol==`function`&&r.constructor===Symbol&&r!==Symbol.prototype?`symbol`:typeof r},c.exports.__esModule=!0,c.exports.default=c.exports,_typeof(r)}c.exports=_typeof,c.exports.__esModule=!0,c.exports.default=c.exports})),ue=__commonJSMin(((r,c)=>{var l=le().default;function _regeneratorValues(r){if(r!=null){var c=r[typeof Symbol==`function`&&Symbol.iterator||`@@iterator`],u=0;if(c)return c.call(r);if(typeof r.next==`function`)return r;if(!isNaN(r.length))return{next:function next(){return r&&u>=r.length&&(r=void 0),{value:r&&r[u++],done:!r}}}}throw TypeError(l(r)+` is not iterable`)}c.exports=_regeneratorValues,c.exports.__esModule=!0,c.exports.default=c.exports})),de=__commonJSMin(((r,c)=>{var l=N(),u=I(),p=se(),m=R(),h=L(),g=ce(),v=ue();function _regeneratorRuntime(){"use strict";var r=u(),y=r.m(_regeneratorRuntime),b=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function n(r){var c=typeof r==`function`&&r.constructor;return!!c&&(c===b||(c.displayName||c.name)===`GeneratorFunction`)}var x={throw:1,return:2,break:3,continue:3};function a(r){var c,l;return function(u){c||(c={stop:function stop(){return l(u.a,2)},catch:function _catch(){return u.v},abrupt:function abrupt(r,c){return l(u.a,x[r],c)},delegateYield:function delegateYield(r,p,m){return c.resultName=p,l(u.d,v(r),m)},finish:function finish(r){return l(u.f,r)}},l=function t(r,l,p){u.p=c.prev,u.n=c.next;try{return r(l,p)}finally{c.next=u.n}}),c.resultName&&(c[c.resultName]=u.v,c.resultName=void 0),c.sent=u.v,c.next=u.n;try{return r.call(this,c)}finally{u.p=c.prev,u.n=c.next}}}return(c.exports=_regeneratorRuntime=function _regeneratorRuntime(){return{wrap:function wrap(c,l,u,p){return r.w(a(c),l,u,p&&p.reverse())},isGeneratorFunction:n,mark:r.m,awrap:function awrap(r,c){return new l(r,c)},AsyncIterator:h,async:function async(r,c,l,u,h){return(n(c)?m:p)(a(r),c,l,u,h)},keys:g,values:v}},c.exports.__esModule=!0,c.exports.default=c.exports)()}c.exports=_regeneratorRuntime,c.exports.__esModule=!0,c.exports.default=c.exports})),z=__toESM(__commonJSMin(((r,c)=>{var l=de()();c.exports=l;try{regeneratorRuntime=l}catch(r){typeof globalThis==`object`?globalThis.regeneratorRuntime=l:Function(`r`,`regeneratorRuntime = r`)(l)}}))());function _callSuper$23(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$23()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$23,`_callSuper`);function _isNativeReflectConstruct$23(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$23=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$23,`_isNativeReflectConstruct`);var fe=function(r){function CommandsBackwardsCompatibility(){var r;_classCallCheck(this,CommandsBackwardsCompatibility);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$23(this,CommandsBackwardsCompatibility,[].concat(l)),_defineProperty(r,`on`,function(c,l){if(c===`run`){var u=r.getConstructorID();u=u.replace(/^./,function(r){return r.toLowerCase()}),T.deprecated(`\$e.${u}.on( 'run', ... )`,`3.0.0`,`\$e.${u}.on( 'run:before', ... )`),r.onOrig(`run:before`,l);return}r.onOrig(c,l)}),r}return _inherits(CommandsBackwardsCompatibility,r),_createClass(CommandsBackwardsCompatibility,[{key:`__construct`,value:function __construct(){this.onOrig=this.on}}])}(O.default);g();function ownKeys$1(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}__name(ownKeys$1,`ownKeys`);function _objectSpread$1(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$1(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$1(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}__name(_objectSpread$1,`_objectSpread`);function _callSuper$22(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$22()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$22,`_callSuper`);function _isNativeReflectConstruct$22(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$22=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$22,`_isNativeReflectConstruct`);var B=function(r){function Commands(){var r;_classCallCheck(this,Commands);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$22(this,Commands,[].concat(l)),r.current={},r.currentArgs={},r.currentTrace=[],r.commands={},r.components={},Object.defineProperty(r,"classes",{get:function get(){return T.deprecated(`$e.commands.classes`,`3.7.0`,`$e.commands.getCommandClass(), $e.commandsInternal.getCommandClass(), $e.data.getCommandClass(), $e.routes.getCommandClass() according to the requested command infra-structure,`),_objectSpread$1(_objectSpread$1(_objectSpread$1(_objectSpread$1({},$e.commands.commands),$e.commandsInternal.commands),$e.data.commands),$e.routes.commands)}}),r}return _inherits(Commands,r),_createClass(Commands,[{key:`getCommandClass`,value:function getCommandClass(r){return this.commands[r]}},{key:`getAll`,value:function getAll(){return Object.keys(this.commands).sort()}},{key:`register`,value:function register(r,c,l){var u=this,p;typeof r==`string`?(p=r,r=$e.components.get(p),r||this.error(`'${p}' component is not exist.`)):p=r.getNamespace();var m=p+(c?`/`+c:``);this.commands[m]&&this.error(`\`${m}\` is already registered.`),this.commands[m]=l,this.components[m]=p;var h=r.getShortcuts()[c];return h&&(h.command=m,h.callback=function(r){return u.runShortcut(m,r)},$e.shortcuts.register(h.keys,h)),this}},{key:`unregister`,value:function unregister(r,c){var l;typeof r==`string`?(l=r,r=$e.components.get(l),r||this.error(`'${l}' component is not exist.`)):l=r.getNamespace();var u=l+(c?`/`+c:``);this.commands[u]||this.error(`\`${u}\` not exist.`),delete this.commands[u],delete this.components[u];var p=r.getShortcuts()[c];return p&&$e.shortcuts.unregister(p.keys,p),this}},{key:`getComponent`,value:function getComponent(r){var c=this.components[r];return $e.components.get(c)}},{key:`is`,value:function is(r){var c=this.getComponent(r);return c?r===this.current[c.getServiceName()]:!1}},{key:`isCurrentFirstTrace`,value:function isCurrentFirstTrace(r){return r===this.getCurrentFirstTrace()}},{key:`getCurrent`,value:function getCurrent(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return r?this.current[r]?this.current[r]:!1:this.current}},{key:`getCurrentArgs`,value:function getCurrentArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return r?this.currentArgs[r]?this.currentArgs[r]:!1:this.currentArgs}},{key:`getCurrentFirst`,value:function getCurrentFirst(){return Object.values(this.current)[0]}},{key:`getCurrentLast`,value:function getCurrentLast(){var r=Object.values(this.current);return r[r.length-1]}},{key:`getCurrentFirstTrace`,value:function getCurrentFirstTrace(){return this.currentTrace[0]}},{key:`beforeRun`,value:function beforeRun(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,u=this.getComponent(r),p=u.getServiceName();l&&this.addCurrentTrace(p,r,c),c.onBefore&&c.onBefore.apply(u,[c]),this.trigger(`run:before`,u,r,c),window.dispatchEvent(new CustomEvent(`elementor/commands/run/before`,{detail:{command:r,args:c}}))}},{key:`validateRun`,value:function validateRun(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.commands[r]||this.error(`\`${r}\` not found.`),this.getComponent(r).dependency(r,c)}},{key:`run`,value:function run(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.validateRun(r,c))return!1;this.beforeRun(r,c);var l=this.commands[r];l.getInstanceType&&(l=new l(c));var u=this.getComponent(r);if(!(l instanceof D)){var p=l.apply(u,[c]);return this.afterRun(r,c,p),p}return this.validateInstanceScope(l,u,r)?this.runInstance(l):this.removeCurrentTrace(u)}},{key:`runInstance`,value:function runInstance(r){var c=null;r.onBeforeRun(r.args);try{r.onBeforeApply(r.args),c=r.run()}catch(c){if(this.catchApply(c,r),c instanceof $e.modules.HookBreak)return this.removeCurrentTrace(r.component),!1}return this.applyRunAfter(r,c)}},{key:`applyRunAfter`,value:function applyRunAfter(r,c){var l=this;return c&&_typeof(c)===`object`&&c.promise&&c.then&&c.fail?function handleJQueryDeferred(c){return c.fail(function(c){l.catchApply(c,r),l.afterRun(r.command,r.args,c)}),c.done(function(c){return l.applyRunAfterAsyncResult(r,c)})}(c):c instanceof Promise?this.applyRunAfterAsync(r,c):(this.applyRunAfterSync(r,c),c)}},{key:`applyRunAfterSync`,value:function applyRunAfterSync(r,c){r.onAfterApply(r.args,c),r.onAfterRun(r.args,c),this.afterRun(r.command,r.args,c)}},{key:`applyRunAfterAsync`,value:function applyRunAfterAsync(r,c){var l=this;return _asyncToGenerator(z.default.mark(function _callee(){return z.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=1,c.catch(function(c){l.catchApply(c,r),l.afterRun(r.command,r.args,c)});case 1:return u.next=2,c.then(function(c){return l.applyRunAfterAsyncResult(r,c)});case 2:return u.abrupt(`return`,c);case 3:case`end`:return u.stop()}},_callee)}))()}},{key:`applyRunAfterAsyncResult`,value:function(){var r=_asyncToGenerator(z.default.mark(function _callee2(r,c){var l,u;return z.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(l=r.onAfterApply(r.args,c),u=Array.isArray(l)?l.flat().filter(function(r){return r instanceof Promise}):[],!u.length){p.next=1;break}return p.next=1,Promise.all(u);case 1:r.onAfterRun(r.args,c),this.afterRun(r.command,r.args,c);case 2:case`end`:return p.stop()}},_callee2,this)}));function applyRunAfterAsyncResult(c,l){return r.apply(this,arguments)}return applyRunAfterAsyncResult}()},{key:`afterRun`,value:function afterRun(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,p=this.getComponent(r);c.onAfter&&c.onAfter.apply(p,[c,l]),this.trigger(`run:after`,p,r,c,l),window.dispatchEvent(new CustomEvent(`elementor/commands/run/after`,{detail:{command:r,args:c}})),u&&this.removeCurrentTrace(p)}},{key:`catchApply`,value:function catchApply(r,c){c.onCatchApply(r),x.error(r)}},{key:`runShortcut`,value:function runShortcut(r,c){return this.run(r,c)}},{key:`validateInstanceScope`,value:function validateInstanceScope(r,c,l){return r instanceof D||this.error(`invalid instance, command: '${l}' `),c===r.component?!0:($e.devTools&&$e.devTools.log.warn(`Command: '${l}' registerArgs.component: '${r.component.getNamespace()}' while current component is: '${c.getNamespace()}'`),!1)}},{key:`addCurrentTrace`,value:function addCurrentTrace(r,c,l){this.currentTrace.push(c),Commands.trace.push(c),this.attachCurrent(r,c,l)}},{key:`removeCurrentTrace`,value:function removeCurrentTrace(r){var c=r.getServiceName();this.currentTrace.pop(),Commands.trace.pop(),this.detachCurrent(c)}},{key:`attachCurrent`,value:function attachCurrent(r,c,l){this.current[r]=c,this.currentArgs[r]=l}},{key:`detachCurrent`,value:function detachCurrent(r){delete this.current[r],delete this.currentArgs[r]}},{key:`error`,value:function error(r){throw Error(`Commands: ${r}`)}}])}(fe);_defineProperty(B,`trace`,[]);function _callSuper$21(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$21()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$21,`_callSuper`);function _isNativeReflectConstruct$21(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$21=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$21,`_isNativeReflectConstruct`);var V=function(r){function CommandsInternal(){return _classCallCheck(this,CommandsInternal),_callSuper$21(this,CommandsInternal,arguments)}return _inherits(CommandsInternal,r),_createClass(CommandsInternal,[{key:`error`,value:function error(r){throw Error(`Commands internal: `+r)}}])}(B);function _callSuper$20(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$20()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$20,`_callSuper`);function _isNativeReflectConstruct$20(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$20=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$20,`_isNativeReflectConstruct`);var pe=function(r){function Close(){return _classCallCheck(this,Close),_callSuper$20(this,Close,arguments)}return _inherits(Close,r),_createClass(Close,[{key:`apply`,value:function apply(){this.component.close()}}])}(D);function _callSuper$19(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$19()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$19,`_callSuper`);function _isNativeReflectConstruct$19(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$19=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$19,`_isNativeReflectConstruct`);var me=function(r){function Open(){return _classCallCheck(this,Open),_callSuper$19(this,Open,arguments)}return _inherits(Open,r),_createClass(Open,[{key:`apply`,value:function apply(){$e.route(this.component.getNamespace())}}])}(D);function _callSuper$18(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$18()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$18,`_callSuper`);function _isNativeReflectConstruct$18(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$18=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$18,`_isNativeReflectConstruct`);var he=function(r){function Toggle(){return _classCallCheck(this,Toggle),_callSuper$18(this,Toggle,arguments)}return _inherits(Toggle,r),_createClass(Toggle,[{key:`apply`,value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}])}(D),ge=__exportAll({Close:()=>pe,Open:()=>me,Toggle:()=>he});function _callSuper$17(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$17()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$17,`_callSuper`);function _isNativeReflectConstruct$17(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$17=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$17,`_isNativeReflectConstruct`);function _superPropGet$4(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$4,`_superPropGet`);var _e=function(r){function ComponentModalBase(){return _classCallCheck(this,ComponentModalBase),_callSuper$17(this,ComponentModalBase,arguments)}return _inherits(ComponentModalBase,r),_createClass(ComponentModalBase,[{key:`registerAPI`,value:function registerAPI(){var r=this;_superPropGet$4(ComponentModalBase,`registerAPI`,this,3)([]),$e.shortcuts.register(`esc`,{scopes:[this.getNamespace()],callback:function callback(){return r.close()}})}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(ge)}},{key:`defaultRoutes`,value:function defaultRoutes(){return{"":function _(){}}}},{key:`open`,value:function open(){var r=this;if(!this.layout){var c=this.getModalLayout();this.layout=new c({component:this}),this.layout.getModal().on(`hide`,function(){return r.close()})}return this.layout.showModal(),!0}},{key:`close`,value:function close(){return _superPropGet$4(ComponentModalBase,`close`,this,3)([])?(elementor.hooks.applyFilters(`component/modal/close`,this.layout.getModal().hide.bind(this.layout.getModal()),this)(),!0):!1}},{key:`getModalLayout`,value:function getModalLayout(){k()}}])}(A);function _callSuper$16(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$16()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$16,`_callSuper`);function _isNativeReflectConstruct$16(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$16=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$16,`_isNativeReflectConstruct`);var ve=function(r){function _default(){var r;_classCallCheck(this,_default);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$16(this,_default,[].concat(l)),r.components={},r.activeComponents={},r}return _inherits(_default,r),_createClass(_default,[{key:`getAll`,value:function getAll(){return Object.keys(this.components).sort()}},{key:`register`,value:function register(r){if(!this.components[r.getNamespace()])return r.registerAPI(),this.components[r.getNamespace()]=r,r}},{key:`get`,value:function get(r){return this.components[r]}},{key:`getActive`,value:function getActive(){return this.activeComponents}},{key:`activate`,value:function activate(r){this.inactivate(r),this.activeComponents[r]=!0}},{key:`inactivate`,value:function inactivate(r){delete this.activeComponents[r]}},{key:`isActive`,value:function isActive(r){return!!this.activeComponents[r]}}])}(O.default),ye=function(){function BaseStorage(r){if(_classCallCheck(this,BaseStorage),BaseStorage===(this instanceof BaseStorage?this.constructor:void 0))throw TypeError(`Cannot construct BaseStorage instances directly`);this.provider=r}return _createClass(BaseStorage,[{key:`clear`,value:function clear(){return this.provider.clear()}},{key:`getItem`,value:function getItem(r){var c=this.provider.getItem(r);return c===null?c:JSON.parse(c)}},{key:`key`,value:function key(r){return this.provider.key(r)}},{key:`removeItem`,value:function removeItem(r){return this.provider.removeItem(r)}},{key:`setItem`,value:function setItem(r,c){return this.provider.setItem(r,JSON.stringify(c))}},{key:`getAll`,value:function getAll(){var r=this,c=Object.keys(this.provider),l={};return c.forEach(function(c){l[c]=r.getItem(c)}),l}}])}();function _callSuper$15(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$15()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$15,`_callSuper`);function _isNativeReflectConstruct$15(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$15=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$15,`_isNativeReflectConstruct`);function _superPropGet$3(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$3,`_superPropGet`);var H=function(r){function BasePrefixStorage(){return _classCallCheck(this,BasePrefixStorage),_callSuper$15(this,BasePrefixStorage,arguments)}return _inherits(BasePrefixStorage,r),_createClass(BasePrefixStorage,[{key:`clear`,value:function clear(){var r=this;Object.keys(this.getAll()).forEach(function(c){return r.removeItem(c)})}},{key:`getItem`,value:function getItem(r){return _superPropGet$3(BasePrefixStorage,`getItem`,this,3)([BasePrefixStorage.DEFAULT_KEY_PREFIX+r])}},{key:`removeItem`,value:function removeItem(r){return _superPropGet$3(BasePrefixStorage,`removeItem`,this,3)([BasePrefixStorage.DEFAULT_KEY_PREFIX+r])}},{key:`setItem`,value:function setItem(r,c){return _superPropGet$3(BasePrefixStorage,`setItem`,this,3)([BasePrefixStorage.DEFAULT_KEY_PREFIX+r,c])}},{key:`getAll`,value:function getAll(){var r=this,c=BasePrefixStorage.DEFAULT_KEY_PREFIX,l=Object.keys(this.provider),u={};return l.forEach(function(l){l.startsWith(c)&&(l=l.replace(c,``),u[l]=r.getItem(l))}),u}}])}(ye);_defineProperty(H,`DEFAULT_KEY_PREFIX`,`e_`);function _callSuper$14(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$14()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$14,`_callSuper`);function _isNativeReflectConstruct$14(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$14=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$14,`_isNativeReflectConstruct`);var be=function(r){function LocalStorage(){return _classCallCheck(this,LocalStorage),_callSuper$14(this,LocalStorage,[localStorage])}return _inherits(LocalStorage,r),_createClass(LocalStorage,[{key:`debug`,value:function debug(){var r=this.getAll(),c={};return Object.keys(r).sort().forEach(function(l){c[l]=r[l]}),c}}])}(H);g();var xe=function(){function Cache(r){_classCallCheck(this,Cache),this.manager=r,this.storage=new be}return _createClass(Cache,[{key:`getAsync`,value:function getAsync(r){var c=this.get(r);return c===null?!1:(r.cache=`hit`,new Promise(function(r){r(c)}))}},{key:`set`,value:function set(r,c){$e.data.validateRequestData(r);var l=r.component.getNamespace(),u=r.endpoint.replace(l+`/`,``),p=u.split(`/`),m={};if(p.length&&u!==l){var h=p.reduce(function(r,c){return r[c]={},r[c]},m);Object.assign(h,c)}else m=c;var g=this.storage.getItem(l);g!==null&&(m=jQuery.extend(!0,g,m)),this.storage.setItem(l,m)}},{key:`get`,value:function get(r){$e.data.validateRequestData(r);var c=r.component.getNamespace(),l=this.storage.getItem(c);return l===null?null:c===r.endpoint?l:r.endpoint.replace(r.component.getNamespace()+`/`,``).split(`/`).reduce(function(r,c){if(r&&r[c])return r[c]},l)||null}},{key:`update`,value:function update(r){$e.data.validateRequestData(r,!0);var c=r.endpoint,l={};return Object.entries(this.storage.getAll()).forEach(function(u){var p=_slicedToArray(u,2),m=p[0],h=p[1];if(h&&c.includes(m)){var g=h,v=r.endpoint.replace(r.component.getNamespace()+`/`,``).split(`/`);if(v.length===1&&m===r.endpoint&&m===r.component.getNamespace())l=jQuery.extend(!0,g,r.args.data);else{var y=v.reduce(function(r,c){return r[c]},g);l=jQuery.extend(!0,y,r.args.data)}}}),Object.values(l).length===0?!1:(this.set(r,l),!0)}},{key:`delete`,value:function _delete(r){$e.data.validateRequestData(r);var c=!1,l=r.component.getNamespace();if(l!==r.endpoint){var u=this.storage.getItem(l),p={};if(u===null)return!1;var m=r.endpoint.replace(l+`/`,``).split(`/`),h=m[m.length-1];if(m.reduce(function(r,c){return c===h?r[c]=null:r[c]={},r[c]},p),Object.keys(u).length){var g=function deleteKeys(r,l){return l?Object.keys(l).forEach(function(u){l[u]&&_typeof(l[u])===`object`?g(r[u],l[u]):l[u]===null&&(delete r[u],c=!0)}):Object.keys(r).forEach(function(c){return delete r[c]}),r};this.storage.setItem(l,g(u,p))}}else for(var v in this.storage.getAll())if(v===r.endpoint){this.storage.removeItem(r.endpoint),c=!0;break}return c}}])}();function _callSuper$13(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$13()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$13,`_callSuper`);function _isNativeReflectConstruct$13(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$13=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$13,`_isNativeReflectConstruct`);function _superPropGet$2(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$2,`_superPropGet`);var Se=[`GET`],Ce=[`POST`],we=[`POST`,`PUT`,`PATCH`],Te=[`DELETE`],Ee=function(r){function Data(){var r,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return _classCallCheck(this,Data),r=_callSuper$13(this,Data,[c]),r.args=Object.assign(c,{namespace:`elementor`,version:`1`,baseEndpointURL:elementorWebCliConfig.urls.rest}),r.cache=new xe(r),r.validatedRequests={},r.commandFormats={},r}return _inherits(Data,r),_createClass(Data,[{key:`getHTTPMethod`,value:function getHTTPMethod(r){switch(r){case`create`:return`POST`;case`delete`:return`DELETE`;case`get`:return`GET`;case`update`:return`PUT`;case`options`:return`OPTIONS`}return!1}},{key:`getAllowedMethods`,value:function getAllowedMethods(r){switch(r){case`create`:return Ce;case`delete`:return Te;case`get`:return Se;case`update`:return we;case`options`:return[`OPTIONS`]}return!1}},{key:`getEndpointURL`,value:function getEndpointURL(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.endpoint,l=r.baseEndpointURL,u=l===void 0?this.args.baseEndpointURL:l,p=r.namespace,m=p===void 0?this.args.namespace:p,h=r.version;return`${u}${m}/v${h===void 0?this.args.version:h}/`+c}},{key:`commandToEndpoint`,value:function commandToEndpoint(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=r;if(c!=null&&c.query&&Object.values(c.query).length&&l&&l.includes(`/{`)&&l.split(`/`).filter(function(r){return r.charAt(0)===`{`}).forEach(function(r){r=r.replace(`{`,``),r=r.replace(`}`,``);var u=Object.entries(c.query).find(function(c){return _slicedToArray(c,1)[0]===r});if(u){var p=u[0],m=u[1].toString();l=l.replace(RegExp(`{`+r+`}`,`g`),m),delete c.query[p]}}),l&&(u=l),l&&u.includes(`/{`)&&(u=u.substring(0,u.indexOf(`/{`))),c.query&&Object.values(c.query).length){var p=Object.entries(c.query).sort(function(r,c){return _slicedToArray(r,1)[0]-_slicedToArray(c,1)[0]});p.length&&(u+=`?`,p.forEach(function(r){var c=_slicedToArray(r,2),l=c[0],p=c[1];p=`${p}`.replace(/\//g,`%2F`),u+=l+`=`+p+`&`})),u=u.replace(/&$/,``)}return u}},{key:`commandExtractArgs`,value:function commandExtractArgs(r){var c,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if((c=r)!=null&&c.includes(`?`)){l.query||(l.query={});var u=r.split(`?`),p=u[0],m=u[1],h=new URLSearchParams(m);Object.assign(l.query,Object.fromEntries(h)),r=p}return{command:r,args:l}}},{key:`validateRequestData`,value:function validateRequestData(r){var c=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!(r.timestamp&&this.validatedRequests[r.timestamp])){var l=new b(r);l.requireArgument(`component`),l.requireArgumentType(`command`,`string`),l.requireArgumentType(`endpoint`,`string`),c&&l.requireArgumentType(`data`,`object`,r.args),r.timestamp||(r.timestamp=new Date().getTime()),this.validatedRequests[r.timestamp]=!0}}},{key:`prepareHeaders`,value:function prepareHeaders(r){var c,l=r.type,u=elementorWebCliConfig.nonce,p={signal:(c=r.args)==null||(c=c.options)==null?void 0:c.signal,credentials:`include`},m={"X-WP-Nonce":u},h=this.getAllowedMethods(l),g=this.getHTTPMethod(l);if(g===`GET`)Object.assign(p,{headers:m});else if(h){var v,y;if([`POST`,`PUT`].includes(g)&&!((v=r.args)!=null&&v.data))throw Error(`Invalid requestData.args.data`);Object.assign(m,{"Content-Type":`application/json`}),(y=r.args)!=null&&y.headers&&Object.assign(m,r.args.headers),Object.assign(p,{method:g,headers:m,body:m[`Content-Type`]===`application/json`?JSON.stringify(r.args.data):r.args.data})}else throw Error(`Invalid type: '${l}'`);return p}},{key:`prepareEndpoint`,value:function prepareEndpoint(r){var c=r.endpoint.split(`?`),l=c.shift(),u=this.getEndpointURL(r,l);if(c.length){var p=u.includes(`?`)?`&`:`?`;u+=p+c.pop()}return u}},{key:`fetch`,value:function fetch(r){var c,l=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window.fetch;r.cache=`miss`;var p=(c=r.args.options)==null?void 0:c.refresh,m=r.type===`get`&&!p,h=[`create`,`get`].includes(r.type)&&!p;if(m){var g=this.cache.getAsync(r);if(g)return g}var v=this.prepareHeaders(r);return new Promise(function(){var c=_asyncToGenerator(z.default.mark(function _callee2(c,p){var m,g,y,b;return z.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,m=l.prepareEndpoint(r),g=u(m,v),x.next=1,g.then(function(){var r=_asyncToGenerator(z.default.mark(function _callee(r){return z.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(r.ok){c.next=3;break}if(!r.headers.get(`content-type`).includes(`application/json`)){c.next=2;break}return c.next=1,r.json();case 1:r=c.sent;case 2:throw r;case 3:return c.abrupt(`return`,r.json());case 4:case`end`:return c.stop()}},_callee)}));return function(c){return r.apply(this,arguments)}}());case 1:y=x.sent,h&&l.cache.set(r,y),c(y),x.next=3;break;case 2:x.prev=2,b=x.catch(0),p(b);case 3:case`end`:return x.stop()}},_callee2,null,[[0,2]])}));return function(r,l){return c.apply(this,arguments)}}())}},{key:`getCache`,value:function getCache(r,c){var l={query:arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}};return this.cache.get({endpoint:this.commandToEndpoint(c,l,this.commandFormats[c]),component:r,command:c,args:l})}},{key:`setCache`,value:function setCache(r,c,l,u){var p={query:l};this.cache.set({endpoint:this.commandToEndpoint(c,p,this.commandFormats[c]),component:r,command:c,args:p},u)}},{key:`updateCache`,value:function updateCache(r,c,l,u){var p={query:l,data:u};this.cache.update({endpoint:this.commandToEndpoint(c,p,this.commandFormats[c]),component:r,command:c,args:p})}},{key:`deleteCache`,value:function deleteCache(r,c){var l={query:arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}};this.cache.delete({endpoint:this.commandToEndpoint(c,l,this.commandFormats[c]),component:r,command:c,args:l})}},{key:`registerFormat`,value:function registerFormat(r,c){this.commandFormats[r]=c}},{key:`create`,value:function create(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.run(`create`,r,{query:l,options:u,data:c})}},{key:`delete`,value:function _delete(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.run(`delete`,r,{query:c,options:l})}},{key:`get`,value:function get(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.run(`get`,r,{query:c,options:l})}},{key:`update`,value:function update(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.run(`update`,r,{query:l,options:u,data:c})}},{key:`options`,value:function options(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.run(`options`,r,{query:c,options:l})}},{key:`register`,value:function register(r,c,l){_superPropGet$2(Data,`register`,this,3)([r,c,l]);var u=r.getNamespace()+`/`+c,p=$e.data.getCommandClass(u),m=p!=null&&p.getEndpointFormat?p.getEndpointFormat():!1;return m&&$e.data.registerFormat(u,m),this}},{key:`run`,value:function run(r,c,l){l.options.type=r;var u=this.commandExtractArgs(c,l);return c=u.command,l=u.args,_superPropGet$2(Data,`run`,this,3)([c,l])}},{key:`error`,value:function error(r){throw Error(`Data commands: `+r)}}])}(B);function _createForOfIteratorHelper(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
7 +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}function _unsupportedIterableToArray(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray(r,c):void 0}}function _arrayLikeToArray(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}var De=function(){function HashCommands(){_classCallCheck(this,HashCommands),_defineProperty(this,`dispatchersList`,{"e:run":{runner:function runner(){return $e.run},isSafe:function isSafe(r){var c;return(c=$e.commands.getCommandClass(r))==null?void 0:c.getInfo().isSafe},isSafeWithArgs:function isSafeWithArgs(r){var c;return(c=$e.commands.getCommandClass(r))==null?void 0:c.getInfo().isSafeWithArgs}},"e:route":{runner:function runner(){return $e.route},isSafe:function isSafe(){return!0},isSafeWithArgs:function isSafeWithArgs(){return!1}}}),_defineProperty(this,`commands`,[]),this.commands=this.get()}return _createClass(HashCommands,[{key:`get`,value:function get(){var r=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:location.hash,l=[];return c&&c.substr(1).split(`&`).forEach(function(c){var u=_slicedToArray(c.split(`?`),2),p=u[0],m=u[1],h=p.split(`:`);if(h.length===3){var g=h[0]+`:`+h[1];if(r.dispatchersList[g]){var v=h[2],y=r.parseCommandArgs(m);l.push({method:g,command:v,args:y})}}}),l}},{key:`run`,value:function(){var r=_asyncToGenerator(z.default.mark(function _callee(){var r,c,l,u,p,m,h,g,v,y=arguments,b,x;return z.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:r=y.length>0&&y[0]!==void 0?y[0]:this.commands,c=_createForOfIteratorHelper(r),S.prev=1,c.s();case 2:if((l=c.n()).done){S.next=5;break}if(u=l.value,p=this.dispatchersList[u.method],p){S.next=3;break}return S.abrupt(`return`,Promise.reject(Error(`No dispatcher found for the command: \`${u.command}\`.`)));case 3:if(p.isSafe(u.command)){S.next=4;break}return S.abrupt(`return`,Promise.reject(Error(`Attempting to run unsafe or non exist command: \`${u.command}\`.`)));case 4:S.next=2;break;case 5:S.next=7;break;case 6:S.prev=6,b=S.catch(1),c.e(b);case 7:return S.prev=7,c.f(),S.finish(7);case 8:m=_createForOfIteratorHelper(r),S.prev=9,m.s();case 10:if((h=m.n()).done){S.next=12;break}return g=h.value,v=this.dispatchersList[g.method],S.next=11,v.runner()(g.command,v.isSafeWithArgs(g.command)?g.args:void 0);case 11:S.next=10;break;case 12:S.next=14;break;case 13:S.prev=13,x=S.catch(9),m.e(x);case 14:return S.prev=14,m.f(),S.finish(14);case 15:case`end`:return S.stop()}},_callee,this,[[1,6,7,8],[9,13,14,15]])}));function run(){return r.apply(this,arguments)}return run}()},{key:`runOnce`,value:function runOnce(){var r=this;this.run(this.commands).then(function(){r.commands=[]})}},{key:`parseCommandArgs`,value:function parseCommandArgs(r){try{return JSON.parse(decodeURI(r||`{}`))}catch(r){return x.warn(`Hash commands JSON args cannot be parsed.
8 +
9 +`,r),{}}}}])}();function _callSuper$12(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$12()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$12,`_callSuper`);function _isNativeReflectConstruct$12(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$12=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$12,`_isNativeReflectConstruct`);var Oe=function(r){function HookBreak(){return _classCallCheck(this,HookBreak),_callSuper$12(this,HookBreak,[`HookBreak`])}return _inherits(HookBreak,r),_createClass(HookBreak)}(_wrapNativeSuper(Error));function _callSuper$11(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$11()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$11,`_callSuper`);function _isNativeReflectConstruct$11(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$11=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$11,`_isNativeReflectConstruct`);var U=function(r){function HooksBase(){var r;_classCallCheck(this,HooksBase);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$11(this,HooksBase,[].concat(l)),r.current=``,r.usedIds=[],r.callbacks={after:{},catch:{}},r.depth={after:{},catch:{}},r.callbacksFlatList={},r}return _inherits(HooksBase,r),_createClass(HooksBase,[{key:`activate`,value:function activate(){Object.values(this.getAll(!0)).forEach(function(r){r.activate()})}},{key:`deactivate`,value:function deactivate(){Object.values(this.getAll(!0)).forEach(function(r){r.deactivate()})}},{key:`getType`,value:function getType(){k()}},{key:`get`,value:function get(r){return this.callbacksFlatList[r]}},{key:`getAll`,value:function getAll(){var r=this;if(arguments.length>0&&arguments[0]!==void 0&&arguments[0])return this.callbacksFlatList;var c={};return Object.keys(this.callbacks).forEach(function(l){c[l]||(c[l]=[]),Object.keys(r.callbacks[l]).forEach(function(u){c[l].push({command:u,callbacks:r.callbacks[l][u]})})}),c}},{key:`getCurrent`,value:function getCurrent(){return this.current}},{key:`getUsedIds`,value:function getUsedIds(){return this.usedIds}},{key:`getCallbacks`,value:function getCallbacks(r,c,l){var u=l.containers,p=u===void 0?[l.container]:u,m=p[0]?p[0].type:!1,h=[];return this.callbacks[r]&&this.callbacks[r][c]&&(m&&this.callbacks[r][c][m]&&(h=h.concat(this.callbacks[r][c][m])),this.callbacks[r][c].all&&(h=h.concat(this.callbacks[r][c].all))),h.length?h:!1}},{key:`checkEvent`,value:function checkEvent(r){if(Object.keys(this.callbacks).indexOf(r)===-1)throw Error(`${this.getType()}: '${r}' is not available.`)}},{key:`checkInstance`,value:function checkInstance(r){if(r.getType()!==this.getType())throw Error(`invalid instance, please use: 'elementor-api/modules/hook-base.js'. `)}},{key:`checkId`,value:function checkId(r){if(this.usedIds.indexOf(r)!==-1)throw Error(`id: '${r}' is already in use.`)}},{key:`shouldRun`,value:function shouldRun(r){return!!r&&r.length}},{key:`register`,value:function register(r,c){var l=c.getCommand(),u=c.getId(),p=c.getContainerType();return this.checkEvent(r),this.checkInstance(c),this.checkId(u),this.registerCallback(u,r,l,c,p)}},{key:`registerCallback`,value:function registerCallback(r,c,l,u,p){this.callbacks[c][l]||(this.callbacks[c][l]=[]),this.usedIds.push(r),this.callbacks[c][l]||(this.callbacks[c][l]={});var m={id:r,callback:u.run.bind(u),isActive:!0,activate:function activate(){this.isActive=!0},deactivate:function deactivate(){this.isActive=!1}};return p?(this.callbacks[c][l][p]||(this.callbacks[c][l][p]=[]),this.callbacks[c][l][p].push(m)):(this.callbacks[c][l].all||(this.callbacks[c][l].all=[]),this.callbacks[c][l].all.push(m)),this.callbacksFlatList[m.id]=m,m}},{key:`run`,value:function run(r,c,l){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0,p=this.getCallbacks(r,c,l);return this.shouldRun(p)?(this.current=c,this.onRun(c,l,r),this.runCallbacks(r,c,p,l,u)):!1}},{key:`runCallbacks`,value:function runCallbacks(r,c,l,u,p){var m=[];for(var h in l){var g=l[h];if(g.isActive){if(this.depth[r][g.id]===void 0&&(this.depth[r][g.id]=0),this.depth[r][g.id]++,this.depth[r][g.id]===1){this.onCallback(c,u,r,g.id);try{var v=this.runCallback(r,g,u,p);if(!v)throw Error(`Callback failed, event: '${r}'`);m.push(v)}catch(r){if(r instanceof $e.modules.HookBreak)throw r;x.error(r)}}this.depth[r][g.id]--}}return m}},{key:`runCallback`,value:function runCallback(r,c,l,u){k()}},{key:`onRun`,value:function onRun(r,c,l){k()}},{key:`onCallback`,value:function onCallback(r,c,l,u){k()}}])}(O.default);function _callSuper$10(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$10()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$10,`_callSuper`);function _isNativeReflectConstruct$10(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$10=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$10,`_isNativeReflectConstruct`);function _superPropGet$1(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$1,`_superPropGet`);var ke=function(r){function Data(){var r;_classCallCheck(this,Data);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$10(this,Data,[].concat(l)),r.callbacks.dependency={},r.depth.dependency={},r}return _inherits(Data,r),_createClass(Data,[{key:`getType`,value:function getType(){return`data`}},{key:`runCallback`,value:function runCallback(r,c,l,u){switch(r){case`dependency`:if(!c.callback(l))throw this.depth[r][c.id]--,new $e.modules.HookBreak;return!0;case`catch`:case`after`:return c.callback(l,u)||r===`after`}return!1}},{key:`shouldRun`,value:function shouldRun(r){return _superPropGet$1(Data,`shouldRun`,this,3)([r])&&elementor.documents.getCurrent().history.getActive()}},{key:`onRun`,value:function onRun(r,c,l){$e.devTools&&$e.devTools.log.callbacks().run(this.getType(),r,c,l)}},{key:`onCallback`,value:function onCallback(r,c,l,u){$e.devTools&&$e.devTools.log.callbacks().callback(this.getType(),r,c,l,u)}}])}(U);function _callSuper$9(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$9()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$9,`_callSuper`);function _isNativeReflectConstruct$9(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$9=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$9,`_isNativeReflectConstruct`);var Ae=function(r){function Ui(){var r;_classCallCheck(this,Ui);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$9(this,Ui,[].concat(l)),r.callbacks.before={},r.depth.before={},r}return _inherits(Ui,r),_createClass(Ui,[{key:`getType`,value:function getType(){return`ui`}},{key:`runCallback`,value:function runCallback(r,c,l,u){switch(r){case`before`:c.callback(l);break;case`catch`:case`after`:c.callback(l,u);break;default:return!1}return!0}},{key:`onRun`,value:function onRun(r,c,l){$e.devTools&&$e.devTools.log.callbacks().run(this.getType(),r,c,l)}},{key:`onCallback`,value:function onCallback(r,c,l,u){$e.devTools&&$e.devTools.log.callbacks().callback(this.getType(),r,c,l,u)}}])}(U),je=function(){function Hooks(){_classCallCheck(this,Hooks),_defineProperty(this,`data`,new ke),_defineProperty(this,`ui`,new Ae)}return _createClass(Hooks,[{key:`activate`,value:function activate(){this.getTypes().forEach(function(r){r.activate()})}},{key:`deactivate`,value:function deactivate(){this.getTypes().forEach(function(r){r.deactivate()})}},{key:`getAll`,value:function getAll(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],c={};return this.getTypes().forEach(function(l){c[l.getType()]=l.getAll(r)}),c}},{key:`getTypes`,value:function getTypes(){return[this.data,this.ui]}},{key:`getType`,value:function getType(r){return this.getTypes().find(function(c){return r===c.getType()})}},{key:`register`,value:function register(r,c,l){return this.getType(r).register(c,l)}},{key:`run`,value:function run(r,c,l,u){var p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0;return this.getType(r).run(c,l,u,p)}},{key:`registerDataAfter`,value:function registerDataAfter(r){return this.register(`data`,`after`,r)}},{key:`registerDataCatch`,value:function registerDataCatch(r){return this.register(`data`,`catch`,r)}},{key:`registerDataDependency`,value:function registerDataDependency(r){return this.register(`data`,`dependency`,r)}},{key:`registerUIAfter`,value:function registerUIAfter(r){return this.register(`ui`,`after`,r)}},{key:`registerUICatch`,value:function registerUICatch(r){return this.register(`ui`,`catch`,r)}},{key:`registerUIBefore`,value:function registerUIBefore(r){return this.register(`ui`,`before`,r)}},{key:`runDataAfter`,value:function runDataAfter(r,c,l){return this.run(`data`,`after`,r,c,l)}},{key:`runDataCatch`,value:function runDataCatch(r,c,l){return this.run(`data`,`catch`,r,c,l)}},{key:`runDataDependency`,value:function runDataDependency(r,c){return this.run(`data`,`dependency`,r,c)}},{key:`runUIAfter`,value:function runUIAfter(r,c,l){return this.run(`ui`,`after`,r,c,l)}},{key:`runUICatch`,value:function runUICatch(r,c,l){return this.run(`ui`,`catch`,r,c,l)}},{key:`runUIBefore`,value:function runUIBefore(r,c){return this.run(`ui`,`before`,r,c)}}])}();function _callSuper$8(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$8()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$8,`_callSuper`);function _isNativeReflectConstruct$8(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$8=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$8,`_isNativeReflectConstruct`);function _superPropGet(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var Me=function(r){function Routes(){var r;_classCallCheck(this,Routes);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$8(this,Routes,[].concat(l)),r.savedStates={},r.historyPerComponent={},r}return _inherits(Routes,r),_createClass(Routes,[{key:`refreshContainer`,value:function refreshContainer(r){var c=this.getCurrent(r),l=this.getCurrentArgs(r);this.clearCurrent(r),this.to(c,l)}},{key:`getHistory`,value:function getHistory(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return r?this.historyPerComponent[r]||[]:this.historyPerComponent}},{key:`clearHistory`,value:function clearHistory(r){delete this.historyPerComponent[r]}},{key:`clearCurrent`,value:function clearCurrent(r){var c=this.current[r];c&&(this.detachCurrent(r),this.getComponent(c).onCloseRoute(c),this.dispatchOnClose(c))}},{key:`clear`,value:function clear(){var r=this;Object.keys(this.current).forEach(function(c){return r.clearCurrent(c)})}},{key:`saveState`,value:function saveState(r){return this.savedStates[r]={route:this.current[r],args:this.currentArgs[r]},this}},{key:`restoreState`,value:function restoreState(r){return this.savedStates[r]?(this.to(this.savedStates[r].route,this.savedStates[r].args),!0):!1}},{key:`validateRun`,value:function validateRun(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!_superPropGet(Routes,`validateRun`,this,3)([r,c])||this.is(r,c)&&!c.refresh)return!1;var l=this.getComponent(r);return(!l.isOpen||c.reOpen)&&(l.isOpen=l.open(c)),l.isOpen}},{key:`beforeRun`,value:function beforeRun(r,c){var l=this.getComponent(r).getServiceName(),u=this.current[l];u&&this.getComponent(u).onCloseRoute(u),B.trace.push(r),_superPropGet(Routes,`beforeRun`,this,3)([r,c,!1]),this.attachCurrent(l,r,c),u&&this.dispatchOnClose(u)}},{key:`to`,value:function to(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{history:!0};this.run(r,c);var u=this.getComponent(r).getServiceName();l.history&&(this.historyPerComponent[u]||(this.historyPerComponent[u]=[]),this.historyPerComponent[u].push({route:r,args:c}))}},{key:`back`,value:function back(r){var c=this.getHistory(r);c.pop();var l=c.pop();l&&this.to(l.route,l.args)}},{key:`runShortcut`,value:function runShortcut(r){this.to(r)}},{key:`afterRun`,value:function afterRun(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;this.getComponent(r).onRoute(r,c),this.dispatchOnOpen(r),_superPropGet(Routes,`afterRun`,this,3)([r,c,l,!1]),B.trace.pop()}},{key:`is`,value:function is(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!_superPropGet(Routes,`is`,this,3)([r]))return!1;var l=this.getComponent(r).getServiceName();return _.isEqual(c,this.currentArgs[l])}},{key:`isPartOf`,value:function isPartOf(r){var c=r.split(`/`)[0],l=[],u=this.current[c]?this.current[c].split(`/`):[],p=!1;return u.forEach(function(c){l.push(c),l.join(`/`)===r&&(p=!0)}),p}},{key:`error`,value:function error(r){throw Error(`Routes: `+r)}},{key:`dispatchOnOpen`,value:function dispatchOnOpen(r){window.dispatchEvent(new CustomEvent(`elementor/routes/open`,{detail:{route:r}}))}},{key:`dispatchOnClose`,value:function dispatchOnClose(r){window.dispatchEvent(new CustomEvent(`elementor/routes/close`,{detail:{route:r}}))}}])}(B),W=function matchUserAgent(r){return G.indexOf(r)>=0},G=navigator.userAgent,K=!!window.opr&&!!opr.addons||!!window.opera||W(` OPR/`),Ne=W(`Firefox`),Pe=/^((?!chrome|android).)*safari/i.test(G)||/constructor/i.test(window.HTMLElement)||function(r){return r.toString()===`[object SafariRemoteNotification]`}(!window.safari||typeof safari<`u`&&safari.pushNotification),q=/Trident|MSIE/.test(G)&&!!document.documentMode,J=!q&&!!window.StyleMedia||W(`Edg`),Fe=!!window.chrome&&W(`Chrome`)&&!(J||K),Y=W(`Chrome`)&&!!window.CSS,Ie={appleWebkit:W(`AppleWebKit`)&&!Y,blink:Y,chrome:Fe,edge:J,firefox:Ne,ie:q,mac:W(`Macintosh`),opera:K,safari:Pe,webkit:W(`AppleWebKit`)},Le=function(){function Shortcuts(r){_classCallCheck(this,Shortcuts),this.specialKeys={13:`enter`,27:`esc`,38:`up`,40:`down`,46:`del`,191:`?`},this.component=``,this.handlers={},this.bindListener(r)}return _createClass(Shortcuts,[{key:`bindListener`,value:function bindListener(r){var c=this;r.on(`keydown`,function(r){return c.handle(r)})}},{key:`getAll`,value:function getAll(){var r={};return jQuery.each(this.handlers,function(c,l){jQuery.each(l,function(l,u){r[u.command]=c})}),r}},{key:`register`,value:function register(r,c){var l=this;r.replace(` `,``).split(`,`).forEach(function(r){l.handlers[r]||(l.handlers[r]=[]),l.handlers[r].push(c)})}},{key:`unregister`,value:function unregister(r,c){var l=this;r.replace(` `,``).split(`,`).forEach(function(r){l.handlers[r].forEach(function(u,p){c===p&&delete l.handlers[r][u]})})}},{key:`handle`,value:function handle(r){var c=this.getHandlersByPriority(r);if(c){var l=c.filter(function(c){if(c.exclude&&c.exclude.indexOf(`input`)!==-1){var l=jQuery(r.target);if(l.is(`:input, .elementor-input`)||l.closest(`[contenteditable="true"]`).length)return!1}return!(c.dependency&&!c.dependency(r)||!c.allowAltKey&&r.altKey)});l.length&&(1<l.length&&elementorWebCliConfig.isDebug&&x.warn(`Multiple handlers for shortcut.`,l,r),r.preventDefault(),l[0].callback(r))}}},{key:`isControlEvent`,value:function isControlEvent(r){return r[Ie.mac?`metaKey`:`ctrlKey`]}},{key:`getEventShortcut`,value:function getEventShortcut(r){var c=[];return r.altKey&&c.push(`alt`),this.isControlEvent(r)&&c.push(`ctrl`),r.shiftKey&&c.push(`shift`),this.specialKeys[r.which]?c.push(this.specialKeys[r.which]):c.push(String.fromCharCode(r.which).toLowerCase()),c.join(`+`)}},{key:`isActiveScope`,value:function isActiveScope(r){var c=Object.keys($e.components.activeComponents),l=c[c.length-1],u=$e.components.get(l);if(!u)return!1;var p=u.getNamespace();if(r.some(function(r){return p===r}))return!0;var m=u.getServiceName();return r.some(function(r){return m===r})}},{key:`getHandlersByPriority`,value:function getHandlersByPriority(r){var c=this,l=this.handlers[this.getEventShortcut(r)];if(!l)return!1;var u=l.filter(function(r){return r.scopes&&c.isActiveScope(r.scopes)});if(u.length)return u;var p=l.filter(function(r){return!r.scopes});if(p.length)return p}}])}();function ownKeys(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}var Re=function(){function Store(){_classCallCheck(this,Store),_defineProperty(this,`slices`,{}),_defineProperty(this,`reduxStore`,void 0),this.slices={},this.reduxStore=this.createStore()}return _createClass(Store,[{key:`createStore`,value:function createStore(){return(0,r.configureStore)({reducer:function reducer(){}})}},{key:`injectReducer`,value:function injectReducer(c,l){var u=this.getReducers();this.reduxStore.replaceReducer((0,r.combineReducers)(_objectSpread(_objectSpread({},u),{},_defineProperty({},c,l))))}},{key:`register`,value:function register(r,c){if(this.slices[r])throw`Slice with ID '${r}' already exists.`;this.slices[r]=c,this.injectReducer(r,c.reducer)}},{key:`get`,value:function get(r){return this.slices[r]}},{key:`getAllSlices`,value:function getAllSlices(){return this.slices}},{key:`getAll`,value:function getAll(){return Object.keys(this.slices).sort()}},{key:`getReducers`,value:function getReducers(){return Object.entries(this.slices).reduce(function(r,c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return _objectSpread(_objectSpread({},r),{},_defineProperty({},u,p.reducer))},{})}},{key:`getReduxStore`,value:function getReduxStore(){return this.reduxStore}},{key:`dispatch`,value:function dispatch(){var r;return(r=this.reduxStore).dispatch.apply(r,arguments)}},{key:`getState`,value:function getState(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=this.reduxStore.getState();return r?c[r]:c}},{key:`replaceReducer`,value:function replaceReducer(){var r;return(r=this.reduxStore).replaceReducer.apply(r,arguments)}},{key:`subscribe`,value:function subscribe(){var r;return(r=this.reduxStore).subscribe.apply(r,arguments)}}])}(),ze=function(){function UiStates(){_classCallCheck(this,UiStates),this.states={}}return _createClass(UiStates,[{key:`register`,value:function register(r){var c=r.getPrefixedId();if(this.states[c])throw`State '${c}' already exists.`;this.states[c]=r}},{key:`getAll`,value:function getAll(){var r={};return Object.entries(this.states).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1].getOptions();r[u]=Object.keys(p)}),r}},{key:`get`,value:function get(r){return r?this.states[r]:this.states}},{key:`set`,value:function set(r,c){if(!this.get(r))throw`State '${r}' doesn't exist.`;var l=this.getCurrent(r),u=`e-ui-state--${r.replaceAll(`/`,`-`)}`,p=`${u}__${l}`,m=`${u}__${c}`,h=this.get(r).getScopes();this.get(r).set(c),h.forEach(function(u){u.classList.remove(p),c&&u.classList.add(m);var h=new CustomEvent(`e-ui-state:${r}`,{detail:{oldValue:l,newValue:c}});u.dispatchEvent(h)})}},{key:`remove`,value:function remove(r){this.set(r,``)}},{key:`getCurrent`,value:function getCurrent(r){var c;return(c=this.get(r))==null?void 0:c.getCurrent()}}])}(),X=function(){function HookBase(){_classCallCheck(this,HookBase),_defineProperty(this,`type`,void 0),_defineProperty(this,`command`,void 0),_defineProperty(this,`id`,void 0),this.initialize(),this.type=this.getType(),this.command=this.getCommand(),this.id=this.getId()}return _createClass(HookBase,[{key:`initialize`,value:function initialize(){}},{key:`register`,value:function register(){k()}},{key:`getType`,value:function getType(){k()}},{key:`getCommand`,value:function getCommand(){k()}},{key:`getId`,value:function getId(){k()}},{key:`getContainerType`,value:function getContainerType(){}},{key:`getConditions`,value:function getConditions(){return arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1],!0}},{key:`apply`,value:function apply(r){k()}},{key:`run`,value:function run(){var r=(arguments.length<=0?void 0:arguments[0]).options,c=r===void 0?{}:r;return c.callbacks&&!1===c.callbacks[this.id]?!0:this.getConditions.apply(this,arguments)?($e.devTools&&$e.devTools.log.callbacks().active(this.type,this.command,this.id),this.apply.apply(this,arguments)):!0}}])}();function _callSuper$7(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$7()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$7,`_callSuper`);function _isNativeReflectConstruct$7(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$7=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$7,`_isNativeReflectConstruct`);var Z=function(r){function Base(){return _classCallCheck(this,Base),_callSuper$7(this,Base,arguments)}return _inherits(Base,r),_createClass(Base,[{key:`getType`,value:function getType(){return`data`}}])}(X);function _callSuper$6(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$6()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$6,`_callSuper`);function _isNativeReflectConstruct$6(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$6=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$6,`_isNativeReflectConstruct`);var Q=function(r){function After(){return _classCallCheck(this,After),_callSuper$6(this,After,arguments)}return _inherits(After,r),_createClass(After,[{key:`register`,value:function register(){$e.hooks.registerDataAfter(this)}}])}(Z);function _callSuper$5(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$5()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$5,`_callSuper`);function _isNativeReflectConstruct$5(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$5=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$5,`_isNativeReflectConstruct`);var Be=function(r){function Catch(){return _classCallCheck(this,Catch),_callSuper$5(this,Catch,arguments)}return _inherits(Catch,r),_createClass(Catch,[{key:`register`,value:function register(){$e.hooks.registerDataCatch(this)}}])}(Z);function _callSuper$4(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$4()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$4,`_callSuper`);function _isNativeReflectConstruct$4(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$4=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$4,`_isNativeReflectConstruct`);var Ve=function(r){function Dependency(){return _classCallCheck(this,Dependency),_callSuper$4(this,Dependency,arguments)}return _inherits(Dependency,r),_createClass(Dependency,[{key:`register`,value:function register(){$e.hooks.registerDataDependency(this)}}])}(Z),He=__exportAll({After:()=>Q,Base:()=>Z,Catch:()=>Be,Dependency:()=>Ve});function _callSuper$3(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$3()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$3,`_callSuper`);function _isNativeReflectConstruct$3(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$3=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$3,`_isNativeReflectConstruct`);var $=function(r){function Base(){return _classCallCheck(this,Base),_callSuper$3(this,Base,arguments)}return _inherits(Base,r),_createClass(Base,[{key:`getType`,value:function getType(){return`ui`}}])}(X);function _callSuper$2(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$2()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$2,`_callSuper`);function _isNativeReflectConstruct$2(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$2=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$2,`_isNativeReflectConstruct`);var Ue=function(r){function After(){return _classCallCheck(this,After),_callSuper$2(this,After,arguments)}return _inherits(After,r),_createClass(After,[{key:`register`,value:function register(){$e.hooks.registerUIAfter(this)}}])}($);function _callSuper$1(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$1()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$1,`_callSuper`);function _isNativeReflectConstruct$1(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$1=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$1,`_isNativeReflectConstruct`);var We=function(r){function Before(){return _classCallCheck(this,Before),_callSuper$1(this,Before,arguments)}return _inherits(Before,r),_createClass(Before,[{key:`register`,value:function register(){$e.hooks.registerUIBefore(this)}}])}($);function _callSuper(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var Ge=function(r){function Catch(){return _classCallCheck(this,Catch),_callSuper(this,Catch,arguments)}return _inherits(Catch,r),_createClass(Catch,[{key:`register`,value:function register(){$e.hooks.registerUICatch(this)}}])}($),Ke=__exportAll({After:()=>Ue,Base:()=>$,Before:()=>We,Catch:()=>Ge});window.$e=new(function(){function API(){_classCallCheck(this,API),this.components=new ve,this.commands=new B,this.commandsInternal=new V,this.hooks=new je,this.routes=new Me,this.shortcuts=new Le(jQuery(window)),this.data=new Ee,this.store=new Re,this.uiStates=new ze,this.modules={CommandBase:D,CommandInternalBase:re,CommandData:oe,ComponentBase:A,ComponentModalBase:_e,HookBreak:Oe,hookData:He,hookUI:Ke},this.extras={hashCommands:new De},this.bc=new ne}return _createClass(API,[{key:`run`,value:function run(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return $e.commands.run(r,c)}},{key:`internal`,value:function internal(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return $e.commandsInternal.run(r,c)}},{key:`route`,value:function route(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{history:!0};return $e.routes.to(r,c,l)}}])}())})(elementorVendors.reduxToolkit);