text: /*! elementor - v3.0.11 - 30-09-2020 */
  !function(t){var o={};function __webpack_require__(i){if(o[i])return o[i].exports;var r=o[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}__webpack_require__.m=t,__webpack_require__.c=o,__webpack_require__.d=function(t,o,i){__webpack_require__.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:i})},__webpack_require__.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.t=function(t,o){if(1&o&&(t=__webpack_require__(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(__webpack_require__.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var r in t)__webpack_require__.d(i,r,function(o){return t[o]}.bind(null,r));return i},__webpack_require__.n=function(t){var o=t&&t.__esModule?function getDefault(){return t.default}:function getModuleExports(){return t};return __webpack_require__.d(o,"a",o),o},__webpack_require__.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=708)}([function(t,o){t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}},function(t,o,i){t.exports=i(152)},function(t,o){t.exports=function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}},function(t,o,i){var r=i(1);function _defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),r(t,a.key,a)}}t.exports=function _createClass(t,o,i){return o&&_defineProperties(t.prototype,o),i&&_defineProperties(t,i),t}},function(t,o,i){var r=i(135),a=i(133);t.exports=function _inherits(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=r(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),o&&a(t,o)}},function(t,o,i){var r=i(101),a=i(16),l=i(141),u=i(167);t.exports=function _createSuper(t){var o=l();return function _createSuperInternal(){var i,l=a(t);if(o){var c=a(this).constructor;i=r(l,arguments,c)}else i=l.apply(this,arguments);return u(this,i)}}},function(t,o){var i=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},function(t,o,i){var r=i(8),a=i(6),l=i(31),u=i(22),c=i(17),$export=function(t,o,i){var d,m,p,h=t&$export.F,g=t&$export.G,v=t&$export.S,y=t&$export.P,C=t&$export.B,b=t&$export.W,w=g?a:a[o]||(a[o]={}),k=w.prototype,S=g?r:v?r[o]:(r[o]||{}).prototype;for(d in g&&(i=o),i)(m=!h&&S&&void 0!==S[d])&&c(w,d)||(p=m?S[d]:i[d],w[d]=g&&"function"!=typeof S[d]?i[d]:C&&m?l(p,r):b&&S[d]==p?function(t){var F=function(o,i,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(o);case 2:return new t(o,i)}return new t(o,i,r)}return t.apply(this,arguments)};return F.prototype=t.prototype,F}(p):y&&"function"==typeof p?l(Function.call,p):p,y&&((w.virtual||(w.virtual={}))[d]=p,t&$export.R&&k&&!k[d]&&u(k,d,p)))};$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,t.exports=$export},function(t,o){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,o){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,o,i){var r=i(69)("wks"),a=i(54),l=i(8).Symbol,u="function"==typeof l;(t.exports=function(t){return r[t]||(r[t]=u&&l[t]||(u?l:a)("Symbol."+t))}).store=r},function(t,o,i){var r=i(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,o){t.exports=React},function(t,o,i){var r=i(76)("wks"),a=i(77),l=i(18).Symbol,u="function"==typeof l;(t.exports=function(t){return r[t]||(r[t]=u&&l[t]||(u?l:a)("Symbol."+t))}).store=r},function(t,o,i){t.exports=!i(21)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,o,i){var r=i(11),a=i(110),l=i(67),u=Object.defineProperty;o.f=i(14)?Object.defineProperty:function defineProperty(t,o,i){if(r(t),o=l(o,!0),r(i),a)try{return u(t,o,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[o]=i.value),t}},function(t,o,i){var r=i(154),a=i(111);function _getPrototypeOf(o){return t.exports=_getPrototypeOf=a?r:function _getPrototypeOf(t){return t.__proto__||r(t)},_getPrototypeOf(o)}t.exports=_getPrototypeOf},function(t,o){var i={}.hasOwnProperty;t.exports=function(t,o){return i.call(t,o)}},function(t,o){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,o,i){var r=i(100),a=i(65);t.exports=function(t){return r(a(t))}},function(t,o,i){var r=i(30);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,o){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,o,i){var r=i(15),a=i(42);t.exports=i(14)?function(t,o,i){return r.f(t,o,a(1,i))}:function(t,o,i){return t[o]=i,t}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(47)),l=r(i(83));i(150),i(118),i(79),i(271);var u=r(i(137)),c=r(i(85));i(66);var d=r(i(84)),m=r(i(2)),p=r(i(48)),h=r(i(3)),g=r(i(4)),v=r(i(5)),y=r(i(28)),C=function(t){(0,g.default)(CommandBase,t);var o=(0,v.default)(CommandBase);function CommandBase(t){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e.commands;return(0,m.default)(this,CommandBase),i=o.call(this,t),(0,y.default)((0,p.default)(i),"component",void 0),i.currentCommand=r.getCurrentLast(),i.component=r.getComponent(i.currentCommand),i.initialize(t),t=i.args,i.validateArgs(t),i}return(0,h.default)(CommandBase,null,[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}]),(0,h.default)(CommandBase,[{key:"requireContainer",value:function requireContainer(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(!o.container&&!o.containers)throw Error("container or containers are required.");if(o.container&&o.containers)throw Error("container and containers cannot go together please select one of them.");var i=o.containers||[o.container];i.forEach((function(o){t.requireArgumentInstance("container",elementorModules.editor.Container,{container:o})}))}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"isDataChanged",value:function isDataChanged(){return!1}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){var t;this.onBeforeRun(this.args);try{this.onBeforeApply(this.args),t=this.apply(this.args)}catch(t){if(this.onCatchApply(t),t instanceof $e.modules.HookBreak)return!1}return this.runAfter(t)}},{key:"runAfter",value:function runAfter(t){var o=this,i=function onAfter(t){o.onAfterApply(o.args,t),o.isDataChanged()&&$e.internal("document/save/set-is-modified",{status:!0}),o.onAfterRun(o.args,t)},r=function(){var t=(0,d.default)(l.default.mark((function _callee(t){var i,r;return l.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(i=o.onAfterApply(o.args,t),!(r=(0,c.default)(i)?i.flat().filter((function(t){return t instanceof u.default})):[]).length){a.next=4;break}return a.next=4,u.default.all(r);case 4:o.isDataChanged()&&$e.internal("document/save/set-is-modified",{status:!0}),o.onAfterRun(o.args,t);case 6:case"end":return a.stop()}}),_callee)})));return function asyncOnAfter(o){return t.apply(this,arguments)}}();if(t&&"object"===(0,a.default)(t)&&t.promise&&t.then&&t.fail)t.fail(this.onCatchApply.bind(this)),t.done(i);else{if(t instanceof u.default)return(0,d.default)(l.default.mark((function _callee2(){return l.default.wrap((function _callee2$(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t.catch(o.onCatchApply.bind(o));case 2:return i.next=4,t.then((function(t){return r(t)}));case 4:return i.abrupt("return",t);case 5:case"end":return i.stop()}}),_callee2)})))();i(t)}return t}},{key:"onBeforeRun",value:function onBeforeRun(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.currentCommand,t)}},{key:"onAfterRun",value:function onAfterRun(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.currentCommand,t,o)}},{key:"onBeforeApply",value:function onBeforeApply(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.currentCommand,t)}},{key:"onAfterApply",value:function onAfterApply(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.currentCommand,t,o)}},{key:"onCatchApply",value:function onCatchApply(t){$e.hooks.runDataCatch(this.currentCommand,this.args,t),elementorCommon.helpers.consoleError(t),$e.hooks.runUICatch(this.currentCommand,this.args,t)}}]),CommandBase}(r(i(223)).default);o.default=C},function(t,o,i){var r=i(117),a=i(185),l=i(188);function _get(o,i,u){return"undefined"!=typeof Reflect&&a?t.exports=_get=a:t.exports=_get=function _get(t,o,i){var a=l(t,o);if(a){var u=r(a,o);return u.get?u.get.call(i):u.value}},_get(o,i,u||o)}t.exports=_get},function(t,o,i){t.exports=i(201)},function(t,o,i){"use strict";var r=i(37),a=i(189)(5),l=!0;"find"in[]&&Array(1).find((function(){l=!1})),r(r.P+r.F*l,"Array",{find:function find(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),i(89)("find")},function(t,o,i){t.exports=!i(35)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,o,i){var r=i(1);t.exports=function _defineProperty(t,o,i){return o in t?r(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}},function(t,o,i){var r=i(49),a=i(106);t.exports=i(27)?function(t,o,i){return r.f(t,o,a(1,i))}:function(t,o,i){return t[o]=i,t}},function(t,o){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,o,i){var r=i(34);t.exports=function(t,o,i){if(r(t),void 0===o)return t;switch(i){case 1:return function(i){return t.call(o,i)};case 2:return function(i,r){return t.call(o,i,r)};case 3:return function(i,r,a){return t.call(o,i,r,a)}}return function(){return t.apply(o,arguments)}}},function(t,o,i){var r=i(65);t.exports=function(t){return Object(r(t))}},function(t,o){t.exports={}},function(t,o){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,o){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,o,i){var r=i(112),a=i(72);t.exports=Object.keys||function keys(t){return r(t,a)}},function(t,o,i){var r=i(18),a=i(57),l=i(29),u=i(39),c=i(80),$export=function(t,o,i){var d,m,p,h,g=t&$export.F,v=t&$export.G,y=t&$export.S,C=t&$export.P,b=t&$export.B,w=v?r:y?r[o]||(r[o]={}):(r[o]||{}).prototype,k=v?a:a[o]||(a[o]={}),S=k.prototype||(k.prototype={});for(d in v&&(i=o),i)p=((m=!g&&w&&void 0!==w[d])?w:i)[d],h=b&&m?c(p,r):C&&"function"==typeof p?c(Function.call,p):p,w&&u(w,d,p,t&$export.U),k[d]!=p&&l(k,d,h),C&&S[d]!=p&&(S[d]=p)};r.core=a,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,t.exports=$export},function(t,o,i){var r=i(117),a=i(1),l=i(47),u=i(263);function _getRequireWildcardCache(){if("function"!=typeof u)return null;var t=new u;return _getRequireWildcardCache=function _getRequireWildcardCache(){return t},t}t.exports=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;if(null===t||"object"!==l(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache();if(o&&o.has(t))return o.get(t);var i={},u=a&&r;for(var c in t)if(Object.prototype.hasOwnProperty.call(t,c)){var d=u?r(t,c):null;d&&(d.get||d.set)?a(i,c,d):i[c]=t[c]}return i.default=t,o&&o.set(t,i),i}},function(t,o,i){var r=i(18),a=i(29),l=i(64),u=i(77)("src"),c=i(147),d=(""+c).split("toString");i(57).inspectSource=function(t){return c.call(t)},(t.exports=function(t,o,i,c){var m="function"==typeof i;m&&(l(i,"name")||a(i,"name",o)),t[o]!==i&&(m&&(l(i,u)||a(i,u,t[o]?""+t[o]:d.join(String(o)))),t===r?t[o]=i:c?t[o]?t[o]=i:a(t,o,i):(delete t[o],a(t,o,i)))})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,o,i){var r=i(49).f,a=Function.prototype,l=/^\s*function ([^ (]*)/;"name"in a||i(27)&&r(a,"name",{configurable:!0,get:function(){try{return(""+this).match(l)[1]}catch(t){return""}}})},function(t,o,i){t.exports=i(325)()},function(t,o){t.exports=function(t,o){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:o}}},function(t,o){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,o){t.exports=!0},function(t,o,i){var r=i(59),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},function(t,o){o.f={}.propertyIsEnumerable},function(t,o,i){var r=i(148),a=i(107);function _typeof(o){return t.exports=_typeof="function"==typeof a&&"symbol"==typeof r?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof a&&t.constructor===a&&t!==a.prototype?"symbol":typeof t},_typeof(o)}t.exports=_typeof},function(t,o){t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,o,i){var r=i(20),a=i(131),l=i(124),u=Object.defineProperty;o.f=i(27)?Object.defineProperty:function defineProperty(t,o,i){if(r(t),o=l(o,!0),r(i),a)try{return u(t,o,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[o]=i.value),t}},function(t,o){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,o,i){var r=i(46),a=i(42),l=i(19),u=i(67),c=i(17),d=i(110),m=Object.getOwnPropertyDescriptor;o.f=i(14)?m:function getOwnPropertyDescriptor(t,o){if(t=l(t),o=u(o,!0),d)try{return m(t,o)}catch(t){}if(c(t,o))return a(!r.f.call(t,o),t[o])}},function(t,o,i){var r=i(11),a=i(132),l=i(72),u=i(68)("IE_PROTO"),Empty=function(){},createDict=function(){var t,o=i(87)("iframe"),r=l.length;for(o.style.display="none",i(129).appendChild(o),o.src="javascript:",(t=o.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),createDict=t.F;r--;)delete createDict.prototype[l[r]];return createDict()};t.exports=Object.create||function create(t,o){var i;return null!==t?(Empty.prototype=r(t),i=new Empty,Empty.prototype=null,i[u]=t):i=createDict(),void 0===o?i:a(i,o)}},function(t,o,i){var r=i(15).f,a=i(17),l=i(10)("toStringTag");t.exports=function(t,o,i){t&&!a(t=i?t:t.prototype,l)&&r(t,l,{configurable:!0,value:o})}},function(t,o){var i=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+r).toString(36))}},function(t,o){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,o,i){t.exports=i(226)},function(t,o){var i=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},function(t,o,i){"use strict";var r=i(169)(!0);i(102)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,o=this._t,i=this._i;return i>=o.length?{value:void 0,done:!0}:(t=r(o,i),this._i+=t.length,{value:t,done:!1})}))},function(t,o){var i=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:i)(t)}},function(t,o,i){"use strict";var r=i(20),a=i(99),l=i(45),u=i(59),c=i(108),d=i(97),m=Math.max,p=Math.min,h=Math.floor,g=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g;i(98)("replace",2,(function(t,o,i,y){return[function replace(r,a){var l=t(this),u=null==r?void 0:r[o];return void 0!==u?u.call(r,l,a):i.call(String(l),r,a)},function(t,o){var a=y(i,t,this,o);if(a.done)return a.value;var h=r(t),g=String(this),v="function"==typeof o;v||(o=String(o));var C=h.global;if(C){var b=h.unicode;h.lastIndex=0}for(var w=[];;){var k=d(h,g);if(null===k)break;if(w.push(k),!C)break;""===String(k[0])&&(h.lastIndex=c(g,l(h.lastIndex),b))}for(var S,x="",T=0,M=0;M<w.length;M++){k=w[M];for(var I=String(k[0]),E=m(p(u(k.index),g.length),0),P=[],D=1;D<k.length;D++)P.push(void 0===(S=k[D])?S:String(S));var R=k.groups;if(v){var V=[I].concat(P,E,g);void 0!==R&&V.push(R);var A=String(o.apply(void 0,V))}else A=getSubstitution(I,g,E,P,R,o);E>=T&&(x+=g.slice(T,E)+A,T=E+I.length)}return x+g.slice(T)}];function getSubstitution(t,o,r,l,u,c){var d=r+t.length,m=l.length,p=v;return void 0!==u&&(u=a(u),p=g),i.call(c,p,(function(i,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return o.slice(0,r);case"'":return o.slice(d);case"<":c=u[a.slice(1,-1)];break;default:var p=+a;if(0===p)return i;if(p>m){var g=h(p/10);return 0===g?i:g<=m?void 0===l[g-1]?a.charAt(1):l[g-1]+a.charAt(1):i}c=l[p-1]}return void 0===c?"":c}))}}))},function(t,o,i){i(171);for(var r=i(8),a=i(22),l=i(33),u=i(10)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),d=0;d<c.length;d++){var m=c[d],p=r[m],h=p&&p.prototype;h&&!h[u]&&a(h,u,m),l[m]=l.Array}},function(t,o,i){o.f=i(10)},function(t,o,i){var r=i(17),a=i(32),l=i(68)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=a(t),r(t,l)?t[l]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,o){var i={}.hasOwnProperty;t.exports=function(t,o){return i.call(t,o)}},function(t,o){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,o,i){var r=function(t){"use strict";var o=Object.prototype,i=o.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",u=r.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function(t,o,i){return t[o]=i}}function wrap(t,o,i,r){var a=o&&o.prototype instanceof Generator?o:Generator,l=Object.create(a.prototype),u=new Context(r||[]);return l._invoke=function makeInvokeMethod(t,o,i){var r="suspendedStart";return function invoke(a,l){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw l;return doneResult()}for(i.method=a,i.arg=l;;){var u=i.delegate;if(u){var d=maybeInvokeDelegate(u,i);if(d){if(d===c)continue;return d}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===r)throw r="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r="executing";var m=tryCatch(t,o,i);if("normal"===m.type){if(r=i.done?"completed":"suspendedYield",m.arg===c)continue;return{value:m.arg,done:i.done}}"throw"===m.type&&(r="completed",i.method="throw",i.arg=m.arg)}}}(t,i,u),l}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=wrap;var c={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var d={};d[a]=function(){return this};var m=Object.getPrototypeOf,p=m&&m(m(values([])));p&&p!==o&&i.call(p,a)&&(d=p);var h=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(d);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){var r;this._invoke=function enqueue(a,l){function callInvokeWithMethodAndArg(){return new o((function(r,u){!function invoke(r,a,l,u){var c=tryCatch(t[r],t,a);if("throw"!==c.type){var d=c.arg,m=d.value;return m&&"object"==typeof m&&i.call(m,"__await")?o.resolve(m.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(m).then((function(t){d.value=t,l(d)}),(function(t){return invoke("throw",t,l,u)}))}u(c.arg)}(a,l,r,u)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(t,o){var i=t.iterator[o.method];if(void 0===i){if(o.delegate=null,"throw"===o.method){if(t.iterator.return&&(o.method="return",o.arg=void 0,maybeInvokeDelegate(t,o),"throw"===o.method))return c;o.method="throw",o.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=tryCatch(i,t.iterator,o.arg);if("throw"===r.type)return o.method="throw",o.arg=r.arg,o.delegate=null,c;var a=r.arg;return a?a.done?(o[t.resultName]=a.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=void 0),o.delegate=null,c):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,c)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t){var o=t[a];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,l=function next(){for(;++r<t.length;)if(i.call(t,r))return next.value=t[r],next.done=!1,next;return next.value=void 0,next.done=!0,next};return l.next=l}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=h.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===GeneratorFunction||"GeneratorFunction"===(o.displayName||o.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(h),t},t.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),AsyncIterator.prototype[l]=function(){return this},t.AsyncIterator=AsyncIterator,t.async=function(o,i,r,a,l){void 0===l&&(l=Promise);var u=new AsyncIterator(wrap(o,i,r,a),l);return t.isGeneratorFunction(i)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(h),define(h,u,"Generator"),h[a]=function(){return this},h.toString=function(){return"[object Generator]"},t.keys=function(t){var o=[];for(var i in t)o.push(i);return o.reverse(),function next(){for(;o.length;){var i=o.pop();if(i in t)return next.value=i,next.done=!1,next}return next.done=!0,next}},t.values=values,Context.prototype={constructor:Context,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!t)for(var o in this)"t"===o.charAt(0)&&i.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function handle(i,r){return l.type="throw",l.arg=t,o.next=i,r&&(o.method="next",o.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],l=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return handle(a.catchLoc,!0);if(this.prev<a.finallyLoc)return handle(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return handle(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return handle(a.finallyLoc)}}}},abrupt:function(t,o){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var l=a;break}}l&&("break"===t||"continue"===t)&&l.tryLoc<=o&&o<=l.finallyLoc&&(l=null);var u=l?l.completion:{};return u.type=t,u.arg=o,l?(this.method="next",this.next=l.finallyLoc,c):this.complete(u)},complete:function(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),c},finish:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),resetTryEntry(i),c}},catch:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var a=r.arg;resetTryEntry(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,i){return this.delegate={iterator:values(t),resultName:o,nextLoc:i},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,o,i){var r=i(9);t.exports=function(t,o){if(!r(t))return t;var i,a;if(o&&"function"==typeof(i=t.toString)&&!r(a=i.call(t)))return a;if("function"==typeof(i=t.valueOf)&&!r(a=i.call(t)))return a;if(!o&&"function"==typeof(i=t.toString)&&!r(a=i.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,o,i){var r=i(69)("keys"),a=i(54);t.exports=function(t){return r[t]||(r[t]=a(t))}},function(t,o,i){var r=i(6),a=i(8),l=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(t.exports=function(t,o){return l[t]||(l[t]=void 0!==o?o:{})})("versions",[]).push({version:r.version,mode:i(44)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,o,i){var r=i(71),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},function(t,o){var i=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:i)(t)}},function(t,o){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,o,i){var r=i(8),a=i(6),l=i(44),u=i(62),c=i(15).f;t.exports=function(t){var o=a.Symbol||(a.Symbol=l?{}:r.Symbol||{});"_"==t.charAt(0)||t in o||c(o,t,{value:u.f(t)})}},function(t,o){o.f=Object.getOwnPropertySymbols},function(t,o,i){var r=i(54)("meta"),a=i(9),l=i(17),u=i(15).f,c=0,d=Object.isExtensible||function(){return!0},m=!i(21)((function(){return d(Object.preventExtensions({}))})),setMeta=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},p=t.exports={KEY:r,NEED:!1,fastKey:function(t,o){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!l(t,r)){if(!d(t))return"F";if(!o)return"E";setMeta(t)}return t[r].i},getWeak:function(t,o){if(!l(t,r)){if(!d(t))return!0;if(!o)return!1;setMeta(t)}return t[r].w},onFreeze:function(t){return m&&p.NEED&&d(t)&&!l(t,r)&&setMeta(t),t}}},function(t,o,i){var r=i(57),a=i(18),l=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(t.exports=function(t,o){return l[t]||(l[t]=void 0!==o?o:{})})("versions",[]).push({version:r.version,mode:i(114)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,o){var i=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+r).toString(36))}},function(t,o,i){var r=i(7),a=i(6),l=i(21);t.exports=function(t,o){var i=(a.Object||{})[t]||Object[t],u={};u[t]=o(i),r(r.S+r.F*l((function(){i(1)})),"Object",u)}},function(t,o,i){"use strict";var r=i(116),a={};a[i(13)("toStringTag")]="z",a+""!="[object z]"&&i(39)(Object.prototype,"toString",(function toString(){return"[object "+r(this)+"]"}),!0)},function(t,o,i){var r=i(95);t.exports=function(t,o,i){if(r(t),void 0===o)return t;switch(i){case 1:return function(i){return t.call(o,i)};case 2:return function(i,r){return t.call(o,i,r)};case 3:return function(i,r,a){return t.call(o,i,r,a)}}return function(){return t.apply(o,arguments)}}},function(t,o,i){"use strict";var r=i(123),a=i(20),l=i(180),u=i(108),c=i(45),d=i(97),m=i(92),p=i(35),h=Math.min,g=[].push,v="length",y=!p((function(){RegExp(4294967295,"y")}));i(98)("split",2,(function(t,o,i,p){var C;return C="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[v]||2!="ab".split(/(?:ab)*/)[v]||4!=".".split(/(.?)(.?)/)[v]||".".split(/()()/)[v]>1||"".split(/.?/)[v]?function(t,o){var a=String(this);if(void 0===t&&0===o)return[];if(!r(t))return i.call(a,t,o);for(var l,u,c,d=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,y=void 0===o?4294967295:o>>>0,C=new RegExp(t.source,p+"g");(l=m.call(C,a))&&!((u=C.lastIndex)>h&&(d.push(a.slice(h,l.index)),l[v]>1&&l.index<a[v]&&g.apply(d,l.slice(1)),c=l[0][v],h=u,d[v]>=y));)C.lastIndex===l.index&&C.lastIndex++;return h===a[v]?!c&&C.test("")||d.push(""):d.push(a.slice(h)),d[v]>y?d.slice(0,y):d}:"0".split(void 0,0)[v]?function(t,o){return void 0===t&&0===o?[]:i.call(this,t,o)}:i,[function split(i,r){var a=t(this),l=null==i?void 0:i[o];return void 0!==l?l.call(i,a,r):C.call(String(a),i,r)},function(t,o){var r=p(C,t,this,o,C!==i);if(r.done)return r.value;var m=a(t),g=String(this),v=l(m,RegExp),b=m.unicode,w=(m.ignoreCase?"i":"")+(m.multiline?"m":"")+(m.unicode?"u":"")+(y?"y":"g"),k=new v(y?m:"^(?:"+m.source+")",w),S=void 0===o?4294967295:o>>>0;if(0===S)return[];if(0===g.length)return null===d(k,g)?[g]:[];for(var x=0,T=0,M=[];T<g.length;){k.lastIndex=y?T:0;var I,E=d(k,y?g:g.slice(T));if(null===E||(I=h(c(k.lastIndex+(y?0:T)),g.length))===x)T=u(g,T,b);else{if(M.push(g.slice(x,T)),M.length===S)return M;for(var P=1;P<=E.length-1;P++)if(M.push(E[P]),M.length===S)return M;T=x=I}}return M.push(g.slice(x)),M}]}))},,function(t,o,i){t.exports=i(66)},function(t,o,i){var r=i(137);function asyncGeneratorStep(t,o,i,a,l,u,c){try{var d=t[u](c),m=d.value}catch(t){return void i(t)}d.done?o(m):r.resolve(m).then(a,l)}t.exports=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new r((function(r,a){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,r,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,r,a,_next,_throw,"throw",t)}_next(void 0)}))}}},function(t,o,i){t.exports=i(220)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(60);var a=r(i(25));i(81);var l=r(i(56)),u=r(i(105)),c=r(i(91)),d=r(i(2)),m=r(i(3)),p=r(i(4)),h=r(i(5)),g=function(t){(0,p.default)(ComponentBase,t);var o=(0,h.default)(ComponentBase);function ComponentBase(){return(0,d.default)(this,ComponentBase),o.apply(this,arguments)}return(0,m.default)(ComponentBase,[{key:"__construct",value:function __construct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.manager&&(this.manager=t.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.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var t=this;(0,c.default)(this.getTabs()).forEach((function(o){return t.registerTabRoute(o[0])})),(0,c.default)(this.getRoutes()).forEach((function(o){var i=(0,u.default)(o,2),r=i[0],a=i[1];return t.registerRoute(r,a)})),(0,c.default)(this.getCommands()).forEach((function(o){var i=(0,u.default)(o,2),r=i[0],a=i[1];return t.registerCommand(r,a)})),(0,c.default)(this.getCommandsInternal()).forEach((function(o){var i=(0,u.default)(o,2),r=i[0],a=i[1];return t.registerCommandInternal(r,a)})),(0,l.default)(this.getHooks()).forEach((function(o){return t.registerHook(o)})),(0,c.default)(this.getData()).forEach((function(o){var i=(0,u.default)(o,2),r=i[0],a=i[1];return t.registerData(r,a)}))}},{key:"getNamespace",value:function getNamespace(){elementorModules.ForceMethodImplementation()}},{key:"getRootContainer",value:function getRootContainer(){return this.getNamespace().split("/")[0]}},{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:"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:"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(t,o){$e.commands.register(this,t,o)}},{key:"registerHook",value:function registerHook(t){return t.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(t,o){$e.commandsInternal.register(this,t,o)}},{key:"registerRoute",value:function registerRoute(t,o){$e.routes.register(this,t,o)}},{key:"registerData",value:function registerData(t,o){$e.data.register(this,t,o)}},{key:"unregisterRoute",value:function unregisterRoute(t){$e.routes.unregister(this,t)}},{key:"registerTabRoute",value:function registerTabRoute(t){var o=this;this.registerRoute(t,(function(i){return o.activateTab(t,i)}))}},{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.getRootContainer()),!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(t){this.toggleRouteClass(t,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",t)}},{key:"onCloseRoute",value:function onCloseRoute(t){this.toggleRouteClass(t,!1),this.inactivate(),this.trigger("route/close",t)}},{key:"setDefaultRoute",value:function setDefaultRoute(t){this.defaultRoute=this.getNamespace()+"/"+t}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(t){delete this.tabs[t],this.unregisterRoute(t)}},{key:"hasTab",value:function hasTab(t){return!!this.tabs[t]}},{key:"addTab",value:function addTab(t,o,i){var r=this;if(this.tabs[t]=o,void 0!==i){var l={},u=(0,a.default)(this.tabs);u.pop(),u.splice(i,0,t),u.forEach((function(t){l[t]=r.tabs[t]})),this.tabs=l}this.registerTabRoute(t)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(t){return this.getNamespace()+"/"+t}},{key:"renderTab",value:function renderTab(t){}},{key:"activateTab",value:function activateTab(t,o){var i=this;this.currentTab=t,this.renderTab(t,o),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",(function(t){$e.route(i.getTabRoute(t.currentTarget.dataset.tab),o)})).removeClass("elementor-active").filter('[data-tab="'+t+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(t){return"e-route-"+t.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(t){return t.replace(/[A-Z]/g,(function(t,o){return(o>0?"-":"")+t.toLowerCase()}))}},{key:"importCommands",value:function importCommands(t){var o=this,i={};return(0,c.default)(t).forEach((function(t){var r=(0,u.default)(t,2),a=r[0],l=r[1],c=o.normalizeCommandName(a);i[c]=function(t){return new l(t).run()},$e.commands.classes[o.getNamespace()+"/"+c]=l})),i}},{key:"importHooks",value:function importHooks(t){var o={};for(var i in t){var r=new t[i];o[r.getId()]=r}return o}},{key:"toggleRouteClass",value:function toggleRouteClass(t,o){elementorCommon.elements.$body.toggleClass(this.getBodyClass(t),o)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){elementorCommon.elements.$body.toggleClass("e-routes-has-history",!!$e.routes.getHistory(this.getRootContainer()).length)}}]),ComponentBase}(elementorModules.Module);o.default=g},function(t,o,i){var r=i(9),a=i(8).document,l=r(a)&&r(a.createElement);t.exports=function(t){return l?a.createElement(t):{}}},function(t,o,i){t.exports=i(22)},function(t,o,i){var r=i(13)("unscopables"),a=Array.prototype;null==a[r]&&i(29)(a,r,{}),t.exports=function(t){a[r][t]=!0}},function(t,o,i){var r=i(31),a=i(143),l=i(144),u=i(11),c=i(70),d=i(115),m={},p={};(o=t.exports=function(t,o,i,h,g){var v,y,C,b,w=g?function(){return t}:d(t),k=r(i,h,o?2:1),S=0;if("function"!=typeof w)throw TypeError(t+" is not iterable!");if(l(w)){for(v=c(t.length);v>S;S++)if((b=o?k(u(y=t[S])[0],y[1]):k(t[S]))===m||b===p)return b}else for(C=w.call(t);!(y=C.next()).done;)if((b=a(C,k,y.value,o))===m||b===p)return b}).BREAK=m,o.RETURN=p},function(t,o,i){t.exports=i(269)},function(t,o,i){"use strict";var r,a,l=i(109),u=RegExp.prototype.exec,c=String.prototype.replace,d=u,m=(r=/a/,a=/b*/g,u.call(r,"a"),u.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),p=void 0!==/()??/.exec("")[1];(m||p)&&(d=function exec(t){var o,i,r,a,d=this;return p&&(i=new RegExp("^"+d.source+"$(?!\\s)",l.call(d))),m&&(o=d.lastIndex),r=u.call(d,t),m&&r&&(d.lastIndex=d.global?r.index+r[0].length:o),p&&r&&r.length>1&&c.call(r[0],i,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r}),t.exports=d},function(t,o,i){var r=i(55);t.exports=Array.isArray||function isArray(t){return"Array"==r(t)}},function(t,o,i){var r=i(112),a=i(72).concat("length","prototype");o.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return r(t,a)}},function(t,o){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,o){},function(t,o,i){"use strict";var r=i(116),a=RegExp.prototype.exec;t.exports=function(t,o){var i=t.exec;if("function"==typeof i){var l=i.call(t,o);if("object"!=typeof l)throw new TypeError("RegExp exec method returned something other than an Object or null");return l}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(t,o)}},function(t,o,i){"use strict";i(196);var r=i(39),a=i(29),l=i(35),u=i(43),c=i(13),d=i(92),m=c("species"),p=!l((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,o=t.exec;t.exec=function(){return o.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,o,i){var g=c(t),v=!l((function(){var o={};return o[g]=function(){return 7},7!=""[t](o)})),y=v?!l((function(){var o=!1,i=/a/;return i.exec=function(){return o=!0,null},"split"===t&&(i.constructor={},i.constructor[m]=function(){return i}),i[g](""),!o})):void 0;if(!v||!y||"replace"===t&&!p||"split"===t&&!h){var C=/./[g],b=i(u,g,""[t],(function maybeCallNative(t,o,i,r,a){return o.exec===d?v&&!a?{done:!0,value:C.call(o,i,r)}:{done:!0,value:t.call(i,o,r)}:{done:!1}})),w=b[0],k=b[1];r(String.prototype,t,w),a(RegExp.prototype,g,2==o?function(t,o){return k.call(t,this,o)}:function(t){return k.call(t,this)})}}},function(t,o,i){var r=i(43);t.exports=function(t){return Object(r(t))}},function(t,o,i){var r=i(55);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,o,i){t.exports=i(164)},function(t,o,i){"use strict";var r=i(44),a=i(7),l=i(88),u=i(22),c=i(33),d=i(170),m=i(53),p=i(63),h=i(10)("iterator"),g=!([].keys&&"next"in[].keys()),returnThis=function(){return this};t.exports=function(t,o,i,v,y,C,b){d(i,o,v);var w,k,S,getMethod=function(t){if(!g&&t in I)return I[t];switch(t){case"keys":return function keys(){return new i(this,t)};case"values":return function values(){return new i(this,t)}}return function entries(){return new i(this,t)}},x=o+" Iterator",T="values"==y,M=!1,I=t.prototype,E=I[h]||I["@@iterator"]||y&&I[y],P=E||getMethod(y),D=y?T?getMethod("entries"):P:void 0,R="Array"==o&&I.entries||E;if(R&&(S=p(R.call(new t)))!==Object.prototype&&S.next&&(m(S,x,!0),r||"function"==typeof S[h]||u(S,h,returnThis)),T&&E&&"values"!==E.name&&(M=!0,P=function values(){return E.call(this)}),r&&!b||!g&&!M&&I[h]||u(I,h,P),c[o]=P,c[x]=returnThis,y)if(w={values:T?P:getMethod("values"),keys:C?P:getMethod("keys"),entries:D},b)for(k in w)k in I||l(I,k,w[k]);else a(a.P+a.F*(g||M),o,w);return w}},function(t,o,i){var r=i(121),a=i(43);t.exports=function(t){return r(a(t))}},function(t,o,i){var r=i(55),a=i(10)("toStringTag"),l="Arguments"==r(function(){return arguments}());t.exports=function(t){var o,i,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,o){try{return t[o]}catch(t){}}(o=Object(t),a))?i:l?r(o):"Object"==(u=r(o))&&"function"==typeof o.callee?"Arguments":u}},function(t,o,i){var r=i(247),a=i(248),l=i(193),u=i(251);t.exports=function _slicedToArray(t,o){return r(t)||a(t,o)||l(t,o)||u()}},function(t,o){t.exports=function(t,o){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:o}}},function(t,o,i){t.exports=i(173)},function(t,o,i){"use strict";var r=i(146)(!0);t.exports=function(t,o,i){return o+(i?r(t,o).length:1)}},function(t,o,i){"use strict";var r=i(20);t.exports=function(){var t=r(this),o="";return t.global&&(o+="g"),t.ignoreCase&&(o+="i"),t.multiline&&(o+="m"),t.unicode&&(o+="u"),t.sticky&&(o+="y"),o}},function(t,o,i){t.exports=!i(14)&&!i(21)((function(){return 7!=Object.defineProperty(i(87)("div"),"a",{get:function(){return 7}}).a}))},function(t,o,i){t.exports=i(157)},function(t,o,i){var r=i(17),a=i(19),l=i(162)(!1),u=i(68)("IE_PROTO");t.exports=function(t,o){var i,c=a(t),d=0,m=[];for(i in c)i!=u&&r(c,i)&&m.push(i);for(;o.length>d;)r(c,i=o[d++])&&(~l(m,i)||m.push(i));return m}},function(t,o,i){var r=i(30),a=i(18).document,l=r(a)&&r(a.createElement);t.exports=function(t){return l?a.createElement(t):{}}},function(t,o){t.exports=!1},function(t,o,i){var r=i(104),a=i(10)("iterator"),l=i(33);t.exports=i(6).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||l[r(t)]}},function(t,o,i){var r=i(50),a=i(13)("toStringTag"),l="Arguments"==r(function(){return arguments}());t.exports=function(t){var o,i,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,o){try{return t[o]}catch(t){}}(o=Object(t),a))?i:l?r(o):"Object"==(u=r(o))&&"function"==typeof o.callee?"Arguments":u}},function(t,o,i){t.exports=i(183)},function(t,o,i){"use strict";var r=i(89),a=i(241),l=i(119),u=i(103);t.exports=i(197)(Array,"Array",(function(t,o){this._t=u(t),this._i=0,this._k=o}),(function(){var t=this._t,o=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,a(1)):a(0,"keys"==o?i:"values"==o?t[i]:[i,t[i]])}),"values"),l.Arguments=l.Array,r("keys"),r("values"),r("entries")},function(t,o){t.exports={}},function(t,o,i){"use strict";var r=i(20),a=i(45),l=i(108),u=i(97);i(98)("match",1,(function(t,o,i,c){return[function match(i){var r=t(this),a=null==i?void 0:i[o];return void 0!==a?a.call(i,r):new RegExp(i)[o](String(r))},function(t){var o=c(i,t,this);if(o.done)return o.value;var d=r(t),m=String(this);if(!d.global)return u(d,m);var p=d.unicode;d.lastIndex=0;for(var h,g=[],v=0;null!==(h=u(d,m));){var y=String(h[0]);g[v]=y,""===y&&(d.lastIndex=l(m,a(d.lastIndex),p)),v++}return 0===v?null:g}]}))},function(t,o,i){var r=i(50);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,o,i){var r=i(9);t.exports=function(t,o){if(!r(t)||t._t!==o)throw TypeError("Incompatible receiver, "+o+" required!");return t}},function(t,o,i){var r=i(30),a=i(50),l=i(13)("match");t.exports=function(t){var o;return r(t)&&(void 0!==(o=t[l])?!!o:"RegExp"==a(t))}},function(t,o,i){var r=i(30);t.exports=function(t,o){if(!r(t))return t;var i,a;if(o&&"function"==typeof(i=t.toString)&&!r(a=i.call(t)))return a;if("function"==typeof(i=t.valueOf)&&!r(a=i.call(t)))return a;if(!o&&"function"==typeof(i=t.toString)&&!r(a=i.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,o){t.exports=function(t,o,i,r){if(!(t instanceof o)||void 0!==r&&r in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,o,i){var r=i(22);t.exports=function(t,o,i){for(var a in o)i&&t[a]?t[a]=o[a]:r(t,a,o[a]);return t}},function(t,o,i){"use strict";var r=i(0);i(26);var a,l=r(i(28)),u=i(281),c=i(421),d=i(300);a=u.extend({ui:function ui(){var ui=u.prototype.ui.apply(this,arguments);return _.extend(ui,{input:'input[data-setting][type!="checkbox"][type!="radio"]',checkbox:'input[data-setting][type="checkbox"]',radio:'input[data-setting][type="radio"]',select:"select[data-setting]",textarea:"textarea[data-setting]",responsiveSwitchers:".elementor-responsive-switcher",contentEditable:'[contenteditable="true"]'}),ui},templateHelpers:function templateHelpers(){var t=u.prototype.templateHelpers.apply(this,arguments);return t.data.controlValue=this.getControlValue(),t},events:function events(){return{"input @ui.input":"onBaseInputTextChange","change @ui.checkbox":"onBaseInputChange","change @ui.radio":"onBaseInputChange","input @ui.textarea":"onBaseInputTextChange","change @ui.select":"onBaseInputChange","input @ui.contentEditable":"onBaseInputTextChange","click @ui.responsiveSwitchers":"onResponsiveSwitchersClick"}},behaviors:function behaviors(){var behaviors=u.prototype.behaviors.apply(this,arguments),t=this.options.model.get("dynamic");if(t&&t.active){var o=_.filter(elementor.dynamicTags.getConfig("tags"),(function(o){return o.editable&&_.intersection(o.categories,t.categories).length}));(o.length||elementor.config.user.is_administrator)&&(behaviors.tags={behaviorClass:c,tags:o,dynamicSettings:t})}return behaviors},initialize:function initialize(){u.prototype.initialize.apply(this,arguments),this.registerValidators();var t=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(t,"change:external:"+this.model.get("name"),this.onAfterExternalChange)},getControlValue:function getControlValue(){return this.container.settings.get(this.model.get("name"))},getGlobalKey:function getGlobalKey(){return this.container.globals.get(this.model.get("name"))},getGlobalValue:function getGlobalValue(){return this.globalValue},getGlobalDefault:function getGlobalDefault(){var t=this.model.get("global");if(null==t?void 0:t.default){if(!elementor.config.globals.defaults_enabled[this.getGlobalMeta().controlType])return"";var o=$e.data.commandExtractArgs(t.default),i=o.command,r=o.args,a=$e.data.getCache($e.components.get("globals"),i,r.query);return null==a?void 0:a.value}return""},getCurrentValue:function getCurrentValue(){if(this.getGlobalKey()&&!this.globalValue)return"";if(this.globalValue)return this.globalValue;var t=this.getControlValue();return t||this.getGlobalDefault()},isGlobalActive:function isGlobalActive(){var t;return null===(t=this.options.model.get("global"))||void 0===t?void 0:t.active},setValue:function setValue(t){this.setSettingsModel(t)},setSettingsModel:function setSettingsModel(t){var o=this.model.get("name");$e.run("document/elements/settings",{container:this.options.container,settings:(0,l.default)({},o,t)}),this.triggerMethod("settings:change")},applySavedValue:function applySavedValue(){this.setInputValue('[data-setting="'+this.model.get("name")+'"]',this.getControlValue())},getEditSettings:function getEditSettings(t){var o=this.getOption("elementEditSettings").toJSON();return t?o[t]:o},setEditSetting:function setEditSetting(t,o){(this.getOption("elementEditSettings")||this.getOption("container").settings).set(t,o)},getInputValue:function getInputValue(t){var o=this.$(t);if(o.is('[contenteditable="true"]'))return o.html();var i=o.val(),r=o.attr("type");return-1!==["radio","checkbox"].indexOf(r)?o.prop("checked")?i:"":"number"===r&&_.isFinite(i)?+i:("SELECT"===t.tagName&&o.prop("multiple")&&null===i&&(i=[]),i)},setInputValue:function setInputValue(t,o){var i=this.$(t),r=i.attr("type");"checkbox"===r?i.prop("checked",!!o):"radio"===r?i.filter('[value="'+o+'"]').prop("checked",!0):i.val(o)},addValidator:function addValidator(t){this.validators.push(t)},registerValidators:function registerValidators(){this.validators=[];var t={};this.model.get("required")&&(t.required=!0),jQuery.isEmptyObject(t)||this.addValidator(new d({validationTerms:t}))},onRender:function onRender(){u.prototype.onRender.apply(this,arguments),this.model.get("responsive")&&this.renderResponsiveSwitchers(),this.applySavedValue(),this.triggerMethod("ready"),this.toggleControlVisibility(),this.addTooltip()},onBaseInputTextChange:function onBaseInputTextChange(t){this.onBaseInputChange(t)},onBaseInputChange:function onBaseInputChange(t){clearTimeout(this.correctionTimeout);var o=t.currentTarget,i=this.getInputValue(o),r=this.validators.slice(0),a=this.container.settings.validators[this.model.get("name")];if(a&&(r=r.concat(a)),r){var l=this.getControlValue(o.dataset.setting);if(!r.every((function(t){return t.isValid(i,l)})))return void(this.correctionTimeout=setTimeout(this.setInputValue.bind(this,o,l),1200))}this.updateElementModel(i,o),this.triggerMethod("input:change",t)},onResponsiveSwitchersClick:function onResponsiveSwitchersClick(t){var o=jQuery(t.currentTarget),i=o.data("device"),r=this.ui.responsiveSwitchersWrapper,a=o.index();r.toggleClass("elementor-responsive-switchers-open"),r[0].style.setProperty("--selected-option",a),this.triggerMethod("responsive:switcher:click",i),elementor.changeDeviceMode(i)},renderResponsiveSwitchers:function renderResponsiveSwitchers(){var t=Marionette.Renderer.render("#tmpl-elementor-control-responsive-switchers",this.model.attributes);this.ui.controlTitle.after(t),this.ui.responsiveSwitchersWrapper=this.$el.find(".elementor-control-responsive-switchers")},onAfterExternalChange:function onAfterExternalChange(){this.hideTooltip(),this.applySavedValue()},addTooltip:function addTooltip(){this.ui.tooltipTargets=this.$el.find(".tooltip-target"),this.ui.tooltipTargets.length&&this.ui.tooltipTargets.tipsy({gravity:function gravity(){var gravity=jQuery(this).data("tooltip-pos");return void 0!==gravity?gravity:"s"},title:function title(){return this.getAttribute("data-tooltip")}})},hideTooltip:function hideTooltip(){this.ui.tooltipTargets.length&&this.ui.tooltipTargets.tipsy("hide")},updateElementModel:function updateElementModel(t){this.setValue(t)}},{getStyleValue:function getStyleValue(t,o,i){return"DEFAULT"===t?i.default:o},onPasteStyle:function onPasteStyle(){return!0}}),t.exports=a},,function(t,o,i){var r=i(8).document;t.exports=r&&r.documentElement},function(t,o){t.exports=function(t,o,i){var r=void 0===i;switch(o.length){case 0:return r?t():t.call(i);case 1:return r?t(o[0]):t.call(i,o[0]);case 2:return r?t(o[0],o[1]):t.call(i,o[0],o[1]);case 3:return r?t(o[0],o[1],o[2]):t.call(i,o[0],o[1],o[2]);case 4:return r?t(o[0],o[1],o[2],o[3]):t.call(i,o[0],o[1],o[2],o[3])}return t.apply(i,o)}},function(t,o,i){t.exports=!i(27)&&!i(35)((function(){return 7!=Object.defineProperty(i(113)("div"),"a",{get:function(){return 7}}).a}))},function(t,o,i){var r=i(15),a=i(11),l=i(36);t.exports=i(14)?Object.defineProperties:function defineProperties(t,o){a(t);for(var i,u=l(o),c=u.length,d=0;c>d;)r.f(t,i=u[d++],o[i]);return t}},function(t,o,i){var r=i(111);function _setPrototypeOf(o,i){return t.exports=_setPrototypeOf=r||function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(o,i)}t.exports=_setPrototypeOf},function(t,o,i){var r=i(76)("keys"),a=i(77);t.exports=function(t){return r[t]||(r[t]=a(t))}},function(t,o,i){t.exports=i(160)},function(t,o,i){"use strict";var r=i(8),a=i(17),l=i(14),u=i(7),c=i(88),d=i(75).KEY,m=i(21),p=i(69),h=i(53),g=i(54),v=i(10),y=i(62),C=i(73),b=i(174),w=i(93),k=i(11),S=i(9),x=i(32),T=i(19),M=i(67),I=i(42),E=i(52),P=i(175),D=i(51),R=i(74),V=i(15),A=i(36),O=D.f,$=V.f,B=P.f,L=r.Symbol,j=r.JSON,N=j&&j.stringify,z=v("_hidden"),G=v("toPrimitive"),U={}.propertyIsEnumerable,q=p("symbol-registry"),H=p("symbols"),W=p("op-symbols"),Q=Object.prototype,K="function"==typeof L&&!!R.f,J=r.QObject,X=!J||!J.prototype||!J.prototype.findChild,Y=l&&m((function(){return 7!=E($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,o,i){var r=O(Q,o);r&&delete Q[o],$(t,o,i),r&&t!==Q&&$(Q,o,r)}:$,wrap=function(t){var o=H[t]=E(L.prototype);return o._k=t,o},Z=K&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},ee=function defineProperty(t,o,i){return t===Q&&ee(W,o,i),k(t),o=M(o,!0),k(i),a(H,o)?(i.enumerable?(a(t,z)&&t[z][o]&&(t[z][o]=!1),i=E(i,{enumerable:I(0,!1)})):(a(t,z)||$(t,z,I(1,{})),t[z][o]=!0),Y(t,o,i)):$(t,o,i)},te=function defineProperties(t,o){k(t);for(var i,r=b(o=T(o)),a=0,l=r.length;l>a;)ee(t,i=r[a++],o[i]);return t},ne=function propertyIsEnumerable(t){var o=U.call(this,t=M(t,!0));return!(this===Q&&a(H,t)&&!a(W,t))&&(!(o||!a(this,t)||!a(H,t)||a(this,z)&&this[z][t])||o)},oe=function getOwnPropertyDescriptor(t,o){if(t=T(t),o=M(o,!0),t!==Q||!a(H,o)||a(W,o)){var i=O(t,o);return!i||!a(H,o)||a(t,z)&&t[z][o]||(i.enumerable=!0),i}},ie=function getOwnPropertyNames(t){for(var o,i=B(T(t)),r=[],l=0;i.length>l;)a(H,o=i[l++])||o==z||o==d||r.push(o);return r},re=function getOwnPropertySymbols(t){for(var o,i=t===Q,r=B(i?W:T(t)),l=[],u=0;r.length>u;)!a(H,o=r[u++])||i&&!a(Q,o)||l.push(H[o]);return l};K||(c((L=function Symbol(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=g(arguments.length>0?arguments[0]:void 0),$set=function(o){this===Q&&$set.call(W,o),a(this,z)&&a(this[z],t)&&(this[z][t]=!1),Y(this,t,I(1,o))};return l&&X&&Y(Q,t,{configurable:!0,set:$set}),wrap(t)}).prototype,"toString",(function toString(){return this._k})),D.f=oe,V.f=ee,i(94).f=P.f=ie,i(46).f=ne,R.f=re,l&&!i(44)&&c(Q,"propertyIsEnumerable",ne,!0),y.f=function(t){return wrap(v(t))}),u(u.G+u.W+u.F*!K,{Symbol:L});for(var ae="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),le=0;ae.length>le;)v(ae[le++]);for(var se=A(v.store),ue=0;se.length>ue;)C(se[ue++]);u(u.S+u.F*!K,"Symbol",{for:function(t){return a(q,t+="")?q[t]:q[t]=L(t)},keyFor:function keyFor(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var o in q)if(q[o]===t)return o},useSetter:function(){X=!0},useSimple:function(){X=!1}}),u(u.S+u.F*!K,"Object",{create:function create(t,o){return void 0===o?E(t):te(E(t),o)},defineProperty:ee,defineProperties:te,getOwnPropertyDescriptor:oe,getOwnPropertyNames:ie,getOwnPropertySymbols:re});var ce=m((function(){R.f(1)}));u(u.S+u.F*ce,"Object",{getOwnPropertySymbols:function getOwnPropertySymbols(t){return R.f(x(t))}}),j&&u(u.S+u.F*(!K||m((function(){var t=L();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function stringify(t){for(var o,i,r=[t],a=1;arguments.length>a;)r.push(arguments[a++]);if(i=o=r[1],(S(o)||void 0!==t)&&!Z(t))return w(o)||(o=function(t,o){if("function"==typeof i&&(o=i.call(this,t,o)),!Z(o))return o}),r[1]=o,N.apply(j,r)}}),L.prototype[G]||i(22)(L.prototype,G,L.prototype.valueOf),h(L,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(t,o,i){t.exports=i(257)},function(t,o,i){t.exports=i(288)},function(t,o,i){"use strict";var r=i(37),a=i(145)(!0);r(r.P,"Array",{includes:function includes(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),i(89)("includes")},function(t,o,i){var r=i(31),a=i(100),l=i(32),u=i(70),c=i(245);t.exports=function(t,o){var i=1==t,d=2==t,m=3==t,p=4==t,h=6==t,g=5==t||h,v=o||c;return function(o,c,y){for(var C,b,w=l(o),k=a(w),S=r(c,y,3),x=u(k.length),T=0,M=i?v(o,x):d?v(o,0):void 0;x>T;T++)if((g||T in k)&&(b=S(C=k[T],T,w),t))if(i)M[T]=b;else if(b)switch(t){case 3:return!0;case 5:return C;case 6:return T;case 2:M.push(C)}else if(p)return!1;return h?-1:m||p?p:M}}},function(t,o,i){var r=i(101);t.exports=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(r(Date,[],(function(){}))),!0}catch(t){return!1}}},function(t,o){t.exports=function(t,o){return{value:o,done:!!t}}},function(t,o,i){var r=i(11);t.exports=function(t,o,i,a){try{return a?o(r(i)[0],i[1]):o(i)}catch(o){var l=t.return;throw void 0!==l&&r(l.call(t)),o}}},function(t,o,i){var r=i(33),a=i(10)("iterator"),l=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||l[a]===t)}},function(t,o,i){var r=i(103),a=i(45),l=i(198);t.exports=function(t){return function(o,i,u){var c,d=r(o),m=a(d.length),p=l(u,m);if(t&&i!=i){for(;m>p;)if((c=d[p++])!=c)return!0}else for(;m>p;p++)if((t||p in d)&&d[p]===i)return t||p||0;return!t&&-1}}},function(t,o,i){var r=i(59),a=i(43);t.exports=function(t){return function(o,i){var l,u,c=String(a(o)),d=r(i),m=c.length;return d<0||d>=m?t?"":void 0:(l=c.charCodeAt(d))<55296||l>56319||d+1===m||(u=c.charCodeAt(d+1))<56320||u>57343?t?c.charAt(d):l:t?c.slice(d,d+2):u-56320+(l-55296<<10)+65536}}},function(t,o,i){t.exports=i(76)("native-function-to-string",Function.toString)},function(t,o,i){t.exports=i(168)},function(t,o,i){"use strict";var r=i(34);function PromiseCapability(t){var o,i;this.promise=new t((function(t,r){if(void 0!==o||void 0!==i)throw TypeError("Bad Promise constructor");o=t,i=r})),this.resolve=r(o),this.reject=r(i)}t.exports.f=function(t){return new PromiseCapability(t)}},function(t,o,i){for(var r=i(118),a=i(191),l=i(39),u=i(18),c=i(29),d=i(119),m=i(13),p=m("iterator"),h=m("toStringTag"),g=d.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=a(v),C=0;C<y.length;C++){var b,w=y[C],k=v[w],S=u[w],x=S&&S.prototype;if(x&&(x[p]||c(x,p,g),x[h]||c(x,h,w),d[w]=g,k))for(b in r)x[b]||l(x,b,r[b],!0)}},function(t,o){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,o,i){i(153);var r=i(6).Object;t.exports=function defineProperty(t,o,i){return r.defineProperty(t,o,i)}},function(t,o,i){var r=i(7);r(r.S+r.F*!i(14),"Object",{defineProperty:i(15).f})},function(t,o,i){t.exports=i(155)},function(t,o,i){i(156),t.exports=i(6).Object.getPrototypeOf},function(t,o,i){var r=i(32),a=i(63);i(78)("getPrototypeOf",(function(){return function getPrototypeOf(t){return a(r(t))}}))},function(t,o,i){i(158),t.exports=i(6).Object.setPrototypeOf},function(t,o,i){var r=i(7);r(r.S,"Object",{setPrototypeOf:i(159).set})},function(t,o,i){var r=i(9),a=i(11),check=function(t,o){if(a(t),!r(o)&&null!==o)throw TypeError(o+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,o,r){try{(r=i(31)(Function.call,i(51).f(Object.prototype,"__proto__").set,2))(t,[]),o=!(t instanceof Array)}catch(t){o=!0}return function setPrototypeOf(t,i){return check(t,i),o?t.__proto__=i:r(t,i),t}}({},!1):void 0),check:check}},function(t,o,i){i(161);var r=i(6).Object;t.exports=function create(t,o){return r.create(t,o)}},function(t,o,i){var r=i(7);r(r.S,"Object",{create:i(52)})},function(t,o,i){var r=i(19),a=i(70),l=i(163);t.exports=function(t){return function(o,i,u){var c,d=r(o),m=a(d.length),p=l(u,m);if(t&&i!=i){for(;m>p;)if((c=d[p++])!=c)return!0}else for(;m>p;p++)if((t||p in d)&&d[p]===i)return t||p||0;return!t&&-1}}},function(t,o,i){var r=i(71),a=Math.max,l=Math.min;t.exports=function(t,o){return(t=r(t))<0?a(t+o,0):l(t,o)}},function(t,o,i){i(165),t.exports=i(6).Reflect.construct},function(t,o,i){var r=i(7),a=i(52),l=i(34),u=i(11),c=i(9),d=i(21),m=i(166),p=(i(8).Reflect||{}).construct,h=d((function(){function F(){}return!(p((function(){}),[],F)instanceof F)})),g=!d((function(){p((function(){}))}));r(r.S+r.F*(h||g),"Reflect",{construct:function construct(t,o){l(t),u(o);var i=arguments.length<3?t:l(arguments[2]);if(g&&!h)return p(t,o,i);if(t==i){switch(o.length){case 0:return new t;case 1:return new t(o[0]);case 2:return new t(o[0],o[1]);case 3:return new t(o[0],o[1],o[2]);case 4:return new t(o[0],o[1],o[2],o[3])}var r=[null];return r.push.apply(r,o),new(m.apply(t,r))}var d=i.prototype,v=a(c(d)?d:Object.prototype),y=Function.apply.call(t,v,o);return c(y)?y:v}})},function(t,o,i){"use strict";var r=i(34),a=i(9),l=i(130),u=[].slice,c={},construct=function(t,o,i){if(!(o in c)){for(var r=[],a=0;a<o;a++)r[a]="a["+a+"]";c[o]=Function("F,a","return new F("+r.join(",")+")")}return c[o](t,i)};t.exports=Function.bind||function bind(t){var o=r(this),i=u.call(arguments,1),bound=function(){var r=i.concat(u.call(arguments));return this instanceof bound?construct(o,r.length,r):l(o,r,t)};return a(o.prototype)&&(bound.prototype=o.prototype),bound}},function(t,o,i){var r=i(47),a=i(48);t.exports=function _possibleConstructorReturn(t,o){return!o||"object"!==r(o)&&"function"!=typeof o?a(t):o}},function(t,o,i){i(58),i(61),t.exports=i(62).f("iterator")},function(t,o,i){var r=i(71),a=i(65);t.exports=function(t){return function(o,i){var l,u,c=String(a(o)),d=r(i),m=c.length;return d<0||d>=m?t?"":void 0:(l=c.charCodeAt(d))<55296||l>56319||d+1===m||(u=c.charCodeAt(d+1))<56320||u>57343?t?c.charAt(d):l:t?c.slice(d,d+2):u-56320+(l-55296<<10)+65536}}},function(t,o,i){"use strict";var r=i(52),a=i(42),l=i(53),u={};i(22)(u,i(10)("iterator"),(function(){return this})),t.exports=function(t,o,i){t.prototype=r(u,{next:a(1,i)}),l(t,o+" Iterator")}},function(t,o,i){"use strict";var r=i(172),a=i(142),l=i(33),u=i(19);t.exports=i(102)(Array,"Array",(function(t,o){this._t=u(t),this._i=0,this._k=o}),(function(){var t=this._t,o=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,a(1)):a(0,"keys"==o?i:"values"==o?t[i]:[i,t[i]])}),"values"),l.Arguments=l.Array,r("keys"),r("values"),r("entries")},function(t,o){t.exports=function(){}},function(t,o,i){i(136),i(96),i(176),i(177),t.exports=i(6).Symbol},function(t,o,i){var r=i(36),a=i(74),l=i(46);t.exports=function(t){var o=r(t),i=a.f;if(i)for(var u,c=i(t),d=l.f,m=0;c.length>m;)d.call(t,u=c[m++])&&o.push(u);return o}},function(t,o,i){var r=i(19),a=i(94).f,l={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function getOwnPropertyNames(t){return u&&"[object Window]"==l.call(t)?function(t){try{return a(t)}catch(t){return u.slice()}}(t):a(r(t))}},function(t,o,i){i(73)("asyncIterator")},function(t,o,i){i(73)("observable")},function(t,o,i){var r=i(10)("iterator"),a=!1;try{var l=[7][r]();l.return=function(){a=!0},Array.from(l,(function(){throw 2}))}catch(t){}t.exports=function(t,o){if(!o&&!a)return!1;var i=!1;try{var l=[7],u=l[r]();u.next=function(){return{done:i=!0}},l[r]=function(){return u},t(l)}catch(t){}return i}},function(t,o,i){var r=i(49).f,a=i(64),l=i(13)("toStringTag");t.exports=function(t,o,i){t&&!a(t=i?t:t.prototype,l)&&r(t,l,{configurable:!0,value:o})}},function(t,o,i){var r=i(20),a=i(95),l=i(13)("species");t.exports=function(t,o){var i,u=r(t).constructor;return void 0===u||null==(i=r(u)[l])?o:a(i)}},function(t,o,i){var r=i(14),a=i(36),l=i(19),u=i(46).f;t.exports=function(t){return function(o){for(var i,c=l(o),d=a(c),m=d.length,p=0,h=[];m>p;)i=d[p++],r&&!u.call(c,i)||h.push(t?[i,c[i]]:c[i]);return h}}},function(t,o,i){"use strict";var r=i(37),a=i(204);r(r.P+r.F*i(205)("includes"),"String",{includes:function includes(t){return!!~a(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,o,i){i(184);var r=i(6).Object;t.exports=function getOwnPropertyDescriptor(t,o){return r.getOwnPropertyDescriptor(t,o)}},function(t,o,i){var r=i(19),a=i(51).f;i(78)("getOwnPropertyDescriptor",(function(){return function getOwnPropertyDescriptor(t,o){return a(r(t),o)}}))},function(t,o,i){t.exports=i(186)},function(t,o,i){i(187),t.exports=i(6).Reflect.get},function(t,o,i){var r=i(51),a=i(63),l=i(17),u=i(7),c=i(9),d=i(11);u(u.S,"Reflect",{get:function get(t,o){var i,u,m=arguments.length<3?t:arguments[2];return d(t)===m?t[o]:(i=r.f(t,o))?l(i,"value")?i.value:void 0!==i.get?i.get.call(m):void 0:c(u=a(t))?get(u,o,m):void 0}})},function(t,o,i){var r=i(16);t.exports=function _superPropBase(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=r(t)););return t}},function(t,o,i){var r=i(80),a=i(121),l=i(99),u=i(45),c=i(216);t.exports=function(t,o){var i=1==t,d=2==t,m=3==t,p=4==t,h=6==t,g=5==t||h,v=o||c;return function(o,c,y){for(var C,b,w=l(o),k=a(w),S=r(c,y,3),x=u(k.length),T=0,M=i?v(o,x):d?v(o,0):void 0;x>T;T++)if((g||T in k)&&(b=S(C=k[T],T,w),t))if(i)M[T]=b;else if(b)switch(t){case 3:return!0;case 5:return C;case 6:return T;case 2:M.push(C)}else if(p)return!1;return h?-1:m||p?p:M}}},function(t,o,i){"use strict";i(280);var r=i(20),a=i(109),l=i(27),u=/./.toString,define=function(t){i(39)(RegExp.prototype,"toString",t,!0)};i(35)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?define((function toString(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!l&&t instanceof RegExp?a.call(t):void 0)})):"toString"!=u.name&&define((function toString(){return u.call(this)}))},function(t,o,i){var r=i(219),a=i(151);t.exports=Object.keys||function keys(t){return r(t,a)}},function(t,o,i){"use strict";var r=i(15),a=i(42);t.exports=function(t,o,i){o in t?r.f(t,o,a(0,i)):t[o]=i}},function(t,o,i){var r=i(200),a=i(199);t.exports=function _unsupportedIterableToArray(t,o){if(t){if("string"==typeof t)return a(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?r(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,o):void 0}}},function(t,o,i){var r=i(138);function _extends(){return t.exports=_extends=r||function(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_extends.apply(this,arguments)}t.exports=_extends},,function(t,o,i){"use strict";var r=i(92);i(37)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,o,i){"use strict";var r=i(114),a=i(37),l=i(39),u=i(29),c=i(119),d=i(242),m=i(179),p=i(244),h=i(13)("iterator"),g=!([].keys&&"next"in[].keys()),returnThis=function(){return this};t.exports=function(t,o,i,v,y,C,b){d(i,o,v);var w,k,S,getMethod=function(t){if(!g&&t in I)return I[t];switch(t){case"keys":return function keys(){return new i(this,t)};case"values":return function values(){return new i(this,t)}}return function entries(){return new i(this,t)}},x=o+" Iterator",T="values"==y,M=!1,I=t.prototype,E=I[h]||I["@@iterator"]||y&&I[y],P=E||getMethod(y),D=y?T?getMethod("entries"):P:void 0,R="Array"==o&&I.entries||E;if(R&&(S=p(R.call(new t)))!==Object.prototype&&S.next&&(m(S,x,!0),r||"function"==typeof S[h]||u(S,h,returnThis)),T&&E&&"values"!==E.name&&(M=!0,P=function values(){return E.call(this)}),r&&!b||!g&&!M&&I[h]||u(I,h,P),c[o]=P,c[x]=returnThis,y)if(w={values:T?P:getMethod("values"),keys:C?P:getMethod("keys"),entries:D},b)for(k in w)k in I||l(I,k,w[k]);else a(a.P+a.F*(g||M),o,w);return w}},function(t,o,i){var r=i(59),a=Math.max,l=Math.min;t.exports=function(t,o){return(t=r(t))<0?a(t+o,0):l(t,o)}},function(t,o){t.exports=function _arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,r=new Array(o);i<o;i++)r[i]=t[i];return r}},function(t,o,i){t.exports=i(230)},function(t,o,i){i(202),t.exports=i(6).Object.keys},function(t,o,i){var r=i(32),a=i(36);i(78)("keys",(function(){return function keys(t){return a(r(t))}}))},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(CommandInternalBase,t);var o=(0,c.default)(CommandInternalBase);function CommandInternalBase(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e.commandsInternal;return(0,a.default)(this,CommandInternalBase),o.call(this,t,i)}return(0,l.default)(CommandInternalBase,null,[{key:"getInstanceType",value:function getInstanceType(){return"CommandInternalBase"}}]),CommandInternalBase}(r(i(23)).default);o.default=d},function(t,o,i){var r=i(123),a=i(43);t.exports=function(t,o,i){if(r(o))throw TypeError("String#"+i+" doesn't accept regex!");return String(a(t))}},function(t,o,i){var r=i(13)("match");t.exports=function(t){var o=/./;try{"/./"[t](o)}catch(i){try{return o[r]=!1,!"/./"[t](o)}catch(t){}}return!0}},function(t,o,i){t.exports=i(316)},function(t,o,i){var r=i(11),a=i(34),l=i(10)("species");t.exports=function(t,o){var i,u=r(t).constructor;return void 0===u||null==(i=r(u)[l])?o:a(i)}},function(t,o,i){var r,a,l,u=i(31),c=i(130),d=i(129),m=i(87),p=i(8),h=p.process,g=p.setImmediate,v=p.clearImmediate,y=p.MessageChannel,C=p.Dispatch,b=0,w={},run=function(){var t=+this;if(w.hasOwnProperty(t)){var o=w[t];delete w[t],o()}},listener=function(t){run.call(t.data)};g&&v||(g=function setImmediate(t){for(var o=[],i=1;arguments.length>i;)o.push(arguments[i++]);return w[++b]=function(){c("function"==typeof t?t:Function(t),o)},r(b),b},v=function clearImmediate(t){delete w[t]},"process"==i(55)(h)?r=function(t){h.nextTick(u(run,t,1))}:C&&C.now?r=function(t){C.now(u(run,t,1))}:y?(l=(a=new y).port2,a.port1.onmessage=listener,r=u(l.postMessage,l,1)):p.addEventListener&&"function"==typeof postMessage&&!p.importScripts?(r=function(t){p.postMessage(t+"","*")},p.addEventListener("message",listener,!1)):r="onreadystatechange"in m("script")?function(t){d.appendChild(m("script")).onreadystatechange=function(){d.removeChild(this),run.call(t)}}:function(t){setTimeout(u(run,t,1),0)}),t.exports={set:g,clear:v}},function(t,o){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,o,i){var r=i(11),a=i(9),l=i(149);t.exports=function(t,o){if(r(t),a(o)&&o.constructor===t)return o;var i=l.f(t);return(0,i.resolve)(o),i.promise}},function(t,o,i){t.exports=i(232)},function(t,o,i){"use strict";var r=i(14),a=i(36),l=i(74),u=i(46),c=i(32),d=i(100),m=Object.assign;t.exports=!m||i(21)((function(){var t={},o={},i=Symbol(),r="abcdefghijklmnopqrst";return t[i]=7,r.split("").forEach((function(t){o[t]=t})),7!=m({},t)[i]||Object.keys(m({},o)).join("")!=r}))?function assign(t,o){for(var i=c(t),m=arguments.length,p=1,h=l.f,g=u.f;m>p;)for(var v,y=d(arguments[p++]),C=h?a(y).concat(h(y)):a(y),b=C.length,w=0;b>w;)v=C[w++],r&&!g.call(y,v)||(i[v]=y[v]);return i}:m},function(t,o,i){t.exports=i(282)},function(t,o,i){var r=i(1),a=i(290),l=i(303),u=i(117),c=i(307),d=i(25),m=i(28);function ownKeys(t,o){var i=d(t);if(c){var r=c(t);o&&(r=r.filter((function(o){return u(t,o).enumerable}))),i.push.apply(i,r)}return i}t.exports=function _objectSpread2(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){m(t,o,i[o])})):l?a(t,l(i)):ownKeys(Object(i)).forEach((function(o){r(t,o,u(i,o))}))}return t}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(56)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=function(t){(0,c.default)(Helper,t);var o=(0,d.default)(Helper);function Helper(){return(0,l.default)(this,Helper),o.apply(this,arguments)}return(0,u.default)(Helper,null,[{key:"isValidChild",value:function isValidChild(t,o){var i=o.get("elType"),r=t.get("elType"),a=o.get("isInner"),l=t.get("isInner");if(l&&"section"===r&&a&&"column"===i)return!1;if(r===i)return!1;if("section"===r&&!l&&"column"===i)return!1;var u=elementor.helpers.getElementChildType(i);return u&&-1!==u.indexOf(t.get("elType"))}},{key:"isValidGrandChild",value:function isValidGrandChild(t,o){var i,r=t.get("elType");switch(o.model.get("elType")){case"document":i=!0;break;case"section":i="widget"===r;break;default:i=!1}return i}},{key:"isSameElement",value:function isSameElement(t,o){var i=o.model.get("elType"),r=t.get("elType");return i===r&&("column"===i&&"column"===r||o.model.get("isInner")===t.get("isInner"))}},{key:"getPasteOptions",value:function getPasteOptions(t,o){var i={};return i.isValidChild=this.isValidChild(t,o.model),i.isSameElement=this.isSameElement(t,o),i.isValidGrandChild=this.isValidGrandChild(t,o),i}},{key:"isPasteEnabled",value:function isPasteEnabled(t){var o=elementorCommon.storage.get("clipboard");if(!o||!o[0])return!1;o[0]instanceof Backbone.Model||(o[0]=new Backbone.Model(o[0]));var i=this.getPasteOptions(o[0],t);return(0,a.default)(i).some((function(t){return!!t}))}}]),Helper}(r(i(370)).default);o.default=m},function(t,o,i){var r=i(217);t.exports=function(t,o){return new(r(t))(o)}},function(t,o,i){var r=i(30),a=i(218),l=i(13)("species");t.exports=function(t){var o;return a(t)&&("function"!=typeof(o=t.constructor)||o!==Array&&!a(o.prototype)||(o=void 0),r(o)&&null===(o=o[l])&&(o=void 0)),void 0===o?Array:o}},function(t,o,i){var r=i(50);t.exports=Array.isArray||function isArray(t){return"Array"==r(t)}},function(t,o,i){var r=i(64),a=i(103),l=i(145)(!1),u=i(134)("IE_PROTO");t.exports=function(t,o){var i,c=a(t),d=0,m=[];for(i in c)i!=u&&r(c,i)&&m.push(i);for(;o.length>d;)r(c,i=o[d++])&&(~l(m,i)||m.push(i));return m}},function(t,o,i){i(221),t.exports=i(6).Array.isArray},function(t,o,i){var r=i(7);r(r.S,"Array",{isArray:i(93)})},,function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(47)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=function(t){(0,c.default)(ArgsObject,t);var o=(0,d.default)(ArgsObject);function ArgsObject(t){var i;return(0,l.default)(this,ArgsObject),(i=o.call(this)).args=t,i}return(0,u.default)(ArgsObject,null,[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}]),(0,u.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!o.hasOwnProperty(t))throw Error("".concat(t," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(t,i),(0,a.default)(i[t])!==o)throw Error("".concat(t," invalid type: ").concat(o,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(t,i),!(i[t]instanceof o))throw Error("".concat(t," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(t,i),i[t].constructor!==o)throw Error("".concat(t," invalid constructor type."))}}]),ArgsObject}(r(i(252)).default);o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.After=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(After,t);var o=(0,c.default)(After);function After(){return(0,a.default)(this,After),o.apply(this,arguments)}return(0,l.default)(After,[{key:"register",value:function register(){$e.hooks.registerDataAfter(this)}}]),After}(r(i(286)).default);o.After=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(8),a=i(6),l=i(15),u=i(14),c=i(10)("species");t.exports=function(t){var o="function"==typeof a[t]?a[t]:r[t];u&&o&&!o[c]&&l.f(o,c,{configurable:!0,get:function(){return this}})}},function(t,o,i){i(227),t.exports=i(6).Object.values},function(t,o,i){var r=i(7),a=i(181)(!1);r(r.S,"Object",{values:function values(t){return a(t)}})},function(t,o,i){var r=i(20),a=i(243),l=i(151),u=i(134)("IE_PROTO"),Empty=function(){},createDict=function(){var t,o=i(113)("iframe"),r=l.length;for(o.style.display="none",i(229).appendChild(o),o.src="javascript:",(t=o.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),createDict=t.F;r--;)delete createDict.prototype[l[r]];return createDict()};t.exports=Object.create||function create(t,o){var i;return null!==t?(Empty.prototype=r(t),i=new Empty,Empty.prototype=null,i[u]=t):i=createDict(),void 0===o?i:a(i,o)}},function(t,o,i){var r=i(18).document;t.exports=r&&r.documentElement},function(t,o,i){i(58),i(231),t.exports=i(6).Array.from},function(t,o,i){"use strict";var r=i(31),a=i(7),l=i(32),u=i(143),c=i(144),d=i(70),m=i(192),p=i(115);a(a.S+a.F*!i(178)((function(t){Array.from(t)})),"Array",{from:function from(t){var o,i,a,h,g=l(t),v="function"==typeof this?this:Array,y=arguments.length,C=y>1?arguments[1]:void 0,b=void 0!==C,w=0,k=p(g);if(b&&(C=r(C,y>2?arguments[2]:void 0,2)),null==k||v==Array&&c(k))for(i=new v(o=d(g.length));o>w;w++)m(i,w,b?C(g[w],w):g[w]);else for(h=k.call(g),i=new v;!(a=h.next()).done;w++)m(i,w,b?u(h,C,[a.value,w],!0):a.value);return i.length=w,i}})},function(t,o,i){i(61),i(58),t.exports=i(233)},function(t,o,i){var r=i(104),a=i(10)("iterator"),l=i(33);t.exports=i(6).isIterable=function(t){var o=Object(t);return void 0!==o[a]||"@@iterator"in o||l.hasOwnProperty(r(o))}},function(t,o,i){"use strict";var r=i(8),a=i(7),l=i(75),u=i(21),c=i(22),d=i(126),m=i(90),p=i(125),h=i(9),g=i(53),v=i(15).f,y=i(140)(0),C=i(14);t.exports=function(t,o,i,b,w,k){var S=r[t],x=S,T=w?"set":"add",M=x&&x.prototype,I={};return C&&"function"==typeof x&&(k||M.forEach&&!u((function(){(new x).entries().next()})))?(x=o((function(o,i){p(o,x,t,"_c"),o._c=new S,null!=i&&m(i,w,o[T],o)})),y("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(t){var o="add"==t||"set"==t;!(t in M)||k&&"clear"==t||c(x.prototype,t,(function(i,r){if(p(this,x,t),!o&&k&&!h(i))return"get"==t&&void 0;var a=this._c[t](0===i?0:i,r);return o?this:a}))})),k||v(x.prototype,"size",{get:function(){return this._c.size}})):(x=b.getConstructor(o,t,w,T),d(x.prototype,i),l.NEED=!0),g(x,t),I[t]=x,a(a.G+a.W+a.F,I),k||b.setStrong(x,t,w),x}},function(t,o,i){"use strict";var r=i(7);t.exports=function(t){r(r.S,t,{of:function of(){for(var t=arguments.length,o=new Array(t);t--;)o[t]=arguments[t];return new this(o)}})}},function(t,o,i){"use strict";var r=i(7),a=i(34),l=i(31),u=i(90);t.exports=function(t){r(r.S,t,{from:function from(t){var o,i,r,c,d=arguments[1];return a(this),(o=void 0!==d)&&a(d),null==t?new this:(i=[],o?(r=0,c=l(d,arguments[2],2),u(t,!1,(function(t){i.push(c(t,r++))}))):u(t,!1,i.push,i),new this(i))}})}},function(t,o){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,o,i){t.exports=i(249)},function(t,o,i){"use strict";var r,a=i(0)(i(47));r=i(127).extend({applySavedValue:function applySavedValue(){var t=this.getControlValue(),o=this.$("[data-setting]"),i=this;_.each(t,(function(t,r){var a=o.filter((function(){return r===this.dataset.setting}));i.setInputValue(a,t)}))},getControlValue:function getControlValue(t){var o=this.container.settings.get(this.model.get("name"));if(!jQuery.isPlainObject(o))return{};if(t){var i=o[t];return void 0===i&&(i=""),i}return elementorCommon.helpers.cloneObject(o)},setValue:function setValue(t,o){var i=this.getControlValue();"object"===(0,a.default)(t)?_.each(t,(function(t,o){i[o]=t})):i[t]=o,this.setSettingsModel(i)},updateElementModel:function updateElementModel(t,o){var i=o.dataset.setting;this.setValue(i,t)}},{getStyleValue:function getStyleValue(t,o){return _.isObject(o)?o[t.toLowerCase()]:""}}),t.exports=r},,function(t,o){t.exports=function(t,o){return{value:o,done:!!t}}},function(t,o,i){"use strict";var r=i(228),a=i(106),l=i(179),u={};i(29)(u,i(13)("iterator"),(function(){return this})),t.exports=function(t,o,i){t.prototype=r(u,{next:a(1,i)}),l(t,o+" Iterator")}},function(t,o,i){var r=i(49),a=i(20),l=i(191);t.exports=i(27)?Object.defineProperties:function defineProperties(t,o){a(t);for(var i,u=l(o),c=u.length,d=0;c>d;)r.f(t,i=u[d++],o[i]);return t}},function(t,o,i){var r=i(64),a=i(99),l=i(134)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=a(t),r(t,l)?t[l]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,o,i){var r=i(246);t.exports=function(t,o){return new(r(t))(o)}},function(t,o,i){var r=i(9),a=i(93),l=i(10)("species");t.exports=function(t){var o;return a(t)&&("function"!=typeof(o=t.constructor)||o!==Array&&!a(o.prototype)||(o=void 0),r(o)&&null===(o=o[l])&&(o=void 0)),void 0===o?Array:o}},function(t,o,i){var r=i(85);t.exports=function _arrayWithHoles(t){if(r(t))return t}},function(t,o,i){var r=i(238),a=i(211),l=i(107);t.exports=function _iterableToArrayLimit(t,o){if(void 0!==l&&a(Object(t))){var i=[],u=!0,c=!1,d=void 0;try{for(var m,p=r(t);!(u=(m=p.next()).done)&&(i.push(m.value),!o||i.length!==o);u=!0);}catch(t){c=!0,d=t}finally{try{u||null==p.return||p.return()}finally{if(c)throw d}}return i}}},function(t,o,i){i(61),i(58),t.exports=i(250)},function(t,o,i){var r=i(11),a=i(115);t.exports=i(6).getIterator=function(t){var o=a(t);if("function"!=typeof o)throw TypeError(t+" is not iterable!");return r(o.call(t))}},function(t,o){t.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.")}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(40);var a=r(i(85)),l=r(i(253)),u=r(i(2)),c=r(i(3)),d=r(i(24)),m=r(i(16)),p=function(){function InstanceType(){var t=this;(0,u.default)(this,InstanceType);for(var o=this instanceof InstanceType?this.constructor:void 0,i=[];o.__proto__&&o.__proto__.name;)i.push(o.__proto__),o=o.__proto__;i.reverse().forEach((function(o){return t instanceof o}))}return(0,c.default)(InstanceType,null,[{key:l.default,value:function value(t){var o=(0,d.default)((0,m.default)(InstanceType),l.default,this).call(this,t);if(t&&!t.constructor.getInstanceType)return o;if(t&&(t.instanceTypes||(t.instanceTypes=[]),o||this.getInstanceType()===t.constructor.getInstanceType()&&(o=!0),o)){var i=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===t.instanceTypes.indexOf(i)&&t.instanceTypes.push(i)}return!o&&t&&(o=t.instanceTypes&&(0,a.default)(t.instanceTypes)&&-1!==t.instanceTypes.indexOf(this.getInstanceType())),o}}]),(0,c.default)(InstanceType,null,[{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}]),InstanceType}();o.default=p},function(t,o,i){t.exports=i(254)},function(t,o,i){i(255),t.exports=i(62).f("hasInstance")},function(t,o,i){"use strict";var r=i(9),a=i(63),l=i(10)("hasInstance"),u=Function.prototype;l in u||i(15).f(u,l,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=a(t);)if(this.prototype===t)return!0;return!1}})},function(t,o,i){"use strict";var r=i(0);i(26);var a=r(i(373)),l=i(297),u=l.extend({childViewContainer:function childViewContainer(){return elementor.config.legacyMode.elementWrappers?"> .elementor-container > .elementor-row":"> .elementor-container"},template:Marionette.TemplateCache.get("#tmpl-elementor-section-content"),addSectionView:null,_checkIsFull:function _checkIsFull(){this.toggleSectionIsFull(),elementorCommon.helpers.softDeprecated("_checkIsFull","2.9.0","toggleSectionIsFull()")},toggleSectionIsFull:function toggleSectionIsFull(){this.$el.toggleClass("elementor-section-filled",this.isCollectionFilled())},addChildModel:function addChildModel(t){var o=t instanceof Backbone.Model,i=this.isInner();return o?t.set("isInner",i):t.isInner=i,l.prototype.addChildModel.apply(this,arguments)},className:function className(){var t=l.prototype.className.apply(this,arguments),o=this.isInner()?"inner":"top";return t+" elementor-section elementor-"+o+"-section"},tagName:function tagName(){return this.model.getSetting("html_tag")||"section"},behaviors:function behaviors(){var behaviors=l.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:i(298),elChildType:"column"}}),elementor.hooks.applyFilters("elements/section/behaviors",behaviors,this)},initialize:function initialize(){l.prototype.initialize.apply(this,arguments),this.model.get("editSettings").set("defaultEditRoute","layout")},getEditButtons:function getEditButtons(){var t=elementor.getElementData(this.model),o={};return this.isInner()||(o.add={title:elementor.translate("add_element",[t.title]),icon:"plus"}),o.edit={title:elementor.translate("edit_element",[t.title]),icon:"handle"},elementor.getPreferences("edit_buttons")&&(o.duplicate={title:elementor.translate("duplicate_element",[t.title]),icon:"clone"}),o.remove={title:elementor.translate("delete_element",[t.title]),icon:"close"},o},getContextMenuGroups:function getContextMenuGroups(){var t=l.prototype.getContextMenuGroups.apply(this,arguments),o=t.indexOf(_.findWhere(t,{name:"clipboard"}));return t.splice(o+1,0,{name:"save",actions:[{name:"save",title:elementor.translate("save_as_block"),callback:this.save.bind(this)}]}),t},getSortableOptions:function getSortableOptions(){return{connectWith:(this.isInner()?".elementor-inner-section":".elementor-top-section")+this.childViewContainer(),handle:"> .elementor-element-overlay .elementor-editor-element-edit",items:"> .elementor-column",forcePlaceholderSize:!0,tolerance:"pointer"}},getColumnPercentSize:function getColumnPercentSize(t,o){return+(o/t.parent().width()*100).toFixed(3)},getDefaultStructure:function getDefaultStructure(){return this.collection.length+"0"},getStructure:function getStructure(){return this.model.getSetting("structure")},getColumnAt:function getColumnAt(t){var o=this.collection.at(t);return o?this.children.findByModelCid(o.cid):null},getNextColumn:function getNextColumn(t){return this.getColumnAt(this.collection.indexOf(t.model)+1)},getPreviousColumn:function getPreviousColumn(t){return this.getColumnAt(this.collection.indexOf(t.model)-1)},getNeighborContainer:function getNeighborContainer(t){var o=t.parent.view,i=o.getNextColumn(t.view)||o.getPreviousColumn(t.view);return!!i&&i.getContainer()},setStructure:function setStructure(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=elementor.presetsFactory.getParsedStructure(t);if(+i.columnsCount!==this.collection.length)throw new TypeError("The provided structure doesn't match the columns count.");$e.run("document/elements/settings",{container:this.getContainer(),settings:{structure:t},options:{external:!0}}),o&&this.adjustColumns()},adjustColumns:function adjustColumns(){var t=elementor.presetsFactory.getPresetByStructure(this.getStructure());this.children.each((function(o,i){var r=o.getContainer();$e.run("document/elements/settings",{container:r,settings:{_column_size:t.preset[i],_inline_size:null}})}))},resetLayout:function resetLayout(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setStructure(this.getDefaultStructure(),t)},resetColumnsCustomSize:function resetColumnsCustomSize(){this.children.each((function(t){$e.run("document/elements/settings",{container:t.getContainer(),settings:{_inline_size:null},options:{external:!0}})}))},isCollectionFilled:function isCollectionFilled(){return 10<=this.collection.length},showChildrenPercentsTooltip:function showChildrenPercentsTooltip(t,o){t.ui.percentsTooltip.show(),t.ui.percentsTooltip.attr("data-side",elementorCommon.config.isRTL?"right":"left"),o.ui.percentsTooltip.show(),o.ui.percentsTooltip.attr("data-side",elementorCommon.config.isRTL?"left":"right")},hideChildrenPercentsTooltip:function hideChildrenPercentsTooltip(t,o){t.ui.percentsTooltip.hide(),o.ui.percentsTooltip.hide()},destroyAddSectionView:function destroyAddSectionView(){this.addSectionView&&!this.addSectionView.isDestroyed&&this.addSectionView.destroy()},onRender:function onRender(){l.prototype.onRender.apply(this,arguments),this.toggleSectionIsFull()},onAddButtonClick:function onAddButtonClick(){if(!this.addSectionView||this.addSectionView.isDestroyed){var t=new a.default({at:this.model.collection.indexOf(this.model)});t.render(),this.$el.before(t.$el),t.$el.hide(),setTimeout((function(){t.$el.slideDown(null,(function(){jQuery(this).css("display","")}))})),this.addSectionView=t}else this.addSectionView.fadeToDeath()},onChildviewRequestResizeStart:function onChildviewRequestResizeStart(t){var o=this.getNextColumn(t);if(o){this.showChildrenPercentsTooltip(t,o);var i=t.$el.find("iframe").add(o.$el.find("iframe"));elementor.helpers.disableElementEvents(i)}},onChildviewRequestResizeStop:function onChildviewRequestResizeStop(t){var o=this.getNextColumn(t);if(o){this.hideChildrenPercentsTooltip(t,o);var i=t.$el.find("iframe").add(o.$el.find("iframe"));elementor.helpers.enableElementEvents(i)}},onChildviewRequestResize:function onChildviewRequestResize(t,o){o.element.css({width:"",left:"initial"}),$e.run("document/elements/settings",{container:t.getContainer(),settings:{_inline_size:this.getColumnPercentSize(o.element,o.size.width)}})},onDestroy:function onDestroy(){l.prototype.onDestroy.apply(this,arguments),this.destroyAddSectionView()}});t.exports=u,t.exports.DEFAULT_INNER_SECTION_COLUMNS=2,t.exports.DEFAULT_MIN_COLUMN_SIZE=2,t.exports.DEFAULT_MAX_COLUMNS=10},function(t,o,i){i(96),i(58),i(61),i(258),i(261),i(262),t.exports=i(6).Promise},function(t,o,i){"use strict";var r,a,l,u,c=i(44),d=i(8),m=i(31),p=i(104),h=i(7),g=i(9),v=i(34),y=i(125),C=i(90),b=i(207),w=i(208).set,k=i(259)(),S=i(149),x=i(209),T=i(260),M=i(210),I=d.TypeError,E=d.process,P=E&&E.versions,D=P&&P.v8||"",R=d.Promise,V="process"==p(E),empty=function(){},A=a=S.f,O=!!function(){try{var t=R.resolve(1),o=(t.constructor={})[i(10)("species")]=function(t){t(empty,empty)};return(V||"function"==typeof PromiseRejectionEvent)&&t.then(empty)instanceof o&&0!==D.indexOf("6.6")&&-1===T.indexOf("Chrome/66")}catch(t){}}(),isThenable=function(t){var o;return!(!g(t)||"function"!=typeof(o=t.then))&&o},notify=function(t,o){if(!t._n){t._n=!0;var i=t._c;k((function(){for(var r=t._v,a=1==t._s,l=0,run=function(o){var i,l,u,c=a?o.ok:o.fail,d=o.resolve,m=o.reject,p=o.domain;try{c?(a||(2==t._h&&onHandleUnhandled(t),t._h=1),!0===c?i=r:(p&&p.enter(),i=c(r),p&&(p.exit(),u=!0)),i===o.promise?m(I("Promise-chain cycle")):(l=isThenable(i))?l.call(i,d,m):d(i)):m(r)}catch(t){p&&!u&&p.exit(),m(t)}};i.length>l;)run(i[l++]);t._c=[],t._n=!1,o&&!t._h&&onUnhandled(t)}))}},onUnhandled=function(t){w.call(d,(function(){var o,i,r,a=t._v,l=isUnhandled(t);if(l&&(o=x((function(){V?E.emit("unhandledRejection",a,t):(i=d.onunhandledrejection)?i({promise:t,reason:a}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",a)})),t._h=V||isUnhandled(t)?2:1),t._a=void 0,l&&o.e)throw o.v}))},isUnhandled=function(t){return 1!==t._h&&0===(t._a||t._c).length},onHandleUnhandled=function(t){w.call(d,(function(){var o;V?E.emit("rejectionHandled",t):(o=d.onrejectionhandled)&&o({promise:t,reason:t._v})}))},$reject=function(t){var o=this;o._d||(o._d=!0,(o=o._w||o)._v=t,o._s=2,o._a||(o._a=o._c.slice()),notify(o,!0))},$resolve=function(t){var o,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw I("Promise can't be resolved itself");(o=isThenable(t))?k((function(){var r={_w:i,_d:!1};try{o.call(t,m($resolve,r,1),m($reject,r,1))}catch(t){$reject.call(r,t)}})):(i._v=t,i._s=1,notify(i,!1))}catch(t){$reject.call({_w:i,_d:!1},t)}}};O||(R=function Promise(t){y(this,R,"Promise","_h"),v(t),r.call(this);try{t(m($resolve,this,1),m($reject,this,1))}catch(t){$reject.call(this,t)}},(r=function Promise(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i(126)(R.prototype,{then:function then(t,o){var i=A(b(this,R));return i.ok="function"!=typeof t||t,i.fail="function"==typeof o&&o,i.domain=V?E.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&notify(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new r;this.promise=t,this.resolve=m($resolve,t,1),this.reject=m($reject,t,1)},S.f=A=function(t){return t===R||t===u?new l(t):a(t)}),h(h.G+h.W+h.F*!O,{Promise:R}),i(53)(R,"Promise"),i(225)("Promise"),u=i(6).Promise,h(h.S+h.F*!O,"Promise",{reject:function reject(t){var o=A(this);return(0,o.reject)(t),o.promise}}),h(h.S+h.F*(c||!O),"Promise",{resolve:function resolve(t){return M(c&&this===u?R:this,t)}}),h(h.S+h.F*!(O&&i(178)((function(t){R.all(t).catch(empty)}))),"Promise",{all:function all(t){var o=this,i=A(o),r=i.resolve,a=i.reject,l=x((function(){var i=[],l=0,u=1;C(t,!1,(function(t){var c=l++,d=!1;i.push(void 0),u++,o.resolve(t).then((function(t){d||(d=!0,i[c]=t,--u||r(i))}),a)})),--u||r(i)}));return l.e&&a(l.v),i.promise},race:function race(t){var o=this,i=A(o),r=i.reject,a=x((function(){C(t,!1,(function(t){o.resolve(t).then(i.resolve,r)}))}));return a.e&&r(a.v),i.promise}})},function(t,o,i){var r=i(8),a=i(208).set,l=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,d="process"==i(55)(u);t.exports=function(){var t,o,i,flush=function(){var r,a;for(d&&(r=u.domain)&&r.exit();t;){a=t.fn,t=t.next;try{a()}catch(r){throw t?i():o=void 0,r}}o=void 0,r&&r.enter()};if(d)i=function(){u.nextTick(flush)};else if(!l||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var m=c.resolve(void 0);i=function(){m.then(flush)}}else i=function(){a.call(r,flush)};else{var p=!0,h=document.createTextNode("");new l(flush).observe(h,{characterData:!0}),i=function(){h.data=p=!p}}return function(r){var a={fn:r,next:void 0};o&&(o.next=a),t||(t=a,i()),o=a}}},function(t,o,i){var r=i(8).navigator;t.exports=r&&r.userAgent||""},function(t,o,i){"use strict";var r=i(7),a=i(6),l=i(8),u=i(207),c=i(210);r(r.P+r.R,"Promise",{finally:function(t){var o=u(this,a.Promise||l.Promise),i="function"==typeof t;return this.then(i?function(i){return c(o,t()).then((function(){return i}))}:t,i?function(i){return c(o,t()).then((function(){throw i}))}:t)}})},function(t,o,i){"use strict";var r=i(7),a=i(149),l=i(209);r(r.S,"Promise",{try:function(t){var o=a.f(this),i=l(t);return(i.e?o.reject:o.resolve)(i.v),o.promise}})},function(t,o,i){t.exports=i(264)},function(t,o,i){i(96),i(61),i(265),i(267),i(268),t.exports=i(6).WeakMap},function(t,o,i){"use strict";var r,a=i(8),l=i(140)(0),u=i(88),c=i(75),d=i(212),m=i(266),p=i(9),h=i(122),g=i(122),v=!a.ActiveXObject&&"ActiveXObject"in a,y=c.getWeak,C=Object.isExtensible,b=m.ufstore,wrapper=function(t){return function WeakMap(){return t(this,arguments.length>0?arguments[0]:void 0)}},w={get:function get(t){if(p(t)){var o=y(t);return!0===o?b(h(this,"WeakMap")).get(t):o?o[this._i]:void 0}},set:function set(t,o){return m.def(h(this,"WeakMap"),t,o)}},k=t.exports=i(234)("WeakMap",wrapper,w,m,!0,!0);g&&v&&(d((r=m.getConstructor(wrapper,"WeakMap")).prototype,w),c.NEED=!0,l(["delete","has","get","set"],(function(t){var o=k.prototype,i=o[t];u(o,t,(function(o,a){if(p(o)&&!C(o)){this._f||(this._f=new r);var l=this._f[t](o,a);return"set"==t?this:l}return i.call(this,o,a)}))})))},function(t,o,i){"use strict";var r=i(126),a=i(75).getWeak,l=i(11),u=i(9),c=i(125),d=i(90),m=i(140),p=i(17),h=i(122),g=m(5),v=m(6),y=0,uncaughtFrozenStore=function(t){return t._l||(t._l=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.a=[]},findUncaughtFrozen=function(t,o){return g(t.a,(function(t){return t[0]===o}))};UncaughtFrozenStore.prototype={get:function(t){var o=findUncaughtFrozen(this,t);if(o)return o[1]},has:function(t){return!!findUncaughtFrozen(this,t)},set:function(t,o){var i=findUncaughtFrozen(this,t);i?i[1]=o:this.a.push([t,o])},delete:function(t){var o=v(this.a,(function(o){return o[0]===t}));return~o&&this.a.splice(o,1),!!~o}},t.exports={getConstructor:function(t,o,i,l){var m=t((function(t,r){c(t,m,o,"_i"),t._t=o,t._i=y++,t._l=void 0,null!=r&&d(r,i,t[l],t)}));return r(m.prototype,{delete:function(t){if(!u(t))return!1;var i=a(t);return!0===i?uncaughtFrozenStore(h(this,o)).delete(t):i&&p(i,this._i)&&delete i[this._i]},has:function has(t){if(!u(t))return!1;var i=a(t);return!0===i?uncaughtFrozenStore(h(this,o)).has(t):i&&p(i,this._i)}}),m},def:function(t,o,i){var r=a(l(o),!0);return!0===r?uncaughtFrozenStore(t).set(o,i):r[t._i]=i,t},ufstore:uncaughtFrozenStore}},function(t,o,i){i(235)("WeakMap")},function(t,o,i){i(236)("WeakMap")},function(t,o,i){i(270),t.exports=i(6).Object.entries},function(t,o,i){var r=i(7),a=i(181)(!0);r(r.S,"Object",{entries:function entries(t){return a(t)}})},function(t,o,i){"use strict";var r=i(146)(!0);i(197)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,o=this._t,i=this._i;return i>=o.length?{value:void 0,done:!0}:(t=r(o,i),this._i+=t.length,{value:t,done:!1})}))},function(t,o,i){"use strict";i(1)(o,"__esModule",{value:!0}),o.default=void 0;var r=navigator.userAgent,a={webkit:-1!==r.indexOf("AppleWebKit"),firefox:-1!==r.indexOf("Firefox"),ie:/Trident|MSIE/.test(r),edge:-1!==r.indexOf("Edge"),mac:-1!==r.indexOf("Macintosh"),safari:/^((?!chrome|android).)*safari/i.test(r)};o.default=a},function(t,o,i){"use strict";var r=i(0)(i(296)),a=i(372);t.exports=Marionette.Behavior.extend({defaults:{groups:[],eventTargets:["el"]},events:function events(){var events={};return this.getOption("eventTargets").forEach((function(t){var o="contextmenu";"el"!==t&&(o+=" "+t),events[o]="onContextMenu"})),events},initialize:function initialize(){this.listenTo(this.view.options.model,"request:contextmenu",this.onRequestContextMenu)},initContextMenu:function initContextMenu(){var t=this,o=this.getOption("groups"),i=_.findWhere(o,{name:"delete"}),r=o.indexOf(i);-1===r&&(r=o.length),o.splice(r,0,{name:"tools",actions:[{name:"navigator",title:elementor.translate("navigator"),callback:function callback(){return $e.route("navigator",{reOpen:!0,model:t.view.model})}}]}),this.contextMenu=new a({groups:o}),this.contextMenu.getModal().on("hide",this.onContextMenuHide)},getContextMenu:function getContextMenu(){return this.contextMenu||this.initContextMenu(),this.contextMenu},onContextMenu:function onContextMenu(t){$e.shortcuts.isControlEvent(t)||(this.view instanceof r.default||this.view.container&&this.view.container.isDesignable())&&(t.preventDefault(),t.stopPropagation(),this.getContextMenu().show(t),elementor.channels.editor.reply("contextMenu:targetView",this.view))},onRequestContextMenu:function onRequestContextMenu(t){var o=this.getContextMenu().getModal(),i=o.getSettings("iframe"),r=_.findWhere(this.contextMenu.getSettings("groups"),{name:"tools"});r.isVisible=!1,o.setSettings("iframe",null),this.onContextMenu(t),r.isVisible=!0,o.setSettings("iframe",i)},onContextMenuHide:function onContextMenuHide(){elementor.channels.editor.reply("contextMenu:targetView",null)},onDestroy:function onDestroy(){this.contextMenu&&this.contextMenu.destroy()}})},function(t,o,i){"use strict";var r,a=i(127);r=a.extend({getSelect2Placeholder:function getSelect2Placeholder(){return this.ui.select.children('option:first[value=""]').text()},getSelect2DefaultOptions:function getSelect2DefaultOptions(){return{allowClear:!0,placeholder:this.getSelect2Placeholder(),dir:elementorCommon.config.isRTL?"rtl":"ltr"}},getSelect2Options:function getSelect2Options(){return jQuery.extend(this.getSelect2DefaultOptions(),this.model.get("select2options"))},applySavedValue:function applySavedValue(){a.prototype.applySavedValue.apply(this,arguments);var t=this.ui.select.data("select2");t?this.ui.select.trigger("change"):this.ui.select.select2(this.getSelect2Options())},onReady:function onReady(){elementorCommon.helpers.softDeprecated("onReady","3.0.0")},onBeforeDestroy:function onBeforeDestroy(){this.ui.select.select2("destroy"),this.$el.remove()}}),t.exports=r},,,function(t,o,i){"use strict";var r=i(37),a=i(45),l=i(204),u="".startsWith;r(r.P+r.F*i(205)("startsWith"),"String",{startsWith:function startsWith(t){var o=l(this,t,"startsWith"),i=a(Math.min(arguments.length>1?arguments[1]:void 0,o.length)),r=String(t);return u?u.call(o,r,i):o.slice(i,i+r.length)===r}})},,,function(t,o,i){i(27)&&"g"!=/./g.flags&&i(49).f(RegExp.prototype,"flags",{configurable:!0,get:i(109)})},function(t,o,i){"use strict";var r,a=i(0),l=a(i(1)),u=a(i(25));r=Marionette.CompositeView.extend({ui:function ui(){return{controlTitle:".elementor-control-title"}},behaviors:function behaviors(){return elementor.hooks.applyFilters("controls/base/behaviors",{},this)},getBehavior:function getBehavior(t){return this._behaviors[(0,u.default)(this.behaviors()).indexOf(t)]},className:function className(){var t="elementor-control elementor-control-"+this.model.get("name")+" elementor-control-type-"+this.model.get("type"),o=this.model.get("classes"),i=this.model.get("responsive");return _.isEmpty(o)||(t+=" "+o),_.isEmpty(i)||(t+=" elementor-control-responsive-"+i.max),t},templateHelpers:function templateHelpers(){var t={_cid:this.model.cid};return{view:this,data:_.extend({},this.model.toJSON(),t)}},getTemplate:function getTemplate(){return Marionette.TemplateCache.get("#tmpl-elementor-control-"+this.model.get("type")+"-content")},initialize:function initialize(t){var o=this.model.get("label");(0,l.default)(this,"container",{get:function get(){if(!t.container){var i=t.elementSettingsModel,r=$e.components.get("document").utils.findViewById(i.id);r&&r.getContainer?t.container=r.getContainer():(i.id||(i.id="bc-"+elementorCommon.helpers.getUniqueId()),t.container=new elementorModules.editor.Container({type:"bc-container",id:i.id,model:i,settings:i,label:o,view:!1,renderer:!1,controls:i.options.controls}))}return t.container}}),(0,l.default)(this,"elementSettingsModel",{get:function get(){return elementorCommon.helpers.softDeprecated("elementSettingsModel","2.8.0","container.settings"),t.container?t.container.settings:t.elementSettingsModel}});var i=this.model.get("type"),r=jQuery.extend(!0,{},elementor.config.controls[i],this.model.attributes);this.model.set(r);var a=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(a,"change",this.toggleControlVisibility)},toggleControlVisibility:function toggleControlVisibility(){var t=this.container?this.container.settings:this.elementSettingsModel,o=elementor.helpers.isActiveControl(this.model,t.attributes);this.$el.toggleClass("elementor-hidden-control",!o),elementor.getPanelView().updateScrollbar()},onRender:function onRender(){var t=this.model.get("label_block")?"block":"inline",o=this.model.get("show_label"),i="elementor-label-"+t;i+=" elementor-control-separator-"+this.model.get("separator"),o||(i+=" elementor-control-hidden-label"),this.$el.addClass(i),this.toggleControlVisibility()}}),t.exports=r},function(t,o,i){i(283),t.exports=i(6).parseInt},function(t,o,i){var r=i(7),a=i(284);r(r.G+r.F*(parseInt!=a),{parseInt:a})},function(t,o,i){var r=i(8).parseInt,a=i(285).trim,l=i(237),u=/^[-+]?0[xX]/;t.exports=8!==r(l+"08")||22!==r(l+"0x16")?function parseInt(t,o){var i=a(String(t),3);return r(i,o>>>0||(u.test(i)?16:10))}:r},function(t,o,i){var r=i(7),a=i(65),l=i(21),u=i(237),c="["+u+"]",d=RegExp("^"+c+c+"*"),m=RegExp(c+c+"*$"),exporter=function(t,o,i){var a={},c=l((function(){return!!u[t]()||"​"!="​"[t]()})),d=a[t]=c?o(p):u[t];i&&(a[i]=d),r(r.P+r.F*c,"String",a)},p=exporter.trim=function(t,o){return t=String(a(t)),1&o&&(t=t.replace(d,"")),2&o&&(t=t.replace(m,"")),t};t.exports=exporter},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Base=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Base,t);var o=(0,c.default)(Base);function Base(){return(0,a.default)(this,Base),o.apply(this,arguments)}return(0,l.default)(Base,[{key:"getType",value:function getType(){return"data"}}]),Base}(r(i(294)).default);o.Base=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(24)),d=a(i(16)),m=a(i(4)),p=a(i(5)),h=a(i(86)),g=r(i(321)),v=function(t){(0,m.default)(ComponentModalBase,t);var o=(0,p.default)(ComponentModalBase);function ComponentModalBase(){return(0,l.default)(this,ComponentModalBase),o.apply(this,arguments)}return(0,u.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var t=this;(0,c.default)((0,d.default)(ComponentModalBase.prototype),"registerAPI",this).call(this),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return t.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(g)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var t=this;if(!this.layout){var o=this.getModalLayout();this.layout=new o({component:this}),this.layout.getModal().on("hide",(function(){return t.close()}))}return this.layout.showModal(),!0}},{key:"close",value:function close(){return!!(0,c.default)((0,d.default)(ComponentModalBase.prototype),"close",this).call(this)&&(this.layout.getModal().hide(),!0)}},{key:"getModalLayout",value:function getModalLayout(){elementorModules.ForceMethodImplementation()}}]),ComponentModalBase}(h.default);o.default=v},function(t,o,i){i(289),t.exports=i(6).Object.assign},function(t,o,i){var r=i(7);r(r.S+r.F,"Object",{assign:i(212)})},function(t,o,i){t.exports=i(291)},function(t,o,i){i(292);var r=i(6).Object;t.exports=function defineProperties(t,o){return r.defineProperties(t,o)}},function(t,o,i){var r=i(7);r(r.S+r.F*!i(14),"Object",{defineProperties:i(132)})},function(t,o,i){"use strict";var r=i(0)(i(25));i(295),i(120),i(60),i(40),i(26);var a,l=i(332);a=elementorModules.ViewModule.extend({stylesheet:null,getDefaultSettings:function getDefaultSettings(){return{id:0,context:null,settingsModel:null,dynamicParsing:{}}},getDefaultElements:function getDefaultElements(){var t="elementor-style-".concat(this.getSettings("id")),o=elementor.$previewContents.find("#".concat(t));return o.length||(o=jQuery("<style>",{id:t})),{$stylesheetElement:o}},initStylesheet:function initStylesheet(){var t=elementorFrontend.config.breakpoints;this.stylesheet=new l,this.stylesheet.addDevice("mobile",0).addDevice("tablet",t.md).addDevice("desktop",t.lg)},addStyleRules:function addStyleRules(t,o,i,r,a){var l=this,u=this.getSettings("settingsModel").parseDynamicSettings(o,this.getSettings("dynamicParsing"),t);_.each(t,(function(t){var c,d;if(t.styleFields&&t.styleFields.length&&l.addRepeaterControlsStyleRules(o[t.name],t.styleFields,t.fields,r,a),(null===(c=t.dynamic)||void 0===c?void 0:c.active)&&(null===(d=o.__dynamic__)||void 0===d?void 0:d[t.name])&&l.addDynamicControlStyleRules(o.__dynamic__[t.name],t),t.selectors){var m,p=l.getSettings("context");p&&(m=p.model.get("settings").get("__globals__")),l.addControlStyleRules(t,u,i,r,a,m)}}))},addControlStyleRules:function addControlStyleRules(t,o,i,a,l,u){var c,d,m=this;if(u){var p=t.name;t.groupType&&(p=t.groupPrefix+t.groupType),c=u[p]}(c||void 0!==(d=this.getStyleControlValue(t,o)))&&_.each(t.selectors,(function(u,p){var h;if(c){var g=m.getSelectorGlobalValue(t,c);g&&("font"===t.type&&$e.data.get(c).then((function(t){elementor.helpers.enqueueFont(t.data.value.typography_font_family)})),h=u.replace(/(:)[^;]+(;?)/g,"$1"+g+"$2"))}else try{h=u.replace(/{{(?:([^.}]+)\.)?([^}| ]*)(?: *\|\| *(?:([^.}]+)\.)?([^}| ]*) *)*}}/g,(function(r,a,l,u,c){var p=a&&!i[a],h="";if(p||(h=m.parsePropertyPlaceholder(t,d,i,o,l,a)),!h&&0!==h){if(c){var g=(h=c).match(/^(['"])(.*)\1$/);if(g)h=g[2];else if(!isFinite(h)){if(u&&!i[u])return"";h=m.parsePropertyPlaceholder(t,d,i,o,c,u)}}if(!h&&0!==h){if(p)return"";throw""}}return"font"===t.type&&elementor.helpers.enqueueFont(h),h}))}catch(t){return}if(!_.isEmpty(h)){var v=/^(?:\([^)]+\)){1,2}/,y=p.match(v),C={};if(y){y=y[0],p=p.replace(v,"");var b,w=/\(([^)]+)\)/g,k=[];for(b=w.exec(y);b;)k.push(b[1]),b=w.exec(y);_.each(k,(function(t){if("desktop"!==t){var o=t.replace(/\+$/,"");C[o===t?"max":"min"]=o}}))}_.each(a,(function(t,o){var i=t.source?t.source:t,r=new RegExp(i,"g");p=p.replace(r,l[o])})),!(0,r.default)(C).length&&t.responsive&&"desktop"===(C=_.pick(elementorCommon.helpers.cloneObject(t.responsive),["min","max"])).max&&delete C.max,m.stylesheet.addRules(p,h,C)}}))},parsePropertyPlaceholder:function parsePropertyPlaceholder(t,o,i,r,a,l){return l&&(t=_.findWhere(i,{name:l}),o=this.getStyleControlValue(t,r)),elementor.getControlView(t.type).getStyleValue(a,o,t)},getStyleControlValue:function getStyleControlValue(t,o){var i;if(null===(i=o.__globals__)||void 0===i?void 0:i[t.name])return this.getSelectorGlobalValue(t,o.__globals__[t.name]);var r=o[t.name];return t.selectors_dictionary&&(r=t.selectors_dictionary[r]||r),_.isNumber(r)||!_.isEmpty(r)?r:void 0},getSelectorGlobalValue:function getSelectorGlobalValue(t,o){var i=$e.data.commandExtractArgs(o),r=$e.data.getCache($e.components.get("globals"),i.command,i.args.query);if(null==r?void 0:r.value){var a,l=r.id;if(t.groupType){var u=t.name.replace(t.groupPrefix,"").replace(/(_tablet|_mobile)$/,"");if(!r.value[elementor.config.kit_config.typography_prefix+u])return;u=u.replace("_","-"),a="var( --e-global-".concat(t.groupType,"-").concat(l,"-").concat(u," )")}else a="var( --e-global-".concat(t.type,"-").concat(l," )");return a}},addRepeaterControlsStyleRules:function addRepeaterControlsStyleRules(t,o,i,r,a){var l=this;o.forEach((function(o,u){var c=t.models[u];l.addStyleRules(o,c.attributes,i,r.concat(["{{CURRENT_ITEM}}"]),a.concat([".elementor-repeater-item-"+c.get("_id")]))}))},addDynamicControlStyleRules:function addDynamicControlStyleRules(t,o){var i=this;elementor.dynamicTags.parseTagsText(t,o.dynamic,(function(t,o,r){var a=elementor.dynamicTags.createTag(t,o,r);if(a){var l=a.model;l.getStyleControls().length&&i.addStyleRules(l.getStyleControls(),l.attributes,l.controls,["{{WRAPPER}}"],["#elementor-tag-"+t])}}))},addStyleToDocument:function addStyleToDocument(t){var o=elementor.$previewContents.find("head"),i="append",r=o;if(t){var a=o.children(t.of);a.length&&(i=t.at,r=a)}r[i](this.elements.$stylesheetElement);var l=elementor.hooks.applyFilters("editor/style/styleText","",this.getSettings("context"));this.elements.$stylesheetElement.text(this.stylesheet+l)},removeStyleFromDocument:function removeStyleFromDocument(){this.elements.$stylesheetElement.remove()},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.initStylesheet()}}),t.exports=a},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(28)),c=function(){function HookBase(){(0,a.default)(this,HookBase),(0,u.default)(this,"type",void 0),(0,u.default)(this,"command",void 0),(0,u.default)(this,"id",void 0),this.initialize(),this.type=this.getType(),this.command=this.getCommand(),this.id=this.getId()}return(0,l.default)(HookBase,[{key:"initialize",value:function initialize(){}},{key:"register",value:function register(){elementorModules.ForceMethodImplementation()}},{key:"getType",value:function getType(){elementorModules.ForceMethodImplementation()}},{key:"getCommand",value:function getCommand(){elementorModules.ForceMethodImplementation()}},{key:"getId",value:function getId(){elementorModules.ForceMethodImplementation()}},{key:"getContainerType",value:function getContainerType(){}},{key:"getConditions",value:function getConditions(){return!0}},{key:"apply",value:function apply(t){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){var t=arguments.length<=0?void 0:arguments[0],o=t.options,i=void 0===o?{}:o;return!(!i.callbacks||!1!==i.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)))}}]),HookBase}();o.default=c},function(t,o,i){var r=i(18),a=i(310),l=i(49).f,u=i(312).f,c=i(123),d=i(109),m=r.RegExp,p=m,h=m.prototype,g=/a/g,v=/a/g,y=new m(g)!==g;if(i(27)&&(!y||i(35)((function(){return v[i(13)("match")]=!1,m(g)!=g||m(v)==v||"/a/i"!=m(g,"i")})))){m=function RegExp(t,o){var i=this instanceof m,r=c(t),l=void 0===o;return!i&&r&&t.constructor===m&&l?t:a(y?new p(r&&!l?t.source:t,o):p((r=t instanceof m)?t.source:t,r&&l?d.call(t):o),i?this:h,m)};for(var proxy=function(t){t in m||l(m,t,{configurable:!0,get:function(){return p[t]},set:function(o){p[t]=o}})},C=u(p),b=0;C.length>b;)proxy(C[b++]);h.constructor=m,m.prototype=h,i(39)(r,"RegExp",m)}i(309)("RegExp")},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(138)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=r(i(215)),p=function(t){(0,c.default)(AddSectionBase,t);var o=(0,d.default)(AddSectionBase);function AddSectionBase(){return(0,l.default)(this,AddSectionBase),o.apply(this,arguments)}return(0,u.default)(AddSectionBase,[{key:"template",value:function template(){return Marionette.TemplateCache.get("#tmpl-elementor-add-section")}},{key:"attributes",value:function attributes(){return{"data-view":"choose-action"}}},{key:"ui",value:function ui(){return{addNewSection:".elementor-add-new-section",closeButton:".elementor-add-section-close",addSectionButton:".elementor-add-section-button",addTemplateButton:".elementor-add-template-button",selectPreset:".elementor-select-preset",presets:".elementor-preset"}}},{key:"events",value:function events(){return{"click @ui.addSectionButton":"onAddSectionButtonClick","click @ui.addTemplateButton":"onAddTemplateButtonClick","click @ui.closeButton":"onCloseButtonClick","click @ui.presets":"onPresetSelected"}}},{key:"behaviors",value:function behaviors(){return{contextMenu:{behaviorClass:i(273),groups:this.getContextMenuGroups()}}}},{key:"className",value:function className(){return"elementor-add-section elementor-visible-desktop"}},{key:"setView",value:function setView(t){this.$el.attr("data-view",t)}},{key:"showSelectPresets",value:function showSelectPresets(){this.setView("select-preset")}},{key:"closeSelectPresets",value:function closeSelectPresets(){this.setView("choose-action")}},{key:"getTemplatesModalOptions",value:function getTemplatesModalOptions(){return{importOptions:{at:this.getOption("at")}}}},{key:"getContextMenuGroups",value:function getContextMenuGroups(){var t=this,o=function hasContent(){return elementor.elements.length>0};return[{name:"paste",actions:[{name:"paste",title:elementor.translate("paste"),isEnabled:function isEnabled(){return m.default.isPasteEnabled(elementor.getPreviewContainer())},callback:function callback(){return $e.run("document/ui/paste",{container:elementor.getPreviewContainer(),options:{at:t.getOption("at"),rebuild:!0},onAfter:function onAfter(){return t.onAfterPaste()}})}}]},{name:"content",actions:[{name:"copy_all_content",title:elementor.translate("copy_all_content"),isEnabled:o,callback:function callback(){return $e.run("document/elements/copy-all")}},{name:"delete_all_content",title:elementor.translate("delete_all_content"),isEnabled:o,callback:function callback(){return $e.run("document/elements/empty")}}]}]}},{key:"onAddSectionButtonClick",value:function onAddSectionButtonClick(){this.showSelectPresets()}},{key:"onAddTemplateButtonClick",value:function onAddTemplateButtonClick(){$e.run("library/open",this.getTemplatesModalOptions())}},{key:"onRender",value:function onRender(){this.$el.html5Droppable({axis:["vertical"],groups:["elementor-element"],placeholder:!1,currentElementClass:"elementor-html5dnd-current-element",hasDraggingOnChildClass:"elementor-dragging-on-child",onDropping:this.onDropping.bind(this)})}},{key:"onPresetSelected",value:function onPresetSelected(t){this.closeSelectPresets();var o=t.currentTarget.dataset.structure,i=elementor.presetsFactory.getParsedStructure(o);$e.run("document/elements/create",{model:{elType:"section"},container:elementor.getPreviewContainer(),columns:i.columnsCount,structure:o,options:(0,a.default)({},this.options)})}},{key:"onDropping",value:function onDropping(){if(!elementor.helpers.maybeDisableWidget()){var t=elementor.channels.panelElements.request("element:selected"),o=$e.internal("document/history/start-log",{type:"add",title:elementor.helpers.getModelLabel(t.model)});$e.run("document/elements/create",{model:{elType:"section"},container:elementor.getPreviewContainer(),columns:1,options:{at:this.getOption("at"),trigger:{beforeAdd:"section:before:drop",afterAdd:"section:after:drop"}}}).view.children.findByIndex(0).addElementFromPanel(),$e.internal("document/history/end-log",{id:o})}}},{key:"onAfterPaste",value:function onAfterPaste(){}}]),AddSectionBase}(Marionette.ItemView);o.default=p},function(t,o,i){"use strict";var r=i(0);i(26),i(40);var a,l=r(i(85)),u=r(i(47)),c=r(i(213)),d=r(i(25)),m=r(i(272)),p=r(i(215)),h=i(293),g=i(300),v=i(333);a=v.extend({tagName:"div",controlsCSSParser:null,allowRender:!0,toggleEditTools:!1,renderAttributes:{},className:function className(){var t="elementor-element elementor-element-edit-mode "+this.getElementUniqueID();return this.toggleEditTools&&(t+=" elementor-element--toggle-edit-tools"),t},attributes:function attributes(){return{"data-id":this.getID(),"data-element_type":this.model.get("elType")}},ui:function ui(){return{tools:"> .elementor-element-overlay > .elementor-editor-element-settings",editButton:"> .elementor-element-overlay .elementor-editor-element-edit",duplicateButton:"> .elementor-element-overlay .elementor-editor-element-duplicate",addButton:"> .elementor-element-overlay .elementor-editor-element-add",removeButton:"> .elementor-element-overlay .elementor-editor-element-remove"}},behaviors:function behaviors(){var t=elementor.hooks.applyFilters("elements/"+this.options.model.get("elType")+"/contextMenuGroups",this.getContextMenuGroups(),this),behaviors={contextMenu:{behaviorClass:i(273),groups:t}};return elementor.hooks.applyFilters("elements/base/behaviors",behaviors,this)},getBehavior:function getBehavior(t){return this._behaviors[(0,d.default)(this.behaviors()).indexOf(t)]},events:function events(){return{mousedown:"onMouseDown","click @ui.editButton":"onEditButtonClick","click @ui.duplicateButton":"onDuplicateButtonClick","click @ui.addButton":"onAddButtonClick","click @ui.removeButton":"onRemoveButtonClick"}},getElementType:function getElementType(){return this.model.get("elType")},getIDInt:function getIDInt(){return(0,c.default)(this.getID(),16)},getChildType:function getChildType(){return elementor.helpers.getElementChildType(this.getElementType())},getChildView:function getChildView(t){var o,r=t.get("elType");return o="section"===r?i(256):"column"===r?i(374):elementor.modules.elements.views.Widget,elementor.hooks.applyFilters("element/view",o,t,this)},getTemplateType:function getTemplateType(){return"js"},getEditModel:function getEditModel(){return this.model},getContainer:function getContainer(){var t=this;if(!this.container){var o=this.model.get("settings");this.container=new elementorModules.editor.Container({type:this.model.get("elType"),id:this.model.id,model:this.model,settings:o,view:this,parent:this._parent?this._parent.getContainer():{},children:[],label:elementor.helpers.getModelLabel(this.model),controls:o.options.controls}),(0,d.default)(this.container.parent).length&&(this.container.parent.children[this._index]=this.container,this.on("destroy",(function(){delete t.container.parent.children[t._index],t.container.parent.children=t.container.parent.children.filter((function(t){return null!==t}))})))}return this.container},getContextMenuGroups:function getContextMenuGroups(){var t=this,o=m.default.mac?"⌘":"^";return[{name:"general",actions:[{name:"edit",icon:"eicon-edit",title:elementor.translate("edit_element",[this.options.model.getTitle()]),callback:function callback(){return $e.run("panel/editor/open",{model:t.options.model,view:t,container:t.getContainer()})}},{name:"duplicate",icon:"eicon-clone",title:elementor.translate("duplicate"),shortcut:o+"+D",callback:function callback(){return $e.run("document/elements/duplicate",{container:t.getContainer()})}}]},{name:"clipboard",actions:[{name:"copy",title:elementor.translate("copy"),shortcut:o+"+C",callback:function callback(){return $e.run("document/elements/copy",{container:t.getContainer()})}},{name:"paste",title:elementor.translate("paste"),shortcut:o+"+V",isEnabled:function isEnabled(){return p.default.isPasteEnabled(t.getContainer())},callback:function callback(){return $e.run("document/ui/paste",{container:t.getContainer()})}},{name:"pasteStyle",title:elementor.translate("paste_style"),shortcut:o+"+⇧+V",isEnabled:function isEnabled(){return!!elementorCommon.storage.get("clipboard")},callback:function callback(){return $e.run("document/elements/paste-style",{container:t.getContainer()})}},{name:"resetStyle",title:elementor.translate("reset_style"),callback:function callback(){return $e.run("document/elements/reset-style",{container:t.getContainer()})}}]},{name:"delete",actions:[{name:"delete",icon:"eicon-trash",title:elementor.translate("delete"),shortcut:"⌦",callback:function callback(){return $e.run("document/elements/delete",{container:t.getContainer()})}}]}]},getEditButtons:function getEditButtons(){return{}},initialize:function initialize(){var t=this;v.prototype.initialize.apply(this,arguments);var o=this.getEditModel();this.collection&&this.onCollectionChanged&&(elementorCommon.helpers.softDeprecated("onCollectionChanged","2.8.0","$e.hooks"),this.listenTo(this.collection,"add remove reset",this.onCollectionChanged,this)),this.onSettingsChanged&&(elementorCommon.helpers.softDeprecated("onSettingsChanged","2.8.0","$e.hooks"),this.listenTo(o.get("settings"),"change",this.onSettingsChanged)),this.listenTo(o.get("editSettings"),"change",this.onEditSettingsChanged).listenTo(this.model,"request:edit",this.onEditRequest).listenTo(this.model,"request:toggleVisibility",this.toggleVisibility),this.initControlsCSSParser(),_.defer((function(){t.getContainer()}))},getHandlesOverlay:function getHandlesOverlay(){var t=jQuery("<div>",{class:"elementor-element-overlay"}),o=jQuery("<ul>",{class:"elementor-editor-element-settings elementor-editor-".concat(this.getElementType(),"-settings")});return jQuery.each(this.getEditButtons(),(function(t,i){var r=jQuery("<li>",{class:"elementor-editor-element-setting elementor-editor-element-".concat(t),title:i.title}),a=jQuery("<i>",{class:"eicon-".concat(i.icon),"aria-hidden":!0}),l=jQuery("<span>",{class:"elementor-screen-only"});l.text(i.title),r.append(a,l),o.append(r)})),t.append(o),t},attachElContent:function attachElContent(t){this.$el.empty().append(this.getHandlesOverlay(),t)},startTransport:function startTransport(){elementorCommon.helpers.softDeprecated("element.startTransport","2.8.0","$e.run( 'document/elements/copy' )"),$e.run("document/elements/copy",{container:this.getContainer()})},copy:function copy(){elementorCommon.helpers.softDeprecated("element.copy","2.8.0","$e.run( 'document/elements/copy' )"),$e.run("document/elements/copy",{container:this.getContainer()})},cut:function cut(){elementorCommon.helpers.softDeprecated("element.cut","2.8.0")},paste:function paste(){elementorCommon.helpers.softDeprecated("element.paste","2.8.0","$e.run( 'document/elements/paste' )"),$e.run("document/elements/paste",{container:this.getContainer(),at:this._parent.collection.indexOf(this.model)})},duplicate:function duplicate(){elementorCommon.helpers.softDeprecated("element.duplicate","2.8.0","$e.run( 'document/elements/duplicate' )"),$e.run("document/elements/duplicate",{container:this.getContainer()})},pasteStyle:function pasteStyle(){elementorCommon.helpers.softDeprecated("element.pasteStyle","2.8.0","$e.run( 'document/elements/paste-style' )"),$e.run("document/elements/paste-style",{container:this.getContainer()})},resetStyle:function resetStyle(){elementorCommon.helpers.softDeprecated("element.resetStyle","2.8.0","$e.run( 'document/elements/reset-style' )"),$e.run("document/elements/reset-style",{container:this.getContainer()})},isStyleTransferControl:function isStyleTransferControl(t){return void 0!==t.style_transfer?t.style_transfer:"content"!==t.tab||t.selectors||t.prefix_class},toggleVisibility:function toggleVisibility(){this.model.set("hidden",!this.model.get("hidden")),this.toggleVisibilityClass()},toggleVisibilityClass:function toggleVisibilityClass(){this.$el.toggleClass("elementor-edit-hidden",!!this.model.get("hidden"))},addElementFromPanel:function addElementFromPanel(t){t=t||{};var o=elementor.channels.panelElements.request("element:selected"),i={elType:o.model.get("elType")};if(!elementor.helpers.maybeDisableWidget()){if("widget"===i.elType)i.widgetType=o.model.get("widgetType");else{if("section"!==i.elType)return;i.isInner=!0}var r=o.model.get("custom");return r&&jQuery.extend(i,r),$e.run("document/elements/create",{container:this.getContainer(),model:i,options:t})}},addControlValidator:function addControlValidator(t,o){o=o.bind(this);var i=new g({customValidationMethod:o}),r=this.getEditModel().get("settings").validators;r[t]||(r[t]=[]),r[t].push(i)},addRenderAttribute:function addRenderAttribute(t,o,i,r){var a=this;return"object"===(0,u.default)(t)?(jQuery.each(t,(function(t,o){a.addRenderAttribute(t,o,null,r)})),a):"object"===(0,u.default)(o)?(jQuery.each(o,(function(o,i){a.addRenderAttribute(t,o,i,r)})),a):(a.renderAttributes[t]||(a.renderAttributes[t]={}),a.renderAttributes[t][o]||(a.renderAttributes[t][o]=[]),(0,l.default)(i)||(i=[i]),void(a.renderAttributes[t][o]=r?i:a.renderAttributes[t][o].concat(i)))},getRenderAttributeString:function getRenderAttributeString(t){if(!this.renderAttributes[t])return"";var o=this.renderAttributes[t],i=[];return jQuery.each(o,(function(t,o){i.push(t+'="'+_.escape(o.join(" "))+'"')})),i.join(" ")},isInner:function isInner(){return!!this.model.get("isInner")},initControlsCSSParser:function initControlsCSSParser(){this.controlsCSSParser=new h({id:this.model.get("id"),context:this,settingsModel:this.getEditModel().get("settings"),dynamicParsing:this.getDynamicParsingSettings()})},enqueueFonts:function enqueueFonts(){var t=this.getEditModel(),o=t.get("settings");jQuery.each(o.getIconsControls(),(function(o,i){var r=t.getSetting(i.name);r&&r.library&&elementor.helpers.enqueueIconFonts(r.library)}))},renderStyles:function renderStyles(t){t||(t=this.getEditModel().get("settings")),this.controlsCSSParser.stylesheet.empty(),this.controlsCSSParser.addStyleRules(t.getStyleControls(),t.attributes,this.getEditModel().get("settings").controls,[/{{ID}}/g,/{{WRAPPER}}/g],[this.getID(),".elementor-"+elementor.config.document.id+" .elementor-element."+this.getElementUniqueID()]),this.controlsCSSParser.addStyleToDocument()},renderCustomClasses:function renderCustomClasses(){var t=this,o=t.getEditModel().get("settings"),i=o.getClassControls();_.each(i,(function(i){var r=o.previous(i.name);i.classes_dictionary&&void 0!==i.classes_dictionary[r]&&(r=i.classes_dictionary[r]),t.$el.removeClass(i.prefix_class+r)})),_.each(i,(function(i){var r=o.attributes[i.name],a=r;i.classes_dictionary&&void 0!==i.classes_dictionary[r]&&(a=i.classes_dictionary[r]),elementor.helpers.isActiveControl(i,o.attributes)&&(a||0===a)&&t.$el.addClass(i.prefix_class+a)})),t.$el.addClass(_.result(t,"className")),t.toggleVisibilityClass()},renderCustomElementID:function renderCustomElementID(){var t=this.getEditModel().get("settings").get("_element_id");this.$el.attr("id",t)},renderUI:function renderUI(){this.renderStyles(),this.renderCustomClasses(),this.renderCustomElementID(),this.enqueueFonts()},runReadyTrigger:function runReadyTrigger(){var t=this;_.defer((function(){elementorFrontend.elementsHandler.runReadyTrigger(t.el),elementorFrontend.isEditMode()&&t.$el.find(".elementor-element.elementor-"+t.model.get("elType")+":not(.elementor-element-edit-mode)").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(this)}))}))},getID:function getID(){return this.model.get("id")},getElementUniqueID:function getElementUniqueID(){return"elementor-element-"+this.getID()},renderHTML:function renderHTML(){var t=this.getTemplateType(),o=this.getEditModel();"js"===t?(this.getEditModel().setHtmlCache(),this.render(),o.renderOnLeave=!0):o.renderRemoteServer()},renderOnChange:function renderOnChange(t){if(this.allowRender){if(t instanceof elementorModules.editor.elements.models.BaseSettings){var o=t.hasChanged(),i=!o,r=!o;if(_.each(t.changedAttributes(),(function(o,a){var l=t.getControl(a);if("_column_size"!==a){if(!l)return r=!0,void(i=!0);"none"!==l.render_type&&(r=!0),-1===["none","ui"].indexOf(l.render_type)&&("template"!==l.render_type&&(t.isStyleControl(a)||t.isClassControl(a)||"_element_id"===a)||(i=!0))}else r=!0})),!r)return;if(!i)return void this.renderUI()}this.renderHTML()}},getDynamicParsingSettings:function getDynamicParsingSettings(){var t=this;return{onServerRequestStart:function onServerRequestStart(){t.$el.addClass("elementor-loading")},onServerRequestEnd:function onServerRequestEnd(){t.render(),t.$el.removeClass("elementor-loading")}}},serializeData:function serializeData(){var t=v.prototype.serializeData.apply(this,arguments);return t.settings=this.getEditModel().get("settings").parseDynamicSettings(t.settings,this.getDynamicParsingSettings()),t},save:function save(){$e.route("library/save-template",{model:this.model})},onBeforeRender:function onBeforeRender(){this.renderAttributes={}},onRender:function onRender(){if(this.renderUI(),this.runReadyTrigger(),this.toggleEditTools){var t=this.ui.editButton;this.ui.tools&&this.ui.tools.hoverIntent((function(){t.addClass("elementor-active")}),(function(){t.removeClass("elementor-active")}),{timeout:500})}},onEditSettingsChanged:function onEditSettingsChanged(t){elementor.channels.editor.trigger("change:editSettings",t,this)},onEditButtonClick:function onEditButtonClick(){this.model.trigger("request:edit")},onEditRequest:function onEditRequest(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.container.isEditable()){var o=this.getEditModel(),i=elementor.getPanelView();$e.routes.isPartOf("panel/editor")&&i.getCurrentPageView().model===o||(t.scrollIntoView&&elementor.helpers.scrollToView(this.$el,200),$e.run("panel/editor/open",{model:o,view:this}))}},onDuplicateButtonClick:function onDuplicateButtonClick(t){t.stopPropagation(),$e.run("document/elements/duplicate",{container:this.getContainer()})},onRemoveButtonClick:function onRemoveButtonClick(t){t.stopPropagation(),$e.run("document/elements/delete",{container:this.getContainer()})},onMouseDown:function onMouseDown(t){jQuery(t.target).closest(".elementor-inline-editing").length||elementorFrontend.elements.window.document.activeElement.blur()},onDestroy:function onDestroy(){this.controlsCSSParser.removeStyleFromDocument(),this.getEditModel().get("settings").validators={},elementor.channels.data.trigger("element:destroy",this.model)}}),t.exports=a},function(t,o,i){"use strict";var r;r=Marionette.Behavior.extend({defaults:{elChildType:"widget"},events:{sortstart:"onSortStart",sortreceive:"onSortReceive",sortupdate:"onSortUpdate",sortover:"onSortOver",sortout:"onSortOut"},initialize:function initialize(){this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeSwitched).listenTo(this.view.options.model,"request:sort:start",this.startSort).listenTo(this.view.options.model,"request:sort:update",this.updateSort).listenTo(this.view.options.model,"request:sort:receive",this.receiveSort)},onEditModeSwitched:function onEditModeSwitched(t){"edit"===t?this.activate():this.deactivate()},onRender:function onRender(){var t=this;_.defer((function(){t.onEditModeSwitched(elementor.channels.dataEditMode.request("activeMode"))}))},onDestroy:function onDestroy(){this.deactivate()},activate:function activate(){if(elementor.userCan("design")&&!this.getChildViewContainer().sortable("instance")){var t=this.getChildViewContainer(),o={connectWith:t.selector,placeholder:"elementor-sortable-placeholder elementor-"+this.getOption("elChildType")+"-placeholder",cursorAt:{top:20,left:25},helper:this._getSortableHelper.bind(this),cancel:"input, textarea, button, select, option, .elementor-inline-editing, .elementor-tab-title"},i=_.extend(o,this.view.getSortableOptions());t.sortable(i)}},_getSortableHelper:function _getSortableHelper(t,o){var i=this.view.collection.get({cid:o.data("model-cid")});return'<div style="height: 84px; width: 125px;" class="elementor-sortable-helper elementor-sortable-helper-'+i.get("elType")+'"><div class="icon"><i class="'+i.getIcon()+'"></i></div><div class="elementor-element-title-wrapper"><div class="title">'+i.getTitle()+"</div></div></div>"},getChildViewContainer:function getChildViewContainer(){return this.view.getChildViewContainer(this.view)},getSortedElementNewIndex:function getSortedElementNewIndex(t){var o=elementor.channels.data.request("dragging:model").get("elType"),i=t.index();return"widget"!==o||elementor.config.legacyMode.elementWrappers||i--,i},deactivate:function deactivate(){var t=this.getChildViewContainer();t.sortable("instance")&&t.sortable("destroy")},startSort:function startSort(t,o){t.stopPropagation();var i=elementor.getContainer(o.item.attr("data-id"));elementor.channels.data.reply("dragging:model",i.model).reply("dragging:view",i.view).reply("dragging:parent:view",this.view).trigger("drag:start",i.model).trigger(i.model.get("elType")+":drag:start")},updateSort:function updateSort(t){$e.run("document/elements/move",{container:elementor.channels.data.request("dragging:view").getContainer(),target:this.view.getContainer(),options:{at:this.getSortedElementNewIndex(t.item)}})},receiveSort:function receiveSort(t,o){if(t.stopPropagation(),this.view.isCollectionFilled())jQuery(o.sender).sortable("cancel");else{var i=elementor.channels.data.request("dragging:model"),r="section"===i.get("elType")&&i.get("isInner"),a="column"===this.view.getElementType()&&this.view.isInner();r&&a?jQuery(o.sender).sortable("cancel"):$e.run("document/elements/move",{container:elementor.channels.data.request("dragging:view").getContainer(),target:this.view.getContainer(),options:{at:this.getSortedElementNewIndex(o.item)}})}},onSortStart:function onSortStart(t,o){if("column"===this.options.elChildType){var i=o.item.data("sortableItem").items,r=0;i.forEach((function(t){if(t.item[0]===o.item[0])return r=t.height,!1})),o.placeholder.height(r)}this.startSort(t,o)},onSortOver:function onSortOver(t){t.stopPropagation();var o=elementor.channels.data.request("dragging:model");jQuery(t.target).addClass("elementor-draggable-over").attr({"data-dragged-element":o.get("elType"),"data-dragged-is-inner":o.get("isInner")}),this.$el.addClass("elementor-dragging-on-child")},onSortOut:function onSortOut(t){t.stopPropagation(),jQuery(t.target).removeClass("elementor-draggable-over").removeAttr("data-dragged-element data-dragged-is-inner"),this.$el.removeClass("elementor-dragging-on-child")},onSortReceive:function onSortReceive(t,o){this.receiveSort(t,o)},onSortUpdate:function onSortUpdate(t,o){t.stopPropagation(),this.getChildViewContainer()[0]===o.item.parent()[0]&&this.updateSort(o)},onAddChild:function onAddChild(t){t.$el.attr("data-model-cid",t.model.cid)}}),t.exports=r},function(t,o,i){var r=i(317),a=i(318),l=i(193),u=i(319);t.exports=function _toConsumableArray(t){return r(t)||a(t)||l(t)||u()}},function(t,o,i){"use strict";t.exports=elementorModules.Module.extend({errors:[],__construct:function __construct(t){var o=t.customValidationMethod;o&&(this.validationMethod=o)},getDefaultSettings:function getDefaultSettings(){return{validationTerms:{}}},isValid:function isValid(){var t=this.validationMethod.apply(this,arguments);return!t.length||(this.errors=t,!1)},validationMethod:function validationMethod(t){var o=[];return this.getSettings("validationTerms").required&&((""+t).length||o.push("Required value is empty")),o}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(190),i(79);var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(ColorPicker,t);var o=(0,c.default)(ColorPicker);function ColorPicker(){var t;(0,a.default)(this,ColorPicker);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(t=o.call.apply(o,[this].concat(r))).createPicker(),t}return(0,l.default)(ColorPicker,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{picker:{theme:"monolith",position:"bottom-"+(elementorCommon.config.isRTL?"end":"start"),components:{opacity:!0,hue:!0,interaction:{input:!0}}},classes:{active:"elementor-active",pickerHeader:"elementor-color-picker__header",pickerToolsContainer:"e-color-picker__tools",pickerTool:"e-control-tool",clearButton:"e-color-picker__clear",plusIcon:"eicon-plus"}}}},{key:"createPicker",value:function createPicker(){var t=this,o=this.getSettings("picker");o.default=o.default||null,this.picker=new Pickr(o),this.picker.setColor(o.default||"#020101"),this.color=this.processColor(),this.picker.on("change",(function(){return t.onPickerChange()})).on("clear",(function(){return t.onPickerClear()})).on("show",(function(){return t.onPickerShow()})),this.$pickerAppContainer=jQuery(this.picker.getRoot().app),this.createPickerHeader()}},{key:"addTipsyToClearButton",value:function addTipsyToClearButton(){this.$clearButton.tipsy({title:function title(){return elementor.translate("clear")},gravity:function gravity(){return"s"}})}},{key:"processColor",value:function processColor(){var t=this.picker.getColor();return(1===t.a?t.toHEXA():t.toRGBA()).toString()}},{key:"getColor",value:function getColor(){return this.color}},{key:"createPickerHeader",value:function createPickerHeader(){var t=this.getSettings().classes,o=jQuery("<div>",{class:t.pickerHeader}).text(elementor.translate("color_picker")),i=jQuery("<div>",{class:t.pickerToolsContainer}),r=this.getSettings("addButton");this.$pickerToolsContainer=i,r&&this.createAddButton(),this.createClearButton(),i.append(this.$clearButton,this.$addButton),o.append(i),this.$pickerAppContainer.prepend(o)}},{key:"createAddButton",value:function createAddButton(){var t=this,o=this.getSettings().classes;this.$addButton=jQuery("<button>",{class:o.pickerTool}).html(jQuery("<i>",{class:o.plusIcon})),this.$addButton.on("click",(function(){return t.onAddButtonClick()})),this.$addButton.tipsy({title:function title(){return elementor.translate("create_global_color")},gravity:function gravity(){return"s"}})}},{key:"createClearButton",value:function createClearButton(){var t=this,o=this.getSettings().classes;this.$clearButton=jQuery("<div>",{class:o.clearButton+" "+o.pickerTool}).html('<i class="eicon-undo"></i>'),this.$clearButton.on("click",(function(){return t.picker._clearColor()})),this.addTipsyToClearButton()}},{key:"destroy",value:function destroy(){this.picker.destroyAndRemove()}},{key:"fixTipsyForFF",value:function fixTipsyForFF(t){t.data("tipsy").hide()}},{key:"introductionViewed",value:function introductionViewed(){return ColorPicker.droppingIntroductionViewed||elementor.config.user.introduction.colorPickerDropping}},{key:"toggleClearButtonState",value:function toggleClearButtonState(t){this.$clearButton.toggleClass("e-control-tool-disabled",!t)}},{key:"onPickerChange",value:function onPickerChange(){this.picker.applyColor();var t=this.processColor();if(t!==this.color){this.color=t;var o=this.getSettings("onChange");o&&o()}}},{key:"onPickerClear",value:function onPickerClear(){this.color="";var t=this.getSettings("onClear");t&&t()}},{key:"onPickerShow",value:function onPickerShow(){var t=this,o=this.picker.getRoot().interaction.result;setTimeout((function(){o.select(),t.picker._recalc=!0}),100)}},{key:"onAddButtonClick",value:function onAddButtonClick(){this.picker.hide();var t=this.getSettings("onAddButtonClick");t&&t(),this.fixTipsyForFF(this.$addButton)}}]),ColorPicker}(elementorModules.Module);o.default=d},function(t,o,i){"use strict";var r=i(37),a=i(189)(6),l="findIndex",u=!0;l in[]&&Array(1)[l]((function(){u=!1})),r(r.P+r.F*u,"Array",{findIndex:function findIndex(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),i(89)(l)},function(t,o,i){t.exports=i(304)},function(t,o,i){i(305),t.exports=i(6).Object.getOwnPropertyDescriptors},function(t,o,i){var r=i(7),a=i(306),l=i(19),u=i(51),c=i(192);r(r.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(t){for(var o,i,r=l(t),d=u.f,m=a(r),p={},h=0;m.length>h;)void 0!==(i=d(r,o=m[h++]))&&c(p,o,i);return p}})},function(t,o,i){var r=i(94),a=i(74),l=i(11),u=i(8).Reflect;t.exports=u&&u.ownKeys||function ownKeys(t){var o=r.f(l(t)),i=a.f;return i?o.concat(i(t)):o}},function(t,o,i){t.exports=i(308)},function(t,o,i){i(136),t.exports=i(6).Object.getOwnPropertySymbols},function(t,o,i){"use strict";var r=i(18),a=i(49),l=i(27),u=i(13)("species");t.exports=function(t){var o=r[t];l&&o&&!o[u]&&a.f(o,u,{configurable:!0,get:function(){return this}})}},function(t,o,i){var r=i(30),a=i(330).set;t.exports=function(t,o,i){var l,u=o.constructor;return u!==i&&"function"==typeof u&&(l=u.prototype)!==i.prototype&&r(l)&&a&&a(t,l),t}},function(t,o,i){var r=i(331),a=i(106),l=i(103),u=i(124),c=i(64),d=i(131),m=Object.getOwnPropertyDescriptor;o.f=i(27)?m:function getOwnPropertyDescriptor(t,o){if(t=l(t),o=u(o,!0),d)try{return m(t,o)}catch(t){}if(c(t,o))return a(!r.f.call(t,o),t[o])}},function(t,o,i){var r=i(219),a=i(151).concat("length","prototype");o.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return r(t,a)}},,,,function(t,o,i){var r=i(6),a=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function stringify(t){return a.stringify.apply(a,arguments)}},function(t,o,i){var r=i(85),a=i(199);t.exports=function _arrayWithoutHoles(t){if(r(t))return a(t)}},function(t,o,i){var r=i(200),a=i(211),l=i(107);t.exports=function _iterableToArray(t){if(void 0!==l&&a(Object(t)))return r(t)}},function(t,o){t.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(3)),l=r(i(2)),u=r(i(28)),c=r(i(427)),d=r(i(429)),m=function Editor(){(0,l.default)(this,Editor),(0,u.default)(this,"status","closed"),(0,u.default)(this,"isSaving",!1),(0,u.default)(this,"isChanged",!1),(0,u.default)(this,"isChangedDuringSave",!1),(0,u.default)(this,"isSaved",!0),(0,u.default)(this,"lastSaveHistoryId",0)},p=function(){function Document(t){(0,l.default)(this,Document),(0,u.default)(this,"id",null),(0,u.default)(this,"history",null),(0,u.default)(this,"revisions",null),(0,u.default)(this,"container",null),(0,u.default)(this,"editor",new m),this.config=t,this.id=t.id,this.history=new c.default(this),this.revisions=new d.default(this)}return(0,a.default)(Document,[{key:"isDraft",value:function isDraft(){return this.config.revisions.current_id!==this.config.id}}]),Document}();o.default=p},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Close",{enumerable:!0,get:function get(){return a.Close}}),r(o,"Open",{enumerable:!0,get:function get(){return l.Open}}),r(o,"Toggle",{enumerable:!0,get:function get(){return u.Toggle}});var a=i(322),l=i(323),u=i(324)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Close,t);var o=(0,c.default)(Close);function Close(){return(0,a.default)(this,Close),o.apply(this,arguments)}return(0,l.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}]),Close}(r(i(23)).default);o.Close=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Toggle=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Toggle,t);var o=(0,c.default)(Toggle);function Toggle(){return(0,a.default)(this,Toggle),o.apply(this,arguments)}return(0,l.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}]),Toggle}(r(i(23)).default);o.Toggle=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(326);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,t.exports=function(){function shim(t,o,i,a,l,u){if(u!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function getShim(){return shim}shim.isRequired=shim;var t={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return t.PropTypes=t,t}},function(t,o,i){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,o){t.exports=ReactDOM},function(t,o,i){"use strict";var r=i(0);i(150),i(118),i(79);var a=r(i(368));t.exports=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-repeater-row"),className:"elementor-repeater-fields",ui:{duplicateButton:".elementor-repeater-tool-duplicate",editButton:".elementor-repeater-tool-edit",removeButton:".elementor-repeater-tool-remove",itemTitle:".elementor-repeater-row-item-title"},behaviors:{HandleInnerTabs:{behaviorClass:i(329)}},triggers:{"click @ui.removeButton":"click:remove","click @ui.duplicateButton":"click:duplicate","click @ui.itemTitle":"click:edit"},modelEvents:{change:"onModelChange"},templateHelpers:function templateHelpers(){return{itemIndex:this.getOption("itemIndex"),itemActions:this.getOption("itemActions")}},childViewContainer:".elementor-repeater-row-controls",getChildView:function getChildView(t){var o=t.get("type");return elementor.getControlView(o)},childViewOptions:function childViewOptions(){return{container:this.options.container}},updateIndex:function updateIndex(t){this.itemIndex=t},setTitle:function setTitle(){var t=this.getOption("titleField"),o="";t&&(o=Marionette.TemplateCache.prototype.compileTemplate(t)(this.model.parseDynamicSettings())),o||(o=elementor.translate("Item #%s",[this.getOption("itemIndex")])),this.ui.itemTitle.html(o)},toggleSort:function toggleSort(t){this.$el.toggleClass("elementor-repeater-row--disable-sort",!t)},initialize:function initialize(t){this.itemIndex=0,this.collection=new Backbone.Collection(_.values(elementor.mergeControlsSettings(t.controlFields)))},onRender:function onRender(){this.setTitle(),a.default.handlePopovers(this)},onModelChange:function onModelChange(){this.getOption("titleField")&&this.setTitle()},onChildviewResponsiveSwitcherClick:function onChildviewResponsiveSwitcherClick(t,o){"desktop"===o&&elementor.getPanelView().getCurrentPageView().$el.toggleClass("elementor-responsive-switchers-open")}})},function(t,o,i){"use strict";var r;i(26),r=Marionette.Behavior.extend({onRenderCollection:function onRenderCollection(){this.handleInnerTabs(this.view)},handleInnerTabs:function handleInnerTabs(t){var o=t.children.filter((function(t){return"tabs"===t.model.get("type")}));_.each(o,(function(o){o.$el.find(".elementor-control-content").remove();var i=o.model.get("name"),r=t.children.filter((function(t){return"tab"===t.model.get("type")&&t.model.get("tabs_wrapper")===i}));_.each(r,(function(i,r){o._addChildView(i);var a=i.model.get("name"),l=t.children.filter((function(t){return a===t.model.get("inner_tab")}));0===r?i.$el.addClass("elementor-tab-active"):_.each(l,(function(t){t.$el.addClass("elementor-tab-close")}))}))}))},onChildviewControlTabClicked:function onChildviewControlTabClicked(t){var o=t.model.get("name"),i=this.view.children.filter((function(o){return"tab"!==o.model.get("type")&&t.model.get("tabs_wrapper")===o.model.get("tabs_wrapper")})),r=this.view.children.filter((function(o){return"tab"===o.model.get("type")&&t.model.get("tabs_wrapper")===o.model.get("tabs_wrapper")}));_.each(r,(function(t){t.$el.removeClass("elementor-tab-active")})),t.$el.addClass("elementor-tab-active"),_.each(i,(function(t){t.model.get("inner_tab")===o?t.$el.removeClass("elementor-tab-close"):t.$el.addClass("elementor-tab-close")})),elementor.getPanelView().updateScrollbar()}}),t.exports=r},function(t,o,i){var r=i(30),a=i(20),check=function(t,o){if(a(t),!r(o)&&null!==o)throw TypeError(o+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,o,r){try{(r=i(80)(Function.call,i(311).f(Object.prototype,"__proto__").set,2))(t,[]),o=!(t instanceof Array)}catch(t){o=!0}return function setPrototypeOf(t,i){return check(t,i),o?t.__proto__=i:r(t,i),t}}({},!1):void 0),check:check}},function(t,o){o.f={}.propertyIsEnumerable},function(t,o,i){"use strict";var r=i(0);i(190),i(79),i(60),i(120),i(81);var a,l,u=r(i(25));a=jQuery,(l=function Stylesheet(){var t=this,o={},i={},r={},l=function hashToQuery(t){var o={};return(t=t.split("-").filter(String)).forEach((function(t){var i=t.split("_"),a=i[0],l=i[1];o[a]="max"===a?function getDeviceMaxValue(t){var o=(0,u.default)(r),i=o.indexOf(t)+1;if(i>=o.length)throw new RangeError("Max value for this device is out of range.");return r[o[i]]-1}(l):r[l]})),o};this.addDevice=function(o,i){r[o]=i;var a=(0,u.default)(r);if(a.length<2)return t;a.sort((function(t,o){return r[t]-r[o]}));var l={};return a.forEach((function(t){l[t]=r[t]})),r=l,t},this.addRawCSS=function(t,o){i[t]=o},this.addRules=function(i,r,c){var d="all";if(_.isEmpty(c)||(d=function queryToHash(t){var o=[];return a.each(t,(function(t){o.push(t+"_"+this)})),o.join("-")}(c)),o[d]||function addQueryHash(t){o[t]={};var i=(0,u.default)(o);if(!(i.length<2)){i.sort((function(t,o){if("all"===t)return-1;if("all"===o)return 1;var i=l(t);return l(o).max-i.max}));var r={};i.forEach((function(t){r[t]=o[t]})),o=r}}(d),r){if(o[d][i]||(o[d][i]={}),"string"==typeof r){r=r.split(";").filter(String);var m={};try{a.each(r,(function(){var t=this.split(/:(.*)?/);m[t[0].trim()]=t[1].trim().replace(";","")}))}catch(t){return}r=m}return a.extend(o[d][i],r),t}var p=i.match(/[^{]+\{[^}]+}/g);a.each(p,(function(){var o=this.match(/([^{]+)\{([^}]+)}/);o&&t.addRules(o[1].trim(),o[2].trim(),c)}))},this.getRules=function(){return o},this.empty=function(){o={},i={}},this.toString=function(){var t="";return a.each(o,(function(o){var i=Stylesheet.parseRules(this);"all"!==o&&(i=function getQueryHashStyleFormat(t){var o=l(t),i=[];return a.each(o,(function(t){i.push("("+t+"-width:"+this+"px)")})),"@media"+i.join(" and ")}(o)+"{"+i+"}"),t+=i})),a.each(i,(function(){t+=this})),t}}).parseRules=function(t){var o="";return a.each(t,(function(t){var i=l.parseProperties(this);i&&(o+=t+"{"+i+"}")})),o},l.parseProperties=function(t){var o="";return a.each(t,(function(t){this&&(o+=t+":"+this+";")})),o},t.exports=l},function(t,o,i){"use strict";var r=i(0)(i(25));t.exports=Marionette.CompositeView.extend({templateHelpers:function templateHelpers(){return{view:this}},getBehavior:function getBehavior(t){return this._behaviors[(0,r.default)(this.behaviors()).indexOf(t)]},initialize:function initialize(){this.collection=this.model.get("elements")},addChildModel:function addChildModel(t,o){return this.collection.add(t,o,!0)},addElement:function addElement(t,o){if(!this.isCollectionFilled()){o=jQuery.extend({trigger:!1,edit:!0,onBeforeAdd:null,onAfterAdd:null},o);var i,r,a=this.getChildType();if(t instanceof Backbone.Model?r=(i=t).get("elType"):(i={id:elementorCommon.helpers.getUniqueId(),elType:a[0],settings:{},elements:[]},t&&jQuery.extend(i,t),r=i.elType),-1===a.indexOf(r))return this.children.last().addElement(i,o);o.clone&&(i=this.cloneItem(i)),o.trigger&&elementor.channels.data.trigger(o.trigger.beforeAdd,i),o.onBeforeAdd&&o.onBeforeAdd();var l=this.addChildModel(i,{at:o.at}),u=this.children.findByModel(l);return o.onAfterAdd&&o.onAfterAdd(l,u),o.trigger&&elementor.channels.data.trigger(o.trigger.afterAdd,i),o.edit&&elementor.documents.getCurrent().history.getActive()&&(u.getContainer(),l.trigger("request:edit")),u}},addChildElement:function addChildElement(t,o){elementorCommon.helpers.softDeprecated("addChildElement","2.8.0","$e.run( 'document/elements/create' )"),Object!==t.constructor&&(t=jQuery.extend({},t)),$e.run("document/elements/create",{container:this.getContainer(),model:t,options:o})},cloneItem:function cloneItem(t){var o=this;return t instanceof Backbone.Model?t.clone():(t.id=elementorCommon.helpers.getUniqueId(),t.settings._element_id="",t.elements.forEach((function(i,r){t.elements[r]=o.cloneItem(i)})),t)},lookup:function lookup(){var t=this;return t.isDisconnected()&&(t=$e.components.get("document").utils.findViewById(t.model.id)),t},isDisconnected:function isDisconnected(){return this.isDestroyed||!this.el.isConnected},isCollectionFilled:function isCollectionFilled(){return!1}})},function(t,o,i){"use strict";var r=i(20),a=i(386),l=i(97);i(98)("search",1,(function(t,o,i,u){return[function search(i){var r=t(this),a=null==i?void 0:i[o];return void 0!==a?a.call(i,r):new RegExp(i)[o](String(r))},function(t){var o=u(i,t,this);if(o.done)return o.value;var c=r(t),d=String(this),m=c.lastIndex;a(m,0)||(c.lastIndex=0);var p=l(c,d);return a(c.lastIndex,m)||(c.lastIndex=m),null===p?-1:p.index}]}))},function(t,o,i){"use strict";var r=i(293);t.exports=elementorModules.ViewModule.extend({model:null,hasChange:!1,changeCallbacks:{},addChangeCallback:function addChangeCallback(t,o){this.changeCallbacks[t]=o},bindEvents:function bindEvents(){elementor.on("document:loaded",this.onElementorDocumentLoaded),this.model.on("change",this.onModelChange)},unbindEvents:function unbindEvents(){elementor.off("document:loaded",this.onElementorDocumentLoaded)},addPanelPage:function addPanelPage(){var t=this.getSettings("name");elementor.getPanelView().addPage(t+"_settings",{view:elementor.settings.panelPages[t]||elementor.settings.panelPages.base,title:this.getSettings("panelPage.title"),options:{editedView:this.getEditedView(),model:this.model,controls:this.model.controls,name:t}})},getContainerId:function getContainerId(){return this.getSettings("name")+"_settings"},getEditedView:function getEditedView(){var t=this.getContainerId(),o=new Backbone.Model({id:t,elType:t,settings:this.model}),i=new elementorModules.editor.Container({type:t,id:o.id,model:o,settings:o.get("settings"),view:!1,label:this.getSettings("panelPage").title,controls:this.model.controls,document:this.getDocument(),renderer:!1});return{getContainer:function getContainer(){return i},getEditModel:function getEditModel(){return o},model:o}},getDocument:function getDocument(){return!1},updateStylesheet:function updateStylesheet(t){var o=this.getControlsCSS();t||o.stylesheet.empty(),this.model.handleRepeaterData(this.model.attributes),o.addStyleRules(this.model.getStyleControls(),this.model.attributes,this.model.controls,[/{{WRAPPER}}/g],[this.getSettings("cssWrapperSelector")]),o.addStyleToDocument({at:"before",of:"#elementor-style-e-global-style"})},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getSettings("settings"),{controls:this.getSettings("controls")})},getStyleId:function getStyleId(){return this.getSettings("name")},initControlsCSSParser:function initControlsCSSParser(){var t;this.destroyControlsCSS=function(){t.removeStyleFromDocument()},this.getControlsCSS=function(){return t||(t=new r({id:this.getStyleId(),settingsModel:this.model,context:this.getEditedView()})),t}},getDataToSave:function getDataToSave(t){return t},save:function save(t){var o=this;if(o.hasChange){var i=this.model.toJSON({remove:["default"]}),r=this.getDataToSave({data:i});elementorCommonConfig.isTesting||NProgress.start(),elementorCommon.ajax.addRequest("save_"+this.getSettings("name")+"_settings",{data:r,success:function success(){elementorCommonConfig.isTesting||NProgress.done(),o.setSettings("settings",i),o.hasChange=!1,t&&t.apply(o,arguments)},error:function error(){alert("An error occurred")}})}},onInit:function onInit(){this.initModel(),this.initControlsCSSParser(),this.addPanelMenuItem(),this.debounceSave=_.debounce(this.save,3e3),elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},addPanelMenuItem:function addPanelMenuItem(){var t=this.getSettings("panelPage.menu");if(t){var o="panel/"+this.getSettings("name")+"-settings",i={icon:t.icon,title:this.getSettings("panelPage.title"),type:"page",pageName:this.getSettings("name")+"_settings",callback:function callback(){return $e.route("".concat(o,"/settings"))}};$e.bc.ensureTab(o,"settings",i.pageName),elementor.modules.layouts.panel.pages.menu.Menu.addItem(i,"settings",t.beforeItem)}},onModelChange:function onModelChange(t){var o=this;o.hasChange=!0,this.getControlsCSS().stylesheet.empty(),_.each(t.changed,(function(t,i){o.changeCallbacks[i]&&o.changeCallbacks[i].call(o,t)})),o.updateStylesheet(!0),o.debounceSave()},onElementorDocumentLoaded:function onElementorDocumentLoaded(){this.updateStylesheet(),this.addPanelPage()},destroy:function destroy(){this.unbindEvents(),this.model.destroy()}})},,,,,,,,,,,,,,function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(442)),c=r(i(443)),d=r(i(444)),m=r(i(450)),p=function(){function Manager(){(0,a.default)(this,Manager),elementorCommon.elements.$window.on("elementor:loaded",this.init)}return(0,l.default)(Manager,[{key:"init",value:function init(){$e.components.register(new u.default),$e.components.register(new c.default),$e.components.register(new d.default),elementor.on("panel:init",(function(){elementor.getPanelView().addPage("historyPage",{view:m.default,title:elementor.translate("history")})}))}},{key:"history",get:function get(){return elementorCommon.helpers.softDeprecated("elementor.history.history","2.9.0","elementor.documents.getCurrent().history"),elementor.documents.getCurrent().history}},{key:"revisions",get:function get(){return elementorCommon.helpers.softDeprecated("elementor.history.revisions","2.9.0","elementor.documents.getCurrent().revisions"),elementor.documents.getCurrent().revisions}}]),Manager}();o.default=p},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Do",{enumerable:!0,get:function get(){return a.Do}}),r(o,"Redo",{enumerable:!0,get:function get(){return l.Redo}}),r(o,"Undo",{enumerable:!0,get:function get(){return u.Undo}}),r(o,"UndoAll",{enumerable:!0,get:function get(){return c.UndoAll}});var a=i(351),l=i(352),u=i(353),c=i(354)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Do=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Do,t);var o=(0,c.default)(Do);function Do(){return(0,a.default)(this,Do),o.apply(this,arguments)}return(0,l.default)(Do,[{key:"apply",value:function apply(t){var o=t.index;return elementor.documents.getCurrent().history.doItem(o)}}]),Do}(r(i(23)).default);o.Do=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Redo=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Redo,t);var o=(0,c.default)(Redo);function Redo(){return(0,a.default)(this,Redo),o.apply(this,arguments)}return(0,l.default)(Redo,[{key:"apply",value:function apply(){elementor.documents.getCurrent().history.navigate(!0)}}]),Redo}(r(i(23)).default);o.Redo=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Undo=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Undo,t);var o=(0,c.default)(Undo);function Undo(){return(0,a.default)(this,Undo),o.apply(this,arguments)}return(0,l.default)(Undo,[{key:"apply",value:function apply(){elementor.documents.getCurrent().history.navigate()}}]),Undo}(r(i(23)).default);o.Undo=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.UndoAll=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(UndoAll,t);var o=(0,c.default)(UndoAll);function UndoAll(){return(0,a.default)(this,UndoAll),o.apply(this,arguments)}return(0,l.default)(UndoAll,[{key:"apply",value:function apply(t){var o=t.document;o.history.doItem(o.history.getItems().length-1)}}]),UndoAll}(r(i(23)).default);o.UndoAll=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(356)),m=r(i(357)),p=r(i(358)),h=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"el",value:function el(){return this.getModal().getElements("widget")}},{key:"regions",value:function regions(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}}},{key:"initialize",value:function initialize(){this.modalHeader.show(new d.default(this.getHeaderOptions()))}},{key:"getModal",value:function getModal(){return this.modal||this.initModal(),this.modal}},{key:"initModal",value:function initModal(){var t={className:"elementor-templates-modal",closeButton:!1,draggable:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1}};jQuery.extend(!0,t,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget("lightbox",t),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading")),t.draggable&&this.draggableModal()}},{key:"showModal",value:function showModal(){this.getModal().show()}},{key:"hideModal",value:function hideModal(){this.getModal().hide()}},{key:"draggableModal",value:function draggableModal(){var t=this.getModal().getElements("widgetContent");t.draggable({containment:"parent",stop:function stop(){t.height("")}}),t.css("position","absolute")}},{key:"getModalOptions",value:function getModalOptions(){return{}}},{key:"getLogoOptions",value:function getLogoOptions(){return{}}},{key:"getHeaderOptions",value:function getHeaderOptions(){return{closeType:"normal"}}},{key:"getHeaderView",value:function getHeaderView(){return this.modalHeader.currentView}},{key:"showLoadingView",value:function showLoadingView(){this.modalLoading.show(new p.default),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:"hideLoadingView",value:function hideLoadingView(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:"showLogo",value:function showLogo(){this.getHeaderView().logoArea.show(new m.default(this.getLogoOptions()))}}]),_default}(Marionette.LayoutView);o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"className",value:function className(){return"elementor-templates-modal__header"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header"}},{key:"regions",value:function regions(){return{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"}}},{key:"ui",value:function ui(){return{closeModal:".elementor-templates-modal__header__close"}}},{key:"events",value:function events(){return{"click @ui.closeModal":"onCloseModalClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{closeType:this.getOption("closeType")}}},{key:"onCloseModalClick",value:function onCloseModalClick(){this._parent._parent._parent.hideModal()}}]),_default}(Marionette.LayoutView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header__logo"}},{key:"className",value:function className(){return"elementor-templates-modal__header__logo"}},{key:"events",value:function events(){return{click:"onClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{title:this.getOption("title")}}},{key:"onClick",value:function onClick(){var t=this.getOption("click");t&&t()}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"id",value:function id(){return"elementor-template-library-loading"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-template-library-loading"}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(40);var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(473)),m=function(t){(0,u.default)(MenuPageView,t);var o=(0,c.default)(MenuPageView);function MenuPageView(){return(0,a.default)(this,MenuPageView),o.apply(this,arguments)}return(0,l.default)(MenuPageView,[{key:"id",value:function id(){return"elementor-panel-page-menu"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-menu"}},{key:"getChildView",value:function getChildView(){return d.default}},{key:"childViewContainer",value:function childViewContainer(){return"#elementor-panel-page-menu-content"}},{key:"filter",value:function filter(t){return t.get("items").length}}]),MenuPageView}(Marionette.CompositeView);o.default=m,m.addItem=function(t,o,i,r){var a=t.findWhere({name:i});if(a){var l,u=a.get("items"),c=_.findWhere(u,{name:o.name});c&&u.splice(u.indexOf(c),1),r&&(l=_.findWhere(u,{name:r})),l?u.splice(u.indexOf(l),0,o):u.push(o)}}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.BaseGlobalsUpdate=void 0;var a=r(i(138)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=function(t){(0,c.default)(BaseGlobalsUpdate,t);var o=(0,d.default)(BaseGlobalsUpdate);function BaseGlobalsUpdate(){return(0,l.default)(this,BaseGlobalsUpdate),o.apply(this,arguments)}return(0,u.default)(BaseGlobalsUpdate,[{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return $e.routes.isPartOf("panel/global")}},{key:"getRepeaterName",value:function getRepeaterName(){elementorModules.ForceMethodImplementation()}},{key:"applyModel",value:function applyModel(t,o,i){elementorModules.ForceMethodImplementation()}},{key:"apply",value:function apply(t,o){var i=this,r=t.containers,l=void 0===r?[t.container]:r,u=(0,a.default)({},o.data),c=u.id,d=u.value;delete u.id,delete u.value,u._id=c,this.applyModel(u,d),l.forEach((function(t){$e.run("document/repeater/insert",{container:t,model:u,name:i.getRepeaterName()})}))}}]),BaseGlobalsUpdate}($e.modules.hookData.After);o.BaseGlobalsUpdate=m;var p=m;o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(BaseOpenClose,t);var o=(0,c.default)(BaseOpenClose);function BaseOpenClose(){return(0,a.default)(this,BaseOpenClose),o.apply(this,arguments)}return(0,l.default)(BaseOpenClose,[{key:"initialize",value:function initialize(){var t=this;elementor.on("preview:loaded",(function(){t.component=$e.components.get("panel/global")}))}}]),BaseOpenClose}($e.modules.hookUI.After);o.default=d},function(t,o,i){"use strict";var r,a,l,u,c=i(114),d=i(18),m=i(80),p=i(116),h=i(37),g=i(30),v=i(95),y=i(493),C=i(494),b=i(180),w=i(363).set,k=i(499)(),S=i(364),x=i(500),T=i(501),M=i(365),I=d.TypeError,E=d.process,P=E&&E.versions,D=P&&P.v8||"",R=d.Promise,V="process"==p(E),empty=function(){},A=a=S.f,O=!!function(){try{var t=R.resolve(1),o=(t.constructor={})[i(13)("species")]=function(t){t(empty,empty)};return(V||"function"==typeof PromiseRejectionEvent)&&t.then(empty)instanceof o&&0!==D.indexOf("6.6")&&-1===T.indexOf("Chrome/66")}catch(t){}}(),isThenable=function(t){var o;return!(!g(t)||"function"!=typeof(o=t.then))&&o},notify=function(t,o){if(!t._n){t._n=!0;var i=t._c;k((function(){for(var r=t._v,a=1==t._s,l=0,run=function(o){var i,l,u,c=a?o.ok:o.fail,d=o.resolve,m=o.reject,p=o.domain;try{c?(a||(2==t._h&&onHandleUnhandled(t),t._h=1),!0===c?i=r:(p&&p.enter(),i=c(r),p&&(p.exit(),u=!0)),i===o.promise?m(I("Promise-chain cycle")):(l=isThenable(i))?l.call(i,d,m):d(i)):m(r)}catch(t){p&&!u&&p.exit(),m(t)}};i.length>l;)run(i[l++]);t._c=[],t._n=!1,o&&!t._h&&onUnhandled(t)}))}},onUnhandled=function(t){w.call(d,(function(){var o,i,r,a=t._v,l=isUnhandled(t);if(l&&(o=x((function(){V?E.emit("unhandledRejection",a,t):(i=d.onunhandledrejection)?i({promise:t,reason:a}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",a)})),t._h=V||isUnhandled(t)?2:1),t._a=void 0,l&&o.e)throw o.v}))},isUnhandled=function(t){return 1!==t._h&&0===(t._a||t._c).length},onHandleUnhandled=function(t){w.call(d,(function(){var o;V?E.emit("rejectionHandled",t):(o=d.onrejectionhandled)&&o({promise:t,reason:t._v})}))},$reject=function(t){var o=this;o._d||(o._d=!0,(o=o._w||o)._v=t,o._s=2,o._a||(o._a=o._c.slice()),notify(o,!0))},$resolve=function(t){var o,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw I("Promise can't be resolved itself");(o=isThenable(t))?k((function(){var r={_w:i,_d:!1};try{o.call(t,m($resolve,r,1),m($reject,r,1))}catch(t){$reject.call(r,t)}})):(i._v=t,i._s=1,notify(i,!1))}catch(t){$reject.call({_w:i,_d:!1},t)}}};O||(R=function Promise(t){y(this,R,"Promise","_h"),v(t),r.call(this);try{t(m($resolve,this,1),m($reject,this,1))}catch(t){$reject.call(this,t)}},(r=function Promise(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i(502)(R.prototype,{then:function then(t,o){var i=A(b(this,R));return i.ok="function"!=typeof t||t,i.fail="function"==typeof o&&o,i.domain=V?E.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&notify(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new r;this.promise=t,this.resolve=m($resolve,t,1),this.reject=m($reject,t,1)},S.f=A=function(t){return t===R||t===u?new l(t):a(t)}),h(h.G+h.W+h.F*!O,{Promise:R}),i(179)(R,"Promise"),i(309)("Promise"),u=i(57).Promise,h(h.S+h.F*!O,"Promise",{reject:function reject(t){var o=A(this);return(0,o.reject)(t),o.promise}}),h(h.S+h.F*(c||!O),"Promise",{resolve:function resolve(t){return M(c&&this===u?R:this,t)}}),h(h.S+h.F*!(O&&i(503)((function(t){R.all(t).catch(empty)}))),"Promise",{all:function all(t){var o=this,i=A(o),r=i.resolve,a=i.reject,l=x((function(){var i=[],l=0,u=1;C(t,!1,(function(t){var c=l++,d=!1;i.push(void 0),u++,o.resolve(t).then((function(t){d||(d=!0,i[c]=t,--u||r(i))}),a)})),--u||r(i)}));return l.e&&a(l.v),i.promise},race:function race(t){var o=this,i=A(o),r=i.reject,a=x((function(){C(t,!1,(function(t){o.resolve(t).then(i.resolve,r)}))}));return a.e&&r(a.v),i.promise}})},function(t,o,i){var r,a,l,u=i(80),c=i(498),d=i(229),m=i(113),p=i(18),h=p.process,g=p.setImmediate,v=p.clearImmediate,y=p.MessageChannel,C=p.Dispatch,b=0,w={},run=function(){var t=+this;if(w.hasOwnProperty(t)){var o=w[t];delete w[t],o()}},listener=function(t){run.call(t.data)};g&&v||(g=function setImmediate(t){for(var o=[],i=1;arguments.length>i;)o.push(arguments[i++]);return w[++b]=function(){c("function"==typeof t?t:Function(t),o)},r(b),b},v=function clearImmediate(t){delete w[t]},"process"==i(50)(h)?r=function(t){h.nextTick(u(run,t,1))}:C&&C.now?r=function(t){C.now(u(run,t,1))}:y?(l=(a=new y).port2,a.port1.onmessage=listener,r=u(l.postMessage,l,1)):p.addEventListener&&"function"==typeof postMessage&&!p.importScripts?(r=function(t){p.postMessage(t+"","*")},p.addEventListener("message",listener,!1)):r="onreadystatechange"in m("script")?function(t){d.appendChild(m("script")).onreadystatechange=function(){d.removeChild(this),run.call(t)}}:function(t){setTimeout(u(run,t,1),0)}),t.exports={set:g,clear:v}},function(t,o,i){"use strict";var r=i(95);function PromiseCapability(t){var o,i;this.promise=new t((function(t,r){if(void 0!==o||void 0!==i)throw TypeError("Bad Promise constructor");o=t,i=r})),this.resolve=r(o),this.reject=r(i)}t.exports.f=function(t){return new PromiseCapability(t)}},function(t,o,i){var r=i(20),a=i(30),l=i(364);t.exports=function(t,o){if(r(t),a(o)&&o.constructor===t)return o;var i=l.f(t);return(0,i.resolve)(o),i.promise}},function(t,o,i){"use strict";var r=i(37),a=i(57),l=i(18),u=i(180),c=i(365);r(r.P+r.R,"Promise",{finally:function(t){var o=u(this,a.Promise||l.Promise),i="function"==typeof t;return this.then(i?function(i){return c(o,t()).then((function(){return i}))}:t,i?function(i){return c(o,t()).then((function(){throw i}))}:t)}})},function(t,o,i){"use strict";i(40),i(26);var r,a=i(127),l=i(328);r=a.extend({ui:{btnAddRow:".elementor-repeater-add",fieldContainer:".elementor-repeater-fields-wrapper"},events:function events(){return{"click @ui.btnAddRow":"onButtonAddRowClick","sortstart @ui.fieldContainer":"onSortStart","sortupdate @ui.fieldContainer":"onSortUpdate","sortstop @ui.fieldContainer":"onSortStop"}},childView:l,childViewContainer:".elementor-repeater-fields-wrapper",templateHelpers:function templateHelpers(){return{itemActions:this.model.get("item_actions"),data:_.extend({},this.model.toJSON(),{controlValue:[]})}},childViewOptions:function childViewOptions(t,o){return{container:this.getOption("container").repeaters[this.model.get("name")].children[o],controlFields:this.model.get("fields"),titleField:this.model.get("title_field"),itemActions:this.model.get("item_actions")}},createItemModel:function createItemModel(t,o,i){return o.controls=i.model.get("fields"),new elementorModules.editor.elements.models.BaseSettings(t,o)},fillCollection:function fillCollection(){var t=this.container?this.container.settings:this.elementSettingsModel,o=this.model.get("name");this.collection=t.get(o),this.collection instanceof Backbone.Collection||(this.collection=new Backbone.Collection(this.collection,{model:_.partial(this.createItemModel,_,_,this)}),t.set(o,this.collection,{silent:!0}))},initialize:function initialize(){a.prototype.initialize.apply(this,arguments),this.fillCollection(),this.listenTo(this.collection,"reset",this.resetContainer.bind(this)),this.listenTo(this.collection,"add",this.updateContainer.bind(this))},editRow:function editRow(t){if(this.currentEditableChild){var o=this.currentEditableChild.getChildViewContainer(this.currentEditableChild);o.removeClass("editable"),o.find(".elementor-wp-editor").each((function(){tinymce.get(this.id).fire("hide")}))}this.currentEditableChild!==t?(t.getChildViewContainer(t).addClass("editable"),this.currentEditableChild=t,this.updateActiveRow()):delete this.currentEditableChild},toggleMinRowsClass:function toggleMinRowsClass(){this.model.get("prevent_empty")&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",1>=this.collection.length)},updateActiveRow:function updateActiveRow(){var t=1;this.currentEditableChild&&(t=this.currentEditableChild.itemIndex),this.setEditSetting("activeItemIndex",t)},updateChildIndexes:function updateChildIndexes(){var t=this.collection;this.children.each((function(o){o.updateIndex(t.indexOf(o.model)+1),o.setTitle()}))},onRender:function onRender(){a.prototype.onRender.apply(this,arguments),this.model.get("item_actions").sort&&this.ui.fieldContainer.sortable({axis:"y",handle:".elementor-repeater-row-tools",items:" > :not(.elementor-repeater-row--disable-sort)"}),this.toggleMinRowsClass()},onSortStart:function onSortStart(t,o){o.item.data("oldIndex",o.item.index())},onSortStop:function onSortStop(t,o){var i=this;if(-1!==o.item.index()){var r=i.children.findByIndex(o.item.index()),a=r.children._views;jQuery.each(a,(function(){if("wysiwyg"===this.model.get("type"))return r.render(),delete i.currentEditableChild,!1}))}},onSortUpdate:function onSortUpdate(t,o){var i=o.item.data("oldIndex"),r=o.item.index();$e.run("document/repeater/move",{container:this.options.container,name:this.model.get("name"),sourceIndex:i,targetIndex:r})},onAddChild:function onAddChild(){this.updateChildIndexes(),this.updateActiveRow()},updateContainer:function updateContainer(t){this.options.container.repeaters[this.model.get("name")].children.filter((function(o){return o.id===t.get("_id")})).length||(elementorCommon.helpers.softDeprecated("Don't add models directly to the repeater.","3.0.0","$e.run( 'document/repeater/insert' )"),this.options.container.addRepeaterItem(this.model.get("name"),t,t.collection.indexOf(t)))},resetContainer:function resetContainer(){elementorCommon.helpers.softDeprecated("Don't reset repeater collection directly.","3.0.0","$e.run( 'document/repeater/remove' )"),this.options.container.repeaters[this.model.get("name")].children=[]},getDefaults:function getDefaults(){var t={};return _.each(this.model.get("fields"),(function(o){t[o.name]=o.default})),t},onButtonAddRowClick:function onButtonAddRowClick(){var t=$e.run("document/repeater/insert",{container:this.options.container,name:this.model.get("name"),model:this.getDefaults()}),o=this.children.findByModel(t);this.editRow(o),this.toggleMinRowsClass()},onChildviewClickRemove:function onChildviewClickRemove(t){t===this.currentEditableChild&&delete this.currentEditableChild,$e.run("document/repeater/remove",{container:this.options.container,name:this.model.get("name"),index:t._index}),this.updateActiveRow(),this.updateChildIndexes(),this.toggleMinRowsClass()},onChildviewClickDuplicate:function onChildviewClickDuplicate(t){$e.run("document/repeater/duplicate",{container:this.options.container,name:this.model.get("name"),index:t._index}),this.toggleMinRowsClass()},onChildviewClickEdit:function onChildviewClickEdit(t){this.editRow(t)},onAfterExternalChange:function onAfterExternalChange(){this.fillCollection(),a.prototype.onAfterExternalChange.apply(this,arguments)}}),t.exports=r},function(t,o,i){"use strict";var r=i(0);i(150),i(118),i(79);var a,l=r(i(369));a=Marionette.CompositeView.extend({classes:{popover:"elementor-controls-popover"},activeTab:null,activeSection:null,className:function className(){return"elementor-controls-stack"},templateHelpers:function templateHelpers(){return{elementData:elementor.getElementData(this.model)}},childViewOptions:function childViewOptions(){return{elementSettingsModel:this.model}},ui:function ui(){return{tabs:".elementor-panel-navigation-tab",reloadButton:".elementor-update-preview-button"}},events:function events(){return{"click @ui.reloadButton":"onReloadButtonClick"}},modelEvents:{destroy:"onModelDestroy"},behaviors:{HandleInnerTabs:{behaviorClass:i(329)}},initialize:function initialize(t){this.initCollection(),t.tab&&(this.activeTab=t.tab,this.activateFirstSection()),this.listenTo(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},initCollection:function initCollection(){this.collection=new Backbone.Collection(_.values(elementor.mergeControlsSettings(this.getOption("controls"))))},filter:function filter(t){if(t.get("tab")!==this.activeTab)return!1;if("section"===t.get("type"))return!0;var o=t.get("section");return!o||o===this.activeSection},getControlViewByModel:function getControlViewByModel(t){return this.children.findByModelCid(t.cid)},getControlViewByName:function getControlViewByName(t){return this.getControlViewByModel(this.getControlModel(t))},getControlModel:function getControlModel(t){return this.collection.findWhere({name:t})},isVisibleSectionControl:function isVisibleSectionControl(t){return this.activeTab===t.get("tab")},activateTab:function activateTab(t){return this.activeTab=t,this.activateFirstSection(),this._renderChildren(),this},activateSection:function activateSection(t){return this.activeSection=t,this},activateFirstSection:function activateFirstSection(){var t=this,o=t.collection.filter((function(o){return"section"===o.get("type")&&t.isVisibleSectionControl(o)}));if(o[0]&&!o.filter((function(o){return t.activeSection===o.get("name")}))[0])return t.activateSection(o[0].get("name")),this},getChildView:function getChildView(t){var o=t.get("type");return elementor.getControlView(o)},getNamespaceArray:function getNamespaceArray(){return[elementor.getPanelView().getCurrentPageName()]},openActiveSection:function openActiveSection(){var t=this.activeSection,o=this.children.filter((function(o){return t===o.model.get("name")}));if(o[0]){o[0].$el.addClass("elementor-open");var i=this.getNamespaceArray();i.push(t,"activated"),elementor.channels.editor.trigger(i.join(":"),this)}},onRenderCollection:function onRenderCollection(){this.openActiveSection(),a.handlePopovers(this)},onModelDestroy:function onModelDestroy(){this.destroy()},onReloadButtonClick:function onReloadButtonClick(){elementor.reloadPreview()},onDeviceModeChange:function onDeviceModeChange(){"desktop"===elementor.channels.deviceMode.request("currentMode")&&this.$el.removeClass("elementor-responsive-switchers-open")},onChildviewControlSectionClicked:function onChildviewControlSectionClicked(t){var o=t.$el.hasClass("elementor-open");this.activateSection(o?null:t.model.get("name")),this._renderChildren()},onChildviewResponsiveSwitcherClick:function onChildviewResponsiveSwitcherClick(t,o){"desktop"===o&&this.$el.toggleClass("elementor-responsive-switchers-open")}},{handlePopovers:function handlePopovers(t){var o;t.popovers=[],this.removePopovers(t),t.children.each((function(i){o&&o.addChild(i);var r=i.model.get("popover");r&&(r.start&&(o=new l.default(i),t.popovers.push(o)),r.end&&(o=null))}))},removePopovers:function removePopovers(t){t.popovers.forEach((function(t){return t.destroy()}))}}),t.exports=a},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(28));i(26);var l=r(i(2)),u=r(i(3)),c=function(){function ControlsPopover(t){(0,l.default)(this,ControlsPopover),this.child=t,this.$popover=jQuery("<div>",{class:"elementor-controls-popover"}),t.$el.before(this.$popover),this.$popover.append(t.$el),this.popoverToggleView=t._parent.children.findByIndex(t._index-1),"typography"===this.child.model.attributes.groupType&&this.createPopoverHeader()}return(0,u.default)(ControlsPopover,[{key:"addChild",value:function addChild(t){this.$popover.append(t.$el)}},{key:"createPopoverHeader",value:function createPopoverHeader(){var t=this,o=this.$popover.prev().find(".elementor-control-popover-toggle-reset-label");this.$popoverHeader=jQuery("<div>",{class:"e-group-control-header"}).html("<span>"+elementor.translate("typography")+"</span>"),this.$headerControlsWrapper=jQuery("<div>",{class:"e-control-tools"}),o.addClass("e-control-tool").on("click",(function(){return t.onResetButtonClick()})),this.$headerControlsWrapper.append(o),this.$popoverHeader.append(this.$headerControlsWrapper);var i=this.popoverToggleView.model.get("global");(null==i?void 0:i.active)&&this.createAddButton(),this.$popover.prepend(this.$popoverHeader).addClass("e-controls-popover--typography")}},{key:"onResetButtonClick",value:function onResetButtonClick(){this.$popover.hide();var t=this.child.model.get("groupPrefix")+"typography",o={container:this.child.options.container,settings:(0,a.default)({},t,"")};this.child.options.container.globals.get(t)?$e.run("document/globals/disable",o):$e.run("document/elements/settings",o)}},{key:"onAddButtonClick",value:function onAddButtonClick(){this.popoverToggleView.onAddGlobalButtonClick()}},{key:"createAddButton",value:function createAddButton(){var t=this;this.$addButton=jQuery("<button>",{class:"e-control-tool"}).html(jQuery("<i>",{class:"eicon-plus"})),this.$headerControlsWrapper.append(this.$addButton),this.$addButton.on("click",(function(){return t.onAddButtonClick()})),this.$addButton.tipsy({title:function title(){return elementor.translate("create_global_font")},gravity:function gravity(){return"s"}})}},{key:"destroy",value:function destroy(){this.$popover.remove()}}]),ControlsPopover}();o.default=c},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=function(){function BackwardsCompatibility(){(0,a.default)(this,BackwardsCompatibility)}return(0,l.default)(BackwardsCompatibility,null,[{key:"findViewRecursive",value:function findViewRecursive(t,o,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return elementorCommon.helpers.softDeprecated("findViewRecursive","2.9.0","$e.components.get( 'document' ).utils.findViewRecursive( parent, key, value, multiple )"),$e.components.get("document").utils.findViewRecursive(t,o,i,r)}},{key:"findViewById",value:function findViewById(t){return elementorCommon.helpers.softDeprecated("findViewById","2.9.0","$e.components.get( 'document' ).utils.findViewById( id )"),$e.components.get("document").utils.findViewById(t)}},{key:"findContainerById",value:function findContainerById(t){return elementorCommon.helpers.softDeprecated("findContainerById","2.9.0","$e.components.get( 'document' ).utils.findContainerById( id )"),$e.components.get("document").utils.findContainerById(t)}}]),BackwardsCompatibility}();o.default=u},function(t,o,i){"use strict";var r=i(0)(i(25));t.exports=Marionette.Region.extend({storage:null,storageSizeKeys:null,constructor:function constructor(){Marionette.Region.prototype.constructor.apply(this,arguments);var t=elementorCommon.storage.get(this.getStorageKey());this.storage=t||this.getDefaultStorage(),this.storageSizeKeys=(0,r.default)(this.storage.size)},saveStorage:function saveStorage(t,o){this.storage[t]=o,elementorCommon.storage.set(this.getStorageKey(),this.storage)},saveSize:function saveSize(t){t||(t=elementor.helpers.getElementInlineStyle(this.$el,this.storageSizeKeys)),this.saveStorage("size",t)}})},function(t,o,i){"use strict";i(40),t.exports=elementorModules.Module.extend({getDefaultSettings:function getDefaultSettings(){return{actions:{},classes:{list:"elementor-context-menu-list",group:"elementor-context-menu-list__group",groupPrefix:"elementor-context-menu-list__group-",item:"elementor-context-menu-list__item",itemTypePrefix:"elementor-context-menu-list__item-",itemTitle:"elementor-context-menu-list__item__title",itemShortcut:"elementor-context-menu-list__item__shortcut",iconShortcut:"elementor-context-menu-list__item__icon",itemDisabled:"elementor-context-menu-list__item--disabled",divider:"elementor-context-menu-list__divider",hidden:"elementor-hidden"}}},buildActionItem:function buildActionItem(t){var o=this,i=o.getSettings("classes"),r=jQuery("<div>",{class:i.item+" "+i.itemTypePrefix+t.name}),a=jQuery("<div>",{class:i.itemTitle}).text(t.title),l=jQuery("<div>",{class:i.iconShortcut});if(t.icon&&l.html(jQuery("<i>",{class:t.icon})),r.append(l,a),t.shortcut){var u=jQuery("<div>",{class:i.itemShortcut}).html(t.shortcut);r.append(u)}return t.callback&&r.on("click",(function(){o.runAction(t)})),t.$item=r,r},buildActionsList:function buildActionsList(){var t=this,o=t.getSettings("classes"),i=t.getSettings("groups"),r=jQuery("<div>",{class:o.list});return i.forEach((function(i){var a=jQuery("<div>",{class:o.group+" "+o.groupPrefix+i.name});i.actions.forEach((function(o){a.append(t.buildActionItem(o))})),r.append(a),i.$item=a})),r},toggleGroupVisibility:function toggleGroupVisibility(t,o){t.$item.toggleClass(this.getSettings("classes.hidden"),!o)},toggleActionVisibility:function toggleActionVisibility(t,o){t.$item.toggleClass(this.getSettings("classes.hidden"),!o)},toggleActionUsability:function toggleActionUsability(t,o){t.$item.toggleClass(this.getSettings("classes.itemDisabled"),!o)},isActionEnabled:function isActionEnabled(t){return!(!t.callback&&!t.groups)&&(!t.isEnabled||t.isEnabled())},runAction:function runAction(t){this.isActionEnabled(t)&&(t.callback(),this.getModal().hide())},initModal:function initModal(){var t;this.getModal=function(){return t||(t=elementorCommon.dialogsManager.createWidget("simple",{className:"elementor-context-menu",message:this.buildActionsList(),iframe:elementor.$preview,effects:{hide:"hide",show:"show"},hide:{onOutsideContextMenu:!0},position:{my:(elementorCommon.config.isRTL?"right":"left")+" top",collision:"fit"}})),t}},show:function show(t){var o=this,i=o.getModal();i.setSettings("position",{of:t}),o.getSettings("groups").forEach((function(t){var i=!1!==t.isVisible;o.toggleGroupVisibility(t,i),i&&t.actions.forEach((function(t){var i=!1!==t.isVisible;o.toggleActionVisibility(t,i),i&&o.toggleActionUsability(t,o.isActionEnabled(t))}))})),i.show()},destroy:function destroy(){this.getModal().destroy()},onInit:function onInit(){this.initModal()}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(AddSectionView,t);var o=(0,m.default)(AddSectionView);function AddSectionView(){return(0,a.default)(this,AddSectionView),o.apply(this,arguments)}return(0,l.default)(AddSectionView,[{key:"className",value:function className(){return(0,u.default)((0,c.default)(AddSectionView.prototype),"className",this).call(this)+" elementor-add-section-inline"}},{key:"fadeToDeath",value:function fadeToDeath(){var t=this;t.$el.slideUp((function(){t.destroy()}))}},{key:"onAfterPaste",value:function onAfterPaste(){(0,u.default)((0,c.default)(AddSectionView.prototype),"onAfterPaste",this).call(this),this.destroy()}},{key:"onCloseButtonClick",value:function onCloseButtonClick(){this.fadeToDeath()}},{key:"onPresetSelected",value:function onPresetSelected(t){(0,u.default)((0,c.default)(AddSectionView.prototype),"onPresetSelected",this).call(this,t),this.destroy()}},{key:"onAddTemplateButtonClick",value:function onAddTemplateButtonClick(){(0,u.default)((0,c.default)(AddSectionView.prototype),"onAddTemplateButtonClick",this).call(this),this.destroy()}},{key:"onDropping",value:function onDropping(){(0,u.default)((0,c.default)(AddSectionView.prototype),"onDropping",this).call(this),this.destroy()}}]),AddSectionView}(r(i(296)).default);o.default=p},function(t,o,i){"use strict";var r,a=i(256),l=i(297),u=i(375);r=l.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-column-content"),emptyView:u,childViewContainer:elementor.config.legacyMode.elementWrappers?"> .elementor-column-wrap > .elementor-widget-wrap":"> .elementor-widget-wrap",toggleEditTools:!0,behaviors:function behaviors(){var behaviors=l.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:i(298),elChildType:"widget"},Resizable:{behaviorClass:i(376)}}),elementor.hooks.applyFilters("elements/column/behaviors",behaviors,this)},className:function className(){var t=l.prototype.className.apply(this,arguments),o=this.isInner()?"inner":"top";return t+" elementor-column elementor-"+o+"-column"},tagName:function tagName(){return this.model.getSetting("html_tag")||"div"},ui:function ui(){var ui=l.prototype.ui.apply(this,arguments);return ui.columnInner=elementor.config.legacyMode.elementWrappers?"> .elementor-column-wrap":"> .elementor-widget-wrap",ui.percentsTooltip="> .elementor-element-overlay .elementor-column-percents-tooltip",ui},getEditButtons:function getEditButtons(){var t=elementor.getElementData(this.model),o={};return o.edit={title:elementor.translate("edit_element",[t.title]),icon:"column"},elementor.getPreferences("edit_buttons")&&(o.duplicate={title:elementor.translate("duplicate_element",[t.title]),icon:"clone"},o.add={title:elementor.translate("add_element",[t.title]),icon:"plus"},o.remove={title:elementor.translate("delete_element",[t.title]),icon:"close"}),o},initialize:function initialize(){l.prototype.initialize.apply(this,arguments),this.model.get("editSettings").set("defaultEditRoute","layout")},attachElContent:function attachElContent(){l.prototype.attachElContent.apply(this,arguments);var t=jQuery("<div>",{class:"elementor-column-percents-tooltip"});this.$el.children(".elementor-element-overlay").append(t)},getContextMenuGroups:function getContextMenuGroups(){var t=this,o=l.prototype.getContextMenuGroups.apply(this,arguments),i=o.indexOf(_.findWhere(o,{name:"general"}));return o.splice(i+1,0,{name:"addNew",actions:[{name:"addNew",icon:"eicon-plus",title:elementor.translate("new_column"),callback:this.addNewColumn.bind(this),isEnabled:function isEnabled(){return t.model.collection.length<a.DEFAULT_MAX_COLUMNS}}]}),o},isDroppingAllowed:function isDroppingAllowed(){if(!this.getContainer().isEditable())return!1;var t=elementor.channels.panelElements.request("element:selected");if(!t)return!1;var o=t.model.get("elType");return"section"===o?!this.isInner():"widget"===o},getPercentsForDisplay:function getPercentsForDisplay(){return(+this.model.getSetting("_inline_size")||this.getPercentSize()).toFixed(1)+"%"},changeSizeUI:function changeSizeUI(){var t=this,o=t.model.getSetting("_column_size");t.$el.attr("data-col",o),_.defer((function(){t.ui.percentsTooltip&&t.ui.percentsTooltip.text(t.getPercentsForDisplay())}))},getPercentSize:function getPercentSize(t){return t||(t=this.el.getBoundingClientRect().width),+(t/this.$el.parent().width()*100).toFixed(3)},getSortableOptions:function getSortableOptions(){return{connectWith:".elementor-widget-wrap",items:"> .elementor-element"}},changeChildContainerClasses:function changeChildContainerClasses(){this.ui.columnInner&&(this.collection.isEmpty()?this.ui.columnInner.removeClass("elementor-element-populated").addClass("elementor-element-empty"):this.ui.columnInner.removeClass("elementor-element-empty").addClass("elementor-element-populated"))},addNewColumn:function addNewColumn(){$e.run("document/elements/create",{model:{elType:"column"},container:this.getContainer().parent,options:{at:this.$el.index()+1}})},onRender:function onRender(){var t=this,o=elementor.config.legacyMode.elementWrappers,i="";i=o?" > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element, >.elementor-column-wrap > .elementor-widget-wrap > .elementor-empty-view > .elementor-first-add":" > .elementor-widget-wrap > .elementor-element, >.elementor-widget-wrap > .elementor-empty-view > .elementor-first-add",l.prototype.onRender.apply(this,arguments),this.changeChildContainerClasses(),this.changeSizeUI(),this.$el.html5Droppable({items:i,axis:["vertical"],groups:["elementor-element"],isDroppingAllowed:this.isDroppingAllowed.bind(this),currentElementClass:"elementor-html5dnd-current-element",placeholderClass:"elementor-sortable-placeholder elementor-widget-placeholder",hasDraggingOnChildClass:"elementor-dragging-on-child",onDropping:function onDropping(i,r){r.stopPropagation(),elementor.getPreviewView().onPanelElementDragEnd();var a=jQuery(r.currentTarget).index();"bottom"===i&&o?a++:"top"!==i||o||a--,t.addElementFromPanel({at:a})}})},onAddButtonClick:function onAddButtonClick(t){t.stopPropagation(),this.addNewColumn()}}),t.exports=r},function(t,o,i){"use strict";var r=i(0)(i(215));t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-empty-preview",className:"elementor-empty-view",events:{click:"onClickAdd"},behaviors:function behaviors(){return{contextMenu:{behaviorClass:i(273),groups:this.getContextMenuGroups()}}},getContextMenuGroups:function getContextMenuGroups(){var t=this;return[{name:"general",actions:[{name:"paste",title:elementor.translate("paste"),isEnabled:function isEnabled(){return r.default.isPasteEnabled(t._parent.getContainer())},callback:function callback(){return $e.run("document/ui/paste",{container:t._parent.getContainer()})}}]}]},onClickAdd:function onClickAdd(){$e.route("panel/elements/categories")}})},function(t,o,i){"use strict";var r;r=Marionette.Behavior.extend({defaults:{handles:elementorCommon.config.isRTL?"w":"e"},events:{resizestart:"onResizeStart",resizestop:"onResizeStop",resize:"onResize"},initialize:function initialize(){Marionette.Behavior.prototype.initialize.apply(this,arguments),this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeSwitched)},active:function active(){if(elementor.userCan("design")){this.deactivate();var t=_.clone(this.options);delete t.behaviorClass;var o=this.getChildViewContainer(),i=_.extend({},t);o.resizable(i)}},deactivate:function deactivate(){this.getChildViewContainer().resizable("instance")&&this.getChildViewContainer().resizable("destroy")},onEditModeSwitched:function onEditModeSwitched(t){"edit"===t?this.active():this.deactivate()},onRender:function onRender(){var t=this;_.defer((function(){t.onEditModeSwitched(elementor.channels.dataEditMode.request("activeMode"))}))},onDestroy:function onDestroy(){this.deactivate()},onResizeStart:function onResizeStart(t){t.stopPropagation(),this.view.$el.data("originalWidth",this.view.el.getBoundingClientRect().width),this.view.triggerMethod("request:resize:start",t)},onResizeStop:function onResizeStop(t){t.stopPropagation(),this.view.triggerMethod("request:resize:stop")},onResize:function onResize(t,o){t.stopPropagation(),this.view.triggerMethod("request:resize",o,t)},getChildViewContainer:function getChildViewContainer(){return this.$el}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(127);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.inputs='[type="radio"]',ui},events:function events(){return _.extend(a.prototype.events.apply(this,arguments),{"mousedown label":"onMouseDownLabel","click @ui.inputs":"onClickInput","change @ui.inputs":"onBaseInputChange"})},applySavedValue:function applySavedValue(){var t=this.getControlValue();t?this.ui.inputs.filter('[value="'+t+'"]').prop("checked",!0):this.ui.inputs.filter(":checked").prop("checked",!1)},onMouseDownLabel:function onMouseDownLabel(t){var o=this.$(t.currentTarget),i=this.$("#"+o.attr("for"));i.data("checked",i.prop("checked"))},onClickInput:function onClickInput(t){if(this.model.get("toggle")){var o=this.$(t.currentTarget);o.data("checked")&&o.prop("checked",!1).trigger("change")}}},{onPasteStyle:function onPasteStyle(t,o){return""===o||void 0!==t.options[o]}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.Behavior.extend({ui:{insertButton:".elementor-template-library-template-insert"},events:{"click @ui.insertButton":"onInsertButtonClick"},onInsertButtonClick:function onInsertButtonClick(){var t={model:this.view.model};"remote"!==t.model.get("source")||elementor.config.library_connect.is_connected?$e.run("library/insert-template",t):$e.route("library/connect",t)}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(378);r=Marionette.ItemView.extend({className:function className(){var t="elementor-template-library-template",o=this.model.get("source");return t+=" elementor-template-library-template-"+o,"remote"===o&&(t+=" elementor-template-library-template-"+this.model.get("type")),this.model.get("isPro")&&(t+=" elementor-template-library-pro-template"),t},ui:function ui(){return{previewButton:".elementor-template-library-template-preview"}},events:function events(){return{"click @ui.previewButton":"onPreviewButtonClick"}},behaviors:{insertTemplate:{behaviorClass:a}}}),t.exports=r},function(t,o,i){"use strict";var r=i(0);i(26);var a,l=r(i(301)),u=i(239);a=u.extend({ui:function ui(){var ui=u.prototype.ui.apply(this,arguments);return ui.sliders=".elementor-slider",ui.colorPickerPlaceholder=".elementor-color-picker-placeholder",ui},initSliders:function initSliders(){var t=this,o=this.getControlValue();this.ui.sliders.each((function(i,r){var a=jQuery(r).next(".elementor-slider-input").find("input"),l=noUiSlider.create(r,{start:[o[r.dataset.input]],step:1,range:{min:+a.attr("min"),max:+a.attr("max")},format:{to:function to(t){return+t.toFixed(1)},from:function from(t){return+t}}});l.on("slide",(function(o){var i=l.target.dataset.input;a.val(o[0]),t.setValue(i,o[0])}))}))},initColors:function initColors(){var t=this;this.colorPicker=new l.default({picker:{el:this.ui.colorPickerPlaceholder[0],default:this.getControlValue("color")},onChange:function onChange(){t.setValue("color",t.colorPicker.getColor())},onClear:function onClear(){t.setValue("color","")}})},onInputChange:function onInputChange(t){var o=t.currentTarget.dataset.setting;this.ui.sliders.filter('[data-input="'+o+'"]')[0].noUiSlider.set(this.getControlValue(o))},onReady:function onReady(){this.initSliders(),this.initColors()},onBeforeDestroy:function onBeforeDestroy(){this.colorPicker.destroy()}}),t.exports=a},function(t,o,i){"use strict";var r;r=i(239).extend({getCurrentRange:function getCurrentRange(){return this.getUnitRange(this.getControlValue("unit"))},getUnitRange:function getUnitRange(t){var o=this.model.get("range");return!(!o||!o[t])&&o[t]}}),t.exports=r},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(139);var a=r(i(2)),l=r(i(3)),u=function(){function FilesUploadHandler(){(0,a.default)(this,FilesUploadHandler)}return(0,l.default)(FilesUploadHandler,null,[{key:"isUploadEnabled",value:function isUploadEnabled(t){return!["svg","application/json"].includes(t)||elementor.config.filesUpload.unfilteredFiles}},{key:"setUploadTypeCaller",value:function setUploadTypeCaller(t){t.uploader.uploader.param("uploadTypeCaller","elementor-editor-upload")}},{key:"getUnfilteredFilesNotEnabledDialog",value:function getUnfilteredFilesNotEnabledDialog(t){return elementor.helpers.getSimpleDialog("e-enable-unfiltered-files-dialog",elementor.translate("enable_unfiltered_files_upload"),elementor.translate("dialog_confirm_enable_unfiltered_files_upload"),elementor.translate("enable"),(function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{},!0),elementor.config.filesUpload.unfilteredFiles=!0,t()}))}}]),FilesUploadHandler}();o.default=u},function(t,o,i){"use strict";var r=i(0);i(81);var a,l=r(i(47)),u=i(583);(a=Backbone.Model.extend({defaults:{id:"",elType:"",isInner:!1,settings:{},defaultEditSettings:{defaultEditRoute:"content"}},remoteRender:!1,_htmlCache:null,_jqueryXhr:null,renderOnLeave:!1,initialize:function initialize(t){var o=this.get("elType"),r=this.get("elements");if(void 0!==r){var a=i(384);this.set("elements",new a(r))}"widget"===o&&(this.remoteRender=!0,this.setHtmlCache(t.htmlCache||"")),delete t.htmlCache,this.renderRemoteServer=_.throttle(this.renderRemoteServer,1e3),this.initSettings(),this.initEditSettings(),this.on({destroy:this.onDestroy,"editor:close":this.onCloseEditor})},initSettings:function initSettings(){var t=this.get("elType"),o=this.get("settings"),i={column:u}[t]||elementorModules.editor.elements.models.BaseSettings;jQuery.isEmptyObject(o)&&(o=elementorCommon.helpers.cloneObject(o)),"widget"===t&&(o.widgetType=this.get("widgetType")),o.elType=t,o.isInner=this.get("isInner"),o=new i(o,{controls:elementor.getElementControls(this)}),this.set("settings",o),elementorFrontend.config.elements.data[this.cid]=o},initEditSettings:function initEditSettings(){var t=new Backbone.Model(this.get("defaultEditSettings"));this.set("editSettings",t),elementorFrontend.config.elements.editSettings[this.cid]=t},setSetting:function setSetting(t,o){var i=this.get("settings");if("object"!==(0,l.default)(t)){var r=t.split("."),a=3===r.length;t=r[0],a&&(i=i.get(t).models[r[1]],t=r[2])}i.setExternalChange(t,o)},getSetting:function getSetting(t){var o=t.split("."),i=3===o.length,r=this.get("settings");t=o[0];var a=r.get(t);return void 0===a?"":(i&&(a=a.models[o[1]].get(o[2])),a)},setHtmlCache:function setHtmlCache(t){this._htmlCache=t},getHtmlCache:function getHtmlCache(){return this._htmlCache},getDefaultTitle:function getDefaultTitle(){return elementor.getElementData(this).title},getTitle:function getTitle(){var t=this.getSetting("_title");return t||(t=this.getDefaultTitle()),t},getIcon:function getIcon(){return elementor.getElementData(this).icon},createRemoteRenderRequest:function createRemoteRenderRequest(){var t=this.toJSON();return elementorCommon.ajax.addRequest("render_widget",{unique_id:this.cid,data:{data:t},success:this.onRemoteGetHtml.bind(this)},!0).jqXhr},renderRemoteServer:function renderRemoteServer(){this.remoteRender&&(this.renderOnLeave=!1,this.trigger("before:remote:render"),this.isRemoteRequestActive()&&this._jqueryXhr.abort(),this._jqueryXhr=this.createRemoteRenderRequest())},isRemoteRequestActive:function isRemoteRequestActive(){return this._jqueryXhr&&4!==this._jqueryXhr.readyState},onRemoteGetHtml:function onRemoteGetHtml(t){this.setHtmlCache(t.render),this.trigger("remote:render")},clone:function clone(){var t=new this.constructor(elementorCommon.helpers.cloneObject(this.attributes));t.set("id",elementorCommon.helpers.getUniqueId()),t.setHtmlCache(this.getHtmlCache());var o=this.get("elements");return _.isEmpty(o)||t.set("elements",o.clone()),t},toJSON:function toJSON(t){t=t||{};var o=Backbone.Model.prototype.toJSON.call(this);return _.each(o,(function(i,r){i&&i.toJSON&&(o[r]=i.toJSON(t))})),t.copyHtmlCache?o.htmlCache=this.getHtmlCache():delete o.htmlCache,t.remove&&t.remove.forEach((function(t){return delete o[t]})),o},onCloseEditor:function onCloseEditor(){this.renderOnLeave&&this.renderRemoteServer()},onDestroy:function onDestroy(){var t=this.get("settings"),o=this.get("elements");void 0!==o&&_.each(_.clone(o.models),(function(t){t.destroy()})),t.destroy()}})).prototype.sync=a.prototype.fetch=a.prototype.save=_.noop,t.exports=a},function(t,o,i){"use strict";var r=i(383),a=Backbone.Collection.extend({add:function add(t,o,i){if(!(o&&o.silent||i))throw"Call Error: Adding model to element collection is allowed only by the dedicated addChildModel() method.";return Backbone.Collection.prototype.add.call(this,t,o)},model:function model(t,o){var i=Backbone.Model;return t.elType&&(i=elementor.hooks.applyFilters("element/model",r,t)),new i(t,o)},clone:function clone(){var t=Backbone.Collection.prototype.clone.apply(this,arguments),o=new a;return t.forEach((function(t){o.add(t.clone(),null,!0)})),o}});a.prototype.sync=a.prototype.fetch=a.prototype.save=_.noop,t.exports=a},function(t,o,i){"use strict";i(334),t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-global",id:"elementor-panel-global",initialize:function initialize(){elementor.getPanelView().getCurrentPageView().search.reset()}})},function(t,o){t.exports=Object.is||function is(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}},function(t,o,i){"use strict";i(60),t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-element-library-element",className:function className(){var className="elementor-element-wrapper";return this.isEditable()||(className+=" elementor-element--promotion"),className},events:function events(){var events={};return this.isEditable()||(events.mousedown="onMouseDown"),events},ui:{element:".elementor-element"},isEditable:function isEditable(){return!1!==this.model.get("editable")},onRender:function onRender(){var t=this;elementor.userCan("design")&&this.isEditable()&&this.ui.element.html5Draggable({onDragStart:function onDragStart(){elementor.channels.panelElements.reply("element:selected",t).trigger("element:drag:start")},onDragEnd:function onDragEnd(){elementor.channels.panelElements.trigger("element:drag:end")},groups:["elementor-element"]})},onMouseDown:function onMouseDown(){elementor.promotion.showDialog({headerMessage:elementor.translate("element_promotion_dialog_header",[this.model.get("title")]),message:elementor.translate("element_promotion_dialog_message",[this.model.get("title")]),top:"-7",element:this.el,actionURL:elementor.config.elementPromotionURL.replace("%s",this.model.get("name"))})}})},function(t,o,i){"use strict";var r=i(0)(i(213));t.exports=function EventManager(){var t,o=Array.prototype.slice,i={actions:{},filters:{}};function _removeHook(t,o,r,a){var l,u,c;if(i[t][o])if(r)if(l=i[t][o],a)for(c=l.length;c--;)(u=l[c]).callback===r&&u.context===a&&l.splice(c,1);else for(c=l.length;c--;)l[c].callback===r&&l.splice(c,1);else i[t][o]=[]}function _addHook(t,o,r,a,l){var u={callback:r,priority:a,context:l},c=i[t][o];if(c){var d=!1;if(jQuery.each(c,(function(){if(this.callback===r)return d=!0,!1})),d)return;c.push(u),c=function _hookInsertSort(t){for(var o,i,r,a=1,l=t.length;a<l;a++){for(o=t[a],i=a;(r=t[i-1])&&r.priority>o.priority;)t[i]=t[i-1],--i;t[i]=o}return t}(c)}else c=[u];i[t][o]=c}function _runHook(t,o,r){var a,l,u=i[t][o];if(!u)return"filters"===t&&r[0];if(l=u.length,"filters"===t)for(a=0;a<l;a++)r[0]=u[a].callback.apply(u[a].context,r);else for(a=0;a<l;a++)u[a].callback.apply(u[a].context,r);return"filters"!==t||r[0]}return t={removeFilter:function removeFilter(o,i){return"string"==typeof o&&_removeHook("filters",o,i),t},applyFilters:function applyFilters(){var i=o.call(arguments),r=i.shift();return"string"==typeof r?_runHook("filters",r,i):t},addFilter:function addFilter(o,i,a,l){return"string"==typeof o&&"function"==typeof i&&_addHook("filters",o,i,a=(0,r.default)(a||10,10),l),t},removeAction:function removeAction(o,i){return"string"==typeof o&&_removeHook("actions",o,i),t},doAction:function doAction(){var i=o.call(arguments),r=i.shift();return"string"==typeof r&&_runHook("actions",r,i),t},addAction:function addAction(o,i,a,l){return"string"==typeof o&&"function"==typeof i&&_addHook("actions",o,i,a=(0,r.default)(a||10,10),l),t}}}},function(t,o,i){"use strict";var r;r=Backbone.Model.extend({defaults:{title:"",categories:[],keywords:[],icon:"",elType:"widget",widgetType:""}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(389);r=Backbone.Collection.extend({model:a}),t.exports=r},function(t,o,i){"use strict";var r,a={color:i(624),typography:i(625)};r=Marionette.CompositeView.extend({id:function id(){return"elementor-panel-scheme-"+this.getType()},className:function className(){return"elementor-panel-scheme elementor-panel-scheme-"+this.getUIType()},childViewContainer:".elementor-panel-scheme-items",getTemplate:function getTemplate(){return Marionette.TemplateCache.get("#tmpl-elementor-panel-schemes-"+this.getType())},getChildView:function getChildView(){return a[this.getUIType()]},getUIType:function getUIType(){return this.getType()},ui:function ui(){return{saveButton:".elementor-panel-scheme-save .elementor-button",discardButton:".elementor-panel-scheme-discard .elementor-button",resetButton:".elementor-panel-scheme-reset .elementor-button"}},events:function events(){return{"click @ui.saveButton":"saveScheme","click @ui.discardButton":"discardScheme","click @ui.resetButton":"setDefaultScheme"}},initialize:function initialize(){this.model=new Backbone.Model,this.resetScheme()},getType:function getType(){},getScheme:function getScheme(){return elementor.schemes.getScheme(this.getType())},changeChildrenUIValues:function changeChildrenUIValues(t){var o=this;_.each(t,(function(t,i){var r=o.collection.findWhere({key:i});o.children.findByModelCid(r.cid).changeUIValue(t)}))},discardScheme:function discardScheme(){elementor.schemes.resetSchemes(this.getType()),this.onSchemeChange(),this.ui.saveButton.prop("disabled",!0),this._renderChildren()},setSchemeValue:function setSchemeValue(t,o){elementor.schemes.setSchemeValue(this.getType(),t,o),this.onSchemeChange()},saveScheme:function saveScheme(){NProgress.start(),elementor.schemes.saveScheme(this.getType()).done(NProgress.done),this.ui.saveButton.prop("disabled",!0),this.resetScheme(),this._renderChildren()},setDefaultScheme:function setDefaultScheme(){var t=elementor.config.default_schemes[this.getType()].items;this.changeChildrenUIValues(t)},resetItems:function resetItems(){this.model.set("items",this.getScheme().items)},resetCollection:function resetCollection(){var t=this,o=t.model.get("items");t.collection=new Backbone.Collection,_.each(o,(function(o,i){o.type=t.getType(),o.key=i,t.collection.add(o)}))},resetScheme:function resetScheme(){this.resetItems(),this.resetCollection()},onSchemeChange:function onSchemeChange(){elementor.schemes.printSchemesStyle()},onChildviewValueChange:function onChildviewValueChange(t,o){this.ui.saveButton.removeProp("disabled"),this.setSchemeValue(t.model.get("key"),o)}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({getTemplate:function getTemplate(){return Marionette.TemplateCache.get("#tmpl-elementor-panel-scheme-"+this.getUIType()+"-item")},className:function className(){return"elementor-panel-scheme-item"}}),t.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(26);var a=r(i(1)),l=r(i(2)),u=r(i(3)),c=r(i(48)),d=r(i(4)),m=r(i(5)),p=r(i(28)),h=r(i(420)),g=r(i(425)),v=r(i(426)),y=r(i(272)),C=r(i(349)),b=r(i(458)),w=r(i(462)),k=r(i(472)),S=r(i(475)),x=r(i(476)),T=r(i(514)),M=r(i(524)),I=r(i(525)),E=r(i(529)),P=function(t){(0,d.default)(EditorBase,t);var o=(0,m.default)(EditorBase);function EditorBase(){var t;(0,l.default)(this,EditorBase);for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return t=o.call.apply(o,[this].concat(a)),(0,p.default)((0,c.default)(t),"widgetsCache",{}),(0,p.default)((0,c.default)(t),"config",{}),(0,p.default)((0,c.default)(t),"loaded",!1),(0,p.default)((0,c.default)(t),"previewLoadedOnce",!1),(0,p.default)((0,c.default)(t),"helpers",i(530)),(0,p.default)((0,c.default)(t),"imagesManager",i(534)),(0,p.default)((0,c.default)(t),"schemes",i(535)),(0,p.default)((0,c.default)(t),"presetsFactory",i(536)),(0,p.default)((0,c.default)(t),"templates",i(537)),(0,p.default)((0,c.default)(t),"ajax",elementorCommon.ajax),(0,p.default)((0,c.default)(t),"conditions",i(557)),(0,p.default)((0,c.default)(t),"history",i(349)),(0,p.default)((0,c.default)(t),"channels",{editor:Backbone.Radio.channel("ELEMENTOR:editor"),data:Backbone.Radio.channel("ELEMENTOR:data"),panelElements:Backbone.Radio.channel("ELEMENTOR:panelElements"),dataEditMode:Backbone.Radio.channel("ELEMENTOR:editmode"),deviceMode:Backbone.Radio.channel("ELEMENTOR:deviceMode"),templates:Backbone.Radio.channel("ELEMENTOR:templates")}),(0,p.default)((0,c.default)(t),"modules",{get Module(){return elementorCommon.helpers.hardDeprecated("elementor.modules.Module","2.3.0","elementorModules.Module"),elementorModules.Module},components:{templateLibrary:{views:{get BaseModalLayout(){return elementorCommon.helpers.hardDeprecated("elementor.modules.components.templateLibrary.views.BaseModalLayout","2.4.0","elementorModules.common.views.modal.Layout"),elementorModules.common.views.modal.Layout}}},saver:{behaviors:{FooterSaver:i(558)}}},saver:{get footerBehavior(){return elementorCommon.helpers.softDeprecated("elementor.modules.saver.footerBehavior.","2.9.0","elementor.modules.components.saver.behaviors.FooterSaver"),elementor.modules.components.saver.behaviors.FooterSaver}},controls:{Animation:i(274),Base:i(281),BaseData:i(127),BaseMultiple:i(239),Box_shadow:i(380),Button:i(559),Choose:i(377),Code:i(560),Color:h.default,Date_time:g.default,Dimensions:i(561),Exit_animation:i(274),Font:i(564),Gallery:i(565),Hidden:i(566),Hover_animation:i(274),Icon:i(567),Icons:i(568),Image_dimensions:i(569),Media:i(570),Number:i(571),Order:i(573),Popover_toggle:E.default,Repeater:i(367),RepeaterRow:i(328),Section:i(574),Select:i(575),Select2:i(274),Slider:i(576),Structure:i(577),Switcher:i(578),Tab:i(579),Text_shadow:i(380),Url:i(580),Wp_widget:i(581),Wysiwyg:i(582)},elements:{models:{get BaseSettings(){return elementorCommon.helpers.hardDeprecated("elementor.modules.elements.models.BaseSettings","2.4.0","elementorModules.editor.elements.models.BaseSettings"),elementorModules.editor.elements.models.BaseSettings},Element:i(383)},views:{Widget:i(584)}},layouts:{panel:{pages:{elements:{views:{Global:i(385),Elements:i(588)}},menu:{Menu:k.default}}}},views:{get ControlsStack(){return elementorCommon.helpers.hardDeprecated("elementor.modules.views.ControlsStack","2.4.0","elementorModules.editor.views.ControlsStack"),elementorModules.editor.views.ControlsStack}}}),(0,p.default)((0,c.default)(t),"backgroundClickListeners",{popover:{element:".elementor-controls-popover",ignore:".elementor-control-popover-toggle-toggle, .elementor-control-popover-toggle-toggle-label, .select2-container, .pcr-app"},globalControlsSelect:{element:".e-global__popover",ignore:".e-global__popover-toggle"},tagsList:{element:".elementor-tags-list",ignore:".elementor-control-dynamic-switcher"},panelFooterSubMenus:{element:".elementor-panel-footer-tool.elementor-toggle-state",ignore:".elementor-panel-footer-tool.elementor-toggle-state, #elementor-panel-saver-button-publish-label",callback:function callback(t){t.removeClass("elementor-open")}},panelResponsiveSwitchers:{element:".elementor-control-responsive-switchers",callback:function callback(t){t.removeClass("elementor-responsive-switchers-open")}},promotion:{ignore:".elementor-panel-category-items",callback:function callback(){var t=elementor.promotion.dialog;t&&t.hide()}}}),t}return(0,u.default)(EditorBase,[{key:"userCan",value:function userCan(t){return-1===this.config.user.restrictions.indexOf(t)}},{key:"addControlView",value:function addControlView(t,o){this.modules.controls[elementorCommon.helpers.upperCaseWords(t)]=o}},{key:"checkEnvCompatibility",value:function checkEnvCompatibility(){return y.default.firefox||y.default.webkit}},{key:"getElementData",value:function getElementData(t){var o=t.get("elType");if("widget"===o){var i=t.get("widgetType");return!!this.widgetsCache[i]&&(this.widgetsCache[i].commonMerged||(jQuery.extend(this.widgetsCache[i].controls,this.widgetsCache.common.controls),this.widgetsCache[i].commonMerged=!0),this.widgetsCache[i])}if(!this.config.elements[o])return!1;var r=elementorCommon.helpers.cloneObject(this.config.elements[o]);return"section"===o&&t.get("isInner")&&(r.title=this.translate("inner_section")),r}},{key:"getElementControls",value:function getElementControls(t){var o=this.getElementData(t);if(!o)return!1;var i=t.get("isInner"),r={};return _.each(o.controls,(function(t,o){i&&t.hide_in_inner||!i&&t.hide_in_top||(r[o]=t)})),r}},{key:"mergeControlsSettings",value:function mergeControlsSettings(t){var o=this;return _.each(t,(function(i,r){t[r]=jQuery.extend(!0,{},o.config.controls[i.type],i)})),t}},{key:"getControlView",value:function getControlView(t){var o=elementorCommon.helpers.upperCaseWords(t),i=this.modules.controls[o];if(!i){var r=this.config.controls[t],a=r&&-1!==r.features.indexOf("ui");i=this.modules.controls[a?"Base":"BaseData"]}return i}},{key:"getPanelView",value:function getPanelView(){return this.panel.currentView}},{key:"getPreviewView",value:function getPreviewView(){return this.previewView}},{key:"getPreviewContainer",value:function getPreviewContainer(){return this.getPreviewView().getContainer()}},{key:"getContainer",value:function getContainer(t){return"document"===t?this.getPreviewContainer():$e.components.get("document").utils.findContainerById(t)}},{key:"initComponents",value:function initComponents(){var t=i(388),o=i(589),r=i(591),a=i(596);this.hooks=new t,this.settings=new r,this.dynamicTags=new o,this.initDialogsManager(),this.notifications=new a,this.kitManager=new x.default,this.hotkeysScreen=new b.default,this.iconManager=new w.default,this.noticeBar=new M.default,this.history=new C.default,this.promotion=new S.default,this.documents=$e.components.register(new v.default),elementorCommon.elements.$window.trigger("elementor:init-components")}},{key:"initDialogsManager",value:function initDialogsManager(){this.dialogsManager=elementorCommon.dialogsManager}},{key:"initElements",value:function initElements(){var t=i(384),o=this.config.document.elements;this.elements&&this.elements.length&&this.config.document.id===this.config.initial_document.id&&(o=this.elements.toJSON()),this.elements=new t(o),this.elementsModel=new Backbone.Model({elements:this.elements})}},{key:"initPreview",value:function initPreview(){var t=jQuery;this.$previewWrapper=t("#elementor-preview"),this.$previewResponsiveWrapper=t("#elementor-preview-responsive-wrapper"),this.$preview||(this.$preview=t("<iframe>",{id:"elementor-preview-iframe",src:this.config.initial_document.urls.preview,allowfullscreen:1}),this.$previewResponsiveWrapper.append(this.$preview)),this.$preview.on("load",this.onPreviewLoaded.bind(this))}},{key:"initPreviewView",value:function initPreviewView(t){elementor.trigger("document:before:preview",t);var o=new I.default({el:t.$element[0],model:elementor.elementsModel});o.$el.empty(),o.isRendered=!0,o._renderChildren(),o.triggerMethod("render"),this.previewView=o}},{key:"initFrontend",value:function initFrontend(){var t=this.$preview[0].contentWindow;window.elementorFrontend=t.elementorFrontend,t.elementor=this,t.elementorCommon=elementorCommon,elementorFrontend.init(),this.trigger("frontend:init")}},{key:"initClearPageDialog",value:function initClearPageDialog(){var t;this.getClearPageDialog=function(){return t||(t=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-clear-page-dialog",headerMessage:elementor.translate("clear_page"),message:elementor.translate("dialog_confirm_clear_page"),position:{my:"center center",at:"center center"},strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},onConfirm:function onConfirm(){return $e.run("document/elements/empty",{force:!0})}}))}}},{key:"getCurrentElement",value:function getCurrentElement(){if(!(-1!==["BODY","IFRAME"].indexOf(document.activeElement.tagName)&&"BODY"===elementorFrontend.elements.window.document.activeElement.tagName)&&!elementorCommonConfig.isTesting)return!1;var t=elementor.channels.editor.request("contextMenu:targetView");if(!t){var o=elementor.getPanelView();$e.routes.isPartOf("panel/editor")&&(t=o.getCurrentPageView().getOption("editedElementView"))}return t||(t=elementor.getPreviewView()),t}},{key:"initPanel",value:function initPanel(){this.addRegions({panel:i(597)}),this.trigger("panel:init")}},{key:"initNavigator",value:function initNavigator(){this.addRegions({navigator:{el:"#elementor-navigator",regionClass:T.default}}),this.trigger("navigator:init")}},{key:"setAjax",value:function setAjax(){elementorCommon.ajax.addRequestConstant("editor_post_id",this.config.document.id),elementorCommon.ajax.addRequestConstant("initial_document_id",this.config.initial_document.id),elementorCommon.ajax.on("request:unhandledError",(function(t){elementor.notifications.showToast({message:elementor.createAjaxErrorMessage(t)})}))}},{key:"createAjaxErrorMessage",value:function createAjaxErrorMessage(t){var o;return 4===t.readyState?(o=this.translate("server_error"),200!==t.status&&(o+=" ("+t.status+" "+t.statusText+")")):o=0===t.readyState?this.translate("server_connection_lost"):this.translate("unknown_error"),o+"."}},{key:"preventClicksInsideEditor",value:function preventClicksInsideEditor(){this.$previewContents.on("submit",(function(t){return t.preventDefault()})),this.$previewContents.on("click",(function(t){var o,i=jQuery(t.target),r=!!i.closest(".elementor-edit-area, .pen-menu").length,a=this.contains(i[0]);i.closest("a:not(.elementor-clickable)").length&&t.preventDefault(),r&&elementor.getPreviewContainer().isEditable()||!a||!r&&(null===(o=elementor.documents.getCurrent())||void 0===o?void 0:o.$element)&&$e.internal("panel/open-default")}))}},{key:"addBackgroundClickArea",value:function addBackgroundClickArea(t){t.addEventListener("click",this.onBackgroundClick.bind(this),!0)}},{key:"addBackgroundClickListener",value:function addBackgroundClickListener(t,o){this.backgroundClickListeners[t]=o}},{key:"removeBackgroundClickListener",value:function removeBackgroundClickListener(t){delete this.backgroundClickListeners[t]}},{key:"showFatalErrorDialog",value:function showFatalErrorDialog(t){var o={id:"elementor-fatal-error-dialog",headerMessage:"",message:"",position:{my:"center center",at:"center center"},strings:{confirm:this.translate("learn_more"),cancel:this.translate("go_back")},onConfirm:null,onCancel:function onCancel(){return parent.history.go(-1)},hide:{onBackgroundClick:!1,onButtonClick:!1}};t=jQuery.extend(!0,o,t),elementorCommon.dialogsManager.createWidget("confirm",t).show()}},{key:"showFlexBoxAttentionDialog",value:function showFlexBoxAttentionDialog(){var t=this,o=new elementorModules.editor.utils.Introduction({introductionKey:"flexbox",dialogType:"confirm",dialogOptions:{id:"elementor-flexbox-attention-dialog",headerMessage:this.translate("flexbox_attention_header"),message:this.translate("flexbox_attention_message"),position:{my:"center center",at:"center center"},strings:{confirm:this.translate("learn_more"),cancel:this.translate("got_it")},hide:{onButtonClick:!1},onCancel:function onCancel(){o.setViewed(),o.getDialog().hide()},onConfirm:function onConfirm(){return open(t.config.help_flexbox_bc_url,"_blank")}}});o.show()}},{key:"checkPageStatus",value:function checkPageStatus(){elementor.documents.getCurrent().isDraft()&&this.notifications.showToast({message:this.translate("working_on_draft_notification"),buttons:[{name:"view_revisions",text:elementor.translate("view_all_revisions"),callback:function callback(){return $e.route("panel/history/revisions")}}]})}},{key:"enterPreviewMode",value:function enterPreviewMode(t){var o=elementorFrontend.elements.$body;t&&(o=o.add(elementorCommon.elements.$body)),o.removeClass("elementor-editor-active").addClass("elementor-editor-preview");var i=this.documents.getCurrent().$element;i&&i.removeClass("elementor-edit-area-active"),t&&(this.$previewWrapper.css(elementorCommon.config.isRTL?"right":"left",""),this.panel.$el.css("width",""))}},{key:"exitPreviewMode",value:function exitPreviewMode(){elementorFrontend.elements.$body.add(elementorCommon.elements.$body).removeClass("elementor-editor-preview").addClass("elementor-editor-active"),elementor.config.document.panel.has_elements&&this.documents.getCurrent().$element.addClass("elementor-edit-area-active")}},{key:"changeEditMode",value:function changeEditMode(t){var o=elementor.channels.dataEditMode,i=o.request("activeMode");o.reply("activeMode",t),t!==i&&o.trigger("switch",t)}},{key:"reloadPreview",value:function reloadPreview(){jQuery("#elementor-preview-loading").show(),this.$preview[0].contentWindow.location.reload(!0)}},{key:"changeDeviceMode",value:function changeDeviceMode(t){var o=this.channels.deviceMode.request("currentMode");o!==t&&(elementorCommon.elements.$body.removeClass("elementor-device-"+o).addClass("elementor-device-"+t),this.channels.deviceMode.reply("previousMode",o).reply("currentMode",t).trigger("change"))}},{key:"translate",value:function translate(t,o,i){return i||(i=this.config.i18n),elementorCommon.translate(t,null,o,i)}},{key:"logSite",value:function logSite(){var t="",o="";if(y.default.firefox){t+="%c"+[" ;;;;;;;;;;;;;;; ",";;;  ;;       ;;;",";;;  ;;;;;;;;;;;;",";;;  ;;;;;;;;;;;;",";;;  ;;       ;;;",";;;  ;;;;;;;;;;;;",";;;  ;;;;;;;;;;;;",";;;  ;;       ;;;"," ;;;;;;;;;;;;;;; "].join("\n")+"\n",o="color: #C42961"}else t+="%c00",o='font-size: 22px; background-image: url("'+elementorCommon.config.urls.assets+'images/logo-icon.png"); color: transparent; background-repeat: no-repeat';setTimeout(console.log.bind(console,t,o)),t="%cLove using Elementor? Join our growing community of Elementor developers: %chttps://github.com/elementor/elementor",setTimeout(console.log.bind(console,t,"color: #9B0A46",""))}},{key:"requestWidgetsConfig",value:function requestWidgetsConfig(){var t=this,o={};jQuery.each(this.widgetsCache,(function(t,i){i.controls&&(o[t]=!0)})),elementorCommon.ajax.addRequest("get_widgets_config",{data:{exclude:o},success:function success(o){t.addWidgetsCache(o),t.loaded?(t.kitManager.renderGlobalsDefaultCSS(),$e.internal("panel/state-ready")):t.once("panel:init",(function(){$e.internal("panel/state-ready")}))}})}},{key:"getPreferences",value:function getPreferences(t){var o=elementor.settings.editorPreferences.model.attributes;return t?o[t]:o}},{key:"getConfig",value:function getConfig(){return ElementorConfig}},{key:"onStart",value:function onStart(){this.config=this.getConfig(),Backbone.Radio.DEBUG=!1,Backbone.Radio.tuneIn("ELEMENTOR"),this.initComponents(),this.checkEnvCompatibility()||this.onEnvNotCompatible(),this.initPreview(),this.requestWidgetsConfig(),this.channels.dataEditMode.reply("activeMode","edit"),this.listenTo(this.channels.dataEditMode,"switch",this.onEditModeSwitched),this.initClearPageDialog(),this.addBackgroundClickArea(document),this.addDeprecatedConfigProperties(),elementorCommon.elements.$window.trigger("elementor:loaded"),$e.run("editor/documents/open",{id:this.config.initial_document.id}).then((function(){elementorCommon.elements.$window.trigger("elementor:init")})),this.initNavigator(),this.logSite()}},{key:"onPreviewLoaded",value:function onPreviewLoaded(){if(this.$preview[0].contentWindow.elementorFrontend){this.$previewContents=this.$preview.contents(),this.initFrontend(),this.schemes.init(),this.preventClicksInsideEditor(),this.addBackgroundClickArea(elementorFrontend.elements.window.document),this.previewLoadedOnce||this.onFirstPreviewLoaded(),this.$previewContents.children().addClass("elementor-html");var t=elementorFrontend.elements.$body;t.addClass("elementor-editor-active"),elementor.userCan("design")||t.addClass("elementor-editor-content-only"),this.changeDeviceMode("desktop"),_.defer((function(){elementorFrontend.elements.window.jQuery.holdReady(!1)})),$e.shortcuts.bindListener(elementorFrontend.elements.$window),this.trigger("preview:loaded",!this.loaded),$e.internal("editor/documents/attach-preview").then((function(){return jQuery("#elementor-loading, #elementor-preview-loading").fadeOut(600)})),this.loaded=!0}else this.onPreviewLoadingError()}},{key:"onFirstPreviewLoaded",value:function onFirstPreviewLoaded(){this.initPanel(),this.previewLoadedOnce=!0}},{key:"onEditModeSwitched",value:function onEditModeSwitched(){var t=this.channels.dataEditMode.request("activeMode");"edit"===t?this.exitPreviewMode():this.enterPreviewMode("preview"===t)}},{key:"onEnvNotCompatible",value:function onEnvNotCompatible(){var t=this;this.showFatalErrorDialog({headerMessage:this.translate("device_incompatible_header"),message:this.translate("device_incompatible_message"),strings:{confirm:elementor.translate("proceed_anyway")},hide:{onButtonClick:!0},onConfirm:function onConfirm(){return t.hide()}})}},{key:"onPreviewLoadingError",value:function onPreviewLoadingError(){var t=this,o=this.config.document.urls.preview+"&preview-debug",i='<div id="elementor-preview-debug-link-text"><a href="'+o+'" target="_blank">'+this.config.i18n.preview_debug_link_text+"</a></div>",r=elementor.config.preview.debug_data,a={className:"elementor-preview-loading-error",headerMessage:r.header,message:r.message+i,onConfirm:function onConfirm(){return open(r.doc_url,"_blank")}};r.error?this.showFatalErrorDialog(a):jQuery.get(o,(function(){t.showFatalErrorDialog(a)})).fail((function(o){t.showFatalErrorDialog({className:"elementor-preview-loading-error",headerMessage:r.header,message:o.statusText+" "+o.status+" "+i,onConfirm:function onConfirm(){var t=500<=o.status?elementor.config.preview.help_preview_http_error_500_url:elementor.config.preview.help_preview_http_error_url;open(t,"_blank")}})}))}},{key:"onPreviewElNotFound",value:function onPreviewElNotFound(){var t=this.$preview[0].contentWindow.elementorPreviewErrorArgs;t||(t={headerMessage:this.translate("preview_el_not_found_header"),message:this.translate("preview_el_not_found_message"),confirmURL:elementor.config.help_the_content_url}),t.onConfirm=function(){return open(t.confirmURL,"_blank")},this.showFatalErrorDialog(t)}},{key:"onBackgroundClick",value:function onBackgroundClick(t){jQuery.each(this.backgroundClickListeners,(function(o,i){var r=jQuery(t.target);if(r[0].control&&(r=r.add(r[0].control)),!i.ignore||!r.closest(i.ignore).length){var a=r.closest(i.element),l=jQuery(i.element).not(a);i.callback?i.callback(l):l.hide()}}))}},{key:"compileTemplate",value:function compileTemplate(t,o){return Marionette.TemplateCache.prototype.compileTemplate(t)(o)}},{key:"addWidgetsCache",value:function addWidgetsCache(t){var o=this;jQuery.each(t,(function(t,i){o.widgetsCache[t]=jQuery.extend(!0,{},o.widgetsCache[t],i)}))}},{key:"addDeprecatedConfigProperties",value:function addDeprecatedConfigProperties(){var t=this,o={data:{replacement:"elements",value:function value(){return elementor.config.document.elements}},current_user_can_publish:{replacement:"user.can_publish",value:function value(){return elementor.config.document.user.can_publish}},locked_user:{replacement:"",value:function value(){return elementor.config.document.user.locked}},revisions_enabled:{replacement:"revisions.enabled",value:function value(){return elementor.config.document.revisions.enabled}},current_revision_id:{replacement:"revisions.current_id",value:function value(){return elementor.config.document.revisions.current_id}}};jQuery.each(o,(function(o,i){(0,a.default)(t.config,o,{get:function get(){var t=i.replacement?"elementor.config.document."+i.replacement:"";return elementorCommon.helpers.softDeprecated("elementor.config."+o,"2.9.0",t),i.value()},set:function set(){throw elementorCommon.helpers.softDeprecated("elementor.config."+o,"2.9.0","elementor.config.document."+i.replacement),Error("Deprecated")}})})),(0,a.default)(this.config.settings,"page",{get:function get(){return elementorCommon.helpers.softDeprecated("elementor.config.settings.page","2.9.0","elementor.config.document.settings"),elementor.config.document.settings}}),(0,a.default)(this.config,"widgets",{get:function get(){return elementorCommon.helpers.softDeprecated("elementor.config.widgets","2.9.0","elementor.widgetsCache"),elementor.widgetsCache}}),(0,a.default)(this,"$previewElementorEl",{get:function get(){return elementorCommon.helpers.softDeprecated("elementor.$previewElementorEl","2.9.4","elementor.documents.getCurrent().$element"),elementor.documents.getCurrent().$element}})}},{key:"toggleDocumentCssFiles",value:function toggleDocumentCssFiles(t,o){var i=["#elementor-post-".concat(t.config.id,"-css"),"#elementor-preview-".concat(t.config.revisions.current_id)],r=o?"text/css":"elementor/disabled-css";this.$previewContents.find(i.join(",")).attr({type:r})}},{key:"debug",get:function get(){return elementorCommon.helpers.softDeprecated("elementor.debug","3.0.0","elementorCommon.debug"),elementorCommon.debug}}]),EditorBase}(Marionette.Application);o.default=P},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(190);var a=r(i(83));i(66);var l=r(i(84)),u=r(i(56));i(150),i(118),i(79);var c=r(i(299)),d=r(i(2)),m=r(i(3)),p=r(i(24)),h=r(i(16)),g=r(i(4)),v=r(i(5)),y=r(i(127)),C=r(i(301)),b=function(t){(0,g.default)(_default,t);var o,i=(0,v.default)(_default);function _default(){return(0,d.default)(this,_default),i.apply(this,arguments)}return(0,m.default)(_default,[{key:"ui",value:function ui(){var ui=(0,p.default)((0,h.default)(_default.prototype),"ui",this).call(this);return ui.pickerContainer=".elementor-color-picker-placeholder",ui}},{key:"applySavedValue",value:function applySavedValue(){var t=this.getCurrentValue();if(this.colorPicker)if(t){var o,i=this.colorPicker.picker._parseLocalColor(t);(o=this.colorPicker.picker).setHSVA.apply(o,(0,c.default)(i.values).concat([!1]))}else this.colorPicker.picker._clearColor(!0);else this.initPicker();this.$el.toggleClass("e-control-color--no-value",!t)}},{key:"initPicker",value:function initPicker(){var t,o=this,i={picker:{el:this.ui.pickerContainer[0],default:this.getCurrentValue(),components:{opacity:this.model.get("alpha")},defaultRepresentation:"HEX"},addButton:null===(t=this.model.get("global"))||void 0===t?void 0:t.active,onChange:function onChange(){return o.onPickerChange()},onClear:function onClear(){return o.onPickerClear()},onAddButtonClick:function onAddButtonClick(){return o.onAddGlobalButtonClick()}};this.colorPicker=new C.default(i),this.$pickerButton=jQuery(this.colorPicker.picker.getRoot().button),this.addTipsyToPickerButton(),this.$pickerButton.on("click",(function(){return o.onPickerButtonClick()})),jQuery(this.colorPicker.picker.getRoot().root).addClass("elementor-control-unit-1 elementor-control-tag-area")}},{key:"addTipsyToPickerButton",value:function addTipsyToPickerButton(){var t=this;this.$pickerButton.tipsy({title:function title(){var o=t.getCurrentValue();return t.getGlobalKey()&&!o&&(o="".concat(elementor.translate("invalid")," ").concat(elementor.translate("global_color"))),o||""},offset:4,gravity:function gravity(){return"s"}})}},{key:"getGlobalMeta",value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get("name"),controlType:"colors",route:"panel/global/global-colors"}}},{key:"getNameAlreadyExistsMessage",value:function getNameAlreadyExistsMessage(){return'<i class="eicon-info-circle"></i> '+elementor.translate("global_color_already_exists")}},{key:"getConfirmTextMessage",value:function getConfirmTextMessage(){return elementor.translate("global_color_confirm_text")}},{key:"getAddGlobalConfirmMessage",value:function getAddGlobalConfirmMessage(t){for(var o,i=elementor.translate("new_global_color"),r=this.getCurrentValue(),a=jQuery("<div>",{class:"e-global__confirm-message"}),l=jQuery("<div>",{class:"e-global__confirm-message-text"}),c=jQuery("<div>",{class:"e-global__confirm-input-wrapper"}),d=this.createColorPreviewBox(r),m=jQuery("<input>",{type:"text",name:"global-name",placeholder:i}).val(i),p=0,h=(0,u.default)(t);p<h.length;p++){var g=h[p];if(r===g.value){o=this.getNameAlreadyExistsMessage();break}if(i===g.title){o=this.getConfirmTextMessage();break}o=elementor.translate("global_color_confirm_text")}return l.html(o),c.append(d,m),a.append(l,c),a}},{key:"getGlobalCommand",value:function getGlobalCommand(){return"globals/colors"}},{key:"createGlobalItemMarkup",value:function createGlobalItemMarkup(t){var o=jQuery("<div>",{class:"e-global__preview-item e-global__color","data-global-id":t.id}),i=this.createColorPreviewBox(t.value),r=jQuery("<span>",{class:"e-global__color-title"}).html(t.title),a=jQuery("<span>",{class:"e-global__color-hex"}).html(t.value);return o.append(i,r,a),o}},{key:"createColorPreviewBox",value:function createColorPreviewBox(t){var o=jQuery("<div>",{class:"e-global__color-preview-container"}),i=jQuery("<div>",{class:"e-global__color-preview-color",style:"background-color: "+t}),r=jQuery("<div>",{class:"e-global__color-preview-transparent-bg"});return o.append(r,i),o}},{key:"getGlobalsList",value:(o=(0,l.default)(a.default.mark((function _callee(){var t;return a.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,$e.data.get(this.getGlobalCommand());case 2:return t=o.sent,o.abrupt("return",t.data);case 4:case"end":return o.stop()}}),_callee,this)}))),function getGlobalsList(){return o.apply(this,arguments)})},{key:"buildGlobalsList",value:function buildGlobalsList(t,o){var i=this;(0,u.default)(t).forEach((function(t){if(t.value){var r=i.createGlobalItemMarkup(t);o.append(r)}}))}},{key:"onPickerChange",value:function onPickerChange(){this.setValue(this.colorPicker.picker.getColor().toHEXA().toString()),this.isCustom||(this.triggerMethod("value:type:change"),this.colorPicker.toggleClearButtonState(!0),this.$el.hasClass("e-control-color--no-value")&&this.$el.removeClass("e-control-color--no-value"),this.isCustom=!0)}},{key:"onPickerClear",value:function onPickerClear(){this.isCustom=!1,this.setValue(""),this.triggerMethod("value:type:change"),this.applySavedValue(),this.colorPicker.toggleClearButtonState(!1)}},{key:"onPickerButtonClick",value:function onPickerButtonClick(){this.getGlobalKey()?this.triggerMethod("unset:global:value"):this.isGlobalActive()&&!this.getControlValue()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default"),this.colorPicker.toggleClearButtonState(!!this.getCurrentValue())}},{key:"onAddGlobalButtonClick",value:function onAddGlobalButtonClick(){var t=this;this.getGlobalsList().then((function(o){t.globalsList=o,t.triggerMethod("add:global:to:list",t.getAddGlobalConfirmMessage(o))}))}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.colorPicker&&this.colorPicker.destroy()}}]),_default}(y.default);o.default=b},function(t,o,i){"use strict";var r=i(0),a=r(i(28)),l=r(i(25));i(40),i(26);var u=i(422);t.exports=Marionette.Behavior.extend({tagView:null,listenerAttached:!1,initialize:function initialize(){this.listenerAttached||(this.listenTo(this.view.options.container.settings,"change:external:__dynamic__",this.onAfterExternalChange),this.listenerAttached=!0)},renderTools:function renderTools(){var t=this;if(!this.getOption("dynamicSettings").default){var o=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-dynamic-switcher"));o.on("click",(function(o){return t.onDynamicSwitcherClick(o)})),this.$el.find(".elementor-control-dynamic-switcher-wrapper").append(o),this.ui.dynamicSwitcher=o,"color"===this.view.model.get("type")&&(this.view.colorPicker?this.moveDynamicSwitcherToColorPicker():setTimeout((function(){return t.moveDynamicSwitcherToColorPicker()}))),this.ui.dynamicSwitcher.tipsy({title:function title(){return this.getAttribute("data-tooltip")},gravity:"s"})}},moveDynamicSwitcherToColorPicker:function moveDynamicSwitcherToColorPicker(){var t=this.view.colorPicker.$pickerToolsContainer;this.ui.dynamicSwitcher.removeClass("elementor-control-unit-1").addClass("e-control-tool"),t.append(this.ui.dynamicSwitcher)},toggleDynamicClass:function toggleDynamicClass(){this.$el.toggleClass("elementor-control-dynamic-value",this.isDynamicMode())},isDynamicMode:function isDynamicMode(){var t=this.view.container.settings.get("__dynamic__");return!(!t||!t[this.view.model.get("name")])},createTagsList:function createTagsList(){var t=_.groupBy(this.getOption("tags"),"group"),o=elementor.dynamicTags.getConfig("groups"),i=this.ui.tagsList=jQuery("<div>",{class:"elementor-tags-list"}),r=jQuery("<div>",{class:"elementor-tags-list__inner"});if(i.append(r),jQuery.each(o,(function(o){var i=t[o];if(i){var a=jQuery("<div>",{class:"elementor-tags-list__group-title"}).text(this.title);r.append(a),i.forEach((function(t){var o=jQuery("<div>",{class:"elementor-tags-list__item"});o.text(t.title).attr("data-tag-name",t.name),r.append(o)}))}})),!elementor.helpers.hasPro()&&(0,l.default)(t).length){var a=Marionette.Renderer.render("#tmpl-elementor-dynamic-tags-promo");r.append(a)}r.on("click",".elementor-tags-list__item",this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(i)},getTagsList:function getTagsList(){return this.ui.tagsList||this.createTagsList(),this.ui.tagsList},toggleTagsList:function toggleTagsList(){var t=this.getTagsList();if(t.is(":visible"))t.hide();else{var o=elementorCommon.config.isRTL?"left":"right";t.show().position({my:"".concat(o," top"),at:"".concat(o," bottom+5"),of:this.ui.dynamicSwitcher})}},setTagView:function setTagView(t,o,i){this.tagView&&this.tagView.destroy();var r=this.tagView=new u({id:t,name:o,settings:i,controlName:this.view.model.get("name"),dynamicSettings:this.getOption("dynamicSettings")}),a=this.view.options.container,l=a.controls[r.options.controlName].label;r.options.container=new elementorModules.editor.Container({type:"dynamic",id:t,model:r.model,settings:r.model,view:r,parent:a,label:a.label+" "+l,controls:r.model.options.controls,renderer:a}),r.render(),this.$el.find(".elementor-control-tag-area").after(r.el),this.listenTo(r,"remove",this.onTagViewRemove.bind(this))},setDefaultTagView:function setDefaultTagView(){var t=elementor.dynamicTags.tagTextToTagData(this.getDynamicValue());this.setTagView(t.id,t.name,t.settings)},tagViewToTagText:function tagViewToTagText(){var t=this.tagView;return elementor.dynamicTags.tagDataToTagText(t.getOption("id"),t.getOption("name"),t.model)},getDynamicValue:function getDynamicValue(){return this.view.container.dynamic.get(this.view.model.get("name"))},destroyTagView:function destroyTagView(){this.tagView&&(this.tagView.destroy(),this.tagView=null)},showPromotion:function showPromotion(){var t=elementor.translate("dynamic_promotion_message");elementor.promotion.showDialog({headerMessage:elementor.translate("dynamic_content"),message:t,top:"-10",element:this.ui.dynamicSwitcher,actionURL:elementor.config.dynamicPromotionURL})},onRender:function onRender(){this.$el.addClass("elementor-control-dynamic"),this.renderTools(),this.toggleDynamicClass(),this.isDynamicMode()&&this.setDefaultTagView()},onDynamicSwitcherClick:function onDynamicSwitcherClick(t){t.stopPropagation(),this.getOption("tags").length?this.toggleTagsList():this.showPromotion()},onTagsListItemClick:function onTagsListItemClick(t){var o=jQuery(t.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),o.data("tagName"),{}),this.view.getGlobalKey()&&this.view.triggerMethod("unset:global:value"),this.isDynamicMode()?$e.run("document/dynamic/settings",{container:this.view.options.container,settings:(0,a.default)({},this.view.model.get("name"),this.tagViewToTagText())}):$e.run("document/dynamic/enable",{container:this.view.options.container,settings:(0,a.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass(),this.toggleTagsList(),this.tagView.getTagConfig().settings_required&&this.tagView.showSettingsPopup()},onTagViewRemove:function onTagViewRemove(){$e.run("document/dynamic/disable",{container:this.view.options.container,settings:(0,a.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass()},onAfterExternalChange:function onAfterExternalChange(){this.destroyTagView(),this.isDynamicMode()&&this.setDefaultTagView(),this.toggleDynamicClass()},onDestroy:function onDestroy(){this.destroyTagView(),this.ui.tagsList&&this.ui.tagsList.remove()}})},function(t,o,i){"use strict";var r=i(0);i(40);var a=r(i(56)),l=i(423);t.exports=Marionette.ItemView.extend({className:"elementor-dynamic-cover elementor-input-style",tagControlsStack:null,templateHelpers:function templateHelpers(){var t={};return this.model&&(t.controls=this.model.options.controls),t},ui:{remove:".elementor-dynamic-cover__remove"},events:function events(){var events={"click @ui.remove":"onRemoveClick"};return this.hasSettings()&&(events.click="onClick"),events},getTemplate:function getTemplate(){var t=this.getTagConfig(),o=Marionette.TemplateCache.get("#tmpl-elementor-control-dynamic-cover"),i=Marionette.Renderer.render(o,{hasSettings:this.hasSettings(),isRemovable:!this.getOption("dynamicSettings").default,title:t.title,content:t.panel_template});return Marionette.TemplateCache.prototype.compileTemplate(i.trim())},getTagConfig:function getTagConfig(){return elementor.dynamicTags.getConfig("tags."+this.getOption("name"))},initSettingsPopup:function initSettingsPopup(){var t={className:"elementor-tag-settings-popup",position:{my:"left top+5",at:"left bottom",of:this.$el,autoRefresh:!0}},o=elementorCommon.dialogsManager.createWidget("buttons",t);this.getSettingsPopup=function(){return o}},hasSettings:function hasSettings(){return!!(0,a.default)(this.getTagConfig().controls).length},showSettingsPopup:function showSettingsPopup(){this.tagControlsStack||this.initTagControlsStack();var t=this.getSettingsPopup();t.isVisible()||t.show()},initTagControlsStack:function initTagControlsStack(){this.tagControlsStack=new l({model:this.model,controls:this.model.controls,name:this.options.name,controlName:this.options.controlName,container:this.options.container,el:this.getSettingsPopup().getElements("message")[0]}),this.tagControlsStack.render()},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getOption("settings"),{controls:this.getTagConfig().controls})},initialize:function initialize(){this.initModel(),this.hasSettings()&&(this.initSettingsPopup(),this.listenTo(this.model,"change",this.render))},onClick:function onClick(){this.showSettingsPopup()},onRemoveClick:function onRemoveClick(t){t.stopPropagation(),this.destroy(),this.trigger("remove")},onDestroy:function onDestroy(){this.hasSettings()&&this.getSettingsPopup().destroy(),this.tagControlsStack&&this.tagControlsStack.destroy()}})},function(t,o,i){"use strict";var r=i(424);t.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:"content",template:_.noop,emptyView:r,isEmpty:function isEmpty(){return this.collection.length<2},childViewOptions:function childViewOptions(){return{container:this.options.container}},getNamespaceArray:function getNamespaceArray(){var t=elementor.getPanelView().getCurrentPageView(),o=t.getNamespaceArray();return o.push(t.activeSection),o.push(this.getOption("controlName")),o.push(this.getOption("name")),o},onRenderTemplate:function onRenderTemplate(){this.activateFirstSection()}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({className:"elementor-tag-controls-stack-empty",template:"#tmpl-elementor-tag-controls-stack-empty"})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"onReady",value:function onReady(){var t=_.extend({enableTime:!0,minuteIncrement:1},this.model.get("picker_options"));this.ui.input.flatpickr(t)}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.ui.input.flatpickr().destroy()}}]),_default}(i(127));o.default=d},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(213)),u=a(i(2)),c=a(i(3)),d=a(i(24)),m=a(i(16)),p=a(i(4)),h=a(i(5)),g=a(i(86)),v=a(i(320)),y=r(i(432)),C=r(i(437)),b=function(t){(0,p.default)(Component,t);var o=(0,h.default)(Component);function Component(){return(0,u.default)(this,Component),o.apply(this,arguments)}return(0,c.default)(Component,[{key:"__construct",value:function __construct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,d.default)((0,m.default)(Component.prototype),"__construct",this).call(this,t),this.documents={},this.currentDocument=null,this.saveInitialDocumentToCache()}},{key:"getNamespace",value:function getNamespace(){return"editor/documents"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(y)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(C)}},{key:"add",value:function add(t){var o=t.id;return this.documents[o]=t,t}},{key:"addDocumentByConfig",value:function addDocumentByConfig(t){return this.add(new v.default(t))}},{key:"get",value:function get(t){return void 0!==this.documents[t]&&this.documents[t]}},{key:"getCurrent",value:function getCurrent(){return this.currentDocument}},{key:"getCurrentId",value:function getCurrentId(){return this.currentDocument.id}},{key:"setCurrent",value:function setCurrent(t){if(void 0===this.documents[t.id])throw Error("The document with id: '".concat(t.id,"' does not exist/loaded"));this.currentDocument&&(this.currentDocument.editor.status="closed"),this.currentDocument=this.documents[t.id],this.currentDocument.editor.status="open",elementorCommon.ajax.addRequestConstant("editor_post_id",t.id)}},{key:"isCurrent",value:function isCurrent(t){return(0,l.default)(t)===this.currentDocument.id}},{key:"unsetCurrent",value:function unsetCurrent(){this.currentDocument=null,elementorCommon.ajax.addRequestConstant("editor_post_id",null)}},{key:"request",value:function request(t){return elementorCommon.ajax.load(this.getRequestArgs(t),!0)}},{key:"invalidateCache",value:function invalidateCache(t){elementorCommon.ajax.invalidateCache(this.getRequestArgs(t))}},{key:"getRequestArgs",value:function getRequestArgs(t){return t=(0,l.default)(t),{action:"get_document_config",unique_id:"document-".concat(t),data:{id:t},success:function success(t){return t},error:function error(t){var o;_.isString(t)?o=t:t.statusText?(o=elementor.createAjaxErrorMessage(t),0===t.readyState&&(o+=" "+elementor.translate("Cannot load editor"))):t[0]&&t[0].code&&(o=elementor.translate("server_error")+" "+t[0].code),alert(o)}}}},{key:"saveInitialDocumentToCache",value:function saveInitialDocumentToCache(){var t=elementor.config.initial_document;elementorCommon.ajax.addRequestCache(this.getRequestArgs(t.id),t)}}]),Component}(g.default);o.default=b},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(85));i(26);var l=r(i(2)),u=r(i(3)),c=r(i(28)),d=r(i(428)),m=function(){function HistoryManager(t){(0,l.default)(this,HistoryManager),(0,c.default)(this,"currentItemID",null),(0,c.default)(this,"items",new Backbone.Collection([],{model:d.default})),(0,c.default)(this,"active",!0),(0,c.default)(this,"translations",{add:elementor.translate("added"),change:elementor.translate("edited"),disable:elementor.translate("disabled"),duplicate:elementor.translate("duplicate"),enable:elementor.translate("enabled"),move:elementor.translate("moved"),paste:elementor.translate("pasted"),paste_style:elementor.translate("style_pasted"),remove:elementor.translate("removed"),reset_style:elementor.translate("style_reset"),reset_settings:elementor.translate("settings_reset")}),this.document=t,this.currentItem=new Backbone.Model({id:0})}return(0,u.default)(HistoryManager,[{key:"getActionLabel",value:function getActionLabel(t){return this.translations[t.type]?this.translations[t.type]:t.type}},{key:"navigate",value:function navigate(t){var o=this.items.find((function(t){return"not_applied"===t.get("status")})),i=this.items.indexOf(o),r=t?i-1:i+1;!t&&!o||r<0||r>=this.items.length||this.doItem(r)}},{key:"setActive",value:function setActive(t){this.active=t}},{key:"getActive",value:function getActive(t){return this.active}},{key:"getItems",value:function getItems(){return this.items}},{key:"startItem",value:function startItem(t){return this.currentItemID=this.addItem(t),this.currentItemID}},{key:"endItem",value:function endItem(t){this.currentItemID===t&&(this.currentItemID=null)}},{key:"deleteItem",value:function deleteItem(t){var o=this.items.findWhere({id:t});this.items.remove(o),this.currentItemID=null}},{key:"isItemStarted",value:function isItemStarted(){return null!==this.currentItemID}},{key:"getCurrentId",value:function getCurrentId(){return this.currentItemID}},{key:"addItem",value:function addItem(t){if(this.getActive()){for(this.items.length||this.items.add({status:"not_applied",title:elementor.translate("editing_started"),subTitle:"",action:"",editing_started:!0});this.items.length&&"applied"===this.items.first().get("status");)this.items.shift();var o=this.currentItemID?this.currentItemID:(new Date).getTime(),i=this.items.findWhere({id:o});return i||(i=new d.default({id:o,title:t.title,subTitle:t.subTitle,action:this.getActionLabel(t),type:t.type}),this.startItemTitle="",this.startItemAction=""),i.get("items").add(t,{at:0}),this.items.add(i,{at:0}),this.updateCurrentItem(i),o}}},{key:"doItem",value:function doItem(t){this.setActive(!1);var o=this.items.at(t);"not_applied"===o.get("status")?this.undoItem(t):this.redoItem(t),this.setActive(!0);var i,r=elementor.getPanelView().getCurrentPageView().getOption("editedElementView");if($e.routes.isPartOf("panel/editor")&&r)r.isDestroyed?$e.route("panel/history/actions"):i=r;else if(o instanceof Backbone.Model&&o.get("items").length){var l=o.get("items").first();if(l.get("restore")){var u="sub-add"===l.get("type")?l.get("data").containerToRestore:l.get("container")||l.get("containers");(0,a.default)(u)&&(u=u[0]),u&&(i=u.lookup().view)}}$e.internal("document/save/set-is-modified",{status:o.get("id")!==this.document.editor.lastSaveHistoryId}),this.updateCurrentItem(o),i&&!elementor.helpers.isInViewport(i.$el[0],elementor.$previewContents.find("html")[0])&&elementor.helpers.scrollToView(i.$el)}},{key:"undoItem",value:function undoItem(t){for(var o=0;o<t;o++){var i=this.items.at(o);"not_applied"===i.get("status")&&(i.get("items").each((function(t){var o=t.get("restore");o&&o(t)})),i.set("status","applied"))}}},{key:"redoItem",value:function redoItem(t){for(var o=this.items.length-1;o>=t;o--){var i=this.items.at(o);if("applied"===i.get("status")){var r=_.toArray(i.get("items").models).reverse();_(r).each((function(t){var o=t.get("restore");o&&o(t,!0)})),i.set("status","not_applied")}}}},{key:"updateCurrentItem",value:function updateCurrentItem(t){this.currentItem=t,this.updatePanelPageCurrentItem()}},{key:"updatePanelPageCurrentItem",value:function updatePanelPageCurrentItem(){$e.routes.is("panel/history/actions")&&elementor.getPanelView().getCurrentPageView().getCurrentTab().updateCurrentItem()}}]),HistoryManager}();o.default=m},function(t,o,i){"use strict";t.exports=Backbone.Model.extend({defaults:{id:0,type:"",status:"not_applied",title:"",subTitle:"",action:"",history:{}},initialize:function initialize(){this.set("items",new Backbone.Collection)}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(28)),c=i(430),d=function(){function RevisionsManager(t){(0,a.default)(this,RevisionsManager),(0,u.default)(this,"document",void 0),(0,u.default)(this,"revisions",void 0),this.document=t}return(0,l.default)(RevisionsManager,[{key:"getItems",value:function getItems(){return this.revisions}},{key:"requestRevisions",value:function requestRevisions(t){var o=this;this.revisions?t(this.revisions):elementorCommon.ajax.addRequest("get_revisions",{success:function success(i){o.revisions=new c(i),o.revisions.on("update",o.onRevisionsUpdate.bind(o)),t(o.revisions)}})}},{key:"setEditorData",value:function setEditorData(t){elementor.getPreviewView().collection.reset(t)}},{key:"getRevisionDataAsync",value:function getRevisionDataAsync(t,o){return _.extend(o,{data:{id:t}}),elementorCommon.ajax.addRequest("get_revision_data",o)}},{key:"addRevisions",value:function addRevisions(t){var o=this;this.requestRevisions((function(){t.forEach((function(t){var i=o.revisions.findWhere({id:t.id});i&&o.revisions.remove(i,{silent:!0}),o.revisions.add(t,{silent:!0})})),o.revisions.trigger("update")}))}},{key:"deleteRevision",value:function deleteRevision(t,o){var i={data:{id:t.get("id")},success:function success(){o.success&&o.success(),t.destroy()}};o.error&&(i.error=o.error),elementorCommon.ajax.addRequest("delete_revision",i)}},{key:"onRevisionsUpdate",value:function onRevisionsUpdate(){$e.routes.is("panel/history/revisions")&&$e.routes.refreshContainer("panel")}}]),RevisionsManager}();o.default=d},function(t,o,i){"use strict";var r=i(431);t.exports=Backbone.Collection.extend({model:r,comparator:function comparator(t){return-t.get("timestamp")}})},function(t,o,i){"use strict";var r;(r=Backbone.Model.extend()).prototype.sync=function(){return null},t.exports=r},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Close",{enumerable:!0,get:function get(){return a.Close}}),r(o,"Open",{enumerable:!0,get:function get(){return l.Open}}),r(o,"Preview",{enumerable:!0,get:function get(){return u.Preview}}),r(o,"Switch",{enumerable:!0,get:function get(){return c.Switch}});var a=i(433),l=i(434),u=i(435),c=i(436)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(83));i(66);var l=r(i(84)),u=r(i(2)),c=r(i(3)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(Close,t);var o,i=(0,m.default)(Close);function Close(){return(0,u.default)(this,Close),i.apply(this,arguments)}return(0,c.default)(Close,[{key:"validateArgs",value:function validateArgs(t){this.requireArgument("id",t)}},{key:"apply",value:(o=(0,l.default)(a.default.mark((function _callee(t){var o,i,r,l,u;return a.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(o=t.id,i=t.mode,r=t.onClose,"closed"!==(l=elementor.documents.get(o)).editor.status){a.next=3;break}return a.abrupt("return",jQuery.Deferred().resolve());case 3:if(i||!l.editor.isChanged&&!l.isDraft()){a.next=7;break}return u=jQuery.Deferred(),this.getConfirmDialog(u).show(),a.abrupt("return",u.promise());case 7:a.t0=i,a.next="autosave"===a.t0?10:"save"===a.t0?13:"discard"===a.t0?16:19;break;case 10:return a.next=12,$e.run("document/save/auto");case 12:return a.abrupt("break",19);case 13:return a.next=15,$e.run("document/save/update");case 15:return a.abrupt("break",19);case 16:return a.next=18,$e.run("document/save/discard",{document:l});case 18:return a.abrupt("break",19);case 19:if($e.internal("editor/documents/unload",{document:l}),!r){a.next=23;break}return a.next=23,r(l);case 23:return a.abrupt("return",jQuery.Deferred().resolve());case 24:case"end":return a.stop()}}),_callee,this)}))),function apply(t){return o.apply(this,arguments)})},{key:"getConfirmDialog",value:function getConfirmDialog(t){var o=this;return this.confirmDialog||(this.confirmDialog=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-document-save-on-close",headerMessage:elementor.translate("Save Changes"),message:elementor.translate("Would you like to save the changes you've made?"),position:{my:"center center",at:"center center"},strings:{confirm:elementor.translate("Save"),cancel:elementor.translate("Discard")},onHide:function onHide(){_.defer((function(){o.args.mode||t.reject("Close document has been canceled.")}))},onConfirm:function onConfirm(){o.args.mode="save",$e.run("editor/documents/close",o.args).then((function(){t.resolve()}))},onCancel:function onCancel(){o.args.mode="discard",$e.run("editor/documents/close",o.args).then((function(){t.resolve()}))}})),this.confirmDialog}}]),Close}(r(i(23)).default);o.Close=p;var h=p;o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0,i(26);var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"validateArgs",value:function validateArgs(t){this.requireArgument("id",t)}},{key:"apply",value:function apply(t){var o=t.id,i=elementor.documents.getCurrent();return i&&o===i.id?jQuery.Deferred().resolve():(elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(o)).addClass("loading"),elementor.documents.request(o).then((function(t){elementorCommon.elements.$body.addClass("elementor-editor-".concat(t.type)),$e.internal("editor/documents/load",{config:t})})).always((function(){elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(o)).removeClass("loading")})))}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Preview=void 0;var a=r(i(83));i(66);var l=r(i(84)),u=r(i(2)),c=r(i(3)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(Preview,t);var o,i=(0,m.default)(Preview);function Preview(){return(0,u.default)(this,Preview),i.apply(this,arguments)}return(0,c.default)(Preview,[{key:"validateArgs",value:function validateArgs(t){this.requireArgument("id",t)}},{key:"apply",value:(o=(0,l.default)(a.default.mark((function _callee(t){var o,i,r,l;return a.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(o=t.id,i=$e.components.get("document/save"),r=i.footerSaver,!(l=elementor.documents.get(o)).editor.isChanged){a.next=4;break}return a.next=4,$e.run("document/save/auto",{force:!0});case 4:r.previewWindow=open(l.config.urls.wp_preview,"wp-preview-".concat(l.id));case 5:case"end":return a.stop()}}),_callee)}))),function apply(t){return o.apply(this,arguments)})}]),Preview}(r(i(23)).default);o.Preview=p;var h=p;o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Switch=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Switch,t);var o=(0,c.default)(Switch);function Switch(){return(0,a.default)(this,Switch),o.apply(this,arguments)}return(0,l.default)(Switch,[{key:"validateArgs",value:function validateArgs(t){this.requireArgument("id",t)}},{key:"apply",value:function apply(t){var o=t.id,i=t.mode,r=t.onClose;return $e.run("editor/documents/close",{id:elementor.documents.getCurrentId(),mode:i,onClose:r}).then((function(){return $e.run("editor/documents/open",{id:o})}))}}]),Switch}(r(i(23)).default);o.Switch=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"AttachPreview",{enumerable:!0,get:function get(){return a.AttachPreview}}),r(o,"Load",{enumerable:!0,get:function get(){return l.Load}}),r(o,"Unload",{enumerable:!0,get:function get(){return u.Unload}});var a=i(438),l=i(439),u=i(441)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.AttachPreview=void 0,i(26);var a=r(i(137)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=function(t){(0,c.default)(AttachPreview,t);var o=(0,d.default)(AttachPreview);function AttachPreview(){return(0,l.default)(this,AttachPreview),o.apply(this,arguments)}return(0,u.default)(AttachPreview,[{key:"apply",value:function apply(){var t=this,o=elementor.documents.getCurrent();return $e.data.get("globals/index").then((function(){return elementor.trigger("globals:loaded"),t.attachDocumentToPreview(o)})).then((function(){elementor.toggleDocumentCssFiles(o,!1),elementor.onEditModeSwitched(),elementor.checkPageStatus(),elementor.trigger("document:loaded",o),$e.internal("panel/open-default",{refresh:!0})}))}},{key:"attachDocumentToPreview",value:function attachDocumentToPreview(t){return new a.default((function(o,i){return t?t.config.elements?(t.$element=elementor.$previewContents.find(".elementor-"+t.id),t.$element.length?(t.$element.addClass("elementor-edit-area elementor-edit-mode"),t.id!==elementor.config.initial_document.id&&elementor.$previewElementorEl.addClass("elementor-embedded-editor"),elementor.initElements(),elementor.initPreviewView(t),t.container.view=elementor.getPreviewView(),t.container.model.attributes.elements=elementor.elements,elementor.helpers.scrollToView(t.$element),t.$element.addClass("elementor-edit-area-active").removeClass("elementor-editor-preview"),void o()):(elementor.onPreviewElNotFound(),i())):o():i()}))}}]),AttachPreview}(r(i(203)).default);o.AttachPreview=m;var p=m;o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Load=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(203)),m=r(i(320)),p=r(i(440)),h=function(t){(0,u.default)(Load,t);var o=(0,c.default)(Load);function Load(){return(0,a.default)(this,Load),o.apply(this,arguments)}return(0,l.default)(Load,[{key:"validateArgs",value:function validateArgs(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgument("config",t)}},{key:"apply",value:function apply(t){var o=t.config;elementor.config.document=o,elementor.setAjax(),elementor.addWidgetsCache(o.widgets),elementor.templates.init();var i=new m.default(o);elementor.documents.add(i),elementor.documents.setCurrent(i),elementor.settings.page=new elementor.settings.modules.page(o.settings),i.container=elementor.settings.page.getEditedView().getContainer(),i.container.document=i,elementor.heartbeat=new p.default(i);var r=elementor.config.document.version&&elementor.helpers.compareVersions(elementor.config.document.version,"2.5.0","<");return!elementor.config.user.introduction.flexbox&&r&&elementor.showFlexBoxAttentionDialog(),elementor.loaded&&$e.data.get("globals/index").then((function(){return $e.internal("editor/documents/attach-preview")})),i}}]),Load}(d.default);o.Load=h;var g=h;o.default=g},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(28)),c=function(){function Heartbeat(t){var o=this;(0,a.default)(this,Heartbeat),(0,u.default)(this,"modal",null),(0,u.default)(this,"document",null),(0,u.default)(this,"getModal",(function(){return o.modal||(o.modal=o.initModal()),o.modal})),this.document=t,this.onSend=this.onSend.bind(this),this.onTick=this.onTick.bind(this),this.onRefreshNonce=this.onRefreshNonce.bind(this),this.bindEvents(),wp.heartbeat.connectNow()}return(0,l.default)(Heartbeat,[{key:"initModal",value:function initModal(){var t=elementorCommon.dialogsManager.createWidget("lightbox",{headerMessage:elementor.translate("take_over")});return t.addButton({name:"go_back",text:elementor.translate("go_back"),callback:function callback(){parent.history.go(-1)}}),t.addButton({name:"take_over",text:elementor.translate("take_over"),callback:function callback(){wp.heartbeat.enqueue("elementor_force_post_lock",!0),wp.heartbeat.connectNow()}}),t}},{key:"showLockMessage",value:function showLockMessage(t){this.getModal().setMessage(elementor.translate("dialog_user_taken_over",[t])).show()}},{key:"onSend",value:function onSend(t,o){o.elementor_post_lock={post_ID:this.document.id}}},{key:"onTick",value:function onTick(t,o){o.locked_user?(this.document.editor.isChanged&&$e.run("document/save/auto",{document:this.document}),this.showLockMessage(o.locked_user)):this.getModal().hide(),elementorCommon.ajax.addRequestConstant("_nonce",o.elementorNonce)}},{key:"onRefreshNonce",value:function onRefreshNonce(t,o){var i=o["elementor-refresh-nonces"];i&&(i.heartbeatNonce&&elementorCommon.ajax.addRequestConstant("_nonce",i.elementorNonce),i.heartbeatNonce&&(window.heartbeatSettings.nonce=i.heartbeatNonce))}},{key:"bindEvents",value:function bindEvents(){jQuery(document).on({"heartbeat-send":this.onSend,"heartbeat-tick":this.onTick,"heartbeat-tick.wp-refresh-nonces":this.onRefreshNonce})}},{key:"destroy",value:function destroy(){jQuery(document).off({"heartbeat-send":this.onSend,"heartbeat-tick":this.onTick,"heartbeat-tick.wp-refresh-nonces":this.onRefreshNonce})}}]),Heartbeat}();o.default=c},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Unload=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(203)),m=r(i(320)),p=function(t){(0,u.default)(Unload,t);var o=(0,c.default)(Unload);function Unload(){return(0,a.default)(this,Unload),o.apply(this,arguments)}return(0,l.default)(Unload,[{key:"validateArgs",value:function validateArgs(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgumentConstructor("document",m.default,t)}},{key:"apply",value:function apply(t){var o=t.document;o.id===elementor.config.document.id&&(elementor.elements=[],elementor.saver.stopAutoSave(o),elementor.channels.dataEditMode.trigger("switch","preview"),o.$element&&o.$element.removeClass("elementor-edit-area-active elementor-edit-mode").addClass("elementor-editor-preview"),elementorCommon.elements.$body.removeClass("elementor-editor-".concat(o.config.type)),elementor.settings.page.destroy(),elementor.heartbeat.destroy(),o.editor.status="closed",elementor.config.document={},elementor.documents.unsetCurrent(),elementor.trigger("document:unloaded",o))}}]),Unload}(d.default);o.Unload=p;var h=p;o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Component,t);var o=(0,c.default)(Component);function Component(){return(0,a.default)(this,Component),o.apply(this,arguments)}return(0,l.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/history"}},{key:"defaultTabs",value:function defaultTabs(){return{actions:{title:elementor.translate("actions")},revisions:{title:elementor.translate("revisions")}}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{actions:{keys:"ctrl+shift+h"}}}},{key:"renderTab",value:function renderTab(t){elementor.getPanelView().setPage("historyPage").showView(t)}},{key:"activate",value:function activate(){$e.components.activate(this.getTabRoute(this.currentTab))}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}}]),Component}(r(i(86)).default);o.default=d},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(4)),d=a(i(5)),m=a(i(86)),p=r(i(350)),h=function(t){(0,c.default)(Component,t);var o=(0,d.default)(Component);function Component(){return(0,l.default)(this,Component),o.apply(this,arguments)}return(0,u.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/history/actions"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(p)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{undo:{keys:"ctrl+z",exclude:["input"],scopes:["panel","navigator"]},redo:{keys:"ctrl+shift+z, ctrl+y",exclude:["input"],scopes:["panel","navigator"]}}}}]),Component}(m.default);o.default=h},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(4)),d=a(i(5)),m=a(i(86)),p=r(i(445)),h=r(i(448)),g=function(t){(0,c.default)(Component,t);var o=(0,d.default)(Component);function Component(){return(0,l.default)(this,Component),o.apply(this,arguments)}return(0,u.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/history/revisions"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(p)}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(h)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{up:{keys:"up",scopes:[this.getNamespace()]},down:{keys:"down",scopes:[this.getNamespace()]}}}},{key:"navigate",value:function navigate(t){elementor.documents.getCurrent().revisions.getItems().length>1&&elementor.getPanelView().getCurrentPageView().currentTab.navigate(t)}}]),Component}(m.default);o.default=g},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Down",{enumerable:!0,get:function get(){return a.Down}}),r(o,"Up",{enumerable:!0,get:function get(){return l.Up}});var a=i(446),l=i(447)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Down=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Down,t);var o=(0,c.default)(Down);function Down(){return(0,a.default)(this,Down),o.apply(this,arguments)}return(0,l.default)(Down,[{key:"apply",value:function apply(){this.component.navigate()}}]),Down}(r(i(23)).default);o.Down=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Up=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Up,t);var o=(0,c.default)(Up);function Up(){return(0,a.default)(this,Up),o.apply(this,arguments)}return(0,l.default)(Up,[{key:"apply",value:function apply(){this.component.navigate(!0)}}]),Up}(r(i(23)).default);o.Up=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"RevisionsAfterSave",{enumerable:!0,get:function get(){return a.RevisionsAfterSave}});var a=i(449)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.RevisionsAfterSave=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(RevisionsAfterSave,t);var o=(0,c.default)(RevisionsAfterSave);function RevisionsAfterSave(){return(0,a.default)(this,RevisionsAfterSave),o.apply(this,arguments)}return(0,l.default)(RevisionsAfterSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getId",value:function getId(){return"revisions-after-save"}},{key:"apply",value:function apply(t,o){var i=o.data,r=elementor.documents.getCurrent().revisions;i.latest_revisions&&r.addRevisions(i.latest_revisions),r.requestRevisions((function(){if(i.revisions_ids){var t=r.revisions.filter((function(t){return-1!==i.revisions_ids.indexOf(t.get("id"))}));r.revisions.reset(t)}}))}}]),RevisionsAfterSave}(r(i(224)).default);o.RevisionsAfterSave=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0),a=r(i(451)),l=r(i(452)),u=r(i(454)),c=i(455);t.exports=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel-history-page",regions:{content:"#elementor-panel-history-content"},ui:{tabs:".elementor-panel-navigation-tab"},regionViews:{},currentTab:null,document:null,initialize:function initialize(t){this.document=t.document||elementor.documents.getCurrent(),this.initRegionViews()},initRegionViews:function initRegionViews(){var t=this,o=this.document.history.getItems();this.regionViews={actions:{view:function view(){return c},options:{collection:o,history:this.document.history}},revisions:{view:function view(){var o=t.document.revisions.getItems();return o?1===o.length&&"current"===o.models[0].get("type")?u.default:l.default:a.default},options:{document:this.document}}}},getCurrentTab:function getCurrentTab(){return this.currentTab},showView:function showView(t){var o=this.regionViews[t],i=o.options||{},r=o.view();this.currentTab&&this.currentTab.constructor===r||(this.currentTab=new r(i),this.content.show(this.currentTab))}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-revisions-loading"}},{key:"id",value:function id(){return"elementor-panel-revisions-loading"}},{key:"onRender",value:function onRender(){this.options.document.revisions.requestRevisions((function(){setTimeout((function(){return $e.routes.refreshContainer("panel")}))}))}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";t.exports=Marionette.CompositeView.extend({id:"elementor-panel-revisions",template:"#tmpl-elementor-panel-revisions",childView:i(453),childViewContainer:"#elementor-revisions-list",ui:{discard:".elementor-panel-scheme-discard .elementor-button",apply:".elementor-panel-scheme-save .elementor-button"},events:{"click @ui.discard":"onDiscardClick","click @ui.apply":"onApplyClick"},isRevisionApplied:!1,currentPreviewId:null,currentPreviewItem:null,document:null,initialize:function initialize(t){this.document=t.document,this.collection=this.document.revisions.getItems(),this.listenTo(elementor.channels.editor,"saved",this.onEditorSaved),this.currentPreviewId=elementor.config.document.revisions.current_id},getRevisionViewData:function getRevisionViewData(t){var o=this;this.document.revisions.getRevisionDataAsync(t.model.get("id"),{success:function success(i){o.document.config.panel.has_elements&&o.document.revisions.setEditorData(i.elements),elementor.settings.page.model.set(i.settings),o.setRevisionsButtonsActive(!0),t.$el.removeClass("elementor-revision-item-loading"),o.enterReviewMode()},error:function error(i){t.$el.removeClass("elementor-revision-item-loading"),o.currentPreviewItem=null,o.currentPreviewId=null,alert(i)}})},setRevisionsButtonsActive:function setRevisionsButtonsActive(t){this.isDestroyed||this.ui.apply.add(this.ui.discard).prop("disabled",!t)},deleteRevision:function deleteRevision(t){var o=this;t.$el.addClass("elementor-revision-item-loading"),this.document.revisions.deleteRevision(t.model,{success:function success(){t.model.get("id")===o.currentPreviewId&&o.onDiscardClick(),o.currentPreviewId=null},error:function error(){t.$el.removeClass("elementor-revision-item-loading"),alert("An error occurred")}})},enterReviewMode:function enterReviewMode(){elementor.changeEditMode("review")},exitReviewMode:function exitReviewMode(){elementor.changeEditMode("edit")},navigate:function navigate(t){if(this.currentPreviewId&&this.currentPreviewItem&&!(this.children.length<=1)){var o=this.collection.indexOf(this.currentPreviewItem.model),i=t?o-1:o+1;i<0&&(i=this.collection.length-1),i>=this.collection.length&&(i=0),this.children.findByIndex(i).ui.detailsArea.trigger("click")}},onEditorSaved:function onEditorSaved(){this.exitReviewMode(),this.setRevisionsButtonsActive(!1),this.currentPreviewId=elementor.config.document.revisions.current_id},onApplyClick:function onApplyClick(){$e.internal("document/save/set-is-modified",{status:!0}),$e.run("document/save/auto",{force:!0}),this.isRevisionApplied=!0,this.currentPreviewId=null,this.document.history.getItems().reset()},onDiscardClick:function onDiscardClick(){this.document.config.panel.has_elements&&this.document.revisions.setEditorData(elementor.config.document.elements),$e.internal("document/save/set-is-modified",{status:this.isRevisionApplied}),this.isRevisionApplied=!1,this.setRevisionsButtonsActive(!1),this.currentPreviewId=null,this.exitReviewMode(),this.currentPreviewItem&&this.currentPreviewItem.$el.removeClass("elementor-revision-current-preview")},onDestroy:function onDestroy(){this.currentPreviewId&&this.currentPreviewId!==elementor.config.document.revisions.current_id&&this.onDiscardClick()},onRenderCollection:function onRenderCollection(){if(this.currentPreviewId){var t=this.collection.findWhere({id:this.currentPreviewId});t&&(this.currentPreviewItem=this.children.findByModelCid(t.cid),this.currentPreviewItem.$el.addClass("elementor-revision-current-preview"))}},onChildviewDetailsAreaClick:function onChildviewDetailsAreaClick(t){var o=this,i=t.model.get("id");i!==this.currentPreviewId&&(this.currentPreviewItem&&this.currentPreviewItem.$el.removeClass("elementor-revision-current-preview elementor-revision-item-loading"),t.$el.addClass("elementor-revision-current-preview elementor-revision-item-loading"),(null===this.currentPreviewId||elementor.config.document.revisions.current_id===this.currentPreviewId)&&elementor.saver.isEditorChanged()?$e.internal("document/save/save",{status:"autosave",onSuccess:function onSuccess(){o.getRevisionViewData(t)}}):this.getRevisionViewData(t),this.currentPreviewItem=t,this.currentPreviewId=i)}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-revisions-revision-item",className:"elementor-revision-item",ui:{detailsArea:".elementor-revision-item__details"},triggers:{"click @ui.detailsArea":"detailsArea:click"}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-revisions-no-revisions",id:"elementor-panel-revisions-no-revisions",className:"elementor-nerd-box"})},function(t,o,i){"use strict";var r=i(0);i(302),i(26);var a=r(i(456)),l=r(i(457));t.exports=Marionette.CompositeView.extend({id:"elementor-panel-history",template:"#tmpl-elementor-panel-history-tab",childView:a.default,childViewContainer:"#elementor-history-list",emptyView:l.default,currentItem:null,updateCurrentItem:function updateCurrentItem(){var t=this;this.children.length<=1||_.defer((function(){var o=t.collection.find((function(t){return"not_applied"===t.get("status")})),i=t.children.findByModel(o);if(i){t.currentItem&&t.currentItem.removeClass("elementor-history-item-current"),t.currentItem=i.$el,t.currentItem.addClass("elementor-history-item-current")}}))},onRender:function onRender(){this.updateCurrentItem()},onRenderEmpty:function onRenderEmpty(){this.$el.addClass("elementor-empty")},onChildviewClick:function onChildviewClick(t,o){if(t.$el!==this.currentItem){var i=o.model.collection.findIndex(o.model);$e.run("panel/history/actions/do",{index:i})}}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-history-item"}},{key:"className",value:function className(){return"elementor-history-item elementor-history-item-"+this.model.get("status")}},{key:"triggers",value:function triggers(){return{click:"click"}}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-history-no-items"}},{key:"id",value:function id(){return"elementor-panel-history-no-items"}},{key:"onDestroy",value:function onDestroy(){this._parent.$el.removeClass("elementor-empty")}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(459)),m=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"onInit",value:function onInit(){$e.components.register(new d.default({manager:this}))}}]),_default}(elementorModules.Module);o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(287)),m=r(i(460)),p=function(t){(0,u.default)(Component,t);var o=(0,c.default)(Component);function Component(){return(0,a.default)(this,Component),o.apply(this,arguments)}return(0,l.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"shortcuts"}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{"":{keys:"ctrl+?"}}}},{key:"getModalLayout",value:function getModalLayout(){return m.default}}]),Component}(d.default);o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=r(i(461)),h=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-hotkeys__modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:elementor.translate("keyboard_shortcuts")}}},{key:"initialize",value:function initialize(){for(var t,o=arguments.length,i=new Array(o),r=0;r<o;r++)i[r]=arguments[r];(t=(0,u.default)((0,c.default)(_default.prototype),"initialize",this)).call.apply(t,[this].concat(i)),this.showLogo(),this.showContentView()}},{key:"showContentView",value:function showContentView(){this.modalContent.show(new p.default)}}]),_default}(elementorModules.common.views.modal.Layout);o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(272)),m=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"id",value:function id(){return"elementor-hotkeys"}},{key:"templateHelpers",value:function templateHelpers(){return{environment:d.default}}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-hotkeys"}}]),_default}(Marionette.LayoutView);o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(60);var a=r(i(25));i(40);var l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=r(i(463)),p=i(464),h=r(i(470)),g=r(i(471)),v=i(327),y=function(t){(0,c.default)(_default,t);var o=(0,d.default)(_default);function _default(){return(0,l.default)(this,_default),o.apply(this,arguments)}return(0,u.default)(_default,[{key:"onInit",value:function onInit(){this.library=new h.default,this.store=new g.default,elementor.helpers.fetchFa4ToFa5Mapping(),this.cache={}}},{key:"getLayout",value:function getLayout(){var t=this;if(!this.layout){this.layout=new m.default;var o=this.layout.getModal();o.addButton({name:"insert_icon",text:elementor.translate("Insert"),classes:"elementor-button elementor-button-success",callback:function callback(){t.updateControlValue(),t.unMountIconManager()}}),o.on("show",this.onPickerShow.bind(this)).on("hide",this.unMountIconManager)}return this.layout}},{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectedIcon:{}}}},{key:"unMountIconManager",value:function unMountIconManager(){var t=document.querySelector("#elementor-icons-manager-modal .dialog-content");(0,v.unmountComponentAtNode)(t)}},{key:"loadIconLibraries",value:function loadIconLibraries(){this.cache.loaded||(elementor.config.icons.libraries.forEach((function(t){"all"!==t.name&&elementor.iconManager.library.initIconType(t)})),this.cache.loaded=!0)}},{key:"onPickerShow",value:function onPickerShow(){var t=this.getSettings("controlView"),o={GoPro:!0},i={recommended:t.model.get("recommended")||!1},r=t.getControlValue(),l=elementor.config.icons.libraries;if(r.library&&r.value||(r={value:"",library:""}),i.selected=r,this.setSettings("selectedIcon",r),i.recommended){var u=!1;l.forEach((function(t,o){"recommended"===t.name&&(u=!0,l[o].icons=i.recommended)})),u||l.unshift({name:"recommended",label:"Recommended",icons:i.recommended,labelIcon:"eicon-star-o",native:!0})}else l=l.filter((function(t){return"recommended"!==t.name}));l.forEach((function(t,i){-1===["all","recommended"].indexOf(t.name)&&elementor.iconManager.library.initIconType(t,(function(t){l[i]=t})),o[t.name]=!0})),i.loaded=o,i.icons=l;var c=r.library||l[0].name;if("svg"===r.library&&(c=l[0].name),(0,a.default)(l).some((function(t){return t===c}))||(c=l[0].name),i.recommended&&""!==r.library&&""!==r.value&&i.recommended.hasOwnProperty(r.library)){var d=l.filter((function(t){return r.library===t.name})),m=r.value.replace(d[0].displayPrefix+" "+d[0].prefix,"");i.recommended[r.library].some((function(t){return-1<t.indexOf(m)}))&&(c=l[0].name)}return i.customIconsURL=elementor.config.customIconsURL,i.activeTab=c,(0,p.renderIconManager)(i)}},{key:"updateControlValue",value:function updateControlValue(){var t=this.getSettings();t.controlView.setValue(t.selectedIcon),t.controlView.applySavedValue()}},{key:"show",value:function show(t){this.setSettings("controlView",t.view),this.getLayout().showModal(t)}}]),_default}(elementorModules.Module);o.default=y},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-icons-manager-modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:elementor.translate("icon_library")}}},{key:"initialize",value:function initialize(){for(var t,o=arguments.length,i=new Array(o),r=0;r<o;r++)i[r]=arguments[r];(t=(0,u.default)((0,c.default)(_default.prototype),"initialize",this)).call.apply(t,[this].concat(i)),this.showLogo()}}]),_default}(r(i(355)).default);o.default=p},function(t,o,i){"use strict";var r=i(0),a=i(38);i(1)(o,"__esModule",{value:!0}),o.renderIconManager=o.default=void 0;var l=a(i(12)),u=r(i(194)),c=r(i(214));i(40);var d=r(i(2)),m=r(i(3)),p=r(i(48)),h=r(i(4)),g=r(i(5)),v=r(i(28)),y=r(i(41)),C=i(327),b=r(i(465)),w=r(i(469)),k=function(t){(0,h.default)(IconsManager,t);var o=(0,g.default)(IconsManager);function IconsManager(){var t;(0,d.default)(this,IconsManager);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,v.default)((0,p.default)(t),"scrollViewRef",(0,l.createRef)()),(0,v.default)((0,p.default)(t),"state",{activeTab:t.props.activeTab,selected:{library:"",value:""},iconTabs:elementor.config.icons.libraries,loaded:t.props.loaded,filter:""}),(0,v.default)((0,p.default)(t),"cache",{}),(0,v.default)((0,p.default)(t),"loadAllTabs",(function(){var o=t.state.loaded;t.props.icons.forEach((function(i){o[i.name]||-1<["all","recommended"].indexOf(i.name)||elementor.iconManager.library.initIconType((0,c.default)({},i),(function(r){t.cache[r.name]=r,o[i.name]=!0}))})),o.all=!0,o.recommended=!0,t.setState({loaded:o})})),(0,v.default)((0,p.default)(t),"getActiveTab",(function(){var o=t.state.activeTab,i=t.state.loaded,r=t.props.icons;if(o||t.props.activeTab&&(o=t.props.activeTab),"GoPro"===o)return o;if(!i[o])return!1;var a=(0,c.default)({},r.filter((function(t){return t.name===o}))[0]);return i[o]?(0,c.default)({},a):"all"!==a.name||i.all?(elementor.iconManager.library.initIconType((0,c.default)({},a),(function(o){t.cache[o.name]=o,t.updateLoaded(o.name)})),!1):t.loadAllTabs()})),(0,v.default)((0,p.default)(t),"getIconTabsLinks",(function(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t.props.icons.map((function(i){if(o^t.isNativeTab(i))return"";var r=i.name===t.state.activeTab,a="elementor-icons-manager__tab-link";return r&&(a+=" elementor-active"),l.default.createElement("div",{className:a,key:i.name,onClick:function onClick(){r||t.setState({activeTab:i.name})}},l.default.createElement("i",{className:i.labelIcon}),i.label)}))})),(0,v.default)((0,p.default)(t),"getActiveTabIcons",(function(o){if(o.name)return t.getActiveTabIcons(o.name);if(t.cache[o])return t.cache[o].icons;if("recommended"===o)return t.state.iconTabs[0].icons;if("all"===o)return t.getAllIcons();if(!t.state.loaded[o]){var i=t.props.icons.filter((function(t){return o===t.name}));return elementor.iconManager.library.initIconType((0,c.default)({},i[0]),(function(o){t.cache[o.name]=o,t.updateLoaded(o.name)}))}return elementor.iconManager.store.getIcons(o)})),(0,v.default)((0,p.default)(t),"getAllIcons",(function(){if(t.cache.all)return t.cache.all.icons;var o={};return t.props.icons.forEach((function(i){"all"!==i.name&&"recommended"!==i.name&&(o[i.name]=t.getActiveTabIcons(i.name))})),t.cache.all={icons:o},o})),(0,v.default)((0,p.default)(t),"handleSearch",(function(o){var i=o.target.value;if(i&&""!==i){if(i=i.toLocaleLowerCase(),t.state.filter===i)return}else i="";t.setState({filter:i})})),(0,v.default)((0,p.default)(t),"setSelected",(function(o){elementor.iconManager.setSettings("selectedIcon",o),t.setState({selected:o})})),(0,v.default)((0,p.default)(t),"getSelected",(function(){var o=t.state.selected;return""===o.value&&t.props.selected&&t.props.selected.value&&(o={value:t.props.selected.value,library:t.props.selected.library}),o})),(0,v.default)((0,p.default)(t),"render",(function(){var o=t.getActiveTab(),i=o.name?o.name:o,r=t.props.showSearch,a=void 0===r||r,c=t.state.filter,d=t.getSelected();if("GoPro"!==o){if(!i||!t.state.loaded[i])return"Loading";o&&(o.icons=t.getActiveTabIcons(o))}return l.default.createElement(l.Fragment,null,l.default.createElement("div",{id:"elementor-icons-manager__sidebar",className:"elementor-templates-modal__sidebar"},l.default.createElement("div",{id:"elementor-icons-manager__tab-links"},t.getIconTabsLinks(),t.getUploadCustomButton(),t.getIconTabsLinks(!1))),l.default.createElement("div",{id:"elementor-icons-manager__main",className:"elementor-templates-modal__content"},"GoPro"===i?l.default.createElement(w.default,null):l.default.createElement(l.Fragment,null,a?t.getSearchHTML():"",l.default.createElement("div",{id:"elementor-icons-manager__tab__wrapper",ref:t.scrollViewRef},l.default.createElement("div",{id:"elementor-icons-manager__tab__title"},o.label),l.default.createElement("div",{id:"elementor-icons-manager__tab__content_wrapper"},l.default.createElement("input",{type:"hidden",name:"icon_value",id:"icon_value",value:d.value}),l.default.createElement("input",{type:"hidden",name:"icon_type",id:"icon_type",value:d.library}),t.state.loaded[o.name]?l.default.createElement(b.default,(0,u.default)({setSelected:t.setSelected,selected:d,filter:c,key:o.name,parentRef:t.scrollViewRef},o)):"Loading")))))})),t}return(0,m.default)(IconsManager,[{key:"updateLoaded",value:function updateLoaded(t){var o=this.state.loaded;o[t]=!0,this.setState({loaded:o})}},{key:"isNativeTab",value:function isNativeTab(t){return("all"===t.name||"recommended"===t.name||"fa-"===t.name.substr(0,3))&&t.native}},{key:"getUploadCustomButton",value:function getUploadCustomButton(){var t=this,o=function onClick(){"GoPro"!==t.state.activeTab&&t.setState({activeTab:"GoPro"})};return this.props.customIconsURL&&(o=function onClick(){window.open(t.props.customIconsURL,"_blank")}),l.default.createElement("div",{id:"elementor-icons-manager__upload"},l.default.createElement("div",{id:"elementor-icons-manager__upload__title"},elementor.translate("my_libraries")),l.default.createElement("button",{id:"elementor-icons-manager__upload__button",className:"elementor-button elementor-button-default",onClick:o},elementor.translate("upload")))}},{key:"getSearchHTML",value:function getSearchHTML(){return l.default.createElement("div",{id:"elementor-icons-manager__search"},l.default.createElement("input",{placeholder:"Filter by name...",onInput:this.handleSearch}),l.default.createElement("i",{className:"eicon-search"}))}}]),IconsManager}(l.Component),S=k;o.default=S;o.renderIconManager=function renderIconManager(t){var o=document.querySelector("#elementor-icons-manager-modal .dialog-content");return(0,C.render)(l.default.createElement(k,(0,u.default)({},t,{containerElement:o})),o)},k.propTypes={activeTab:y.default.any,customIconsURL:y.default.string,icons:y.default.any,loaded:y.default.any,modalView:y.default.any,recommended:y.default.oneOfType([y.default.bool,y.default.object]),selected:y.default.any,showSearch:y.default.bool}},function(t,o,i){"use strict";var r=i(0),a=i(38);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(12));i(139),i(182);var u=r(i(105));i(150),i(118),i(79);var c=r(i(466)),d=r(i(56));i(40);var m=r(i(299)),p=r(i(91)),h=r(i(2)),g=r(i(3)),v=r(i(48)),y=r(i(4)),C=r(i(5)),b=r(i(28)),w=r(i(41)),k=r(i(467)),S=r(i(468)),x=function(t){(0,y.default)(Tab,t);var o=(0,C.default)(Tab);function Tab(){var t;(0,h.default)(this,Tab);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,b.default)((0,v.default)(t),"componentDidMount",(function(){t.props.selected&&t.props.selected.value&&setTimeout((function(){var t=document.querySelector(".elementor-selected");t&&t.scrollIntoView(!1)}),0)})),(0,b.default)((0,v.default)(t),"handleFullIconList",(function(){var o=[];return(0,p.default)(t.props.icons).forEach((function(i){"recommended"!==i[0]&&(o=[].concat((0,m.default)(o),(0,m.default)(t.getIconsOfType(i[0],i[1]))))})),o.sort((function(t,o){return t.filter===o.filter?0:+(t.filter>o.filter)||-1}))})),(0,b.default)((0,v.default)(t),"getLibrary",(function(t){return elementor.config.icons.libraries.filter((function(o){return t===o.name}))})),(0,b.default)((0,v.default)(t),"handleRecommendedList",(function(){var o=[];return(0,p.default)(t.props.icons).forEach((function(i){var r=t.getLibrary(i[0])[0].icons,a={};i[1].forEach((function(t){r[t]&&(a[t]=r[t])})),o=[].concat((0,m.default)(o),(0,m.default)(t.getIconsOfType(i[0],a)))})),o})),(0,b.default)((0,v.default)(t),"getIconsComponentList",(function(){var o=[],i=t.props,r=i.name,a=i.icons,l=i.filter;switch(r){case"all":o=t.handleFullIconList();break;case"recommended":o=t.handleRecommendedList();break;default:o=t.getIconsOfType(r,a)}return l&&(o=(0,d.default)(o).filter((function(t){return t.props.data.name.toLowerCase().indexOf(l)>-1}))),o})),(0,b.default)((0,v.default)(t),"render",(function(){var o,i=t.getIconsComponentList(),r=-1,a=(0,c.default)(i.entries());try{for(a.s();!(o=a.n()).done;){var d=(0,u.default)(o.value,2),m=d[0];if(d[1].props.containerClass.includes("elementor-selected")){r=m;break}}}catch(t){a.e(t)}finally{a.f()}return l.default.createElement(k.default,{selectedIndex:r,items:i,parentRef:t.props.parentRef})})),t}return(0,g.default)(Tab,[{key:"getIconsOfType",value:function getIconsOfType(t,o){var i=this,r=this.props,a=r.selected,u=r.filter;return(0,p.default)(o).map((function(o){var r=o[1],c=o[0],d=r.displayPrefix+" "+r.selector,m="elementor-icons-manager__tab__item";a.value===d&&(m+=" elementor-selected");var p=m+t+"-"+c+u;return l.default.createElement(S.default,{key:p,library:t,keyID:c,containerClass:m,className:d,setSelectedHandler:i.props.setSelected,data:r})}))}}]),Tab}(l.Component);x.propTypes={data:w.default.any,filter:w.default.any,icons:w.default.object,name:w.default.string,selected:w.default.object,setSelected:w.default.func,parentRef:w.default.any};var T=x;o.default=T},function(t,o,i){var r=i(238),a=i(85),l=i(148),u=i(107),c=i(193);t.exports=function _createForOfIteratorHelper(t,o){var i;if(void 0===u||null==t[l]){if(a(t)||(i=c(t))||o&&t&&"number"==typeof t.length){i&&(t=i);var d=0,m=function F(){};return{s:m,n:function n(){return d>=t.length?{done:!0}:{done:!1,value:t[d++]}},e:function e(t){throw t},f:m}}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 p,h=!0,g=!1;return{s:function s(){i=r(t)},n:function n(){var t=i.next();return h=t.done,t},e:function e(t){g=!0,p=t},f:function f(){try{h||null==i.return||i.return()}finally{if(g)throw p}}}}},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(48)),d=a(i(4)),m=a(i(5)),p=a(i(28)),h=a(i(41)),g=r(i(12)),v=function(t){(0,d.default)(LazyIconList,t);var o=(0,m.default)(LazyIconList);function LazyIconList(){var t;(0,l.default)(this,LazyIconList);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,p.default)((0,c.default)(t),"state",{itemSize:{width:0,height:0},wrapperSize:{width:0,height:0},firstRowInView:0}),(0,p.default)((0,c.default)(t),"selectors",{item:".elementor-icons-manager__tab__item",wrapper:"elementor-icons-manager__tab__wrapper"}),(0,p.default)((0,c.default)(t),"attachScrollListener",(function(){var o=document.getElementById(t.selectors.wrapper);o&&o.addEventListener("scroll",t.handleScroll)})),(0,p.default)((0,c.default)(t),"maybeMeasureItem",(function(){if(!t.state.itemSize.width){var o=document.getElementById(t.selectors.wrapper),i=document.querySelector(t.selectors.item);if(i){var r={itemSize:{width:i.offsetWidth+20,height:i.offsetHeight+20},wrapperSize:{width:o.offsetWidth,height:o.clientHeight}};return t.setState(r,(function(){t.maybeScrollToSelected()}))}}})),(0,p.default)((0,c.default)(t),"maybeScrollToSelected",(function(){if(t.hasSelected()){var o=t.props.selectedIndex,i=t.state,r=i.wrapperSize,a=i.itemSize,l=Math.floor(r.width/a.width),u=(Math.ceil(o/l)-1)*a.height;setTimeout((function(){t.props.parentRef.current.scrollTo({top:u,left:0,behavior:"auto"})}),0)}})),(0,p.default)((0,c.default)(t),"handleScroll",(function(){t.clearDebounceScrollCallback(),t._debounce=setTimeout((function(){var o=document.getElementById(t.selectors.wrapper),i=t.state.itemSize;t.setState({firstRowInView:Math.floor(o.scrollTop/i.height)})}),10)})),(0,p.default)((0,c.default)(t),"render",(function(){var o=t.state,i=o.itemSize,r=o.wrapperSize,a=t.state.firstRowInView;if(!i.width)return t.renderFirstElementForMeasurement();var l=t.props.items,u=Math.floor(r.width/i.width),c=Math.ceil(l.length/u),d=Math.ceil(r.height/i.height)+4;d>c&&(d=c),a>c-d&&(a=c-d);var m=c-a-d,p=a*u,h=(a+d)*u-1,v=l.slice(p,h+1),y={height:"".concat(a*i.height,"px")},C={height:"".concat(m*i.height,"px")};return g.default.createElement(g.Fragment,null,g.default.createElement("div",{className:"elementor-icons-manager__tab__content__offset",style:y}),g.default.createElement("div",{id:"elementor-icons-manager__tab__content"},v),g.default.createElement("div",{className:"elementor-icons-manager__tab__content__tail",style:C}))})),t}return(0,u.default)(LazyIconList,[{key:"componentDidMount",value:function componentDidMount(){this.attachScrollListener(),this.maybeMeasureItem()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.clearDebounceScrollCallback();var t=document.getElementById(this.selectors.wrapper);t&&t.removeEventListener("scroll",this.handleScroll)}},{key:"clearDebounceScrollCallback",value:function clearDebounceScrollCallback(){clearTimeout(this._debounce)}},{key:"renderFirstElementForMeasurement",value:function renderFirstElementForMeasurement(){return g.default.createElement("div",{id:"elementor-icons-manager__tab__content"},this.props.items[0])}},{key:"hasSelected",value:function hasSelected(){return-1!==this.props.selectedIndex}}]),LazyIconList}(g.Component),y=v;o.default=y,v.propTypes={items:h.default.array,selectedIndex:h.default.number,parentRef:h.default.any}},function(t,o,i){"use strict";var r=i(0),a=i(38);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(12));i(40);var u=r(i(2)),c=r(i(48)),d=r(i(4)),m=r(i(5)),p=r(i(28)),h=r(i(41)),g=function(t){(0,d.default)(Icon,t);var o=(0,m.default)(Icon);function Icon(){var t;(0,u.default)(this,Icon);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,p.default)((0,c.default)(t),"setSelected",(function(){t.props.setSelectedHandler({value:t.props.data.displayPrefix+" "+t.props.data.selector,library:t.props.library})})),(0,p.default)((0,c.default)(t),"render",(function(){return l.default.createElement("div",{className:t.props.containerClass,key:t.props.keyID,onClick:t.setSelected,filter:t.props.data.filter},l.default.createElement("div",{className:"elementor-icons-manager__tab__item__content"},l.default.createElement("i",{className:"elementor-icons-manager__tab__item__icon "+t.props.className}),l.default.createElement("div",{className:"elementor-icons-manager__tab__item__name",title:t.props.data.name},t.props.data.name)))})),t}return Icon}(l.Component);o.default=g,g.propTypes={className:h.default.string,containerClass:h.default.string,data:h.default.object,keyID:h.default.string,library:h.default.string,selector:h.default.string,setSelectedHandler:h.default.func}},function(t,o,i){"use strict";var r=i(0),a=i(38);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(12)),u=r(i(2)),c=r(i(48)),d=r(i(4)),m=r(i(5)),p=r(i(28)),h=function(t){(0,d.default)(IconsGoPro,t);var o=(0,m.default)(IconsGoPro);function IconsGoPro(){var t;(0,u.default)(this,IconsGoPro);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,p.default)((0,c.default)(t),"render",(function(){return l.default.createElement("div",{id:"elementor-icons-manager__promotion"},l.default.createElement("i",{id:"elementor-icons-manager__promotion__icon",className:"eicon-nerd"}),l.default.createElement("div",{id:"elementor-icons-manager__promotion__text"},elementor.translate("icons_promotion")),l.default.createElement("a",{href:elementor.config.icons.goProURL,id:"elementor-icons-manager__promotion__link",className:"elementor-button elementor-button-default elementor-button-go-pro",target:"_blank",rel:"noopener noreferrer"},elementor.translate("go_pro")))})),t}return IconsGoPro}(l.Component);o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(25));i(60),i(81);var l=r(i(91)),u=r(i(47));i(40);var c=r(i(2)),d=r(i(3)),m=r(i(28)),p=function(){function _default(){var t=this;(0,c.default)(this,_default),(0,m.default)(this,"loaded",{}),(0,m.default)(this,"notifyCallback",null),(0,m.default)(this,"fetchIcons",(function(o){fetch(o.fetchJson,{mode:"cors"}).then((function(t){return t.json()})).then((function(i){return o.icons=i.icons,t.normalizeIconList(o)}))})),(0,m.default)(this,"runCallback",(function(o){return"function"!=typeof t.notifyCallback?o:t.notifyCallback(o)})),(0,m.default)(this,"initIconType",(function(o,i){t.notifyCallback=i;var r=elementor.iconManager.store;if(t.loaded[o.name])return o.icons=r.getIcons(o),t.runCallback(o);if(o.enqueue&&o.enqueue.forEach((function(t){elementor.helpers.enqueueEditorStylesheet(t)})),o.url&&elementor.helpers.enqueueEditorStylesheet(o.url),r.isValid(o)){var a=r.get(r.getKey(o));return t.normalizeIconList(a)}return o.icons&&o.icons.length?t.normalizeIconList(o):o.fetchJson?t.fetchIcons(o):void 0}))}return(0,d.default)(_default,[{key:"normalizeIconList",value:function normalizeIconList(t){var o,i={};jQuery.each(t.icons,(function(r,a){o=a,"object"===(0,u.default)(o)&&(o=(0,l.default)(o)[0][0]),o&&(i[o]={prefix:t.prefix,selector:t.prefix+o.trim(":"),name:elementorCommon.helpers.upperCaseWords(o).trim(":").split("-").join(" "),filter:o.trim(":"),displayPrefix:t.displayPrefix||t.prefix.replace("-","")})})),(0,a.default)(i).length&&(t.icons=i,this.loaded[t.name]=!0,elementor.iconManager.store.save(t),this.runCallback(t))}}]),_default}();o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(40);var a=r(i(2)),l=r(i(3)),u=function(){function Store(){(0,a.default)(this,Store)}return(0,l.default)(Store,[{key:"save",value:function save(t){elementorCommon.storage.set(Store.getKey(t),t)}},{key:"getIcons",value:function getIcons(t){var o=this.get(Store.getKey(t));return!(!o||!o.icons)&&o.icons}},{key:"get",value:function get(t){return elementorCommon.storage.get(t)}},{key:"isValid",value:function isValid(t){var o=this.get(Store.getKey(t));return!!o&&(o.ver===t.ver&&(o.icons&&o.icons.length))}}],[{key:"getKey",value:function getKey(t){var o=t.name?t.name:t;return"elementor_".concat(o,"_icons")}}]),Store}();o.default=u},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(359)),m=function(t){(0,u.default)(PanelMenu,t);var o=(0,c.default)(PanelMenu);function PanelMenu(){return(0,a.default)(this,PanelMenu),o.apply(this,arguments)}return(0,l.default)(PanelMenu,[{key:"initialize",value:function initialize(){this.collection=PanelMenu.getGroups()}},{key:"getArrowClass",value:function getArrowClass(){return"eicon-chevron-"+(elementorCommon.config.isRTL?"right":"left")}},{key:"onRender",value:function onRender(){elementor.getPanelView().getHeaderView().ui.menuIcon.removeClass("eicon-menu-bar").addClass(this.getArrowClass())}},{key:"onDestroy",value:function onDestroy(){elementor.getPanelView().getHeaderView().ui.menuIcon.removeClass(this.getArrowClass()).addClass("eicon-menu-bar")}}]),PanelMenu}(d.default);o.default=m,m.groups=null,m.initGroups=function(){m.groups=new Backbone.Collection([]),m.groups.add({name:"more",title:elementor.translate("more"),items:[]}),m.groups.add({name:"navigate_from_page",title:elementor.translate("navigate_from_page"),items:[{name:"view-page",icon:"eicon-preview-thin",title:elementor.translate("view_page"),type:"link",link:elementor.config.document.urls.permalink},{name:"exit-to-dashboard",icon:"eicon-wordpress-light",title:elementor.translate("exit_to_dashboard"),type:"link",link:elementor.config.document.urls.exit_to_dashboard}]}),elementor.config.user.is_administrator&&m.addAdminMenu()},m.addAdminMenu=function(){m.groups.add({name:"style",title:elementor.translate("settings"),items:[{name:"editor-preferences",icon:"eicon-user-preferences",title:elementor.translate("user_preferences"),type:"page",callback:function callback(){return $e.route("panel/editor-preferences")}}]},{at:0}),m.addItem({name:"finder",icon:"eicon-search",title:elementorCommon.translate("finder","finder"),callback:function callback(){return $e.route("finder")}},"navigate_from_page","view-page")},m.getGroups=function(){return m.groups||m.initGroups(),m.groups},m.addItem=function(t,o,i){d.default.addItem(m.getGroups(),t,o,i)}},function(t,o,i){"use strict";var r=i(474);t.exports=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-menu-group",className:"elementor-panel-menu-group",childView:r,childViewContainer:".elementor-panel-menu-items",initialize:function initialize(){this.collection=new Backbone.Collection(this.model.get("items"))},onChildviewClick:function onChildviewClick(t){var o=t.model.get("callback");_.isFunction(o)&&o.call(t)}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-menu-item",className:function className(){return"elementor-panel-menu-item elementor-panel-menu-item-"+this.model.get("name")},triggers:{click:{event:"click",preventDefault:!1}}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){var t;return(0,a.default)(this,_default),(t=o.call(this)).initDialog(),t}return(0,l.default)(_default,[{key:"initDialog",value:function initDialog(){var t=this;this.dialog=elementor.dialogsManager.createWidget("buttons",{id:"elementor-element--promotion__dialog",effects:{show:"show",hide:"hide"},hide:{onOutsideClick:!1},position:{my:(elementorCommon.config.isRTL?"right":"left")+"+5 top"}}),this.dialog.addButton({name:"action",text:elementor.translate("see_it_in_action"),callback:function callback(){open(t.actionURL,"_blank")}}),this.dialog.getElements("action").addClass("elementor-button elementor-button-success");var o=jQuery("<div>",{id:"elementor-element--promotion__dialog__title"}),i=jQuery("<i>",{class:"eicon-pro-icon"}),r=jQuery("<i>",{class:"eicon-close"});r.on("click",(function(){return t.dialog.hide()})),this.dialog.getElements("header").append(o,i,r),this.$promotionTitle=o}},{key:"showDialog",value:function showDialog(t){return this.dialog||this.initDialog(),this.actionURL=t.actionURL,this.$promotionTitle.text(t.headerMessage),this.dialog.setMessage(t.message).setSettings("position",{of:t.element,at:(elementorCommon.config.isRTL?"left":"right")+" top"+t.top}),this.dialog.show()}}]),_default}(elementorModules.Module);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(40);var a=r(i(214)),l=r(i(56)),u=r(i(2)),c=r(i(3)),d=r(i(48)),m=r(i(24)),p=r(i(16)),h=r(i(4)),g=r(i(5)),v=r(i(28)),y=r(i(477)),C=r(i(506)),b=r(i(508)),w=r(i(509)),k=r(i(511)),S=r(i(513)),x=r(i(293)),T=function(t){(0,h.default)(_default,t);var o=(0,g.default)(_default);function _default(){var t;(0,u.default)(this,_default);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,v.default)((0,d.default)(t),"loadingTriggers",{preview:!1,globals:!1}),(0,v.default)((0,d.default)(t),"variablesCSS",null),t}return(0,c.default)(_default,[{key:"addPanelPages",value:function addPanelPages(){elementor.getPanelView().addPage("kit_settings",{view:C.default,title:elementor.translate("site_settings")}),elementor.getPanelView().addPage("kit_menu",{view:b.default,title:elementor.translate("site_settings")})}},{key:"addPanelMenuItem",value:function addPanelMenuItem(){var t=elementor.modules.layouts.panel.pages.menu.Menu;t.addItem({name:"global-settings",icon:"eicon-global-settings",title:elementor.translate("site_settings"),type:"page",callback:function callback(){$e.run("panel/global/open",{route:$e.routes.getHistory("panel").reverse()[0].route})}},"style","editor-preferences"),t.addItem({name:"site-editor",icon:"eicon-theme-builder",title:elementor.translate("theme_builder"),type:"page",callback:function callback(){return $e.run("app/open")}},"style","editor-preferences")}},{key:"addHeaderBehavior",value:function addHeaderBehavior(t){return t.kit={behaviorClass:w.default},t}},{key:"addGlobalsBehavior",value:function addGlobalsBehavior(t,o){if(o.isGlobalActive){var i=o.isGlobalActive();return"color"===o.options.model.get("type")&&i&&(t.globals={behaviorClass:S.default,popoverTitle:elementor.translate("global_colors_title"),manageButtonText:elementor.translate("manage_global_colors"),tooltipText:elementor.translate("global_colors_info"),newGlobalConfirmTitle:elementor.translate("create_global_color")}),"popover_toggle"===o.options.model.get("type")&&"typography"===o.options.model.get("groupType")&&i&&(t.globals={behaviorClass:S.default,popoverTitle:elementor.translate("global_fonts_title"),manageButtonText:elementor.translate("manage_global_fonts"),tooltipText:elementor.translate("global_fonts_info"),newGlobalConfirmTitle:elementor.translate("create_global_font")}),t}}},{key:"renderGlobalVariables",value:function renderGlobalVariables(){var t=this;this.variablesCSS||(this.variablesCSS=new x.default({id:"e-kit-variables",settingsModel:new elementorModules.editor.elements.models.BaseSettings({},{})})),"kit"!==elementor.documents.getCurrent().config.type?$e.data.get("globals/index").then((function(o){var i=o.data;i.colors&&(0,l.default)(i.colors).forEach((function(o){var i=elementor.config.kit_config.design_system_controls.colors,r={_id:o.id,color:o.value};t.variablesCSS.addStyleRules(i,r,i,["{{WRAPPER}}"],["body"])})),i.typography&&(0,l.default)(i.typography).forEach((function(o){var i=elementor.config.kit_config.design_system_controls.typography,r=(0,a.default)({_id:o.id},o.value);o.value.typography_font_family&&elementor.helpers.enqueueFont(o.value.typography_font_family),t.variablesCSS.addStyleRules(i,r,i,["{{WRAPPER}}"],["body"])})),t.variablesCSS.addStyleToDocument()})):this.variablesCSS.removeStyleFromDocument()}},{key:"renderGlobalsDefaultCSS",value:function renderGlobalsDefaultCSS(){if(this.loadingTriggers.preview&&this.loadingTriggers.globals){var t=new x.default({id:"e-global-style"}),o=elementor.config.globals.defaults_enabled.colors,i=elementor.config.globals.defaults_enabled.typography;(o||i)&&((0,l.default)(elementor.widgetsCache).forEach((function(r){if(r.controls){var a=[],u={};(0,l.default)(r.controls).forEach((function(t){var l,c,d="color"===t.type,m="typography"===t.groupType;if(!(d&&!o||m&&!i)){var p=t;t.groupType&&(p=r.controls[t.groupPrefix+t.groupType]),(null===(l=t.global)||void 0===l?void 0:l.default)&&(u[t.name]=p.global.default),(null===(c=p.global)||void 0===c?void 0:c.default)&&a.push(t)}})),a.forEach((function(o){t.addControlStyleRules(o,r.controls,r.controls,["{{WRAPPER}}"],[".elementor-widget-"+r.widget_type],u)}))}})),t.addStyleToDocument())}}},{key:"onInit",value:function onInit(){var t=this;(0,m.default)((0,p.default)(_default.prototype),"onInit",this).call(this),elementorCommon.elements.$window.on("elementor:loaded",(function(){elementor.config.initial_document.panel.support_kit&&elementor.config.user.can_edit_kit&&($e.components.register(new y.default({manager:t})),elementor.addControlView("global-style-repeater",k.default),elementor.hooks.addFilter("panel/header/behaviors",t.addHeaderBehavior),elementor.hooks.addFilter("controls/base/behaviors",t.addGlobalsBehavior),elementor.on("preview:loaded",(function(){t.loadingTriggers.preview=!0,t.renderGlobalsDefaultCSS()})),elementor.on("document:loaded",(function(){t.renderGlobalVariables()})),elementor.once("globals:loaded",(function(){t.loadingTriggers.globals=!0,t.renderGlobalsDefaultCSS()})),elementor.on("panel:init",(function(){t.addPanelPages(),t.addPanelMenuItem()})))}))}}]),_default}(elementorModules.editor.utils.Module);o.default=T},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(48)),d=a(i(4)),m=a(i(5)),p=a(i(28)),h=r(i(478)),g=r(i(490)),v=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){var t;(0,l.default)(this,_default);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,p.default)((0,c.default)(t),"pages",{}),t}return(0,u.default)(_default,[{key:"getNamespace",value:function getNamespace(){return"panel/global"}},{key:"defaultTabs",value:function defaultTabs(){return{"global-colors":{title:elementor.translate("global_colors"),icon:"eicon-global-colors",helpUrl:"https://go.elementor.com/global-colors"},"global-typography":{title:elementor.translate("global_fonts"),icon:"eicon-t-letter",helpUrl:"https://go.elementor.com/global-fonts"},"theme-style-typography":{title:elementor.translate("typography"),icon:"eicon-typography-1",helpUrl:"https://go.elementor.com/global-theme-style-typography"},"theme-style-buttons":{title:elementor.translate("buttons"),icon:"eicon-button",helpUrl:"https://go.elementor.com/global-theme-style-buttons"},"theme-style-images":{title:elementor.translate("images"),icon:"eicon-image",helpUrl:"https://go.elementor.com/global-theme-style-images"},"theme-style-form-fields":{title:elementor.translate("form_fields"),icon:"eicon-form-horizontal",helpUrl:"https://go.elementor.com/global-theme-style-form-fields"},"settings-site-identity":{title:elementor.translate("site_identity"),icon:"eicon-site-identity",helpUrl:"https://go.elementor.com/global-site-identity"},"settings-background":{title:elementor.translate("background"),icon:"eicon-background",helpUrl:"https://go.elementor.com/global-background"},"settings-layout":{title:elementor.translate("layout"),icon:"eicon-layout-settings",helpUrl:"https://go.elementor.com/global-layout"},"settings-lightbox":{title:elementor.translate("lightbox"),icon:"eicon-lightbox-expand",helpUrl:"https://go.elementor.com/global-lightbox"},"settings-custom-css":{title:elementor.translate("custom_css"),icon:"eicon-custom-css",helpUrl:"https://go.elementor.com/global-custom-css"}}}},{key:"defaultRoutes",value:function defaultRoutes(){return{menu:function menu(){elementor.getPanelView().setPage("kit_menu")}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(g)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{back:{keys:"esc",scopes:["panel"],dependency:function dependency(){return elementor.documents.isCurrent(elementor.config.kit_id)&&!jQuery(".dialog-widget:visible").length}}}}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(h)}},{key:"renderTab",value:function renderTab(t){elementor.getPanelView().setPage("kit_settings").content.currentView.activateTab(t)}}]),_default}($e.modules.ComponentBase);o.default=v},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"KitGlobalsUpdateColors",{enumerable:!0,get:function get(){return a.KitGlobalsUpdateColors}}),r(o,"KitGlobalsUpdateTypography",{enumerable:!0,get:function get(){return l.KitGlobalsUpdateTypography}}),r(o,"KitDeleteGlobalsCache",{enumerable:!0,get:function get(){return u.KitDeleteGlobalsCache}}),r(o,"KitAfterSave",{enumerable:!0,get:function get(){return c.KitAfterSave}}),r(o,"KitUpdateLightboxPreview",{enumerable:!0,get:function get(){return d.KitUpdateLightboxPreview}}),r(o,"KitUpdateStretchContainer",{enumerable:!0,get:function get(){return m.KitUpdateStretchContainer}}),r(o,"KitSaveRouteHistory",{enumerable:!0,get:function get(){return p.KitSaveRouteHistory}}),r(o,"KitRemoveEditorActiveCSSDocumentsOpen",{enumerable:!0,get:function get(){return h.KitRemoveEditorActiveCSSDocumentsOpen}}),r(o,"KitRemoveEditorActiveCSSPanelOpen",{enumerable:!0,get:function get(){return g.KitRemoveEditorActiveCSSPanelOpen}}),r(o,"KitBackToRouteHistory",{enumerable:!0,get:function get(){return v.KitBackToRouteHistory}}),r(o,"KitRemovePreviewDeletedVariables",{enumerable:!0,get:function get(){return y.KitRemovePreviewDeletedVariables}});var a=i(479),l=i(480),u=i(481),c=i(482),d=i(483),m=i(484),p=i(485),h=i(486),g=i(487),v=i(488),y=i(489)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitGlobalsUpdateColors=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitGlobalsUpdateColors,t);var o=(0,c.default)(KitGlobalsUpdateColors);function KitGlobalsUpdateColors(){return(0,a.default)(this,KitGlobalsUpdateColors),o.apply(this,arguments)}return(0,l.default)(KitGlobalsUpdateColors,[{key:"getCommand",value:function getCommand(){return"globals/colors/create"}},{key:"getId",value:function getId(){return"globals-update-colors-/globals/colors/create"}},{key:"getRepeaterName",value:function getRepeaterName(){return"custom_colors"}},{key:"applyModel",value:function applyModel(t,o){t.color=o}}]),KitGlobalsUpdateColors}(r(i(360)).default);o.KitGlobalsUpdateColors=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitGlobalsUpdateTypography=void 0;var a=r(i(138)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=function(t){(0,c.default)(KitGlobalsUpdateTypography,t);var o=(0,d.default)(KitGlobalsUpdateTypography);function KitGlobalsUpdateTypography(){return(0,l.default)(this,KitGlobalsUpdateTypography),o.apply(this,arguments)}return(0,u.default)(KitGlobalsUpdateTypography,[{key:"getCommand",value:function getCommand(){return"globals/typography/create"}},{key:"getId",value:function getId(){return"globals-update-typography-/globals/typography/create"}},{key:"getRepeaterName",value:function getRepeaterName(){return"custom_typography"}},{key:"applyModel",value:function applyModel(t,o){(0,a.default)(t,o)}}]),KitGlobalsUpdateTypography}(r(i(360)).default);o.KitGlobalsUpdateTypography=m;var p=m;o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitDeleteGlobalsCache=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitDeleteGlobalsCache,t);var o=(0,c.default)(KitDeleteGlobalsCache);function KitDeleteGlobalsCache(){return(0,a.default)(this,KitDeleteGlobalsCache),o.apply(this,arguments)}return(0,l.default)(KitDeleteGlobalsCache,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getConditions",value:function getConditions(t){var o=t.status,i=t.document,r=void 0===i?elementor.documents.getCurrent():i;return"publish"===o&&"kit"===r.config.type}},{key:"getId",value:function getId(){return"document/save/save::update-globals-cache"}},{key:"apply",value:function apply(){$e.components.get("globals").refreshGlobalData()}}]),KitDeleteGlobalsCache}(r(i(224)).default);o.KitDeleteGlobalsCache=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitAfterSave=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitAfterSave,t);var o=(0,c.default)(KitAfterSave);function KitAfterSave(){return(0,a.default)(this,KitAfterSave),o.apply(this,arguments)}return(0,l.default)(KitAfterSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getConditions",value:function getConditions(t){var o=t.status,i=t.document,r=void 0===i?elementor.documents.getCurrent():i;return"publish"===o&&"kit"===r.config.type}},{key:"getId",value:function getId(){return"kit-footer-saver-after-save"}},{key:"apply",value:function apply(t){"publish"===t.status&&elementor.notifications.showToast({message:elementor.translate("kit_changes_updated"),buttons:[{name:"back_to_editor",text:elementor.translate("back_to_editor"),callback:function callback(){$e.run("panel/global/close")}}]})}}]),KitAfterSave}(r(i(224)).default);o.KitAfterSave=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitUpdateLightboxPreview=void 0;var a=r(i(105)),l=r(i(91)),u=r(i(2)),c=r(i(3)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(KitUpdateLightboxPreview,t);var o=(0,m.default)(KitUpdateLightboxPreview);function KitUpdateLightboxPreview(){return(0,u.default)(this,KitUpdateLightboxPreview),o.apply(this,arguments)}return(0,c.default)(KitUpdateLightboxPreview,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"kit-update-lightbox-preview"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(t){var o=t.settings;(0,l.default)(o).forEach((function(t){var o=(0,a.default)(t,2),i=o[0],r=o[1];-1!==i.indexOf("lightbox")&&(elementorFrontend.config.kit[i]=r)}))}}]),KitUpdateLightboxPreview}($e.modules.hookUI.After);o.KitUpdateLightboxPreview=p;var h=p;o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitUpdateStretchContainer=void 0;var a=r(i(105)),l=r(i(91)),u=r(i(2)),c=r(i(3)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(KitUpdateStretchContainer,t);var o=(0,m.default)(KitUpdateStretchContainer);function KitUpdateStretchContainer(){return(0,u.default)(this,KitUpdateStretchContainer),o.apply(this,arguments)}return(0,c.default)(KitUpdateStretchContainer,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"kit-update-stretch-container"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(t){var o=t.settings;(0,l.default)(o).forEach((function(t){var o=(0,a.default)(t,2),i=o[0],r=o[1];"stretched_section_container"===i&&(elementorFrontend.config.kit[i]=r,elementor.channels.editor.trigger("kit:change:stretchContainer"))}))}}]),KitUpdateStretchContainer}($e.modules.hookUI.After);o.KitUpdateStretchContainer=p;var h=p;o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitSaveRouteHistory=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitSaveRouteHistory,t);var o=(0,c.default)(KitSaveRouteHistory);function KitSaveRouteHistory(){return(0,a.default)(this,KitSaveRouteHistory),o.apply(this,arguments)}return(0,l.default)(KitSaveRouteHistory,[{key:"getCommand",value:function getCommand(){return"panel/global/open"}},{key:"getId",value:function getId(){return"save-route-history--/panel/global/open"}},{key:"getConditions",value:function getConditions(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.route}},{key:"apply",value:function apply(t){this.component.routeHistory=t}}]),KitSaveRouteHistory}(r(i(361)).default);o.KitSaveRouteHistory=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitRemoveEditorActiveCSSDocumentsOpen=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitRemoveEditorActiveCSSDocumentsOpen,t);var o=(0,c.default)(KitRemoveEditorActiveCSSDocumentsOpen);function KitRemoveEditorActiveCSSDocumentsOpen(){return(0,a.default)(this,KitRemoveEditorActiveCSSDocumentsOpen),o.apply(this,arguments)}return(0,l.default)(KitRemoveEditorActiveCSSDocumentsOpen,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"kit-remove-editor-active-css--editor/documents/open"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(){setTimeout((function(){elementorFrontend.elements.$body.removeClass("elementor-editor-active")}))}}]),KitRemoveEditorActiveCSSDocumentsOpen}($e.modules.hookUI.After);o.KitRemoveEditorActiveCSSDocumentsOpen=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitRemoveEditorActiveCSSPanelOpen=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitRemoveEditorActiveCSSPanelOpen,t);var o=(0,c.default)(KitRemoveEditorActiveCSSPanelOpen);function KitRemoveEditorActiveCSSPanelOpen(){return(0,a.default)(this,KitRemoveEditorActiveCSSPanelOpen),o.apply(this,arguments)}return(0,l.default)(KitRemoveEditorActiveCSSPanelOpen,[{key:"getCommand",value:function getCommand(){return"panel/open"}},{key:"getId",value:function getId(){return"kit-remove-editor-active-css--/panel/open"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(){setTimeout((function(){elementorFrontend.elements.$body.removeClass("elementor-editor-active")}))}}]),KitRemoveEditorActiveCSSPanelOpen}($e.modules.hookUI.After);o.KitRemoveEditorActiveCSSPanelOpen=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.KitBackToRouteHistory=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(KitBackToRouteHistory,t);var o=(0,c.default)(KitBackToRouteHistory);function KitBackToRouteHistory(){return(0,a.default)(this,KitBackToRouteHistory),o.apply(this,arguments)}return(0,l.default)(KitBackToRouteHistory,[{key:"getCommand",value:function getCommand(){return"panel/global/close"}},{key:"getId",value:function getId(){return"back-to-route-history-/panel/global/close"}},{key:"getConditions",value:function getConditions(){return this.component.routeHistory}},{key:"apply",value:function apply(){var t=this.component.routeHistory;delete this.component.routeHistory,t.container&&$e.data.get("globals/index").then((function(){t.container=t.container.lookup(),t.container.model.trigger("request:edit",{scrollIntoView:!0}),$e.route(t.route,{model:t.container.model,view:t.container.view})}))}}]),KitBackToRouteHistory}(r(i(361)).default);o.KitBackToRouteHistory=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.KitRemovePreviewDeletedVariables=void 0;var a=r(i(25)),l=r(i(56));i(40),i(139),i(182);var u=r(i(2)),c=r(i(3)),d=r(i(48)),m=r(i(4)),p=r(i(5)),h=r(i(28)),g=function(t){(0,m.default)(KitRemovePreviewDeletedVariables,t);var o=(0,p.default)(KitRemovePreviewDeletedVariables);function KitRemovePreviewDeletedVariables(){var t;(0,u.default)(this,KitRemovePreviewDeletedVariables);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=o.call.apply(o,[this].concat(r)),(0,h.default)((0,d.default)(t),"controls",["custom_colors","custom_typography"]),t}return(0,c.default)(KitRemovePreviewDeletedVariables,[{key:"getCommand",value:function getCommand(){return"document/repeater/remove"}},{key:"getId",value:function getId(){return"kit-remove-preview-deleted-variables"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(t){return this.controls.includes(t.name)&&"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(t){var o=this;this.component=$e.components.get("panel/global"),this.component.tempStyle=this.component.tempStyle||{};var i=t.containers,r=void 0===i?[t.container]:i,a="elementor-style-page-".concat(elementor.config.kit_id);r.forEach((function(i){var r=i.repeaters[t.name].children[t.index];(0,l.default)(elementor.$previewContents[0].styleSheets).filter((function(t){return a!==t.ownerNode.id&&t.ownerNode.innerHTML.includes(r.id)})).forEach((function(t){o.component.tempStyle[r.id]=o.extractVariables(t.cssRules,r.id)}))}))}},{key:"extractVariables",value:function extractVariables(t,o){var i={};return(0,l.default)(t).forEach((function(t){if(t.style){i[t.selectorText]={};for(var r=0;r<t.style.length;r++){var l=t.style[r],u=t.style[l];u.includes(o)&&(i[t.selectorText][l]=u)}(0,a.default)(i[t.selectorText]).forEach((function(o){t.style[o]=""}))}})),i}}]),KitRemovePreviewDeletedVariables}($e.modules.hookUI.Before);o.KitRemovePreviewDeletedVariables=g},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Back",{enumerable:!0,get:function get(){return a.Back}}),r(o,"Close",{enumerable:!0,get:function get(){return l.Close}}),r(o,"Exit",{enumerable:!0,get:function get(){return u.Exit}}),r(o,"Open",{enumerable:!0,get:function get(){return c.Open}});var a=i(491),l=i(492),u=i(504),c=i(505)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Back=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(48)),c=r(i(4)),d=r(i(5)),m=r(i(28)),p=function(t){(0,c.default)(Back,t);var o=(0,d.default)(Back);function Back(){var t;(0,a.default)(this,Back);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return t=o.call.apply(o,[this].concat(r)),(0,m.default)((0,u.default)(t),"confirmDialog",null),t}return(0,l.default)(Back,[{key:"apply",value:function apply(){if(1!==$e.routes.getHistory("panel").length)return $e.routes.back("panel");this.getCloseConfirmDialog(event).show()}},{key:"getCloseConfirmDialog",value:function getCloseConfirmDialog(t){if(!this.confirmDialog){var o={id:"elementor-kit-warn-on-close",headerMessage:elementor.translate("Exit"),message:elementor.translate("Would you like to exit?"),position:{my:"center center",at:"center center"},strings:{confirm:elementor.translate("Exit"),cancel:elementor.translate("Cancel")},onConfirm:function onConfirm(){$e.run("panel/global/close")}};this.confirmDialog=elementorCommon.dialogsManager.createWidget("confirm",o)}return this.confirmDialog.setSettings("hide",{onEscKeyPress:!t}),this.confirmDialog}}]),Back}(r(i(23)).default);o.Back=p;var h=p;o.default=h},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Close=void 0,i(362),i(79),i(366);var a=r(i(213)),l=r(i(2)),u=r(i(3)),c=r(i(4)),d=r(i(5)),m=function(t){(0,c.default)(Close,t);var o=(0,d.default)(Close);function Close(){return(0,l.default)(this,Close),o.apply(this,arguments)}return(0,u.default)(Close,[{key:"apply",value:function apply(t){var o=this,i=t.mode;return elementor.config.initial_document.id===(0,a.default)(elementor.config.kit_id)?$e.run("panel/global/exit"):($e.internal("panel/state-loading"),$e.run("editor/documents/switch",{mode:i,id:elementor.config.initial_document.id,onClose:function onClose(t){t.isDraft()&&(elementor.toggleDocumentCssFiles(t,!0),elementor.settings.page.destroyControlsCSS()),$e.components.get("panel/global").close(),$e.routes.clearHistory(o.component.getRootContainer()),elementor.documents.invalidateCache(elementor.config.kit_id)}}).finally((function(){return $e.internal("panel/state-ready")})))}}]),Close}(r(i(23)).default);o.Close=m;var p=m;o.default=p},function(t,o){t.exports=function(t,o,i,r){if(!(t instanceof o)||void 0!==r&&r in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,o,i){var r=i(80),a=i(495),l=i(496),u=i(20),c=i(45),d=i(497),m={},p={};(o=t.exports=function(t,o,i,h,g){var v,y,C,b,w=g?function(){return t}:d(t),k=r(i,h,o?2:1),S=0;if("function"!=typeof w)throw TypeError(t+" is not iterable!");if(l(w)){for(v=c(t.length);v>S;S++)if((b=o?k(u(y=t[S])[0],y[1]):k(t[S]))===m||b===p)return b}else for(C=w.call(t);!(y=C.next()).done;)if((b=a(C,k,y.value,o))===m||b===p)return b}).BREAK=m,o.RETURN=p},function(t,o,i){var r=i(20);t.exports=function(t,o,i,a){try{return a?o(r(i)[0],i[1]):o(i)}catch(o){var l=t.return;throw void 0!==l&&r(l.call(t)),o}}},function(t,o,i){var r=i(119),a=i(13)("iterator"),l=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||l[a]===t)}},function(t,o,i){var r=i(116),a=i(13)("iterator"),l=i(119);t.exports=i(57).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||l[r(t)]}},function(t,o){t.exports=function(t,o,i){var r=void 0===i;switch(o.length){case 0:return r?t():t.call(i);case 1:return r?t(o[0]):t.call(i,o[0]);case 2:return r?t(o[0],o[1]):t.call(i,o[0],o[1]);case 3:return r?t(o[0],o[1],o[2]):t.call(i,o[0],o[1],o[2]);case 4:return r?t(o[0],o[1],o[2],o[3]):t.call(i,o[0],o[1],o[2],o[3])}return t.apply(i,o)}},function(t,o,i){var r=i(18),a=i(363).set,l=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,d="process"==i(50)(u);t.exports=function(){var t,o,i,flush=function(){var r,a;for(d&&(r=u.domain)&&r.exit();t;){a=t.fn,t=t.next;try{a()}catch(r){throw t?i():o=void 0,r}}o=void 0,r&&r.enter()};if(d)i=function(){u.nextTick(flush)};else if(!l||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var m=c.resolve(void 0);i=function(){m.then(flush)}}else i=function(){a.call(r,flush)};else{var p=!0,h=document.createTextNode("");new l(flush).observe(h,{characterData:!0}),i=function(){h.data=p=!p}}return function(r){var a={fn:r,next:void 0};o&&(o.next=a),t||(t=a,i()),o=a}}},function(t,o){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,o,i){var r=i(18).navigator;t.exports=r&&r.userAgent||""},function(t,o,i){var r=i(39);t.exports=function(t,o,i){for(var a in o)r(t,a,o[a],i);return t}},function(t,o,i){var r=i(13)("iterator"),a=!1;try{var l=[7][r]();l.return=function(){a=!0},Array.from(l,(function(){throw 2}))}catch(t){}t.exports=function(t,o){if(!o&&!a)return!1;var i=!1;try{var l=[7],u=l[r]();u.next=function(){return{done:i=!0}},l[r]=function(){return u},t(l)}catch(t){}return i}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Exit=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Exit,t);var o=(0,c.default)(Exit);function Exit(){return(0,a.default)(this,Exit),o.apply(this,arguments)}return(0,l.default)(Exit,[{key:"apply",value:function apply(){return $e.run("editor/documents/close",{id:elementor.config.kit_id,onClose:function onClose(t){location=t.config.urls.exit_to_dashboard}})}}]),Exit}(r(i(23)).default);o.Exit=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0,i(362),i(79),i(366);var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"apply",value:function apply(){var t=elementor.documents.get(elementor.config.kit_id);return t&&"open"===t.editor.status?jQuery.Deferred().resolve():($e.routes.clearHistory(this.component.getRootContainer()),this.component.toggleHistoryClass(),$e.internal("panel/state-loading"),$e.run("editor/documents/switch",{id:elementor.config.kit_id,mode:"autosave"}).finally((function(){return $e.internal("panel/state-ready")})))}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0)(i(507));t.exports=Marionette.LayoutView.extend({id:"elementor-kit-panel",template:"#tmpl-elementor-kit-panel",regions:{content:"#elementor-kit__panel-content__wrapper"},onBeforeShow:function onBeforeShow(){var t=elementor.documents.getCurrent().container,o={container:t,model:t.model,controls:t.settings.controls,name:"kit"};this.showChildView("content",new r.default(o))}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"id",value:function id(){return"elementor-kit-panel-content"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-kit-panel-content"}},{key:"childViewContainer",value:function childViewContainer(){return"#elementor-kit-panel-content-controls"}},{key:"childViewOptions",value:function childViewOptions(){var t=this.getOption("container");return{elementSettingsModel:t.settings,container:t}}}]),_default}(elementorModules.editor.views.ControlsStack);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(PanelMenu,t);var o=(0,c.default)(PanelMenu);function PanelMenu(){return(0,a.default)(this,PanelMenu),o.apply(this,arguments)}return(0,l.default)(PanelMenu,[{key:"initialize",value:function initialize(){this.collection=PanelMenu.getGroups()}}]),PanelMenu}(r(i(359)).default);o.default=d,d.groups=null,d.createGroupItems=function(t,o){var i=$e.components.get("panel/global").getTabs();return o.map((function(o){var r=t+"-"+o,a=i[r];return{name:r,icon:a.icon,title:a.title,callback:function callback(){return $e.route("panel/global/"+r)}}}))},d.initGroups=function(){var t=d.createGroupItems("settings",["site-identity","background","layout","lightbox","custom-css"]),o={name:"settings-additional-settings",icon:"eicon-tools",title:elementor.translate("additional_settings"),type:"link",link:elementor.config.admin_settings_url,newTab:!0};t.push(o),d.groups=new Backbone.Collection([{name:"design_system",title:elementor.translate("design_system"),items:d.createGroupItems("global",["colors","typography"])},{name:"theme_style",title:elementor.translate("theme_style"),items:d.createGroupItems("theme-style",["typography","buttons","images","form-fields"])},{name:"settings",title:elementor.translate("settings"),items:t}])},d.getGroups=function(){return d.groups||d.initGroups(),d.groups}},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=i(510),m=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"ui",value:function ui(){return{buttonClose:"#elementor-panel-header-kit-close",buttonBack:"#elementor-panel-header-kit-back"}}},{key:"events",value:function events(){return{"click @ui.buttonClose":"onClickClose","click @ui.buttonBack":"onClickBack"}}},{key:"onBeforeShow",value:function onBeforeShow(){this.$el.prepend(elementor.compileTemplate(d.buttonBack,{Back:elementor.translate("back")})),this.$el.append(elementor.compileTemplate(d.buttonClose,{Close:elementor.translate("close")}))}},{key:"onClickClose",value:function onClickClose(){$e.run("panel/global/close")}},{key:"onClickBack",value:function onClickBack(){$e.run("panel/global/back")}}]),_default}(Marionette.Behavior);o.default=m},function(t,o,i){"use strict";i(1)(o,"__esModule",{value:!0}),o.buttonClose=o.buttonBack=void 0;var r="eicon-chevron-"+(elementorCommon.config.isRTL?"right":"left"),a='\n<div id="elementor-panel-header-kit-back" class="elementor-header-button">\n\t<i class="elementor-icon '.concat(r,' tooltip-target" aria-hidden="true" data-tooltip="{{ Back }}"></i>\n\t<span class="elementor-screen-only">{{ Back }}</span>\n</div>\n');o.buttonBack=a;o.buttonClose='\n<div id="elementor-panel-header-kit-close" class="elementor-header-button">\n\t<i class="elementor-icon eicon-close tooltip-target" aria-hidden="true" data-tooltip="{{ Close }}"></i>\n\t<span class="elementor-screen-only">{{ Close }}</span>\n</div>\n'},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=r(i(367)),h=r(i(512)),g=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){var t;(0,a.default)(this,_default);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(t=o.call.apply(o,[this].concat(r))).childView=h.default,t}return(0,l.default)(_default,[{key:"templateHelpers",value:function templateHelpers(){var templateHelpers=(0,u.default)((0,c.default)(_default.prototype),"templateHelpers",this).call(this);return templateHelpers.addButtonText=elementor.translate("custom_colors"===this.model.get("name")?"add_color":"add_style"),templateHelpers}},{key:"getDefaults",value:function getDefaults(){var t=(0,u.default)((0,c.default)(_default.prototype),"getDefaults",this).call(this);return t.title="".concat(elementor.translate("new_item")," #").concat(this.children.length+1),t}}]),_default}(p.default);o.default=g},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(26);var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-global-style-repeater-row"}},{key:"events",value:function events(){return{"click @ui.removeButton":"onRemoveButtonClick"}}},{key:"updateColorValue",value:function updateColorValue(){this.$colorValue.text(this.model.get("color"))}},{key:"getDisabledRemoveButtons",value:function getDisabledRemoveButtons(){return this.ui.disabledRemoveButtons||(this.ui.disabledRemoveButtons=this.$el.find(".elementor-repeater-tool-remove--disabled")),this.ui.disabledRemoveButtons}},{key:"getRemoveButton",value:function getRemoveButton(){return this.ui.removeButton.add(this.getDisabledRemoveButtons())}},{key:"triggers",value:function triggers(){return{}}},{key:"onChildviewRender",value:function onChildviewRender(t){var o="color"===t.model.get("type"),i="popover_toggle"===t.model.get("type"),r="";if(o&&(this.$colorValue=jQuery("<div>",{class:"e-global-colors__color-value"}),t.$el.find(".elementor-control-input-wrapper").prepend(this.getRemoveButton(),this.$colorValue),r="color",this.updateColorValue()),i&&(t.$el.find(".elementor-control-input-wrapper").append(this.getRemoveButton()),r="font"),o||i){var a=this.getDisabledRemoveButtons();this.ui.removeButton.data("e-global-type",r),this.ui.removeButton.tipsy({title:function title(){return elementor.translate("delete_global_"+r)},gravity:function gravity(){return"s"}}),a.tipsy({title:function title(){return elementor.translate(r+"_cannot_be_deleted")},gravity:function gravity(){return"s"}})}}},{key:"onModelChange",value:function onModelChange(t){void 0!==t.changed.color&&this.updateColorValue()}},{key:"onRemoveButtonClick",value:function onRemoveButtonClick(){var t=this,o=this.ui.removeButton.data("e-global-type");this.confirmDeleteModal=elementorCommon.dialogsManager.createWidget("confirm",{className:"e-global__confirm-delete",headerMessage:elementor.translate("delete_global_"+o),message:'<i class="eicon-info-circle"></i> '+elementor.translate("delete_global_"+o+"_info"),strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},hide:{onBackgroundClick:!1},onConfirm:function onConfirm(){t.trigger("click:remove")}}),this.confirmDeleteModal.show()}}]),_default}(r(i(328)).default);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(28)),l=r(i(56));i(26);var u=r(i(2)),c=r(i(3)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(GlobalControlSelect,t);var o=(0,m.default)(GlobalControlSelect);function GlobalControlSelect(){return(0,u.default)(this,GlobalControlSelect),o.apply(this,arguments)}return(0,c.default)(GlobalControlSelect,[{key:"ui",value:function ui(){return{controlContent:".elementor-control-content"}}},{key:"getClassNames",value:function getClassNames(){return{previewItemsContainer:"e-global__preview-items-container",previewItem:"e-global__preview-item",selectedPreviewItem:"e-global__preview-item--selected",manageButton:"e-global__manage-button",popover:"e-global__popover",popoverToggle:"e-global__popover-toggle",popoverToggleActive:"e-global__popover-toggle--active",controlGlobal:"e-control-global",globalPopoverContainer:"e-global__popover-container",globalPopoverTitle:"e-global__popover-title",globalPopoverTitleText:"e-global__popover-title-text",globalPopoverInfo:"e-global__popover-info",globalPopoverInfoTooltip:"e-global__popover-info-tooltip",confirmAddNewGlobal:"e-global__confirm-add",confirmMessageText:".e-global__confirm-message-text"}}},{key:"registerUiElements",value:function registerUiElements(){var t=this.popover.getElements("widget");this.ui.manageGlobalsButton=t.find(".".concat(this.getClassNames().manageButton))}},{key:"registerPreviewElements",value:function registerPreviewElements(){var t=this.popover.getElements("widget"),o=this.getClassNames();this.ui.globalPreviewItems=t.find(".".concat(o.previewItem))}},{key:"registerEvents",value:function registerEvents(){var t=this;this.ui.globalPopoverToggle.on("click",(function(o){return t.toggleGlobalPopover(o)})),this.ui.manageGlobalsButton.on("click",(function(){var o=t.view.getGlobalMeta().route,i={route:$e.routes.getHistory("panel").reverse()[0].route,container:t.view.options.container};$e.run("panel/global/open",i).then((function(){return $e.route(o)})),t.popover.hide()}))}},{key:"addPreviewItemsClickListener",value:function addPreviewItemsClickListener(){var t=this;this.ui.$globalPreviewItemsContainer.on("click",".".concat(this.getClassNames().previewItem),(function(o){return t.applySavedGlobalValue(o.currentTarget.dataset.globalId)}))}},{key:"fetchGlobalValue",value:function fetchGlobalValue(){var t=this;return $e.data.get(this.view.getGlobalKey()).then((function(o){return t.view.globalValue=o.data.value,t.onValueTypeChange(),elementor.kitManager.renderGlobalVariables(),t.view.applySavedValue(),o.data}))}},{key:"setCurrentActivePreviewItem",value:function setCurrentActivePreviewItem(){var t=this.getClassNames().selectedPreviewItem,o=elementor.config.globals.defaults_enabled[this.view.getGlobalMeta().controlType];this.activePreviewItem&&this.resetActivePreviewItem();var i,r=this.view.getGlobalKey();r||this.view.getControlValue()||!o||(r=null===(i=this.view.model.get("global"))||void 0===i?void 0:i.default);if(r){var a=$e.data.commandExtractArgs(r).args.query.id,l=this.ui.globalPreviewItems.filter('[data-global-id="'.concat(a,'"]'));l&&(this.activePreviewItem=l,this.activePreviewItem.addClass(t))}else this.activePreviewItem=null}},{key:"resetActivePreviewItem",value:function resetActivePreviewItem(){this.activePreviewItem&&this.activePreviewItem.removeClass(this.getClassNames().selectedPreviewItem),this.activePreviewItem=null}},{key:"applySavedGlobalValue",value:function applySavedGlobalValue(t){this.setGlobalValue(t),this.fetchGlobalValue(),this.popover.hide()}},{key:"onValueTypeChange",value:function onValueTypeChange(){this.updateCurrentGlobalName()}},{key:"updateCurrentGlobalName",value:function updateCurrentGlobalName(t){var o=this,i=this.getClassNames(),r="";if(t)r=t;else{t=this.view.getControlValue();var a,l=this.view.getGlobalKey();if(!l&&!t&&elementor.config.globals.defaults_enabled[this.view.getGlobalMeta().controlType])l=null===(a=this.view.model.get("global"))||void 0===a?void 0:a.default;if(l)return $e.data.get(l).then((function(t){var i="";i=t.data.title?t.data.title:elementor.translate("default"),o.updateCurrentGlobalName(i)})),void this.ui.globalPopoverToggle.addClass(i.popoverToggleActive);r=t?elementor.translate("custom"):elementor.translate("default"),this.ui.globalPopoverToggle.removeClass(i.popoverToggleActive)}this.globalName=r}},{key:"onRender",value:function onRender(){var t=this;this.printGlobalToggleButton(),this.initGlobalPopover(),this.view.getGlobalKey()?setTimeout((function(){return t.fetchGlobalValue()}),50):this.onValueTypeChange(),this.$el.addClass(this.getClassNames().controlGlobal)}},{key:"toggleGlobalPopover",value:function toggleGlobalPopover(){var t=this;this.popover.isVisible()?this.popover.hide():(this.ui.$globalPreviewItemsContainer&&this.ui.$globalPreviewItemsContainer.remove(),this.view.getGlobalsList().then((function(o){t.addGlobalsListToPopover(o),t.registerPreviewElements(),t.addPreviewItemsClickListener(),t.popover.show(),t.setCurrentActivePreviewItem()})))}},{key:"buildGlobalPopover",value:function buildGlobalPopover(){var t=this,o=this.getClassNames(),i=jQuery("<div>",{class:o.globalPopoverContainer}),r=jQuery("<div>",{class:o.globalPopoverTitle}).html('<div class="'+o.globalPopoverInfo+'"><i class="eicon-info-circle"></i></div><span class="'+o.globalPopoverTitleText+'">'+this.getOption("popoverTitle")+"</span>"),a=jQuery("<div>",{class:o.manageButton}).html('<i class="eicon-cog"></i>');return r.append(a),i.append(r),this.manageButtonTooltipText=this.getOption("manageButtonText"),a.tipsy({title:function title(){return t.manageButtonTooltipText},offset:3,gravity:function gravity(){return"s"}}),i}},{key:"printGlobalToggleButton",value:function printGlobalToggleButton(){var t=this,o=jQuery("<div>",{class:this.getClassNames().popoverToggle+" elementor-control-unit-1"}),i=jQuery("<i>",{class:"eicon-globe"}),r=jQuery("<span>",{class:"elementor-control-spinner"}).html('<i class="eicon-spinner eicon-animation-spin"></i></span>');o.append(i),this.$el.find(".elementor-control-input-wrapper").prepend(o),this.ui.globalPopoverToggle=o,this.ui.globalPopoverToggleIcon=i,this.ui.$globalsLoadingSpinner=r,this.ui.globalPopoverToggleIcon.tipsy({title:function title(){return t.globalName},offset:7,gravity:function gravity(){return"s"}}),o.before(r),this.ui.$globalsLoadingSpinner.hide()}},{key:"initGlobalPopover",value:function initGlobalPopover(){this.popover=elementorCommon.dialogsManager.createWidget("simple",{className:this.getClassNames().popover,message:this.buildGlobalPopover(),effects:{show:"show",hide:"hide"},hide:{onOutsideClick:!1},position:{my:"center top",at:"center bottom+5",of:this.ui.controlContent,autoRefresh:!0}}),this.registerUiElementsAndEvents(),this.createGlobalInfoTooltip()}},{key:"addGlobalsListToPopover",value:function addGlobalsListToPopover(t){var o=jQuery("<div>",{class:"e-global__preview-items-container"});this.view.buildGlobalsList(t,o),this.popover.getElements("widget").find(".".concat(this.getClassNames().globalPopoverTitle)).after(o),this.ui.$globalPreviewItemsContainer=o}},{key:"registerUiElementsAndEvents",value:function registerUiElementsAndEvents(){this.registerUiElements(),this.registerEvents()}},{key:"onAddGlobalToList",value:function onAddGlobalToList(t){var o=this,i=this.getClassNames();this.confirmNewGlobalModal=elementorCommon.dialogsManager.createWidget("confirm",{className:i.confirmAddNewGlobal,headerMessage:this.getOption("newGlobalConfirmTitle"),message:t,strings:{confirm:elementor.translate("create"),cancel:elementor.translate("cancel")},hide:{onBackgroundClick:!1},onConfirm:function onConfirm(){return o.onConfirmNewGlobal()},onShow:function onShow(){var t=o.confirmNewGlobalModal.getElements("widget");o.ui.globalNameInput=t.find("input").focus(),o.ui.confirmMessageText=t.find(i.confirmMessageText),o.ui.globalNameInput.on("input",(function(){return o.onAddGlobalConfirmInputChange()}))}}),this.confirmNewGlobalModal.show()}},{key:"onAddGlobalConfirmInputChange",value:function onAddGlobalConfirmInputChange(){if(this.view.globalsList){for(var t,o=0,i=(0,l.default)(this.view.globalsList);o<i.length;o++){var r=i[o];if(this.ui.globalNameInput.val()===r.title){t=this.view.getNameAlreadyExistsMessage();break}t=this.view.getConfirmTextMessage()}this.ui.confirmMessageText.html(t)}}},{key:"onConfirmNewGlobal",value:function onConfirmNewGlobal(){var t=this.view.getGlobalMeta();t.title=this.ui.globalNameInput.val(),this.createNewGlobal(t)}},{key:"createNewGlobal",value:function createNewGlobal(t){var o=this;this.ui.$globalsLoadingSpinner.show(),$e.run(t.commandName+"/create",{container:this.view.container,setting:t.key,title:t.title}).then((function(t){o.applySavedGlobalValue(t.data.id),o.ui.$globalsLoadingSpinner.hide()}))}},{key:"setGlobalValue",value:function setGlobalValue(t){var o="",i={};o=this.view.getGlobalKey()?"document/globals/settings":"document/globals/enable",i[this.view.model.get("name")]=this.view.getGlobalCommand()+"?id="+t,$e.run(o,{container:this.view.options.container,settings:i})}},{key:"onUnsetGlobalValue",value:function onUnsetGlobalValue(){var t=this,o=this.view.getGlobalMeta();$e.run("document/globals/disable",{container:this.view.container,settings:(0,a.default)({},o.key,""),options:{restore:!0}}).then((function(){t.onValueTypeChange(),t.view.globalValue=null,t.resetActivePreviewItem()}))}},{key:"onUnlinkGlobalDefault",value:function onUnlinkGlobalDefault(){var t=this,o=this.view.getGlobalMeta();$e.run("document/globals/unlink",{container:this.view.container,globalValue:this.view.model.get("global").default,setting:o.key,options:{external:!0}}).then((function(){t.onValueTypeChange(),t.view.globalValue=null,t.resetActivePreviewItem()}))}},{key:"createGlobalInfoTooltip",value:function createGlobalInfoTooltip(){var t=this,o=this.getClassNames(),i=this.popover.getElements("widget").find(".".concat(o.globalPopoverInfo));this.globalInfoTooltip=elementorCommon.dialogsManager.createWidget("simple",{className:o.globalPopoverInfoTooltip,message:this.getOption("tooltipText"),effects:{show:"show",hide:"hide"},position:{my:"left bottom",at:"left top+9",of:this.popover.getElements("widget"),autoRefresh:!0}}),i.on({mouseenter:function mouseenter(){return t.globalInfoTooltip.show()},mouseleave:function mouseleave(){return t.globalInfoTooltip.hide()}})}}]),GlobalControlSelect}(Marionette.Behavior);o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(48)),c=r(i(4)),d=r(i(5)),m=r(i(515)),p=r(i(520)),h=function(t){(0,c.default)(_default,t);var o=(0,d.default)(_default);function _default(t){var i;return(0,a.default)(this,_default),(i=o.call(this,t)).component=$e.components.register(new m.default({manager:(0,u.default)(i)})),i.isDocked=!1,i.indicators={customPosition:{title:elementor.translate("custom_positioning"),icon:"cursor-move",settingKeys:["_position","_element_width"],section:"_section_position"}},i.ensurePosition=i.ensurePosition.bind((0,u.default)(i)),i.listenTo(elementor.channels.dataEditMode,"switch",i.onEditModeSwitched),elementor.on("document:loaded",i.onDocumentLoaded.bind((0,u.default)(i))),elementor.on("document:unloaded",i.onDocumentUnloaded.bind((0,u.default)(i))),i}return(0,l.default)(_default,[{key:"getStorageKey",value:function getStorageKey(){return"navigator"}},{key:"getDefaultStorage",value:function getDefaultStorage(){return{visible:!1,size:{width:"",height:"",top:"",bottom:"",right:"",left:""}}}},{key:"getLayout",value:function getLayout(){return this.currentView}},{key:"getDraggableOptions",value:function getDraggableOptions(){return{iframeFix:!0,handle:"#elementor-navigator__header",drag:this.onDrag.bind(this),stop:this.onDragStop.bind(this)}}},{key:"getResizableOptions",value:function getResizableOptions(){var t=this;return{handles:"all",containment:"document",minWidth:150,maxWidth:500,minHeight:240,start:function start(){elementor.$previewWrapper.addClass("ui-resizable-resizing")},stop:function stop(){elementor.$previewWrapper.removeClass("ui-resizable-resizing"),t.isDocked?(t.storage.size.width=elementor.helpers.getElementInlineStyle(t.$el,["width"]).width,elementorCommon.storage.set("navigator",t.storage)):t.saveSize()}}}},{key:"initLayout",value:function initLayout(){this.show(new p.default),this.$el.draggable(this.getDraggableOptions()),this.$el.resizable(this.getResizableOptions())}},{key:"open",value:function open(t){this.$el.show(),this.storage.docked?(this.dock(),this.setDockedSize()):this.setSize(),t&&t.trigger("request:edit"),this.saveStorage("visible",!0),this.ensurePosition(),elementorCommon.elements.$window.on("resize",this.ensurePosition)}},{key:"close",value:function close(t){this.$el.hide(),this.isDocked&&this.undock(!0),t||this.saveStorage("visible",!1),this.$el.resizable("instance")&&this.$el.resizable("destroy"),elementorCommon.elements.$window.off("resize",this.ensurePosition)}},{key:"isOpen",value:function isOpen(){return this.$el.is(":visible")}},{key:"dock",value:function dock(){elementorCommon.elements.$body.addClass("elementor-navigator-docked");var t=elementorCommon.config.isRTL?"left":"right",o=this.getResizableOptions();this.$el.css({height:"",top:"",bottom:"",left:"",right:""}),elementor.$previewWrapper.css(t,this.storage.size.width),this.$el.resizable("instance")&&this.$el.resizable("destroy"),o.handles=elementorCommon.config.isRTL?"e":"w",o.resize=function(o,i){elementor.$previewWrapper.css(t,i.size.width)},this.$el.resizable(o),this.isDocked=!0,this.saveStorage("docked",!0)}},{key:"undock",value:function undock(t){elementorCommon.elements.$body.removeClass("elementor-navigator-docked"),elementor.$previewWrapper.css(elementorCommon.config.isRTL?"left":"right",""),this.setSize(),this.$el.resizable("instance")&&(this.$el.resizable("destroy"),this.$el.resizable(this.getResizableOptions())),this.isDocked=!1,t||this.saveStorage("docked",!1)}},{key:"setSize",value:function setSize(){this.storage.size&&this.$el.css(this.storage.size)}},{key:"setDockedSize",value:function setDockedSize(){this.$el.css("width",this.storage.size.width)}},{key:"ensurePosition",value:function ensurePosition(){if(!this.isDocked){var t=this.$el.offset();t.left>innerWidth&&this.$el.css({left:"",right:""}),t.top>innerHeight&&this.$el.css({top:"",bottom:""})}}},{key:"onDrag",value:function onDrag(t,o){if(this.isDocked)if(o.position.left===o.originalPosition.left){if(o.position.top!==o.originalPosition.top)return!1}else this.undock();else{0>o.position.top&&(o.position.top=0);var i=0>o.position.left,r=o.position.left+this.el.offsetWidth>innerWidth;elementorCommon.config.isRTL?r&&(o.position.left=innerWidth-this.el.offsetWidth):i&&(o.position.left=0),elementorCommon.elements.$body.toggleClass("elementor-navigator--dock-hint",elementorCommon.config.isRTL?i:r)}}},{key:"onDragStop",value:function onDragStop(t,o){if(!this.isDocked){this.saveSize();var i=o.position.left+this.el.offsetWidth;(0>o.position.left||i>innerWidth)&&this.dock(),elementorCommon.elements.$body.removeClass("elementor-navigator--dock-hint")}}},{key:"onEditModeSwitched",value:function onEditModeSwitched(t){"edit"===t&&this.storage.visible?this.open():this.close(!0)}},{key:"onDocumentLoaded",value:function onDocumentLoaded(t){t.config.panel.has_elements&&(this.initLayout(),this.storage.visible&&$e.route("navigator"))}},{key:"onDocumentUnloaded",value:function onDocumentUnloaded(){this.component.isOpen&&this.component.close(!0)}}]),_default}(i(371));o.default=h},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(24)),d=a(i(16)),m=a(i(4)),p=a(i(5)),h=a(i(86)),g=r(i(516)),v=function(t){(0,m.default)(Component,t);var o=(0,p.default)(Component);function Component(){return(0,l.default)(this,Component),o.apply(this,arguments)}return(0,u.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"navigator"}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(g)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{toggle:{keys:"ctrl+i",dependency:function dependency(){return elementor.getPreviewContainer().isEditable()}}}}},{key:"open",value:function open(t){var o=t.model,i=void 0!==o&&o;return this.manager.open(i),!0}},{key:"close",value:function close(t){return!!(0,c.default)((0,d.default)(Component.prototype),"close",this).call(this)&&(this.manager.close(t),!0)}}]),Component}(h.default);o.default=v},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Close",{enumerable:!0,get:function get(){return a.Close}}),r(o,"Open",{enumerable:!0,get:function get(){return l.Open}}),r(o,"Toggle",{enumerable:!0,get:function get(){return u.Toggle}});var a=i(517),l=i(518),u=i(519)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Close,t);var o=(0,c.default)(Close);function Close(){return(0,a.default)(this,Close),o.apply(this,arguments)}return(0,l.default)(Close,[{key:"apply",value:function apply(){return this.component.close()}}]),Close}(r(i(23)).default);o.Close=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Toggle=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Toggle,t);var o=(0,c.default)(Toggle);function Toggle(){return(0,a.default)(this,Toggle),o.apply(this,arguments)}return(0,l.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?$e.run("navigator/close"):$e.run("navigator/open")}}]),Toggle}(r(i(23)).default);o.Toggle=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=r(i(521)),m=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator"}},{key:"id",value:function id(){return"elementor-navigator__inner"}},{key:"ui",value:function ui(){return{toggleAll:"#elementor-navigator__toggle-all",close:"#elementor-navigator__close"}}},{key:"events",value:function events(){return{"click @ui.toggleAll":"toggleAll","click @ui.close":"onCloseClick"}}},{key:"regions",value:function regions(){return{elements:"#elementor-navigator__elements"}}},{key:"toggleAll",value:function toggleAll(){var t="expand"===this.ui.toggleAll.data("elementor-action"),o=["eicon-collapse","eicon-expand"];this.ui.toggleAll.data("elementor-action",t?"collapse":"expand").removeClass(o[+t]).addClass(o[+!t]),this.elements.currentView.recursiveChildInvoke("toggleList",t)}},{key:"activateElementsMouseInteraction",value:function activateElementsMouseInteraction(){this.elements.currentView.recursiveChildInvoke("activateMouseInteraction")}},{key:"deactivateElementsMouseInteraction",value:function deactivateElementsMouseInteraction(){this.elements.currentView.recursiveChildInvoke("deactivateMouseInteraction")}},{key:"onShow",value:function onShow(){this.elements.show(new d.default({model:elementor.elementsModel}))}},{key:"onCloseClick",value:function onCloseClick(){$e.components.get("navigator").close()}}]),_default}(Marionette.LayoutView);o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0,i(139),i(182);var a=r(i(25)),l=r(i(56)),u=r(i(2)),c=r(i(3)),d=r(i(4)),m=r(i(5)),p=r(i(522)),h=r(i(523)),g=r(i(215)),v=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){return(0,u.default)(this,_default),o.apply(this,arguments)}return(0,c.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator__elements"}},{key:"ui",value:function ui(){return{item:"> .elementor-navigator__item",title:"> .elementor-navigator__item .elementor-navigator__element__title__text",toggle:"> .elementor-navigator__item > .elementor-navigator__element__toggle",toggleList:"> .elementor-navigator__item > .elementor-navigator__element__list-toggle",indicators:"> .elementor-navigator__item > .elementor-navigator__element__indicators",indicator:"> .elementor-navigator__item > .elementor-navigator__element__indicators > .elementor-navigator__element__indicator",elements:"> .elementor-navigator__elements"}}},{key:"events",value:function events(){return{contextmenu:"onContextMenu","click @ui.item":"onItemClick","click @ui.toggle":"onToggleClick","click @ui.toggleList":"onToggleListClick","click @ui.indicator":"onIndicatorClick","dblclick @ui.title":"onTitleDoubleClick","keydown @ui.title":"onTitleKeyDown","paste @ui.title":"onTitlePaste","sortstart @ui.elements":"onSortStart","sortover @ui.elements":"onSortOver","sortout @ui.elements":"onSortOut","sortstop @ui.elements":"onSortStop","sortupdate @ui.elements":"onSortUpdate","sortreceive @ui.elements":"onSortReceive"}}},{key:"getEmptyView",value:function getEmptyView(){return this.isRoot()?h.default:this.hasChildren()?p.default:null}},{key:"childViewOptions",value:function childViewOptions(){return{indent:this.getIndent()+10}}},{key:"className",value:function className(){var t=this.model.get("elType"),o="elementor-navigator__element";return t&&(o+=" elementor-navigator__element-"+t),this.hasChildren()&&(o+=" elementor-navigator__element--has-children"),o}},{key:"attributes",value:function attributes(){return{"data-id":this.model.id,"data-model-cid":this.model.cid}}},{key:"templateHelpers",value:function templateHelpers(){var t={};return this.isRoot()||(t.title=this.model.getTitle(),t.icon="section"===this.model.get("elType")?"":this.model.getIcon()),t}},{key:"initialize",value:function initialize(){this.collection=this.model.get("elements"),this.childViewContainer=".elementor-navigator__elements",this.listenTo(this.model,"request:edit",this.onEditRequest).listenTo(this.model,"change",this.onModelChange).listenTo(this.model.get("settings"),"change",this.onModelSettingsChange)}},{key:"getIndent",value:function getIndent(){return this.getOption("indent")||0}},{key:"isRoot",value:function isRoot(){return!this.model.get("elType")}},{key:"hasChildren",value:function hasChildren(){return"widget"!==this.model.get("elType")}},{key:"toggleList",value:function toggleList(t,o){if(this.hasChildren()&&!this.isRoot()&&this.ui.item.hasClass("elementor-active")!==t){this.ui.item.toggleClass("elementor-active",t);var i="slideToggle";void 0!==t&&(i="slide"+(t?"Down":"Up")),this.ui.elements[i](300,o)}}},{key:"toggleHiddenClass",value:function toggleHiddenClass(){this.$el.toggleClass("elementor-navigator__element--hidden",!!this.model.get("hidden"))}},{key:"recursiveChildInvoke",value:function recursiveChildInvoke(t){for(var o=arguments,i=this,r=arguments.length,a=new Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];this[t].apply(this,a),this.children.each((function(t){t instanceof i.constructor&&t.recursiveChildInvoke.apply(t,o)}))}},{key:"recursiveParentInvoke",value:function recursiveParentInvoke(t){for(var o=arguments.length,i=new Array(o>1?o-1:0),r=1;r<o;r++)i[r-1]=arguments[r];this._parent instanceof this.constructor&&(this._parent[t].apply(this._parent,i),this._parent.recursiveParentInvoke.apply(this._parent,arguments))}},{key:"recursiveChildAgreement",value:function recursiveChildAgreement(t){for(var o=arguments.length,i=new Array(o>1?o-1:0),r=1;r<o;r++)i[r-1]=arguments[r];if(!this[t].apply(this,i))return!1;for(var a=!0,u=0,c=(0,l.default)(this.children._views);u<c.length;u++){var d=c[u];if(d instanceof this.constructor&&!d.recursiveChildAgreement.apply(d,arguments)){a=!1;break}}return a}},{key:"activateMouseInteraction",value:function activateMouseInteraction(){this.$el.on({mouseenter:this.onMouseEnter.bind(this),mouseleave:this.onMouseLeave.bind(this)})}},{key:"deactivateMouseInteraction",value:function deactivateMouseInteraction(){this.$el.off("mouseenter mouseleave")}},{key:"dragShouldBeIgnored",value:function dragShouldBeIgnored(t){return!g.default.isValidChild(t,this.model)}},{key:"addEditingClass",value:function addEditingClass(){this.ui.item.addClass("elementor-editing")}},{key:"removeEditingClass",value:function removeEditingClass(){this.ui.item.removeClass("elementor-editing")}},{key:"enterTitleEditing",value:function enterTitleEditing(){this.ui.title.attr("contenteditable",!0).focus(),document.execCommand("selectAll"),elementor.addBackgroundClickListener("navigator",{ignore:this.ui.title,callback:this.exitTitleEditing.bind(this)})}},{key:"exitTitleEditing",value:function exitTitleEditing(){this.ui.title.attr("contenteditable",!1);var t=this.model.get("settings"),o=t.get("_title"),i=this.ui.title.text().trim();o||t.unset("_title",{silent:!0}),t.set("_title",i),elementor.removeBackgroundClickListener("navigator")}},{key:"activateSortable",value:function activateSortable(){elementor.userCan("design")&&this.ui.elements.sortable({items:"> .elementor-navigator__element",placeholder:"ui-sortable-placeholder",axis:"y",forcePlaceholderSize:!0,connectWith:".elementor-navigator__element-"+this.model.get("elType")+" "+this.ui.elements.selector,cancel:'[contenteditable="true"]'})}},{key:"renderIndicators",value:function renderIndicators(){var t=this,o=this.model.get("settings").attributes;this.ui.indicators.empty(),jQuery.each(elementor.navigator.indicators,(function(i,r){if(r.settingKeys.some((function(t){return o[t]}))){var a=jQuery("<div>",{class:"elementor-navigator__element__indicator",title:r.title}).attr("data-section",r.section).html('<i class="eicon-'.concat(r.icon,'"></i>'));t.ui.indicators.append(a),a.tipsy({delayIn:300,gravity:"s"})}}))}},{key:"onRender",value:function onRender(){this.activateSortable(),this.isRoot()||(this.ui.item.css("padding-"+(elementorCommon.config.isRTL?"right":"left"),this.getIndent()),this.toggleHiddenClass(),this.renderIndicators())}},{key:"onModelChange",value:function onModelChange(){void 0!==this.model.changed.hidden&&this.toggleHiddenClass()}},{key:"onModelSettingsChange",value:function onModelSettingsChange(t){var o=this;void 0!==t.changed._title&&this.ui.title.text(this.model.getTitle()),jQuery.each(elementor.navigator.indicators,(function(i,r){if((0,a.default)(t.changed).filter((function(t){return r.settingKeys.includes(t)})).length)return o.renderIndicators(),!1}))}},{key:"onItemClick",value:function onItemClick(){this.model.trigger("request:edit",{scrollIntoView:!0})}},{key:"onToggleClick",value:function onToggleClick(t){t.stopPropagation(),this.model.trigger("request:toggleVisibility")}},{key:"onTitleDoubleClick",value:function onTitleDoubleClick(){this.enterTitleEditing()}},{key:"onTitleKeyDown",value:function onTitleKeyDown(t){13===t.which&&(t.preventDefault(),this.exitTitleEditing())}},{key:"onTitlePaste",value:function onTitlePaste(t){t.preventDefault(),document.execCommand("insertHTML",!1,t.originalEvent.clipboardData.getData("text/plain"))}},{key:"onToggleListClick",value:function onToggleListClick(t){t.stopPropagation(),this.toggleList()}},{key:"onSortStart",value:function onSortStart(t,o){this.model.trigger("request:sort:start",t,o),jQuery(o.item).children(".elementor-navigator__item").trigger("click"),elementor.navigator.getLayout().activateElementsMouseInteraction()}},{key:"onSortStop",value:function onSortStop(){elementor.navigator.getLayout().deactivateElementsMouseInteraction()}},{key:"onSortOver",value:function onSortOver(t){t.stopPropagation(),this.$el.addClass("elementor-dragging-on-child")}},{key:"onSortOut",value:function onSortOut(t){t.stopPropagation(),this.$el.removeClass("elementor-dragging-on-child")}},{key:"onSortUpdate",value:function onSortUpdate(t,o){t.stopPropagation(),this.ui.elements.is(o.item.parent())&&this.model.trigger("request:sort:update",o)}},{key:"onSortReceive",value:function onSortReceive(t,o){this.model.trigger("request:sort:receive",t,o)}},{key:"onMouseEnter",value:function onMouseEnter(t){var o=this;t.stopPropagation(),this.recursiveChildAgreement("dragShouldBeIgnored",elementor.channels.data.request("dragging:model"))||(this.autoExpandTimeout=setTimeout((function(){o.toggleList(!0,(function(){o.ui.elements.sortable("refreshPositions")}))}),500))}},{key:"onMouseLeave",value:function onMouseLeave(t){t.stopPropagation(),clearTimeout(this.autoExpandTimeout)}},{key:"onContextMenu",value:function onContextMenu(t){this.model.trigger("request:contextmenu",t)}},{key:"onEditRequest",value:function onEditRequest(){this.recursiveParentInvoke("toggleList",!0),elementor.navigator.getLayout().elements.currentView.recursiveChildInvoke("removeEditingClass"),this.addEditingClass(),elementor.helpers.scrollToView(this.$el,400,elementor.navigator.getLayout().elements.$el)}},{key:"onIndicatorClick",value:function onIndicatorClick(t){var o=t.currentTarget.dataset.section;setTimeout((function(){var t=elementor.getPanelView().currentPageView,i=t.getControlModel(o).get("tab");t.activateSection(o),t.activateTab(i),t.render()}))}}]),_default}(Marionette.CompositeView);o.default=v},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator__elements--empty"}},{key:"className",value:function className(){return"elementor-empty-view"}},{key:"onRendr",value:function onRendr(){this.$el.css("padding-"+(elementorCommon.config.isRTL?"right":"left"),this.getOption("indent"))}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator__root--empty"}},{key:"className",value:function className(){return"elementor-nerd-box"}}]),_default}(Marionette.ItemView);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{notice:"#elementor-notice-bar",close:"#elementor-notice-bar__close"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var t=this.getSettings();return{$notice:jQuery(t.selectors.notice),$close:jQuery(t.selectors.close)}}},{key:"bindEvents",value:function bindEvents(){this.elements.$close.on("click",this.onCloseClick.bind(this))}},{key:"onCloseClick",value:function onCloseClick(){this.elements.$notice.slideUp(),elementorCommon.ajax.addRequest("notice_bar_dismiss")}}]),_default}(elementorModules.ViewModule);o.default=d},function(t,o,i){"use strict";var r=i(0),a=r(i(526)),l=r(i(527)),u=r(i(215)),c=i(528),d=c.extend({initialize:function initialize(){this.$childViewContainer=jQuery("<div>",{class:"elementor-section-wrap"}),c.prototype.initialize.apply(this,arguments)},getChildViewContainer:function getChildViewContainer(){return this.$childViewContainer},behaviors:function behaviors(){var t=c.prototype.behaviors.apply(this,arguments),behaviors={contextMenu:{behaviorClass:i(273),groups:this.getContextMenuGroups()}};return elementor.config.user.introduction.rightClick||elementor.config.user.introduction[2]||(behaviors.introduction={behaviorClass:l.default}),jQuery.extend(t,behaviors)},getContainer:function getContainer(){return elementor.settings.page.getEditedView().getContainer()},getContextMenuGroups:function getContextMenuGroups(){var t=this,o=function hasContent(){return elementor.elements.length>0};return[{name:"paste",actions:[{name:"paste",title:elementor.translate("paste"),isEnabled:function isEnabled(){return u.default.isPasteEnabled(t.getContainer())},callback:function callback(o){return $e.run("document/ui/paste",{container:t.getContainer(),options:{at:o,rebuild:!0}})}}]},{name:"content",actions:[{name:"copy_all_content",title:elementor.translate("copy_all_content"),isEnabled:o,callback:function callback(){return $e.run("document/elements/copy-all")}},{name:"delete_all_content",title:elementor.translate("delete_all_content"),isEnabled:o,callback:function callback(){return $e.run("document/elements/empty")}}]}]},onRender:function onRender(){var t;if(elementor.config.legacyMode.elementWrappers){var o=jQuery("<div>",{class:"elementor-inner"});this.$el.html(o),t=o}else t=this.$el;if(t.html(this.$childViewContainer),elementor.userCan("design")){var i=new a.default;i.render(),t.append(i.$el)}}});t.exports=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(AddSectionView,t);var o=(0,c.default)(AddSectionView);function AddSectionView(){return(0,a.default)(this,AddSectionView),o.apply(this,arguments)}return(0,l.default)(AddSectionView,[{key:"onCloseButtonClick",value:function onCloseButtonClick(){this.closeSelectPresets()}},{key:"id",get:function get(){return"elementor-add-new-section"}}]),AddSectionView}(r(i(296)).default);o.default=d},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"ui",value:function ui(){return{editButton:".elementor-editor-element-edit"}}},{key:"events",value:function events(){return{"click @ui.editButton":"show"}}},{key:"initialize",value:function initialize(){this.initIntroduction()}},{key:"initIntroduction",value:function initIntroduction(){var t;this.getIntroduction=function(){return t||(t=new elementorModules.editor.utils.Introduction({introductionKey:"rightClick",dialogOptions:{className:"elementor-right-click-introduction",headerMessage:elementor.translate("meet_right_click_header"),message:elementor.translate("meet_right_click_message"),iframe:elementor.$preview,position:{my:"center top+5",at:"center bottom",collision:"fit"}},onDialogInitCallback:function onDialogInitCallback(o){o.addButton({name:"learn-more",text:elementor.translate("learn_more"),tag:"div",callback:function callback(){open(elementor.config.help_right_click_url,"_blank")}}),o.addButton({name:"ok",text:elementor.translate("got_it"),callback:function callback(){return t.setViewed()}}),o.getElements("ok").addClass("elementor-button elementor-button-success")}})),t}}},{key:"show",value:function show(t){this.getIntroduction().show(t.currentTarget)}}]),_default}(Marionette.Behavior);o.default=d},function(t,o,i){"use strict";i(26);var r,a=i(256),l=i(333);r=l.extend({childView:a,behaviors:function behaviors(){var behaviors={Sortable:{behaviorClass:i(298),elChildType:"section"}};return elementor.hooks.applyFilters("elements/base-section-container/behaviors",behaviors,this)},getSortableOptions:function getSortableOptions(){return{handle:"> .elementor-element-overlay .elementor-editor-element-edit",items:"> .elementor-section"}},getChildType:function getChildType(){return["section"]},initialize:function initialize(){l.prototype.initialize.apply(this,arguments),this.listenTo(elementor.channels.panelElements,"element:drag:start",this.onPanelElementDragStart).listenTo(elementor.channels.panelElements,"element:drag:end",this.onPanelElementDragEnd)},onPanelElementDragStart:function onPanelElementDragStart(){this.$el.find(".elementor-background-video-embed").hide(),elementor.helpers.disableElementEvents(this.$el.find("iframe"))},onPanelElementDragEnd:function onPanelElementDragEnd(){this.$el.find(".elementor-background-video-embed").show(),elementor.helpers.enableElementEvents(this.$el.find("iframe"))}}),t.exports=r},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(56)),l=r(i(83));i(66);var u=r(i(84));i(139),i(182),i(60),i(277);var c=r(i(105)),d=r(i(91)),m=r(i(2)),p=r(i(3)),h=r(i(4)),g=r(i(5)),v=i(377),y=function(t){(0,h.default)(ControlPopoverStarterView,t);var o,i=(0,g.default)(ControlPopoverStarterView);function ControlPopoverStarterView(){return(0,m.default)(this,ControlPopoverStarterView),i.apply(this,arguments)}return(0,p.default)(ControlPopoverStarterView,[{key:"ui",value:function ui(){var ui=v.prototype.ui.apply(this,arguments);return ui.popoverToggle=".elementor-control-popover-toggle-toggle",ui.resetInput=".elementor-control-popover-toggle-reset",ui}},{key:"events",value:function events(){return _.extend(v.prototype.events.apply(this,arguments),{"click @ui.popoverToggle":"onPopoverToggleClick","click @ui.resetInput":"onResetInputClick"})}},{key:"onResetInputClick",value:function onResetInputClick(){var t=this.model.get("global");(null==t?void 0:t.active)&&this.triggerMethod("value:type:change")}},{key:"onInputChange",value:function onInputChange(t){t.currentTarget===this.ui.popoverToggle[0]&&(this.getGlobalKey()?this.triggerMethod("unset:global:value"):this.isGlobalActive()&&this.triggerMethod("value:type:change"))}},{key:"onPopoverToggleClick",value:function onPopoverToggleClick(){this.isGlobalActive()&&!this.getControlValue()&&!this.getGlobalKey()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default"),this.$el.next(".elementor-controls-popover").toggle()}},{key:"getGlobalCommand",value:function getGlobalCommand(){return"globals/typography"}},{key:"buildPreviewItemCSS",value:function buildPreviewItemCSS(t){var o={};return(0,d.default)(t).forEach((function(t){var i=(0,c.default)(t,2),r=i[0],a=i[1];a&&""!==a.size&&(r.startsWith("typography_")&&(r=r.replace("typography_","")),"font_family"===r&&elementor.helpers.enqueueFont(a,"editor"),"font_size"===r?(a.size>40&&(a.size=40),o.fontSize=a.size+a.unit):(r.includes("_")&&(r=r.replace(/([_][a-z])/g,(function(t){return t.toUpperCase().replace("_","")}))),o[r]=a))})),o}},{key:"createGlobalItemMarkup",value:function createGlobalItemMarkup(t){var o=jQuery("<div>",{class:"e-global__preview-item e-global__typography","data-global-id":t.id});return o.html(t.title).css(this.buildPreviewItemCSS(t.value)),o}},{key:"getGlobalMeta",value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get("name"),title:elementor.translate("new_typography_setting"),controlType:"typography",route:"panel/global/global-typography"}}},{key:"getAddGlobalConfirmMessage",value:function getAddGlobalConfirmMessage(){var t=this.getGlobalMeta(),o=jQuery("<div>",{class:"e-global__confirm-message"}),i=jQuery("<div>").html(elementor.translate("global_fonts_confirm_text")),r=jQuery("<div>",{class:"e-global__confirm-input-wrapper"}),a=jQuery("<input>",{type:"text",name:"global-name",placeholder:t.title}).val(t.title);return r.append(a),o.append(i,r),o}},{key:"getGlobalsList",value:(o=(0,u.default)(l.default.mark((function _callee(){var t;return l.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,$e.data.get(this.getGlobalCommand());case 2:return t=o.sent,o.abrupt("return",t.data);case 4:case"end":return o.stop()}}),_callee,this)}))),function getGlobalsList(){return o.apply(this,arguments)})},{key:"buildGlobalsList",value:function buildGlobalsList(t,o){var i=this;(0,a.default)(t).forEach((function(t){if(t){var r=i.createGlobalItemMarkup(t);o.append(r)}}))}},{key:"onAddGlobalButtonClick",value:function onAddGlobalButtonClick(){this.triggerMethod("add:global:to:list",this.getAddGlobalConfirmMessage())}}]),ControlPopoverStarterView}(v);o.default=y,y.onPasteStyle=function(t,o){return!o||o===t.return_value}},function(t,o,i){"use strict";var r=i(0);i(531);var a=r(i(47));i(120),i(295),i(81);var l=r(i(25));i(60),i(40),i(26);var u=r(i(301)),c=r(i(215));t.exports={document:c.default,_enqueuedFonts:{editor:[],preview:[]},_enqueuedIconFonts:[],_inlineSvg:[],elementsHierarchy:{document:{section:{column:{widget:null,section:null}}}},enqueueCSS:function enqueueCSS(t,o){var i='link[href="'+t+'"]',r='<link href="'+t+'" rel="stylesheet" type="text/css">';o&&(o.find(i).length||o.find("link:last").after(r))},enqueuePreviewStylesheet:function enqueuePreviewStylesheet(t){this.enqueueCSS(t,elementor.$previewContents)},enqueueEditorStylesheet:function enqueueEditorStylesheet(t){this.enqueueCSS(t,elementorCommon.elements.$document)},enqueueStylesheet:function enqueueStylesheet(t){elementorCommon.helpers.hardDeprecated("elementor.helpers.enqueueStylesheet()","2.6.0","elementor.helpers.enqueuePreviewStylesheet()"),this.enqueuePreviewStylesheet(t)},fetchInlineSvg:function fetchInlineSvg(t){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];fetch(t).then((function(t){return t.ok?t.text():""})).then((function(t){o&&o(t)}))},getInlineSvg:function getInlineSvg(t,o){if(t.id){if(this._inlineSvg.hasOwnProperty(t.id))return this._inlineSvg[t.id];var i=this;this.fetchInlineSvg(t.url,(function(r){r&&(i._inlineSvg[t.id]=r,o&&o.render(),elementor.channels.editor.trigger("svg:insertion",r,t.id))}))}},enqueueIconFonts:function enqueueIconFonts(t){var o=this;if(-1===this._enqueuedIconFonts.indexOf(t)&&!elementor.config.icons_update_needed){var i=this.getIconLibrarySettings(t);i&&(i.enqueue&&i.enqueue.forEach((function(t){o.enqueuePreviewStylesheet(t),o.enqueueEditorStylesheet(t)})),i.url&&(this.enqueuePreviewStylesheet(i.url),this.enqueueEditorStylesheet(i.url)),this._enqueuedIconFonts.push(t),elementor.channels.editor.trigger("fontIcon:insertion",t,i))}},getIconLibrarySettings:function getIconLibrarySettings(t){var o=elementor.config.icons.libraries.filter((function(o){return t===o.name}));return!(!o[0]||!o[0].name)&&o[0]},renderIcon:function renderIcon(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"i",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"value";if(!o||!o.library)return"object"===a?{rendered:!1}:void 0;var l=o.library,u=o.value;if("svg"===l)return"panel"===a?'<img src="'+u.url+'">':{rendered:!0,value:this.getInlineSvg(u,t)};var c=this.getIconLibrarySettings(l);if(c&&!c.hasOwnProperty("isCustom")){if(this.enqueueIconFonts(l),"panel"===a)return"<"+r+' class="'+u+'"></'+r+">";var d=r+this.getUniqueID();t.addRenderAttribute(d,i),t.addRenderAttribute(d,"class",u);var m="<"+r+" "+t.getRenderAttributeString(d)+"></"+r+">";return"object"===a?{rendered:!0,value:m}:m}return elementor.channels.editor.trigger("Icon:insertion",l,u,i,r,t),"object"===a?{rendered:!1}:void 0},isIconMigrated:function isIconMigrated(t,o){return t.__fa4_migrated&&t.__fa4_migrated[o]},fetchFa4ToFa5Mapping:function fetchFa4ToFa5Mapping(){var t=elementorCommon.storage.get("fa4Tofa5Mapping");return t||jQuery.getJSON(elementor.config.fa4_to_fa5_mapping_url,(function(o){t=o,elementorCommon.storage.set("fa4Tofa5Mapping",o)})),t},mapFa4ToFa5:function mapFa4ToFa5(t){var o=this.fetchFa4ToFa5Mapping();return o[t]?o[t]:{value:"fas"+t.replace("fa "," "),library:"fa-solid"}},enqueueFont:function enqueueFont(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"preview";if($e.devTools&&$e.devTools.log.info("enqueueFont font: '".concat(t,"', target: '").concat(o,"'")),-1===this._enqueuedFonts[o].indexOf(t)){var i,r=elementor.config.controls.font.options[t],a={ru_RU:"cyrillic",uk:"cyrillic",bg_BG:"cyrillic",vi:"vietnamese",el:"greek",he_IL:"hebrew"};switch(r){case"googlefonts":i="https://fonts.googleapis.com/css?family="+t+":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic",a[elementor.config.locale]&&(i+="&subset="+a[elementor.config.locale]);break;case"earlyaccess":var l=t.replace(/\s+/g,"").toLowerCase();i="https://fonts.googleapis.com/earlyaccess/"+l+".css"}_.isEmpty(i)||("editor"===o?this.enqueueCSS(i,elementorCommon.elements.$document):this.enqueueCSS(i,elementor.$previewContents)),this._enqueuedFonts[o].push(t),elementor.channels.editor.trigger("font:insertion",r,t)}},resetEnqueuedFontsCache:function resetEnqueuedFontsCache(){this._enqueuedFonts={editor:[],preview:[]},this._enqueuedIconFonts=[]},getElementChildType:function getElementChildType(t,o){var i=this;if(o||(o=this.elementsHierarchy),void 0!==o[t])return jQuery.isPlainObject(o[t])?(0,l.default)(o[t]):null;var r=null;return jQuery.each(o,(function(o,a){if(jQuery.isPlainObject(a)){var l=i.getElementChildType(t,a);return l?(r=l,!1):void 0}})),r},getUniqueID:function getUniqueID(){return elementorCommon.helpers.softDeprecated("elementor.helpers.getUniqueID()","3.0.0","elementorCommon.helpers.getUniqueId()"),elementorCommon.helpers.getUniqueId()},getSocialNetworkNameFromIcon:function getSocialNetworkNameFromIcon(t,o){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l="",u="";return o&&!r?(l=o.replace("fa fa-",""),u='<i class="'+o+'"></i>'):t.value&&"svg"!==t.library?(l=(l=t.value.split(" ")[1])?l.replace("fa-",""):"",u=this.renderIcon(null,t,{},"i","panel")):u=this.renderIcon(null,t,{},"i","panel"),""!==l&&i&&(l=(l=l.split("-").join(" ")).replace(/\b\w/g,(function(t){return t.toUpperCase()}))),l=elementor.hooks.applyFilters("elementor/social_icons/network_name",l,t,o,i,a),a&&(l=u+" "+l),l},getSimpleDialog:function getSimpleDialog(t,o,i,r,a){return elementorCommon.dialogsManager.createWidget("confirm",{id:t,headerMessage:o,message:i,position:{my:"center center",at:"center center"},strings:{confirm:r,cancel:elementor.translate("cancel")},onConfirm:a})},maybeDisableWidget:function maybeDisableWidget(){if(!elementor.config.icons_update_needed)return!1;var t=elementor.channels.panelElements.request("element:selected").model.get("widgetType"),o=elementor.widgetsCache[t];if(o&&function hasControlOfType(t,o){var i=!1;return jQuery.each(t,(function(t,r){return o===r.type?(i=!0,!1):(!r.is_repeater||!(i=hasControlOfType(r.fields,o)))&&void 0})),i}(o.controls,"icons")){return elementor.helpers.getSimpleDialog("elementor-enable-fa5-dialog",elementor.translate("enable_fa5"),elementor.translate("dialog_confirm_enable_fa5"),elementor.translate("update"),(function onConfirm(){window.location.href=elementor.config.tools_page_link+"&redirect_to="+encodeURIComponent(document.location.href)+"#tab-fontawesome4_migration"})).show(),!0}return!1},stringReplaceAll:function stringReplaceAll(t,o){var i=new RegExp((0,l.default)(o).join("|"),"gi");return t.replace(i,(function(t){return o[t]}))},isActiveControl:function isActiveControl(t,o){var i,r;if(_.isFunction(t.get)?(i=t.get("condition"),r=t.get("conditions")):(i=t.condition,r=t.conditions),r&&!elementor.conditions.check(r,o))return!1;if(_.isEmpty(i))return!0;var l=_.filter(i,(function(t,i){var r,l=i.match(/([a-z_\-0-9]+)(?:\[([a-z_]+)])?(!?)$/i),u=l[1],c=l[2],d=!!l[3],m=o[u];return o.__dynamic__&&o.__dynamic__[u]&&(m=o.__dynamic__[u]),void 0===m||(c&&"object"===(0,a.default)(m)&&(m=m[c]),r=_.isArray(t)&&!_.isEmpty(t)?_.contains(t,m):_.isArray(m)&&!_.isEmpty(m)?_.contains(m,t):_.isEqual(t,m),d?r:!r)}));return _.isEmpty(l)},cloneObject:function cloneObject(t){return elementorCommon.helpers.hardDeprecated("elementor.helpers.cloneObject","2.3.0","elementorCommon.helpers.cloneObject"),elementorCommon.helpers.cloneObject(t)},disableElementEvents:function disableElementEvents(t){t.each((function(){var t=this.style.pointerEvents;"none"!==t&&jQuery(this).data("backup-pointer-events",t).css("pointer-events","none")}))},enableElementEvents:function enableElementEvents(t){t.each((function(){var t=jQuery(this),o=t.data("backup-pointer-events");void 0!==o&&t.removeData("backup-pointer-events").css("pointer-events",o)}))},wpColorPicker:function wpColorPicker(t){return elementorCommon.helpers.deprecatedMethod("elementor.helpers.wpColorPicker()","2.8.0","new ColorPicker()"),new u.default({picker:{el:t}})},isInViewport:function isInViewport(t,o){var i=t.getBoundingClientRect();return o=o||document.documentElement,i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||o.clientHeight)&&i.right<=(window.innerWidth||o.clientWidth)},scrollToView:function scrollToView(t,o,i){void 0===o&&(o=500);var r=i,a=elementorFrontend.elements.$window;i||(i=a,r=elementor.$previewContents.find("html, body")),setTimeout((function(){if(t[0].isConnected){var o=i.height(),l=i.scrollTop(),u=i===a?t.offset().top:t[0].offsetTop,c=u-l;if(!(c>0&&c<o)){var d=u-o/2;r.stop(!0).animate({scrollTop:d},1e3)}}}),o)},getElementInlineStyle:function getElementInlineStyle(t,o){var i={},r=t[0].style;return o.forEach((function(t){i[t]=void 0!==r[t]?r[t]:""})),i},cssWithBackup:function cssWithBackup(t,o,i){var r=this.getElementInlineStyle(t,(0,l.default)(i));t.data("css-backup-"+o,r).css(i)},recoverCSSBackup:function recoverCSSBackup(t,o){var i="css-backup-"+o;t.css(t.data(i)),t.removeData(i)},elementSizeToUnit:function elementSizeToUnit(t,o,i){var r=elementorFrontend.elements.window;switch(i){case"%":o/=t.offsetParent().width()/100;break;case"vw":o/=r.innerWidth/100;break;case"vh":o/=r.innerHeight/100}return Math.round(1e3*o)/1e3},compareVersions:function compareVersions(t,o,i){var r=function prepareVersion(t){return(t+="").replace(/[^\d.]+/,".-1.")};if((t=r(t))===(o=r(o)))return!i||/^={2,3}$/.test(i);for(var a=t.split(".").map(Number),l=o.split(".").map(Number),u=Math.max(a.length,l.length),c=0;c<u;c++){var d=a[c]||0,m=l[c]||0;if(d!==m)return elementor.conditions.compare(d,m,i)}},getModelLabel:function getModelLabel(t){var o;return t instanceof Backbone.Model||(t=new Backbone.Model(t)),t.get("labelSuffix")?o=t.get("title")+" "+t.get("labelSuffix"):"global"===t.get("widgetType")&&t.getTitle&&(o=t.getTitle()),o||(o=elementor.getElementData(t).title),o},hasPro:function hasPro(){return!!window.elementorPro}}},function(t,o,i){"use strict";var r=i(18),a=i(64),l=i(50),u=i(310),c=i(124),d=i(35),m=i(312).f,p=i(311).f,h=i(49).f,g=i(532).trim,v=r.Number,y=v,C=v.prototype,b="Number"==l(i(228)(C)),w="trim"in String.prototype,toNumber=function(t){var o=c(t,!1);if("string"==typeof o&&o.length>2){var i,r,a,l=(o=w?o.trim():g(o,3)).charCodeAt(0);if(43===l||45===l){if(88===(i=o.charCodeAt(2))||120===i)return NaN}else if(48===l){switch(o.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+o}for(var u,d=o.slice(2),m=0,p=d.length;m<p;m++)if((u=d.charCodeAt(m))<48||u>a)return NaN;return parseInt(d,r)}}return+o};if(!v(" 0o1")||!v("0b1")||v("+0x1")){v=function Number(t){var o=arguments.length<1?0:t,i=this;return i instanceof v&&(b?d((function(){C.valueOf.call(i)})):"Number"!=l(i))?u(new y(toNumber(o)),i,v):toNumber(o)};for(var k,S=i(27)?m(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;S.length>x;x++)a(y,k=S[x])&&!a(v,k)&&h(v,k,p(y,k));v.prototype=C,C.constructor=v,i(39)(r,"Number",v)}},function(t,o,i){var r=i(37),a=i(43),l=i(35),u=i(533),c="["+u+"]",d=RegExp("^"+c+c+"*"),m=RegExp(c+c+"*$"),exporter=function(t,o,i){var a={},c=l((function(){return!!u[t]()||"​"!="​"[t]()})),d=a[t]=c?o(p):u[t];i&&(a[i]=d),r(r.P+r.F*c,"String",a)},p=exporter.trim=function(t,o){return t=String(a(t)),1&o&&(t=t.replace(d,"")),2&o&&(t=t.replace(m,"")),t};t.exports=exporter},function(t,o){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,o,i){"use strict";var r,a=i(0)(i(25));r=function ImagesManager(){var t=this,o={},i=[],r=function getNormalizedSize(t){var o,i=t.size;if("custom"===i){var r=t.dimension;if(!r.width&&!r.height)return"full";o="custom_"+r.width+"x"+r.height}else o=i;return o},l={};t.updateOnReceiveImage=function(){var t=elementor.getPanelView().getCurrentPageView().getOption("editedElementView");t.$el.addClass("elementor-loading"),l[t.cid]=t,elementor.channels.editor.once("imagesManager:detailsReceived",(function(){_.isEmpty(l)||_(l).each((function(t){t.render(),t.$el.removeClass("elementor-loading")})),l={}}))},t.getImageUrl=function(o){t.registerItem(o);var i=t.getItem(o);if(!i){if("custom"===o.size)return void($e.routes.isPartOf("panel/editor")&&o.model&&t.updateOnReceiveImage());i=o.url}return i},t.getItem=function(t){var i=r(t),a=t.id;return!!i&&(!(!o[a]||!o[a][i])&&o[a][i])},t.registerItem=function(o){""!==o.id&&(t.getItem(o)||(i.push(o),t.debounceGetRemoteItems()))},t.getRemoteItems=function(){var t,l,u=[];if(0!==(0,a.default)(i).length){for(l in i){t=i[l];var c=r(t),d=t.id,m=!o[d]||0===(0,a.default)(o[d]).length;u.push({id:d,size:c,is_first_time:m})}elementorCommon.ajax.send("get_images_details",{data:{items:u},success:function success(t){var r,a;for(r in t)for(a in o[r]||(o[r]={}),t[r])o[r][a]=t[r][a];i=[],elementor.channels.editor.trigger("imagesManager:detailsReceived",t)}})}},t.debounceGetRemoteItems=_.debounce(t.getRemoteItems,300)},t.exports=new r},function(t,o,i){"use strict";var r=i(0),a=r(i(25)),l=r(i(206));i(26);var u,c=i(332),d=i(293);u=function Schemes(){var t=this,o=new c,i={},r=".elementor-widget-",u={},m=function fetchWidgetControlsStyles(i){var a=t.getWidgetSchemeControls(i);_.each(a,(function(l){!function fetchControlStyles(i,a,l){d.addControlStyleRules(o,i,a,(function(o){return t.getSchemeValue(o.scheme.type,o.scheme.value,o.scheme.key).value}),["{{WRAPPER}}"],[r+l])}(l,a,i.widget_type)}))};this.init=function(){return function initElements(){var t="elementor-style-scheme";u.$style=elementor.$previewContents.find("#".concat(t)),u.$style.length||(u.$style=jQuery("<style>",{id:t})),u.$previewHead=elementor.$previewContents.find("head")}(),function buildUI(){u.$previewHead.append(u.$style)}(),function initSchemes(){i=elementorCommon.helpers.cloneObject(elementor.config.schemes.items)}(),t},this.getWidgetSchemeControls=function(t){return _.filter(t.controls,(function(t){return _.isObject(t.scheme)}))},this.getSchemes=function(){return i},this.getEnabledSchemesTypes=function(){return elementor.config.schemes.enabled_schemes},this.getScheme=function(t){return i[t]},this.getSchemeValue=function(o,i,r){if(this.getEnabledSchemesTypes().indexOf(o)<0)return!1;var a=t.getScheme(o).items[i];if(r&&_.isObject(a)){var l=elementorCommon.helpers.cloneObject(a);return l.value=a.value[r],l}return a},this.printSchemesStyle=function(){o.empty(),function fetchAllWidgetsSchemesStyle(){_.each(elementor.widgetsCache,(function(t){m(t)}))}(),u.$style.text(o)},this.resetSchemes=function(t){i[t]=elementorCommon.helpers.cloneObject(elementor.config.schemes.items[t])},this.saveScheme=function(t){elementor.config.schemes.items[t].items=elementorCommon.helpers.cloneObject(i[t].items);var o={};return _.each(i[t].items,(function(t,i){o[i]=t.value})),elementorCommon.ajax.addRequest("apply_scheme",{data:{scheme_name:t,data:(0,l.default)(o)}})},this.setSchemeValue=function(t,o,r){i[t].items[o].value=r},this.addSchemeItem=function(t,o,r){var l=i[t],u=(0,a.default)(l.items),c=void 0!==r,d=c?r:+u.slice(-1)[0]||0;if(c)for(var m=u.length+1;m>r;m--)l.items[m]=l.items[m-1];l.items[d+1]=o},this.removeSchemeItem=function(t,o){for(var r=i[t].items;;){var a=r[++o+1];if(!a){delete r[o];break}r[o]=a}}},t.exports=new u},function(t,o,i){"use strict";var r;r={getPresetsDictionary:function getPresetsDictionary(){return{11:100/9,12:12.5,14:100/7,16:100/6,33:100/3,66:2/3*100,83:5/6*100}},getAbsolutePresetValues:function getAbsolutePresetValues(t){var o=elementorCommon.helpers.cloneObject(t),i=this.getPresetsDictionary();return _.each(o,(function(t,r){i[t]&&(o[r]=i[t])})),o},getPresets:function getPresets(t,o){var i=elementorCommon.helpers.cloneObject(elementor.config.elements.section.presets);return t&&(i=i[t]),o&&(i=i[o]),i},getPresetByStructure:function getPresetByStructure(t){var o=this.getParsedStructure(t);return this.getPresets(o.columnsCount,o.presetIndex)},getParsedStructure:function getParsedStructure(t){return{columnsCount:(t+="").slice(0,-1),presetIndex:t.substr(-1)}},getPresetSVG:function getPresetSVG(t,o,i,r){o=o||100,i=i||50,r=r||2;var a=this.getAbsolutePresetValues(t),l=this._generatePresetSVGPath(a,o,i,r);return this._createSVGPreset(l,o,i)},_createSVGPreset:function _createSVGPreset(t,o,i){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.setAttribute("viewBox","0 0 "+o+" "+i);var a=document.createElementNS("http://www.w3.org/2000/svg","path");return a.setAttribute("d",t),r.appendChild(a),r},_generatePresetSVGPath:function _generatePresetSVGPath(t,o,i,r){for(var a=o-r*(t.length-1),l=0,u="",c=0;c<t.length;c++){c&&(u+=" ");var d=t[c]/100*a;u+="M"+ +(l+=d).toFixed(4)+",0",u+="V"+i,u+="H"+ +(l-d).toFixed(4),u+="V0Z",l+=r}return u}},t.exports=r},function(t,o,i){"use strict";var r,a=i(0),l=a(i(47)),u=a(i(206)),c=a(i(538)),d=i(555);r=function TemplateLibraryManager(){this.modalConfig={};var t,o,i,r=this,a={},m={},p={};this.init=function(){!function registerDefaultTemplateTypes(){var t={saveDialog:{description:elementor.translate("save_your_template_description")},ajaxParams:{success:function success(t){$e.route("library/templates/my-templates",{onBefore:function onBefore(){i&&(i.findWhere({template_id:t.template_id})||i.add(t))}})},error:function error(t){r.showErrorDialog(t)}}};_.each(["page","section",elementor.config.document.type],(function(o){var i=jQuery.extend(!0,{},t,{saveDialog:{title:elementor.translate("save_your_template",[elementor.translate(o)])}});r.registerTemplateType(o,i)}))}(),function registerDefaultFilterTerms(){p={text:{callback:function callback(t){return t=t.toLowerCase(),this.get("title").toLowerCase().indexOf(t)>=0||_.any(this.get("tags"),(function(o){return o.toLowerCase().indexOf(t)>=0}))}},type:{},subtype:{},favorite:{}}}(),this.component=$e.components.register(new c.default({manager:this})),elementor.addBackgroundClickListener("libraryToggleMore",{element:".elementor-template-library-template-more"})},this.getTemplateTypes=function(t){return t?a[t]:a},this.registerTemplateType=function(t,o){a[t]=o},this.deleteTemplate=function(t,o){var a=r.getDeleteDialog();a.onConfirm=function(){o.onConfirm&&o.onConfirm(),elementorCommon.ajax.addRequest("delete_template",{data:{source:t.get("source"),template_id:t.get("template_id")},success:function success(r){i.remove(t,{silent:!0}),o.onSuccess&&o.onSuccess(r)}})},a.show()},this.importTemplate=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};elementorCommon.helpers.softDeprecated("importTemplate","2.8.0","$e.run( 'library/insert-template' )"),o.model=t,$e.run("library/insert-template",o)},this.saveTemplate=function(t,o){var i=a[t];_.extend(o,{source:"local",type:t}),i.prepareSavedData&&(o=i.prepareSavedData(o)),o.content=(0,u.default)(o.content);var r={data:o};i.ajaxParams&&_.extend(r,i.ajaxParams),elementorCommon.ajax.addRequest("save_template",r)},this.requestTemplateContent=function(t,o,i){var r={unique_id:o,data:{source:t,edit_mode:!0,display:!0,template_id:o}};return i&&jQuery.extend(!0,r,i),elementorCommon.ajax.addRequest("get_template_data",r)},this.markAsFavorite=function(t,o){var i={data:{source:t.get("source"),template_id:t.get("template_id"),favorite:o}};return elementorCommon.ajax.addRequest("mark_template_as_favorite",i)},this.getDeleteDialog=function(){return t||(t=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-template-library-delete-dialog",headerMessage:elementor.translate("delete_template"),message:elementor.translate("delete_template_confirm"),strings:{confirm:elementor.translate("delete")}})),t},this.getErrorDialog=function(){return o||(o=elementorCommon.dialogsManager.createWidget("alert",{id:"elementor-template-library-error-dialog",headerMessage:elementor.translate("an_error_occurred")})),o},this.getTemplatesCollection=function(){return i},this.getConfig=function(t){return t?m[t]?m[t]:{}:m},this.requestLibraryData=function(t){if(!i||t.forceUpdate){t.onBeforeUpdate&&t.onBeforeUpdate();var o={data:{},success:function success(o){i=new d(o.templates),o.config&&(m=o.config),t.onUpdate&&t.onUpdate()}};t.forceSync&&(o.data.sync=!0),elementorCommon.ajax.addRequest("get_library_data",o)}else t.onUpdate&&t.onUpdate()},this.getFilter=function(t){return elementor.channels.templates.request("filter:"+t)},this.setFilter=function(t,o,i){elementor.channels.templates.reply("filter:"+t,o),i||elementor.channels.templates.trigger("filter:change")},this.getFilterTerms=function(t){return t?p[t]:p},this.setScreen=function(t){elementor.channels.templates.stopReplying(),r.setFilter("source",t.source,!0),r.setFilter("type",t.type,!0),r.setFilter("subtype",t.subtype,!0),r.showTemplates()},this.loadTemplates=function(t){r.requestLibraryData({onBeforeUpdate:r.layout.showLoadingView.bind(r.layout),onUpdate:function onUpdate(){r.layout.hideLoadingView(),t&&t()}})},this.showTemplates=function(){r.layout.setHeaderDefaultParts(),r.loadTemplates((function(){var t=r.filterTemplates();r.layout.showTemplatesView(new d(t))}))},this.filterTemplates=function(){var t=r.getFilter("source");return i.filter((function(o){if(t!==o.get("source"))return!1;var i=a[o.get("type")];return!i||!1!==i.showInLibrary}))},this.showErrorDialog=function(t){if("object"===(0,l.default)(t)){var o="";_.each(t,(function(t){o+="<div>"+t.message+".</div>"})),t=o}else t?t+=".":t="<i>&#60;The error message is empty&#62;</i>";r.getErrorDialog().setMessage(elementor.translate("templates_request_error")+'<div id="elementor-template-library-error-info">'+t+"</div>").show()}},t.exports=new r},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(214)),u=a(i(2)),c=a(i(3)),d=a(i(24)),m=a(i(16)),p=a(i(4)),h=a(i(5)),g=a(i(287)),v=r(i(539)),y=i(542),C=function(t){(0,p.default)(Component,t);var o=(0,h.default)(Component);function Component(){return(0,u.default)(this,Component),o.apply(this,arguments)}return(0,c.default)(Component,[{key:"__construct",value:function __construct(t){(0,d.default)((0,m.default)(Component.prototype),"__construct",this).call(this,t),elementor.on("document:loaded",this.onDocumentLoaded.bind(this))}},{key:"getNamespace",value:function getNamespace(){return"library"}},{key:"defaultTabs",value:function defaultTabs(){return{"templates/blocks":{title:elementor.translate("blocks"),getFilter:function getFilter(){return{source:"remote",type:"block",subtype:elementor.config.document.remoteLibrary.category}}},"templates/pages":{title:elementor.translate("pages"),filter:{source:"remote",type:"page"}},"templates/my-templates":{title:elementor.translate("my_templates"),filter:{source:"local"}}}}},{key:"defaultRoutes",value:function defaultRoutes(){var t=this;return{import:function _import(){t.manager.layout.showImportView()},"save-template":function saveTemplate(o){t.manager.layout.showSaveTemplateView(o.model)},preview:function preview(o){t.manager.layout.showPreviewView(o.model)},connect:function connect(o){o.texts={title:elementor.translate("library/connect:title"),message:elementor.translate("library/connect:message"),button:elementor.translate("library/connect:button")},t.manager.layout.showConnectView(o)}}}},{key:"defaultCommands",value:function defaultCommands(){var t=(0,d.default)((0,m.default)(Component.prototype),"defaultCommands",this).call(this);return(0,l.default)((0,l.default)({},t),this.importCommands(v))}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{open:{keys:"ctrl+shift+l"}}}},{key:"onDocumentLoaded",value:function onDocumentLoaded(t){this.setDefaultRoute(t.config.remoteLibrary.default_route),this.maybeOpenLibrary()}},{key:"renderTab",value:function renderTab(t){var o=this.tabs[t],i=o.getFilter?o.getFilter():o.filter;this.manager.setScreen(i)}},{key:"activateTab",value:function activateTab(t){$e.routes.saveState("library"),(0,d.default)((0,m.default)(Component.prototype),"activateTab",this).call(this,t)}},{key:"open",value:function open(){return(0,d.default)((0,m.default)(Component.prototype),"open",this).call(this),this.manager.layout||(this.manager.layout=this.layout),this.manager.layout.setHeaderDefaultParts(),!0}},{key:"close",value:function close(){return!!(0,d.default)((0,m.default)(Component.prototype),"close",this).call(this)&&(this.manager.modalConfig={},!0)}},{key:"show",value:function show(t){this.manager.modalConfig=t,!t.toDefault&&$e.routes.restoreState("library")||$e.route(this.getDefaultRoute())}},{key:"insertTemplate",value:function insertTemplate(t){var o=this,i=elementor.config.document.remoteLibrary.autoImportSettings,r=t.model,a=t.withPageSettings,l=void 0===a?null:a;(i&&(l=!0),null===l&&r.get("hasPageSettings"))?this.getImportSettingsDialog().showImportDialog(r):(this.manager.layout.showLoadingView(),this.manager.requestTemplateContent(r.get("source"),r.get("template_id"),{data:{with_page_settings:l},success:function success(t){var i=jQuery.extend({},o.manager.modalConfig.importOptions);i.withPageSettings=l,o.manager.layout.hideLoadingView(),o.manager.layout.hideModal(),$e.run("document/elements/import",{model:r,data:t,options:i})},error:function error(t){o.manager.showErrorDialog(t)},complete:function complete(){o.manager.layout.hideLoadingView()}}))}},{key:"getImportSettingsDialog",value:function getImportSettingsDialog(){var t={dialog:null,showImportDialog:function showImportDialog(o){var i=t.getDialog();i.onConfirm=function(){$e.run("library/insert-template",{model:o,withPageSettings:!0})},i.onCancel=function(){$e.run("library/insert-template",{model:o,withPageSettings:!1})},i.show()},initDialog:function initDialog(){t.dialog=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-insert-template-settings-dialog",headerMessage:elementor.translate("import_template_dialog_header"),message:elementor.translate("import_template_dialog_message")+"<br>"+elementor.translate("import_template_dialog_message_attention"),strings:{confirm:elementor.translate("yes"),cancel:elementor.translate("no")}})},getDialog:function getDialog(){return t.dialog||t.initDialog(),t.dialog}};return t}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-template-library-header-menu"}},{key:"getModalLayout",value:function getModalLayout(){return y}},{key:"maybeOpenLibrary",value:function maybeOpenLibrary(){"#library"===location.hash&&($e.run("library/open"),location.hash="")}}]),Component}(g.default);o.default=C},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"InsertTemplate",{enumerable:!0,get:function get(){return a.InsertTemplate}}),r(o,"Open",{enumerable:!0,get:function get(){return l.Open}});var a=i(540),l=i(541)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.InsertTemplate=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(InsertTemplate,t);var o=(0,c.default)(InsertTemplate);function InsertTemplate(){return(0,a.default)(this,InsertTemplate),o.apply(this,arguments)}return(0,l.default)(InsertTemplate,[{key:"apply",value:function apply(t){return this.component.insertTemplate(t)}}]),InsertTemplate}(r(i(23)).default);o.InsertTemplate=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"apply",value:function apply(t){return this.component.show(t)}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(543),a=i(544),l=i(545),u=i(546),c=i(547),d=i(551),m=i(552),p=i(553),h=i(554);t.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){return{id:"elementor-template-library-modal"}},getLogoOptions:function getLogoOptions(){return{title:elementor.translate("library"),click:function click(){$e.run("library/open",{toDefault:!0})}}},getTemplateActionButton:function getTemplateActionButton(t){var o="#tmpl-elementor-template-library-"+(t.isPro?"get-pro-button":"insert-button");o=elementor.hooks.applyFilters("elementor/editor/template-library/template/action-button",o,t);var i=Marionette.TemplateCache.get(o);return Marionette.Renderer.render(i)},setHeaderDefaultParts:function setHeaderDefaultParts(){var t=this.getHeaderView();t.tools.show(new r),t.menuArea.show(new a),this.showLogo()},showTemplatesView:function showTemplatesView(t){this.modalContent.show(new c({collection:t}))},showImportView:function showImportView(){var t=this.getHeaderView();t.menuArea.reset(),this.modalContent.show(new m),t.logoArea.show(new u)},showConnectView:function showConnectView(t){this.getHeaderView().menuArea.reset(),this.modalContent.show(new p(t))},showSaveTemplateView:function showSaveTemplateView(t){this.getHeaderView().menuArea.reset(),this.modalContent.show(new d({model:t}))},showPreviewView:function showPreviewView(t){this.modalContent.show(new h({url:t.get("url")}));var o=this.getHeaderView();o.menuArea.reset(),o.tools.show(new l({model:t})),o.logoArea.show(new u)}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-actions",id:"elementor-template-library-header-actions",ui:{import:"#elementor-template-library-header-import i",sync:"#elementor-template-library-header-sync i",save:"#elementor-template-library-header-save i"},events:{"click @ui.import":"onImportClick","click @ui.sync":"onSyncClick","click @ui.save":"onSaveClick"},onImportClick:function onImportClick(){$e.route("library/import")},onSyncClick:function onSyncClick(){var t=this;t.ui.sync.addClass("eicon-animation-spin"),elementor.templates.requestLibraryData({onUpdate:function onUpdate(){t.ui.sync.removeClass("eicon-animation-spin"),$e.routes.refreshContainer("library")},forceUpdate:!0,forceSync:!0})},onSaveClick:function onSaveClick(){$e.route("library/save-template")}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-menu",id:"elementor-template-library-header-menu",templateHelpers:function templateHelpers(){return{tabs:$e.components.get("library").getTabs()}}})},function(t,o,i){"use strict";var r=i(378);t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-preview",id:"elementor-template-library-header-preview",behaviors:{insertTemplate:{behaviorClass:r}}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-back",id:"elementor-template-library-header-preview-back",events:{click:"onClick"},onClick:function onClick(){$e.routes.restoreState("library")}})},function(t,o,i){"use strict";var r,a=i(548),l=i(549);r=Marionette.CompositeView.extend({template:"#tmpl-elementor-template-library-templates",id:"elementor-template-library-templates",childViewContainer:"#elementor-template-library-templates-container",reorderOnSort:!0,emptyView:function emptyView(){return new(i(550))},ui:{textFilter:"#elementor-template-library-filter-text",selectFilter:".elementor-template-library-filter-select",myFavoritesFilter:"#elementor-template-library-filter-my-favorites",orderInputs:".elementor-template-library-order-input",orderLabels:"label.elementor-template-library-order-label"},events:{"input @ui.textFilter":"onTextFilterInput","change @ui.selectFilter":"onSelectFilterChange","change @ui.myFavoritesFilter":"onMyFavoritesFilterChange","mousedown @ui.orderLabels":"onOrderLabelsClick"},comparators:{title:function title(t){return t.get("title").toLowerCase()},popularityIndex:function popularityIndex(t){var popularityIndex=t.get("popularityIndex");return popularityIndex||(popularityIndex=t.get("date")),-popularityIndex},trendIndex:function trendIndex(t){var trendIndex=t.get("trendIndex");return trendIndex||(trendIndex=t.get("date")),-trendIndex}},getChildView:function getChildView(t){return"remote"===t.get("source")?l:a},initialize:function initialize(){this.listenTo(elementor.channels.templates,"filter:change",this._renderChildren)},filter:function filter(t){var o=elementor.templates.getFilterTerms(),i=!0;return jQuery.each(o,(function(o){var r=elementor.templates.getFilter(o);if(r){if(this.callback){var a=this.callback.call(t,r);return a||(i=!1),a}var l=r===t.get(o);return l||(i=!1),l}})),i},order:function order(t,o){var i=this.comparators[t]||t;o&&(i=this.reverseOrder(i)),this.collection.comparator=i,this.collection.sort()},reverseOrder:function reverseOrder(t){if("function"!=typeof t){var o=t;t=function comparator(t){return t.get(o)}}return function(o,i){var r=t(o),a=t(i);return void 0===r?-1:void 0===a||r<a?1:r>a?-1:0}},addSourceData:function addSourceData(){var t=this.children.isEmpty();this.$el.attr("data-template-source",t?"empty":elementor.templates.getFilter("source"))},setFiltersUI:function setFiltersUI(){this.$(this.ui.selectFilter).select2({placeholder:elementor.translate("category"),allowClear:!0,width:150,dropdownParent:this.$el})},setMasonrySkin:function setMasonrySkin(){var t=new elementorModules.utils.Masonry({container:this.$childViewContainer,items:this.$childViewContainer.children()});this.$childViewContainer.imagesLoaded(t.run.bind(t))},toggleFilterClass:function toggleFilterClass(){this.$el.toggleClass("elementor-templates-filter-active",!(!elementor.templates.getFilter("text")&&!elementor.templates.getFilter("favorite")))},onRender:function onRender(){"remote"===elementor.templates.getFilter("source")&&"page"!==elementor.templates.getFilter("type")&&this.setFiltersUI()},onRenderCollection:function onRenderCollection(){this.addSourceData(),this.toggleFilterClass(),"remote"===elementor.templates.getFilter("source")&&"page"!==elementor.templates.getFilter("type")&&this.setMasonrySkin()},onBeforeRenderEmpty:function onBeforeRenderEmpty(){this.addSourceData()},onTextFilterInput:function onTextFilterInput(){elementor.templates.setFilter("text",this.ui.textFilter.val())},onSelectFilterChange:function onSelectFilterChange(t){var o=jQuery(t.currentTarget),i=o.data("elementor-filter");elementor.templates.setFilter(i,o.val())},onMyFavoritesFilterChange:function onMyFavoritesFilterChange(){elementor.templates.setFilter("favorite",this.ui.myFavoritesFilter[0].checked)},onOrderLabelsClick:function onOrderLabelsClick(t){var o,i=jQuery(t.currentTarget.control);i[0].checked||(o="asc"!==i.data("default-ordering-direction")),i.toggleClass("elementor-template-library-order-reverse",o),this.order(i.val(),i.hasClass("elementor-template-library-order-reverse"))}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(379);r=a.extend({template:"#tmpl-elementor-template-library-template-local",ui:function ui(){return _.extend(a.prototype.ui.apply(this,arguments),{deleteButton:".elementor-template-library-template-delete",morePopup:".elementor-template-library-template-more",toggleMore:".elementor-template-library-template-more-toggle",toggleMoreIcon:".elementor-template-library-template-more-toggle i"})},events:function events(){return _.extend(a.prototype.events.apply(this,arguments),{"click @ui.deleteButton":"onDeleteButtonClick","click @ui.toggleMore":"onToggleMoreClick"})},onDeleteButtonClick:function onDeleteButtonClick(){var t=this.ui.toggleMoreIcon;elementor.templates.deleteTemplate(this.model,{onConfirm:function onConfirm(){t.removeClass("eicon-ellipsis-h").addClass("eicon-loading eicon-animation-spin")},onSuccess:function onSuccess(){elementor.templates.showTemplates()}})},onToggleMoreClick:function onToggleMoreClick(){this.ui.morePopup.show()},onPreviewButtonClick:function onPreviewButtonClick(){open(this.model.get("url"),"_blank")}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(379);r=a.extend({template:"#tmpl-elementor-template-library-template-remote",ui:function ui(){return jQuery.extend(a.prototype.ui.apply(this,arguments),{favoriteCheckbox:".elementor-template-library-template-favorite-input"})},events:function events(){return jQuery.extend(a.prototype.events.apply(this,arguments),{"change @ui.favoriteCheckbox":"onFavoriteCheckboxChange"})},onPreviewButtonClick:function onPreviewButtonClick(){$e.route("library/preview",{model:this.model})},onFavoriteCheckboxChange:function onFavoriteCheckboxChange(){var t=this.ui.favoriteCheckbox[0].checked;this.model.set("favorite",t),elementor.templates.markAsFavorite(this.model,t),!t&&elementor.templates.getFilter("favorite")&&elementor.channels.templates.trigger("filter:change")}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({id:"elementor-template-library-templates-empty",template:"#tmpl-elementor-template-library-templates-empty",ui:{title:".elementor-template-library-blank-title",message:".elementor-template-library-blank-message"},modesStrings:{empty:{title:elementor.translate("templates_empty_title"),message:elementor.translate("templates_empty_message")},noResults:{title:elementor.translate("templates_no_results_title"),message:elementor.translate("templates_no_results_message")},noFavorites:{title:elementor.translate("templates_no_favorites_title"),message:elementor.translate("templates_no_favorites_message")}},getCurrentMode:function getCurrentMode(){return elementor.templates.getFilter("text")?"noResults":elementor.templates.getFilter("favorite")?"noFavorites":"empty"},onRender:function onRender(){var t=this.modesStrings[this.getCurrentMode()];this.ui.title.html(t.title),this.ui.message.html(t.message)}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({id:"elementor-template-library-save-template",template:"#tmpl-elementor-template-library-save-template",ui:{form:"#elementor-template-library-save-template-form",submitButton:"#elementor-template-library-save-template-submit"},events:{"submit @ui.form":"onFormSubmit"},getSaveType:function getSaveType(){return this.model?this.model.get("elType"):elementor.config.document.library&&elementor.config.document.library.save_as_same_type?elementor.config.document.type:"page"},templateHelpers:function templateHelpers(){var t=this.getSaveType();return elementor.templates.getTemplateTypes(t).saveDialog},onFormSubmit:function onFormSubmit(t){t.preventDefault();var o=this.ui.form.elementorSerializeObject(),i=this.getSaveType(),r={remove:["default"]};o.content=this.model?[this.model.toJSON(r)]:elementor.elements.toJSON(r),this.ui.submitButton.addClass("elementor-button-state"),elementor.templates.saveTemplate(i,o)}}),t.exports=r},function(t,o,i){"use strict";var r;i(60),i(40),r=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-import",id:"elementor-template-library-import",ui:{uploadForm:"#elementor-template-library-import-form",fileInput:"#elementor-template-library-import-form-input"},events:{"change @ui.fileInput":"onFileInputChange"},droppedFiles:null,submitForm:function submitForm(){var t,o=this;this.droppedFiles?(t=this.droppedFiles[0],this.droppedFiles=null):(t=this.ui.fileInput[0].files[0],this.ui.uploadForm[0].reset());var i=new FileReader;i.onload=function(i){return o.importTemplate(t.name,i.target.result.replace(/^[^,]+,/,""))},i.readAsDataURL(t)},importTemplate:function importTemplate(t,o){var i=elementor.templates.layout,r={data:{fileName:t,fileData:o},success:function success(t){elementor.templates.getTemplatesCollection().add(t),$e.route("library/templates/my-templates")},error:function error(t){elementor.templates.showErrorDialog(t),i.showImportView()},complete:function complete(){i.hideLoadingView()}};elementorCommon.ajax.addRequest("import_template",r),i.showLoadingView()},onRender:function onRender(){this.ui.uploadForm.on({"drag dragstart dragend dragover dragenter dragleave drop":this.onFormActions.bind(this),dragenter:this.onFormDragEnter.bind(this),"dragleave drop":this.onFormDragLeave.bind(this),drop:this.onFormDrop.bind(this)})},onFormActions:function onFormActions(t){t.preventDefault(),t.stopPropagation()},onFormDragEnter:function onFormDragEnter(){this.ui.uploadForm.addClass("elementor-drag-over")},onFormDragLeave:function onFormDragLeave(t){jQuery(t.relatedTarget).closest(this.ui.uploadForm).length||this.ui.uploadForm.removeClass("elementor-drag-over")},onFormDrop:function onFormDrop(t){this.droppedFiles=t.originalEvent.dataTransfer.files,this.submitForm()},onFileInputChange:function onFileInputChange(){this.submitForm()}}),t.exports=r},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-connect",id:"elementor-template-library-connect",ui:{connect:"#elementor-template-library-connect__button",thumbnails:"#elementor-template-library-connect-thumbnails"},templateHelpers:function templateHelpers(){return this.getOption("texts")},onRender:function onRender(){var t=this;this.ui.connect.elementorConnect({success:function success(){elementor.config.library_connect.is_connected=!0,t.getOption("model")?$e.run("library/insert-template",{model:t.getOption("model")}):($e.run("library/close"),elementor.notifications.showToast({message:elementor.translate("connected_successfully")}))},error:function error(){elementor.config.library_connect.is_connected=!1}})}})},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-preview",id:"elementor-template-library-preview",ui:{iframe:"> iframe"},onRender:function onRender(){this.ui.iframe.attr("src",this.getOption("url"))}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(556);r=Backbone.Collection.extend({model:a}),t.exports=r},function(t,o,i){"use strict";t.exports=Backbone.Model.extend({defaults:{template_id:0,title:"",source:"",type:"",subtype:"",author:"",thumbnail:"",url:"",export_link:"",tags:[]}})},function(t,o,i){"use strict";var r;i(40),i(120),r=function Conditions(){var t=this;this.compare=function(t,o,i){switch(i){case"==":return t==o;case"!=":return t!=o;case"!==":return t!==o;case"in":return-1!==o.indexOf(t);case"!in":return-1===o.indexOf(t);case"contains":return-1!==t.indexOf(o);case"!contains":return-1===t.indexOf(o);case"<":return t<o;case"<=":return t<=o;case">":return t>o;case">=":return t>=o;default:return t===o}},this.check=function(o,i){var r="or"===o.relation,a=!r;return jQuery.each(o.terms,(function(){var o;if(this.terms)o=t.check(this,i);else{var l=this.name.match(/(\w+)(?:\[(\w+)])?/),u=i[l[1]];l[2]&&(u=u[l[2]]),o=t.compare(u,this.value,this.operator)}return r?(o&&(a=!0),!o):o?void 0:a=!1})),a}},t.exports=new r},function(t,o,i){"use strict";var r=i(0);i(26);var a=r(i(2)),l=r(i(3)),u=r(i(48)),c=r(i(4)),d=r(i(5)),m=r(i(28));t.exports=function(t){(0,c.default)(FooterSaver,t);var o=(0,d.default)(FooterSaver);function FooterSaver(){var t;(0,a.default)(this,FooterSaver);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return t=o.call.apply(o,[this].concat(r)),(0,m.default)((0,u.default)(t),"previewWindow",null),t}return(0,l.default)(FooterSaver,[{key:"ui",value:function ui(){return{buttonPreview:"#elementor-panel-footer-saver-preview",buttonPublish:"#elementor-panel-saver-button-publish",buttonSaveOptions:"#elementor-panel-saver-button-save-options",buttonPublishLabel:"#elementor-panel-saver-button-publish-label",menuSaveDraft:"#elementor-panel-footer-sub-menu-item-save-draft",lastEditedWrapper:".elementor-last-edited-wrapper"}}},{key:"events",value:function events(){return{"click @ui.buttonPreview":"onClickButtonPreview","click @ui.buttonPublish":"onClickButtonPublish","click @ui.menuSaveDraft":"onClickMenuSaveDraft"}}},{key:"initialize",value:function initialize(t){var o=this;this.document=t.document||elementor.documents.getCurrent(),elementor.on("document:loaded",(function(t){o.setMenuItems(t),o.setLastEdited(t.config.last_edited)})),$e.components.get("document/save").footerSaver=this}},{key:"activateSaveButtons",value:function activateSaveButtons(t,o){var i=o||"draft"===t.container.settings.get("post_status");this.ui.buttonPublish.add(this.ui.menuSaveDraft).toggleClass("elementor-disabled",!i),this.ui.buttonSaveOptions.toggleClass("elementor-disabled",!i)}},{key:"onRender",value:function onRender(){this.addTooltip()}},{key:"setLastEdited",value:function setLastEdited(t){this.ui.lastEditedWrapper.removeClass("elementor-button-state").find(".elementor-last-edited").html(t)}},{key:"onClickButtonPreview",value:function onClickButtonPreview(){$e.run("editor/documents/preview",{id:elementor.documents.getCurrent().id})}},{key:"onClickButtonPublish",value:function onClickButtonPublish(){this.ui.buttonPublish.hasClass("elementor-disabled")||$e.run("document/save/default")}},{key:"onClickMenuSaveDraft",value:function onClickMenuSaveDraft(){$e.run("document/save/draft")}},{key:"setMenuItems",value:function setMenuItems(t){var o="publish";switch(t.container.settings.get("post_status")){case"publish":case"private":o="update",t.config.revisions.current_id!==t.id&&this.activateSaveButtons(t,!0);break;case"draft":t.config.user.can_publish||(o="submit"),this.activateSaveButtons(t,!0);break;case"pending":case void 0:t.config.user.can_publish||(o="update")}this.ui.buttonPublishLabel.html(elementor.translate(o))}},{key:"addTooltip",value:function addTooltip(){this.$el.find(".tooltip-target").each((function(t,o){var i=jQuery(o);i.tipsy({gravity:"s",offset:i.data("tooltip-offset"),title:function title(){return this.getAttribute("data-tooltip")}})}))}},{key:"refreshWpPreview",value:function refreshWpPreview(){if(this.previewWindow)try{this.previewWindow.location.href=elementor.config.document.urls.wp_preview}catch(t){}}}]),FooterSaver}(Marionette.Behavior)},function(t,o,i){"use strict";var r=i(281);t.exports=r.extend({ui:function ui(){var ui=r.prototype.ui.apply(this,arguments);return ui.button="button",ui},events:{"click @ui.button":"onButtonClick"},onButtonClick:function onButtonClick(){var t=this.model.get("event");elementor.channels.editor.trigger(t,this)}})},function(t,o,i){"use strict";i(120);var r,a=i(127);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.editor=".elementor-code-editor",ui},onReady:function onReady(){var t=this;if("undefined"!=typeof ace){var o=ace.require("ace/ext/language_tools"),i=elementor.settings.editorPreferences.model.get("ui_theme"),r=matchMedia("(prefers-color-scheme: dark)").matches;if(t.editor=ace.edit(this.ui.editor[0]),jQuery(t.editor.container).addClass("elementor-input-style elementor-code-editor"),t.editor.setOptions({mode:"ace/mode/"+t.model.attributes.language,minLines:10,maxLines:1/0,showGutter:!0,useWorker:!0,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0}),("dark"===i||"auto"===i&&r)&&t.editor.setTheme("ace/theme/merbivore_soft"),t.editor.getSession().setUseWrapMode(!0),elementor.panel.$el.on("resize.aceEditor",t.onResize.bind(this)),"css"===t.model.attributes.language){o.addCompleter({getCompletions:function getCompletions(t,o,i,r,a){var l=[],u=o.getTokenAt(i.row,i.column);0<r.length&&"selector".match(r)&&"constant"===u.type&&(l=[{name:"selector",value:"selector",score:1,meta:"Elementor"}]),a(null,l)}})}if(t.editor.setValue(t.getControlValue(),-1),t.editor.on("change",(function(){t.setValue(t.editor.getValue())})),"html"===t.model.attributes.language){var a=t.editor.getSession();a.on("changeAnnotation",(function(){for(var t=a.getAnnotations()||[],o=t.length,i=t.length;i--;)/doctype first\. Expected/.test(t[i].text)&&t.splice(i,1);o>t.length&&a.setAnnotations(t)}))}}},onResize:function onResize(){this.editor.resize()},onDestroy:function onDestroy(){elementor.panel.$el.off("resize.aceEditor")}}),t.exports=r},function(t,o,i){"use strict";i(562);var r,a=i(381);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.controls=".elementor-control-dimension > input:enabled",ui.link="button.elementor-link-dimensions",ui},events:function events(){return _.extend(a.prototype.events.apply(this,arguments),{"click @ui.link":"onLinkDimensionsClicked"})},defaultDimensionValue:0,initialize:function initialize(){a.prototype.initialize.apply(this,arguments),this.model.set("allowed_dimensions",this.filterDimensions(this.model.get("allowed_dimensions")))},getPossibleDimensions:function getPossibleDimensions(){return["top","right","bottom","left"]},filterDimensions:function filterDimensions(t){t=t||"all";var o=this.getPossibleDimensions();return"all"===t?o:(_.isArray(t)||("horizontal"===t?t=["right","left"]:"vertical"===t&&(t=["top","bottom"])),t)},onReady:function onReady(){var t=this,o=t.getControlValue();t.isLinkedDimensions()||(t.ui.link.addClass("unlinked"),t.ui.controls.each((function(i,r){var a=o[r.dataset.setting];_.isEmpty(a)&&(a=t.defaultDimensionValue),t.$(r).val(a)}))),t.fillEmptyDimensions()},updateDimensionsValue:function updateDimensionsValue(){var t={},o=this.getPossibleDimensions(),i=this.ui.controls,r=this.defaultDimensionValue;o.forEach((function(o){var a=i.filter('[data-setting="'+o+'"]');t[o]=a.length?a.val():r})),this.setValue(t)},fillEmptyDimensions:function fillEmptyDimensions(){var t=this.getPossibleDimensions(),o=this.model.get("allowed_dimensions"),i=this.ui.controls,r=this.defaultDimensionValue;this.isLinkedDimensions()||t.forEach((function(t){var a=i.filter('[data-setting="'+t+'"]');-1!==_.indexOf(o,t)&&a.length&&_.isEmpty(a.val())&&a.val(r)}))},updateDimensions:function updateDimensions(){this.fillEmptyDimensions(),this.updateDimensionsValue()},resetDimensions:function resetDimensions(){this.ui.controls.val(""),this.updateDimensionsValue()},onInputChange:function onInputChange(t){var o=t.target.dataset.setting;if("unit"===o&&this.resetDimensions(),_.contains(this.getPossibleDimensions(),o)){if(this.isLinkedDimensions()){var i=this.$(t.target);this.ui.controls.val(i.val())}this.updateDimensions()}},onLinkDimensionsClicked:function onLinkDimensionsClicked(t){t.preventDefault(),t.stopPropagation(),this.ui.link.toggleClass("unlinked"),this.setValue("isLinked",!this.ui.link.hasClass("unlinked")),this.isLinkedDimensions()&&this.ui.controls.val(this.ui.controls.eq(0).val()),this.updateDimensions()},isLinkedDimensions:function isLinkedDimensions(){return this.getControlValue("isLinked")}}),t.exports=r},function(t,o,i){"use strict";i(563)("link",(function(t){return function link(o){return t(this,"a","href",o)}}))},function(t,o,i){var r=i(37),a=i(35),l=i(43),u=/"/g,createHTML=function(t,o,i,r){var a=String(l(t)),c="<"+o;return""!==i&&(c+=" "+i+'="'+String(r).replace(u,"&quot;")+'"'),c+">"+a+"</"+o+">"};t.exports=function(t,o){var i={};i[t]=o(createHTML),r(r.P+r.F*a((function(){var o=""[t]('"');return o!==o.toLowerCase()||o.split('"').length>3})),"String",i)}},function(t,o,i){"use strict";i(190),i(79),i(26);var r=i(274);t.exports=r.extend({$previewContainer:null,getSelect2Options:function getSelect2Options(){return{dir:elementorCommon.config.isRTL?"rtl":"ltr",templateSelection:this.fontPreviewTemplate,templateResult:this.fontPreviewTemplate}},onReady:function onReady(){var t=this;this.ui.select.select2(this.getSelect2Options()),this.ui.select.on("select2:open",(function(){t.$previewContainer=jQuery('.select2-results__options[role="tree"]:visible'),setTimeout((function(){t.enqueueFontsInView()}),100),jQuery("input.select2-search__field:visible").on("keyup",(function(){t.typeStopDetection.action.apply(t)})),t.$previewContainer.on("scroll",(function(){t.scrollStopDetection.onScroll.apply(t)}))}))},typeStopDetection:{idle:350,timeOut:null,action:function action(){var t=this,o=this.typeStopDetection;clearTimeout(o.timeOut),o.timeOut=setTimeout((function(){t.enqueueFontsInView()}),o.idle)}},scrollStopDetection:{idle:350,timeOut:null,onScroll:function onScroll(){var t=this,o=this.scrollStopDetection;clearTimeout(o.timeOut),o.timeOut=setTimeout((function(){t.enqueueFontsInView()}),o.idle)}},enqueueFontsInView:function enqueueFontsInView(){var t=this.$previewContainer.offset().top,o=t+this.$previewContainer.innerHeight(),i=[];this.$previewContainer.children().find("li:visible").each((function(r,a){var l=jQuery(a),u=l.offset();u&&u.top>t&&u.top<o&&i.push(l)})),i.forEach((function(t){var o=jQuery(t).find("span").html();elementor.helpers.enqueueFont(o,"editor")}))},fontPreviewTemplate:function fontPreviewTemplate(t){return t.id?jQuery("<span>",{text:t.text,css:{"font-family":t.element.value.toString()}}):t.text},templateHelpers:function templateHelpers(){var t=r.prototype.templateHelpers.apply(this,arguments),o=this.model.get("options");return t.getFontsByGroups=function(t){var i={};return _.each(o,(function(o,r){(_.isArray(t)&&_.contains(t,o)||o===t)&&(i[r]=r)})),i},t}})},function(t,o,i){"use strict";var r,a=i(127);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.addImages=".elementor-control-gallery-add",ui.clearGallery=".elementor-control-gallery-clear",ui.galleryThumbnails=".elementor-control-gallery-thumbnails",ui.status=".elementor-control-gallery-status-title",ui},events:function events(){return _.extend(a.prototype.events.apply(this,arguments),{"click @ui.addImages":"onAddImagesClick","click @ui.clearGallery":"onClearGalleryClick","click @ui.galleryThumbnails":"onGalleryThumbnailsClick"})},onReady:function onReady(){this.initRemoveDialog()},applySavedValue:function applySavedValue(){var t=this.getControlValue().length,o=!!t;this.$el.toggleClass("elementor-gallery-has-images",o).toggleClass("elementor-gallery-empty",!o);var i=this.ui.galleryThumbnails;i.empty(),this.ui.status.text(elementor.translate(o?"gallery_images_selected":"gallery_no_images_selected",[t])),o&&this.getControlValue().forEach((function(t){var o=jQuery("<div>",{class:"elementor-control-gallery-thumbnail"});o.css("background-image","url("+t.url+")"),i.append(o)}))},hasImages:function hasImages(){return!!this.getControlValue().length},openFrame:function openFrame(t){this.initFrame(t),this.frame.open()},initFrame:function initFrame(t){var o={frame:"post",multiple:!0,state:{create:"gallery",add:"gallery-library",edit:"gallery-edit"}[t],button:{text:elementor.translate("insert_media")}};this.hasImages()&&(o.selection=this.fetchSelection()),this.frame=wp.media(o),this.frame.on({update:this.select,"menu:render:default":this.menuRender,"content:render:browse":this.gallerySettings},this)},menuRender:function menuRender(t){t.unset("insert"),t.unset("featured-image")},gallerySettings:function gallerySettings(t){t.sidebar.on("ready",(function(){t.sidebar.unset("gallery")}))},fetchSelection:function fetchSelection(){var t=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:_.pluck(this.getControlValue(),"id")});return new wp.media.model.Selection(t.models,{props:t.props.toJSON(),multiple:!0})},select:function select(t){var o=[];t.each((function(t){o.push({id:t.get("id"),url:t.get("url")})})),this.setValue(o),this.applySavedValue()},onBeforeDestroy:function onBeforeDestroy(){this.frame&&this.frame.off(),this.$el.remove()},resetGallery:function resetGallery(){this.setValue([]),this.applySavedValue()},initRemoveDialog:function initRemoveDialog(){var t;this.getRemoveDialog=function(){return t||(t=elementorCommon.dialogsManager.createWidget("confirm",{message:elementor.translate("dialog_confirm_gallery_delete"),headerMessage:elementor.translate("delete_gallery"),strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},defaultOption:"confirm",onConfirm:this.resetGallery.bind(this)})),t}},onAddImagesClick:function onAddImagesClick(){this.openFrame(this.hasImages()?"add":"create")},onClearGalleryClick:function onClearGalleryClick(){this.getRemoveDialog().show()},onGalleryThumbnailsClick:function onGalleryThumbnailsClick(){this.openFrame("edit")}}),t.exports=r},function(t,o,i){"use strict";var r=i(0)(i(127));t.exports=r.default.extend({},{onPasteStyle:function onPasteStyle(){return!1}})},function(t,o,i){"use strict";var r,a=i(274);r=a.extend({initialize:function initialize(){a.prototype.initialize.apply(this,arguments),this.filterIcons()},filterIcons:function filterIcons(){var t=this.model.get("options"),o=this.model.get("include"),i=this.model.get("exclude");if(o){var r={};return _.each(o,(function(o){r[o]=t[o]})),void this.model.set("options",r)}i&&_.each(i,(function(o){delete t[o]}))},iconsList:function iconsList(t){return t.id?jQuery('<span><i class="'+t.id+'"></i> '+t.text+"</span>"):t.text},getSelect2Options:function getSelect2Options(){return{allowClear:!0,templateResult:this.iconsList.bind(this),templateSelection:this.iconsList.bind(this)}}}),t.exports=r},function(t,o,i){"use strict";var r=i(0),a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=r(i(382)),h=i(239),g=function(t){(0,d.default)(ControlIconsView,t);var o=(0,m.default)(ControlIconsView);function ControlIconsView(){var t;(0,a.default)(this,ControlIconsView);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(t=o.call.apply(o,[this].concat(r))).cache={loaded:!1,dialog:!1,enableClicked:!1,fa4Mapping:!1,migratedFlag:{}},t.dataKeys={migratedKey:"__fa4_migrated",fa4MigrationFlag:"fa4compatibility"},t}return(0,l.default)(ControlIconsView,[{key:"enqueueIconFonts",value:function enqueueIconFonts(t){var o=elementor.helpers.getIconLibrarySettings(t);!1!==o&&this.isMigrationAllowed()&&(o.enqueue&&o.enqueue.forEach((function(t){elementor.helpers.enqueueEditorStylesheet(t),elementor.helpers.enqueuePreviewStylesheet(t)})),o.url&&(elementor.helpers.enqueueEditorStylesheet(o.url),elementor.helpers.enqueuePreviewStylesheet(o.url)))}},{key:"ui",value:function ui(){var ui=(0,u.default)((0,c.default)(ControlIconsView.prototype),"ui",this).call(this),t=this.model.get("skin");return ui.controlMedia=".elementor-control-media",ui.svgUploader="media"===t?".elementor-control-svg-uploader":".elementor-control-icons--inline__svg",ui.iconPickers="media"===t?".elementor-control-icon-picker, .elementor-control-media__preview, .elementor-control-media-upload-button":".elementor-control-icons--inline__icon",ui.deleteButton="media"===t?".elementor-control-media__remove":".elementor-control-icons--inline__none",ui.previewPlaceholder=".elementor-control-media__preview",ui.previewContainer=".elementor-control-preview-area",ui.inlineIconContainer=".elementor-control-inline-icon",ui.inlineDisplayedIcon=".elementor-control-icons--inline__displayed-icon",ui.radioInputs='[type="radio"]',ui}},{key:"events",value:function events(){return jQuery.extend(h.prototype.events.apply(this,arguments),{"click @ui.iconPickers":"openPicker","click @ui.svgUploader":"openFrame","click @ui.radioInputs":"onClickInput","click @ui.deleteButton":"deleteIcon"})}},{key:"getControlValue",value:function getControlValue(){var t=(0,u.default)((0,c.default)(ControlIconsView.prototype),"getControlValue",this).call(this),o=this.model,i=this.getValueToMigrate();if(!this.isMigrationAllowed())return i;if(!i)return t;var r=this.elementSettingsModel.get(this.dataKeys.migratedKey),a=o.get("name");return this.cache.migratedFlag[a]?this.cache.migratedFlag[a]:r&&r[a]?t:this.migrateFa4toFa5(i)}},{key:"migrateFa4toFa5",value:function migrateFa4toFa5(t){var o=elementor.helpers.mapFa4ToFa5(t);return this.cache.migratedFlag[this.model.get("name")]=o,this.enqueueIconFonts(o.library),o}},{key:"setControlAsMigrated",value:function setControlAsMigrated(t){var o=this.elementSettingsModel.get(this.dataKeys.migratedKey)||{};o[t]=!0,this.elementSettingsModel.set(this.dataKeys.migratedKey,o,{silent:!0})}},{key:"isMigrationAllowed",value:function isMigrationAllowed(){return!elementor.config.icons_update_needed}},{key:"getValueToMigrate",value:function getValueToMigrate(){var t=this.model.get(this.dataKeys.fa4MigrationFlag);if(!t)return!1;var o=this.container.settings.get(t);return o||!1}},{key:"onReady",value:function onReady(){var t=this;this.isMigrationAllowed()||("media"===this.model.get("skin")?this.ui.previewContainer[0]:this.ui.inlineIconContainer[0]).addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();return elementor.helpers.getSimpleDialog("elementor-enable-fa5-dialog",elementor.translate("enable_fa5"),elementor.translate("dialog_confirm_enable_fa5"),elementor.translate("update"),(function onConfirm(){window.location.href=elementor.config.tools_page_link+"&redirect_to="+encodeURIComponent(document.location.href)+"#tab-fontawesome4_migration"})).show(),!1}),!0);var o=this.model.get("name");this.cache.migratedFlag[o]&&(this.setControlAsMigrated(o),setTimeout((function(){t.setValue(t.cache.migratedFlag[o])}),10))}},{key:"onRender",value:function onRender(){(0,u.default)((0,c.default)(ControlIconsView.prototype),"onRender",this).call(this),this.isMigrationAllowed()&&elementor.iconManager.loadIconLibraries()}},{key:"initFrame",value:function initFrame(){var t=this;wp.media.view.settings.post.id=elementor.config.document.id,this.frame=wp.media({button:{text:elementor.translate("insert_media")},library:{type:["image/svg+xml"]},states:[new wp.media.controller.Library({title:elementor.translate("insert_media"),library:wp.media.query({type:["image/svg+xml"]}),multiple:!1,date:!1})]});this.frame.on("insert select",(function handleSelect(){return t.selectSvg()})),this.setUploadMimeType(this.frame,"svg")}},{key:"setUploadMimeType",value:function setUploadMimeType(t,o){var i=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;t.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=o})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=i}))}},{key:"selectSvg",value:function selectSvg(){this.trigger("before:select");var t=this.frame.state().get("selection").first().toJSON();t.url&&(this.setValue({value:{url:t.url,id:t.id},library:"svg"}),this.applySavedValue()),this.trigger("after:select")}},{key:"openFrame",value:function openFrame(){var t=this;if(!p.default.isUploadEnabled("svg"))return p.default.getUnfilteredFilesNotEnabledDialog((function(){return t.openFrame()})).show(),!1;this.frame||this.initFrame(),this.frame.open(),p.default.setUploadTypeCaller(this.frame);var o=this.getControlValue("id");o&&this.frame.state().get("selection").add(wp.media.attachment(o))}},{key:"openPicker",value:function openPicker(){elementor.iconManager.show({view:this})}},{key:"applySavedValue",value:function applySavedValue(){var t=this,o=this.getControlValue(),i=this.model.get("skin"),r="inline"===i?this.ui.inlineDisplayedIcon:this.ui.previewPlaceholder,a=this.model.get("default"),l=o.value,u=o.library;if(this.isMigrationAllowed()||l||!this.getValueToMigrate()||(l=this.getControlValue(),u=""),"media"===i?this.ui.controlMedia.toggleClass("elementor-media-empty",!l):this.markChecked(u),!l)return"inline"===i?void this.setDefaultIconLibraryLabel(a,r):void this.ui.previewPlaceholder.html("");if("svg"===u&&"inline"!==i)return elementor.helpers.fetchInlineSvg(l.url,(function(o){t.ui.previewPlaceholder.html(o)}));if("media"===i||"svg"!==u){var c='<i class="'+l+'"></i>';r.html(c)}this.enqueueIconFonts(u)}},{key:"setDefaultIconLibraryLabel",value:function setDefaultIconLibraryLabel(t,o){""!==t.value&&"svg"!==t.library?o.html('<i class="'+t.value+'"></i>'):o.html('<i class="eicon-circle"></i>')}},{key:"markChecked",value:function markChecked(t){if(this.ui.radioInputs.filter(":checked").prop("checked",!1),!t)return this.ui.radioInputs.filter('[value="none"]').prop("checked",!0);"svg"!==t&&(t="icon"),this.ui.radioInputs.filter('[value="'+t+'"]').prop("checked",!0)}},{key:"onClickInput",value:function onClickInput(){this.markChecked(this.getControlValue().library)}},{key:"deleteIcon",value:function deleteIcon(t){t.stopPropagation(),this.setValue({value:"",library:""}),this.applySavedValue()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.$el.remove()}}]),ControlIconsView}(h);t.exports=g},function(t,o,i){"use strict";var r;r=i(239).extend({ui:function ui(){return{inputWidth:'input[data-setting="width"]',inputHeight:'input[data-setting="height"]',btnApply:"button.elementor-image-dimensions-apply-button"}},events:function events(){return{"click @ui.btnApply":"onApplyClicked","keyup @ui.inputWidth":"onDimensionKeyUp","keyup @ui.inputHeight":"onDimensionKeyUp"}},onDimensionKeyUp:function onDimensionKeyUp(t){13===t.keyCode&&this.onApplyClicked(t)},onApplyClicked:function onApplyClicked(t){t.preventDefault(),this.setValue({width:this.ui.inputWidth.val(),height:this.ui.inputHeight.val()})}}),t.exports=r},function(t,o,i){"use strict";var r=i(0);i(81);var a,l=r(i(382)),u=i(239);a=u.extend({ui:function ui(){var ui=u.prototype.ui.apply(this,arguments);return ui.controlMedia=".elementor-control-media",ui.mediaImage=".elementor-control-media__preview",ui.mediaVideo=".elementor-control-media-video",ui.frameOpeners=".elementor-control-preview-area",ui.removeButton=".elementor-control-media__remove",ui.fileName=".elementor-control-media__file__content__info__name",ui},events:function events(){return _.extend(u.prototype.events.apply(this,arguments),{"click @ui.frameOpeners":"openFrame","click @ui.removeButton":"deleteImage"})},getMediaType:function getMediaType(){return this.model.get("media_type")},applySavedValue:function applySavedValue(){var t=this.getControlValue("url"),o=this.getMediaType();if("image"===o)this.ui.mediaImage.css("background-image",t?"url("+t+")":"");else if("video"===o)this.ui.mediaVideo.attr("src",t);else{var i=t?t.split("/").pop():"";this.ui.fileName.text(i)}this.ui.controlMedia.toggleClass("elementor-media-empty",!t)},openFrame:function openFrame(){var t=this;if(!l.default.isUploadEnabled(this.getMediaType()))return l.default.getUnfilteredFilesNotEnabledDialog((function(){return t.openFrame()})).show(),!1;this.frame||this.initFrame(),this.frame.open(),l.default.setUploadTypeCaller(this.frame);var o=this.getControlValue("id");o&&this.frame.state().get("selection").add(wp.media.attachment(o))},deleteImage:function deleteImage(t){t.stopPropagation(),this.setValue({url:"",id:""}),this.applySavedValue()},initFrame:function initFrame(){wp.media.view.settings.post.id=elementor.config.document.id,this.frame=wp.media({button:{text:elementor.translate("insert_media")},states:[new wp.media.controller.Library({title:elementor.translate("insert_media"),library:wp.media.query({type:this.getMediaType()}),multiple:!1,date:!1})]}),this.frame.on("insert select",this.select.bind(this))},select:function select(){this.trigger("before:select");var t=this.frame.state().get("selection").first().toJSON();t.url&&(this.setValue({url:t.url,id:t.id}),this.applySavedValue()),this.trigger("after:select")},onBeforeDestroy:function onBeforeDestroy(){this.$el.remove()}}),t.exports=a},function(t,o,i){"use strict";var r,a=i(127),l=i(572);r=a.extend({registerValidators:function registerValidators(){a.prototype.registerValidators.apply(this,arguments);var t={},o=this.model;["min","max"].forEach((function(i){var r=o.get(i);_.isFinite(r)&&(t[i]=r)})),jQuery.isEmptyObject(t)||this.addValidator(new l({validationTerms:t}))}}),t.exports=r},function(t,o,i){"use strict";var r=i(300);t.exports=r.extend({validationMethod:function validationMethod(t){var o=this.getSettings("validationTerms"),i=[];return _.isFinite(t)&&(void 0!==o.min&&t<o.min&&i.push("Value is less than minimum"),void 0!==o.max&&t>o.max&&i.push("Value is greater than maximum")),i}})},function(t,o,i){"use strict";var r,a=i(239);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.reverseOrderLabel=".elementor-control-order-label",ui},changeLabelTitle:function changeLabelTitle(){var t=this.getControlValue("reverse_order");this.ui.reverseOrderLabel.attr("title",elementor.translate(t?"asc":"desc"))},onRender:function onRender(){a.prototype.onRender.apply(this,arguments),this.changeLabelTitle()},onInputChange:function onInputChange(){this.changeLabelTitle()}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(281);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.heading=".elementor-panel-heading",ui},triggers:{click:"control:section:clicked"}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(127);r=a.extend({},{onPasteStyle:function onPasteStyle(t,o){return t.groups?t.groups.some((function(t){return r.onPasteStyle(t,o)})):void 0!==t.options[o]}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(0),l=a(i(25)),u=a(i(56)),c=i(381);r=c.extend({ui:function ui(){var ui=c.prototype.ui.apply(this,arguments);return ui.slider=".elementor-slider",ui},templateHelpers:function templateHelpers(){var templateHelpers=c.prototype.templateHelpers.apply(this,arguments);return templateHelpers.isMultiple=this.isMultiple(),templateHelpers},isMultiple:function isMultiple(){var t=this.getControlValue("sizes");return!jQuery.isEmptyObject(t)},initSlider:function initSlider(){if(this.ui.slider[0]){this.destroySlider();var t,o=this.isMultiple(),i=elementorCommon.helpers.cloneObject(this.getCurrentRange()),r=i.step,a=this.getSize();o?a=(0,u.default)(a):(a=[a],this.ui.input.attr(i)),delete i.step;var l=this;o&&(t=[],a.forEach((function(){return t.push({to:function to(t){return t+l.getControlValue("unit")}})}))),noUiSlider.create(this.ui.slider[0],{start:a,range:i,step:r,tooltips:t,connect:o,format:{to:function to(t){return Math.round(1e3*t)/1e3},from:function from(t){return+t}}}).on("slide",this.onSlideChange.bind(this))}},applySavedValue:function applySavedValue(){c.prototype.applySavedValue.apply(this,arguments),this.ui.slider[0]&&this.ui.slider[0].noUiSlider&&this.ui.slider[0].noUiSlider.set(this.getSize())},getSize:function getSize(){return this.getControlValue(this.isMultiple()?"sizes":"size")},resetSize:function resetSize(){this.isMultiple()?this.setValue("sizes",{}):this.setValue("size",""),this.initSlider()},destroySlider:function destroySlider(){this.ui.slider[0]&&this.ui.slider[0].noUiSlider&&this.ui.slider[0].noUiSlider.destroy()},onReady:function onReady(){this.isMultiple()&&this.$el.addClass("elementor-control-type-slider--multiple elementor-control-type-slider--handles-"+this.model.get("handles")),this.initSlider()},onSlideChange:function onSlideChange(t,o){if(this.isMultiple()){var i=elementorCommon.helpers.cloneObject(this.getSize());i[(0,l.default)(i)[o]]=t[o],this.setValue("sizes",i)}else this.setValue("size",t[0]),this.ui.input.val(t[0])},onInputChange:function onInputChange(t){var o=t.currentTarget.dataset.setting;"size"===o?this.ui.slider[0].noUiSlider.set(this.getSize()):"unit"===o&&this.resetSize()},onBeforeDestroy:function onBeforeDestroy(){this.destroySlider(),this.$el.remove()}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(127);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.resetStructure=".elementor-control-structure-reset",ui},events:function events(){return _.extend(a.prototype.events.apply(this,arguments),{"click @ui.resetStructure":"onResetStructureClick"})},templateHelpers:function templateHelpers(){var t=a.prototype.templateHelpers.apply(this,arguments);return t.getMorePresets=this.getMorePresets.bind(this),t},getCurrentEditedSection:function getCurrentEditedSection(){return elementor.getPanelView().getCurrentPageView().getOption("editedElementView")},getMorePresets:function getMorePresets(){var t=elementor.presetsFactory.getParsedStructure(this.getControlValue());return elementor.presetsFactory.getPresets(t.columnsCount)},onResetStructureClick:function onResetStructureClick(){this.getCurrentEditedSection().resetColumnsCustomSize()}}),t.exports=r},function(t,o,i){"use strict";var r=i(127);t.exports=r.extend({setInputValue:function setInputValue(t,o){this.$(t).prop("checked",this.model.get("return_value")===o)}},{onPasteStyle:function onPasteStyle(t,o){return!o||o===t.return_value}})},function(t,o,i){"use strict";var r;r=i(281).extend({triggers:{click:{event:"control:tab:clicked",stopPropagation:!1}}}),t.exports=r},function(t,o,i){"use strict";var r=i(0),a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(URL,t);var o=(0,m.default)(URL);function URL(){return(0,a.default)(this,URL),o.apply(this,arguments)}return(0,l.default)(URL,[{key:"ui",value:function ui(){var ui=(0,u.default)((0,c.default)(URL.prototype),"ui",this).call(this);return ui.mainInput=".elementor-input",ui.moreOptionsToggle=".elementor-control-url-more",ui.moreOptions=".elementor-control-url-more-options",ui}},{key:"events",value:function events(){var events=(0,u.default)((0,c.default)(URL.prototype),"events",this).call(this);return events["click @ui.moreOptionsToggle"]="onMoreOptionsToggleClick",events}},{key:"autoComplete",value:function autoComplete(){var t,o,i=this,r=this.ui.mainInput,a=elementorCommon.config.isRTL?"right":"left";r.autocomplete({source:function source(a,l){if(i.options.model.attributes.autocomplete)if(t!==a.term){if(/^https?:/.test(a.term)||-1!==a.term.indexOf("."))return l();r.prev().show(),jQuery.post(window.ajaxurl,{editor:"elementor",action:"wp-link-ajax",page:1,search:a.term,_ajax_linking_nonce:jQuery("#_ajax_linking_nonce").val()},(function(t){o=t,l(t)}),"json").always((function(){return r.prev().hide()})),t=a.term}else l(o)},focus:function focus(t){t.preventDefault()},select:function select(t,o){return r.val(o.item.permalink),i.setValue("url",o.item.permalink),!1},open:function open(t){jQuery(t.target).data("uiAutocomplete").menu.activeMenu.addClass("elementor-autocomplete-menu")},minLength:2,position:{my:a+" top+2",at:a+" bottom"}}),r.autocomplete("instance")._renderItem=function(t,o){var i=window.wpLinkL10n?window.wpLinkL10n.noTitle:"",r=o.title?o.title:i;return jQuery('<li role="option" id="mce-wp-autocomplete-'+o.ID+'">').append("<span>"+r+'</span>&nbsp;<span class="elementor-autocomplete-item-info">'+o.info+"</span>").appendTo(t)}}},{key:"onReady",value:function onReady(){this.autoComplete()}},{key:"onMoreOptionsToggleClick",value:function onMoreOptionsToggleClick(){this.ui.moreOptions.slideToggle()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.ui.mainInput.data("autocomplete")&&this.ui.mainInput.autocomplete("destroy"),this.$el.remove()}}]),URL}(i(239));t.exports=p},function(t,o,i){"use strict";var r,a=i(127);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.form="form",ui.loading=".wp-widget-form-loading",ui},events:function events(){return{"keyup @ui.form :input":"onFormChanged","change @ui.form :input":"onFormChanged"}},onFormChanged:function onFormChanged(){var t="widget-"+this.model.get("id_base"),o=this.ui.form.elementorSerializeObject()[t].REPLACE_TO_ID;this.setValue(o)},onReady:function onReady(){var t=this;elementorCommon.ajax.addRequest("editor_get_wp_widget_form",{data:{id:t.model.cid,widget_type:t.model.get("widget"),data:t.container.settings.toJSON()},success:function success(o){if(t.ui.form.html(o),wp.textWidgets){t.ui.form.addClass("open");var i=new jQuery.Event("widget-added");wp.textWidgets.handleWidgetAdded(i,t.ui.form),wp.mediaWidgets.handleWidgetAdded(i,t.ui.form),wp.customHtmlWidgets&&wp.customHtmlWidgets.handleWidgetAdded(i,t.ui.form)}elementor.hooks.doAction("panel/widgets/"+t.model.get("widget")+"/controls/wp_widget/loaded",t)}})}}),t.exports=r},function(t,o,i){"use strict";i(26),i(60),i(81);var r,a=i(127);r=a.extend({editor:null,ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return jQuery.extend(ui,{inputWrapper:".elementor-control-input-wrapper"}),ui},events:function events(){return _.extend(a.prototype.events.apply(this,arguments),{"keyup textarea.elementor-wp-editor":"onBaseInputChange"})},buttons:{addToBasic:{underline:"italic"},addToAdvanced:{},moveToAdvanced:{blockquote:"removeformat",alignleft:"blockquote",aligncenter:"alignleft",alignright:"aligncenter"},moveToBasic:{},removeFromBasic:["unlink","wp_more"],removeFromAdvanced:[]},initialize:function initialize(){a.prototype.initialize.apply(this,arguments);var t=this;if(t.editorID="elementorwpeditor"+t.cid,_.defer((function(){t.isDestroyed||(quicktags({buttons:"strong,em,del,link,img,close",id:t.editorID}),elementor.config.rich_editing_enabled&&switchEditors.go(t.editorID,"tmce"),delete QTags.instances[0])})),elementor.config.rich_editing_enabled){var o={id:t.editorID,selector:"#"+t.editorID,setup:function setup(o){t.editor=o}};tinyMCEPreInit.mceInit[t.editorID]=_.extend(_.clone(tinyMCEPreInit.mceInit.elementorwpeditor),o),elementor.config.tinymceHasCustomConfig||t.rearrangeButtons()}else t.$el.addClass("elementor-rich-editing-disabled")},applySavedValue:function applySavedValue(){if(this.editor){var t=this.getControlValue();this.editor.setContent(t),jQuery("#"+this.editorID).val(t)}},saveEditor:function saveEditor(){this.setValue(this.editor.getContent())},moveButtons:function moveButtons(t,o,i){i||(i=o,o=null),_.each(t,(function(t,r){var a=i.indexOf(t);if(o){var l=o.indexOf(r);if(-1===l)throw new ReferenceError("Trying to move non-existing button `"+r+"`");o.splice(l,1)}if(-1===a)throw new ReferenceError("Trying to move button after non-existing button `"+t+"`");i.splice(a+1,0,r)}))},rearrangeButtons:function rearrangeButtons(){var t=tinyMCEPreInit.mceInit[this.editorID],o=t.toolbar1.split(","),i=t.toolbar2.split(",");o=_.difference(o,this.buttons.removeFromBasic),i=_.difference(i,this.buttons.removeFromAdvanced),this.moveButtons(this.buttons.moveToBasic,i,o),this.moveButtons(this.buttons.moveToAdvanced,o,i),this.moveButtons(this.buttons.addToBasic,o),this.moveButtons(this.buttons.addToAdvanced,i),t.toolbar1=o.join(","),t.toolbar2=i.join(",")},onReady:function onReady(){var t=this,o=jQuery(elementor.config.wp_editor.replace(/elementorwpeditor/g,this.editorID).replace("%%EDITORCONTENT%%",this.getControlValue()));o.find(".wp-editor-tabs").addClass("elementor-control-dynamic-switcher-wrapper"),this.ui.inputWrapper.html(o),setTimeout((function(){!t.isDestroyed&&t.editor&&t.editor.on("keyup change undo redo",t.saveEditor.bind(t))}),100)},onBeforeDestroy:function onBeforeDestroy(){delete QTags.instances[this.editorID],elementor.config.rich_editing_enabled&&(tinymce.EditorManager.execCommand("mceRemoveEditor",!0,this.editorID),delete tinyMCEPreInit.mceInit[this.editorID],delete tinyMCEPreInit.qtInit[this.editorID])}}),t.exports=r},function(t,o,i){"use strict";t.exports=elementorModules.editor.elements.models.BaseSettings.extend({defaults:{_column_size:100}})},function(t,o,i){"use strict";var r=i(0);i(26);var a,l=r(i(585)),u=r(i(586)),c=i(297);a=c.extend({_templateType:null,toggleEditTools:!0,getTemplate:function getTemplate(){var t=this.getEditModel();return"remote"!==this.getTemplateType()?Marionette.TemplateCache.get("#tmpl-elementor-"+t.get("widgetType")+"-content"):_.template("")},className:function className(){var t=c.prototype.className.apply(this,arguments);return t+" elementor-widget "+elementor.getElementData(this.getEditModel()).html_wrapper_class},events:function events(){var events=c.prototype.events.apply(this,arguments);return events.click="onClickEdit",events},behaviors:function behaviors(){var behaviors=c.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{InlineEditing:{behaviorClass:i(587),inlineEditingClass:"elementor-inline-editing"},Draggable:{behaviorClass:l.default},Resizable:{behaviorClass:u.default}}),elementor.hooks.applyFilters("elements/widget/behaviors",behaviors,this)},getEditButtons:function getEditButtons(){var t=elementor.getElementData(this.model),o={};return o.edit={title:elementor.translate("edit_element",[t.title]),icon:"edit"},elementor.getPreferences("edit_buttons")&&(o.duplicate={title:elementor.translate("duplicate_element",[t.title]),icon:"clone"},o.remove={title:elementor.translate("delete_element",[t.title]),icon:"close"}),o},initialize:function initialize(){var t=this;c.prototype.initialize.apply(this,arguments);var o=this.getEditModel();o.on({"before:remote:render":this.onModelBeforeRemoteRender.bind(this),"remote:render":this.onModelRemoteRender.bind(this),"settings:loaded":function settingsLoaded(){return setTimeout(t.render.bind(t))}}),"remote"!==this.getTemplateType()||this.getEditModel().getHtmlCache()||o.renderRemoteServer();var i=this.onRender;this.render=_.throttle(this.render,300),this.onRender=function(){_.defer(i.bind(this))}},getContextMenuGroups:function getContextMenuGroups(){var t=this,o=c.prototype.getContextMenuGroups.apply(this,arguments),i=o.indexOf(_.findWhere(o,{name:"clipboard"}));return o.splice(i+1,0,{name:"save",actions:[{name:"save",title:elementor.translate("save_as_global"),shortcut:jQuery("<i>",{class:"eicon-pro-icon"}),isEnabled:function isEnabled(){return"global"!==t.options.model.get("widgetType")}}]}),o},render:function render(){if(this.model.isRemoteRequestActive())return this.handleEmptyWidget(),void this.$el.addClass("elementor-element");elementorCommonConfig.isTesting&&this.isDestroyed||Marionette.CompositeView.prototype.render.apply(this,arguments)},handleEmptyWidget:function handleEmptyWidget(){this.$el.addClass("elementor-widget-empty").append('<i class="elementor-widget-empty-icon '+this.getEditModel().getIcon()+'"></i>')},getTemplateType:function getTemplateType(){if(null===this._templateType){var t=this.getEditModel(),o=jQuery("#tmpl-elementor-"+t.get("widgetType")+"-content");this._templateType=o.length?"js":"remote"}return this._templateType},getHTMLContent:function getHTMLContent(t){return this.getEditModel().getHtmlCache()||t},attachElContent:function attachElContent(t){var o=this;return _.defer((function(){elementorFrontend.elements.window.jQuery(o.el).empty().append(o.getHandlesOverlay(),o.getHTMLContent(t)),o.bindUIElements()})),this},addInlineEditingAttributes:function addInlineEditingAttributes(t,o){this.addRenderAttribute(t,{class:"elementor-inline-editing","data-elementor-setting-key":t}),o&&this.addRenderAttribute(t,{"data-elementor-inline-editing-toolbar":o})},getRepeaterSettingKey:function getRepeaterSettingKey(t,o,i){return[o,i,t].join(".")},onModelBeforeRemoteRender:function onModelBeforeRemoteRender(){this.$el.addClass("elementor-loading")},onBeforeDestroy:function onBeforeDestroy(){elementor.$previewContents.find("#elementor-style-"+this.model.get("id")).remove()},onModelRemoteRender:function onModelRemoteRender(){this.isDestroyed||(this.$el.removeClass("elementor-loading"),this.container.document.id===elementor.documents.getCurrent().id&&this.render())},onRender:function onRender(){var t=this;c.prototype.onRender.apply(t,arguments);var o=t.getEditModel(),i=o.getSetting("_skin")||"default";t.$el.attr("data-widget_type",o.get("widgetType")+"."+i).removeClass("elementor-widget-empty").children(".elementor-widget-empty-icon").remove(),t.$el.imagesLoaded().always((function(){setTimeout((function(){1>t.$el.children(".elementor-widget-container").outerHeight()&&t.handleEmptyWidget()}),200)}))},onClickEdit:function onClickEdit(){this.container.isEditable()&&this.model.trigger("request:edit")}}),t.exports=a},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"events",value:function events(){return{dragstart:"onDragStart",dragstop:"onDragStop"}}},{key:"initialize",value:function initialize(){(0,u.default)((0,c.default)(_default.prototype),"initialize",this).call(this),this.listenTo(elementor.channels.dataEditMode,"switch",this.toggle),this.view.options.draggable=this}},{key:"activate",value:function activate(){this.$el.draggable({addClasses:!1})}},{key:"deactivate",value:function deactivate(){this.$el.draggable("instance")&&this.$el.draggable("destroy")}},{key:"toggle",value:function toggle(){var t=this.view.getEditModel().getSetting("_position");this.deactivate(),t&&this.view.getContainer().isDesignable()&&this.activate()}},{key:"onRender",value:function onRender(){var t=this;_.defer((function(){return t.toggle()}))}},{key:"onDestroy",value:function onDestroy(){this.deactivate()}},{key:"onDragStart",value:function onDragStart(t){t.stopPropagation(),this.view.model.trigger("request:edit")}},{key:"onDragStop",value:function onDragStop(t,o){var i=this;t.stopPropagation();var r=elementorFrontend.getCurrentDeviceMode(),a="desktop"===r?"":"_"+r,l=this.view.getEditModel(),u=l.getSetting("_offset_orientation_h"),c=l.getSetting("_offset_orientation_v"),d={},m=elementorFrontend.config.is_rtl,p=this.$el.offsetParent().width(),h=this.$el.outerWidth(!0),g=o.position.left,v=m?p-g-h:g,y=o.position.top,C="_offset_x",b="_offset_y";"end"===u&&(v=p-v-h,C="_offset_x_end");var w=l.getSetting(C+a).unit;v=elementor.helpers.elementSizeToUnit(this.$el,v,w);var k=this.$el.offsetParent().height(),S=this.$el.outerHeight(!0);"end"===c&&(y=k-y-S,b="_offset_y_end");var x=l.getSetting(b+a).unit;y=elementor.helpers.elementSizeToUnit(this.$el,y,x),d[C+a]={size:v,unit:w},d[b+a]={size:y,unit:x},$e.run("document/elements/settings",{container:this.view.container,settings:d,options:{external:!0}}),setTimeout((function(){i.$el.css({top:"",left:"",right:"",bottom:"",width:"",height:""})}),250)}}]),_default}(Marionette.Behavior);o.default=p},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(){return(0,a.default)(this,_default),o.apply(this,arguments)}return(0,l.default)(_default,[{key:"events",value:function events(){return{resizestart:"onResizeStart",resizestop:"onResizeStop",resize:"onResize"}}},{key:"initialize",value:function initialize(){(0,u.default)((0,c.default)(_default.prototype),"initialize",this).call(this),this.listenTo(elementor.channels.dataEditMode,"switch",this.toggle),this.view.options.resizeable=this}},{key:"activate",value:function activate(){this.$el.resizable({handles:"e, w"})}},{key:"deactivate",value:function deactivate(){this.$el.resizable("instance")&&this.$el.resizable("destroy")}},{key:"toggle",value:function toggle(){var t=this.view.getEditModel(),o=t.getSetting("_position"),i="initial"===t.getSetting("_element_width");this.deactivate(),(o||i)&&this.view.container.isDesignable()&&this.activate()}},{key:"onRender",value:function onRender(){var t=this;_.defer((function(){return t.toggle()}))}},{key:"onDestroy",value:function onDestroy(){this.deactivate()}},{key:"onResizeStart",value:function onResizeStart(t){t.stopPropagation(),this.view.model.trigger("request:edit")}},{key:"onResizeStop",value:function onResizeStop(t,o){t.stopPropagation();var i=elementorFrontend.getCurrentDeviceMode(),r="desktop"===i?"":"_"+i,a=this.view.getEditModel().getSetting("_element_custom_width"+r).unit,l=elementor.helpers.elementSizeToUnit(this.$el,o.size.width,a),u={};u["_element_width"+r]="initial",u["_element_custom_width"+r]={unit:a,size:l},$e.run("document/elements/settings",{container:this.view.container,settings:u,options:{external:!0}}),this.$el.css({width:"",height:"",left:""})}},{key:"onResize",value:function onResize(t){t.stopPropagation()}}]),_default}(Marionette.Behavior);o.default=p},function(t,o,i){"use strict";var r,a=i(0)(i(28));i(81),r=Marionette.Behavior.extend({editing:!1,$currentEditingArea:null,ui:function ui(){return{inlineEditingArea:"."+this.getOption("inlineEditingClass")}},events:function events(){return{"click @ui.inlineEditingArea":"onInlineEditingClick","input @ui.inlineEditingArea":"onInlineEditingUpdate"}},initialize:function initialize(){this.onInlineEditingBlur=this.onInlineEditingBlur.bind(this)},getEditingSettingKey:function getEditingSettingKey(){return this.$currentEditingArea.data().elementorSettingKey},startEditing:function startEditing(t){if(!this.editing&&this.view.container.isEditable()&&!this.view.model.isRemoteRequestActive()){var o=t.data().elementorSettingKey,i=o,r=o.split("."),a=3===r.length,l=this.view.getEditModel().get("settings");a&&(l=l.get(r[0]).models[r[1]],i=r[2]);var u=l.get("__dynamic__");if(!(u&&u[i])){this.$currentEditingArea=t;var c=this.$currentEditingArea.data().elementorInlineEditingToolbar,d="advanced"===c?"advanced":"basic",m=this.view.getEditModel(),p=elementor.config.inlineEditing,h=m.getSetting(this.getEditingSettingKey());"advanced"===d&&(h=wp.editor.autop(h)),this.$currentEditingArea.html(h);var g=elementorFrontend.elements.window.ElementorInlineEditor;this.editing=!0,this.view.allowRender=!1,this.view.model.setHtmlCache(""),this.editor=new g({linksInNewWindow:!0,stay:!1,editor:this.$currentEditingArea[0],mode:d,list:"none"===c?[]:p.toolbar[c||"basic"],cleanAttrs:["id","class","name"],placeholder:elementor.translate("type_here")+"...",toolbarIconsPrefix:"eicon-editor-",toolbarIconsDictionary:{externalLink:{className:"eicon-editor-external-link"},list:{className:"eicon-editor-list-ul"},insertOrderedList:{className:"eicon-editor-list-ol"},insertUnorderedList:{className:"eicon-editor-list-ul"},createlink:{className:"eicon-editor-link"},unlink:{className:"eicon-editor-unlink"},blockquote:{className:"eicon-editor-quote"},p:{className:"eicon-editor-paragraph"},pre:{className:"eicon-editor-code"}}}),jQuery(this.editor._menu).children().on("mousedown",(function(t){t.preventDefault()})),this.$currentEditingArea.on("blur",this.onInlineEditingBlur),elementorCommon.elements.$body.on("mousedown",this.onInlineEditingBlur)}}},stopEditing:function stopEditing(){this.editing=!1,this.$currentEditingArea.off("blur",this.onInlineEditingBlur),elementorCommon.elements.$body.off("mousedown",this.onInlineEditingBlur),this.editor.destroy(),this.view.allowRender=!0,"advanced"===this.$currentEditingArea.data().elementorInlineEditingToolbar&&this.view.getEditModel().renderRemoteServer()},onInlineEditingClick:function onInlineEditingClick(t){var o=this,i=jQuery(t.currentTarget);setTimeout((function(){o.startEditing(i)}),30)},onInlineEditingBlur:function onInlineEditingBlur(t){var o=this;"mousedown"!==t.type?setTimeout((function(){var t=elementorFrontend.elements.window.getSelection();jQuery(t.focusNode).closest(".pen-input-wrapper").length||o.stopEditing()}),20):this.stopEditing()},onInlineEditingUpdate:function onInlineEditingUpdate(){var t=this.getEditingSettingKey(),o=this.view.getContainer(),i=t.split(".");3===i.length&&(o=o.children[i[1]],t=i[2]),$e.run("document/elements/settings",{container:o,settings:(0,a.default)({},t,this.editor.getContent()),options:{external:!0}})}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.CollectionView.extend({childView:i(387),id:"elementor-panel-elements",initialize:function initialize(){this.listenTo(elementor.channels.panelElements,"filter:change",this.onFilterChanged)},filter:function filter(t){var o=elementor.channels.panelElements.request("filter:value");return!o||(-1!==t.get("title").toLowerCase().indexOf(o.toLowerCase())||_.any(t.get("keywords"),(function(t){return-1!==t.toLowerCase().indexOf(o.toLowerCase())})))},onFilterChanged:function onFilterChanged(){elementor.channels.panelElements.request("filter:value")||this.onFilterEmpty(),this._renderChildren(),this.triggerMethod("children:render")},onFilterEmpty:function onFilterEmpty(){$e.routes.refreshContainer("panel")}}),t.exports=r},function(t,o,i){"use strict";var r=i(0);i(120),i(40),i(60);var a=r(i(25)),l=r(i(206));t.exports=elementorModules.Module.extend({CACHE_KEY_NOT_FOUND_ERROR:"Cache key not found",tags:{Base:i(590)},cache:{},cacheRequests:{},cacheCallbacks:[],addCacheRequest:function addCacheRequest(t){this.cacheRequests[this.createCacheKey(t)]=!0},createCacheKey:function createCacheKey(t){return btoa(t.getOption("name"))+"-"+btoa(encodeURIComponent((0,l.default)(t.model)))},loadTagDataFromCache:function loadTagDataFromCache(t){var o=this.createCacheKey(t);if(void 0!==this.cache[o])return this.cache[o];this.cacheRequests[o]||this.addCacheRequest(t)},loadCacheRequests:function loadCacheRequests(){var t=this.cache,o=this.cacheRequests,i=this.cacheCallbacks;this.cacheRequests={},this.cacheCallbacks=[],elementorCommon.ajax.addRequest("render_tags",{data:{post_id:elementor.config.document.id,tags:(0,a.default)(o)},success:function success(o){jQuery.extend(t,o),i.forEach((function(t){t()}))}})},refreshCacheFromServer:function refreshCacheFromServer(t){this.cacheCallbacks.push(t),this.loadCacheRequests()},getConfig:function getConfig(t){return this.getItems(elementor.config.dynamicTags,t)},parseTagsText:function parseTagsText(t,o,i){var r=this;return"object"===o.returnType?r.parseTagText(t,o,i):t.replace(/\[elementor-tag[^\]]+]/g,(function(t){return r.parseTagText(t,o,i)}))},parseTagText:function parseTagText(t,o,i){var r=this.tagTextToTagData(t);return r?i(r.id,r.name,r.settings):"object"===o.returnType?{}:""},tagTextToTagData:function tagTextToTagData(t){var o=t.match(/id="(.*?(?="))"/),i=t.match(/name="(.*?(?="))"/),r=t.match(/settings="(.*?(?="]))/);return!!(o&&i&&r)&&{id:o[1],name:i[1],settings:JSON.parse(decodeURIComponent(r[1]))}},createTag:function createTag(t,o,i){var r=this.getConfig("tags."+o);if(r)return new(this.tags[o]||this.tags.Base)({id:t,name:o,model:new elementorModules.editor.elements.models.BaseSettings(i,{controls:r.controls})})},getTagDataContent:function getTagDataContent(t,o,i){var r=this.createTag(t,o,i);if(r)return r.getContent()},tagDataToTagText:function tagDataToTagText(t,o,i){return'[elementor-tag id="'+t+'" name="'+o+'" settings="'+(i=encodeURIComponent((0,l.default)(i&&i.toJSON({remove:["default"]})||{})))+'"]'},tagContainerToTagText:function tagContainerToTagText(t){return elementor.dynamicTags.tagDataToTagText(t.view.getOption("id"),t.view.getOption("name"),t.view.model)},cleanCache:function cleanCache(){this.cache={}},onInit:function onInit(){this.loadCacheRequests=_.debounce(this.loadCacheRequests,300)}})},function(t,o,i){"use strict";t.exports=Marionette.ItemView.extend({hasTemplate:!0,tagName:"span",className:function className(){return"elementor-tag"},getTemplate:function getTemplate(){return!!this.hasTemplate&&Marionette.TemplateCache.get("#tmpl-elementor-tag-"+this.getOption("name")+"-content")},initialize:function initialize(){try{this.getTemplate()}catch(t){this.hasTemplate=!1}},getConfig:function getConfig(t){var o=elementor.dynamicTags.getConfig("tags."+this.getOption("name"));return t?o[t]:o},getContent:function getContent(){var t,o=this.getConfig("content_type");if(!this.hasTemplate&&void 0===(t=elementor.dynamicTags.loadTagDataFromCache(this)))throw new Error(elementor.dynamicTags.CACHE_KEY_NOT_FOUND_ERROR);if("ui"===o){if(this.render(),this.hasTemplate)return this.el.outerHTML;this.getConfig("wrapped_tag")&&(t=jQuery(t).html()),this.$el.html(t)}return t},onRender:function onRender(){this.el.id="elementor-tag-"+this.getOption("id")}})},function(t,o,i){"use strict";var r=i(0)(i(592));t.exports=elementorModules.Module.extend({modules:{base:i(335),page:i(593),editorPreferences:r.default},panelPages:{base:i(595)},onInit:function onInit(){this.initSettings()},initSettings:function initSettings(){var t=this;_.each(elementor.config.settings,(function(o,i){var r=t.modules[i]||t.modules.base;t[i]=new r(o)}))}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(_default,t);var o=(0,c.default)(_default);function _default(){var t;(0,a.default)(this,_default);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(t=o.call.apply(o,[this].concat(r))).changeCallbacks={ui_theme:t.onUIThemeChanged,panel_width:t.onPanelWidthChanged,edit_buttons:t.onEditButtonsChanged},t}return(0,l.default)(_default,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{darkModeLinkID:"elementor-editor-dark-mode-css"}}}]),(0,l.default)(_default,[{key:"createDarkModeStylesheetLink",value:function createDarkModeStylesheetLink(){var t=this.getSettings("darkModeLinkID"),o=jQuery("#"+t);o.length||(o=jQuery("<link>",{id:t,rel:"stylesheet",href:elementor.config.ui.darkModeStylesheetURL})),this.$link=o}},{key:"getDarkModeStylesheetLink",value:function getDarkModeStylesheetLink(){return this.$link||this.createDarkModeStylesheetLink(),this.$link}},{key:"onUIThemeChanged",value:function onUIThemeChanged(t){var o=this.getDarkModeStylesheetLink();"light"!==t?o.attr("media","auto"===t?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body):o.remove()}},{key:"onPanelWidthChanged",value:function onPanelWidthChanged(t){elementor.panel.saveSize({width:t.size+t.unit}),elementor.panel.setSize()}},{key:"onEditButtonsChanged",value:function onEditButtonsChanged(){setTimeout((function(){return elementor.getPreviewView()._renderChildren()}),300)}}]),_default}(r(i(335)).default);o.default=d},function(t,o,i){"use strict";var r=i(0);i(26);var a=r(i(594)),l=i(335);t.exports=l.extend({getStyleId:function getStyleId(){return this.getSettings("name")+"-"+elementor.documents.getCurrent().id},onInit:function onInit(){l.prototype.onInit.apply(this),$e.components.register(new a.default({manager:this}))},save:function save(){},changeCallbacks:{post_title:function post_title(t){elementorFrontend.elements.$document.find(elementor.config.page_title_selector).text(t)},template:function template(){$e.run("document/save/auto",{force:!0,onSuccess:function onSuccess(){elementor.reloadPreview(),elementor.once("preview:loaded",(function(){$e.route("panel/page-settings/settings")}))}})}},getDataToSave:function getDataToSave(t){return t.id=elementor.config.document.id,t},getEditedView:function getEditedView(){var t=this;if(this.editedView)return this.editedView;var o=this.getContainerId(),i=new Backbone.Model({id:o,elType:o,settings:this.model,elements:elementor.elements}),r=new elementorModules.editor.Container({type:o,id:i.id,model:i,settings:i.get("settings"),label:elementor.config.document.panel.title,controls:this.model.controls,children:elementor.elements,renderer:{view:{lookup:function lookup(){return r},renderOnChange:function renderOnChange(){return t.updateStylesheet()},renderUI:function renderUI(){return t.updateStylesheet()}}}});return this.editedView={getContainer:function getContainer(){return r},getEditModel:function getEditModel(){return i},model:i},this.editedView},getContainerId:function getContainerId(){return"document"}})},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Component,t);var o=(0,c.default)(Component);function Component(){return(0,a.default)(this,Component),o.apply(this,arguments)}return(0,l.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/page-settings"}},{key:"defaultTabs",value:function defaultTabs(){return{settings:{title:elementor.translate("settings")},style:{title:elementor.translate("style")},advanced:{title:elementor.translate("advanced")}}}},{key:"renderTab",value:function renderTab(t){elementor.getPanelView().setPage("page_settings").activateTab(t)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}}]),Component}(r(i(86)).default);o.default=d},function(t,o,i){"use strict";t.exports=elementorModules.editor.views.ControlsStack.extend({id:function id(){return"elementor-panel-"+this.getOption("name")+"-settings"},getTemplate:function getTemplate(){return"#tmpl-elementor-panel-"+this.getOption("name")+"-settings"},childViewContainer:function childViewContainer(){return"#elementor-panel-"+this.getOption("name")+"-settings-controls"},childViewOptions:function childViewOptions(){return{container:this.getOption("editedView").getContainer()}}})},function(t,o,i){"use strict";var r=i(0)(i(213));t.exports=elementorModules.Module.extend({initToast:function initToast(){var t=elementorCommon.dialogsManager.createWidget("buttons",{id:"elementor-toast",position:{my:"center bottom",at:"center bottom-10",of:"#elementor-panel-content-wrapper",autoRefresh:!0},hide:{onClick:!0,auto:!0,autoDelay:1e4},effects:{show:function show(){var o=t.getElements("widget");o.show(),t.refreshPosition();var i=(0,r.default)(o.css("top"),10);o.hide().css("top",i+100),o.animate({opacity:"show",height:"show",paddingBottom:"show",paddingTop:"show",top:i},{easing:"linear",duration:300})},hide:function hide(){var o=t.getElements("widget"),i=(0,r.default)(o.css("top"),10);o.animate({opacity:"hide",height:"hide",paddingBottom:"hide",paddingTop:"hide",top:i+100},{easing:"linear",duration:300})}},button:{tag:"div"}});this.getToast=function(){return t}},showToast:function showToast(t){var o=this.getToast();o.setMessage(t.message),o.getElements("buttonsWrapper").empty(),t.buttons?t.buttons.forEach((function(t){o.addButton(t)})):o.getElements("buttonsWrapper").remove(),t.classes&&o.getElements("widget").addClass(t.classes),o.show()},onInit:function onInit(){this.initToast()}})},function(t,o,i){"use strict";var r=i(371);t.exports=r.extend({el:"#elementor-panel",getStorageKey:function getStorageKey(){return"panel"},getDefaultStorage:function getDefaultStorage(){return{size:{width:""}}},constructor:function constructor(){r.prototype.constructor.apply(this,arguments);var t=i(598);this.show(new t),this.resizable(),this.setSize(),this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeSwitched)},setSize:function setSize(){var t=this.storage.size.width,o=elementorCommon.config.isRTL?"right":"left";this.$el.css("width",t),elementor.$previewWrapper.css(o,t)},resizable:function resizable(){var t=this,o=elementorCommon.config.isRTL?"right":"left";t.$el.resizable({handles:elementorCommon.config.isRTL?"w":"e",minWidth:200,maxWidth:680,start:function start(){elementor.$previewWrapper.addClass("ui-resizable-resizing")},stop:function stop(){elementor.$previewWrapper.removeClass("ui-resizable-resizing"),elementor.getPanelView().updateScrollbar(),t.saveSize()},resize:function resize(t,i){elementor.$previewWrapper.css(o,i.size.width)}})},onEditModeSwitched:function onEditModeSwitched(t){"edit"===t&&this.setSize()}})},function(t,o,i){"use strict";var r,a=i(0),l=a(i(25)),u=a(i(599)),c=a(i(612)),d=a(i(613)),m=i(616);r=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel",id:"elementor-panel-inner",regions:{content:"#elementor-panel-content-wrapper",header:"#elementor-panel-header-wrapper",footer:"#elementor-panel-footer",modeSwitcher:"#elementor-mode-switcher"},pages:{},childEvents:{"click:add":function clickAdd(){$e.route("panel/elements/categories")},"editor:destroy":function editorDestroy(){$e.route("panel/elements/categories",{autoFocusSearch:!1})}},currentPageName:null,currentPageView:null,perfectScrollbar:null,initialize:function initialize(){$e.components.register(new u.default({manager:this})),$e.internal("panel/state-loading"),$e.components.register(new c.default({manager:this})),$e.components.register(new d.default({manager:this})),this.initPages()},buildPages:function buildPages(){var t={elements:{view:i(617),title:'<img src="'+elementorCommon.config.urls.assets+'images/logo-panel.svg">'},editor:{view:i(622)},menu:{view:elementor.modules.layouts.panel.pages.menu.Menu,title:'<img src="'+elementorCommon.config.urls.assets+'images/logo-panel.svg">'},colorScheme:{view:i(623)},typographyScheme:{view:i(626)}},o=(0,l.default)(elementor.schemes.getSchemes()),r=_.difference(o,elementor.schemes.getEnabledSchemesTypes());return _.each(r,(function(o){var r=elementor.schemes.getScheme(o);t[o+"Scheme"].view=i(627).extend({disabledTitle:r.disabled_title})})),t},initPages:function initPages(){var t;this.getPages=function(o){return t||(t=this.buildPages()),o?t[o]:t},this.addPage=function(o,i){t||(t=this.buildPages()),t[o]=i}},getHeaderView:function getHeaderView(){return this.getChildView("header")},getFooterView:function getFooterView(){return this.getChildView("footer")},getCurrentPageName:function getCurrentPageName(){return this.currentPageName},getCurrentPageView:function getCurrentPageView(){return this.currentPageView},setPage:function setPage(t,o,i){var r=this.getPages();"elements"!==t||elementor.userCan("design")||r.page_settings&&(t="page_settings");var a=r[t];if(!a)throw new ReferenceError("Elementor panel doesn't have page named '"+t+"'");a.options&&(i=_.extend(a.options,i));var l=a.view;return a.getView&&(l=a.getView()),this.currentPageName=t,this.currentPageView=new l(i),this.showChildView("content",this.currentPageView),this.getHeaderView().setTitle(o||a.title),this.trigger("set:page",this.currentPageView).trigger("set:page:"+t,this.currentPageView),elementor.promotion.dialog&&elementor.promotion.dialog.hide(),this.currentPageView},onBeforeShow:function onBeforeShow(){var t=i(628),o=i(629);this.showChildView("modeSwitcher",new m),this.showChildView("header",new o),this.showChildView("footer",new t),this.updateScrollbar=_.throttle(this.updateScrollbar,100),this.getRegion("content").on("before:show",this.onEditorBeforeShow.bind(this)).on("empty",this.onEditorEmpty.bind(this)).on("show",this.updateScrollbar.bind(this))},onEditorBeforeShow:function onEditorBeforeShow(){_.defer(this.updateScrollbar.bind(this))},onEditorEmpty:function onEditorEmpty(){this.updateScrollbar()},updateScrollbar:function updateScrollbar(){if(!this.perfectScrollbar)return this.perfectScrollbar=new PerfectScrollbar(this.content.el,{suppressScrollX:!0}),void(this.perfectScrollbar.isRtl=!1);this.perfectScrollbar.update()}}),t.exports=r},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(2)),u=a(i(3)),c=a(i(4)),d=a(i(5)),m=a(i(86)),p=r(i(600)),h=r(i(608)),g=function(t){(0,c.default)(Component,t);var o=(0,d.default)(Component);function Component(){return(0,l.default)(this,Component),o.apply(this,arguments)}return(0,u.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel"}},{key:"defaultRoutes",value:function defaultRoutes(){var t=this;return{menu:function menu(){return t.manager.setPage("menu")},"global-colors":function globalColors(){return t.manager.setPage("colorScheme")},"global-fonts":function globalFonts(){return t.manager.setPage("typographyScheme")},"editor-preferences":function editorPreferences(){return t.manager.setPage("editorPreferences_settings").activateTab("settings")}}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(h)}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(p)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{toggle:{keys:"ctrl+p"},save:{keys:"ctrl+s"},exit:{keys:"esc",dependency:function dependency(){return!jQuery(".dialog-widget:visible").length},scopes:["panel","preview"]},"change-device-mode":{keys:"ctrl+shift+m"}}}}]),Component}(m.default);o.default=g},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"ChangeDeviceMode",{enumerable:!0,get:function get(){return a.ChangeDeviceMode}}),r(o,"Close",{enumerable:!0,get:function get(){return l.Close}}),r(o,"Exit",{enumerable:!0,get:function get(){return u.Exit}}),r(o,"Open",{enumerable:!0,get:function get(){return c.Open}}),r(o,"Publish",{enumerable:!0,get:function get(){return d.Publish}}),r(o,"Save",{enumerable:!0,get:function get(){return m.Save}}),r(o,"Toggle",{enumerable:!0,get:function get(){return p.Toggle}});var a=i(601),l=i(602),u=i(603),c=i(604),d=i(605),m=i(606),p=i(607)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.ChangeDeviceMode=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(ChangeDeviceMode,t);var o=(0,c.default)(ChangeDeviceMode);function ChangeDeviceMode(){return(0,a.default)(this,ChangeDeviceMode),o.apply(this,arguments)}return(0,l.default)(ChangeDeviceMode,[{key:"apply",value:function apply(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=["desktop","tablet","mobile"],i=t.device;if(!i){var r=elementor.channels.deviceMode.request("currentMode"),a=o.indexOf(r);++a>=o.length&&(a=0),i=o[a]}elementor.changeDeviceMode(i)}}]),ChangeDeviceMode}(r(i(23)).default);o.ChangeDeviceMode=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Close,t);var o=(0,c.default)(Close);function Close(){return(0,a.default)(this,Close),o.apply(this,arguments)}return(0,l.default)(Close,[{key:"apply",value:function apply(){elementor.changeEditMode("preview")}}]),Close}(r(i(23)).default);o.Close=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Exit=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Exit,t);var o=(0,c.default)(Exit);function Exit(){return(0,a.default)(this,Exit),o.apply(this,arguments)}return(0,l.default)(Exit,[{key:"apply",value:function apply(){$e.route("panel/menu")}}]),Exit}(r(i(23)).default);o.Exit=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"apply",value:function apply(){elementor.changeEditMode("edit")}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Publish=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Publish,t);var o=(0,c.default)(Publish);function Publish(){return(0,a.default)(this,Publish),o.apply(this,arguments)}return(0,l.default)(Publish,[{key:"apply",value:function apply(){$e.run("document/save/publish")}}]),Publish}(r(i(23)).default);o.Publish=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Save=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Save,t);var o=(0,c.default)(Save);function Save(){return(0,a.default)(this,Save),o.apply(this,arguments)}return(0,l.default)(Save,[{key:"apply",value:function apply(){$e.run("document/save/draft")}}]),Save}(r(i(23)).default);o.Save=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Toggle=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Toggle,t);var o=(0,c.default)(Toggle);function Toggle(){return(0,a.default)(this,Toggle),o.apply(this,arguments)}return(0,l.default)(Toggle,[{key:"apply",value:function apply(){elementor.getPanelView().modeSwitcher.currentView.toggleMode()}}]),Toggle}(r(i(23)).default);o.Toggle=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"OpenDefault",{enumerable:!0,get:function get(){return a.OpenDefault}}),r(o,"StateLoading",{enumerable:!0,get:function get(){return l.StateLoading}}),r(o,"StateReady",{enumerable:!0,get:function get(){return u.StateReady}});var a=i(609),l=i(610),u=i(611)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.OpenDefault=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(OpenDefault,t);var o=(0,c.default)(OpenDefault);function OpenDefault(){return(0,a.default)(this,OpenDefault),o.apply(this,arguments)}return(0,l.default)(OpenDefault,[{key:"apply",value:function apply(){$e.route(elementor.documents.getCurrent().config.panel.default_route)}}]),OpenDefault}(r(i(203)).default);o.OpenDefault=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.StateLoading=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(StateLoading,t);var o=(0,c.default)(StateLoading);function StateLoading(){return(0,a.default)(this,StateLoading),o.apply(this,arguments)}return(0,l.default)(StateLoading,[{key:"apply",value:function apply(){elementorCommon.elements.$body.addClass("elementor-panel-loading")}}]),StateLoading}(r(i(203)).default);o.StateLoading=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.StateReady=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(StateReady,t);var o=(0,c.default)(StateReady);function StateReady(){return(0,a.default)(this,StateReady),o.apply(this,arguments)}return(0,l.default)(StateReady,[{key:"apply",value:function apply(){elementorCommon.elements.$body.removeClass("elementor-panel-loading")}}]),StateReady}(r(i(203)).default);o.StateReady=d;var m=d;o.default=m},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Component,t);var o=(0,c.default)(Component);function Component(){return(0,a.default)(this,Component),o.apply(this,arguments)}return(0,l.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/elements"}},{key:"defaultTabs",value:function defaultTabs(){return{categories:{title:elementor.translate("elements")},global:{title:elementor.translate("global")}}}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}},{key:"renderTab",value:function renderTab(t){this.manager.setPage("elements").showView(t)}}]),Component}(r(i(86)).default);o.default=d},function(t,o,i){"use strict";var r=i(38),a=i(0);i(1)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(25)),u=a(i(2)),c=a(i(3)),d=a(i(24)),m=a(i(16)),p=a(i(4)),h=a(i(5)),g=a(i(86)),v=r(i(614)),y=function(t){(0,p.default)(Component,t);var o=(0,h.default)(Component);function Component(){return(0,u.default)(this,Component),o.apply(this,arguments)}return(0,c.default)(Component,[{key:"__construct",value:function __construct(t){(0,d.default)((0,m.default)(Component.prototype),"__construct",this).call(this,t),this.activeTabs={}}},{key:"getNamespace",value:function getNamespace(){return"panel/editor"}},{key:"defaultTabs",value:function defaultTabs(){return{content:{title:elementor.translate("content")},style:{title:elementor.translate("style")},advanced:{title:elementor.translate("advanced")},layout:{title:elementor.translate("layout")}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(v)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}},{key:"renderTab",value:function renderTab(t,o){var i=o.model,r=o.view,a=elementor.translate("edit_element",[elementor.getElementData(i).title]);elementor.getPanelView().setPage("editor",a,{tab:t,model:i,controls:elementor.getElementControls(i),editedElementView:r})}},{key:"activateTab",value:function activateTab(t,o){this.activeTabs[o.model.id]=t,(0,d.default)((0,m.default)(Component.prototype),"activateTab",this).call(this,t,o)}},{key:"setDefaultTab",value:function setDefaultTab(t){var o,i=t.model.get("editSettings");if(this.activeTabs[t.model.id]?o=this.activeTabs[t.model.id]:i&&i.get("defaultEditRoute")&&(o=i.get("defaultEditRoute")),o){var r=elementor.getElementData(t.model).tabs_controls;return r[o]||(o=(0,l.default)(r)[0]),this.setDefaultRoute(o),!0}return!1}}]),Component}(g.default);o.default=y},function(t,o,i){"use strict";var r=i(1);r(o,"__esModule",{value:!0}),r(o,"Open",{enumerable:!0,get:function get(){return a.Open}});var a=i(615)},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(4)),c=r(i(5)),d=function(t){(0,u.default)(Open,t);var o=(0,c.default)(Open);function Open(){return(0,a.default)(this,Open),o.apply(this,arguments)}return(0,l.default)(Open,[{key:"apply",value:function apply(t){this.component.setDefaultTab(t)?$e.route(this.component.getDefaultRoute(),t):(elementorCommon.helpers.softDeprecated("model.trigger( 'request:edit' )","2.9.0","editSettings.defaultEditRoute"),t.model.trigger("request:edit"));var o="panel/open_editor/"+t.model.get("elType");elementor.hooks.doAction(o,this.component.manager,t.model,t.view),elementor.hooks.doAction(o+"/"+t.model.get("widgetType"),this.component.manager,t.model,t.view)}}]),Open}(r(i(23)).default);o.Open=d;var m=d;o.default=m},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({template:"#tmpl-elementor-mode-switcher-content",id:"elementor-mode-switcher-inner",ui:{previewButton:"#elementor-mode-switcher-preview-input",previewLabel:"#elementor-mode-switcher-preview",previewLabelA11y:"#elementor-mode-switcher-preview .elementor-screen-only"},events:{"change @ui.previewButton":"onPreviewButtonChange"},initialize:function initialize(){this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeChanged)},getCurrentMode:function getCurrentMode(){return this.ui.previewButton.is(":checked")?"preview":"edit"},setMode:function setMode(t){this.ui.previewButton.prop("checked","preview"===t).trigger("change")},toggleMode:function toggleMode(){this.setMode(this.ui.previewButton.prop("checked")?"edit":"preview")},onRender:function onRender(){this.onEditModeChanged()},onPreviewButtonChange:function onPreviewButtonChange(){var t=this.getCurrentMode();if("edit"===t)$e.run("panel/open");else{if("preview"!==t)throw Error("Invalid mode: '".concat(t,"'"));$e.run("panel/close")}},onEditModeChanged:function onEditModeChanged(t){var o=elementor.translate("preview"===t?"back_to_editor":"preview");this.ui.previewLabel.attr("title",o),this.ui.previewLabelA11y.text(o)}}),t.exports=r},function(t,o,i){"use strict";i(40),i(334);var r,a=i(618),l=i(390),u=i(619),c=elementor.modules.layouts.panel.pages.elements.views.Elements,d=i(621),m=i(385);r=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel-elements",id:"elementor-panel-page-elements",options:{autoFocusSearch:!0},regions:{elements:"#elementor-panel-elements-wrapper",search:"#elementor-panel-elements-search-area"},regionViews:{},elementsCollection:null,categoriesCollection:null,initialize:function initialize(){this.listenTo(elementor.channels.panelElements,"element:selected",this.destroy),this.initElementsCollection(),this.initCategoriesCollection(),this.initRegionViews()},initRegionViews:function initRegionViews(){var t={elements:{region:this.elements,view:c,options:{collection:this.elementsCollection}},categories:{region:this.elements,view:u,options:{collection:this.categoriesCollection}},search:{region:this.search,view:d},global:{region:this.elements,view:m}};this.regionViews=elementor.hooks.applyFilters("panel/elements/regionViews",t)},initElementsCollection:function initElementsCollection(){var t=new l,o=elementor.config.elements.section;t.add({title:elementor.translate("inner_section"),elType:"section",categories:["basic"],keywords:["row","columns","nested"],icon:o.icon}),_.each(elementor.widgetsCache,(function(o){elementor.config.document.panel.widgets_settings[o.widget_type]&&(o=_.extend(o,elementor.config.document.panel.widgets_settings[o.widget_type])),o.show_in_panel&&t.add({title:o.title,elType:o.elType,categories:o.categories,keywords:o.keywords,icon:o.icon,widgetType:o.widget_type,custom:o.custom,editable:o.editable})})),jQuery.each(elementor.config.promotionWidgets,(function(o,i){t.add({name:i.name,title:i.title,icon:i.icon,categories:JSON.parse(i.categories),editable:!1})})),this.elementsCollection=t},initCategoriesCollection:function initCategoriesCollection(){var t={};this.elementsCollection.each((function(o){_.each(o.get("categories"),(function(i){t[i]||(t[i]=[]),t[i].push(o)}))}));var o=new a;_.each(elementor.config.document.panel.elements_categories,(function(i,r){t[r]&&(void 0===i.active&&(i.active=!0),void 0===i.icon&&(i.icon="font"),o.add({name:r,title:i.title,icon:i.icon,defaultActive:i.active,items:t[r]}))})),this.categoriesCollection=o},showView:function showView(t){var o=this.regionViews[t],i=o.options||{};o.region.show(new o.view(i))},clearSearchInput:function clearSearchInput(){this.getChildView("search").clearInput()},changeFilter:function changeFilter(t){elementor.channels.panelElements.reply("filter:value",t).trigger("filter:change")},clearFilters:function clearFilters(){this.changeFilter(null),this.clearSearchInput()},focusSearch:function focusSearch(){elementor.userCan("design")&&this.search&&this.search.currentView&&this.search.currentView.ui.input.focus()},onChildviewChildrenRender:function onChildviewChildrenRender(){elementor.getPanelView().updateScrollbar()},onChildviewSearchChangeInput:function onChildviewSearchChangeInput(t){this.changeFilter(t.ui.input.val(),"search")},onDestroy:function onDestroy(){elementor.channels.panelElements.reply("filter:value",null)},onShow:function onShow(){this.showView("search"),this.options.autoFocusSearch&&setTimeout(this.focusSearch.bind(this))}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(389);r=Backbone.Collection.extend({model:a}),t.exports=r},function(t,o,i){"use strict";var r,a=i(620);r=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-categories",childView:a,childViewContainer:"#elementor-panel-categories",id:"elementor-panel-elements-categories",initialize:function initialize(){this.listenTo(elementor.channels.panelElements,"filter:change",this.onPanelElementsFilterChange)},onPanelElementsFilterChange:function onPanelElementsFilterChange(){elementor.channels.panelElements.request("filter:value")&&elementor.getPanelView().getCurrentPageView().showView("elements")}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(390);r=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-elements-category",className:"elementor-panel-category",ui:{title:".elementor-panel-category-title",items:".elementor-panel-category-items"},events:{"click @ui.title":"onTitleClick"},id:function id(){return"elementor-panel-category-"+this.model.get("name")},childView:i(387),childViewContainer:".elementor-panel-category-items",initialize:function initialize(){this.collection=new a(this.model.get("items"))},onRender:function onRender(){var t=elementor.channels.panelElements.request("category:"+this.model.get("name")+":active");void 0===t&&(t=this.model.get("defaultActive")),t&&(this.$el.addClass("elementor-active"),this.ui.items.show())},onTitleClick:function onTitleClick(){var t=this.ui.items,o=this.$el.hasClass("elementor-active"),i=o?"slideUp":"slideDown";elementor.channels.panelElements.reply("category:"+this.model.get("name")+":active",!o),this.$el.toggleClass("elementor-active",!o),t[i](300,(function(){elementor.getPanelView().updateScrollbar()}))}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-element-search",id:"elementor-panel-elements-search-wrapper",ui:{input:"input"},events:{"input @ui.input":"onInputChanged"},clearInput:function clearInput(){this.ui.input.val("")},onInputChanged:function onInputChanged(t){27===t.keyCode&&this.clearInput(),this.triggerMethod("search:change:input")}}),t.exports=r},function(t,o,i){"use strict";var r,a=elementorModules.editor.views.ControlsStack;r=a.extend({template:Marionette.TemplateCache.get("#tmpl-editor-content"),id:"elementor-panel-page-editor",childViewContainer:"#elementor-controls",childViewOptions:function childViewOptions(){return{element:this.getOption("editedElementView"),container:this.getOption("editedElementView").getContainer(),elementSettingsModel:this.model.get("settings"),elementEditSettings:this.model.get("editSettings")}},getNamespaceArray:function getNamespaceArray(){var t=elementorModules.editor.views.ControlsStack.prototype.getNamespaceArray(),o=this.getOption("editedElementView").getEditModel(),i=o.get("elType");return t.push(i),"widget"===i&&t.push(o.get("widgetType")),t},initialize:function initialize(){a.prototype.initialize.apply(this,arguments);var t=this.model.get("editSettings");if(t){var o=t.get("panel");o&&(this.activeTab=o.activeTab,this.activeSection=o.activeSection)}},activateSection:function activateSection(){return a.prototype.activateSection.apply(this,arguments),this.model.get("editSettings").set("panel",{activeTab:this.activeTab,activeSection:this.activeSection}),this},openActiveSection:function openActiveSection(){a.prototype.openActiveSection.apply(this,arguments),elementor.channels.editor.trigger("section:activated",this.activeSection,this)},isVisibleSectionControl:function isVisibleSectionControl(t){return a.prototype.isVisibleSectionControl.apply(this,arguments)&&elementor.helpers.isActiveControl(t,this.model.get("settings").attributes)},scrollToEditedElement:function scrollToEditedElement(){elementor.helpers.scrollToView(this.getOption("editedElementView").$el)},onDestroy:function onDestroy(){var t=this.getOption("editedElementView");t&&t.$el.removeClass("elementor-element-editable"),this.model.trigger("editor:close"),this.triggerMethod("editor:destroy")},onRender:function onRender(){var t=this.getOption("editedElementView");t&&t.$el.addClass("elementor-element-editable")},onDeviceModeChange:function onDeviceModeChange(){a.prototype.onDeviceModeChange.apply(this,arguments),this.scrollToEditedElement()},onChildviewSettingsChange:function onChildviewSettingsChange(t){var o=this.getOption("editedElementView"),i=o.model.get("elType");"widget"===i&&(i=o.model.get("widgetType")),elementor.channels.editor.trigger("change",t,o).trigger("change:"+i,t,o).trigger("change:"+i+":"+t.model.get("name"),t,o)}}),t.exports=r},function(t,o,i){"use strict";var r,a=i(391);r=a.extend({ui:function ui(){var ui=a.prototype.ui.apply(this,arguments);return ui.systemSchemes=".elementor-panel-scheme-color-system-scheme",ui},events:function events(){var events=a.prototype.events.apply(this,arguments);return events["click @ui.systemSchemes"]="onSystemSchemeClick",events},getType:function getType(){return"color"},onSystemSchemeClick:function onSystemSchemeClick(t){var o=jQuery(t.currentTarget).data("schemeName"),i=elementor.config.system_schemes[this.getType()][o].items;this.changeChildrenUIValues(i)}}),t.exports=r},function(t,o,i){"use strict";var r=i(0)(i(301)),a=i(392);t.exports=a.extend({getUIType:function getUIType(){return"color"},ui:{pickerPlaceholder:".elementor-panel-scheme-color-picker-placeholder"},changeUIValue:function changeUIValue(t){this.colorPicker.picker.setColor(t)},onRender:function onRender(){var t=this;this.colorPicker=new r.default({picker:{el:this.ui.pickerPlaceholder[0],default:this.model.get("value")},onChange:function onChange(){t.triggerMethod("value:change",t.colorPicker.getColor())},onClear:function onClear(){t.triggerMethod("value:change","")}})},onBeforeDestroy:function onBeforeDestroy(){this.colorPicker.destroy()}})},function(t,o,i){"use strict";var r,a=i(392);r=a.extend({getUIType:function getUIType(){return"typography"},className:function className(){var t=a.prototype.className.apply(this,arguments);return t+" elementor-panel-box"},ui:{heading:".elementor-panel-heading",allFields:".elementor-panel-scheme-typography-item-field",inputFields:"input.elementor-panel-scheme-typography-item-field",selectFields:"select.elementor-panel-scheme-typography-item-field",selectFamilyFields:'select.elementor-panel-scheme-typography-item-field[name="font_family"]'},events:{"input @ui.inputFields":"onFieldChange","change @ui.selectFields":"onFieldChange","click @ui.heading":"toggleVisibility"},onRender:function onRender(){var t=this;this.ui.inputFields.add(this.ui.selectFields).each((function(){var o=jQuery(this),i=o.attr("name"),r=t.model.get("value")[i];o.val(r)})),this.ui.selectFamilyFields.select2({dir:elementorCommon.config.isRTL?"rtl":"ltr"})},toggleVisibility:function toggleVisibility(){this.$el.toggleClass("elementor-open")},changeUIValue:function changeUIValue(t){this.ui.allFields.each((function(){var o=jQuery(this),i=o.attr("name"),r=t[i];o.val(r).trigger("change")}))},onFieldChange:function onFieldChange(){var t=elementor.schemes.getSchemeValue("typography",this.model.get("key")).value;this.triggerMethod("value:change",t)}}),t.exports=r},function(t,o,i){"use strict";var r;r=i(391).extend({getType:function getType(){return"typography"}}),t.exports=r},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-schemes-disabled",id:"elementor-panel-schemes-disabled",className:"elementor-nerd-box",disabledTitle:"",templateHelpers:function templateHelpers(){return{disabledTitle:this.disabledTitle}}}),t.exports=r},function(t,o,i){"use strict";i(26),i(40),t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-footer-content",tagName:"nav",id:"elementor-panel-footer-tools",possibleRotateModes:["portrait","landscape"],ui:{menuButtons:".elementor-panel-footer-tool",settings:"#elementor-panel-footer-settings",deviceModeIcon:"#elementor-panel-footer-responsive > i",deviceModeButtons:"#elementor-panel-footer-responsive .elementor-panel-footer-sub-menu-item",saveTemplate:"#elementor-panel-footer-sub-menu-item-save-template",history:"#elementor-panel-footer-history",navigator:"#elementor-panel-footer-navigator"},events:{"click @ui.menuButtons":"onMenuButtonsClick","click @ui.settings":"onSettingsClick","click @ui.deviceModeButtons":"onResponsiveButtonsClick","click @ui.saveTemplate":"onSaveTemplateClick","click @ui.history":"onHistoryClick","click @ui.navigator":"onNavigatorClick"},behaviors:function behaviors(){var behaviors={saver:{behaviorClass:elementor.modules.components.saver.behaviors.FooterSaver}};return elementor.hooks.applyFilters("panel/footer/behaviors",behaviors,this)},initialize:function initialize(){this.listenTo(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},getDeviceModeButton:function getDeviceModeButton(t){return this.ui.deviceModeButtons.filter('[data-device-mode="'+t+'"]')},addSubMenuItem:function addSubMenuItem(t,o){var i=jQuery("<div>",{id:"elementor-panel-footer-sub-menu-item-"+o.name,class:"elementor-panel-footer-sub-menu-item"}),r=jQuery("<i>",{class:"elementor-icon "+o.icon,"aria-hidden":!0}),a=jQuery("<div>",{class:"elementor-title"}).text(o.title);if(i.append(r,a),o.description){var l=jQuery("<div>",{class:"elementor-description"}).text(o.description);i.append(l)}o.callback&&i.on("click",o.callback);var u=this.ui.menuButtons.filter("#elementor-panel-footer-"+t);if(o.before){var c=u.find("#elementor-panel-footer-sub-menu-item-"+o.before);if(c.length)return i.insertBefore(c)}var d=u.find(".elementor-panel-footer-sub-menu");return i.appendTo(d)},removeSubMenuItem:function removeSubMenuItem(t,o){return jQuery("#elementor-panel-footer-sub-menu-item-"+o.name).remove()},showSettingsPage:function showSettingsPage(){$e.route("panel/page-settings/settings")},onMenuButtonsClick:function onMenuButtonsClick(t){var o=jQuery(t.currentTarget);if(o.hasClass("elementor-toggle-state")&&!jQuery(t.target).closest(".elementor-panel-footer-sub-menu-item").length){var i=o.hasClass("elementor-open");this.ui.menuButtons.not(".elementor-leave-open").removeClass("elementor-open"),i||o.addClass("elementor-open")}},onSettingsClick:function onSettingsClick(){$e.route("panel/page-settings/settings")},onDeviceModeChange:function onDeviceModeChange(){var t=elementor.channels.deviceMode.request("previousMode"),o=elementor.channels.deviceMode.request("currentMode");this.getDeviceModeButton(t).removeClass("active"),this.getDeviceModeButton(o).addClass("active"),this.ui.deviceModeIcon.removeClass("eicon-device-"+t).addClass("eicon-device-"+o)},onResponsiveButtonsClick:function onResponsiveButtonsClick(t){var o=this.$(t.currentTarget).data("device-mode");elementor.changeDeviceMode(o)},onSaveTemplateClick:function onSaveTemplateClick(){$e.route("library/save-template")},onHistoryClick:function onHistoryClick(){$e.route("panel/history/actions")},onNavigatorClick:function onNavigatorClick(){$e.run("navigator/toggle")}})},function(t,o,i){"use strict";var r;r=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-header",id:"elementor-panel-header",ui:{menuButton:"#elementor-panel-header-menu-button",menuIcon:"#elementor-panel-header-menu-button i",title:"#elementor-panel-header-title",addButton:"#elementor-panel-header-add-button"},events:{"click @ui.addButton":"onClickAdd","click @ui.menuButton":"onClickMenu"},behaviors:function behaviors(){return elementor.hooks.applyFilters("panel/header/behaviors",{},this)},setTitle:function setTitle(t){this.ui.title.html(t)},onClickAdd:function onClickAdd(){$e.route("panel/elements/categories")},onClickMenu:function onClickMenu(){$e.routes.is("panel/menu")?$e.route("panel/elements/categories"):$e.route("panel/menu")}}),t.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,o,i){i(709),i(710),t.exports=i(711)},function(t,o,i){"use strict";var r;i(40),i(120),i(60),(r=jQuery).fn.elementorSerializeObject=function(){var t=this.serializeArray(),o={};return r.each(t,(function(){!function parseObject(t,o,i){var r=/^[^\[\]]+\[]/.test(o),a=/^[^\[\]]+\[[^\[\]]+]/.test(o),l=o.replace(/\[.*/,"");if(r)t[l]||(t[l]=[]);else{if(!a)return void(t.push?t.push(i):t[l]=i);t[l]||(t[l]={})}var u=o.match(/\[[^\[\]]*]/g);return u[0]=u[0].replace(/\[|]/g,""),parseObject(t[l],u.join(""),i)}(o,this.name,this.value)})),o}},function(t,o,i){"use strict";var r=i(0);i(120);var a,l,u,c=r(i(206));a=jQuery,l=function hasFullDataTransferSupport(t){try{return t.originalEvent.dataTransfer.setData("test","test"),t.originalEvent.dataTransfer.clearData("test"),!0}catch(t){return!1}},u={html5Draggable:function Draggable(t){var o=this,i={},r={},u={element:"",groups:null,onDragStart:null,onDragEnd:null},d=function onDragEnd(t){a.isFunction(i.onDragEnd)&&i.onDragEnd.call(r.$element,t,o)},m=function onDragStart(t){var u={groups:i.groups||[]};l(t)&&t.originalEvent.dataTransfer.setData((0,c.default)(u),!0),a.isFunction(i.onDragStart)&&i.onDragStart.call(r.$element,t,o)};this.destroy=function(){r.$element.off("dragstart",m),r.$element.removeAttr("draggable")},function init(){!function initSettings(){a.extend(!0,i,u,t)}(),function initElementsCache(){r.$element=a(i.element)}(),function buildElements(){r.$element.attr("draggable",!0)}(),function attachEvents(){r.$element.on("dragstart",m).on("dragend",d)}()}()},html5Droppable:function Droppable(t){var o,i,r=this,u={},c={},d={element:"",items:">",horizontalSensitivity:"10%",axis:["vertical","horizontal"],placeholder:!0,currentElementClass:"html5dnd-current-element",placeholderClass:"html5dnd-placeholder",hasDraggingOnChildClass:"html5dnd-has-dragging-on-child",groups:null,isDroppingAllowed:null,onDragEnter:null,onDragging:null,onDropping:null,onDragLeave:null},m=function hasVerticalDetection(){return-1!==u.axis.indexOf("vertical")},p=function checkHorizontal(t,o){var i;return!!function hasHorizontalDetection(){return-1!==u.axis.indexOf("horizontal")}()&&(m()?!!(i=u.horizontalSensitivity.match(/\d+/))&&(i=i[0],/%$/.test(u.horizontalSensitivity)&&(i=o/i),t>o-i?"right":t<i&&"left"):t>o/2?"right":"left")},h=function setSide(t){var r=a(o),l=r.outerHeight()-c.$placeholder.outerHeight(),u=r.outerWidth();if(t=t.originalEvent,!(i=p(t.offsetX,u)))if(m()){var d=o.getBoundingClientRect();i=t.clientY>d.top+l/2?"bottom":"top"}else i=null},g=function insertPlaceholder(){if(u.placeholder){var t="top"===i?"prependTo":"appendTo";c.$placeholder[t](o)}},v=function isDroppingAllowed(t){var c,d,m;return!(u.groups&&l(t)&&(c=t.originalEvent.dataTransfer.types,m=!1,(c=Array.prototype.slice.apply(c)).forEach((function(t){try{if(!(d=JSON.parse(t)).groups.slice)return;u.groups.forEach((function(t){if(-1!==d.groups.indexOf(t))return m=!0,!1}))}catch(t){}})),!m)||a.isFunction(u.isDroppingAllowed)&&!u.isDroppingAllowed.call(o,i,t,r))},y=function onDragEnter(t){t.stopPropagation(),o||(o=this,c.$element.parents().each((function(){var t=a(this).data("html5Droppable");t&&t.doDragLeave()})),h(t),v(t)&&(g(),c.$element.addClass(u.hasDraggingOnChildClass),a(o).addClass(u.currentElementClass),a.isFunction(u.onDragEnter)&&u.onDragEnter.call(o,i,t,r)))},C=function onDragOver(t){t.stopPropagation(),o||y.call(this,t);var l=i;h(t),v(t)&&(t.preventDefault(),l!==i&&g(),a.isFunction(u.onDragging)&&u.onDragging.call(this,i,t,r))},b=function onDragLeave(t){var i=this.getBoundingClientRect();("dragleave"!==t.type||t.clientX<i.left||t.clientX>=i.right||t.clientY<i.top||t.clientY>=i.bottom)&&(a(o).removeClass(u.currentElementClass),r.doDragLeave())},w=function onDrop(t){h(t),v(t)&&(t.preventDefault(),a.isFunction(u.onDropping)&&u.onDropping.call(this,i,t,r))};this.doDragLeave=function(){u.placeholder&&c.$placeholder.remove(),c.$element.removeClass(u.hasDraggingOnChildClass),a.isFunction(u.onDragLeave)&&u.onDragLeave.call(o,event,r),o=i=null},this.destroy=function(){c.$element.off("dragenter",u.items,y).off("dragover",u.items,C).off("drop",u.items,w).off("dragleave drop",u.items,b)},function init(){!function initSettings(){a.extend(u,d,t)}(),function initElementsCache(){c.$element=a(u.element),c.$placeholder=a("<div>",{class:u.placeholderClass})}(),function attachEvents(){c.$element.on("dragenter",u.items,y).on("dragover",u.items,C).on("drop",u.items,w).on("dragleave drop",u.items,b)}()}()}},a.each(u,(function(t,o){a.fn[t]=function(i){return i=i||{},this.each((function(){var r=a.data(this,t);r instanceof o?"destroy"===i&&(r.destroy(),a.removeData(this,t)):(i.element=this,a.data(this,t,new o(i)))})),this}}))},function(t,o,i){"use strict";var r=i(0);i(1)(o,"__esModule",{value:!0}),o.Editor=void 0;var a=r(i(2)),l=r(i(3)),u=r(i(24)),c=r(i(16)),d=r(i(4)),m=r(i(5)),p=function(t){(0,d.default)(Editor,t);var o=(0,m.default)(Editor);function Editor(){return(0,a.default)(this,Editor),o.apply(this,arguments)}return(0,l.default)(Editor,[{key:"onStart",value:function onStart(t){NProgress.start(),NProgress.inc(.2),(0,u.default)((0,c.default)(Editor.prototype),"onStart",this).call(this,t)}},{key:"onPreviewLoaded",value:function onPreviewLoaded(){NProgress.done(),(0,u.default)((0,c.default)(Editor.prototype),"onPreviewLoaded",this).call(this)}}]),Editor}(r(i(419)).default);o.Editor=p,window.elementor=new p,elementor.start()}]);