AlkantarClanX12
Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/elementor/assets/js/ |
Current File : //home/thanudqk/siampokernew.org/wp-content/plugins/elementor/assets/js/editor.min.js |
/*! elementor - v3.1.1 - 31-01-2021 */ (()=>{var t={75453:(t,o,i)=>{t.exports=i(46802)},59396:(t,o,i)=>{t.exports=i(69862)},54680:(t,o,i)=>{t.exports=i(71792)},61888:(t,o,i)=>{t.exports=i(63493)},32009:(t,o,i)=>{t.exports=i(52771)},15149:(t,o,i)=>{t.exports=i(48032)},38401:(t,o,i)=>{t.exports=i(69043)},92937:(t,o,i)=>{t.exports=i(17841)},67394:(t,o,i)=>{t.exports=i(53679)},38923:(t,o,i)=>{t.exports=i(45948)},23587:(t,o,i)=>{t.exports=i(27092)},63774:(t,o,i)=>{t.exports=i(25966)},95315:(t,o,i)=>{t.exports=i(9406)},82055:(t,o,i)=>{t.exports=i(58473)},83452:(t,o,i)=>{t.exports=i(20671)},28274:(t,o,i)=>{t.exports=i(57629)},35657:(t,o,i)=>{t.exports=i(81995)},14176:(t,o,i)=>{t.exports=i(4969)},73220:(t,o,i)=>{t.exports=i(19485)},75499:(t,o,i)=>{t.exports=i(80990)},78282:(t,o,i)=>{t.exports=i(36760)},41281:(t,o,i)=>{t.exports=i(79280)},29363:(t,o,i)=>{t.exports=i(69551)},50093:(t,o,i)=>{t.exports=i(2194)},93168:(t,o,i)=>{t.exports=i(87698)},72292:t=>{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}},86870:(t,o,i)=>{var r=i(59396);t.exports=function _arrayWithHoles(t){if(r(t))return t}},35693:(t,o,i)=>{var r=i(59396),a=i(72292);t.exports=function _arrayWithoutHoles(t){if(r(t))return a(t)}},38852:t=>{t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},49117:(t,o,i)=>{var r=i(73220);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)}))}}},11959:t=>{t.exports=function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}},39041:(t,o,i)=>{var r=i(67394);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}},74758:(t,o,i)=>{var r=i(54680),a=i(59396),l=i(50093),u=i(41281),c=i(24594);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}}}}},68537:(t,o,i)=>{var r=i(75499),a=i(44263),l=i(898),u=i(59771);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)}}},18042:(t,o,i)=>{var r=i(67394);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}},37959:(t,o,i)=>{var r=i(15149);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},76700:(t,o,i)=>{var r=i(23587),a=i(78282),l=i(49445);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},44263:(t,o,i)=>{var r=i(82055),a=i(28274);function _getPrototypeOf(o){return t.exports=_getPrototypeOf=a?r:function _getPrototypeOf(t){return t.__proto__||r(t)},_getPrototypeOf(o)}t.exports=_getPrototypeOf},77371:(t,o,i)=>{var r=i(38401),a=i(76870);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)}},67971:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}},52369:(t,o,i)=>{var r=i(23587),a=i(67394),l=i(24596),u=i(93168);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}},898:(t,o,i)=>{var r=i(75499);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}}},95915:(t,o,i)=>{var r=i(75453),a=i(61888),l=i(41281);t.exports=function _iterableToArray(t){if(void 0!==l&&a(Object(t)))return r(t)}},79968:(t,o,i)=>{var r=i(54680),a=i(61888),l=i(41281);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}}},39198:t=>{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.")}},84360:t=>{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.")}},84899:(t,o,i)=>{var r=i(67394),a=i(92937),l=i(63774),u=i(23587),c=i(95315),d=i(83452),m=i(18042);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}},59771:(t,o,i)=>{var r=i(24596),a=i(38852);t.exports=function _possibleConstructorReturn(t,o){return!o||"object"!==r(o)&&"function"!=typeof o?a(t):o}},76870:(t,o,i)=>{var r=i(28274);function _setPrototypeOf(o,i){return t.exports=_setPrototypeOf=r||function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(o,i)}t.exports=_setPrototypeOf},47834:(t,o,i)=>{var r=i(86870),a=i(79968),l=i(24594),u=i(39198);t.exports=function _slicedToArray(t,o){return r(t)||a(t,o)||l(t,o)||u()}},49445:(t,o,i)=>{var r=i(44263);t.exports=function _superPropBase(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=r(t)););return t}},74846:(t,o,i)=>{var r=i(35693),a=i(95915),l=i(24594),u=i(84360);t.exports=function _toConsumableArray(t){return r(t)||a(t)||l(t)||u()}},24596:(t,o,i)=>{var r=i(50093),a=i(41281);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},24594:(t,o,i)=>{var r=i(75453),a=i(72292);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}}},46802:(t,o,i)=>{i(30617),i(94494),t.exports=i(7252).Array.from},69862:(t,o,i)=>{i(8588),t.exports=i(7252).Array.isArray},71792:(t,o,i)=>{i(80414),i(30617),t.exports=i(86055)},63493:(t,o,i)=>{i(80414),i(30617),t.exports=i(96887)},52771:(t,o,i)=>{var r=i(7252),a=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function stringify(t){return a.stringify.apply(a,arguments)}},48032:(t,o,i)=>{i(90823),t.exports=i(7252).Object.assign},69043:(t,o,i)=>{i(34713);var r=i(7252).Object;t.exports=function create(t,o){return r.create(t,o)}},17841:(t,o,i)=>{i(56344);var r=i(7252).Object;t.exports=function defineProperties(t,o){return r.defineProperties(t,o)}},53679:(t,o,i)=>{i(42328);var r=i(7252).Object;t.exports=function defineProperty(t,o,i){return r.defineProperty(t,o,i)}},45948:(t,o,i)=>{i(38061),t.exports=i(7252).Object.entries},27092:(t,o,i)=>{i(48869);var r=i(7252).Object;t.exports=function getOwnPropertyDescriptor(t,o){return r.getOwnPropertyDescriptor(t,o)}},25966:(t,o,i)=>{i(32109),t.exports=i(7252).Object.getOwnPropertyDescriptors},9406:(t,o,i)=>{i(55638),t.exports=i(7252).Object.getOwnPropertySymbols},58473:(t,o,i)=>{i(60318),t.exports=i(7252).Object.getPrototypeOf},20671:(t,o,i)=>{i(83219),t.exports=i(7252).Object.keys},57629:(t,o,i)=>{i(929),t.exports=i(7252).Object.setPrototypeOf},81995:(t,o,i)=>{i(99762),t.exports=i(7252).Object.values},4969:(t,o,i)=>{i(25142),t.exports=i(7252).parseInt},19485:(t,o,i)=>{i(8970),i(30617),i(80414),i(38949),i(38533),i(29838),t.exports=i(7252).Promise},80990:(t,o,i)=>{i(37795),t.exports=i(7252).Reflect.construct},36760:(t,o,i)=>{i(37969),t.exports=i(7252).Reflect.get},69551:(t,o,i)=>{i(565),t.exports=i(451).f("hasInstance")},79280:(t,o,i)=>{i(55638),i(8970),i(30051),i(80),t.exports=i(7252).Symbol},2194:(t,o,i)=>{i(30617),i(80414),t.exports=i(451).f("iterator")},87698:(t,o,i)=>{i(8970),i(80414),i(19616),i(11973),i(23069),t.exports=i(7252).WeakMap},17370:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},5855:t=>{t.exports=function(){}},90944:t=>{t.exports=function(t,o,i,r){if(!(t instanceof o)||void 0!==r&&r in t)throw TypeError(i+": incorrect invocation!");return t}},93451:(t,o,i)=>{var r=i(19110);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},58381:(t,o,i)=>{var r=i(70394),a=i(93981),l=i(17568);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}}},57652:(t,o,i)=>{var r=i(69365),a=i(94409),l=i(55374),u=i(93981),c=i(79292);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),T=u(k.length),x=0,M=i?v(o,T):d?v(o,0):void 0;T>x;x++)if((g||x in k)&&(b=S(C=k[x],x,w),t))if(i)M[x]=b;else if(b)switch(t){case 3:return!0;case 5:return C;case 6:return x;case 2:M.push(C)}else if(p)return!1;return h?-1:m||p?p:M}}},47425:(t,o,i)=>{var r=i(19110),a=i(45311),l=i(7861)("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}},79292:(t,o,i)=>{var r=i(47425);t.exports=function(t,o){return new(r(t))(o)}},97569:(t,o,i)=>{"use strict";var r=i(17370),a=i(19110),l=i(35808),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}},38252:(t,o,i)=>{var r=i(1539),a=i(7861)("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}},1539:t=>{var o={}.toString;t.exports=function(t){return o.call(t).slice(8,-1)}},89449:(t,o,i)=>{"use strict";var r=i(13991),a=i(79378).getWeak,l=i(93451),u=i(19110),c=i(90944),d=i(2966),m=i(57652),p=i(3209),h=i(714),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}},83213:(t,o,i)=>{"use strict";var r=i(23227),a=i(52570),l=i(79378),u=i(71785),c=i(22441),d=i(13991),m=i(2966),p=i(90944),h=i(19110),g=i(52280),v=i(60109).f,y=i(57652)(0),C=i(3752);t.exports=function(t,o,i,b,w,k){var S=r[t],T=S,x=w?"set":"add",M=T&&T.prototype,I={};return C&&"function"==typeof T&&(k||M.forEach&&!u((function(){(new T).entries().next()})))?(T=o((function(o,i){p(o,T,t,"_c"),o._c=new S,null!=i&&m(i,w,o[x],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(T.prototype,t,(function(i,r){if(p(this,T,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(T.prototype,"size",{get:function(){return this._c.size}})):(T=b.getConstructor(o,t,w,x),d(T.prototype,i),l.NEED=!0),g(T,t),I[t]=T,a(a.G+a.W+a.F,I),k||b.setStrong(T,t,w),T}},7252:t=>{var o=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=o)},82270:(t,o,i)=>{"use strict";var r=i(60109),a=i(27923);t.exports=function(t,o,i){o in t?r.f(t,o,a(0,i)):t[o]=i}},69365:(t,o,i)=>{var r=i(17370);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)}}},36776:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3752:(t,o,i)=>{t.exports=!i(71785)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},42264:(t,o,i)=>{var r=i(19110),a=i(23227).document,l=r(a)&&r(a.createElement);t.exports=function(t){return l?a.createElement(t):{}}},23945:t=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},71023:(t,o,i)=>{var r=i(51014),a=i(14529),l=i(53866);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}},52570:(t,o,i)=>{var r=i(23227),a=i(7252),l=i(69365),u=i(22441),c=i(3209),$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},71785:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},2966:(t,o,i)=>{var r=i(69365),a=i(35224),l=i(90652),u=i(93451),c=i(93981),d=i(75937),m={},p={},h=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};h.BREAK=m,h.RETURN=p},23227:t=>{var o=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},3209:t=>{var o={}.hasOwnProperty;t.exports=function(t,i){return o.call(t,i)}},22441:(t,o,i)=>{var r=i(60109),a=i(27923);t.exports=i(3752)?function(t,o,i){return r.f(t,o,a(1,i))}:function(t,o,i){return t[o]=i,t}},7955:(t,o,i)=>{var r=i(23227).document;t.exports=r&&r.documentElement},50476:(t,o,i)=>{t.exports=!i(3752)&&!i(71785)((function(){return 7!=Object.defineProperty(i(42264)("div"),"a",{get:function(){return 7}}).a}))},35808:t=>{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)}},94409:(t,o,i)=>{var r=i(1539);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},90652:(t,o,i)=>{var r=i(28727),a=i(7861)("iterator"),l=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||l[a]===t)}},45311:(t,o,i)=>{var r=i(1539);t.exports=Array.isArray||function isArray(t){return"Array"==r(t)}},19110:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},35224:(t,o,i)=>{var r=i(93451);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}}},73154:(t,o,i)=>{"use strict";var r=i(53502),a=i(27923),l=i(52280),u={};i(22441)(u,i(7861)("iterator"),(function(){return this})),t.exports=function(t,o,i){t.prototype=r(u,{next:a(1,i)}),l(t,o+" Iterator")}},36982:(t,o,i)=>{"use strict";var r=i(35401),a=i(52570),l=i(36931),u=i(22441),c=i(28727),d=i(73154),m=i(52280),p=i(44276),h=i(7861)("iterator"),g=!([].keys&&"next"in[].keys()),v="keys",y="values",returnThis=function(){return this};t.exports=function(t,o,i,C,b,w,k){d(i,o,C);var S,T,x,getMethod=function(t){if(!g&&t in P)return P[t];switch(t){case v:return function keys(){return new i(this,t)};case y:return function values(){return new i(this,t)}}return function entries(){return new i(this,t)}},M=o+" Iterator",I=b==y,E=!1,P=t.prototype,D=P[h]||P["@@iterator"]||b&&P[b],R=D||getMethod(b),V=b?I?getMethod("entries"):R:void 0,A="Array"==o&&P.entries||D;if(A&&(x=p(A.call(new t)))!==Object.prototype&&x.next&&(m(x,M,!0),r||"function"==typeof x[h]||u(x,h,returnThis)),I&&D&&D.name!==y&&(E=!0,R=function values(){return D.call(this)}),r&&!k||!g&&!E&&P[h]||u(P,h,R),c[o]=R,c[M]=returnThis,b)if(S={values:I?R:getMethod(y),keys:w?R:getMethod(v),entries:V},k)for(T in S)T in P||l(P,T,S[T]);else a(a.P+a.F*(g||E),o,S);return S}},10694:(t,o,i)=>{var r=i(7861)("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}},53907:t=>{t.exports=function(t,o){return{value:o,done:!!t}}},28727:t=>{t.exports={}},35401:t=>{t.exports=!0},79378:(t,o,i)=>{var r=i(31953)("meta"),a=i(19110),l=i(3209),u=i(60109).f,c=0,d=Object.isExtensible||function(){return!0},m=!i(71785)((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}}},7470:(t,o,i)=>{var r=i(23227),a=i(11982).set,l=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,d="process"==i(1539)(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}}},15e3:(t,o,i)=>{"use strict";var r=i(17370);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)}},7234:(t,o,i)=>{"use strict";var r=i(3752),a=i(51014),l=i(14529),u=i(53866),c=i(55374),d=i(94409),m=Object.assign;t.exports=!m||i(71785)((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},53502:(t,o,i)=>{var r=i(93451),a=i(45548),l=i(23945),u=i(1283)("IE_PROTO"),Empty=function(){},createDict=function(){var t,o=i(42264)("iframe"),r=l.length;for(o.style.display="none",i(7955).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)}},60109:(t,o,i)=>{var r=i(93451),a=i(50476),l=i(45749),u=Object.defineProperty;o.f=i(3752)?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}},45548:(t,o,i)=>{var r=i(60109),a=i(93451),l=i(51014);t.exports=i(3752)?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}},13282:(t,o,i)=>{var r=i(53866),a=i(27923),l=i(70394),u=i(45749),c=i(3209),d=i(50476),m=Object.getOwnPropertyDescriptor;o.f=i(3752)?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])}},2160:(t,o,i)=>{var r=i(70394),a=i(13765).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))}},13765:(t,o,i)=>{var r=i(24167),a=i(23945).concat("length","prototype");o.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return r(t,a)}},14529:(t,o)=>{o.f=Object.getOwnPropertySymbols},44276:(t,o,i)=>{var r=i(3209),a=i(55374),l=i(1283)("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}},24167:(t,o,i)=>{var r=i(3209),a=i(70394),l=i(58381)(!1),u=i(1283)("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}},51014:(t,o,i)=>{var r=i(24167),a=i(23945);t.exports=Object.keys||function keys(t){return r(t,a)}},53866:(t,o)=>{o.f={}.propertyIsEnumerable},98683:(t,o,i)=>{var r=i(52570),a=i(7252),l=i(71785);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)}},76786:(t,o,i)=>{var r=i(3752),a=i(51014),l=i(70394),u=i(53866).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}}},13767:(t,o,i)=>{var r=i(13765),a=i(14529),l=i(93451),u=i(23227).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}},65111:(t,o,i)=>{var r=i(23227).parseInt,a=i(49379).trim,l=i(10107),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},54754:t=>{t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},17338:(t,o,i)=>{var r=i(93451),a=i(19110),l=i(15e3);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}},27923:t=>{t.exports=function(t,o){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:o}}},13991:(t,o,i)=>{var r=i(22441);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}},36931:(t,o,i)=>{t.exports=i(22441)},20502:(t,o,i)=>{"use strict";var r=i(52570),a=i(17370),l=i(69365),u=i(2966);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))}})}},71559:(t,o,i)=>{"use strict";var r=i(52570);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)}})}},64331:(t,o,i)=>{var r=i(19110),a=i(93451),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(69365)(Function.call,i(13282).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}},24472:(t,o,i)=>{"use strict";var r=i(23227),a=i(7252),l=i(60109),u=i(3752),c=i(7861)("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}})}},52280:(t,o,i)=>{var r=i(60109).f,a=i(3209),l=i(7861)("toStringTag");t.exports=function(t,o,i){t&&!a(t=i?t:t.prototype,l)&&r(t,l,{configurable:!0,value:o})}},1283:(t,o,i)=>{var r=i(61279)("keys"),a=i(31953);t.exports=function(t){return r[t]||(r[t]=a(t))}},61279:(t,o,i)=>{var r=i(7252),a=i(23227),l="__core-js_shared__",u=a[l]||(a[l]={});(t.exports=function(t,o){return u[t]||(u[t]=void 0!==o?o:{})})("versions",[]).push({version:r.version,mode:i(35401)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},6575:(t,o,i)=>{var r=i(93451),a=i(17370),l=i(7861)("species");t.exports=function(t,o){var i,u=r(t).constructor;return void 0===u||null==(i=r(u)[l])?o:a(i)}},94581:(t,o,i)=>{var r=i(7907),a=i(36776);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}}},49379:(t,o,i)=>{var r=i(52570),a=i(36776),l=i(71785),u=i(10107),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},10107:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},11982:(t,o,i)=>{var r,a,l,u=i(69365),c=i(35808),d=i(7955),m=i(42264),p=i(23227),h=p.process,g=p.setImmediate,v=p.clearImmediate,y=p.MessageChannel,C=p.Dispatch,b=0,w={},k="onreadystatechange",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(1539)(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=k 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}},17568:(t,o,i)=>{var r=i(7907),a=Math.max,l=Math.min;t.exports=function(t,o){return(t=r(t))<0?a(t+o,0):l(t,o)}},7907:t=>{var o=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:o)(t)}},70394:(t,o,i)=>{var r=i(94409),a=i(36776);t.exports=function(t){return r(a(t))}},93981:(t,o,i)=>{var r=i(7907),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},55374:(t,o,i)=>{var r=i(36776);t.exports=function(t){return Object(r(t))}},45749:(t,o,i)=>{var r=i(19110);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")}},31953:t=>{var o=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++o+i).toString(36))}},81344:(t,o,i)=>{var r=i(23227).navigator;t.exports=r&&r.userAgent||""},714:(t,o,i)=>{var r=i(19110);t.exports=function(t,o){if(!r(t)||t._t!==o)throw TypeError("Incompatible receiver, "+o+" required!");return t}},90058:(t,o,i)=>{var r=i(23227),a=i(7252),l=i(35401),u=i(451),c=i(60109).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)})}},451:(t,o,i)=>{o.f=i(7861)},7861:(t,o,i)=>{var r=i(61279)("wks"),a=i(31953),l=i(23227).Symbol,u="function"==typeof l;(t.exports=function(t){return r[t]||(r[t]=u&&l[t]||(u?l:a)("Symbol."+t))}).store=r},75937:(t,o,i)=>{var r=i(38252),a=i(7861)("iterator"),l=i(28727);t.exports=i(7252).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||l[r(t)]}},86055:(t,o,i)=>{var r=i(93451),a=i(75937);t.exports=i(7252).getIterator=function(t){var o=a(t);if("function"!=typeof o)throw TypeError(t+" is not iterable!");return r(o.call(t))}},96887:(t,o,i)=>{var r=i(38252),a=i(7861)("iterator"),l=i(28727);t.exports=i(7252).isIterable=function(t){var o=Object(t);return void 0!==o[a]||"@@iterator"in o||l.hasOwnProperty(r(o))}},94494:(t,o,i)=>{"use strict";var r=i(69365),a=i(52570),l=i(55374),u=i(35224),c=i(90652),d=i(93981),m=i(82270),p=i(75937);a(a.S+a.F*!i(10694)((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}})},8588:(t,o,i)=>{var r=i(52570);r(r.S,"Array",{isArray:i(45311)})},84587:(t,o,i)=>{"use strict";var r=i(5855),a=i(53907),l=i(28727),u=i(70394);t.exports=i(36982)(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")},565:(t,o,i)=>{"use strict";var r=i(19110),a=i(44276),l=i(7861)("hasInstance"),u=Function.prototype;l in u||i(60109).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}})},90823:(t,o,i)=>{var r=i(52570);r(r.S+r.F,"Object",{assign:i(7234)})},34713:(t,o,i)=>{var r=i(52570);r(r.S,"Object",{create:i(53502)})},56344:(t,o,i)=>{var r=i(52570);r(r.S+r.F*!i(3752),"Object",{defineProperties:i(45548)})},42328:(t,o,i)=>{var r=i(52570);r(r.S+r.F*!i(3752),"Object",{defineProperty:i(60109).f})},48869:(t,o,i)=>{var r=i(70394),a=i(13282).f;i(98683)("getOwnPropertyDescriptor",(function(){return function getOwnPropertyDescriptor(t,o){return a(r(t),o)}}))},60318:(t,o,i)=>{var r=i(55374),a=i(44276);i(98683)("getPrototypeOf",(function(){return function getPrototypeOf(t){return a(r(t))}}))},83219:(t,o,i)=>{var r=i(55374),a=i(51014);i(98683)("keys",(function(){return function keys(t){return a(r(t))}}))},929:(t,o,i)=>{var r=i(52570);r(r.S,"Object",{setPrototypeOf:i(64331).set})},8970:()=>{},25142:(t,o,i)=>{var r=i(52570),a=i(65111);r(r.G+r.F*(parseInt!=a),{parseInt:a})},38949:(t,o,i)=>{"use strict";var r,a,l,u,c=i(35401),d=i(23227),m=i(69365),p=i(38252),h=i(52570),g=i(19110),v=i(17370),y=i(90944),C=i(2966),b=i(6575),w=i(11982).set,k=i(7470)(),S=i(15e3),T=i(54754),x=i(81344),M=i(17338),I="Promise",E=d.TypeError,P=d.process,D=P&&P.versions,R=D&&D.v8||"",V=d.Promise,A="process"==p(P),empty=function(){},O=a=S.f,$=!!function(){try{var t=V.resolve(1),o=(t.constructor={})[i(7861)("species")]=function(t){t(empty,empty)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(empty)instanceof o&&0!==R.indexOf("6.6")&&-1===x.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(E("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=T((function(){A?P.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=A||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;A?P.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 E("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)}}};$||(V=function Promise(t){y(this,V,I,"_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(13991)(V.prototype,{then:function then(t,o){var i=O(b(this,V));return i.ok="function"!=typeof t||t,i.fail="function"==typeof o&&o,i.domain=A?P.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&¬ify(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=O=function(t){return t===V||t===u?new l(t):a(t)}),h(h.G+h.W+h.F*!$,{Promise:V}),i(52280)(V,I),i(24472)(I),u=i(7252).Promise,h(h.S+h.F*!$,I,{reject:function reject(t){var o=O(this);return(0,o.reject)(t),o.promise}}),h(h.S+h.F*(c||!$),I,{resolve:function resolve(t){return M(c&&this===u?V:this,t)}}),h(h.S+h.F*!($&&i(10694)((function(t){V.all(t).catch(empty)}))),I,{all:function all(t){var o=this,i=O(o),r=i.resolve,a=i.reject,l=T((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=O(o),r=i.reject,a=T((function(){C(t,!1,(function(t){o.resolve(t).then(i.resolve,r)}))}));return a.e&&r(a.v),i.promise}})},37795:(t,o,i)=>{var r=i(52570),a=i(53502),l=i(17370),u=i(93451),c=i(19110),d=i(71785),m=i(97569),p=(i(23227).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}})},37969:(t,o,i)=>{var r=i(13282),a=i(44276),l=i(3209),u=i(52570),c=i(19110),d=i(93451);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}})},30617:(t,o,i)=>{"use strict";var r=i(94581)(!0);i(36982)(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})}))},55638:(t,o,i)=>{"use strict";var r=i(23227),a=i(3209),l=i(3752),u=i(52570),c=i(36931),d=i(79378).KEY,m=i(71785),p=i(61279),h=i(52280),g=i(31953),v=i(7861),y=i(451),C=i(90058),b=i(71023),w=i(45311),k=i(93451),S=i(19110),T=i(55374),x=i(70394),M=i(45749),I=i(27923),E=i(53502),P=i(2160),D=i(13282),R=i(14529),V=i(60109),A=i(51014),O=D.f,$=V.f,B=P.f,L=r.Symbol,j=r.JSON,N=j&&j.stringify,G=v("_hidden"),z=v("toPrimitive"),U={}.propertyIsEnumerable,q=p("symbol-registry"),H=p("symbols"),W=p("op-symbols"),K=Object.prototype,Q="function"==typeof L&&!!R.f,J=r.QObject,Y=!J||!J.prototype||!J.prototype.findChild,X=l&&m((function(){return 7!=E($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,o,i){var r=O(K,o);r&&delete K[o],$(t,o,i),r&&t!==K&&$(K,o,r)}:$,wrap=function(t){var o=H[t]=E(L.prototype);return o._k=t,o},Z=Q&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},ee=function defineProperty(t,o,i){return t===K&&ee(W,o,i),k(t),o=M(o,!0),k(i),a(H,o)?(i.enumerable?(a(t,G)&&t[G][o]&&(t[G][o]=!1),i=E(i,{enumerable:I(0,!1)})):(a(t,G)||$(t,G,I(1,{})),t[G][o]=!0),X(t,o,i)):$(t,o,i)},te=function defineProperties(t,o){k(t);for(var i,r=b(o=x(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===K&&a(H,t)&&!a(W,t))&&(!(o||!a(this,t)||!a(H,t)||a(this,G)&&this[G][t])||o)},oe=function getOwnPropertyDescriptor(t,o){if(t=x(t),o=M(o,!0),t!==K||!a(H,o)||a(W,o)){var i=O(t,o);return!i||!a(H,o)||a(t,G)&&t[G][o]||(i.enumerable=!0),i}},ie=function getOwnPropertyNames(t){for(var o,i=B(x(t)),r=[],l=0;i.length>l;)a(H,o=i[l++])||o==G||o==d||r.push(o);return r},re=function getOwnPropertySymbols(t){for(var o,i=t===K,r=B(i?W:x(t)),l=[],u=0;r.length>u;)!a(H,o=r[u++])||i&&!a(K,o)||l.push(H[o]);return l};Q||(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===K&&$set.call(W,o),a(this,G)&&a(this[G],t)&&(this[G][t]=!1),X(this,t,I(1,o))};return l&&Y&&X(K,t,{configurable:!0,set:$set}),wrap(t)}).prototype,"toString",(function toString(){return this._k})),D.f=oe,V.f=ee,i(13765).f=P.f=ie,i(53866).f=ne,R.f=re,l&&!i(35401)&&c(K,"propertyIsEnumerable",ne,!0),y.f=function(t){return wrap(v(t))}),u(u.G+u.W+u.F*!Q,{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*!Q,"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(){Y=!0},useSimple:function(){Y=!1}}),u(u.S+u.F*!Q,"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(T(t))}}),j&&u(u.S+u.F*(!Q||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[z]||i(22441)(L.prototype,z,L.prototype.valueOf),h(L,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},19616:(t,o,i)=>{"use strict";var r,a=i(23227),l=i(57652)(0),u=i(36931),c=i(79378),d=i(7234),m=i(89449),p=i(19110),h=i(714),g=i(714),v=!a.ActiveXObject&&"ActiveXObject"in a,y="WeakMap",C=c.getWeak,b=Object.isExtensible,w=m.ufstore,wrapper=function(t){return function WeakMap(){return t(this,arguments.length>0?arguments[0]:void 0)}},k={get:function get(t){if(p(t)){var o=C(t);return!0===o?w(h(this,y)).get(t):o?o[this._i]:void 0}},set:function set(t,o){return m.def(h(this,y),t,o)}},S=t.exports=i(83213)(y,wrapper,k,m,!0,!0);g&&v&&(d((r=m.getConstructor(wrapper,y)).prototype,k),c.NEED=!0,l(["delete","has","get","set"],(function(t){var o=S.prototype,i=o[t];u(o,t,(function(o,a){if(p(o)&&!b(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)}))})))},38061:(t,o,i)=>{var r=i(52570),a=i(76786)(!0);r(r.S,"Object",{entries:function entries(t){return a(t)}})},32109:(t,o,i)=>{var r=i(52570),a=i(13767),l=i(70394),u=i(13282),c=i(82270);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}})},99762:(t,o,i)=>{var r=i(52570),a=i(76786)(!1);r(r.S,"Object",{values:function values(t){return a(t)}})},38533:(t,o,i)=>{"use strict";var r=i(52570),a=i(7252),l=i(23227),u=i(6575),c=i(17338);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)}})},29838:(t,o,i)=>{"use strict";var r=i(52570),a=i(15e3),l=i(54754);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}})},30051:(t,o,i)=>{i(90058)("asyncIterator")},80:(t,o,i)=>{i(90058)("observable")},23069:(t,o,i)=>{i(20502)("WeakMap")},11973:(t,o,i)=>{i(71559)("WeakMap")},80414:(t,o,i)=>{i(84587);for(var r=i(23227),a=i(22441),l=i(28727),u=i(7861)("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}},57135:(t,o,i)=>{t.exports=i(86248)},53600:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var l=a(i(57135));i(86248);var u=a(i(49117)),c=a(i(11959)),d=a(i(39041)),m=a(i(77371)),p=a(i(68537)),h=function(t){(0,m.default)(Close,t);var o,i=(0,p.default)(Close);function Close(){return(0,c.default)(this,Close),i.apply(this,arguments)}return(0,d.default)(Close,[{key:"validateArgs",value:function validateArgs(t){this.requireArgument("id",t)}},{key:"apply",value:(o=(0,u.default)(l.default.mark((function _callee(t){var o,i,r,a,u;return l.default.wrap((function _callee$(l){for(;;)switch(l.prev=l.next){case 0:if(o=t.id,i=t.mode,r=t.onClose,"closed"!==(a=elementor.documents.get(o)).editor.status){l.next=3;break}return l.abrupt("return",jQuery.Deferred().resolve());case 3:if(i||!a.editor.isChanged&&!a.isDraft()){l.next=7;break}return u=jQuery.Deferred(),this.getConfirmDialog(u).show(),l.abrupt("return",u.promise());case 7:l.t0=i,l.next="autosave"===l.t0?10:"save"===l.t0?13:"discard"===l.t0?16:19;break;case 10:return l.next=12,$e.run("document/save/auto");case 12:return l.abrupt("break",19);case 13:return l.next=15,$e.run("document/save/update");case 15:return l.abrupt("break",19);case 16:return l.next=18,$e.run("document/save/discard",{document:a});case 18:return l.abrupt("break",19);case 19:if($e.internal("editor/documents/unload",{document:a}),!r){l.next=23;break}return l.next=23,r(a);case 23:return l.abrupt("return",jQuery.Deferred().resolve());case 24:case"end":return l.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:r("Save Changes","elementor"),message:r("Would you like to save the changes you've made?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:r("Save","elementor"),cancel:r("Discard","elementor")},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}(a(i(68689)).default);o.Close=h;var g=h;o.default=g},64714:(t,o,i)=>{"use strict";var r=i(67394);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(53600),l=i(62148),u=i(67802),c=i(55636)},56358:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.AttachPreview=void 0,i(71954);var a=r(i(73220)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),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(){return 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(23714)).default);o.AttachPreview=m;var p=m;o.default=p},11753:(t,o,i)=>{"use strict";var r=i(67394);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(56358),l=i(22384),u=i(17740)},22384:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Load=void 0;var a=r(i(73220)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),m=r(i(23714)),p=r(i(66429)),h=r(i(38984)),g=function(t){(0,c.default)(Load,t);var o=(0,d.default)(Load);function Load(){return(0,l.default)(this,Load),o.apply(this,arguments)}return(0,u.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 p.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 h.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")})):a.default.resolve(i)}}]),Load}(m.default);o.Load=g;var v=g;o.default=v},17740:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Unload=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(23714)),m=r(i(66429)),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},62148:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0,i(71954);var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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){return 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(68689)).default);o.Open=d;var m=d;o.default=m},67802:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Preview=void 0;var a=r(i(57135));i(86248);var l=r(i(49117)),u=r(i(11959)),c=r(i(39041)),d=r(i(77371)),m=r(i(68537)),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(68689)).default);o.Preview=p;var h=p;o.default=h},55636:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Switch=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Switch=d;var m=d;o.default=m},48246:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(52369),l=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var u=l(i(14176)),c=l(i(11959)),d=l(i(39041)),m=l(i(76700)),p=l(i(44263)),h=l(i(77371)),g=l(i(68537)),v=l(i(15591)),y=l(i(66429)),C=a(i(64714)),b=a(i(11753)),w=function(t){(0,h.default)(Component,t);var o=(0,g.default)(Component);function Component(){return(0,c.default)(this,Component),o.apply(this,arguments)}return(0,d.default)(Component,[{key:"__construct",value:function __construct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,m.default)((0,p.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(C)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(b)}},{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 y.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,u.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,u.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+=" "+r("Cannot load editor","elementor"))):t[0]&&t[0].code&&(o=r("Server Error","elementor")+" "+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}(v.default);o.default=w},85422:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971),l=a(i(18042)),u=a(i(83452));i(99745),i(71954);var c=i(12406);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||elementor.helpers.hasPro()&&!this.getOption("tags").length)){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,u.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 c({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=r("Create more personalized and dynamic sites by populating data from various sources with dozens of dynamic tags to choose from.","elementor");elementor.promotion.showDialog({headerMessage:r("Dynamic Content","elementor"),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,l.default)({},this.view.model.get("name"),this.tagViewToTagText())}):$e.run("document/dynamic/enable",{container:this.view.options.container,settings:(0,l.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,l.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()}})},41972:(t,o,i)=>{"use strict";var r=i(67971);i(64828),i(99745),i(84208);var a=r(i(83452)),l=r(i(32009));t.exports=elementorModules.Module.extend({CACHE_KEY_NOT_FOUND_ERROR:"Cache key not found",tags:{Base:i(52927)},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)}})},8061:t=>{"use strict";t.exports=Marionette.ItemView.extend({className:"elementor-tag-controls-stack-empty",template:"#tmpl-elementor-tag-controls-stack-empty"})},52099:(t,o,i)=>{"use strict";var r=i(8061);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()}})},12406:(t,o,i)=>{"use strict";var r=i(67971);i(99745);var a=r(i(35657)),l=i(52099);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()}})},52927:t=>{"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")}})},43940:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(18427)),m=r(i(26886)),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+?, shift+?",exclude:["input"]}}}},{key:"getModalLayout",value:function getModalLayout(){return m.default}}]),Component}(d.default);o.default=p},10136:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(43940)),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},27734:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(73308)),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},26886:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(76700)),d=a(i(44263)),m=a(i(77371)),p=a(i(68537)),h=a(i(27734)),g=function(t){(0,m.default)(_default,t);var o=(0,p.default)(_default);function _default(){return(0,l.default)(this,_default),o.apply(this,arguments)}return(0,u.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-hotkeys__modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:r("Keyboard Shortcuts","elementor")}}},{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,c.default)((0,d.default)(_default.prototype),"initialize",this)).call.apply(t,[this].concat(i)),this.showLogo(),this.showContentView()}},{key:"showContentView",value:function showContentView(){this.modalContent.show(new h.default)}}]),_default}(elementorModules.common.views.modal.Layout);o.default=g},4982:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(83452));i(84208),i(99236);var l=r(i(38923)),u=r(i(24596));i(99745);var c=r(i(11959)),d=r(i(39041)),m=r(i(18042)),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},26801:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(99745);var a=r(i(11959)),l=r(i(39041)),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},60443:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(38852)),d=a(i(77371)),m=a(i(68537)),p=a(i(18042)),h=a(i(23615)),g=r(i(63804)),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}},8731:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971),l=i(52369);i(67394)(o,"__esModule",{value:!0}),o.renderIconManager=o.default=void 0;var u=l(i(63804)),c=a(i(37959)),d=a(i(84899));i(99745);var m=a(i(11959)),p=a(i(39041)),h=a(i(38852)),g=a(i(77371)),v=a(i(68537)),y=a(i(18042)),C=a(i(23615)),b=i(27196),w=a(i(71656)),k=a(i(51829)),S=function(t){(0,g.default)(IconsManager,t);var o=(0,v.default)(IconsManager);function IconsManager(){var t;(0,m.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,y.default)((0,h.default)(t),"scrollViewRef",(0,u.createRef)()),(0,y.default)((0,h.default)(t),"state",{activeTab:t.props.activeTab,selected:{library:"",value:""},iconTabs:elementor.config.icons.libraries,loaded:t.props.loaded,filter:""}),(0,y.default)((0,h.default)(t),"cache",{}),(0,y.default)((0,h.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,d.default)({},i),(function(r){t.cache[r.name]=r,o[i.name]=!0}))})),o.all=!0,o.recommended=!0,t.setState({loaded:o})})),(0,y.default)((0,h.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,d.default)({},r.filter((function(t){return t.name===o}))[0]);return i[o]?(0,d.default)({},a):"all"!==a.name||i.all?(elementor.iconManager.library.initIconType((0,d.default)({},a),(function(o){t.cache[o.name]=o,t.updateLoaded(o.name)})),!1):t.loadAllTabs()})),(0,y.default)((0,h.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"),u.default.createElement("div",{className:a,key:i.name,onClick:function onClick(){r||t.setState({activeTab:i.name})}},u.default.createElement("i",{className:i.labelIcon}),i.label)}))})),(0,y.default)((0,h.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,d.default)({},i[0]),(function(o){t.cache[o.name]=o,t.updateLoaded(o.name)}))}return elementor.iconManager.store.getIcons(o)})),(0,y.default)((0,h.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,y.default)((0,h.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,y.default)((0,h.default)(t),"setSelected",(function(o){elementor.iconManager.setSettings("selectedIcon",o),t.setState({selected:o})})),(0,y.default)((0,h.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,y.default)((0,h.default)(t),"render",(function(){var o=t.getActiveTab(),i=o.name?o.name:o,r=t.props.showSearch,a=void 0===r||r,l=t.state.filter,d=t.getSelected();if("GoPro"!==o){if(!i||!t.state.loaded[i])return"Loading";o&&(o.icons=t.getActiveTabIcons(o))}return u.default.createElement(u.Fragment,null,u.default.createElement("div",{id:"elementor-icons-manager__sidebar",className:"elementor-templates-modal__sidebar"},u.default.createElement("div",{id:"elementor-icons-manager__tab-links"},t.getIconTabsLinks(),t.getUploadCustomButton(),t.getIconTabsLinks(!1))),u.default.createElement("div",{id:"elementor-icons-manager__main",className:"elementor-templates-modal__content"},"GoPro"===i?u.default.createElement(k.default,null):u.default.createElement(u.Fragment,null,a?t.getSearchHTML():"",u.default.createElement("div",{id:"elementor-icons-manager__tab__wrapper",ref:t.scrollViewRef},u.default.createElement("div",{id:"elementor-icons-manager__tab__title"},o.label),u.default.createElement("div",{id:"elementor-icons-manager__tab__content_wrapper"},u.default.createElement("input",{type:"hidden",name:"icon_value",id:"icon_value",value:d.value}),u.default.createElement("input",{type:"hidden",name:"icon_type",id:"icon_type",value:d.library}),t.state.loaded[o.name]?u.default.createElement(w.default,(0,c.default)({setSelected:t.setSelected,selected:d,filter:l,key:o.name,parentRef:t.scrollViewRef},o)):"Loading")))))})),t}return(0,p.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")}),u.default.createElement("div",{id:"elementor-icons-manager__upload"},u.default.createElement("div",{id:"elementor-icons-manager__upload__title"},r("My Libraries","elementor")),u.default.createElement("button",{id:"elementor-icons-manager__upload__button",className:"elementor-button elementor-button-default",onClick:o},r("Upload","elementor")))}},{key:"getSearchHTML",value:function getSearchHTML(){return u.default.createElement("div",{id:"elementor-icons-manager__search"},u.default.createElement("input",{placeholder:"Filter by name...",onInput:this.handleSearch}),u.default.createElement("i",{className:"eicon-search"}))}}]),IconsManager}(u.Component),T=S;o.default=T;o.renderIconManager=function renderIconManager(t){var o=document.querySelector("#elementor-icons-manager-modal .dialog-content");return(0,b.render)(u.default.createElement(S,(0,c.default)({},t,{containerElement:o})),o)},S.propTypes={activeTab:C.default.any,customIconsURL:C.default.string,icons:C.default.any,loaded:C.default.any,modalView:C.default.any,recommended:C.default.oneOfType([C.default.bool,C.default.object]),selected:C.default.any,showSearch:C.default.bool}},48478:(t,o,i)=>{"use strict";var r=i(67971),a=i(52369);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(63804));i(99745);var u=r(i(11959)),c=r(i(38852)),d=r(i(77371)),m=r(i(68537)),p=r(i(18042)),h=r(i(23615)),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}},51829:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971),l=i(52369);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var u=l(i(63804)),c=a(i(11959)),d=a(i(38852)),m=a(i(77371)),p=a(i(68537)),h=a(i(18042)),g=function(t){(0,m.default)(IconsGoPro,t);var o=(0,p.default)(IconsGoPro);function IconsGoPro(){var t;(0,c.default)(this,IconsGoPro);for(var i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return t=o.call.apply(o,[this].concat(a)),(0,h.default)((0,d.default)(t),"render",(function(){return u.default.createElement("div",{id:"elementor-icons-manager__promotion"},u.default.createElement("i",{id:"elementor-icons-manager__promotion__icon",className:"eicon-nerd"}),u.default.createElement("div",{id:"elementor-icons-manager__promotion__text"},r("Become a Pro user to upload unlimited font icon folders to your website.","elementor")),u.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"},r("Go Pro","elementor")))})),t}return IconsGoPro}(u.Component);o.default=g},71656:(t,o,i)=>{"use strict";var r=i(67971),a=i(52369);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(63804));i(38081),i(3777);var u=r(i(47834));i(93085),i(12897),i(76139);var c=r(i(74758)),d=r(i(35657));i(99745);var m=r(i(74846)),p=r(i(38923)),h=r(i(11959)),g=r(i(39041)),v=r(i(38852)),y=r(i(77371)),C=r(i(68537)),b=r(i(18042)),w=r(i(23615)),k=r(i(60443)),S=r(i(48478)),T=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);T.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 x=T;o.default=x},56903:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(84208);var l=a(i(83452));i(99745);var u=a(i(11959)),c=a(i(39041)),d=a(i(77371)),m=a(i(68537)),p=a(i(41864)),h=i(8731),g=a(i(4982)),v=a(i(26801)),y=i(27196),C=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:"onInit",value:function onInit(){this.library=new g.default,this.store=new v.default,elementor.helpers.fetchFa4ToFa5Mapping(),this.cache={}}},{key:"getLayout",value:function getLayout(){var t=this;if(!this.layout){this.layout=new p.default;var o=this.layout.getModal();o.addButton({name:"insert_icon",text:r("Insert","elementor"),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,y.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(),a=elementor.config.icons.libraries;if(r.library&&r.value||(r={value:"",library:""}),i.selected=r,this.setSettings("selectedIcon",r),i.recommended){var u=!1;a.forEach((function(t,o){"recommended"===t.name&&(u=!0,a[o].icons=i.recommended)})),u||a.unshift({name:"recommended",label:"Recommended",icons:i.recommended,labelIcon:"eicon-star-o",native:!0})}else a=a.filter((function(t){return"recommended"!==t.name}));a.forEach((function(t,i){-1===["all","recommended"].indexOf(t.name)&&elementor.iconManager.library.initIconType(t,(function(t){a[i]=t})),o[t.name]=!0})),i.loaded=o,i.icons=a;var c=r.library||a[0].name;if("svg"===r.library&&(c=a[0].name),(0,l.default)(a).some((function(t){return t===c}))||(c=a[0].name),i.recommended&&""!==r.library&&""!==r.value&&i.recommended.hasOwnProperty(r.library)){var d=a.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=a[0].name)}return i.customIconsURL=elementor.config.customIconsURL,i.activeTab=c,(0,h.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=C},41864:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(76700)),d=a(i(44263)),m=a(i(77371)),p=a(i(68537)),h=function(t){(0,m.default)(_default,t);var o=(0,p.default)(_default);function _default(){return(0,l.default)(this,_default),o.apply(this,arguments)}return(0,u.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-icons-manager-modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:r("Icon Library","elementor")}}},{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,c.default)((0,d.default)(_default.prototype),"initialize",this)).call.apply(t,[this].concat(i)),this.showLogo()}}]),_default}(a(i(56525)).default);o.default=h},66915:(t,o,i)=>{"use strict";var r=i(99292);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()}})},12767:t=>{"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()}}})},36551:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(66915)).default);o.default=d},34991:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=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/page-settings"}},{key:"defaultTabs",value:function defaultTabs(){return{settings:{title:r("Settings","elementor")},style:{title:r("Style","elementor")},advanced:{title:r("Advanced","elementor")}}}},{key:"renderTab",value:function renderTab(t){elementor.getPanelView().setPage("page_settings").activateTab(t)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}}]),Component}(a(i(15591)).default);o.default=m},40427:(t,o,i)=>{"use strict";var r=i(67971)(i(34991)),a=i(66915);t.exports=a.extend({getStyleId:function getStyleId(){return this.getSettings("name")+"-"+elementor.documents.getCurrent().id},onInit:function onInit(){a.prototype.onInit.apply(this),$e.components.register(new r.default({manager:this}))},save:function save(){},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"}})},50235:(t,o,i)=>{"use strict";var r=i(67971)(i(36551));t.exports=elementorModules.Module.extend({modules:{base:i(66915),page:i(40427),editorPreferences:r.default},panelPages:{base:i(12767)},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)}))}})},56284:t=>{"use strict";var o;o=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=o},24599:(t,o,i)=>{"use strict";var r,a=i(384);r=Backbone.Collection.extend({model:a}),t.exports=r},57466:(t,o,i)=>{"use strict";var r=i(67394);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(36702),l=i(83022)},36702:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.InsertTemplate=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.InsertTemplate=d;var m=d;o.default=m},83022:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Open=d;var m=d;o.default=m},61830:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(52369),l=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var u=l(i(84899)),c=l(i(11959)),d=l(i(39041)),m=l(i(76700)),p=l(i(44263)),h=l(i(77371)),g=l(i(68537)),v=l(i(18427)),y=a(i(57466)),C=i(7329),b=function(t){(0,h.default)(Component,t);var o=(0,g.default)(Component);function Component(){return(0,c.default)(this,Component),o.apply(this,arguments)}return(0,d.default)(Component,[{key:"__construct",value:function __construct(t){(0,m.default)((0,p.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:r("Blocks","elementor"),getFilter:function getFilter(){return{source:"remote",type:"block",subtype:elementor.config.document.remoteLibrary.category}}},"templates/pages":{title:r("Pages","elementor"),filter:{source:"remote",type:"page"}},"templates/my-templates":{title:r("My Templates","elementor"),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:r("Connect to Template Library","elementor"),message:r("Access this template and our entire library by creating a free personal account","elementor"),button:r("Get Started","elementor")},t.manager.layout.showConnectView(o)}}}},{key:"defaultCommands",value:function defaultCommands(){var t=(0,m.default)((0,p.default)(Component.prototype),"defaultCommands",this).call(this);return(0,u.default)((0,u.default)({},t),this.importCommands(y))}},{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,m.default)((0,p.default)(Component.prototype),"activateTab",this).call(this,t)}},{key:"open",value:function open(){return(0,m.default)((0,p.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,m.default)((0,p.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:r("Import Document Settings","elementor"),message:r("Do you want to also import the document settings of the template?","elementor")+"<br>"+r("Attention: Importing may override previous settings.","elementor"),strings:{confirm:r("Yes","elementor"),cancel:r("No","elementor")}})},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 C}},{key:"maybeOpenLibrary",value:function maybeOpenLibrary(){"#library"===location.hash&&($e.run("library/open"),location.hash="")}}]),Component}(v.default);o.default=b},79005:(t,o,i)=>{"use strict";var r,a=i(18194).__,l=i(18194).sprintf,u=i(67971),c=u(i(24596)),d=u(i(32009)),m=u(i(18042)),p=u(i(61830)),h=i(24599);r=function TemplateLibraryManager(){this.modalConfig={};var t,o,i,r=this,u={},g={},v={};this.init=function(){!function registerDefaultTemplateTypes(){var t={saveDialog:{description:a("Your designs will be available for export and reuse on any page or website","elementor")},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)}}},o=(0,m.default)({page:a("Page","elementor"),section:a("Section","elementor")},elementor.config.document.type,elementor.config.document.panel.title);jQuery.each(o,(function(o,i){var u=jQuery.extend(!0,{},t,{saveDialog:{title:l(a("Save Your %s to Library","elementor"),i)}});r.registerTemplateType(o,u)}))}(),function registerDefaultFilterTerms(){v={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 p.default({manager:this})),elementor.addBackgroundClickListener("libraryToggleMore",{element:".elementor-template-library-template-more"})},this.getTemplateTypes=function(t){return t?u[t]:u},this.registerTemplateType=function(t,o){u[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=u[t];_.extend(o,{source:"local",type:t}),i.prepareSavedData&&(o=i.prepareSavedData(o)),o.content=(0,d.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:a("Delete Template","elementor"),message:a("Are you sure you want to delete this template?","elementor"),strings:{confirm:a("Delete","elementor")}})),t},this.getErrorDialog=function(){return o||(o=elementorCommon.dialogsManager.createWidget("alert",{id:"elementor-template-library-error-dialog",headerMessage:a("An error occurred","elementor")})),o},this.getTemplatesCollection=function(){return i},this.getConfig=function(t){return t?g[t]?g[t]:{}:g},this.requestLibraryData=function(t){if(!i||t.forceUpdate){t.onBeforeUpdate&&t.onBeforeUpdate();var o={data:{},success:function success(o){i=new h(o.templates),o.config&&(g=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?v[t]:v},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 h(t))}))},this.filterTemplates=function(){var t=r.getFilter("source");return i.filter((function(o){if(t!==o.get("source"))return!1;var i=u[o.get("type")];return!i||!1!==i.showInLibrary}))},this.showErrorDialog=function(t){if("object"===(0,c.default)(t)){var o="";_.each(t,(function(t){o+="<div>"+t.message+".</div>"})),t=o}else t?t+=".":t="<i><The error message is empty></i>";r.getErrorDialog().setMessage(a("The following error(s) occurred while processing the request:","elementor")+'<div id="elementor-template-library-error-info">'+t+"</div>").show()}},t.exports=new r},384:t=>{"use strict";t.exports=Backbone.Model.extend({defaults:{template_id:0,title:"",source:"",type:"",subtype:"",author:"",thumbnail:"",url:"",export_link:"",tags:[]}})},7329:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(40055),l=i(82830),u=i(17555),c=i(220),d=i(15307),m=i(89482),p=i(46831),h=i(35333),g=i(58489);t.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){return{id:"elementor-template-library-modal"}},getLogoOptions:function getLogoOptions(){return{title:r("Library","elementor"),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 a),t.menuArea.show(new l),this.showLogo()},showTemplatesView:function showTemplatesView(t){this.modalContent.show(new d({collection:t}))},showImportView:function showImportView(){var t=this.getHeaderView();t.menuArea.reset(),this.modalContent.show(new p),t.logoArea.show(new c)},showConnectView:function showConnectView(t){this.getHeaderView().menuArea.reset(),this.modalContent.show(new h(t))},showSaveTemplateView:function showSaveTemplateView(t){this.getHeaderView().menuArea.reset(),this.modalContent.show(new m({model:t}))},showPreviewView:function showPreviewView(t){this.modalContent.show(new g({url:t.get("url")}));var o=this.getHeaderView();o.menuArea.reset(),o.tools.show(new u({model:t})),o.logoArea.show(new c)}})},35333:(t,o,i)=>{"use strict";var r=i(18194).__;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:r("Connected successfully","elementor")}))},error:function error(){elementor.config.library_connect.is_connected=!1}})}})},40055:t=>{"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")}})},220:t=>{"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")}})},82830:t=>{"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()}}})},17555:(t,o,i)=>{"use strict";var r=i(56284);t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-preview",id:"elementor-template-library-header-preview",behaviors:{insertTemplate:{behaviorClass:r}}})},46831:(t,o,i)=>{"use strict";var r;i(84208),i(99745),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},58489:t=>{"use strict";var o;o=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=o},89482:t=>{"use strict";var o;o=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=o},75403:(t,o,i)=>{"use strict";var r,a=i(18194).__;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:a("Haven’t Saved Templates Yet?","elementor"),message:a("This is where your templates should be. Design it. Save it. Reuse it.","elementor")},noResults:{title:a("No Results Found","elementor"),message:a("Please make sure your search is spelled correctly or try a different words.","elementor")},noFavorites:{title:a("No Favorite Templates","elementor"),message:a("You can mark any pre-designed template as a favorite.","elementor")}},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},15307:(t,o,i)=>{"use strict";var r,a=i(18194).__,l=i(67971)(i(91795)),u=i(70078),c=i(79032);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(75403))},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")?c:u},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(){if(!this.select2Instance){var t=this.$(this.ui.selectFilter),o={placeholder:a("Category","elementor"),allowClear:!0,width:150,dropdownParent:this.$el};this.select2Instance=new l.default({$element:t,options:o})}},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")))},isPageOrLandingPageTemplates:function isPageOrLandingPageTemplates(){var t=elementor.templates.getFilter("type");return"page"===t||"lp"===t},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")||this.isPageOrLandingPageTemplates()||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},93746:(t,o,i)=>{"use strict";var r,a=i(56284);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},70078:(t,o,i)=>{"use strict";var r,a=i(93746);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},79032:(t,o,i)=>{"use strict";var r,a=i(93746);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},96731:t=>{"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}})},12161:(t,o,i)=>{"use strict";var r=i(96731);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}})},53005:(t,o,i)=>{"use strict";var r=i(67971);i(71954);var a,l=r(i(18042)),u=i(15584),c=i(85422),d=i(96731);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},87474:(t,o,i)=>{"use strict";var r,a=i(67971)(i(24596));r=i(53005).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},26804:(t,o,i)=>{"use strict";var r;r=i(87474).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},15584:(t,o,i)=>{"use strict";var r,a=i(67971),l=a(i(67394)),u=a(i(83452));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},23594:(t,o,i)=>{"use strict";var r=i(67971);i(71954);var a,l=r(i(65863)),u=i(87474);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},73309:(t,o,i)=>{"use strict";var r=i(15584);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)}})},11292:(t,o,i)=>{"use strict";var r,a=i(53005);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},16543:(t,o,i)=>{"use strict";i(64828);var r,a=i(53005);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},12031:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(44321);var l=a(i(57135));i(86248);var u=a(i(49117)),c=a(i(35657));i(93085),i(12897),i(76139);var d=a(i(74846)),m=a(i(11959)),p=a(i(39041)),h=a(i(76700)),g=a(i(44263)),v=a(i(77371)),y=a(i(68537)),C=a(i(53005)),b=a(i(65863)),w=function(t){(0,v.default)(_default,t);var o,i=(0,y.default)(_default);function _default(){return(0,m.default)(this,_default),i.apply(this,arguments)}return(0,p.default)(_default,[{key:"ui",value:function ui(){var ui=(0,h.default)((0,g.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,d.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 b.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(r("Invalid Global Color","elementor"))),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> '+r("Please note that the same exact color already exists in your Global Colors list. Are you sure you want to create it?","elementor")}},{key:"getConfirmTextMessage",value:function getConfirmTextMessage(){return r("Are you sure you want to create a new Global Color?","elementor")}},{key:"getAddGlobalConfirmMessage",value:function getAddGlobalConfirmMessage(t){for(var o,i=r("New Global Color","elementor"),a=this.getCurrentValue(),l=jQuery("<div>",{class:"e-global__confirm-message"}),u=jQuery("<div>",{class:"e-global__confirm-message-text"}),d=jQuery("<div>",{class:"e-global__confirm-input-wrapper"}),m=this.createColorPreviewBox(a),p=jQuery("<input>",{type:"text",name:"global-name",placeholder:i}).val(i),h=0,g=(0,c.default)(t);h<g.length;h++){var v=g[h];if(a===v.value){o=this.getNameAlreadyExistsMessage();break}if(i===v.title){o=this.getConfirmTextMessage();break}o=r("Are you sure you want to create a new Global Color?","elementor")}return u.html(o),d.append(m,p),l.append(u,d),l}},{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,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,c.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}(C.default);o.default=w},91238:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(53005));o.default=d},53261:(t,o,i)=>{"use strict";i(5251);var r,a=i(26804);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},35634:(t,o,i)=>{"use strict";i(44321),i(76139),i(71954);var r=i(76772);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}})},13607:(t,o,i)=>{"use strict";var r,a=i(18194).sprintf,l=i(18194).__,u=i(53005);r=u.extend({ui:function ui(){var ui=u.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(u.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(o?a("%s Images Selected",t):l("No Images Selected","elementor")),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:l("Insert Media","elementor")}};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:l("Are you sure you want to reset this gallery?","elementor"),headerMessage:l("Reset Gallery","elementor"),strings:{confirm:l("Delete","elementor"),cancel:l("Cancel","elementor")},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},14553:(t,o,i)=>{"use strict";var r=i(67971)(i(53005));t.exports=r.default.extend({},{onPasteStyle:function onPasteStyle(){return!1}})},30750:(t,o,i)=>{"use strict";var r,a=i(76772);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},20911:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971),l=a(i(11959)),u=a(i(39041)),c=a(i(76700)),d=a(i(44263)),m=a(i(77371)),p=a(i(68537)),h=a(i(40548)),g=i(87474),v=function(t){(0,m.default)(ControlIconsView,t);var o=(0,p.default)(ControlIconsView);function ControlIconsView(){var t;(0,l.default)(this,ControlIconsView);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))).cache={loaded:!1,dialog:!1,enableClicked:!1,fa4Mapping:!1,migratedFlag:{}},t.dataKeys={migratedKey:"__fa4_migrated",fa4MigrationFlag:"fa4compatibility"},t}return(0,u.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,c.default)((0,d.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(g.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,c.default)((0,d.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",r("Elementor's New Icon Library","elementor"),r('Elementor v2.6 includes an upgrade from Font Awesome 4 to 5. In order to continue using icons, be sure to click "Upgrade".',"elementor")+' <a href="https://go.elementor.com/fontawesome-migration/" target="_blank">'+r("Learn More","elementor")+"</a>",r("Update","elementor"),(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,c.default)((0,d.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:r("Insert Media","elementor")},library:{type:["image/svg+xml"]},states:[new wp.media.controller.Library({title:r("Insert Media","elementor"),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(!h.default.isUploadEnabled("svg"))return h.default.getUnfilteredFilesNotEnabledDialog((function(){return t.openFrame()})).show(),!1;this.frame||this.initFrame(),this.frame.open(),h.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}(g);t.exports=v},53736:(t,o,i)=>{"use strict";var r;r=i(87474).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},79196:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(99236);var l,u=a(i(40548)),c=i(87474);l=c.extend({ui:function ui(){var ui=c.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(c.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(t){var o,i,r=this,a=(null==t||null===(o=t.target)||void 0===o||null===(i=o.dataset)||void 0===i?void 0:i.mediaType)||this.getMediaType();if(!u.default.isUploadEnabled(a))return u.default.getUnfilteredFilesNotEnabledDialog((function(){return r.openFrame(t)})).show(),!1;this.frame||this.initFrame(),this.frame.open(),u.default.setUploadTypeCaller(this.frame);var l=this.getControlValue("id");l&&this.frame.state().get("selection").add(wp.media.attachment(l))},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:r("Insert Media","elementor")},states:[new wp.media.controller.Library({title:r("Insert Media","elementor"),library:wp.media.query({type:this.getMediaType()}),multiple:!1,date:!1})]}),this.frame.on("insert select",this.select.bind(this)),elementor.config.filesUpload.unfilteredFiles&&this.setUploadMimeType(this.frame,this.getMediaType())},setUploadMimeType:function setUploadMimeType(t,o){var i=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;t.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions="application/json"===o?"json":i+",svg"})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=i}))},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=l},19598:(t,o,i)=>{"use strict";var r,a=i(53005),l=i(12161);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},98890:(t,o,i)=>{"use strict";var r,a=i(18194).__,l=i(87474);r=l.extend({ui:function ui(){var ui=l.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",a(t?"Ascending order":"Descending order","elementor"))},onRender:function onRender(){l.prototype.onRender.apply(this,arguments),this.changeLabelTitle()},onInputChange:function onInputChange(){this.changeLabelTitle()}}),t.exports=r},7699:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(35657)),u=a(i(57135));i(86248);var c=a(i(49117));i(38081),i(3777),i(84208),i(65942);var d=a(i(47834)),m=a(i(38923)),p=a(i(11959)),h=a(i(39041)),g=a(i(77371)),v=a(i(68537)),y=i(11292),C=function(t){(0,g.default)(ControlPopoverStarterView,t);var o,i=(0,v.default)(ControlPopoverStarterView);function ControlPopoverStarterView(){return(0,p.default)(this,ControlPopoverStarterView),i.apply(this,arguments)}return(0,h.default)(ControlPopoverStarterView,[{key:"ui",value:function ui(){var ui=y.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(y.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,m.default)(t).forEach((function(t){var i=(0,d.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:r("New Typography Setting","elementor"),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(r("Are you sure you want to create a new Global Font setting?","elementor")),a=jQuery("<div>",{class:"e-global__confirm-input-wrapper"}),l=jQuery("<input>",{type:"text",name:"global-name",placeholder:t.title}).val(t.title);return a.append(l),o.append(i,a),o}},{key:"getGlobalsList",value:(o=(0,c.default)(u.default.mark((function _callee(){var t;return u.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,l.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}(y);o.default=C,C.onPasteStyle=function(t,o){return!o||o===t.return_value}},98550:(t,o,i)=>{"use strict";var r=i(18194).sprintf,a=i(18194).__,l=i(67971);i(93085),i(12897),i(76139);var u=l(i(99533));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(10367)}},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=r(a("Item #%s","elementor"),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(),u.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")}})},1142:(t,o,i)=>{"use strict";i(99745),i(71954);var r,a=i(53005),l=i(98550);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},37199:(t,o,i)=>{"use strict";var r,a=i(15584);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},88402:(t,o,i)=>{"use strict";var r,a=i(53005);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},76772:(t,o,i)=>{"use strict";var r,a=i(67971)(i(91795)),l=i(53005);r=l.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(){l.prototype.applySavedValue.apply(this,arguments);var t=this.ui.select.data("select2");t?this.ui.select.trigger("change"):this.select2Instance=new a.default({$element:this.ui.select,options:this.getSelect2Options()})},onReady:function onReady(){elementorCommon.helpers.softDeprecated("onReady","3.0.0")},onBeforeDestroy:function onBeforeDestroy(){this.select2Instance.destroy(),this.$el.remove()}}),t.exports=r},17881:(t,o,i)=>{"use strict";var r,a=i(67971),l=a(i(83452)),u=a(i(35657)),c=i(26804);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},14958:(t,o,i)=>{"use strict";var r,a=i(53005);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},4073:(t,o,i)=>{"use strict";var r=i(53005);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}})},83067:(t,o,i)=>{"use strict";var r;r=i(15584).extend({triggers:{click:{event:"control:tab:clicked",stopPropagation:!1}}}),t.exports=r},57330:(t,o,i)=>{"use strict";var r=i(67971),a=r(i(11959)),l=r(i(39041)),u=r(i(76700)),c=r(i(44263)),d=r(i(77371)),m=r(i(68537)),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> <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(87474));t.exports=p},30437:(t,o,i)=>{"use strict";var r,a=i(53005);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},58326:(t,o,i)=>{"use strict";i(71954),i(84208),i(99236);var r,a=i(53005);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},66429:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(39041)),l=r(i(11959)),u=r(i(18042)),c=r(i(48673)),d=r(i(11666)),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},72465:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),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},77915:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(35657)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),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(72465)).default);o.default=m},95573:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Do=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Do=d;var m=d;o.default=m},58410:(t,o,i)=>{"use strict";var r=i(67394);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(95573),l=i(91976),u=i(85156),c=i(34245)},91976:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Redo=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Redo=d;var m=d;o.default=m},34245:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.UndoAll=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.UndoAll=d;var m=d;o.default=m},85156:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Undo=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Undo=d;var m=d;o.default=m},27401:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(71954);var l=a(i(11959)),u=a(i(39041)),c=a(i(38852)),d=a(i(77371)),m=a(i(68537)),p=a(i(18042));t.exports=function(t){(0,d.default)(FooterSaver,t);var o=(0,m.default)(FooterSaver);function FooterSaver(){var t;(0,l.default)(this,FooterSaver);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),"previewWindow",null),t}return(0,u.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=t.container.settings.get("post_status"),i={publish:r("Publish","elementor"),update:r("Update","elementor"),submit:r("Submit","elementor")},a="publish";switch(o){case"publish":case"private":a="update",t.config.revisions.current_id!==t.id&&this.activateSaveButtons(t,!0);break;case"draft":t.config.user.can_publish||(a="submit"),this.activateSaveButtons(t,!0);break;case"pending":case void 0:t.config.user.can_publish||(a="update")}this.ui.buttonPublishLabel.html(i[a])}},{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)},41351:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(71954);var l=a(i(67394)),u=a(i(11959)),c=a(i(39041)),d=a(i(38852)),m=a(i(77371)),p=a(i(68537)),h=a(i(18042)),g=a(i(12031)),v=a(i(91238)),y=a(i(48246)),C=a(i(73308)),b=a(i(18414)),w=a(i(10136)),k=a(i(56903)),S=a(i(88507)),T=a(i(85099)),x=a(i(45767)),M=a(i(34693)),I=a(i(87726)),E=a(i(72800)),P=a(i(7699)),D=a(i(7537)),R=a(i(69994)),V=function(t){(0,m.default)(EditorBase,t);var o=(0,p.default)(EditorBase);function EditorBase(){var t;(0,u.default)(this,EditorBase);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return t=o.call.apply(o,[this].concat(a)),(0,h.default)((0,d.default)(t),"widgetsCache",{}),(0,h.default)((0,d.default)(t),"config",{}),(0,h.default)((0,d.default)(t),"loaded",!1),(0,h.default)((0,d.default)(t),"previewLoadedOnce",!1),(0,h.default)((0,d.default)(t),"helpers",i(13692)),(0,h.default)((0,d.default)(t),"imagesManager",i(9599)),(0,h.default)((0,d.default)(t),"schemes",i(54604)),(0,h.default)((0,d.default)(t),"presetsFactory",i(9548)),(0,h.default)((0,d.default)(t),"templates",i(79005)),(0,h.default)((0,d.default)(t),"ajax",elementorCommon.ajax),(0,h.default)((0,d.default)(t),"conditions",i(97196)),(0,h.default)((0,d.default)(t),"history",i(18414)),(0,h.default)((0,d.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,h.default)((0,d.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(27401)}}},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(76772),Base:i(15584),BaseData:i(53005),BaseMultiple:i(87474),Box_shadow:i(23594),Button:i(73309),Choose:i(11292),Code:i(16543),Color:g.default,Date_time:v.default,Dimensions:i(53261),Exit_animation:i(76772),Font:i(35634),Gallery:i(13607),Hidden:i(14553),Hover_animation:i(76772),Icon:i(30750),Icons:i(20911),Image_dimensions:i(53736),Media:i(79196),Number:i(19598),Order:i(98890),Popover_toggle:P.default,Repeater:i(1142),RepeaterRow:i(98550),Section:i(37199),Select:i(88402),Select2:i(76772),Slider:i(17881),Structure:i(14958),Switcher:i(4073),Tab:i(83067),Text_shadow:i(23594),Url:i(57330),Wp_widget:i(30437),Wysiwyg:i(58326)},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(39841)},views:{Widget:i(97445)}},layouts:{panel:{pages:{elements:{views:{Global:i(56345),Elements:i(79349)}},menu:{Menu:S.default}}}},views:{get ControlsStack(){return elementorCommon.helpers.hardDeprecated("elementor.modules.views.ControlsStack","2.4.0","elementorModules.editor.views.ControlsStack"),elementorModules.editor.views.ControlsStack}}}),(0,h.default)((0,d.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,c.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 C.default.firefox||C.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 a=elementorCommon.helpers.cloneObject(this.config.elements[o]);return"section"===o&&t.get("isInner")&&(a.title=r("Inner Section","elementor")),a}},{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(99469),o=i(41972),r=i(50235),a=i(45921);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 w.default,this.iconManager=new k.default,this.noticeBar=new I.default,this.history=new b.default,this.promotion=new T.default,this.devTools=new D.default,this.documents=$e.components.register(new y.default),elementorCommon.config.experimentalFeatures["landing-pages"]&&(this.modules.landingLibraryPageModule=new R.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(73963),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 E.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:r("Delete All Content","elementor"),message:r("Attention: We are going to DELETE ALL CONTENT from this page. Are you sure you want to do that?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:r("Delete","elementor"),cancel:r("Cancel","elementor")},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(83536)}),this.trigger("panel:init")}},{key:"initNavigator",value:function initNavigator(){this.addRegions({navigator:{el:"#elementor-navigator",regionClass:M.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=r("Server Error","elementor"),200!==t.status&&(o+=" ("+t.status+" "+t.statusText+")")):o=0===t.readyState?r("Connection Lost","elementor"):r("Unknown Error","elementor"),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:r("Learn More","elementor"),cancel:r("Go Back","elementor")},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:r("Note: Flexbox Changes","elementor"),message:r("Elementor 2.5 introduces key changes to the layout using CSS Flexbox. Your existing pages might have been affected, please review your page before publishing.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:r("Learn More","elementor"),cancel:r("Got It","elementor")},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:r("This is just a draft. Play around and when you're done - click update.","elementor"),buttons:[{name:"view_revisions",text:r("View All Revisions","elementor"),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(C.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:r("Your browser isn't compatible","elementor"),message:r("Your browser isn't compatible with all of Elementor's editing features. We recommend you switch to another browser like Chrome or Firefox.","elementor"),strings:{confirm:r("Proceed Anyway","elementor")},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">'+r("Click here for preview debug","elementor")+"</a></div>",a=elementor.config.preview.debug_data,l={className:"elementor-preview-loading-error",headerMessage:a.header,message:a.message+i,onConfirm:function onConfirm(){return open(a.doc_url,"_blank")}};a.error?this.showFatalErrorDialog(l):jQuery.get(o,(function(){t.showFatalErrorDialog(l)})).fail((function(o){t.showFatalErrorDialog({className:"elementor-preview-loading-error",headerMessage:a.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:r("Sorry, the content area was not found in your page.","elementor"),message:r("You must call 'the_content' function in the current template, in order for Elementor to work on this page.","elementor"),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,l.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,l.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,l.default)(this.config,"widgets",{get:function get(){return elementorCommon.helpers.softDeprecated("elementor.config.widgets","2.9.0","elementor.widgetsCache"),elementor.widgetsCache}}),(0,l.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=V},13021:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.Editor=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(76700)),c=r(i(44263)),d=r(i(77371)),m=r(i(68537)),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(41351)).default);o.Editor=p,window.elementor=new p,elementor.start()},73963:(t,o,i)=>{"use strict";var r=i(39841),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},98459:t=>{"use strict";t.exports=elementorModules.editor.elements.models.BaseSettings.extend({defaults:{_column_size:100}})},39841:(t,o,i)=>{"use strict";var r=i(67971);i(99236);var a,l=r(i(24596)),u=i(98459);(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(73963);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},83866:(t,o,i)=>{"use strict";var r=i(18194).sprintf,a=i(18194).__,l=i(67971);i(71954),i(99745);var u,c=l(i(59396)),d=l(i(24596)),m=l(i(14176)),p=l(i(83452)),h=l(i(73308)),g=l(i(77915)),v=i(99292),y=i(96731),C=i(47071);u=C.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(81152),groups:t}};return elementor.hooks.applyFilters("elements/base/behaviors",behaviors,this)},getBehavior:function getBehavior(t){return this._behaviors[(0,p.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,m.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(39872):"column"===r?i(99722):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,p.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=h.default.mac?"⌘":"^";return[{name:"general",actions:[{name:"edit",icon:"eicon-edit",title:r(a("Edit %s","elementor"),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:a("Duplicate","elementor"),shortcut:o+"+D",callback:function callback(){return $e.run("document/elements/duplicate",{container:t.getContainer()})}}]},{name:"clipboard",actions:[{name:"copy",title:a("Copy","elementor"),shortcut:o+"+C",callback:function callback(){return $e.run("document/elements/copy",{container:t.getContainer()})}},{name:"paste",title:a("Paste","elementor"),shortcut:o+"+V",isEnabled:function isEnabled(){return g.default.isPasteEnabled(t.getContainer())},callback:function callback(){return $e.run("document/ui/paste",{container:t.getContainer()})}},{name:"pasteStyle",title:a("Paste Style","elementor"),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:a("Reset Style","elementor"),callback:function callback(){return $e.run("document/elements/reset-style",{container:t.getContainer()})}}]},{name:"delete",actions:[{name:"delete",icon:"eicon-trash",title:a("Delete","elementor"),shortcut:"⌦",callback:function callback(){return $e.run("document/elements/delete",{container:t.getContainer()})}}]}]},getEditButtons:function getEditButtons(){return{}},initialize:function initialize(){var t=this;C.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 y({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,d.default)(t)?(jQuery.each(t,(function(t,o){a.addRenderAttribute(t,o,null,r)})),a):"object"===(0,d.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,c.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 v({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=C.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=u},63960:t=>{"use strict";var o;o=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=o},81152:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971)(i(59113)),l=i(6430);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"}),a=o.indexOf(i);-1===a&&(a=o.length),o.splice(a,0,{name:"tools",actions:[{name:"navigator",title:r("Navigator","elementor"),callback:function callback(){return $e.route("navigator",{reOpen:!0,model:t.view.model})}}]}),this.contextMenu=new l({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 a.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()}})},35343:(t,o,i)=>{"use strict";var r,a=i(18194).__,l=i(67971)(i(18042));i(99236),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("."),l=3===r.length,u=this.view.getEditModel().get("settings");l&&(u=u.get(r[0]).models[r[1]],i=r[2]);var c=u.get("__dynamic__");if(!(c&&c[i])){this.$currentEditingArea=t;var d=this.$currentEditingArea.data().elementorInlineEditingToolbar,m="advanced"===d?"advanced":"basic",p=this.view.getEditModel(),h=elementor.config.inlineEditing,g=p.getSetting(this.getEditingSettingKey());"advanced"===m&&(g=wp.editor.autop(g)),this.$currentEditingArea.html(g);var v=elementorFrontend.elements.window.ElementorInlineEditor;this.editing=!0,this.view.allowRender=!1,this.view.model.setHtmlCache(""),this.editor=new v({linksInNewWindow:!0,stay:!1,editor:this.$currentEditingArea[0],mode:m,list:"none"===d?[]:h.toolbar[d||"basic"],cleanAttrs:["id","class","name"],placeholder:a("Type Here","elementor")+"...",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,l.default)({},t,this.editor.getContent()),options:{external:!0}})}}),t.exports=r},10367:(t,o,i)=>{"use strict";var r;i(71954),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="elementor-tab-close",i="elementor-tab-active",r=t.model.get("name"),a=this.view.children.filter((function(o){return"tab"!==o.model.get("type")&&t.model.get("tabs_wrapper")===o.model.get("tabs_wrapper")})),l=this.view.children.filter((function(o){return"tab"===o.model.get("type")&&t.model.get("tabs_wrapper")===o.model.get("tabs_wrapper")}));_.each(l,(function(t){t.$el.removeClass(i)})),t.$el.addClass(i),_.each(a,(function(t){t.model.get("inner_tab")===r?t.$el.removeClass(o):t.$el.addClass(o)})),elementor.getPanelView().updateScrollbar()}}),t.exports=r},73235:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=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:"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:r("Meet Right Click","elementor"),message:r("Now you can access all editing actions using right click.","elementor"),iframe:elementor.$preview,position:{my:"center top+5",at:"center bottom",collision:"fit"}},onDialogInitCallback:function onDialogInitCallback(o){o.addButton({name:"learn-more",text:r("Learn More","elementor"),tag:"div",callback:function callback(){open(elementor.config.help_right_click_url,"_blank")}}),o.addButton({name:"ok",text:r("Got It","elementor"),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=m},92243:t=>{"use strict";var o;o=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&&elementorCommon.config.experimentalFeatures.e_dom_optimization&&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,o){void 0===o&&(o=t.item.index()),$e.run("document/elements/move",{container:elementor.channels.data.request("dragging:view").getContainer(),target:this.view.getContainer(),options:{at:o}})},receiveSort:function receiveSort(t,o,i){if(t.stopPropagation(),this.view.isCollectionFilled())jQuery(o.sender).sortable("cancel");else{var r=elementor.channels.data.request("dragging:model"),a="section"===r.get("elType")&&r.get("isInner"),l="column"===this.view.getElementType()&&this.view.isInner();a&&l?jQuery(o.sender).sortable("cancel"):(void 0===i&&(i=o.item.index()),$e.run("document/elements/move",{container:elementor.channels.data.request("dragging:view").getContainer(),target:this.view.getContainer(),options:{at:i}}))}},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,this.getSortedElementNewIndex(o.item))},onSortUpdate:function onSortUpdate(t,o){t.stopPropagation(),this.getChildViewContainer()[0]===o.item.parent()[0]&&this.updateSort(o,this.getSortedElementNewIndex(o.item))},onAddChild:function onAddChild(t){t.$el.attr("data-model-cid",t.model.cid)}}),t.exports=o},46341:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(76700)),c=r(i(44263)),d=r(i(77371)),m=r(i(68537)),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 T=l.getSetting(b+a).unit;y=elementor.helpers.elementSizeToUnit(this.$el,y,T),d[C+a]={size:v,unit:w},d[b+a]={size:y,unit:T},$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},74985:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(76700)),c=r(i(44263)),d=r(i(77371)),m=r(i(68537)),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},20708:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971)(i(77915));t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-empty-preview",className:"elementor-empty-view",events:{click:"onClickAdd"},behaviors:function behaviors(){return{contextMenu:{behaviorClass:i(81152),groups:this.getContextMenuGroups()}}},getContextMenuGroups:function getContextMenuGroups(){var t=this;return[{name:"general",actions:[{name:"paste",title:r("Paste","elementor"),isEnabled:function isEnabled(){return a.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")}})},99722:(t,o,i)=>{"use strict";var r,a=i(18194).sprintf,l=i(18194).__,u=i(39872),c=i(83866),d=i(20708);r=c.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-column-content"),emptyView:d,childViewContainer:elementorCommon.config.experimentalFeatures.e_dom_optimization?"> .elementor-widget-wrap":"> .elementor-column-wrap > .elementor-widget-wrap",toggleEditTools:!0,behaviors:function behaviors(){var behaviors=c.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:i(92243),elChildType:"widget"},Resizable:{behaviorClass:i(63960)}}),elementor.hooks.applyFilters("elements/column/behaviors",behaviors,this)},className:function className(){var t=c.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=c.prototype.ui.apply(this,arguments);return ui.columnInner=elementorCommon.config.experimentalFeatures.e_dom_optimization?"> .elementor-widget-wrap":"> .elementor-column-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:a(l("Edit %s","elementor"),t.title),icon:"column"},elementor.getPreferences("edit_buttons")&&(o.duplicate={title:a(l("Duplicate %s","elementor"),t.title),icon:"clone"},o.add={title:a(l("Add %s","elementor"),t.title),icon:"plus"},o.remove={title:a(l("Delete %s","elementor"),t.title),icon:"close"}),o},initialize:function initialize(){c.prototype.initialize.apply(this,arguments),this.model.get("editSettings").set("defaultEditRoute","layout")},attachElContent:function attachElContent(){c.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=c.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:l("Add New Column","elementor"),callback:this.addNewColumn.bind(this),isEnabled:function isEnabled(){return t.model.collection.length<u.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(){var t="elementor-element-empty",o="elementor-element-populated";this.ui.columnInner&&(this.collection.isEmpty()?this.ui.columnInner.removeClass(o).addClass(t):this.ui.columnInner.removeClass(t).addClass(o))},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=elementorCommon.config.experimentalFeatures.e_dom_optimization,i="";i=o?" > .elementor-widget-wrap > .elementor-element, >.elementor-widget-wrap > .elementor-empty-view > .elementor-first-add":" > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element, >.elementor-column-wrap > .elementor-widget-wrap > .elementor-empty-view > .elementor-first-add",c.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?"top"===i&&o&&a--:a++,t.addElementFromPanel({at:a})}})},onAddButtonClick:function onAddButtonClick(t){t.stopPropagation(),this.addNewColumn()}}),t.exports=r},39872:(t,o,i)=>{"use strict";var r=i(18194).sprintf,a=i(18194).__,l=i(67971);i(71954);var u=l(i(57846)),c=i(83866),d=c.extend({childViewContainer:function childViewContainer(){var t="> .elementor-container";return elementorCommon.config.experimentalFeatures.e_dom_optimization||(t+=" > .elementor-row"),t},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,c.prototype.addChildModel.apply(this,arguments)},className:function className(){var t=c.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=c.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:i(92243),elChildType:"column"}}),elementor.hooks.applyFilters("elements/section/behaviors",behaviors,this)},initialize:function initialize(){c.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:r(a("Add %s","elementor"),t.title),icon:"plus"}),o.edit={title:r(a("Edit %s","elementor"),t.title),icon:"handle"},elementor.getPreferences("edit_buttons")&&(o.duplicate={title:r(a("Duplicate %s","elementor"),t.title),icon:"clone"}),o.remove={title:r(a("Delete %s","elementor"),t.title),icon:"close"},o},getContextMenuGroups:function getContextMenuGroups(){var t=c.prototype.getContextMenuGroups.apply(this,arguments),o=t.indexOf(_.findWhere(t,{name:"clipboard"}));return t.splice(o+1,0,{name:"save",actions:[{name:"save",title:a("Save as Template","elementor"),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(){c.prototype.onRender.apply(this,arguments),this.toggleSectionIsFull()},onAddButtonClick:function onAddButtonClick(){if(!this.addSectionView||this.addSectionView.isDestroyed){var t=new u.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(){c.prototype.onDestroy.apply(this,arguments),this.destroyAddSectionView()}});t.exports=d,t.exports.DEFAULT_INNER_SECTION_COLUMNS=2,t.exports.DEFAULT_MIN_COLUMN_SIZE=2,t.exports.DEFAULT_MAX_COLUMNS=10},97445:(t,o,i)=>{"use strict";var r=i(18194).sprintf,a=i(18194).__,l=i(67971);i(71954);var u,c=l(i(46341)),d=l(i(74985)),m=i(83866);u=m.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=m.prototype.className.apply(this,arguments);return t+" elementor-widget "+elementor.getElementData(this.getEditModel()).html_wrapper_class},events:function events(){var events=m.prototype.events.apply(this,arguments);return events.click="onClickEdit",events},behaviors:function behaviors(){var behaviors=m.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{InlineEditing:{behaviorClass:i(35343),inlineEditingClass:"elementor-inline-editing"},Draggable:{behaviorClass:c.default},Resizable:{behaviorClass:d.default}}),elementor.hooks.applyFilters("elements/widget/behaviors",behaviors,this)},getEditButtons:function getEditButtons(){var t=elementor.getElementData(this.model),o={};return o.edit={title:r(a("Edit %s","elementor"),t.title),icon:"edit"},elementor.getPreferences("edit_buttons")&&(o.duplicate={title:r(a("Duplicate %s","elementor"),t.title),icon:"clone"},o.remove={title:r(a("Delete %s","elementor"),t.title),icon:"close"}),o},initialize:function initialize(){var t=this;m.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=m.prototype.getContextMenuGroups.apply(this,arguments),i=o.indexOf(_.findWhere(o,{name:"clipboard"}));return o.splice(i+1,0,{name:"save",actions:[{name:"save",title:a("Save as a Global","elementor"),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.getContainer().document.id===elementor.documents.getCurrent().id&&this.render())},onRender:function onRender(){var t=this;m.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(){t.$el.children(".elementor-widget-container").outerHeight()||t.handleEmptyWidget()}),200)}))},onClickEdit:function onClickEdit(){this.container.isEditable()&&this.model.trigger("request:edit")}}),t.exports=u},89283:(t,o,i)=>{"use strict";var r=i(67971)(i(83452));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)}})},93593:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Close=d;var m=d;o.default=m},54495:(t,o,i)=>{"use strict";var r=i(67394);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(93593),l=i(15900),u=i(98532)},15900:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Open=d;var m=d;o.default=m},98532:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Toggle=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Toggle=d;var m=d;o.default=m},33524:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(76700)),d=a(i(44263)),m=a(i(77371)),p=a(i(68537)),h=a(i(15591)),g=r(i(54495)),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},36087:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},60891:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(38081),i(3777);var a=r(i(83452)),l=r(i(35657)),u=r(i(11959)),c=r(i(39041)),d=r(i(77371)),m=r(i(68537)),p=r(i(36087)),h=r(i(14391)),g=r(i(77915)),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")+" > .elementor-navigator__elements",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},47673:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(60891)),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},34693:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(38852)),d=a(i(77371)),m=a(i(68537)),p=a(i(33524)),h=a(i(47673)),g=function(t){(0,d.default)(_default,t);var o=(0,m.default)(_default);function _default(t){var i;return(0,l.default)(this,_default),(i=o.call(this,t)).component=$e.components.register(new p.default({manager:(0,c.default)(i)})),i.isDocked=!1,i.indicators={customPosition:{title:r("Custom Positioning","elementor"),icon:"cursor-move",settingKeys:["_position","_element_width"],section:"_section_position"}},i.ensurePosition=i.ensurePosition.bind((0,c.default)(i)),i.listenTo(elementor.channels.dataEditMode,"switch",i.onEditModeSwitched),elementor.on("document:loaded",i.onDocumentLoaded.bind((0,c.default)(i))),elementor.on("document:unloaded",i.onDocumentUnloaded.bind((0,c.default)(i))),i}return(0,u.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 h.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(89283));o.default=g},14391:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},56676:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.ChangeDeviceMode=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.ChangeDeviceMode=d;var m=d;o.default=m},37427:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Close=d;var m=d;o.default=m},95042:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Exit=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Exit=d;var m=d;o.default=m},1546:(t,o,i)=>{"use strict";var r=i(67394);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(56676),l=i(37427),u=i(95042),c=i(31778),d=i(20491),m=i(51691),p=i(94002)},58391:(t,o,i)=>{"use strict";var r=i(67394);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(71951),l=i(76073),u=i(91563)},71951:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.OpenDefault=void 0;var a=r(i(73220)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),m=function(t){(0,c.default)(OpenDefault,t);var o=(0,d.default)(OpenDefault);function OpenDefault(){return(0,l.default)(this,OpenDefault),o.apply(this,arguments)}return(0,u.default)(OpenDefault,[{key:"apply",value:function apply(){return $e.route(elementor.documents.getCurrent().config.panel.default_route),a.default.resolve()}}]),OpenDefault}(r(i(23714)).default);o.OpenDefault=m;var p=m;o.default=p},76073:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.StateLoading=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(23714)).default);o.StateLoading=d;var m=d;o.default=m},91563:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.StateReady=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(23714)).default);o.StateReady=d;var m=d;o.default=m},31778:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Open=d;var m=d;o.default=m},20491:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Publish=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Publish=d;var m=d;o.default=m},51691:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Save=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Save=d;var m=d;o.default=m},94002:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Toggle=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Toggle=d;var m=d;o.default=m},43033:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=a(i(15591)),p=r(i(1546)),h=r(i(58391)),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},75483:(t,o,i)=>{"use strict";var r,a=i(18194).__;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=a("preview"===t?"Back to Editor":"Preview","elementor");this.ui.previewLabel.attr("title",o),this.ui.previewLabelA11y.text(o)}}),t.exports=r},77776:(t,o,i)=>{"use strict";i(71954),i(99745),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")}})},79913:t=>{"use strict";var o;o=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=o},31302:(t,o,i)=>{"use strict";var r,a=i(67971),l=a(i(83452)),u=a(i(43033)),c=a(i(93731)),d=a(i(44729)),m=i(75483);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(20526),title:'<img src="'+elementorCommon.config.urls.assets+'images/logo-panel.svg">'},editor:{view:i(27108)},menu:{view:elementor.modules.layouts.panel.pages.menu.Menu,title:'<img src="'+elementorCommon.config.urls.assets+'images/logo-panel.svg">'},colorScheme:{view:i(74942)},typographyScheme:{view:i(81605)}},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(44539).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(77776),o=i(79913);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},27108:t=>{"use strict";var o,i=elementorModules.editor.views.ControlsStack;o=i.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(){i.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 i.prototype.activateSection.apply(this,arguments),this.model.get("editSettings").set("panel",{activeTab:this.activeTab,activeSection:this.activeSection}),this},openActiveSection:function openActiveSection(){i.prototype.openActiveSection.apply(this,arguments),elementor.channels.editor.trigger("section:activated",this.activeSection,this)},isVisibleSectionControl:function isVisibleSectionControl(t){return i.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(){i.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=o},23489:(t,o,i)=>{"use strict";var r=i(67394);r(o,"__esModule",{value:!0}),r(o,"Open",{enumerable:!0,get:function get(){return a.Open}});var a=i(90160)},90160:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Open=d;var m=d;o.default=m},44729:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(18194).sprintf,l=i(52369),u=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var c=u(i(83452)),d=u(i(11959)),m=u(i(39041)),p=u(i(76700)),h=u(i(44263)),g=u(i(77371)),v=u(i(68537)),y=u(i(15591)),C=l(i(23489)),b=function(t){(0,g.default)(Component,t);var o=(0,v.default)(Component);function Component(){return(0,d.default)(this,Component),o.apply(this,arguments)}return(0,m.default)(Component,[{key:"__construct",value:function __construct(t){(0,p.default)((0,h.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:r("Content","elementor")},style:{title:r("Style","elementor")},advanced:{title:r("Advanced","elementor")},layout:{title:r("Layout","elementor")}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}},{key:"renderTab",value:function renderTab(t,o){var i=o.model,l=o.view,u=a(r("Edit %s","elementor"),elementor.getElementData(i).title);elementor.getPanelView().setPage("editor",u,{tab:t,model:i,controls:elementor.getElementControls(i),editedElementView:l})}},{key:"activateTab",value:function activateTab(t,o){this.activeTabs[o.model.id]=t,(0,p.default)((0,h.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,c.default)(r)[0]),this.setDefaultRoute(o),!0}return!1}}]),Component}(y.default);o.default=b},19138:(t,o,i)=>{"use strict";var r,a=i(46617);r=Backbone.Collection.extend({model:a}),t.exports=r},21511:(t,o,i)=>{"use strict";var r,a=i(46617);r=Backbone.Collection.extend({model:a}),t.exports=r},93731:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=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/elements"}},{key:"defaultTabs",value:function defaultTabs(){return{categories:{title:r("Elements","elementor")},global:{title:r("Global","elementor")}}}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}},{key:"renderTab",value:function renderTab(t){this.manager.setPage("elements").showView(t)}}]),Component}(a(i(15591)).default);o.default=m},20526:(t,o,i)=>{"use strict";var r=i(18194).__;i(99745),i(42679);var a,l=i(19138),u=i(21511),c=i(9951),d=elementor.modules.layouts.panel.pages.elements.views.Elements,m=i(77106),p=i(56345);a=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:d,options:{collection:this.elementsCollection}},categories:{region:this.elements,view:c,options:{collection:this.categoriesCollection}},search:{region:this.search,view:m},global:{region:this.elements,view:p}};this.regionViews=elementor.hooks.applyFilters("panel/elements/regionViews",t)},initElementsCollection:function initElementsCollection(){var t=new u,o=elementor.config.elements.section;t.add({title:r("Inner Section","elementor"),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 l;_.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=a},46617:t=>{"use strict";var o;o=Backbone.Model.extend({defaults:{title:"",categories:[],keywords:[],icon:"",elType:"widget",widgetType:""}}),t.exports=o},9951:(t,o,i)=>{"use strict";var r,a=i(97088);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},97088:(t,o,i)=>{"use strict";var r,a=i(21511);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(25232),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.css("display","block"))},onTitleClick:function onTitleClick(){var t=this.ui.items,o="elementor-active",i=this.$el.hasClass(o),r=i?"slideUp":"slideDown";elementor.channels.panelElements.reply("category:"+this.model.get("name")+":active",!i),this.$el.toggleClass(o,!i),t[r](300,(function(){elementor.getPanelView().updateScrollbar()}))}}),t.exports=r},25232:(t,o,i)=>{"use strict";var r=i(18194).sprintf,a=i(18194).__;i(84208),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(){var t=this.model.get("title");elementor.promotion.showDialog({headerMessage:r(a("%s Widget","elementor"),t),message:r(a("Use %s widget and dozens more pro features to extend your toolbox and build sites faster and better.","elementor"),t),top:"-7",element:this.el,actionURL:elementor.config.elementPromotionURL.replace("%s",this.model.get("name"))})}})},79349:(t,o,i)=>{"use strict";var r;r=Marionette.CollectionView.extend({childView:i(25232),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},56345:(t,o,i)=>{"use strict";i(42679),t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-global",id:"elementor-panel-global",initialize:function initialize(){elementor.getPanelView().getCurrentPageView().search.reset()}})},77106:t=>{"use strict";var o;o=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=o},86723:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(99745);var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(27414)),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)}}},88507:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=a(i(86723)),p=function(t){(0,c.default)(PanelMenu,t);var o=(0,d.default)(PanelMenu);function PanelMenu(){return(0,l.default)(this,PanelMenu),o.apply(this,arguments)}return(0,u.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}(m.default);o.default=p,p.groups=null,p.initGroups=function(){p.groups=new Backbone.Collection([]),p.groups.add({name:"more",title:r("More","elementor"),items:[]}),p.groups.add({name:"navigate_from_page",title:r("Navigate From Page","elementor"),items:[{name:"view-page",icon:"eicon-preview-thin",title:r("View Page","elementor"),type:"link",link:elementor.config.document.urls.permalink},{name:"exit-to-dashboard",icon:"eicon-wordpress-light",title:r("Exit To Dashboard","elementor"),type:"link",link:elementor.config.document.urls.exit_to_dashboard}]}),elementor.config.user.is_administrator&&p.addAdminMenu()},p.addAdminMenu=function(){p.groups.add({name:"style",title:r("Settings","elementor"),items:[{name:"editor-preferences",icon:"eicon-user-preferences",title:r("User Preferences","elementor"),type:"page",callback:function callback(){return $e.route("panel/editor-preferences")}}]},{at:0}),p.addItem({name:"finder",icon:"eicon-search",title:r("Finder","elementor"),callback:function callback(){return $e.route("finder")}},"navigate_from_page","view-page")},p.getGroups=function(){return p.groups||p.initGroups(),p.groups},p.addItem=function(t,o,i){m.default.addItem(p.getGroups(),t,o,i)}},27414:(t,o,i)=>{"use strict";var r=i(3325);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)}})},3325:t=>{"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}}})},27454:(t,o,i)=>{"use strict";var r,a={color:i(85981),typography:i(64533)};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},74942:(t,o,i)=>{"use strict";var r,a=i(27454);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},44539:t=>{"use strict";var o;o=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=o},63918:t=>{"use strict";var o;o=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=o},85981:(t,o,i)=>{"use strict";var r=i(67971)(i(65863)),a=i(63918);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()}})},64533:(t,o,i)=>{"use strict";var r,a=i(63918);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},81605:(t,o,i)=>{"use strict";var r;r=i(27454).extend({getType:function getType(){return"typography"}}),t.exports=r},83536:(t,o,i)=>{"use strict";var r=i(89283);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(31302);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()}})},65863:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(44321),i(76139);var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=function(t){(0,c.default)(ColorPicker,t);var o=(0,d.default)(ColorPicker);function ColorPicker(){var t;(0,l.default)(this,ColorPicker);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))).createPicker(),t}return(0,u.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 r("Clear","elementor")},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(r("Color Picker","elementor")),i=jQuery("<div>",{class:t.pickerToolsContainer}),a=this.getSettings("addButton");this.$pickerToolsContainer=i,a&&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 r("Create New Global Color","elementor")},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=m},97196:(t,o,i)=>{"use strict";var r;i(99745),i(64828),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,l=this;if(l.terms)o=t.check(l,i);else{var u=l.name.match(/(\w+)(?:\[(\w+)])?/),c=i[u[1]];u[2]&&(c=c[u[2]]),o=t.compare(c,l.value,l.operator)}return r?(o&&(a=!0),!o):o?void 0:a=!1})),a}},t.exports=new r},6430:(t,o,i)=>{"use strict";i(99745),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()}})},99292:(t,o,i)=>{"use strict";var r=i(67971)(i(83452));i(55506),i(64828),i(84208),i(99745),i(71954);var a,l=i(34533);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," )"),elementor.config.ui.defaultGenericFonts&&t.groupPrefix+"font_family"===t.name&&(a+=", ".concat(elementor.config.ui.defaultGenericFonts))}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},40548:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(38081);var l=a(i(11959)),u=a(i(39041)),c=function(){function FilesUploadHandler(){(0,l.default)(this,FilesUploadHandler)}return(0,u.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",r("Enable Unfiltered File Uploads","elementor"),r("Before you enable unfiltered files upload, note that this kind of files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor"),r("Enable","elementor"),(function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{},!0),elementor.config.filesUpload.unfilteredFiles=!0,t()}))}}]),FilesUploadHandler}();o.default=c},38984:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(18194).sprintf,l=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var u=l(i(11959)),c=l(i(39041)),d=l(i(18042)),m=function(){function Heartbeat(t){var o=this;(0,u.default)(this,Heartbeat),(0,d.default)(this,"modal",null),(0,d.default)(this,"document",null),(0,d.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,c.default)(Heartbeat,[{key:"initModal",value:function initModal(){var t=elementorCommon.dialogsManager.createWidget("lightbox",{headerMessage:r("Take Over","elementor")});return t.addButton({name:"go_back",text:r("Go Back","elementor"),callback:function callback(){parent.history.go(-1)}}),t.addButton({name:"take_over",text:r("Take Over","elementor"),callback:function callback(){wp.heartbeat.enqueue("elementor_force_post_lock",!0),wp.heartbeat.connectNow()}}),t}},{key:"showLockMessage",value:function showLockMessage(t){this.getModal().setMessage(a(r("%s has taken over and is currently editing. Do you want to take over this page editing?","elementor"),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=m},13692:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(36349);var l=a(i(24596));i(64828),i(55506),i(99236);var u=a(i(83452));i(84208),i(99745),i(71954);var c=a(i(65863)),d=a(i(77915));t.exports={document:d.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="fa4Tofa5Mapping",o=elementorCommon.storage.get(t);return o||jQuery.getJSON(elementor.config.fa4_to_fa5_mapping_url,(function(i){o=i,elementorCommon.storage.set(t,i)})),o},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,u.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,a,l){return elementorCommon.dialogsManager.createWidget("confirm",{id:t,headerMessage:o,message:i,position:{my:"center center",at:"center center"},strings:{confirm:a,cancel:r("Cancel","elementor")},onConfirm:l})},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",r("Elementor's New Icon Library","elementor"),r('Elementor v2.6 includes an upgrade from Font Awesome 4 to 5. In order to continue using icons, be sure to click "Upgrade".',"elementor")+' <a href="https://go.elementor.com/fontawesome-migration/" target="_blank">'+r("Learn More","elementor")+"</a>",r("Update","elementor"),(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,u.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 a=_.filter(i,(function(t,i){var r,a=i.match(/([a-z_\-0-9]+)(?:\[([a-z_]+)])?(!?)$/i),u=a[1],c=a[2],d=!!a[3],m=o[u];return o.__dynamic__&&o.__dynamic__[u]&&(m=o.__dynamic__[u]),void 0===m||(c&&"object"===(0,l.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(a)},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 c.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,u.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}}},9599:(t,o,i)=>{"use strict";var r,a=i(67971)(i(83452));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},85116:(t,o,i)=>{"use strict";var r=i(67971);i(64828);var a,l,u,c=r(i(32009));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}}))},30122:(t,o,i)=>{"use strict";var r;i(99745),i(64828),i(84208),(r=jQuery).fn.elementorSerializeObject=function(){var t=this.serializeArray(),o={},i=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)};return r.each(t,(function(){i(o,this.name,this.value)})),o}},87726:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},45921:(t,o,i)=>{"use strict";var r=i(67971)(i(14176));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()}})},9548:t=>{"use strict";var o;o={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=o},85099:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=function(t){(0,c.default)(_default,t);var o=(0,d.default)(_default);function _default(){var t;return(0,l.default)(this,_default),(t=o.call(this)).initDialog(),t}return(0,u.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:r("See it in Action","elementor"),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"}),a=jQuery("<i>",{class:"eicon-close"});a.on("click",(function(){return t.dialog.hide()})),this.dialog.getElements("header").append(o,i,a),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=m},54604:(t,o,i)=>{"use strict";var r=i(67971),a=r(i(83452)),l=r(i(32009));i(71954);var u,c=i(34533),d=i(99292);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},91795:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(71954);var a=r(i(11959)),l=r(i(39041)),u=r(i(76700)),c=r(i(44263)),d=r(i(77371)),m=r(i(68537)),p=function(t){(0,d.default)(Select2,t);var o=(0,m.default)(Select2);function Select2(){return(0,a.default)(this,Select2),o.apply(this,arguments)}return(0,l.default)(Select2,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{plusButton:".select2-selection__e-plus-button",select2InlineSearch:".select2-selection__rendered .select2-search--inline"},classes:{plusButton:"select2-selection__e-plus-button",select2Choice:"select2-selection__choice"}}}},{key:"isAllSelected",value:function isAllSelected(){var t=this,isAllSelected=!1;return this.select2.dataAdapter.query({},(function(o){var i=o.results.length;t.elements.$element.select2("data").length===i&&(isAllSelected=!0)})),isAllSelected}},{key:"addPlusButton",value:function addPlusButton(){var t=this.getSettings("classes"),o=t.plusButton,i=[t.select2Choice,o].join(" ");this.elements.$plusButton=jQuery("<li>",{class:i}).text("+"),this.elements.$plusButton.insertBefore(this.elements.$inlineSearch)}},{key:"togglePlusButton",value:function togglePlusButton(){this.isAllSelected()?this.elements.$plusButton&&this.elements.$plusButton.remove():this.addPlusButton()}},{key:"addSelect2Events",value:function addSelect2Events(){var t=this;this.select2.on("select",(function(){return t.onSelectionChange()})),this.select2.on("unselect",(function(){return t.onSelectionChange()}))}},{key:"onSelectionChange",value:function onSelectionChange(){this.togglePlusButton()}},{key:"extendBaseFunctionality",value:function extendBaseFunctionality(){var t=this.select2.options.options;t.multiple&&!t.ajax&&(this.togglePlusButton(),this.addSelect2Events())}},{key:"initSelect2Elements",value:function initSelect2Elements(){var t=this.getSettings("selectors.select2InlineSearch");this.elements.$element=this.select2.$element,this.elements.$container=this.select2.$container,this.elements.$inlineSearch=this.elements.$container.find(t)}},{key:"destroy",value:function destroy(){this.elements.$element.select2("destroy")}},{key:"onInit",value:function onInit(){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)(Select2.prototype),"onInit",this)).call.apply(t,[this].concat(i));var a=this.getSettings(),l=a.$element,d=a.options;this.select2=l.select2(d).data("select2"),this.initSelect2Elements(),this.extendBaseFunctionality()}}]),Select2}(elementorModules.ViewModule);o.default=p},34533:(t,o,i)=>{"use strict";var r=i(67971);i(44321),i(76139),i(84208),i(64828),i(99236);var a,l,u=r(i(83452));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},59113:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(15149)),u=a(i(11959)),c=a(i(39041)),d=a(i(77371)),m=a(i(68537)),p=a(i(77915)),h=function(t){(0,d.default)(AddSectionBase,t);var o=(0,m.default)(AddSectionBase);function AddSectionBase(){return(0,u.default)(this,AddSectionBase),o.apply(this,arguments)}return(0,c.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(81152),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:r("Paste","elementor"),isEnabled:function isEnabled(){return p.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:r("Copy All Content","elementor"),isEnabled:o,callback:function callback(){return $e.run("document/elements/copy-all")}},{name:"delete_all_content",title:r("Delete All Content","elementor"),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,l.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=h},4312:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(59113)).default);o.default=d},57846:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(76700)),c=r(i(44263)),d=r(i(77371)),m=r(i(68537)),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(59113)).default);o.default=p},47071:(t,o,i)=>{"use strict";var r=i(67971)(i(83452));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}})},38648:(t,o,i)=>{"use strict";i(71954);var r,a=i(39872),l=i(47071);r=l.extend({childView:a,behaviors:function behaviors(){var behaviors={Sortable:{behaviorClass:i(92243),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},59010:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(18042));i(71954);var u=a(i(11959)),c=a(i(39041)),d=function(){function ControlsPopover(t){(0,u.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,c.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>"+r("Typography","elementor")+"</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,l.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 r("Create New Global Font","elementor")},gravity:function gravity(){return"s"}})}},{key:"destroy",value:function destroy(){this.$popover.remove()}}]),ControlsPopover}();o.default=d},99533:(t,o,i)=>{"use strict";var r=i(67971);i(93085),i(12897),i(76139);var a,l=r(i(59010));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(10367)}},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,o=this,i=o.collection.filter((function(t){return"section"===t.get("type")&&o.isVisibleSectionControl(t)}));if(i[0]?t=i[0].get("name"):(o.activeSection=null,t=null),!i.filter((function(t){return o.activeSection===t.get("name")}))[0])return o.activateSection(t),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},72800:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971),l=a(i(4312)),u=a(i(73235)),c=a(i(77915)),d=i(38648),m=d.extend({initialize:function initialize(){this.$childViewContainer=jQuery("<div>",{class:"elementor-section-wrap"}),d.prototype.initialize.apply(this,arguments)},getChildViewContainer:function getChildViewContainer(){return this.$childViewContainer},behaviors:function behaviors(){var t=d.prototype.behaviors.apply(this,arguments),behaviors={contextMenu:{behaviorClass:i(81152),groups:this.getContextMenuGroups()}};return elementor.config.user.introduction.rightClick||elementor.config.user.introduction[2]||(behaviors.introduction={behaviorClass:u.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:r("Paste","elementor"),isEnabled:function isEnabled(){return c.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:r("Copy All Content","elementor"),isEnabled:o,callback:function callback(){return $e.run("document/elements/copy-all")}},{name:"delete_all_content",title:r("Delete All Content","elementor"),isEnabled:o,callback:function callback(){return $e.run("document/elements/empty")}}]}]},onRender:function onRender(){var t;if(elementorCommon.config.experimentalFeatures.e_dom_optimization)t=this.$el;else{var o=jQuery("<div>",{class:"elementor-inner"});this.$el.html(o),t=o}if(t.html(this.$childViewContainer),elementor.userCan("design")){var i=new l.default;i.render(),t.append(i.$el)}}});t.exports=m},42618:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(24596)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),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(27597)).default);o.default=m},27597:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(99745);var a=r(i(59396)),l=r(i(29363)),u=r(i(11959)),c=r(i(39041)),d=r(i(76700)),m=r(i(44263)),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},99469:(t,o,i)=>{"use strict";var r=i(67971)(i(14176));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}}}},68689:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(24596)),l=r(i(57135));i(93085),i(12897),i(76139),i(37472);var u=r(i(73220)),c=r(i(59396));i(86248);var d=r(i(49117)),m=r(i(11959)),p=r(i(38852)),h=r(i(39041)),g=r(i(77371)),v=r(i(68537)),y=r(i(18042)),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:"runCatchHooks",value:function runCatchHooks(t){$e.hooks.runDataCatch(this.currentCommand,this.args,t),$e.hooks.runUICatch(this.currentCommand,this.args,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){this.runCatchHooks(t),elementorCommon.helpers.consoleError(t)}}]),CommandBase}(r(i(42618)).default);o.default=C},23714:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.default=d},9899:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Close=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Close=d;var m=d;o.default=m},11469:(t,o,i)=>{"use strict";var r=i(67394);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(9899),l=i(35898),u=i(37894)},35898:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Open=d;var m=d;o.default=m},37894:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Toggle=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Toggle=d;var m=d;o.default=m},15591:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(84208);var a=r(i(83452));i(99236);var l=r(i(35657)),u=r(i(47834)),c=r(i(38923)),d=r(i(11959)),m=r(i(39041)),p=r(i(77371)),h=r(i(68537)),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},18427:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(76700)),d=a(i(44263)),m=a(i(77371)),p=a(i(68537)),h=a(i(15591)),g=r(i(11469)),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},2857:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(18042)),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},91706:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.After=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(85895)).default);o.After=d;var m=d;o.default=m},85895:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Base=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(2857)).default);o.Base=d;var m=d;o.default=m},73308:(t,o,i)=>{"use strict";i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(44321),i(76139);var r=function matchUserAgent(t){return a.indexOf(t)>=0},a=navigator.userAgent,l=!!window.opr&&!!opr.addons||!!window.opera||r(" OPR/"),u=r("Firefox"),c=/^((?!chrome|android).)*safari/i.test(a)||/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),d=/Trident|MSIE/.test(a)&&!!document.documentMode,m=!d&&!!window.StyleMedia||r("Edg"),p=!!window.chrome&&r("Chrome")&&!(m||l),h=r("Chrome")&&!!window.CSS,g={appleWebkit:r("AppleWebKit")&&!h,blink:h,chrome:p,edge:m,firefox:u,ie:d,mac:r("Macintosh"),opera:l,safari:c,webkit:r("AppleWebKit")};o.default=g},99107:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},56525:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(99107)),m=r(i(31352)),p=r(i(20311)),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},20311:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},31352:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},81341:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Back=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(38852)),d=a(i(77371)),m=a(i(68537)),p=a(i(18042)),h=function(t){(0,d.default)(Back,t);var o=(0,m.default)(Back);function Back(){var t;(0,l.default)(this,Back);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),"confirmDialog",null),t}return(0,u.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:r("Exit","elementor"),message:r("Would you like to exit?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:r("Exit","elementor"),cancel:r("Cancel","elementor")},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}(a(i(68689)).default);o.Back=h;var g=h;o.default=g},26914:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Close=void 0,i(2235),i(76139),i(6632);var a=r(i(14176)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),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(68689)).default);o.Close=m;var p=m;o.default=p},85184:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Exit=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Exit=d;var m=d;o.default=m},46293:(t,o,i)=>{"use strict";var r=i(67394);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(81341),l=i(26914),u=i(85184),c=i(67676)},67676:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Open=void 0,i(2235),i(76139),i(6632);var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Open=d;var m=d;o.default=m},92553:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(38852)),d=a(i(76700)),m=a(i(44263)),p=a(i(77371)),h=a(i(68537)),g=a(i(18042)),v=r(i(2642)),y=r(i(46293)),C=a(i(21893)),b=function(t){(0,p.default)(_default,t);var o=(0,h.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,g.default)((0,c.default)(t),"pages",{}),t}return(0,u.default)(_default,[{key:"__construct",value:function __construct(t){(0,d.default)((0,m.default)(_default.prototype),"__construct",this).call(this,t),elementor.on("panel:init",(function(){t.manager.addPanelPages(),t.manager.addPanelMenuItem()})),elementor.hooks.addFilter("panel/header/behaviors",t.manager.addHeaderBehavior),elementor.addControlView("global-style-repeater",C.default)}},{key:"getNamespace",value:function getNamespace(){return"panel/global"}},{key:"defaultRoutes",value:function defaultRoutes(){return{menu:function menu(){elementor.getPanelView().setPage("kit_menu")}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(y)}},{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(v)}},{key:"renderTab",value:function renderTab(t){elementor.getPanelView().setPage("kit_settings").content.currentView.activateTab(t)}}]),_default}($e.modules.ComponentBase);o.default=b},93172:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(18042)),u=a(i(35657)),c=a(i(73220));i(71954);var d=a(i(11959)),m=a(i(39041)),p=a(i(77371)),h=a(i(68537)),g=function(t){(0,p.default)(GlobalControlSelect,t);var o=(0,h.default)(GlobalControlSelect);function GlobalControlSelect(){return(0,d.default)(this,GlobalControlSelect),o.apply(this,arguments)}return(0,m.default)(GlobalControlSelect,[{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})).catch((function(o){var i;if(404!==(null==o||null===(i=o.data)||void 0===i?void 0:i.status))return c.default.reject(o);t.disableGlobalValue(!1)}))}},{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(),a="";if(t)a=t;else{t=this.view.getControlValue();var l,u=this.view.getGlobalKey();if(!u&&!t&&elementor.config.globals.defaults_enabled[this.view.getGlobalMeta().controlType])u=null===(l=this.view.model.get("global"))||void 0===l?void 0:l.default;if(u)return $e.data.get(u).then((function(t){var i="";i=t.data.title?t.data.title:r("Default","elementor"),o.updateCurrentGlobalName(i)})),void this.ui.globalPopoverToggle.addClass(i.popoverToggleActive);a=r(t?"Custom":"Default","elementor"),this.ui.globalPopoverToggle.removeClass(i.popoverToggleActive)}this.globalName=a}},{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:"right top",at:"right bottom+5",of:this.ui.globalPopoverToggle,collision:"fit flip",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:r("Create","elementor"),cancel:r("Cancel","elementor")},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,u.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(){this.disableGlobalValue()}},{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()}})}},{key:"disableGlobalValue",value:function disableGlobalValue(){var t=this,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=this.view.getGlobalMeta();return $e.run("document/globals/disable",{container:this.view.container,settings:(0,l.default)({},i.key,""),options:{restore:o}}).then((function(){t.onValueTypeChange(),t.view.globalValue=null,t.resetActivePreviewItem()}))}}]),GlobalControlSelect}(Marionette.Behavior);o.default=g},50819:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.BaseGlobalsUpdate=void 0;var a=r(i(15149)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),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},46390:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitGlobalsUpdateColors=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(50819)).default);o.KitGlobalsUpdateColors=d;var m=d;o.default=m},74266:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitGlobalsUpdateTypography=void 0;var a=r(i(15149)),l=r(i(11959)),u=r(i(39041)),c=r(i(77371)),d=r(i(68537)),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(50819)).default);o.KitGlobalsUpdateTypography=m;var p=m;o.default=p},2642:(t,o,i)=>{"use strict";var r=i(67394);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}}),r(o,"KitAddMenuItems",{enumerable:!0,get:function get(){return C.KitAddMenuItems}});var a=i(46390),l=i(74266),u=i(43474),c=i(41616),d=i(66834),m=i(32692),p=i(12514),h=i(97949),g=i(4348),v=i(80633),y=i(24974),C=i(62740)},66834:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitUpdateLightboxPreview=void 0;var a=r(i(47834)),l=r(i(38923)),u=r(i(11959)),c=r(i(39041)),d=r(i(77371)),m=r(i(68537)),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},32692:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitUpdateStretchContainer=void 0;var a=r(i(47834)),l=r(i(38923)),u=r(i(11959)),c=r(i(39041)),d=r(i(77371)),m=r(i(68537)),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},24974:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.KitRemovePreviewDeletedVariables=void 0;var a=r(i(83452)),l=r(i(35657));i(99745),i(38081),i(3777);var u=r(i(11959)),c=r(i(39041)),d=r(i(38852)),m=r(i(77371)),p=r(i(68537)),h=r(i(18042)),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},41616:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitAfterSave=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=function(t){(0,c.default)(KitAfterSave,t);var o=(0,d.default)(KitAfterSave);function KitAfterSave(){return(0,l.default)(this,KitAfterSave),o.apply(this,arguments)}return(0,u.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:r("Your changes have been updated.","elementor"),buttons:[{name:"back_to_editor",text:r("Back to Editor","elementor"),callback:function callback(){$e.run("panel/global/close")}}]})}}]),KitAfterSave}(a(i(91706)).default);o.KitAfterSave=m;var p=m;o.default=p},43474:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitDeleteGlobalsCache=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(91706)).default);o.KitDeleteGlobalsCache=d;var m=d;o.default=m},62740:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitAddMenuItems=void 0;var a=r(i(47834)),l=r(i(38923)),u=r(i(83452)),c=r(i(11959)),d=r(i(39041)),m=r(i(77371)),p=r(i(68537)),h=function(t){(0,m.default)(KitAddMenuItems,t);var o=(0,p.default)(KitAddMenuItems);function KitAddMenuItems(){return(0,c.default)(this,KitAddMenuItems),o.apply(this,arguments)}return(0,d.default)(KitAddMenuItems,[{key:"getCommand",value:function getCommand(){return"editor/documents/attach-preview"}},{key:"getId",value:function getId(){return"kit-add-menu-item"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type&&!(0,u.default)($e.components.get("panel/global").getTabs()).length}},{key:"apply",value:function apply(){var t=elementor.documents.getCurrent();(0,l.default)(t.config.tabs).forEach((function(t){var o=(0,a.default)(t,2),i=o[0],r=o[1];$e.components.get("panel/global").addTab(i,r)}))}}]),KitAddMenuItems}($e.modules.hookUI.Before);o.KitAddMenuItems=h;var g=h;o.default=g},97949:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitRemoveEditorActiveCSSDocumentsOpen=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},6451:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},80633:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitBackToRouteHistory=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(6451)).default);o.KitBackToRouteHistory=d;var m=d;o.default=m},12514:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitSaveRouteHistory=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(6451)).default);o.KitSaveRouteHistory=d;var m=d;o.default=m},4348:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.KitRemoveEditorActiveCSSPanelOpen=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},45767:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(99745);var l=a(i(84899)),u=a(i(35657)),c=a(i(11959)),d=a(i(39041)),m=a(i(38852)),p=a(i(76700)),h=a(i(44263)),g=a(i(77371)),v=a(i(68537)),y=a(i(18042)),C=a(i(92553)),b=a(i(39732)),w=a(i(72322)),k=a(i(52998)),S=a(i(93172)),T=a(i(99292)),x=function(t){(0,g.default)(Manager,t);var o=(0,v.default)(Manager);function Manager(){var t;(0,c.default)(this,Manager);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,y.default)((0,m.default)(t),"loadingTriggers",{preview:!1,globals:!1}),(0,y.default)((0,m.default)(t),"variablesCSS",null),t}return(0,d.default)(Manager,[{key:"initialize",value:function initialize(){var t=this;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.hooks.addFilter("controls/base/behaviors",this.addGlobalsBehavior),elementor.config.user.can_edit_kit&&$e.components.register(new C.default({manager:this}))}},{key:"addPanelPages",value:function addPanelPages(){elementor.getPanelView().addPage("kit_settings",{view:b.default,title:r("Site Settings","elementor")}),elementor.getPanelView().addPage("kit_menu",{view:w.default,title:r("Site Settings","elementor")})}},{key:"addPanelMenuItem",value:function addPanelMenuItem(){var t=elementor.modules.layouts.panel.pages.menu.Menu;t.addItem({name:"global-settings",icon:"eicon-global-settings",title:r("Site Settings","elementor"),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:r("Theme Builder","elementor"),type:"page",callback:function callback(){return $e.run("app/open")}},"style","editor-preferences")}},{key:"addHeaderBehavior",value:function addHeaderBehavior(t){return t.kit={behaviorClass:k.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:r("Global Colors","elementor"),manageButtonText:r("Manage Global Colors","elementor"),tooltipText:r("Global Colors help you work smarter. Save a color, and use it anywhere throughout your site. Access and edit your global colors by clicking the Manage button.","elementor"),newGlobalConfirmTitle:r("Create New Global Color","elementor")}),"popover_toggle"===o.options.model.get("type")&&"typography"===o.options.model.get("groupType")&&i&&(t.globals={behaviorClass:S.default,popoverTitle:r("Global Fonts","elementor"),manageButtonText:r("Manage Global Fonts","elementor"),tooltipText:r("Global Fonts help you work smarter. Save a Typography, and use it anywhere throughout your site. Access and edit your Global Fonts by clicking the Manage button.","elementor"),newGlobalConfirmTitle:r("Create New Global Font","elementor")}),t}}},{key:"renderGlobalVariables",value:function renderGlobalVariables(){var t=this;this.variablesCSS||(this.variablesCSS=new T.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,u.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,u.default)(i.typography).forEach((function(o){var i=elementor.config.kit_config.design_system_controls.typography,r=(0,l.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 T.default({id:"e-global-style"}),o=elementor.config.globals.defaults_enabled.colors,i=elementor.config.globals.defaults_enabled.typography;(o||i)&&((0,u.default)(elementor.widgetsCache).forEach((function(r){if(r.controls){var a=[],l={};(0,u.default)(r.controls).forEach((function(t){var u,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===(u=t.global)||void 0===u?void 0:u.default)&&(l[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],l)}))}})),t.addStyleToDocument())}}},{key:"onInit",value:function onInit(){var t=this;(0,p.default)((0,h.default)(Manager.prototype),"onInit",this).call(this),elementorCommon.elements.$window.on("elementor:loaded",(function(){elementor.config.initial_document.panel.support_kit&&t.initialize()}))}}]),Manager}(elementorModules.editor.utils.Module);o.default=x},65085:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},52998:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=i(24743),p=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:"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(m.buttonBack,{Back:r("Back","elementor")})),this.$el.append(elementor.compileTemplate(m.buttonClose,{Close:r("Close","elementor")}))}},{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=p},24743:(t,o,i)=>{"use strict";i(67394)(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'},72322:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(47834)),u=a(i(38923)),c=a(i(11959)),d=a(i(39041)),m=a(i(77371)),p=a(i(68537)),h=function(t){(0,m.default)(PanelMenu,t);var o=(0,p.default)(PanelMenu);function PanelMenu(){return(0,c.default)(this,PanelMenu),o.apply(this,arguments)}return(0,d.default)(PanelMenu,[{key:"initialize",value:function initialize(){this.collection=PanelMenu.getGroups()}}]),PanelMenu}(a(i(86723)).default);o.default=h,h.groups=null,h.createGroupItems=function(t){var o=$e.components.get("panel/global").getTabs();return(0,u.default)(o).filter((function(o){var i=(0,l.default)(o,2),r=(i[0],i[1]);return t===r.group})).map((function(t){var o=(0,l.default)(t,2),i=o[0],r=o[1];return{name:i,icon:r.icon,title:r.title,callback:function callback(){return $e.route("panel/global/"+i)}}}))},h.initGroups=function(){var t=h.createGroupItems("settings"),o={name:"settings-additional-settings",icon:"eicon-tools",title:r("Additional Settings","elementor"),type:"link",link:elementor.config.admin_settings_url,newTab:!0};t.push(o),h.groups=new Backbone.Collection([{name:"design_system",title:r("Design System","elementor"),items:h.createGroupItems("global")},{name:"theme_style",title:r("Theme Style","elementor"),items:h.createGroupItems("theme-style")},{name:"settings",title:r("Settings","elementor"),items:t}])},h.getGroups=function(){return h.groups||h.initGroups(),h.groups}},39732:(t,o,i)=>{"use strict";var r=i(67971)(i(65085));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))}})},51047:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(18194).sprintf,l=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0,i(71954);var u=l(i(11959)),c=l(i(39041)),d=l(i(77371)),m=l(i(68537)),p=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-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"),l="",u="";if(o&&(this.$colorValue=jQuery("<div>",{class:"e-global-colors__color-value elementor-control-unit-3"}),t.$el.find(".elementor-control-input-wrapper").prepend(this.getRemoveButton(),this.$colorValue),l="color",u=r("Color","elementor"),this.updateColorValue()),i&&(t.$el.find(".elementor-control-input-wrapper").append(this.getRemoveButton()),l="font",u=r("Font","elementor")),o||i){var c=this.getDisabledRemoveButtons();this.ui.removeButton.data("e-global-type",l),this.ui.removeButton.tipsy({title:function title(){return a(r("Delete Global %s","elementor"),u)},gravity:function gravity(){return"s"}}),c.tipsy({title:function title(){return a(r("System %s can't be deleted","elementor"),u)},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"),i=r("font"===o?"Font":"Color","elementor"),l=r("font"===o?"font":"color","elementor"),u=a(r("You're about to delete a Global %s. Note that if it's being used anywhere on your site, it will inherit a default %s.","elementor"),i,l);this.confirmDeleteModal=elementorCommon.dialogsManager.createWidget("confirm",{className:"e-global__confirm-delete",headerMessage:a(r("Delete Global %s","elementor"),i),message:'<i class="eicon-info-circle"></i> '+u,strings:{confirm:r("Delete","elementor"),cancel:r("Cancel","elementor")},hide:{onBackgroundClick:!1},onConfirm:function onConfirm(){t.trigger("click:remove")}}),this.confirmDeleteModal.show()}}]),_default}(l(i(98550)).default);o.default=p},21893:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(76700)),d=a(i(44263)),m=a(i(77371)),p=a(i(68537)),h=a(i(1142)),g=a(i(51047)),v=function(t){(0,m.default)(_default,t);var o=(0,p.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))).childView=g.default,t}return(0,u.default)(_default,[{key:"templateHelpers",value:function templateHelpers(){var templateHelpers=(0,c.default)((0,d.default)(_default.prototype),"templateHelpers",this).call(this);return templateHelpers.addButtonText="custom_colors"===this.model.get("name")?r("Add Color","elementor"):r("Add Style","elementor"),templateHelpers}},{key:"getDefaults",value:function getDefaults(){var t=(0,c.default)((0,d.default)(_default.prototype),"getDefaults",this).call(this);return t.title="".concat(r("New Item","elementor")," #").concat(this.children.length+1),t}}]),_default}(h.default);o.default=v},7537:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(74846)),l=r(i(47834)),u=r(i(38923)),c=r(i(11959)),d=r(i(39041)),m=r(i(77371)),p=r(i(68537)),h=function(t){(0,m.default)(_default,t);var o=(0,p.default)(_default);function _default(){return(0,c.default)(this,_default),o.apply(this,arguments)}return(0,d.default)(_default,[{key:"onElementorLoaded",value:function onElementorLoaded(){this.notifyDeprecated()}},{key:"notifyDeprecated",value:function notifyDeprecated(){var t=elementor.config.dev_tools.deprecation.soft_notices;(0,u.default)(t).forEach((function(t){var o,i=(0,l.default)(t,2),r=i[0],u=i[1];(o=elementorCommon.helpers).softDeprecated.apply(o,[r].concat((0,a.default)(u)))}))}}]),_default}(elementorModules.editor.utils.Module);o.default=h},28868:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=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"}},{key:"defaultTabs",value:function defaultTabs(){return{actions:{title:r("Actions","elementor")},revisions:{title:r("Revisions","elementor")}}}},{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}(a(i(15591)).default);o.default=m},84755:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=a(i(15591)),p=r(i(58410)),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},16310:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},8471:t=>{"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)}})},35733:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},48673:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(59396));i(71954);var u=a(i(11959)),c=a(i(39041)),d=a(i(18042)),m=a(i(8471)),p=function(){function HistoryManager(t){(0,u.default)(this,HistoryManager),(0,d.default)(this,"currentItemID",null),(0,d.default)(this,"items",new Backbone.Collection([],{model:m.default})),(0,d.default)(this,"active",!0),(0,d.default)(this,"translations",{add:r("Added","elementor"),change:r("Edited","elementor"),disable:r("Disabled","elementor"),duplicate:r("Duplicate","elementor"),enable:r("Enabled","elementor"),move:r("Moved","elementor"),paste:r("Pasted","elementor"),paste_style:r("Style Pasted","elementor"),remove:r("Removed","elementor"),reset_style:r("Style Reset","elementor"),reset_settings:r("Settings Reset","elementor")}),this.document=t,this.currentItem=new Backbone.Model({id:0})}return(0,c.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:r("Editing Started","elementor"),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 m.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 a=o.get("items").first();if(a.get("restore")){var u="sub-add"===a.get("type")?a.get("data").containerToRestore:a.get("container")||a.get("containers");(0,l.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=p},97789:(t,o,i)=>{"use strict";var r=i(67971);i(78703),i(71954);var a=r(i(35733)),l=r(i(16310));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){var r="elementor-history-item-current";t.currentItem&&t.currentItem.removeClass(r),t.currentItem=i.$el,t.currentItem.addClass(r)}}))},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})}}})},18414:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(28868)),d=a(i(84755)),m=a(i(29153)),p=a(i(17228)),h=function(){function Manager(){(0,l.default)(this,Manager),elementorCommon.elements.$window.on("elementor:loaded",this.init)}return(0,u.default)(Manager,[{key:"init",value:function init(){$e.components.register(new c.default),$e.components.register(new d.default),$e.components.register(new m.default),elementor.on("panel:init",(function(){elementor.getPanelView().addPage("historyPage",{view:p.default,title:r("History","elementor")})}))}},{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=h},17228:(t,o,i)=>{"use strict";var r=i(67971),a=r(i(16779)),l=r(i(58234)),u=r(i(98855)),c=i(97789);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))}})},29138:(t,o,i)=>{"use strict";var r=i(95297);t.exports=Backbone.Collection.extend({model:r,comparator:function comparator(t){return-t.get("timestamp")}})},39667:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Down=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Down=d;var m=d;o.default=m},17302:(t,o,i)=>{"use strict";var r=i(67394);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(39667),l=i(75625)},75625:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.Up=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(68689)).default);o.Up=d;var m=d;o.default=m},29153:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=a(i(15591)),p=r(i(17302)),h=r(i(94367)),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},36235:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.RevisionsAfterSave=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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(91706)).default);o.RevisionsAfterSave=d;var m=d;o.default=m},94367:(t,o,i)=>{"use strict";var r=i(67394);r(o,"__esModule",{value:!0}),r(o,"RevisionsAfterSave",{enumerable:!0,get:function get(){return a.RevisionsAfterSave}});var a=i(36235)},11666:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(18042)),c=i(29138),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},95297:t=>{"use strict";var o;(o=Backbone.Model.extend()).prototype.sync=function(){return null},t.exports=o},98855:t=>{"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-revisions-no-revisions",id:"elementor-panel-revisions-no-revisions",className:"elementor-nerd-box"})},16779:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),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},58234:(t,o,i)=>{"use strict";t.exports=Marionette.CompositeView.extend({id:"elementor-panel-revisions",template:"#tmpl-elementor-panel-revisions",childView:i(92561),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)}})},92561:t=>{"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"}})},35102:(t,o,i)=>{"use strict";var r=i(52369),a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=r(i(70737)),p=function(t){(0,c.default)(LandingPageComponent,t);var o=(0,d.default)(LandingPageComponent);function LandingPageComponent(){return(0,l.default)(this,LandingPageComponent),o.apply(this,arguments)}return(0,u.default)(LandingPageComponent,[{key:"getNamespace",value:function getNamespace(){return"document/landing-page"}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(m)}}]),LandingPageComponent}($e.modules.ComponentBase);o.default=p},70737:(t,o,i)=>{"use strict";var r=i(67394);r(o,"__esModule",{value:!0}),r(o,"LandingPageAddLibraryTab",{enumerable:!0,get:function get(){return a.LandingPageAddLibraryTab}}),r(o,"LandingPageRemoveLibraryTab",{enumerable:!0,get:function get(){return l.LandingPageRemoveLibraryTab}});var a=i(78392),l=i(57254)},57254:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.LandingPageRemoveLibraryTab=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=function(t){(0,u.default)(LandingPageRemoveLibraryTab,t);var o=(0,c.default)(LandingPageRemoveLibraryTab);function LandingPageRemoveLibraryTab(){return(0,a.default)(this,LandingPageRemoveLibraryTab),o.apply(this,arguments)}return(0,l.default)(LandingPageRemoveLibraryTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/unload"}},{key:"getId",value:function getId(){return"elementor-landing-pages-remove-library-tab"}},{key:"getConditions",value:function getConditions(t){return"landing-page"===t.document.config.type}},{key:"apply",value:function apply(){$e.components.get("library").removeTab("templates/landing-pages"),$e.components.get("library").addTab("templates/pages")}}]),LandingPageRemoveLibraryTab}($e.modules.hookUI.After);o.LandingPageRemoveLibraryTab=d;var m=d;o.default=m},78392:(t,o,i)=>{"use strict";var r=i(18194).__,a=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=o.LandingPageAddLibraryTab=void 0;var l=a(i(11959)),u=a(i(39041)),c=a(i(77371)),d=a(i(68537)),m=function(t){(0,c.default)(LandingPageAddLibraryTab,t);var o=(0,d.default)(LandingPageAddLibraryTab);function LandingPageAddLibraryTab(){return(0,l.default)(this,LandingPageAddLibraryTab),o.apply(this,arguments)}return(0,u.default)(LandingPageAddLibraryTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"elementor-landing-pages-add-library-tab"}},{key:"getConditions",value:function getConditions(t){return"landing-page"===elementor.documents.get(t.id).config.type}},{key:"apply",value:function apply(){$e.components.get("library").addTab("templates/landing-pages",{title:r("Landing Pages","elementor"),filter:{source:"remote",type:"lp"}},2),$e.components.get("library").removeTab("templates/pages")}}]),LandingPageAddLibraryTab}($e.modules.hookUI.After);o.LandingPageAddLibraryTab=m;var p=m;o.default=p},69994:(t,o,i)=>{"use strict";var r=i(67971);i(67394)(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(11959)),l=r(i(39041)),u=r(i(77371)),c=r(i(68537)),d=r(i(35102)),m=function(t){(0,u.default)(LandingPageLibraryModule,t);var o=(0,c.default)(LandingPageLibraryModule);function LandingPageLibraryModule(){return(0,a.default)(this,LandingPageLibraryModule),o.apply(this,arguments)}return(0,l.default)(LandingPageLibraryModule,[{key:"onElementorLoaded",value:function onElementorLoaded(){this.component=$e.components.register(new d.default({manager:this}))}}]),LandingPageLibraryModule}(elementorModules.editor.utils.Module);o.default=m},22761:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},42094:(t,o,i)=>{var r=i(62190)("unscopables"),a=Array.prototype;null==a[r]&&i(74216)(a,r,{}),t.exports=function(t){a[r][t]=!0}},88492:(t,o,i)=>{"use strict";var r=i(12070)(!0);t.exports=function(t,o,i){return o+(i?r(t,o).length:1)}},35824:t=>{t.exports=function(t,o,i,r){if(!(t instanceof o)||void 0!==r&&r in t)throw TypeError(i+": incorrect invocation!");return t}},6365:(t,o,i)=>{var r=i(67334);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},59021:(t,o,i)=>{var r=i(15703),a=i(26078),l=i(78615);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}}},78309:(t,o,i)=>{var r=i(11528),a=i(8467),l=i(26033),u=i(26078),c=i(63531);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),T=u(k.length),x=0,M=i?v(o,T):d?v(o,0):void 0;T>x;x++)if((g||x in k)&&(b=S(C=k[x],x,w),t))if(i)M[x]=b;else if(b)switch(t){case 3:return!0;case 5:return C;case 6:return x;case 2:M.push(C)}else if(p)return!1;return h?-1:m||p?p:M}}},81071:(t,o,i)=>{var r=i(67334),a=i(99141),l=i(62190)("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}},63531:(t,o,i)=>{var r=i(81071);t.exports=function(t,o){return new(r(t))(o)}},20106:(t,o,i)=>{var r=i(26688),a=i(62190)("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}},26688:t=>{var o={}.toString;t.exports=function(t){return o.call(t).slice(8,-1)}},60066:t=>{var o=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=o)},11528:(t,o,i)=>{var r=i(22761);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)}}},61622:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},36628:(t,o,i)=>{t.exports=!i(48625)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},5050:(t,o,i)=>{var r=i(67334),a=i(38113).document,l=r(a)&&r(a.createElement);t.exports=function(t){return l?a.createElement(t):{}}},33603:t=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},65772:(t,o,i)=>{var r=i(38113),a=i(60066),l=i(74216),u=i(17738),c=i(11528),$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},86570:(t,o,i)=>{var r=i(62190)("match");t.exports=function(t){var o=/./;try{"/./"[t](o)}catch(i){try{return o[r]=!1,!"/./"[t](o)}catch(t){}}return!0}},48625:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},48897:(t,o,i)=>{"use strict";i(25846);var r=i(17738),a=i(74216),l=i(48625),u=i(61622),c=i(62190),d=i(43288),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)})}}},74859:(t,o,i)=>{"use strict";var r=i(6365);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}},91891:(t,o,i)=>{var r=i(11528),a=i(33221),l=i(28908),u=i(6365),c=i(26078),d=i(7107),m={},p={},h=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};h.BREAK=m,h.RETURN=p},20646:(t,o,i)=>{t.exports=i(8655)("native-function-to-string",Function.toString)},38113:t=>{var o=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},54040:t=>{var o={}.hasOwnProperty;t.exports=function(t,i){return o.call(t,i)}},74216:(t,o,i)=>{var r=i(98558),a=i(36061);t.exports=i(36628)?function(t,o,i){return r.f(t,o,a(1,i))}:function(t,o,i){return t[o]=i,t}},8954:(t,o,i)=>{var r=i(38113).document;t.exports=r&&r.documentElement},5100:(t,o,i)=>{t.exports=!i(36628)&&!i(48625)((function(){return 7!=Object.defineProperty(i(5050)("div"),"a",{get:function(){return 7}}).a}))},18938:(t,o,i)=>{var r=i(67334),a=i(86095).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}},97757:t=>{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)}},8467:(t,o,i)=>{var r=i(26688);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},28908:(t,o,i)=>{var r=i(23988),a=i(62190)("iterator"),l=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||l[a]===t)}},99141:(t,o,i)=>{var r=i(26688);t.exports=Array.isArray||function isArray(t){return"Array"==r(t)}},67334:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},94587:(t,o,i)=>{var r=i(67334),a=i(26688),l=i(62190)("match");t.exports=function(t){var o;return r(t)&&(void 0!==(o=t[l])?!!o:"RegExp"==a(t))}},33221:(t,o,i)=>{var r=i(6365);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}}},46445:(t,o,i)=>{"use strict";var r=i(82897),a=i(36061),l=i(55727),u={};i(74216)(u,i(62190)("iterator"),(function(){return this})),t.exports=function(t,o,i){t.prototype=r(u,{next:a(1,i)}),l(t,o+" Iterator")}},61195:(t,o,i)=>{"use strict";var r=i(81422),a=i(65772),l=i(17738),u=i(74216),c=i(23988),d=i(46445),m=i(55727),p=i(19002),h=i(62190)("iterator"),g=!([].keys&&"next"in[].keys()),v="keys",y="values",returnThis=function(){return this};t.exports=function(t,o,i,C,b,w,k){d(i,o,C);var S,T,x,getMethod=function(t){if(!g&&t in P)return P[t];switch(t){case v:return function keys(){return new i(this,t)};case y:return function values(){return new i(this,t)}}return function entries(){return new i(this,t)}},M=o+" Iterator",I=b==y,E=!1,P=t.prototype,D=P[h]||P["@@iterator"]||b&&P[b],R=D||getMethod(b),V=b?I?getMethod("entries"):R:void 0,A="Array"==o&&P.entries||D;if(A&&(x=p(A.call(new t)))!==Object.prototype&&x.next&&(m(x,M,!0),r||"function"==typeof x[h]||u(x,h,returnThis)),I&&D&&D.name!==y&&(E=!0,R=function values(){return D.call(this)}),r&&!k||!g&&!E&&P[h]||u(P,h,R),c[o]=R,c[M]=returnThis,b)if(S={values:I?R:getMethod(y),keys:w?R:getMethod(v),entries:V},k)for(T in S)T in P||l(P,T,S[T]);else a(a.P+a.F*(g||E),o,S);return S}},73143:(t,o,i)=>{var r=i(62190)("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}},35038:t=>{t.exports=function(t,o){return{value:o,done:!!t}}},23988:t=>{t.exports={}},81422:t=>{t.exports=!1},63492:(t,o,i)=>{var r=i(38113),a=i(59124).set,l=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,d="process"==i(26688)(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}}},58577:(t,o,i)=>{"use strict";var r=i(22761);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)}},82897:(t,o,i)=>{var r=i(6365),a=i(7331),l=i(33603),u=i(28034)("IE_PROTO"),Empty=function(){},createDict=function(){var t,o=i(5050)("iframe"),r=l.length;for(o.style.display="none",i(8954).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)}},98558:(t,o,i)=>{var r=i(6365),a=i(5100),l=i(31382),u=Object.defineProperty;o.f=i(36628)?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}},7331:(t,o,i)=>{var r=i(98558),a=i(6365),l=i(42912);t.exports=i(36628)?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}},94662:(t,o,i)=>{var r=i(65873),a=i(36061),l=i(15703),u=i(31382),c=i(54040),d=i(5100),m=Object.getOwnPropertyDescriptor;o.f=i(36628)?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])}},76604:(t,o,i)=>{var r=i(75547),a=i(33603).concat("length","prototype");o.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return r(t,a)}},19002:(t,o,i)=>{var r=i(54040),a=i(26033),l=i(28034)("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}},75547:(t,o,i)=>{var r=i(54040),a=i(15703),l=i(59021)(!1),u=i(28034)("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}},42912:(t,o,i)=>{var r=i(75547),a=i(33603);t.exports=Object.keys||function keys(t){return r(t,a)}},65873:(t,o)=>{o.f={}.propertyIsEnumerable},99739:t=>{t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},2070:(t,o,i)=>{var r=i(6365),a=i(67334),l=i(58577);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}},36061:t=>{t.exports=function(t,o){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:o}}},72243:(t,o,i)=>{var r=i(17738);t.exports=function(t,o,i){for(var a in o)r(t,a,o[a],i);return t}},17738:(t,o,i)=>{var r=i(38113),a=i(74216),l=i(54040),u=i(25078)("src"),c=i(20646),d="toString",m=(""+c).split(d);i(60066).inspectSource=function(t){return c.call(t)},(t.exports=function(t,o,i,c){var d="function"==typeof i;d&&(l(i,"name")||a(i,"name",o)),t[o]!==i&&(d&&(l(i,u)||a(i,u,t[o]?""+t[o]:m.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,d,(function toString(){return"function"==typeof this&&this[u]||c.call(this)}))},62404:(t,o,i)=>{"use strict";var r=i(20106),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)}},43288:(t,o,i)=>{"use strict";var r,a,l=i(74859),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},80339:t=>{t.exports=Object.is||function is(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}},86095:(t,o,i)=>{var r=i(67334),a=i(6365),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(11528)(Function.call,i(94662).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}},49766:(t,o,i)=>{"use strict";var r=i(38113),a=i(98558),l=i(36628),u=i(62190)("species");t.exports=function(t){var o=r[t];l&&o&&!o[u]&&a.f(o,u,{configurable:!0,get:function(){return this}})}},55727:(t,o,i)=>{var r=i(98558).f,a=i(54040),l=i(62190)("toStringTag");t.exports=function(t,o,i){t&&!a(t=i?t:t.prototype,l)&&r(t,l,{configurable:!0,value:o})}},28034:(t,o,i)=>{var r=i(8655)("keys"),a=i(25078);t.exports=function(t){return r[t]||(r[t]=a(t))}},8655:(t,o,i)=>{var r=i(60066),a=i(38113),l="__core-js_shared__",u=a[l]||(a[l]={});(t.exports=function(t,o){return u[t]||(u[t]=void 0!==o?o:{})})("versions",[]).push({version:r.version,mode:i(81422)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},11987:(t,o,i)=>{var r=i(6365),a=i(22761),l=i(62190)("species");t.exports=function(t,o){var i,u=r(t).constructor;return void 0===u||null==(i=r(u)[l])?o:a(i)}},12070:(t,o,i)=>{var r=i(3338),a=i(61622);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}}},465:(t,o,i)=>{var r=i(94587),a=i(61622);t.exports=function(t,o,i){if(r(o))throw TypeError("String#"+i+" doesn't accept regex!");return String(a(t))}},65776:(t,o,i)=>{var r=i(65772),a=i(48625),l=i(61622),u=/"/g,createHTML=function(t,o,i,r){var a=String(l(t)),c="<"+o;return""!==i&&(c+=" "+i+'="'+String(r).replace(u,""")+'"'),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)}},8487:(t,o,i)=>{var r=i(65772),a=i(61622),l=i(48625),u=i(38021),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},38021:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},59124:(t,o,i)=>{var r,a,l,u=i(11528),c=i(97757),d=i(8954),m=i(5050),p=i(38113),h=p.process,g=p.setImmediate,v=p.clearImmediate,y=p.MessageChannel,C=p.Dispatch,b=0,w={},k="onreadystatechange",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(26688)(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=k 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}},78615:(t,o,i)=>{var r=i(3338),a=Math.max,l=Math.min;t.exports=function(t,o){return(t=r(t))<0?a(t+o,0):l(t,o)}},3338:t=>{var o=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:o)(t)}},15703:(t,o,i)=>{var r=i(8467),a=i(61622);t.exports=function(t){return r(a(t))}},26078:(t,o,i)=>{var r=i(3338),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},26033:(t,o,i)=>{var r=i(61622);t.exports=function(t){return Object(r(t))}},31382:(t,o,i)=>{var r=i(67334);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")}},25078:t=>{var o=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++o+i).toString(36))}},45822:(t,o,i)=>{var r=i(38113).navigator;t.exports=r&&r.userAgent||""},62190:(t,o,i)=>{var r=i(8655)("wks"),a=i(25078),l=i(38113).Symbol,u="function"==typeof l;(t.exports=function(t){return r[t]||(r[t]=u&&l[t]||(u?l:a)("Symbol."+t))}).store=r},7107:(t,o,i)=>{var r=i(20106),a=i(62190)("iterator"),l=i(23988);t.exports=i(60066).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||l[r(t)]}},78703:(t,o,i)=>{"use strict";var r=i(65772),a=i(78309)(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(42094)(l)},71954:(t,o,i)=>{"use strict";var r=i(65772),a=i(78309)(5),l="find",u=!0;l in[]&&Array(1).find((function(){u=!1})),r(r.P+r.F*u,"Array",{find:function find(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),i(42094)(l)},12897:(t,o,i)=>{"use strict";var r=i(42094),a=i(35038),l=i(23988),u=i(15703);t.exports=i(61195)(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")},99745:(t,o,i)=>{var r=i(98558).f,a=Function.prototype,l=/^\s*function ([^ (]*)/,u="name";u in a||i(36628)&&r(a,u,{configurable:!0,get:function(){try{return(""+this).match(l)[1]}catch(t){return""}}})},36349:(t,o,i)=>{"use strict";var r=i(38113),a=i(54040),l=i(26688),u=i(18938),c=i(31382),d=i(48625),m=i(76604).f,p=i(94662).f,h=i(98558).f,g=i(8487).trim,v="Number",y=r.Number,C=y,b=y.prototype,w=l(i(82897)(b))==v,k="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=k?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(!y(" 0o1")||!y("0b1")||y("+0x1")){y=function Number(t){var o=arguments.length<1?0:t,i=this;return i instanceof y&&(w?d((function(){b.valueOf.call(i)})):l(i)!=v)?u(new C(toNumber(o)),i,y):toNumber(o)};for(var S,T=i(36628)?m(C):"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;T.length>x;x++)a(C,S=T[x])&&!a(y,S)&&h(y,S,p(C,S));y.prototype=b,b.constructor=y,i(17738)(r,v,y)}},76139:(t,o,i)=>{"use strict";var r=i(20106),a={};a[i(62190)("toStringTag")]="z",a+""!="[object z]"&&i(17738)(Object.prototype,"toString",(function toString(){return"[object "+r(this)+"]"}),!0)},2235:(t,o,i)=>{"use strict";var r,a,l,u,c=i(81422),d=i(38113),m=i(11528),p=i(20106),h=i(65772),g=i(67334),v=i(22761),y=i(35824),C=i(91891),b=i(11987),w=i(59124).set,k=i(63492)(),S=i(58577),T=i(99739),x=i(45822),M=i(2070),I="Promise",E=d.TypeError,P=d.process,D=P&&P.versions,R=D&&D.v8||"",V=d.Promise,A="process"==p(P),empty=function(){},O=a=S.f,$=!!function(){try{var t=V.resolve(1),o=(t.constructor={})[i(62190)("species")]=function(t){t(empty,empty)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(empty)instanceof o&&0!==R.indexOf("6.6")&&-1===x.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(E("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=T((function(){A?P.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=A||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;A?P.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 E("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)}}};$||(V=function Promise(t){y(this,V,I,"_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(72243)(V.prototype,{then:function then(t,o){var i=O(b(this,V));return i.ok="function"!=typeof t||t,i.fail="function"==typeof o&&o,i.domain=A?P.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&¬ify(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=O=function(t){return t===V||t===u?new l(t):a(t)}),h(h.G+h.W+h.F*!$,{Promise:V}),i(55727)(V,I),i(49766)(I),u=i(60066).Promise,h(h.S+h.F*!$,I,{reject:function reject(t){var o=O(this);return(0,o.reject)(t),o.promise}}),h(h.S+h.F*(c||!$),I,{resolve:function resolve(t){return M(c&&this===u?V:this,t)}}),h(h.S+h.F*!($&&i(73143)((function(t){V.all(t).catch(empty)}))),I,{all:function all(t){var o=this,i=O(o),r=i.resolve,a=i.reject,l=T((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=O(o),r=i.reject,a=T((function(){C(t,!1,(function(t){o.resolve(t).then(i.resolve,r)}))}));return a.e&&r(a.v),i.promise}})},55506:(t,o,i)=>{var r=i(38113),a=i(18938),l=i(98558).f,u=i(76604).f,c=i(94587),d=i(74859),m=r.RegExp,p=m,h=m.prototype,g=/a/g,v=/a/g,y=new m(g)!==g;if(i(36628)&&(!y||i(48625)((function(){return v[i(62190)("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(17738)(r,"RegExp",m)}i(49766)("RegExp")},25846:(t,o,i)=>{"use strict";var r=i(43288);i(65772)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},40751:(t,o,i)=>{i(36628)&&"g"!=/./g.flags&&i(98558).f(RegExp.prototype,"flags",{configurable:!0,get:i(74859)})},64828:(t,o,i)=>{"use strict";var r=i(6365),a=i(26078),l=i(88492),u=i(62404);i(48897)("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}]}))},84208:(t,o,i)=>{"use strict";var r=i(6365),a=i(26033),l=i(26078),u=i(3338),c=i(88492),d=i(62404),m=Math.max,p=Math.min,h=Math.floor,g=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g;i(48897)("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,T="",x=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>=x&&(T+=g.slice(x,E)+A,x=E+I.length)}return T+g.slice(x)}];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}))}}))},42679:(t,o,i)=>{"use strict";var r=i(6365),a=i(80339),l=i(62404);i(48897)("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}]}))},99236:(t,o,i)=>{"use strict";var r=i(94587),a=i(6365),l=i(11987),u=i(88492),c=i(26078),d=i(62404),m=i(43288),p=i(48625),h=Math.min,g=[].push,v=4294967295,y=!p((function(){RegExp(v,"y")}));i(48897)("split",2,(function(t,o,i,p){var C;return C="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?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?v: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.length>1&&l.index<a.length&&g.apply(d,l.slice(1)),c=l[0].length,h=u,d.length>=y));)C.lastIndex===l.index&&C.lastIndex++;return h===a.length?!c&&C.test("")||d.push(""):d.push(a.slice(h)),d.length>y?d.slice(0,y):d}:"0".split(void 0,0).length?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),b=l(m,RegExp),w=m.unicode,k=(m.ignoreCase?"i":"")+(m.multiline?"m":"")+(m.unicode?"u":"")+(y?"y":"g"),S=new b(y?m:"^(?:"+m.source+")",k),T=void 0===o?v:o>>>0;if(0===T)return[];if(0===g.length)return null===d(S,g)?[g]:[];for(var x=0,M=0,I=[];M<g.length;){S.lastIndex=y?M:0;var E,P=d(S,y?g:g.slice(M));if(null===P||(E=h(c(S.lastIndex+(y?0:M)),g.length))===x)M=u(g,M,w);else{if(I.push(g.slice(x,M)),I.length===T)return I;for(var D=1;D<=P.length-1;D++)if(I.push(P[D]),I.length===T)return I;M=x=E}}return I.push(g.slice(x)),I}]}))},44321:(t,o,i)=>{"use strict";i(40751);var r=i(6365),a=i(74859),l=i(36628),u="toString",c=/./.toString,define=function(t){i(17738)(RegExp.prototype,u,t,!0)};i(48625)((function(){return"/a/b"!=c.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)})):c.name!=u&&define((function toString(){return c.call(this)}))},3777:(t,o,i)=>{"use strict";var r=i(65772),a=i(465),l="includes";r(r.P+r.F*i(86570)(l),"String",{includes:function includes(t){return!!~a(this,t,l).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},37472:(t,o,i)=>{"use strict";var r=i(12070)(!0);i(61195)(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})}))},5251:(t,o,i)=>{"use strict";i(65776)("link",(function(t){return function link(o){return t(this,"a","href",o)}}))},65942:(t,o,i)=>{"use strict";var r=i(65772),a=i(26078),l=i(465),u="startsWith",c="".startsWith;r(r.P+r.F*i(86570)(u),"String",{startsWith:function startsWith(t){var o=l(this,t,u),i=a(Math.min(arguments.length>1?arguments[1]:void 0,o.length)),r=String(t);return c?c.call(o,r,i):o.slice(i,i+r.length)===r}})},38081:(t,o,i)=>{"use strict";var r=i(65772),a=i(59021)(!0);r(r.P,"Array",{includes:function includes(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),i(42094)("includes")},6632:(t,o,i)=>{"use strict";var r=i(65772),a=i(60066),l=i(38113),u=i(11987),c=i(2070);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)}})},93085:(t,o,i)=>{for(var r=i(12897),a=i(42912),l=i(17738),u=i(38113),c=i(74216),d=i(23988),m=i(62190),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],T=S&&S.prototype;if(T&&(T[p]||c(T,p,g),T[h]||c(T,h,w),d[w]=g,k))for(b in r)T[b]||l(T,b,r[b],!0)}},58772:(t,o,i)=>{"use strict";var r=i(90331);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}},23615:(t,o,i)=>{t.exports=i(58772)()},90331:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86248:t=>{var o=function(t){"use strict";var o,i=Object.prototype,r=i.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.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=d;return function invoke(a,l){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===a)throw l;return doneResult()}for(i.method=a,i.arg=l;;){var u=i.delegate;if(u){var c=maybeInvokeDelegate(u,i);if(c){if(c===g)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===d)throw r=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=p;var v=tryCatch(t,o,i);if("normal"===v.type){if(r=i.done?h:m,v.arg===g)continue;return{value:v.arg,done:i.done}}"throw"===v.type&&(r=h,i.method="throw",i.arg=v.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 d="suspendedStart",m="suspendedYield",p="executing",h="completed",g={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var v={};v[l]=function(){return this};var y=Object.getPrototypeOf,C=y&&y(y(values([])));C&&C!==i&&r.call(C,l)&&(v=C);var b=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(v);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,a,l,u){var c=tryCatch(t[i],t,a);if("throw"!==c.type){var d=c.arg,m=d.value;return m&&"object"==typeof m&&r.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)}var i;this._invoke=function enqueue(t,r){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,r,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(t,i){var r=t.iterator[i.method];if(r===o){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=o,maybeInvokeDelegate(t,i),"throw"===i.method))return g;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var a=tryCatch(r,t.iterator,i.arg);if("throw"===a.type)return i.method="throw",i.arg=a.arg,i.delegate=null,g;var l=a.arg;return l?l.done?(i[t.resultName]=l.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=o),i.delegate=null,g):l:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g)}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 i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,u=function next(){for(;++a<t.length;)if(r.call(t,a))return next.value=t[a],next.done=!1,next;return next.value=o,next.done=!0,next};return u.next=u}}return{next:doneResult}}function doneResult(){return{value:o,done:!0}}return GeneratorFunction.prototype=b.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName=define(GeneratorFunctionPrototype,c,"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,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),AsyncIterator.prototype[u]=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(b),define(b,c,"Generator"),b[l]=function(){return this},b.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=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(resetTryEntry),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=o)},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 i=this;function handle(r,a){return u.type="throw",u.arg=t,i.next=r,a&&(i.method="next",i.arg=o),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a],u=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var c=r.call(l,"catchLoc"),d=r.call(l,"finallyLoc");if(c&&d){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0);if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}else if(c){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}}}},abrupt:function(t,o){for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&r.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,g):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),g},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),g}},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,i,r){return this.delegate={iterator:values(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=o),g}},t}(t.exports);try{regeneratorRuntime=o}catch(t){Function("r","regeneratorRuntime = r")(o)}},63804:t=>{"use strict";t.exports=React},27196:t=>{"use strict";t.exports=ReactDOM},18194:t=>{"use strict";t.exports=wp.i18n}},o={};function __webpack_require__(i){if(o[i])return o[i].exports;var r=o[i]={exports:{}};return t[i](r,r.exports,__webpack_require__),r.exports}__webpack_require__(30122),__webpack_require__(85116),__webpack_require__(13021)})();