PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.6
Elementor Website Builder – more than just a page builder v3.0.6
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | assets/js/frontend.js +9338 -1873 4.2.23.0.6 View file →
@@ -1,1777 +1,4682 @@
1 -"use strict";
2 -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend"],{
1 +/*! elementor - v3.0.6 - 06-09-2020 */
2 +/******/ (function(modules) { // webpackBootstrap
3 +/******/ // The module cache
4 +/******/ var installedModules = {};
5 +/******/
6 +/******/ // The require function
7 +/******/ function __webpack_require__(moduleId) {
8 +/******/
9 +/******/ // Check if module is in cache
10 +/******/ if(installedModules[moduleId]) {
11 +/******/ return installedModules[moduleId].exports;
12 +/******/ }
13 +/******/ // Create a new module (and put it into the cache)
14 +/******/ var module = installedModules[moduleId] = {
15 +/******/ i: moduleId,
16 +/******/ l: false,
17 +/******/ exports: {}
18 +/******/ };
19 +/******/
20 +/******/ // Execute the module function
21 +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22 +/******/
23 +/******/ // Flag the module as loaded
24 +/******/ module.l = true;
25 +/******/
26 +/******/ // Return the exports of the module
27 +/******/ return module.exports;
28 +/******/ }
29 +/******/
30 +/******/
31 +/******/ // expose the modules object (__webpack_modules__)
32 +/******/ __webpack_require__.m = modules;
33 +/******/
34 +/******/ // expose the module cache
35 +/******/ __webpack_require__.c = installedModules;
36 +/******/
37 +/******/ // define getter function for harmony exports
38 +/******/ __webpack_require__.d = function(exports, name, getter) {
39 +/******/ if(!__webpack_require__.o(exports, name)) {
40 +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41 +/******/ }
42 +/******/ };
43 +/******/
44 +/******/ // define __esModule on exports
45 +/******/ __webpack_require__.r = function(exports) {
46 +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47 +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48 +/******/ }
49 +/******/ Object.defineProperty(exports, '__esModule', { value: true });
50 +/******/ };
51 +/******/
52 +/******/ // create a fake namespace object
53 +/******/ // mode & 1: value is a module id, require it
54 +/******/ // mode & 2: merge all properties of value into the ns
55 +/******/ // mode & 4: return value when already ns object
56 +/******/ // mode & 8|1: behave like require
57 +/******/ __webpack_require__.t = function(value, mode) {
58 +/******/ if(mode & 1) value = __webpack_require__(value);
59 +/******/ if(mode & 8) return value;
60 +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61 +/******/ var ns = Object.create(null);
62 +/******/ __webpack_require__.r(ns);
63 +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64 +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65 +/******/ return ns;
66 +/******/ };
67 +/******/
68 +/******/ // getDefaultExport function for compatibility with non-harmony modules
69 +/******/ __webpack_require__.n = function(module) {
70 +/******/ var getter = module && module.__esModule ?
71 +/******/ function getDefault() { return module['default']; } :
72 +/******/ function getModuleExports() { return module; };
73 +/******/ __webpack_require__.d(getter, 'a', getter);
74 +/******/ return getter;
75 +/******/ };
76 +/******/
77 +/******/ // Object.prototype.hasOwnProperty.call
78 +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79 +/******/
80 +/******/ // __webpack_public_path__
81 +/******/ __webpack_require__.p = "";
82 +/******/
83 +/******/
84 +/******/ // Load entry module and return exports
85 +/******/ return __webpack_require__(__webpack_require__.s = 785);
86 +/******/ })
87 +/************************************************************************/
88 +/******/ ([
89 +/* 0 */
90 +/***/ (function(module, exports) {
3 91
4 -/***/ "../assets/dev/js/frontend/documents-manager.js":
5 -/*!******************************************************!*\
6 - !*** ../assets/dev/js/frontend/documents-manager.js ***!
7 - \******************************************************/
8 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
92 +function _interopRequireDefault(obj) {
93 + return obj && obj.__esModule ? obj : {
94 + "default": obj
95 + };
96 +}
9 97
98 +module.exports = _interopRequireDefault;
10 99
100 +/***/ }),
101 +/* 1 */
102 +/***/ (function(module, exports, __webpack_require__) {
11 103
12 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
13 -Object.defineProperty(exports, "__esModule", ({
14 - value: true
15 -}));
16 -exports["default"] = void 0;
17 -var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js"));
18 -class _default extends elementorModules.ViewModule {
19 - constructor(...args) {
20 - super(...args);
21 - this.documents = {};
22 - this.initDocumentClasses();
23 - this.attachDocumentsClasses();
104 +module.exports = __webpack_require__(156);
105 +
106 +/***/ }),
107 +/* 2 */
108 +/***/ (function(module, exports) {
109 +
110 +function _classCallCheck(instance, Constructor) {
111 + if (!(instance instanceof Constructor)) {
112 + throw new TypeError("Cannot call a class as a function");
24 113 }
25 - getDefaultSettings() {
26 - return {
27 - selectors: {
28 - document: '.elementor'
29 - }
30 - };
114 +}
115 +
116 +module.exports = _classCallCheck;
117 +
118 +/***/ }),
119 +/* 3 */
120 +/***/ (function(module, exports, __webpack_require__) {
121 +
122 +var _Object$defineProperty = __webpack_require__(1);
123 +
124 +function _defineProperties(target, props) {
125 + for (var i = 0; i < props.length; i++) {
126 + var descriptor = props[i];
127 + descriptor.enumerable = descriptor.enumerable || false;
128 + descriptor.configurable = true;
129 + if ("value" in descriptor) descriptor.writable = true;
130 +
131 + _Object$defineProperty(target, descriptor.key, descriptor);
31 132 }
32 - getDefaultElements() {
33 - const selectors = this.getSettings('selectors');
34 - return {
35 - $documents: jQuery(selectors.document)
36 - };
133 +}
134 +
135 +function _createClass(Constructor, protoProps, staticProps) {
136 + if (protoProps) _defineProperties(Constructor.prototype, protoProps);
137 + if (staticProps) _defineProperties(Constructor, staticProps);
138 + return Constructor;
139 +}
140 +
141 +module.exports = _createClass;
142 +
143 +/***/ }),
144 +/* 4 */
145 +/***/ (function(module, exports, __webpack_require__) {
146 +
147 +var _Object$create = __webpack_require__(138);
148 +
149 +var setPrototypeOf = __webpack_require__(136);
150 +
151 +function _inherits(subClass, superClass) {
152 + if (typeof superClass !== "function" && superClass !== null) {
153 + throw new TypeError("Super expression must either be null or a function");
37 154 }
38 - initDocumentClasses() {
39 - this.documentClasses = {
40 - base: _document.default
41 - };
42 - elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
43 - }
44 - addDocumentClass(documentType, documentClass) {
45 - this.documentClasses[documentType] = documentClass;
46 - }
47 - attachDocumentsClasses() {
48 - this.elements.$documents.each((index, document) => this.attachDocumentClass(jQuery(document)));
49 - }
50 - attachDocumentClass($document) {
51 - const documentData = $document.data(),
52 - documentID = documentData.elementorId,
53 - documentType = documentData.elementorType,
54 - DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
55 - this.documents[documentID] = new DocumentClass({
56 - $element: $document,
57 - id: documentID
58 - });
59 - }
155 +
156 + subClass.prototype = _Object$create(superClass && superClass.prototype, {
157 + constructor: {
158 + value: subClass,
159 + writable: true,
160 + configurable: true
161 + }
162 + });
163 + if (superClass) setPrototypeOf(subClass, superClass);
60 164 }
61 -exports["default"] = _default;
62 165
166 +module.exports = _inherits;
167 +
63 168 /***/ }),
169 +/* 5 */
170 +/***/ (function(module, exports, __webpack_require__) {
64 171
65 -/***/ "../assets/dev/js/frontend/elements-handlers-manager.js":
66 -/*!**************************************************************!*\
67 - !*** ../assets/dev/js/frontend/elements-handlers-manager.js ***!
68 - \**************************************************************/
69 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
172 +var _Reflect$construct = __webpack_require__(107);
70 173
174 +var getPrototypeOf = __webpack_require__(16);
71 175
176 +var isNativeReflectConstruct = __webpack_require__(148);
72 177
73 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
74 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
75 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
76 -var _global = _interopRequireDefault(__webpack_require__(/*! ./handlers/global */ "../assets/dev/js/frontend/handlers/global.js"));
77 -var _container = _interopRequireDefault(__webpack_require__(/*! ./handlers/container/container */ "../assets/dev/js/frontend/handlers/container/container.js"));
78 -var _section = _interopRequireDefault(__webpack_require__(/*! ./handlers/section/section */ "../assets/dev/js/frontend/handlers/section/section.js"));
79 -var _column = _interopRequireDefault(__webpack_require__(/*! ./handlers/column */ "../assets/dev/js/frontend/handlers/column.js"));
80 -/* global elementorFrontendConfig */
178 +var possibleConstructorReturn = __webpack_require__(171);
81 179
82 -module.exports = function ($) {
83 - const handlersInstances = {};
84 - this.elementsHandlers = {
85 - 'accordion.default': () => __webpack_require__.e(/*! import() | accordion */ "accordion").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/accordion */ "../assets/dev/js/frontend/handlers/accordion.js")),
86 - 'alert.default': () => __webpack_require__.e(/*! import() | alert */ "alert").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/alert */ "../assets/dev/js/frontend/handlers/alert.js")),
87 - 'counter.default': () => __webpack_require__.e(/*! import() | counter */ "counter").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/counter */ "../assets/dev/js/frontend/handlers/counter.js")),
88 - 'progress.default': () => __webpack_require__.e(/*! import() | progress */ "progress").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/progress */ "../assets/dev/js/frontend/handlers/progress.js")),
89 - 'tabs.default': () => __webpack_require__.e(/*! import() | tabs */ "tabs").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/tabs */ "../assets/dev/js/frontend/handlers/tabs.js")),
90 - 'toggle.default': () => __webpack_require__.e(/*! import() | toggle */ "toggle").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/toggle */ "../assets/dev/js/frontend/handlers/toggle.js")),
91 - 'video.default': () => __webpack_require__.e(/*! import() | video */ "video").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/video */ "../assets/dev/js/frontend/handlers/video.js")),
92 - 'image-carousel.default': () => __webpack_require__.e(/*! import() | image-carousel */ "image-carousel").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/image-carousel */ "../assets/dev/js/frontend/handlers/image-carousel.js")),
93 - 'text-editor.default': () => __webpack_require__.e(/*! import() | text-editor */ "text-editor").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-editor */ "../assets/dev/js/frontend/handlers/text-editor.js")),
94 - 'wp-widget-media_audio.default': () => __webpack_require__.e(/*! import() | wp-audio */ "wp-audio").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/wp-audio */ "../assets/dev/js/frontend/handlers/wp-audio.js")),
95 - container: _container.default,
96 - section: _section.default,
97 - column: _column.default
98 - };
99 - if (elementorFrontendConfig.experimentalFeatures['nested-elements']) {
100 - this.elementsHandlers['nested-tabs.default'] = () => __webpack_require__.e(/*! import() | nested-tabs */ "nested-tabs").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js"));
101 - }
102 - if (elementorFrontendConfig.experimentalFeatures['nested-elements']) {
103 - this.elementsHandlers['nested-accordion.default'] = () => __webpack_require__.e(/*! import() | nested-accordion */ "nested-accordion").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/nested-accordion/assets/js/frontend/handlers/nested-accordion */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js"));
104 - }
105 - if (elementorFrontendConfig.experimentalFeatures.container) {
106 - this.elementsHandlers['contact-buttons.default'] = () => __webpack_require__.e(/*! import() | contact-buttons */ "contact-buttons").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/floating-buttons/assets/js/floating-buttons/frontend/handlers/contact-buttons */ "../modules/floating-buttons/assets/js/floating-buttons/frontend/handlers/contact-buttons.js"));
107 - this.elementsHandlers['floating-bars-var-1.default'] = () => __webpack_require__.e(/*! import() | floating-bars */ "floating-bars").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/floating-buttons/assets/js/floating-bars/frontend/handlers/floating-bars */ "../modules/floating-buttons/assets/js/floating-bars/frontend/handlers/floating-bars.js"));
108 - }
109 - const addGlobalHandlers = () => elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
110 - const addElementsHandlers = () => {
111 - $.each(this.elementsHandlers, (elementName, Handlers) => {
112 - const elementData = elementName.split('.');
113 - elementName = elementData[0];
114 - const skin = elementData[1] || null;
115 - this.attachHandler(elementName, Handlers, skin);
116 - });
117 - };
118 - const isClassHandler = Handler => Handler.prototype?.getUniqueHandlerID;
119 - const addHandlerWithHook = (elementBaseName, Handler, skin = 'default') => {
120 - skin = skin ? '.' + skin : '';
121 - const elementName = elementBaseName + skin;
122 - elementorFrontend.hooks.addAction(`frontend/element_ready/${elementName}`, $element => {
123 - if (isClassHandler(Handler)) {
124 - this.addHandler(Handler, {
125 - $element,
126 - elementName
127 - }, true);
128 - } else {
129 - const handlerValue = Handler();
130 - if (!handlerValue) {
131 - return;
132 - }
133 - if (handlerValue instanceof Promise) {
134 - handlerValue.then(({
135 - default: dynamicHandler
136 - }) => {
137 - this.addHandler(dynamicHandler, {
138 - $element,
139 - elementName
140 - }, true);
141 - });
142 - } else {
143 - this.addHandler(handlerValue, {
144 - $element,
145 - elementName
146 - }, true);
147 - }
148 - }
149 - });
150 - };
151 - this.addHandler = function (HandlerClass, options) {
152 - const elementID = options.$element.data('model-cid');
153 - let handlerID;
180 +function _createSuper(Derived) {
181 + var hasNativeReflectConstruct = isNativeReflectConstruct();
182 + return function _createSuperInternal() {
183 + var Super = getPrototypeOf(Derived),
184 + result;
154 185
155 - // If element is in edit mode
156 - if (elementID) {
157 - handlerID = HandlerClass.prototype.getConstructorID();
158 - if (!handlersInstances[elementID]) {
159 - handlersInstances[elementID] = {};
160 - }
161 - const oldHandler = handlersInstances[elementID][handlerID];
162 - if (oldHandler) {
163 - oldHandler.onDestroy();
164 - }
186 + if (hasNativeReflectConstruct) {
187 + var NewTarget = getPrototypeOf(this).constructor;
188 + result = _Reflect$construct(Super, arguments, NewTarget);
189 + } else {
190 + result = Super.apply(this, arguments);
165 191 }
166 - const newHandler = new HandlerClass(options);
167 - elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${options.elementName}`, options.$element, $);
168 - if (elementID) {
169 - handlersInstances[elementID][handlerID] = newHandler;
170 - }
192 +
193 + return possibleConstructorReturn(this, result);
171 194 };
172 - this.attachHandler = (elementName, Handlers, skin) => {
173 - if (!Array.isArray(Handlers)) {
174 - Handlers = [Handlers];
195 +}
196 +
197 +module.exports = _createSuper;
198 +
199 +/***/ }),
200 +/* 6 */
201 +/***/ (function(module, exports) {
202 +
203 +var core = module.exports = { version: '2.6.11' };
204 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
205 +
206 +
207 +/***/ }),
208 +/* 7 */
209 +/***/ (function(module, exports, __webpack_require__) {
210 +
211 +var global = __webpack_require__(8);
212 +var core = __webpack_require__(6);
213 +var ctx = __webpack_require__(31);
214 +var hide = __webpack_require__(24);
215 +var has = __webpack_require__(19);
216 +var PROTOTYPE = 'prototype';
217 +
218 +var $export = function (type, name, source) {
219 + var IS_FORCED = type & $export.F;
220 + var IS_GLOBAL = type & $export.G;
221 + var IS_STATIC = type & $export.S;
222 + var IS_PROTO = type & $export.P;
223 + var IS_BIND = type & $export.B;
224 + var IS_WRAP = type & $export.W;
225 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
226 + var expProto = exports[PROTOTYPE];
227 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
228 + var key, own, out;
229 + if (IS_GLOBAL) source = name;
230 + for (key in source) {
231 + // contains in native
232 + own = !IS_FORCED && target && target[key] !== undefined;
233 + if (own && has(exports, key)) continue;
234 + // export native or passed
235 + out = own ? target[key] : source[key];
236 + // prevent global pollution for namespaces
237 + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
238 + // bind timers to global for call from export context
239 + : IS_BIND && own ? ctx(out, global)
240 + // wrap global constructors for prevent change them in library
241 + : IS_WRAP && target[key] == out ? (function (C) {
242 + var F = function (a, b, c) {
243 + if (this instanceof C) {
244 + switch (arguments.length) {
245 + case 0: return new C();
246 + case 1: return new C(a);
247 + case 2: return new C(a, b);
248 + } return new C(a, b, c);
249 + } return C.apply(this, arguments);
250 + };
251 + F[PROTOTYPE] = C[PROTOTYPE];
252 + return F;
253 + // make static versions for prototype methods
254 + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
255 + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
256 + if (IS_PROTO) {
257 + (exports.virtual || (exports.virtual = {}))[key] = out;
258 + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
259 + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
175 260 }
176 - Handlers.forEach(Handler => addHandlerWithHook(elementName, Handler, skin));
261 + }
262 +};
263 +// type bitmap
264 +$export.F = 1; // forced
265 +$export.G = 2; // global
266 +$export.S = 4; // static
267 +$export.P = 8; // proto
268 +$export.B = 16; // bind
269 +$export.W = 32; // wrap
270 +$export.U = 64; // safe
271 +$export.R = 128; // real proto method for `library`
272 +module.exports = $export;
273 +
274 +
275 +/***/ }),
276 +/* 8 */
277 +/***/ (function(module, exports) {
278 +
279 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
280 +var global = module.exports = typeof window != 'undefined' && window.Math == Math
281 + ? window : typeof self != 'undefined' && self.Math == Math ? self
282 + // eslint-disable-next-line no-new-func
283 + : Function('return this')();
284 +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
285 +
286 +
287 +/***/ }),
288 +/* 9 */
289 +/***/ (function(module, exports) {
290 +
291 +module.exports = function (it) {
292 + return typeof it === 'object' ? it !== null : typeof it === 'function';
293 +};
294 +
295 +
296 +/***/ }),
297 +/* 10 */
298 +/***/ (function(module, exports, __webpack_require__) {
299 +
300 +var store = __webpack_require__(76)('wks');
301 +var uid = __webpack_require__(59);
302 +var Symbol = __webpack_require__(8).Symbol;
303 +var USE_SYMBOL = typeof Symbol == 'function';
304 +
305 +var $exports = module.exports = function (name) {
306 + return store[name] || (store[name] =
307 + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
308 +};
309 +
310 +$exports.store = store;
311 +
312 +
313 +/***/ }),
314 +/* 11 */,
315 +/* 12 */
316 +/***/ (function(module, exports, __webpack_require__) {
317 +
318 +var store = __webpack_require__(66)('wks');
319 +var uid = __webpack_require__(67);
320 +var Symbol = __webpack_require__(17).Symbol;
321 +var USE_SYMBOL = typeof Symbol == 'function';
322 +
323 +var $exports = module.exports = function (name) {
324 + return store[name] || (store[name] =
325 + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
326 +};
327 +
328 +$exports.store = store;
329 +
330 +
331 +/***/ }),
332 +/* 13 */
333 +/***/ (function(module, exports, __webpack_require__) {
334 +
335 +var isObject = __webpack_require__(9);
336 +module.exports = function (it) {
337 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
338 + return it;
339 +};
340 +
341 +
342 +/***/ }),
343 +/* 14 */
344 +/***/ (function(module, exports, __webpack_require__) {
345 +
346 +// Thank's IE8 for his funny defineProperty
347 +module.exports = !__webpack_require__(22)(function () {
348 + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
349 +});
350 +
351 +
352 +/***/ }),
353 +/* 15 */
354 +/***/ (function(module, exports, __webpack_require__) {
355 +
356 +var anObject = __webpack_require__(13);
357 +var IE8_DOM_DEFINE = __webpack_require__(114);
358 +var toPrimitive = __webpack_require__(74);
359 +var dP = Object.defineProperty;
360 +
361 +exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
362 + anObject(O);
363 + P = toPrimitive(P, true);
364 + anObject(Attributes);
365 + if (IE8_DOM_DEFINE) try {
366 + return dP(O, P, Attributes);
367 + } catch (e) { /* empty */ }
368 + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
369 + if ('value' in Attributes) O[P] = Attributes.value;
370 + return O;
371 +};
372 +
373 +
374 +/***/ }),
375 +/* 16 */
376 +/***/ (function(module, exports, __webpack_require__) {
377 +
378 +var _Object$getPrototypeOf = __webpack_require__(158);
379 +
380 +var _Object$setPrototypeOf = __webpack_require__(115);
381 +
382 +function _getPrototypeOf(o) {
383 + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) {
384 + return o.__proto__ || _Object$getPrototypeOf(o);
177 385 };
178 - this.getHandler = function (handlerName) {
179 - const elementHandler = this.elementsHandlers[handlerName];
180 - if (isClassHandler(elementHandler)) {
181 - return elementHandler;
182 - }
183 - return new Promise(res => {
184 - elementHandler().then(({
185 - default: dynamicHandler
186 - }) => {
187 - res(dynamicHandler);
188 - });
189 - });
190 - };
386 + return _getPrototypeOf(o);
387 +}
191 388
192 - /**
193 - * @param {string} handlerName
194 - * @deprecated since 3.1.0, use `elementorFrontend.elementsHandler.getHandler` instead.
195 - */
196 - this.getHandlers = function (handlerName) {
197 - elementorDevTools.deprecation.deprecated('getHandlers', '3.1.0', 'elementorFrontend.elementsHandler.getHandler');
198 - if (handlerName) {
199 - return this.getHandler(handlerName);
200 - }
201 - return this.elementsHandlers;
202 - };
203 - this.runReadyTrigger = function (scope) {
204 - const isDelayChildHandlers = !!scope.closest('[data-delay-child-handlers="true"]') && 0 !== scope.closest('[data-delay-child-handlers="true"]').length;
205 - if (elementorFrontend.config.is_static || isDelayChildHandlers) {
206 - return;
207 - }
389 +module.exports = _getPrototypeOf;
208 390
209 - // Initializing the `$scope` as frontend jQuery instance
210 - const $scope = jQuery(scope),
211 - elementType = $scope.attr('data-element_type');
212 - if (!elementType) {
213 - return;
214 - }
215 - elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
216 - elementorFrontend.hooks.doAction(`frontend/element_ready/${elementType}`, $scope, $);
217 - if ('widget' === elementType) {
218 - const widgetType = $scope.attr('data-widget_type');
219 - elementorFrontend.hooks.doAction(`frontend/element_ready/${widgetType}`, $scope, $);
220 - }
221 - };
222 - this.init = () => {
223 - addGlobalHandlers();
224 - addElementsHandlers();
225 - };
391 +/***/ }),
392 +/* 17 */
393 +/***/ (function(module, exports) {
394 +
395 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
396 +var global = module.exports = typeof window != 'undefined' && window.Math == Math
397 + ? window : typeof self != 'undefined' && self.Math == Math ? self
398 + // eslint-disable-next-line no-new-func
399 + : Function('return this')();
400 +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
401 +
402 +
403 +/***/ }),
404 +/* 18 */
405 +/***/ (function(module, exports, __webpack_require__) {
406 +
407 +var isObject = __webpack_require__(30);
408 +module.exports = function (it) {
409 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
410 + return it;
226 411 };
227 412
413 +
228 414 /***/ }),
415 +/* 19 */
416 +/***/ (function(module, exports) {
229 417
230 -/***/ "../assets/dev/js/frontend/frontend.js":
231 -/*!*********************************************!*\
232 - !*** ../assets/dev/js/frontend/frontend.js ***!
233 - \*********************************************/
234 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
418 +var hasOwnProperty = {}.hasOwnProperty;
419 +module.exports = function (it, key) {
420 + return hasOwnProperty.call(it, key);
421 +};
235 422
236 423
424 +/***/ }),
425 +/* 20 */
426 +/***/ (function(module, exports, __webpack_require__) {
237 427
238 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
239 -Object.defineProperty(exports, "__esModule", ({
240 - value: true
241 -}));
242 -exports["default"] = void 0;
243 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
244 -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
245 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
246 -__webpack_require__(/*! ../public-path */ "../assets/dev/js/public-path.js");
247 -var _documentsManager = _interopRequireDefault(__webpack_require__(/*! ./documents-manager */ "../assets/dev/js/frontend/documents-manager.js"));
248 -var _storage = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/storage */ "../core/common/assets/js/utils/storage.js"));
249 -var _environment = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/environment */ "../core/common/assets/js/utils/environment.js"));
250 -var _youtubeLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/youtube-loader */ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js"));
251 -var _vimeoLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/vimeo-loader */ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js"));
252 -var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
253 -var _urlActions = _interopRequireDefault(__webpack_require__(/*! ./utils/url-actions */ "../assets/dev/js/frontend/utils/url-actions.js"));
254 -var _swiper = _interopRequireDefault(__webpack_require__(/*! ./utils/swiper */ "../assets/dev/js/frontend/utils/swiper.js"));
255 -var _lightboxManager = _interopRequireDefault(__webpack_require__(/*! ./utils/lightbox/lightbox-manager */ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js"));
256 -var _assetsLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/assets-loader */ "../assets/dev/js/frontend/utils/assets-loader.js"));
257 -var _breakpoints = _interopRequireDefault(__webpack_require__(/*! elementor-utils/breakpoints */ "../assets/dev/js/utils/breakpoints.js"));
258 -var _events = _interopRequireDefault(__webpack_require__(/*! elementor-utils/events */ "../assets/dev/js/utils/events.js"));
259 -var _frontend = _interopRequireDefault(__webpack_require__(/*! elementor/modules/shapes/assets/js/frontend/frontend */ "../modules/shapes/assets/js/frontend/frontend.js"));
260 -var _controls = _interopRequireDefault(__webpack_require__(/*! ./utils/controls */ "../assets/dev/js/frontend/utils/controls.js"));
261 -var _anchorScrollMargin = _interopRequireDefault(__webpack_require__(/*! ./utils/anchor-scroll-margin */ "../assets/dev/js/frontend/utils/anchor-scroll-margin.js"));
262 -var _utils = __webpack_require__(/*! elementor-frontend/utils/utils */ "../assets/dev/js/frontend/utils/utils.js");
263 -/* global elementorFrontendConfig */
428 +// to indexed object, toObject with fallback for non-array-like ES3 strings
429 +var IObject = __webpack_require__(103);
430 +var defined = __webpack_require__(65);
431 +module.exports = function (it) {
432 + return IObject(defined(it));
433 +};
264 434
265 -const EventManager = __webpack_require__(/*! elementor-utils/hooks */ "../assets/dev/js/utils/hooks.js"),
266 - ElementsHandler = __webpack_require__(/*! elementor-frontend/elements-handlers-manager */ "../assets/dev/js/frontend/elements-handlers-manager.js");
267 -class Frontend extends elementorModules.ViewModule {
268 - constructor(...args) {
269 - super(...args);
270 - this.config = elementorFrontendConfig;
271 - this.config.legacyMode = {
272 - /**
273 - * @deprecated since 3.1.0
274 - */
275 - get elementWrappers() {
276 - if (elementorFrontend.isEditMode()) {
277 - window.top.elementorDevTools.deprecation.deprecated('elementorFrontend.config.legacyMode.elementWrappers', '3.1.0');
278 - }
279 - return false;
435 +
436 +/***/ }),
437 +/* 21 */,
438 +/* 22 */
439 +/***/ (function(module, exports) {
440 +
441 +module.exports = function (exec) {
442 + try {
443 + return !!exec();
444 + } catch (e) {
445 + return true;
446 + }
447 +};
448 +
449 +
450 +/***/ }),
451 +/* 23 */
452 +/***/ (function(module, exports, __webpack_require__) {
453 +
454 +module.exports = __webpack_require__(201);
455 +
456 +/***/ }),
457 +/* 24 */
458 +/***/ (function(module, exports, __webpack_require__) {
459 +
460 +var dP = __webpack_require__(15);
461 +var createDesc = __webpack_require__(44);
462 +module.exports = __webpack_require__(14) ? function (object, key, value) {
463 + return dP.f(object, key, createDesc(1, value));
464 +} : function (object, key, value) {
465 + object[key] = value;
466 + return object;
467 +};
468 +
469 +
470 +/***/ }),
471 +/* 25 */
472 +/***/ (function(module, exports, __webpack_require__) {
473 +
474 +var _Object$getOwnPropertyDescriptor = __webpack_require__(124);
475 +
476 +var _Reflect$get = __webpack_require__(193);
477 +
478 +var superPropBase = __webpack_require__(196);
479 +
480 +function _get(target, property, receiver) {
481 + if (typeof Reflect !== "undefined" && _Reflect$get) {
482 + module.exports = _get = _Reflect$get;
483 + } else {
484 + module.exports = _get = function _get(target, property, receiver) {
485 + var base = superPropBase(target, property);
486 + if (!base) return;
487 +
488 + var desc = _Object$getOwnPropertyDescriptor(base, property);
489 +
490 + if (desc.get) {
491 + return desc.get.call(receiver);
280 492 }
493 +
494 + return desc.value;
281 495 };
282 - this.populateActiveBreakpointsConfig();
283 496 }
284 497
285 - /**
286 - * @deprecated since 2.5.0, use `elementorModules.frontend.handlers.Base` instead.
287 - */
288 - get Module() {
289 - if (this.isEditMode()) {
290 - parent.elementorDevTools.deprecation.deprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
291 - }
292 - return elementorModules.frontend.handlers.Base;
498 + return _get(target, property, receiver || target);
499 +}
500 +
501 +module.exports = _get;
502 +
503 +/***/ }),
504 +/* 26 */
505 +/***/ (function(module, exports, __webpack_require__) {
506 +
507 +"use strict";
508 +
509 +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
510 +var $export = __webpack_require__(34);
511 +var $find = __webpack_require__(182)(5);
512 +var KEY = 'find';
513 +var forced = true;
514 +// Shouldn't skip holes
515 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
516 +$export($export.P + $export.F * forced, 'Array', {
517 + find: function find(callbackfn /* , that = undefined */) {
518 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
293 519 }
294 - getDefaultSettings() {
295 - return {
296 - selectors: {
297 - elementor: '.elementor',
298 - adminBar: '#wpadminbar'
299 - }
520 +});
521 +__webpack_require__(84)(KEY);
522 +
523 +
524 +/***/ }),
525 +/* 27 */
526 +/***/ (function(module, exports, __webpack_require__) {
527 +
528 +// Thank's IE8 for his funny defineProperty
529 +module.exports = !__webpack_require__(33)(function () {
530 + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
531 +});
532 +
533 +
534 +/***/ }),
535 +/* 28 */,
536 +/* 29 */
537 +/***/ (function(module, exports, __webpack_require__) {
538 +
539 +var dP = __webpack_require__(45);
540 +var createDesc = __webpack_require__(102);
541 +module.exports = __webpack_require__(27) ? function (object, key, value) {
542 + return dP.f(object, key, createDesc(1, value));
543 +} : function (object, key, value) {
544 + object[key] = value;
545 + return object;
546 +};
547 +
548 +
549 +/***/ }),
550 +/* 30 */
551 +/***/ (function(module, exports) {
552 +
553 +module.exports = function (it) {
554 + return typeof it === 'object' ? it !== null : typeof it === 'function';
555 +};
556 +
557 +
558 +/***/ }),
559 +/* 31 */
560 +/***/ (function(module, exports, __webpack_require__) {
561 +
562 +// optional / simple context binding
563 +var aFunction = __webpack_require__(38);
564 +module.exports = function (fn, that, length) {
565 + aFunction(fn);
566 + if (that === undefined) return fn;
567 + switch (length) {
568 + case 1: return function (a) {
569 + return fn.call(that, a);
300 570 };
301 - }
302 - getDefaultElements() {
303 - const defaultElements = {
304 - window,
305 - $window: jQuery(window),
306 - $document: jQuery(document),
307 - $head: jQuery(document.head),
308 - $body: jQuery(document.body),
309 - $deviceMode: jQuery('<span>', {
310 - id: 'elementor-device-mode',
311 - class: 'elementor-screen-only'
312 - })
571 + case 2: return function (a, b) {
572 + return fn.call(that, a, b);
313 573 };
314 - defaultElements.$body.append(defaultElements.$deviceMode);
315 - return defaultElements;
574 + case 3: return function (a, b, c) {
575 + return fn.call(that, a, b, c);
576 + };
316 577 }
317 - bindEvents() {
318 - this.elements.$window.on('resize', () => this.setDeviceModeData());
578 + return function (/* ...args */) {
579 + return fn.apply(that, arguments);
580 + };
581 +};
582 +
583 +
584 +/***/ }),
585 +/* 32 */
586 +/***/ (function(module, exports, __webpack_require__) {
587 +
588 +// 7.1.13 ToObject(argument)
589 +var defined = __webpack_require__(65);
590 +module.exports = function (it) {
591 + return Object(defined(it));
592 +};
593 +
594 +
595 +/***/ }),
596 +/* 33 */
597 +/***/ (function(module, exports) {
598 +
599 +module.exports = function (exec) {
600 + try {
601 + return !!exec();
602 + } catch (e) {
603 + return true;
319 604 }
605 +};
320 606
321 - /**
322 - * @param {string} elementName
323 - * @deprecated since 2.4.0, use `this.elements` instead.
324 - */
325 - getElements(elementName) {
326 - return this.getItems(this.elements, elementName);
607 +
608 +/***/ }),
609 +/* 34 */
610 +/***/ (function(module, exports, __webpack_require__) {
611 +
612 +var global = __webpack_require__(17);
613 +var core = __webpack_require__(55);
614 +var hide = __webpack_require__(29);
615 +var redefine = __webpack_require__(36);
616 +var ctx = __webpack_require__(73);
617 +var PROTOTYPE = 'prototype';
618 +
619 +var $export = function (type, name, source) {
620 + var IS_FORCED = type & $export.F;
621 + var IS_GLOBAL = type & $export.G;
622 + var IS_STATIC = type & $export.S;
623 + var IS_PROTO = type & $export.P;
624 + var IS_BIND = type & $export.B;
625 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
626 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
627 + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
628 + var key, own, out, exp;
629 + if (IS_GLOBAL) source = name;
630 + for (key in source) {
631 + // contains in native
632 + own = !IS_FORCED && target && target[key] !== undefined;
633 + // export native or passed
634 + out = (own ? target : source)[key];
635 + // bind timers to global for call from export context
636 + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
637 + // extend global
638 + if (target) redefine(target, key, out, type & $export.U);
639 + // export
640 + if (exports[key] != out) hide(exports, key, exp);
641 + if (IS_PROTO && expProto[key] != out) expProto[key] = out;
327 642 }
643 +};
644 +global.core = core;
645 +// type bitmap
646 +$export.F = 1; // forced
647 +$export.G = 2; // global
648 +$export.S = 4; // static
649 +$export.P = 8; // proto
650 +$export.B = 16; // bind
651 +$export.W = 32; // wrap
652 +$export.U = 64; // safe
653 +$export.R = 128; // real proto method for `library`
654 +module.exports = $export;
328 655
329 - /**
330 - * @param {string} settingName
331 - * @deprecated since 2.4.0, this method was never in use.
332 - */
333 - getPageSettings(settingName) {
334 - const settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page;
335 - return this.getItems(settingsObject, settingName);
656 +
657 +/***/ }),
658 +/* 35 */
659 +/***/ (function(module, exports) {
660 +
661 +module.exports = {};
662 +
663 +
664 +/***/ }),
665 +/* 36 */
666 +/***/ (function(module, exports, __webpack_require__) {
667 +
668 +var global = __webpack_require__(17);
669 +var hide = __webpack_require__(29);
670 +var has = __webpack_require__(61);
671 +var SRC = __webpack_require__(67)('src');
672 +var $toString = __webpack_require__(144);
673 +var TO_STRING = 'toString';
674 +var TPL = ('' + $toString).split(TO_STRING);
675 +
676 +__webpack_require__(55).inspectSource = function (it) {
677 + return $toString.call(it);
678 +};
679 +
680 +(module.exports = function (O, key, val, safe) {
681 + var isFunction = typeof val == 'function';
682 + if (isFunction) has(val, 'name') || hide(val, 'name', key);
683 + if (O[key] === val) return;
684 + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
685 + if (O === global) {
686 + O[key] = val;
687 + } else if (!safe) {
688 + delete O[key];
689 + hide(O, key, val);
690 + } else if (O[key]) {
691 + O[key] = val;
692 + } else {
693 + hide(O, key, val);
336 694 }
695 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
696 +})(Function.prototype, TO_STRING, function toString() {
697 + return typeof this == 'function' && this[SRC] || $toString.call(this);
698 +});
337 699
338 - /**
339 - * @param {string} settingName
340 - * @deprecated since 3.0.0, use `getKitSettings()` instead and remove the `elementor_` prefix.
341 - */
342 - getGeneralSettings(settingName) {
343 - if (this.isEditMode()) {
344 - parent.elementorDevTools.deprecation.deprecated('getGeneralSettings()', '3.0.0', 'getKitSettings() and remove the `elementor_` prefix');
345 - }
346 - return this.getKitSettings(`elementor_${settingName}`);
700 +
701 +/***/ }),
702 +/* 37 */,
703 +/* 38 */
704 +/***/ (function(module, exports) {
705 +
706 +module.exports = function (it) {
707 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
708 + return it;
709 +};
710 +
711 +
712 +/***/ }),
713 +/* 39 */,
714 +/* 40 */
715 +/***/ (function(module, exports, __webpack_require__) {
716 +
717 +// 19.1.2.14 / 15.2.3.14 Object.keys(O)
718 +var $keys = __webpack_require__(116);
719 +var enumBugKeys = __webpack_require__(78);
720 +
721 +module.exports = Object.keys || function keys(O) {
722 + return $keys(O, enumBugKeys);
723 +};
724 +
725 +
726 +/***/ }),
727 +/* 41 */,
728 +/* 42 */
729 +/***/ (function(module, exports) {
730 +
731 +// 7.2.1 RequireObjectCoercible(argument)
732 +module.exports = function (it) {
733 + if (it == undefined) throw TypeError("Can't call method on " + it);
734 + return it;
735 +};
736 +
737 +
738 +/***/ }),
739 +/* 43 */
740 +/***/ (function(module, exports, __webpack_require__) {
741 +
742 +// 7.1.15 ToLength
743 +var toInteger = __webpack_require__(57);
744 +var min = Math.min;
745 +module.exports = function (it) {
746 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
747 +};
748 +
749 +
750 +/***/ }),
751 +/* 44 */
752 +/***/ (function(module, exports) {
753 +
754 +module.exports = function (bitmap, value) {
755 + return {
756 + enumerable: !(bitmap & 1),
757 + configurable: !(bitmap & 2),
758 + writable: !(bitmap & 4),
759 + value: value
760 + };
761 +};
762 +
763 +
764 +/***/ }),
765 +/* 45 */
766 +/***/ (function(module, exports, __webpack_require__) {
767 +
768 +var anObject = __webpack_require__(18);
769 +var IE8_DOM_DEFINE = __webpack_require__(129);
770 +var toPrimitive = __webpack_require__(123);
771 +var dP = Object.defineProperty;
772 +
773 +exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
774 + anObject(O);
775 + P = toPrimitive(P, true);
776 + anObject(Attributes);
777 + if (IE8_DOM_DEFINE) try {
778 + return dP(O, P, Attributes);
779 + } catch (e) { /* empty */ }
780 + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
781 + if ('value' in Attributes) O[P] = Attributes.value;
782 + return O;
783 +};
784 +
785 +
786 +/***/ }),
787 +/* 46 */
788 +/***/ (function(module, exports) {
789 +
790 +var toString = {}.toString;
791 +
792 +module.exports = function (it) {
793 + return toString.call(it).slice(8, -1);
794 +};
795 +
796 +
797 +/***/ }),
798 +/* 47 */
799 +/***/ (function(module, exports) {
800 +
801 +module.exports = true;
802 +
803 +
804 +/***/ }),
805 +/* 48 */
806 +/***/ (function(module, exports, __webpack_require__) {
807 +
808 +var _Symbol$iterator = __webpack_require__(151);
809 +
810 +var _Symbol = __webpack_require__(111);
811 +
812 +function _typeof(obj) {
813 + "@babel/helpers - typeof";
814 +
815 + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") {
816 + module.exports = _typeof = function _typeof(obj) {
817 + return typeof obj;
818 + };
819 + } else {
820 + module.exports = _typeof = function _typeof(obj) {
821 + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj;
822 + };
347 823 }
348 - getKitSettings(settingName) {
349 - // TODO: use Data API.
350 - return this.getItems(this.config.kit, settingName);
824 +
825 + return _typeof(obj);
826 +}
827 +
828 +module.exports = _typeof;
829 +
830 +/***/ }),
831 +/* 49 */
832 +/***/ (function(module, exports) {
833 +
834 +function _assertThisInitialized(self) {
835 + if (self === void 0) {
836 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
351 837 }
352 - getCurrentDeviceMode() {
353 - return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
354 - }
355 - getDeviceSetting(deviceMode, settings, settingKey) {
356 - // Add specific handling for widescreen since it is larger than desktop.
357 - if ('widescreen' === deviceMode) {
358 - return this.getWidescreenSetting(settings, settingKey);
359 - }
360 - const devices = elementorFrontend.breakpoints.getActiveBreakpointsList({
361 - largeToSmall: true,
362 - withDesktop: true
363 - });
364 - let deviceIndex = devices.indexOf(deviceMode);
365 - while (deviceIndex > 0) {
366 - const currentDevice = devices[deviceIndex],
367 - fullSettingKey = settingKey + '_' + currentDevice,
368 - deviceValue = settings[fullSettingKey];
369 838
370 - // Accept 0 as value.
371 - if (deviceValue || 0 === deviceValue) {
372 - return deviceValue;
839 + return self;
840 +}
841 +
842 +module.exports = _assertThisInitialized;
843 +
844 +/***/ }),
845 +/* 50 */
846 +/***/ (function(module, exports) {
847 +
848 +exports.f = {}.propertyIsEnumerable;
849 +
850 +
851 +/***/ }),
852 +/* 51 */
853 +/***/ (function(module, exports, __webpack_require__) {
854 +
855 +var pIE = __webpack_require__(50);
856 +var createDesc = __webpack_require__(44);
857 +var toIObject = __webpack_require__(20);
858 +var toPrimitive = __webpack_require__(74);
859 +var has = __webpack_require__(19);
860 +var IE8_DOM_DEFINE = __webpack_require__(114);
861 +var gOPD = Object.getOwnPropertyDescriptor;
862 +
863 +exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) {
864 + O = toIObject(O);
865 + P = toPrimitive(P, true);
866 + if (IE8_DOM_DEFINE) try {
867 + return gOPD(O, P);
868 + } catch (e) { /* empty */ }
869 + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
870 +};
871 +
872 +
873 +/***/ }),
874 +/* 52 */
875 +/***/ (function(module, exports, __webpack_require__) {
876 +
877 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
878 +var anObject = __webpack_require__(13);
879 +var dPs = __webpack_require__(135);
880 +var enumBugKeys = __webpack_require__(78);
881 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
882 +var Empty = function () { /* empty */ };
883 +var PROTOTYPE = 'prototype';
884 +
885 +// Create object with fake `null` prototype: use iframe Object with cleared prototype
886 +var createDict = function () {
887 + // Thrash, waste and sodomy: IE GC bug
888 + var iframe = __webpack_require__(92)('iframe');
889 + var i = enumBugKeys.length;
890 + var lt = '<';
891 + var gt = '>';
892 + var iframeDocument;
893 + iframe.style.display = 'none';
894 + __webpack_require__(131).appendChild(iframe);
895 + iframe.src = 'javascript:'; // eslint-disable-line no-script-url
896 + // createDict = iframe.contentWindow.Object;
897 + // html.removeChild(iframe);
898 + iframeDocument = iframe.contentWindow.document;
899 + iframeDocument.open();
900 + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
901 + iframeDocument.close();
902 + createDict = iframeDocument.F;
903 + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
904 + return createDict();
905 +};
906 +
907 +module.exports = Object.create || function create(O, Properties) {
908 + var result;
909 + if (O !== null) {
910 + Empty[PROTOTYPE] = anObject(O);
911 + result = new Empty();
912 + Empty[PROTOTYPE] = null;
913 + // add "__proto__" for Object.getPrototypeOf polyfill
914 + result[IE_PROTO] = O;
915 + } else result = createDict();
916 + return Properties === undefined ? result : dPs(result, Properties);
917 +};
918 +
919 +
920 +/***/ }),
921 +/* 53 */
922 +/***/ (function(module, exports, __webpack_require__) {
923 +
924 +var def = __webpack_require__(15).f;
925 +var has = __webpack_require__(19);
926 +var TAG = __webpack_require__(10)('toStringTag');
927 +
928 +module.exports = function (it, tag, stat) {
929 + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
930 +};
931 +
932 +
933 +/***/ }),
934 +/* 54 */
935 +/***/ (function(module, exports, __webpack_require__) {
936 +
937 +module.exports = __webpack_require__(239);
938 +
939 +/***/ }),
940 +/* 55 */
941 +/***/ (function(module, exports) {
942 +
943 +var core = module.exports = { version: '2.6.11' };
944 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
945 +
946 +
947 +/***/ }),
948 +/* 56 */
949 +/***/ (function(module, exports) {
950 +
951 +var toString = {}.toString;
952 +
953 +module.exports = function (it) {
954 + return toString.call(it).slice(8, -1);
955 +};
956 +
957 +
958 +/***/ }),
959 +/* 57 */
960 +/***/ (function(module, exports) {
961 +
962 +// 7.1.4 ToInteger
963 +var ceil = Math.ceil;
964 +var floor = Math.floor;
965 +module.exports = function (it) {
966 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
967 +};
968 +
969 +
970 +/***/ }),
971 +/* 58 */
972 +/***/ (function(module, exports, __webpack_require__) {
973 +
974 +"use strict";
975 +
976 +
977 +var anObject = __webpack_require__(18);
978 +var toObject = __webpack_require__(96);
979 +var toLength = __webpack_require__(43);
980 +var toInteger = __webpack_require__(57);
981 +var advanceStringIndex = __webpack_require__(105);
982 +var regExpExec = __webpack_require__(94);
983 +var max = Math.max;
984 +var min = Math.min;
985 +var floor = Math.floor;
986 +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
987 +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
988 +
989 +var maybeToString = function (it) {
990 + return it === undefined ? it : String(it);
991 +};
992 +
993 +// @@replace logic
994 +__webpack_require__(95)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
995 + return [
996 + // `String.prototype.replace` method
997 + // https://tc39.github.io/ecma262/#sec-string.prototype.replace
998 + function replace(searchValue, replaceValue) {
999 + var O = defined(this);
1000 + var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
1001 + return fn !== undefined
1002 + ? fn.call(searchValue, O, replaceValue)
1003 + : $replace.call(String(O), searchValue, replaceValue);
1004 + },
1005 + // `RegExp.prototype[@@replace]` method
1006 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
1007 + function (regexp, replaceValue) {
1008 + var res = maybeCallNative($replace, regexp, this, replaceValue);
1009 + if (res.done) return res.value;
1010 +
1011 + var rx = anObject(regexp);
1012 + var S = String(this);
1013 + var functionalReplace = typeof replaceValue === 'function';
1014 + if (!functionalReplace) replaceValue = String(replaceValue);
1015 + var global = rx.global;
1016 + if (global) {
1017 + var fullUnicode = rx.unicode;
1018 + rx.lastIndex = 0;
373 1019 }
374 - deviceIndex--;
1020 + var results = [];
1021 + while (true) {
1022 + var result = regExpExec(rx, S);
1023 + if (result === null) break;
1024 + results.push(result);
1025 + if (!global) break;
1026 + var matchStr = String(result[0]);
1027 + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1028 + }
1029 + var accumulatedResult = '';
1030 + var nextSourcePosition = 0;
1031 + for (var i = 0; i < results.length; i++) {
1032 + result = results[i];
1033 + var matched = String(result[0]);
1034 + var position = max(min(toInteger(result.index), S.length), 0);
1035 + var captures = [];
1036 + // NOTE: This is equivalent to
1037 + // captures = result.slice(1).map(maybeToString)
1038 + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
1039 + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
1040 + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
1041 + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
1042 + var namedCaptures = result.groups;
1043 + if (functionalReplace) {
1044 + var replacerArgs = [matched].concat(captures, position, S);
1045 + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
1046 + var replacement = String(replaceValue.apply(undefined, replacerArgs));
1047 + } else {
1048 + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
1049 + }
1050 + if (position >= nextSourcePosition) {
1051 + accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
1052 + nextSourcePosition = position + matched.length;
1053 + }
1054 + }
1055 + return accumulatedResult + S.slice(nextSourcePosition);
375 1056 }
376 - return settings[settingKey];
377 - }
378 - getWidescreenSetting(settings, settingKey) {
379 - const deviceMode = 'widescreen',
380 - widescreenSettingKey = settingKey + '_' + deviceMode;
381 - let settingToReturn;
1057 + ];
382 1058
383 - // If the device mode is 'widescreen', and the setting exists - return it.
384 - if (settings[widescreenSettingKey]) {
385 - settingToReturn = settings[widescreenSettingKey];
386 - } else {
387 - // Otherwise, return the desktop setting
388 - settingToReturn = settings[settingKey];
1059 + // https://tc39.github.io/ecma262/#sec-getsubstitution
1060 + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
1061 + var tailPos = position + matched.length;
1062 + var m = captures.length;
1063 + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
1064 + if (namedCaptures !== undefined) {
1065 + namedCaptures = toObject(namedCaptures);
1066 + symbols = SUBSTITUTION_SYMBOLS;
389 1067 }
390 - return settingToReturn;
1068 + return $replace.call(replacement, symbols, function (match, ch) {
1069 + var capture;
1070 + switch (ch.charAt(0)) {
1071 + case '$': return '$';
1072 + case '&': return matched;
1073 + case '`': return str.slice(0, position);
1074 + case "'": return str.slice(tailPos);
1075 + case '<':
1076 + capture = namedCaptures[ch.slice(1, -1)];
1077 + break;
1078 + default: // \d\d?
1079 + var n = +ch;
1080 + if (n === 0) return match;
1081 + if (n > m) {
1082 + var f = floor(n / 10);
1083 + if (f === 0) return match;
1084 + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
1085 + return match;
1086 + }
1087 + capture = captures[n - 1];
1088 + }
1089 + return capture === undefined ? '' : capture;
1090 + });
391 1091 }
392 - getCurrentDeviceSetting(settings, settingKey) {
393 - return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
394 - }
395 - isEditMode() {
396 - return this.config.environmentMode.edit;
397 - }
398 - isWPPreviewMode() {
399 - return this.config.environmentMode.wpPreview;
400 - }
401 - initDialogsManager() {
402 - let dialogsManager;
403 - this.getDialogsManager = () => {
404 - if (!dialogsManager) {
405 - dialogsManager = new DialogsManager.Instance();
406 - }
407 - return dialogsManager;
1092 +});
1093 +
1094 +
1095 +/***/ }),
1096 +/* 59 */
1097 +/***/ (function(module, exports) {
1098 +
1099 +var id = 0;
1100 +var px = Math.random();
1101 +module.exports = function (key) {
1102 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1103 +};
1104 +
1105 +
1106 +/***/ }),
1107 +/* 60 */
1108 +/***/ (function(module, exports, __webpack_require__) {
1109 +
1110 +"use strict";
1111 +
1112 +var $at = __webpack_require__(173)(true);
1113 +
1114 +// 21.1.3.27 String.prototype[@@iterator]()
1115 +__webpack_require__(108)(String, 'String', function (iterated) {
1116 + this._t = String(iterated); // target
1117 + this._i = 0; // next index
1118 +// 21.1.5.2.1 %StringIteratorPrototype%.next()
1119 +}, function () {
1120 + var O = this._t;
1121 + var index = this._i;
1122 + var point;
1123 + if (index >= O.length) return { value: undefined, done: true };
1124 + point = $at(O, index);
1125 + this._i += point.length;
1126 + return { value: point, done: false };
1127 +});
1128 +
1129 +
1130 +/***/ }),
1131 +/* 61 */
1132 +/***/ (function(module, exports) {
1133 +
1134 +var hasOwnProperty = {}.hasOwnProperty;
1135 +module.exports = function (it, key) {
1136 + return hasOwnProperty.call(it, key);
1137 +};
1138 +
1139 +
1140 +/***/ }),
1141 +/* 62 */
1142 +/***/ (function(module, exports, __webpack_require__) {
1143 +
1144 +__webpack_require__(175);
1145 +var global = __webpack_require__(8);
1146 +var hide = __webpack_require__(24);
1147 +var Iterators = __webpack_require__(35);
1148 +var TO_STRING_TAG = __webpack_require__(10)('toStringTag');
1149 +
1150 +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
1151 + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
1152 + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
1153 + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
1154 + 'TextTrackList,TouchList').split(',');
1155 +
1156 +for (var i = 0; i < DOMIterables.length; i++) {
1157 + var NAME = DOMIterables[i];
1158 + var Collection = global[NAME];
1159 + var proto = Collection && Collection.prototype;
1160 + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
1161 + Iterators[NAME] = Iterators.Array;
1162 +}
1163 +
1164 +
1165 +/***/ }),
1166 +/* 63 */
1167 +/***/ (function(module, exports, __webpack_require__) {
1168 +
1169 +exports.f = __webpack_require__(10);
1170 +
1171 +
1172 +/***/ }),
1173 +/* 64 */
1174 +/***/ (function(module, exports, __webpack_require__) {
1175 +
1176 +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1177 +var has = __webpack_require__(19);
1178 +var toObject = __webpack_require__(32);
1179 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
1180 +var ObjectProto = Object.prototype;
1181 +
1182 +module.exports = Object.getPrototypeOf || function (O) {
1183 + O = toObject(O);
1184 + if (has(O, IE_PROTO)) return O[IE_PROTO];
1185 + if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1186 + return O.constructor.prototype;
1187 + } return O instanceof Object ? ObjectProto : null;
1188 +};
1189 +
1190 +
1191 +/***/ }),
1192 +/* 65 */
1193 +/***/ (function(module, exports) {
1194 +
1195 +// 7.2.1 RequireObjectCoercible(argument)
1196 +module.exports = function (it) {
1197 + if (it == undefined) throw TypeError("Can't call method on " + it);
1198 + return it;
1199 +};
1200 +
1201 +
1202 +/***/ }),
1203 +/* 66 */
1204 +/***/ (function(module, exports, __webpack_require__) {
1205 +
1206 +var core = __webpack_require__(55);
1207 +var global = __webpack_require__(17);
1208 +var SHARED = '__core-js_shared__';
1209 +var store = global[SHARED] || (global[SHARED] = {});
1210 +
1211 +(module.exports = function (key, value) {
1212 + return store[key] || (store[key] = value !== undefined ? value : {});
1213 +})('versions', []).push({
1214 + version: core.version,
1215 + mode: __webpack_require__(110) ? 'pure' : 'global',
1216 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1217 +});
1218 +
1219 +
1220 +/***/ }),
1221 +/* 67 */
1222 +/***/ (function(module, exports) {
1223 +
1224 +var id = 0;
1225 +var px = Math.random();
1226 +module.exports = function (key) {
1227 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1228 +};
1229 +
1230 +
1231 +/***/ }),
1232 +/* 68 */
1233 +/***/ (function(module, exports, __webpack_require__) {
1234 +
1235 +// 7.1.15 ToLength
1236 +var toInteger = __webpack_require__(77);
1237 +var min = Math.min;
1238 +module.exports = function (it) {
1239 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1240 +};
1241 +
1242 +
1243 +/***/ }),
1244 +/* 69 */,
1245 +/* 70 */
1246 +/***/ (function(module, exports, __webpack_require__) {
1247 +
1248 +var META = __webpack_require__(59)('meta');
1249 +var isObject = __webpack_require__(9);
1250 +var has = __webpack_require__(19);
1251 +var setDesc = __webpack_require__(15).f;
1252 +var id = 0;
1253 +var isExtensible = Object.isExtensible || function () {
1254 + return true;
1255 +};
1256 +var FREEZE = !__webpack_require__(22)(function () {
1257 + return isExtensible(Object.preventExtensions({}));
1258 +});
1259 +var setMeta = function (it) {
1260 + setDesc(it, META, { value: {
1261 + i: 'O' + ++id, // object ID
1262 + w: {} // weak collections IDs
1263 + } });
1264 +};
1265 +var fastKey = function (it, create) {
1266 + // return primitive with prefix
1267 + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1268 + if (!has(it, META)) {
1269 + // can't set metadata to uncaught frozen object
1270 + if (!isExtensible(it)) return 'F';
1271 + // not necessary to add metadata
1272 + if (!create) return 'E';
1273 + // add missing metadata
1274 + setMeta(it);
1275 + // return object ID
1276 + } return it[META].i;
1277 +};
1278 +var getWeak = function (it, create) {
1279 + if (!has(it, META)) {
1280 + // can't set metadata to uncaught frozen object
1281 + if (!isExtensible(it)) return true;
1282 + // not necessary to add metadata
1283 + if (!create) return false;
1284 + // add missing metadata
1285 + setMeta(it);
1286 + // return hash weak collections IDs
1287 + } return it[META].w;
1288 +};
1289 +// add metadata on freeze-family methods calling
1290 +var onFreeze = function (it) {
1291 + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1292 + return it;
1293 +};
1294 +var meta = module.exports = {
1295 + KEY: META,
1296 + NEED: false,
1297 + fastKey: fastKey,
1298 + getWeak: getWeak,
1299 + onFreeze: onFreeze
1300 +};
1301 +
1302 +
1303 +/***/ }),
1304 +/* 71 */
1305 +/***/ (function(module, exports) {
1306 +
1307 +exports.f = Object.getOwnPropertySymbols;
1308 +
1309 +
1310 +/***/ }),
1311 +/* 72 */
1312 +/***/ (function(module, exports, __webpack_require__) {
1313 +
1314 +"use strict";
1315 +
1316 +// 19.1.3.6 Object.prototype.toString()
1317 +var classof = __webpack_require__(113);
1318 +var test = {};
1319 +test[__webpack_require__(12)('toStringTag')] = 'z';
1320 +if (test + '' != '[object z]') {
1321 + __webpack_require__(36)(Object.prototype, 'toString', function toString() {
1322 + return '[object ' + classof(this) + ']';
1323 + }, true);
1324 +}
1325 +
1326 +
1327 +/***/ }),
1328 +/* 73 */
1329 +/***/ (function(module, exports, __webpack_require__) {
1330 +
1331 +// optional / simple context binding
1332 +var aFunction = __webpack_require__(91);
1333 +module.exports = function (fn, that, length) {
1334 + aFunction(fn);
1335 + if (that === undefined) return fn;
1336 + switch (length) {
1337 + case 1: return function (a) {
1338 + return fn.call(that, a);
408 1339 };
409 - }
410 - initOnReadyComponents() {
411 - this.utils = {
412 - youtube: new _youtubeLoader.default(),
413 - vimeo: new _vimeoLoader.default(),
414 - baseVideoLoader: new _baseLoader.default(),
415 - get lightbox() {
416 - return _lightboxManager.default.getLightbox();
417 - },
418 - urlActions: new _urlActions.default(),
419 - swiper: _swiper.default,
420 - environment: _environment.default,
421 - assetsLoader: new _assetsLoader.default(),
422 - escapeHTML: _utils.escapeHTML,
423 - events: _events.default,
424 - controls: new _controls.default(),
425 - anchor_scroll_margin: new _anchorScrollMargin.default()
1340 + case 2: return function (a, b) {
1341 + return fn.call(that, a, b);
426 1342 };
427 -
428 - // TODO: BC since 2.4.0
429 - this.modules = {
430 - StretchElement: elementorModules.frontend.tools.StretchElement,
431 - Masonry: elementorModules.utils.Masonry
1343 + case 3: return function (a, b, c) {
1344 + return fn.call(that, a, b, c);
432 1345 };
433 - this.elementsHandler.init();
434 - if (this.isEditMode()) {
435 - elementor.once('document:loaded', () => this.onDocumentLoaded());
436 - } else {
437 - this.onDocumentLoaded();
438 - }
439 1346 }
440 - initOnReadyElements() {
441 - this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
442 - }
443 - addUserAgentClasses() {
444 - for (const [key, value] of Object.entries(_environment.default)) {
445 - if (value) {
446 - this.elements.$body.addClass('e--ua-' + key);
447 - }
448 - }
449 - }
450 - setDeviceModeData() {
451 - this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
452 - }
453 - addListenerOnce(listenerID, event, callback, to) {
454 - if (!to) {
455 - to = this.elements.$window;
456 - }
457 - if (!this.isEditMode()) {
458 - to.on(event, callback);
459 - return;
460 - }
461 - this.removeListeners(listenerID, event, to);
462 - if (to instanceof jQuery) {
463 - const eventNS = event + '.' + listenerID;
464 - to.on(eventNS, callback);
465 - } else {
466 - to.on(event, callback, listenerID);
467 - }
468 - }
469 - removeListeners(listenerID, event, callback, from) {
470 - if (!from) {
471 - from = this.elements.$window;
472 - }
473 - if (from instanceof jQuery) {
474 - const eventNS = event + '.' + listenerID;
475 - from.off(eventNS, callback);
476 - } else {
477 - from.off(event, callback, listenerID);
478 - }
479 - }
1347 + return function (/* ...args */) {
1348 + return fn.apply(that, arguments);
1349 + };
1350 +};
480 1351
481 - // Based on underscore function
482 - debounce(func, wait) {
483 - let timeout;
484 - return function () {
485 - const context = this,
486 - args = arguments;
487 - const later = () => {
488 - timeout = null;
489 - func.apply(context, args);
490 - };
491 - const callNow = !timeout;
492 - clearTimeout(timeout);
493 - timeout = setTimeout(later, wait);
494 - if (callNow) {
495 - func.apply(context, args);
1352 +
1353 +/***/ }),
1354 +/* 74 */
1355 +/***/ (function(module, exports, __webpack_require__) {
1356 +
1357 +// 7.1.1 ToPrimitive(input [, PreferredType])
1358 +var isObject = __webpack_require__(9);
1359 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
1360 +// and the second argument - flag - preferred type is a string
1361 +module.exports = function (it, S) {
1362 + if (!isObject(it)) return it;
1363 + var fn, val;
1364 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1365 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
1366 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1367 + throw TypeError("Can't convert object to primitive value");
1368 +};
1369 +
1370 +
1371 +/***/ }),
1372 +/* 75 */
1373 +/***/ (function(module, exports, __webpack_require__) {
1374 +
1375 +var shared = __webpack_require__(76)('keys');
1376 +var uid = __webpack_require__(59);
1377 +module.exports = function (key) {
1378 + return shared[key] || (shared[key] = uid(key));
1379 +};
1380 +
1381 +
1382 +/***/ }),
1383 +/* 76 */
1384 +/***/ (function(module, exports, __webpack_require__) {
1385 +
1386 +var core = __webpack_require__(6);
1387 +var global = __webpack_require__(8);
1388 +var SHARED = '__core-js_shared__';
1389 +var store = global[SHARED] || (global[SHARED] = {});
1390 +
1391 +(module.exports = function (key, value) {
1392 + return store[key] || (store[key] = value !== undefined ? value : {});
1393 +})('versions', []).push({
1394 + version: core.version,
1395 + mode: __webpack_require__(47) ? 'pure' : 'global',
1396 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1397 +});
1398 +
1399 +
1400 +/***/ }),
1401 +/* 77 */
1402 +/***/ (function(module, exports) {
1403 +
1404 +// 7.1.4 ToInteger
1405 +var ceil = Math.ceil;
1406 +var floor = Math.floor;
1407 +module.exports = function (it) {
1408 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1409 +};
1410 +
1411 +
1412 +/***/ }),
1413 +/* 78 */
1414 +/***/ (function(module, exports) {
1415 +
1416 +// IE 8- don't enum bug keys
1417 +module.exports = (
1418 + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1419 +).split(',');
1420 +
1421 +
1422 +/***/ }),
1423 +/* 79 */
1424 +/***/ (function(module, exports, __webpack_require__) {
1425 +
1426 +var global = __webpack_require__(8);
1427 +var core = __webpack_require__(6);
1428 +var LIBRARY = __webpack_require__(47);
1429 +var wksExt = __webpack_require__(63);
1430 +var defineProperty = __webpack_require__(15).f;
1431 +module.exports = function (name) {
1432 + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
1433 + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
1434 +};
1435 +
1436 +
1437 +/***/ }),
1438 +/* 80 */
1439 +/***/ (function(module, exports, __webpack_require__) {
1440 +
1441 +"use strict";
1442 +
1443 +
1444 +var isRegExp = __webpack_require__(122);
1445 +var anObject = __webpack_require__(18);
1446 +var speciesConstructor = __webpack_require__(154);
1447 +var advanceStringIndex = __webpack_require__(105);
1448 +var toLength = __webpack_require__(43);
1449 +var callRegExpExec = __webpack_require__(94);
1450 +var regexpExec = __webpack_require__(88);
1451 +var fails = __webpack_require__(33);
1452 +var $min = Math.min;
1453 +var $push = [].push;
1454 +var $SPLIT = 'split';
1455 +var LENGTH = 'length';
1456 +var LAST_INDEX = 'lastIndex';
1457 +var MAX_UINT32 = 0xffffffff;
1458 +
1459 +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
1460 +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
1461 +
1462 +// @@split logic
1463 +__webpack_require__(95)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
1464 + var internalSplit;
1465 + if (
1466 + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
1467 + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
1468 + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
1469 + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
1470 + '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
1471 + ''[$SPLIT](/.?/)[LENGTH]
1472 + ) {
1473 + // based on es5-shim implementation, need to rework it
1474 + internalSplit = function (separator, limit) {
1475 + var string = String(this);
1476 + if (separator === undefined && limit === 0) return [];
1477 + // If `separator` is not a regex, use native split
1478 + if (!isRegExp(separator)) return $split.call(string, separator, limit);
1479 + var output = [];
1480 + var flags = (separator.ignoreCase ? 'i' : '') +
1481 + (separator.multiline ? 'm' : '') +
1482 + (separator.unicode ? 'u' : '') +
1483 + (separator.sticky ? 'y' : '');
1484 + var lastLastIndex = 0;
1485 + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
1486 + // Make `global` and avoid `lastIndex` issues by working with a copy
1487 + var separatorCopy = new RegExp(separator.source, flags + 'g');
1488 + var match, lastIndex, lastLength;
1489 + while (match = regexpExec.call(separatorCopy, string)) {
1490 + lastIndex = separatorCopy[LAST_INDEX];
1491 + if (lastIndex > lastLastIndex) {
1492 + output.push(string.slice(lastLastIndex, match.index));
1493 + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
1494 + lastLength = match[0][LENGTH];
1495 + lastLastIndex = lastIndex;
1496 + if (output[LENGTH] >= splitLimit) break;
1497 + }
1498 + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
496 1499 }
1500 + if (lastLastIndex === string[LENGTH]) {
1501 + if (lastLength || !separatorCopy.test('')) output.push('');
1502 + } else output.push(string.slice(lastLastIndex));
1503 + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
497 1504 };
1505 + // Chakra, V8
1506 + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
1507 + internalSplit = function (separator, limit) {
1508 + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
1509 + };
1510 + } else {
1511 + internalSplit = $split;
498 1512 }
499 - muteMigrationTraces() {
500 - jQuery.migrateMute = true;
501 - jQuery.migrateTrace = false;
502 - }
503 1513
504 - /**
505 - * Initialize the modules' widgets handlers.
506 - */
507 - initModules() {
508 - const handlers = {
509 - shapes: _frontend.default
510 - };
1514 + return [
1515 + // `String.prototype.split` method
1516 + // https://tc39.github.io/ecma262/#sec-string.prototype.split
1517 + function split(separator, limit) {
1518 + var O = defined(this);
1519 + var splitter = separator == undefined ? undefined : separator[SPLIT];
1520 + return splitter !== undefined
1521 + ? splitter.call(separator, O, limit)
1522 + : internalSplit.call(String(O), separator, limit);
1523 + },
1524 + // `RegExp.prototype[@@split]` method
1525 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
1526 + //
1527 + // NOTE: This cannot be properly polyfilled in engines that don't support
1528 + // the 'y' flag.
1529 + function (regexp, limit) {
1530 + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
1531 + if (res.done) return res.value;
511 1532
512 - // TODO: BC - Deprecated since 3.5.0
513 - elementorFrontend.trigger('elementor/modules/init:before');
1533 + var rx = anObject(regexp);
1534 + var S = String(this);
1535 + var C = speciesConstructor(rx, RegExp);
514 1536
515 - // TODO: Use this instead.
516 - elementorFrontend.trigger('elementor/modules/init/before');
517 - Object.entries(handlers).forEach(([moduleName, ModuleClass]) => {
518 - this.modulesHandlers[moduleName] = new ModuleClass();
519 - });
520 - }
521 - populateActiveBreakpointsConfig() {
522 - this.config.responsive.activeBreakpoints = {};
523 - Object.entries(this.config.responsive.breakpoints).forEach(([breakpointKey, breakpointData]) => {
524 - if (breakpointData.is_enabled) {
525 - this.config.responsive.activeBreakpoints[breakpointKey] = breakpointData;
1537 + var unicodeMatching = rx.unicode;
1538 + var flags = (rx.ignoreCase ? 'i' : '') +
1539 + (rx.multiline ? 'm' : '') +
1540 + (rx.unicode ? 'u' : '') +
1541 + (SUPPORTS_Y ? 'y' : 'g');
1542 +
1543 + // ^(? + rx + ) is needed, in combination with some S slicing, to
1544 + // simulate the 'y' flag.
1545 + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
1546 + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1547 + if (lim === 0) return [];
1548 + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
1549 + var p = 0;
1550 + var q = 0;
1551 + var A = [];
1552 + while (q < S.length) {
1553 + splitter.lastIndex = SUPPORTS_Y ? q : 0;
1554 + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
1555 + var e;
1556 + if (
1557 + z === null ||
1558 + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
1559 + ) {
1560 + q = advanceStringIndex(S, q, unicodeMatching);
1561 + } else {
1562 + A.push(S.slice(p, q));
1563 + if (A.length === lim) return A;
1564 + for (var i = 1; i <= z.length - 1; i++) {
1565 + A.push(z[i]);
1566 + if (A.length === lim) return A;
1567 + }
1568 + q = p = e;
1569 + }
526 1570 }
527 - });
528 - }
529 - init() {
530 - this.hooks = new EventManager();
531 - this.breakpoints = new _breakpoints.default(this.config.responsive);
532 - this.storage = new _storage.default();
533 - this.elementsHandler = new ElementsHandler(jQuery);
534 - this.modulesHandlers = {};
535 - this.addUserAgentClasses();
536 - this.setDeviceModeData();
537 - this.initDialogsManager();
538 - if (this.isEditMode()) {
539 - this.muteMigrationTraces();
1571 + A.push(S.slice(p));
1572 + return A;
540 1573 }
1574 + ];
1575 +});
541 1576
542 - // Keep this line before `initOnReadyComponents` call
543 - _events.default.dispatch(this.elements.$window, 'elementor/frontend/init');
544 - this.initModules();
545 - this.initOnReadyElements();
546 - this.initOnReadyComponents();
547 - }
548 - onDocumentLoaded() {
549 - this.documentsManager = new _documentsManager.default();
550 - this.trigger('components:init');
551 - new _lightboxManager.default();
552 - }
553 -}
554 -exports["default"] = Frontend;
555 -window.elementorFrontend = new Frontend();
556 -if (!elementorFrontend.isEditMode()) {
557 - jQuery(() => elementorFrontend.init());
558 -}
559 1577
560 1578 /***/ }),
1579 +/* 81 */,
1580 +/* 82 */,
1581 +/* 83 */
1582 +/***/ (function(module, exports, __webpack_require__) {
561 1583
562 -/***/ "../assets/dev/js/frontend/handlers/column.js":
563 -/*!****************************************************!*\
564 - !*** ../assets/dev/js/frontend/handlers/column.js ***!
565 - \****************************************************/
566 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1584 +// most Object methods by ES6 should accept primitives
1585 +var $export = __webpack_require__(7);
1586 +var core = __webpack_require__(6);
1587 +var fails = __webpack_require__(22);
1588 +module.exports = function (KEY, exec) {
1589 + var fn = (core.Object || {})[KEY] || Object[KEY];
1590 + var exp = {};
1591 + exp[KEY] = exec(fn);
1592 + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
1593 +};
567 1594
568 1595
1596 +/***/ }),
1597 +/* 84 */
1598 +/***/ (function(module, exports, __webpack_require__) {
569 1599
570 -Object.defineProperty(exports, "__esModule", ({
571 - value: true
572 -}));
573 -exports["default"] = void 0;
574 -var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js"))];
1600 +// 22.1.3.31 Array.prototype[@@unscopables]
1601 +var UNSCOPABLES = __webpack_require__(12)('unscopables');
1602 +var ArrayProto = Array.prototype;
1603 +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(29)(ArrayProto, UNSCOPABLES, {});
1604 +module.exports = function (key) {
1605 + ArrayProto[UNSCOPABLES][key] = true;
1606 +};
575 1607
1608 +
576 1609 /***/ }),
1610 +/* 85 */,
1611 +/* 86 */
1612 +/***/ (function(module, exports, __webpack_require__) {
577 1613
578 -/***/ "../assets/dev/js/frontend/handlers/container/container.js":
579 -/*!*****************************************************************!*\
580 - !*** ../assets/dev/js/frontend/handlers/container/container.js ***!
581 - \*****************************************************************/
582 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1614 +var ctx = __webpack_require__(31);
1615 +var call = __webpack_require__(140);
1616 +var isArrayIter = __webpack_require__(141);
1617 +var anObject = __webpack_require__(13);
1618 +var toLength = __webpack_require__(68);
1619 +var getIterFn = __webpack_require__(112);
1620 +var BREAK = {};
1621 +var RETURN = {};
1622 +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
1623 + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
1624 + var f = ctx(fn, that, entries ? 2 : 1);
1625 + var index = 0;
1626 + var length, step, iterator, result;
1627 + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
1628 + // fast case for arrays with default iterator
1629 + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
1630 + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
1631 + if (result === BREAK || result === RETURN) return result;
1632 + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
1633 + result = call(iterator, f, step.value, entries);
1634 + if (result === BREAK || result === RETURN) return result;
1635 + }
1636 +};
1637 +exports.BREAK = BREAK;
1638 +exports.RETURN = RETURN;
583 1639
584 1640
1641 +/***/ }),
1642 +/* 87 */,
1643 +/* 88 */
1644 +/***/ (function(module, exports, __webpack_require__) {
585 1645
586 -Object.defineProperty(exports, "__esModule", ({
587 - value: true
588 -}));
589 -exports["default"] = void 0;
590 -var _createEditorHandler = __webpack_require__(/*! ../create-editor-handler */ "../assets/dev/js/frontend/handlers/create-editor-handler.js");
591 -var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js")), () => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-video */ "../assets/dev/js/frontend/handlers/background-video.js")), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | shared-editor-handlers */ "shared-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../handles-position */ "../assets/dev/js/frontend/handlers/handles-position.js"))), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | container-editor-handlers */ "container-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./shapes */ "../assets/dev/js/frontend/handlers/container/shapes.js"))), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | container-editor-handlers */ "container-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./grid-container */ "../assets/dev/js/frontend/handlers/container/grid-container.js")))];
1646 +"use strict";
592 1647
593 -/***/ }),
594 1648
595 -/***/ "../assets/dev/js/frontend/handlers/create-editor-handler.js":
596 -/*!*******************************************************************!*\
597 - !*** ../assets/dev/js/frontend/handlers/create-editor-handler.js ***!
598 - \*******************************************************************/
599 -/***/ ((__unused_webpack_module, exports) => {
1649 +var regexpFlags = __webpack_require__(106);
600 1650
1651 +var nativeExec = RegExp.prototype.exec;
1652 +// This always refers to the native implementation, because the
1653 +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
1654 +// which loads this file before patching the method.
1655 +var nativeReplace = String.prototype.replace;
601 1656
1657 +var patchedExec = nativeExec;
602 1658
603 -Object.defineProperty(exports, "__esModule", ({
604 - value: true
605 -}));
606 -exports.createEditorHandler = createEditorHandler;
607 -function createEditorHandler(importer) {
608 - return () => {
609 - return new Promise(resolve => {
610 - if (elementorFrontend.isEditMode()) {
611 - importer().then(resolve);
612 - }
613 - });
614 - };
615 -}
1659 +var LAST_INDEX = 'lastIndex';
616 1660
617 -/***/ }),
1661 +var UPDATES_LAST_INDEX_WRONG = (function () {
1662 + var re1 = /a/,
1663 + re2 = /b*/g;
1664 + nativeExec.call(re1, 'a');
1665 + nativeExec.call(re2, 'a');
1666 + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
1667 +})();
618 1668
619 -/***/ "../assets/dev/js/frontend/handlers/global.js":
620 -/*!****************************************************!*\
621 - !*** ../assets/dev/js/frontend/handlers/global.js ***!
622 - \****************************************************/
623 -/***/ ((__unused_webpack_module, exports) => {
1669 +// nonparticipating capturing group, copied from es5-shim's String#split patch.
1670 +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
624 1671
1672 +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
625 1673
1674 +if (PATCH) {
1675 + patchedExec = function exec(str) {
1676 + var re = this;
1677 + var lastIndex, reCopy, match, i;
626 1678
627 -Object.defineProperty(exports, "__esModule", ({
628 - value: true
629 -}));
630 -exports["default"] = void 0;
631 -class GlobalHandler extends elementorModules.frontend.handlers.Base {
632 - getWidgetType() {
633 - return 'global';
634 - }
635 - animate() {
636 - const $element = this.$element,
637 - animation = this.getAnimation();
638 - if ('none' === animation) {
639 - $element.removeClass('elementor-invisible');
640 - return;
1679 + if (NPCG_INCLUDED) {
1680 + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
641 1681 }
642 - const elementSettings = this.getElementSettings(),
643 - animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
644 - $element.removeClass(animation);
645 - if (this.currentAnimation) {
646 - $element.removeClass(this.currentAnimation);
1682 + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
1683 +
1684 + match = nativeExec.call(re, str);
1685 +
1686 + if (UPDATES_LAST_INDEX_WRONG && match) {
1687 + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
647 1688 }
648 - this.currentAnimation = animation;
649 - setTimeout(() => {
650 - $element.removeClass('elementor-invisible').addClass('animated ' + animation);
651 - }, animationDelay);
652 - }
653 - getAnimation() {
654 - return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
655 - }
656 - onInit(...args) {
657 - super.onInit(...args);
658 - if (this.getAnimation()) {
659 - const observer = elementorModules.utils.Scroll.scrollObserver({
660 - callback: event => {
661 - if (event.isInViewport) {
662 - this.animate();
663 - observer.unobserve(this.$element[0]);
664 - }
1689 + if (NPCG_INCLUDED && match && match.length > 1) {
1690 + // Fix browsers whose `exec` methods don't consistently return `undefined`
1691 + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1692 + // eslint-disable-next-line no-loop-func
1693 + nativeReplace.call(match[0], reCopy, function () {
1694 + for (i = 1; i < arguments.length - 2; i++) {
1695 + if (arguments[i] === undefined) match[i] = undefined;
665 1696 }
666 1697 });
667 - observer.observe(this.$element[0]);
668 1698 }
669 - }
670 - onElementChange(propertyName) {
671 - if (/^_?animation/.test(propertyName)) {
672 - this.animate();
673 - }
674 - }
1699 +
1700 + return match;
1701 + };
675 1702 }
676 -var _default = $scope => {
677 - elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
678 - $element: $scope
679 - });
1703 +
1704 +module.exports = patchedExec;
1705 +
1706 +
1707 +/***/ }),
1708 +/* 89 */,
1709 +/* 90 */,
1710 +/* 91 */
1711 +/***/ (function(module, exports) {
1712 +
1713 +module.exports = function (it) {
1714 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1715 + return it;
680 1716 };
681 -exports["default"] = _default;
682 1717
1718 +
683 1719 /***/ }),
1720 +/* 92 */
1721 +/***/ (function(module, exports, __webpack_require__) {
684 1722
685 -/***/ "../assets/dev/js/frontend/handlers/section/section.js":
686 -/*!*************************************************************!*\
687 - !*** ../assets/dev/js/frontend/handlers/section/section.js ***!
688 - \*************************************************************/
689 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1723 +var isObject = __webpack_require__(9);
1724 +var document = __webpack_require__(8).document;
1725 +// typeof document.createElement is 'object' in old IE
1726 +var is = isObject(document) && isObject(document.createElement);
1727 +module.exports = function (it) {
1728 + return is ? document.createElement(it) : {};
1729 +};
690 1730
691 1731
1732 +/***/ }),
1733 +/* 93 */
1734 +/***/ (function(module, exports, __webpack_require__) {
692 1735
693 -Object.defineProperty(exports, "__esModule", ({
694 - value: true
695 -}));
696 -exports["default"] = void 0;
697 -var _createEditorHandler = __webpack_require__(/*! ../create-editor-handler */ "../assets/dev/js/frontend/handlers/create-editor-handler.js");
698 -var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | section-frontend-handlers */ "section-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./stretched-section */ "../assets/dev/js/frontend/handlers/section/stretched-section.js")),
699 -// Must run before BackgroundSlideshow to init the slideshow only after the stretch.
700 -() => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js")), () => __webpack_require__.e(/*! import() | shared-frontend-handlers */ "shared-frontend-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../background-video */ "../assets/dev/js/frontend/handlers/background-video.js")), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | shared-editor-handlers */ "shared-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ../handles-position */ "../assets/dev/js/frontend/handlers/handles-position.js"))), (0, _createEditorHandler.createEditorHandler)(() => __webpack_require__.e(/*! import() | section-editor-handlers */ "section-editor-handlers").then(__webpack_require__.bind(__webpack_require__, /*! ./shapes */ "../assets/dev/js/frontend/handlers/section/shapes.js")))];
1736 +module.exports = __webpack_require__(24);
701 1737
1738 +
702 1739 /***/ }),
1740 +/* 94 */
1741 +/***/ (function(module, exports, __webpack_require__) {
703 1742
704 -/***/ "../assets/dev/js/frontend/utils/anchor-scroll-margin.js":
705 -/*!***************************************************************!*\
706 - !*** ../assets/dev/js/frontend/utils/anchor-scroll-margin.js ***!
707 - \***************************************************************/
708 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1743 +"use strict";
709 1744
710 1745
1746 +var classof = __webpack_require__(113);
1747 +var builtinExec = RegExp.prototype.exec;
711 1748
712 -Object.defineProperty(exports, "__esModule", ({
713 - value: true
714 -}));
715 -exports["default"] = void 0;
716 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
717 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
718 -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
719 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
720 -class _default extends elementorModules.ViewModule {
721 - getDefaultSettings() {
722 - return {
723 - selectors: {
724 - links: '.elementor-element a[href*="#"]',
725 - stickyElements: '.elementor-element.elementor-sticky'
726 - }
727 - };
1749 + // `RegExpExec` abstract operation
1750 +// https://tc39.github.io/ecma262/#sec-regexpexec
1751 +module.exports = function (R, S) {
1752 + var exec = R.exec;
1753 + if (typeof exec === 'function') {
1754 + var result = exec.call(R, S);
1755 + if (typeof result !== 'object') {
1756 + throw new TypeError('RegExp exec method returned something other than an Object or null');
1757 + }
1758 + return result;
728 1759 }
729 - onInit() {
730 - this.observeStickyElements(() => {
731 - this.initializeStickyAndAnchorTracking();
732 - });
1760 + if (classof(R) !== 'RegExp') {
1761 + throw new TypeError('RegExp#exec called on incompatible receiver');
733 1762 }
734 - observeStickyElements(callback) {
735 - const observer = new MutationObserver(mutationsList => {
736 - for (const mutation of mutationsList) {
737 - if ('childList' === mutation.type || 'attributes' === mutation.type && mutation.target.classList.contains('elementor-sticky')) {
738 - callback();
1763 + return builtinExec.call(R, S);
1764 +};
1765 +
1766 +
1767 +/***/ }),
1768 +/* 95 */
1769 +/***/ (function(module, exports, __webpack_require__) {
1770 +
1771 +"use strict";
1772 +
1773 +__webpack_require__(190);
1774 +var redefine = __webpack_require__(36);
1775 +var hide = __webpack_require__(29);
1776 +var fails = __webpack_require__(33);
1777 +var defined = __webpack_require__(42);
1778 +var wks = __webpack_require__(12);
1779 +var regexpExec = __webpack_require__(88);
1780 +
1781 +var SPECIES = wks('species');
1782 +
1783 +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1784 + // #replace needs built-in support for named groups.
1785 + // #match works fine because it just return the exec results, even if it has
1786 + // a "grops" property.
1787 + var re = /./;
1788 + re.exec = function () {
1789 + var result = [];
1790 + result.groups = { a: '7' };
1791 + return result;
1792 + };
1793 + return ''.replace(re, '$<a>') !== '7';
1794 +});
1795 +
1796 +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
1797 + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1798 + var re = /(?:)/;
1799 + var originalExec = re.exec;
1800 + re.exec = function () { return originalExec.apply(this, arguments); };
1801 + var result = 'ab'.split(re);
1802 + return result.length === 2 && result[0] === 'a' && result[1] === 'b';
1803 +})();
1804 +
1805 +module.exports = function (KEY, length, exec) {
1806 + var SYMBOL = wks(KEY);
1807 +
1808 + var DELEGATES_TO_SYMBOL = !fails(function () {
1809 + // String methods call symbol-named RegEp methods
1810 + var O = {};
1811 + O[SYMBOL] = function () { return 7; };
1812 + return ''[KEY](O) != 7;
1813 + });
1814 +
1815 + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
1816 + // Symbol-named RegExp methods call .exec
1817 + var execCalled = false;
1818 + var re = /a/;
1819 + re.exec = function () { execCalled = true; return null; };
1820 + if (KEY === 'split') {
1821 + // RegExp[@@split] doesn't call the regex's exec method, but first creates
1822 + // a new one. We need to return the patched regex when creating the new one.
1823 + re.constructor = {};
1824 + re.constructor[SPECIES] = function () { return re; };
1825 + }
1826 + re[SYMBOL]('');
1827 + return !execCalled;
1828 + }) : undefined;
1829 +
1830 + if (
1831 + !DELEGATES_TO_SYMBOL ||
1832 + !DELEGATES_TO_EXEC ||
1833 + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
1834 + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1835 + ) {
1836 + var nativeRegExpMethod = /./[SYMBOL];
1837 + var fns = exec(
1838 + defined,
1839 + SYMBOL,
1840 + ''[KEY],
1841 + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
1842 + if (regexp.exec === regexpExec) {
1843 + if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1844 + // The native String method already delegates to @@method (this
1845 + // polyfilled function), leasing to infinite recursion.
1846 + // We avoid it by directly calling the native @@method method.
1847 + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1848 + }
1849 + return { done: true, value: nativeMethod.call(str, regexp, arg2) };
739 1850 }
1851 + return { done: false };
740 1852 }
741 - });
742 - observer.observe(document.body, {
743 - childList: true,
744 - subtree: true,
745 - attributes: true,
746 - attributeFilter: ['class', 'style']
747 - });
1853 + );
1854 + var strfn = fns[0];
1855 + var rxfn = fns[1];
1856 +
1857 + redefine(String.prototype, KEY, strfn);
1858 + hide(RegExp.prototype, SYMBOL, length == 2
1859 + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1860 + // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1861 + ? function (string, arg) { return rxfn.call(string, this, arg); }
1862 + // 21.2.5.6 RegExp.prototype[@@match](string)
1863 + // 21.2.5.9 RegExp.prototype[@@search](string)
1864 + : function (string) { return rxfn.call(string, this); }
1865 + );
748 1866 }
749 - initializeStickyAndAnchorTracking() {
750 - const anchorLinks = this.getAllAnchorLinks();
751 - const stickyElements = this.getAllStickyElements();
752 - const trackedElements = [];
753 - if (!stickyElements.length > 0 && !anchorLinks.length > 0) {
754 - return;
1867 +};
1868 +
1869 +
1870 +/***/ }),
1871 +/* 96 */
1872 +/***/ (function(module, exports, __webpack_require__) {
1873 +
1874 +// 7.1.13 ToObject(argument)
1875 +var defined = __webpack_require__(42);
1876 +module.exports = function (it) {
1877 + return Object(defined(it));
1878 +};
1879 +
1880 +
1881 +/***/ }),
1882 +/* 97 */
1883 +/***/ (function(module, exports, __webpack_require__) {
1884 +
1885 +// 7.2.2 IsArray(argument)
1886 +var cof = __webpack_require__(56);
1887 +module.exports = Array.isArray || function isArray(arg) {
1888 + return cof(arg) == 'Array';
1889 +};
1890 +
1891 +
1892 +/***/ }),
1893 +/* 98 */
1894 +/***/ (function(module, exports, __webpack_require__) {
1895 +
1896 +// to indexed object, toObject with fallback for non-array-like ES3 strings
1897 +var IObject = __webpack_require__(120);
1898 +var defined = __webpack_require__(42);
1899 +module.exports = function (it) {
1900 + return IObject(defined(it));
1901 +};
1902 +
1903 +
1904 +/***/ }),
1905 +/* 99 */
1906 +/***/ (function(module, exports, __webpack_require__) {
1907 +
1908 +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1909 +var $keys = __webpack_require__(116);
1910 +var hiddenKeys = __webpack_require__(78).concat('length', 'prototype');
1911 +
1912 +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1913 + return $keys(O, hiddenKeys);
1914 +};
1915 +
1916 +
1917 +/***/ }),
1918 +/* 100 */
1919 +/***/ (function(module, exports) {
1920 +
1921 +
1922 +
1923 +/***/ }),
1924 +/* 101 */
1925 +/***/ (function(module, exports, __webpack_require__) {
1926 +
1927 +// getting tag from 19.1.3.6 Object.prototype.toString()
1928 +var cof = __webpack_require__(56);
1929 +var TAG = __webpack_require__(10)('toStringTag');
1930 +// ES3 wrong here
1931 +var ARG = cof(function () { return arguments; }()) == 'Arguments';
1932 +
1933 +// fallback for IE11 Script Access Denied error
1934 +var tryGet = function (it, key) {
1935 + try {
1936 + return it[key];
1937 + } catch (e) { /* empty */ }
1938 +};
1939 +
1940 +module.exports = function (it) {
1941 + var O, T, B;
1942 + return it === undefined ? 'Undefined' : it === null ? 'Null'
1943 + // @@toStringTag case
1944 + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1945 + // builtinTag case
1946 + : ARG ? cof(O)
1947 + // ES3 arguments fallback
1948 + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
1949 +};
1950 +
1951 +
1952 +/***/ }),
1953 +/* 102 */
1954 +/***/ (function(module, exports) {
1955 +
1956 +module.exports = function (bitmap, value) {
1957 + return {
1958 + enumerable: !(bitmap & 1),
1959 + configurable: !(bitmap & 2),
1960 + writable: !(bitmap & 4),
1961 + value: value
1962 + };
1963 +};
1964 +
1965 +
1966 +/***/ }),
1967 +/* 103 */
1968 +/***/ (function(module, exports, __webpack_require__) {
1969 +
1970 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
1971 +var cof = __webpack_require__(56);
1972 +// eslint-disable-next-line no-prototype-builtins
1973 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
1974 + return cof(it) == 'String' ? it.split('') : Object(it);
1975 +};
1976 +
1977 +
1978 +/***/ }),
1979 +/* 104 */,
1980 +/* 105 */
1981 +/***/ (function(module, exports, __webpack_require__) {
1982 +
1983 +"use strict";
1984 +
1985 +var at = __webpack_require__(143)(true);
1986 +
1987 + // `AdvanceStringIndex` abstract operation
1988 +// https://tc39.github.io/ecma262/#sec-advancestringindex
1989 +module.exports = function (S, index, unicode) {
1990 + return index + (unicode ? at(S, index).length : 1);
1991 +};
1992 +
1993 +
1994 +/***/ }),
1995 +/* 106 */
1996 +/***/ (function(module, exports, __webpack_require__) {
1997 +
1998 +"use strict";
1999 +
2000 +// 21.2.5.3 get RegExp.prototype.flags
2001 +var anObject = __webpack_require__(18);
2002 +module.exports = function () {
2003 + var that = anObject(this);
2004 + var result = '';
2005 + if (that.global) result += 'g';
2006 + if (that.ignoreCase) result += 'i';
2007 + if (that.multiline) result += 'm';
2008 + if (that.unicode) result += 'u';
2009 + if (that.sticky) result += 'y';
2010 + return result;
2011 +};
2012 +
2013 +
2014 +/***/ }),
2015 +/* 107 */
2016 +/***/ (function(module, exports, __webpack_require__) {
2017 +
2018 +module.exports = __webpack_require__(168);
2019 +
2020 +/***/ }),
2021 +/* 108 */
2022 +/***/ (function(module, exports, __webpack_require__) {
2023 +
2024 +"use strict";
2025 +
2026 +var LIBRARY = __webpack_require__(47);
2027 +var $export = __webpack_require__(7);
2028 +var redefine = __webpack_require__(93);
2029 +var hide = __webpack_require__(24);
2030 +var Iterators = __webpack_require__(35);
2031 +var $iterCreate = __webpack_require__(174);
2032 +var setToStringTag = __webpack_require__(53);
2033 +var getPrototypeOf = __webpack_require__(64);
2034 +var ITERATOR = __webpack_require__(10)('iterator');
2035 +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
2036 +var FF_ITERATOR = '@@iterator';
2037 +var KEYS = 'keys';
2038 +var VALUES = 'values';
2039 +
2040 +var returnThis = function () { return this; };
2041 +
2042 +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
2043 + $iterCreate(Constructor, NAME, next);
2044 + var getMethod = function (kind) {
2045 + if (!BUGGY && kind in proto) return proto[kind];
2046 + switch (kind) {
2047 + case KEYS: return function keys() { return new Constructor(this, kind); };
2048 + case VALUES: return function values() { return new Constructor(this, kind); };
2049 + } return function entries() { return new Constructor(this, kind); };
2050 + };
2051 + var TAG = NAME + ' Iterator';
2052 + var DEF_VALUES = DEFAULT == VALUES;
2053 + var VALUES_BUG = false;
2054 + var proto = Base.prototype;
2055 + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
2056 + var $default = $native || getMethod(DEFAULT);
2057 + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
2058 + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
2059 + var methods, key, IteratorPrototype;
2060 + // Fix native
2061 + if ($anyNative) {
2062 + IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
2063 + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
2064 + // Set @@toStringTag to native iterators
2065 + setToStringTag(IteratorPrototype, TAG, true);
2066 + // fix for some old engines
2067 + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
755 2068 }
756 - this.trackStickyElements(stickyElements, trackedElements);
757 - this.trackAnchorLinks(anchorLinks, trackedElements);
758 - this.organizeStickyAndAnchors(trackedElements);
759 2069 }
760 - trackAnchorLinks(anchorLinks, trackedElements) {
761 - anchorLinks.forEach(element => {
762 - const target = this.getAnchorTarget(element);
763 - const scrollPosition = this.getScrollPosition(target);
764 - trackedElements.push({
765 - element: target,
766 - type: 'anchor',
767 - scrollPosition
768 - });
769 - });
2070 + // fix Array#{values, @@iterator}.name in V8 / FF
2071 + if (DEF_VALUES && $native && $native.name !== VALUES) {
2072 + VALUES_BUG = true;
2073 + $default = function values() { return $native.call(this); };
770 2074 }
771 - trackStickyElements(stickyElements, trackedElements) {
772 - stickyElements.forEach(element => {
773 - const settings = this.getElementSettings(element);
774 - if (!settings || !settings.sticky_anchor_link_offset) {
775 - return;
776 - }
777 - const {
778 - sticky_anchor_link_offset: scrollMarginTop
779 - } = settings;
780 - if (0 === scrollMarginTop) {
781 - return;
782 - }
783 - const scrollPosition = this.getScrollPosition(element);
784 - trackedElements.push({
785 - scrollMarginTop,
786 - type: 'sticky',
787 - scrollPosition
788 - });
789 - });
2075 + // Define iterator
2076 + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
2077 + hide(proto, ITERATOR, $default);
790 2078 }
791 - organizeStickyAndAnchors(elements) {
792 - const stickyList = this.filterAndSortElementsByType(elements, 'sticky');
793 - const anchorList = this.filterAndSortElementsByType(elements, 'anchor');
794 - stickyList.forEach((sticky, index) => {
795 - this.defineCurrentStickyRange(sticky, index, stickyList, anchorList);
796 - });
2079 + // Plug for library
2080 + Iterators[NAME] = $default;
2081 + Iterators[TAG] = returnThis;
2082 + if (DEFAULT) {
2083 + methods = {
2084 + values: DEF_VALUES ? $default : getMethod(VALUES),
2085 + keys: IS_SET ? $default : getMethod(KEYS),
2086 + entries: $entries
2087 + };
2088 + if (FORCED) for (key in methods) {
2089 + if (!(key in proto)) redefine(proto, key, methods[key]);
2090 + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
797 2091 }
798 - defineCurrentStickyRange(sticky, index, stickyList, anchorList) {
799 - const nextStickyScrollPosition = index + 1 < stickyList.length ? stickyList[index + 1].scrollPosition : Infinity;
800 - sticky.anchor = anchorList.filter(anchor => {
801 - const withinRange = anchor.scrollPosition > sticky.scrollPosition && anchor.scrollPosition < nextStickyScrollPosition;
802 - if (withinRange) {
803 - anchor.element.style.scrollMarginTop = `${sticky.scrollMarginTop}px`;
804 - }
805 - return withinRange;
806 - });
2092 + return methods;
2093 +};
2094 +
2095 +
2096 +/***/ }),
2097 +/* 109 */
2098 +/***/ (function(module, exports, __webpack_require__) {
2099 +
2100 +var isObject = __webpack_require__(30);
2101 +var document = __webpack_require__(17).document;
2102 +// typeof document.createElement is 'object' in old IE
2103 +var is = isObject(document) && isObject(document.createElement);
2104 +module.exports = function (it) {
2105 + return is ? document.createElement(it) : {};
2106 +};
2107 +
2108 +
2109 +/***/ }),
2110 +/* 110 */
2111 +/***/ (function(module, exports) {
2112 +
2113 +module.exports = false;
2114 +
2115 +
2116 +/***/ }),
2117 +/* 111 */
2118 +/***/ (function(module, exports, __webpack_require__) {
2119 +
2120 +module.exports = __webpack_require__(177);
2121 +
2122 +/***/ }),
2123 +/* 112 */
2124 +/***/ (function(module, exports, __webpack_require__) {
2125 +
2126 +var classof = __webpack_require__(101);
2127 +var ITERATOR = __webpack_require__(10)('iterator');
2128 +var Iterators = __webpack_require__(35);
2129 +module.exports = __webpack_require__(6).getIteratorMethod = function (it) {
2130 + if (it != undefined) return it[ITERATOR]
2131 + || it['@@iterator']
2132 + || Iterators[classof(it)];
2133 +};
2134 +
2135 +
2136 +/***/ }),
2137 +/* 113 */
2138 +/***/ (function(module, exports, __webpack_require__) {
2139 +
2140 +// getting tag from 19.1.3.6 Object.prototype.toString()
2141 +var cof = __webpack_require__(46);
2142 +var TAG = __webpack_require__(12)('toStringTag');
2143 +// ES3 wrong here
2144 +var ARG = cof(function () { return arguments; }()) == 'Arguments';
2145 +
2146 +// fallback for IE11 Script Access Denied error
2147 +var tryGet = function (it, key) {
2148 + try {
2149 + return it[key];
2150 + } catch (e) { /* empty */ }
2151 +};
2152 +
2153 +module.exports = function (it) {
2154 + var O, T, B;
2155 + return it === undefined ? 'Undefined' : it === null ? 'Null'
2156 + // @@toStringTag case
2157 + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
2158 + // builtinTag case
2159 + : ARG ? cof(O)
2160 + // ES3 arguments fallback
2161 + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
2162 +};
2163 +
2164 +
2165 +/***/ }),
2166 +/* 114 */
2167 +/***/ (function(module, exports, __webpack_require__) {
2168 +
2169 +module.exports = !__webpack_require__(14) && !__webpack_require__(22)(function () {
2170 + return Object.defineProperty(__webpack_require__(92)('div'), 'a', { get: function () { return 7; } }).a != 7;
2171 +});
2172 +
2173 +
2174 +/***/ }),
2175 +/* 115 */
2176 +/***/ (function(module, exports, __webpack_require__) {
2177 +
2178 +module.exports = __webpack_require__(161);
2179 +
2180 +/***/ }),
2181 +/* 116 */
2182 +/***/ (function(module, exports, __webpack_require__) {
2183 +
2184 +var has = __webpack_require__(19);
2185 +var toIObject = __webpack_require__(20);
2186 +var arrayIndexOf = __webpack_require__(166)(false);
2187 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
2188 +
2189 +module.exports = function (object, names) {
2190 + var O = toIObject(object);
2191 + var i = 0;
2192 + var result = [];
2193 + var key;
2194 + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
2195 + // Don't enum bug & hidden keys
2196 + while (names.length > i) if (has(O, key = names[i++])) {
2197 + ~arrayIndexOf(result, key) || result.push(key);
807 2198 }
808 - getScrollPosition(element) {
809 - let offsetTop = 0;
810 - while (element) {
811 - offsetTop += element.offsetTop;
812 - element = element.offsetParent;
813 - }
814 - return offsetTop;
815 - }
816 - getAllStickyElements() {
817 - const allStickyElements = document.querySelectorAll(this.getSettings('selectors.stickyElements'));
818 - return Array.from(allStickyElements).filter((anchor, index, self) => index === self.findIndex(t => t.getAttribute('data-id') === anchor.getAttribute('data-id')));
819 - }
820 - getAllAnchorLinks() {
821 - const allAnchors = document.querySelectorAll(this.getSettings('selectors.links'));
822 - return Array.from(allAnchors).filter((anchor, index, self) => index === self.findIndex(t => t.getAttribute('href') === anchor.getAttribute('href')));
823 - }
824 - filterAndSortElementsByType(elements, type) {
825 - return elements.filter(item => type === item.type).sort((a, b) => a.scrollPosition - b.scrollPosition);
826 - }
827 - isValidSelector(hash) {
828 - const validSelectorPattern = /^#[A-Za-z_][\w-]*$/;
829 - return validSelectorPattern.test(hash);
830 - }
831 - getAnchorTarget(element) {
832 - const hash = element?.hash;
833 - if (!this.isValidSelector(hash)) {
834 - return null;
835 - }
836 - return document.querySelector(hash);
837 - }
838 - getElementSettings(element) {
839 - return JSON.parse(element.getAttribute('data-settings'));
840 - }
841 -}
842 -exports["default"] = _default;
2199 + return result;
2200 +};
843 2201
2202 +
844 2203 /***/ }),
2204 +/* 117 */,
2205 +/* 118 */,
2206 +/* 119 */
2207 +/***/ (function(module, exports, __webpack_require__) {
845 2208
846 -/***/ "../assets/dev/js/frontend/utils/assets-loader.js":
847 -/*!********************************************************!*\
848 - !*** ../assets/dev/js/frontend/utils/assets-loader.js ***!
849 - \********************************************************/
850 -/***/ ((__unused_webpack_module, exports) => {
2209 +"use strict";
851 2210
852 2211
2212 +var anObject = __webpack_require__(18);
2213 +var toLength = __webpack_require__(43);
2214 +var advanceStringIndex = __webpack_require__(105);
2215 +var regExpExec = __webpack_require__(94);
853 2216
854 -Object.defineProperty(exports, "__esModule", ({
855 - value: true
856 -}));
857 -exports["default"] = void 0;
858 -class AssetsLoader {
859 - getScriptElement(src) {
860 - const scriptElement = document.createElement('script');
861 - scriptElement.src = src;
862 - return scriptElement;
863 - }
864 - getStyleElement(src) {
865 - const styleElement = document.createElement('link');
866 - styleElement.rel = 'stylesheet';
867 - styleElement.href = src;
868 - return styleElement;
869 - }
870 - load(type, key) {
871 - const assetData = AssetsLoader.assets[type][key];
872 - if (!assetData.loader) {
873 - assetData.loader = this.isAssetLoaded(assetData, type) ? Promise.resolve(true) : this.loadAsset(assetData, type);
874 - }
875 - return assetData.loader;
876 - }
877 - isAssetLoaded(assetData, assetType) {
878 - const filePath = 'script' === assetType ? `script[src="${assetData.src}"]` : `link[href="${assetData.src}"]`;
879 - return !!document.querySelectorAll(filePath)?.length;
880 - }
881 - loadAsset(assetData, assetType) {
882 - return new Promise(resolve => {
883 - const element = 'style' === assetType ? this.getStyleElement(assetData.src) : this.getScriptElement(assetData.src);
884 - element.onload = () => resolve(true);
885 - this.appendAsset(assetData, element);
886 - });
887 - }
888 - appendAsset(assetData, element) {
889 - const beforeElement = document.querySelector(assetData.before);
890 - if (!!beforeElement) {
891 - beforeElement.insertAdjacentElement('beforebegin', element);
892 - return;
893 - }
894 - const parent = 'head' === assetData.parent ? assetData.parent : 'body';
895 - document[parent].appendChild(element);
896 - }
897 -}
898 -exports["default"] = AssetsLoader;
899 -const assetsUrl = elementorFrontendConfig.urls.assets;
900 -const fileSuffix = elementorFrontendConfig.environmentMode.isScriptDebug ? '' : '.min';
901 -const pluginVersion = elementorFrontendConfig.version;
902 -AssetsLoader.assets = {
903 - script: {
904 - dialog: {
905 - src: `${assetsUrl}lib/dialog/dialog${fileSuffix}.js?ver=4.9.3`
2217 +// @@match logic
2218 +__webpack_require__(95)('match', 1, function (defined, MATCH, $match, maybeCallNative) {
2219 + return [
2220 + // `String.prototype.match` method
2221 + // https://tc39.github.io/ecma262/#sec-string.prototype.match
2222 + function match(regexp) {
2223 + var O = defined(this);
2224 + var fn = regexp == undefined ? undefined : regexp[MATCH];
2225 + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
906 2226 },
907 - 'share-link': {
908 - src: `${assetsUrl}lib/share-link/share-link${fileSuffix}.js?ver=${pluginVersion}`
909 - },
910 - // TODO: Remove 'swiper' in v3.29.0 [ED-16272].
911 - swiper: {
912 - src: `${assetsUrl}lib/swiper/v8/swiper${fileSuffix}.js?ver=8.4.5`
2227 + // `RegExp.prototype[@@match]` method
2228 + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
2229 + function (regexp) {
2230 + var res = maybeCallNative($match, regexp, this);
2231 + if (res.done) return res.value;
2232 + var rx = anObject(regexp);
2233 + var S = String(this);
2234 + if (!rx.global) return regExpExec(rx, S);
2235 + var fullUnicode = rx.unicode;
2236 + rx.lastIndex = 0;
2237 + var A = [];
2238 + var n = 0;
2239 + var result;
2240 + while ((result = regExpExec(rx, S)) !== null) {
2241 + var matchStr = String(result[0]);
2242 + A[n] = matchStr;
2243 + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
2244 + n++;
2245 + }
2246 + return n === 0 ? null : A;
913 2247 }
914 - },
915 - style: {
916 - swiper: {
917 - src: `${assetsUrl}lib/swiper/v8/css/swiper${fileSuffix}.css?ver=8.4.5`,
918 - parent: 'head'
919 - },
920 - 'e-lightbox': {
921 - src: elementorFrontendConfig?.responsive?.hasCustomBreakpoints ? `${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${pluginVersion}` : `${assetsUrl}css/conditionals/lightbox${fileSuffix}.css?ver=${pluginVersion}`
922 - },
923 - dialog: {
924 - src: `${assetsUrl}css/conditionals/dialog${fileSuffix}.css?ver=${pluginVersion}`,
925 - parent: 'head',
926 - before: '#elementor-frontend-css'
927 - }
928 - }
2248 + ];
2249 +});
2250 +
2251 +
2252 +/***/ }),
2253 +/* 120 */
2254 +/***/ (function(module, exports, __webpack_require__) {
2255 +
2256 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
2257 +var cof = __webpack_require__(46);
2258 +// eslint-disable-next-line no-prototype-builtins
2259 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
2260 + return cof(it) == 'String' ? it.split('') : Object(it);
929 2261 };
930 2262
2263 +
931 2264 /***/ }),
2265 +/* 121 */,
2266 +/* 122 */
2267 +/***/ (function(module, exports, __webpack_require__) {
932 2268
933 -/***/ "../assets/dev/js/frontend/utils/controls.js":
934 -/*!***************************************************!*\
935 - !*** ../assets/dev/js/frontend/utils/controls.js ***!
936 - \***************************************************/
937 -/***/ ((__unused_webpack_module, exports) => {
2269 +// 7.2.8 IsRegExp(argument)
2270 +var isObject = __webpack_require__(30);
2271 +var cof = __webpack_require__(46);
2272 +var MATCH = __webpack_require__(12)('match');
2273 +module.exports = function (it) {
2274 + var isRegExp;
2275 + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
2276 +};
938 2277
939 2278
2279 +/***/ }),
2280 +/* 123 */
2281 +/***/ (function(module, exports, __webpack_require__) {
940 2282
941 -Object.defineProperty(exports, "__esModule", ({
942 - value: true
943 -}));
944 -exports["default"] = void 0;
945 -class Controls {
946 - /**
947 - * Get Control Value
948 - *
949 - * Retrieves a control value.
950 - * This function has been copied from `elementor/assets/dev/js/editor/utils/conditions.js`.
951 - *
952 - * @since 3.11.0
953 - *
954 - * @param {{}} controlSettings A settings object (e.g. element settings - keys and values)
955 - * @param {string} controlKey The control key name
956 - * @param {string} controlSubKey A specific property of the control object.
957 - * @return {*} Control Value
958 - */
959 - getControlValue(controlSettings, controlKey, controlSubKey) {
960 - let value;
961 - if ('object' === typeof controlSettings[controlKey] && controlSubKey) {
962 - value = controlSettings[controlKey][controlSubKey];
963 - } else {
964 - value = controlSettings[controlKey];
965 - }
966 - return value;
2283 +// 7.1.1 ToPrimitive(input [, PreferredType])
2284 +var isObject = __webpack_require__(30);
2285 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
2286 +// and the second argument - flag - preferred type is a string
2287 +module.exports = function (it, S) {
2288 + if (!isObject(it)) return it;
2289 + var fn, val;
2290 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2291 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
2292 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
2293 + throw TypeError("Can't convert object to primitive value");
2294 +};
2295 +
2296 +
2297 +/***/ }),
2298 +/* 124 */
2299 +/***/ (function(module, exports, __webpack_require__) {
2300 +
2301 +module.exports = __webpack_require__(191);
2302 +
2303 +/***/ }),
2304 +/* 125 */
2305 +/***/ (function(module, exports) {
2306 +
2307 +module.exports = function (it, Constructor, name, forbiddenField) {
2308 + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
2309 + throw TypeError(name + ': incorrect invocation!');
2310 + } return it;
2311 +};
2312 +
2313 +
2314 +/***/ }),
2315 +/* 126 */
2316 +/***/ (function(module, exports, __webpack_require__) {
2317 +
2318 +var hide = __webpack_require__(24);
2319 +module.exports = function (target, src, safe) {
2320 + for (var key in src) {
2321 + if (safe && target[key]) target[key] = src[key];
2322 + else hide(target, key, src[key]);
2323 + } return target;
2324 +};
2325 +
2326 +
2327 +/***/ }),
2328 +/* 127 */,
2329 +/* 128 */,
2330 +/* 129 */
2331 +/***/ (function(module, exports, __webpack_require__) {
2332 +
2333 +module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () {
2334 + return Object.defineProperty(__webpack_require__(109)('div'), 'a', { get: function () { return 7; } }).a != 7;
2335 +});
2336 +
2337 +
2338 +/***/ }),
2339 +/* 130 */,
2340 +/* 131 */
2341 +/***/ (function(module, exports, __webpack_require__) {
2342 +
2343 +var document = __webpack_require__(8).document;
2344 +module.exports = document && document.documentElement;
2345 +
2346 +
2347 +/***/ }),
2348 +/* 132 */
2349 +/***/ (function(module, exports) {
2350 +
2351 +// fast apply, http://jsperf.lnkit.com/fast-apply/5
2352 +module.exports = function (fn, args, that) {
2353 + var un = that === undefined;
2354 + switch (args.length) {
2355 + case 0: return un ? fn()
2356 + : fn.call(that);
2357 + case 1: return un ? fn(args[0])
2358 + : fn.call(that, args[0]);
2359 + case 2: return un ? fn(args[0], args[1])
2360 + : fn.call(that, args[0], args[1]);
2361 + case 3: return un ? fn(args[0], args[1], args[2])
2362 + : fn.call(that, args[0], args[1], args[2]);
2363 + case 4: return un ? fn(args[0], args[1], args[2], args[3])
2364 + : fn.call(that, args[0], args[1], args[2], args[3]);
2365 + } return fn.apply(that, args);
2366 +};
2367 +
2368 +
2369 +/***/ }),
2370 +/* 133 */
2371 +/***/ (function(module, exports, __webpack_require__) {
2372 +
2373 +module.exports = __webpack_require__(257);
2374 +
2375 +/***/ }),
2376 +/* 134 */
2377 +/***/ (function(module, exports, __webpack_require__) {
2378 +
2379 +"use strict";
2380 +
2381 +// https://github.com/tc39/Array.prototype.includes
2382 +var $export = __webpack_require__(34);
2383 +var $includes = __webpack_require__(142)(true);
2384 +
2385 +$export($export.P, 'Array', {
2386 + includes: function includes(el /* , fromIndex = 0 */) {
2387 + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
967 2388 }
2389 +});
968 2390
969 - /**
970 - * Get the value of a responsive control.
971 - *
972 - * Retrieves the value of a responsive control for the current device or for this first parent device which has a control value.
973 - *
974 - * @since 3.11.0
975 - *
976 - * @param {{}} controlSettings A settings object (e.g. element settings - keys and values)
977 - * @param {string} controlKey The control key name
978 - * @param {string} controlSubKey A specific property of the control object.
979 - * @param {string} device If we want to get a value for a specific device mode.
980 - * @return {*} Control Value
981 - */
982 - getResponsiveControlValue(controlSettings, controlKey, controlSubKey = '', device = null) {
983 - const currentDeviceMode = device || elementorFrontend.getCurrentDeviceMode(),
984 - controlValueDesktop = this.getControlValue(controlSettings, controlKey, controlSubKey);
2391 +__webpack_require__(84)('includes');
985 2392
986 - // Set the control value for the current device mode.
987 - // First check the widescreen device mode.
988 - if ('widescreen' === currentDeviceMode) {
989 - const controlValueWidescreen = this.getControlValue(controlSettings, `${controlKey}_widescreen`, controlSubKey);
990 - return !!controlValueWidescreen || 0 === controlValueWidescreen ? controlValueWidescreen : controlValueDesktop;
991 - }
992 2393
993 - // Loop through all responsive and desktop device modes.
994 - const activeBreakpoints = elementorFrontend.breakpoints.getActiveBreakpointsList({
995 - withDesktop: true
996 - });
997 - let parentDeviceMode = currentDeviceMode,
998 - deviceIndex = activeBreakpoints.indexOf(currentDeviceMode),
999 - controlValue = '';
1000 - while (deviceIndex <= activeBreakpoints.length) {
1001 - if ('desktop' === parentDeviceMode) {
1002 - controlValue = controlValueDesktop;
1003 - break;
1004 - }
1005 - const responsiveControlKey = `${controlKey}_${parentDeviceMode}`,
1006 - responsiveControlValue = this.getControlValue(controlSettings, responsiveControlKey, controlSubKey);
1007 - if (!!responsiveControlValue || 0 === responsiveControlValue) {
1008 - controlValue = responsiveControlValue;
1009 - break;
1010 - }
2394 +/***/ }),
2395 +/* 135 */
2396 +/***/ (function(module, exports, __webpack_require__) {
1011 2397
1012 - // If no control value has been set for the current device mode, then check the parent device mode.
1013 - deviceIndex++;
1014 - parentDeviceMode = activeBreakpoints[deviceIndex];
1015 - }
1016 - return controlValue;
1017 - }
2398 +var dP = __webpack_require__(15);
2399 +var anObject = __webpack_require__(13);
2400 +var getKeys = __webpack_require__(40);
2401 +
2402 +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) {
2403 + anObject(O);
2404 + var keys = getKeys(Properties);
2405 + var length = keys.length;
2406 + var i = 0;
2407 + var P;
2408 + while (length > i) dP.f(O, P = keys[i++], Properties[P]);
2409 + return O;
2410 +};
2411 +
2412 +
2413 +/***/ }),
2414 +/* 136 */
2415 +/***/ (function(module, exports, __webpack_require__) {
2416 +
2417 +var _Object$setPrototypeOf = __webpack_require__(115);
2418 +
2419 +function _setPrototypeOf(o, p) {
2420 + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
2421 + o.__proto__ = p;
2422 + return o;
2423 + };
2424 +
2425 + return _setPrototypeOf(o, p);
1018 2426 }
1019 -exports["default"] = Controls;
1020 2427
2428 +module.exports = _setPrototypeOf;
2429 +
1021 2430 /***/ }),
2431 +/* 137 */,
2432 +/* 138 */
2433 +/***/ (function(module, exports, __webpack_require__) {
1022 2434
1023 -/***/ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js":
1024 -/*!********************************************************************!*\
1025 - !*** ../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js ***!
1026 - \********************************************************************/
1027 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2435 +module.exports = __webpack_require__(164);
1028 2436
2437 +/***/ }),
2438 +/* 139 */
2439 +/***/ (function(module, exports, __webpack_require__) {
1029 2440
2441 +"use strict";
1030 2442
1031 -Object.defineProperty(exports, "__esModule", ({
1032 - value: true
1033 -}));
1034 -exports["default"] = void 0;
1035 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1036 -__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
1037 -class LightboxManager extends elementorModules.ViewModule {
1038 - static getLightbox() {
1039 - const lightboxPromise = new Promise(resolveLightbox => {
1040 - Promise.all(/*! import() | lightbox */[__webpack_require__.e("vendors-node_modules_dompurify_dist_purify_cjs_js"), __webpack_require__.e("lightbox")]).then(__webpack_require__.t.bind(__webpack_require__, /*! elementor-frontend/utils/lightbox/lightbox */ "../assets/dev/js/frontend/utils/lightbox/lightbox.js", 23)).then(({
1041 - default: LightboxModule
1042 - }) => resolveLightbox(new LightboxModule()));
1043 - }),
1044 - dialogScriptPromise = elementorFrontend.utils.assetsLoader.load('script', 'dialog'),
1045 - dialogStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'dialog'),
1046 - shareLinkPromise = elementorFrontend.utils.assetsLoader.load('script', 'share-link'),
1047 - swiperStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'swiper'),
1048 - lightboxStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'e-lightbox');
1049 - return Promise.all([lightboxPromise, dialogScriptPromise, dialogStylePromise, shareLinkPromise, swiperStylePromise, lightboxStylePromise]).then(() => lightboxPromise);
2443 +// ECMAScript 6 symbols shim
2444 +var global = __webpack_require__(8);
2445 +var has = __webpack_require__(19);
2446 +var DESCRIPTORS = __webpack_require__(14);
2447 +var $export = __webpack_require__(7);
2448 +var redefine = __webpack_require__(93);
2449 +var META = __webpack_require__(70).KEY;
2450 +var $fails = __webpack_require__(22);
2451 +var shared = __webpack_require__(76);
2452 +var setToStringTag = __webpack_require__(53);
2453 +var uid = __webpack_require__(59);
2454 +var wks = __webpack_require__(10);
2455 +var wksExt = __webpack_require__(63);
2456 +var wksDefine = __webpack_require__(79);
2457 +var enumKeys = __webpack_require__(178);
2458 +var isArray = __webpack_require__(97);
2459 +var anObject = __webpack_require__(13);
2460 +var isObject = __webpack_require__(9);
2461 +var toObject = __webpack_require__(32);
2462 +var toIObject = __webpack_require__(20);
2463 +var toPrimitive = __webpack_require__(74);
2464 +var createDesc = __webpack_require__(44);
2465 +var _create = __webpack_require__(52);
2466 +var gOPNExt = __webpack_require__(179);
2467 +var $GOPD = __webpack_require__(51);
2468 +var $GOPS = __webpack_require__(71);
2469 +var $DP = __webpack_require__(15);
2470 +var $keys = __webpack_require__(40);
2471 +var gOPD = $GOPD.f;
2472 +var dP = $DP.f;
2473 +var gOPN = gOPNExt.f;
2474 +var $Symbol = global.Symbol;
2475 +var $JSON = global.JSON;
2476 +var _stringify = $JSON && $JSON.stringify;
2477 +var PROTOTYPE = 'prototype';
2478 +var HIDDEN = wks('_hidden');
2479 +var TO_PRIMITIVE = wks('toPrimitive');
2480 +var isEnum = {}.propertyIsEnumerable;
2481 +var SymbolRegistry = shared('symbol-registry');
2482 +var AllSymbols = shared('symbols');
2483 +var OPSymbols = shared('op-symbols');
2484 +var ObjectProto = Object[PROTOTYPE];
2485 +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
2486 +var QObject = global.QObject;
2487 +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
2488 +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
2489 +
2490 +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
2491 +var setSymbolDesc = DESCRIPTORS && $fails(function () {
2492 + return _create(dP({}, 'a', {
2493 + get: function () { return dP(this, 'a', { value: 7 }).a; }
2494 + })).a != 7;
2495 +}) ? function (it, key, D) {
2496 + var protoDesc = gOPD(ObjectProto, key);
2497 + if (protoDesc) delete ObjectProto[key];
2498 + dP(it, key, D);
2499 + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
2500 +} : dP;
2501 +
2502 +var wrap = function (tag) {
2503 + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
2504 + sym._k = tag;
2505 + return sym;
2506 +};
2507 +
2508 +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
2509 + return typeof it == 'symbol';
2510 +} : function (it) {
2511 + return it instanceof $Symbol;
2512 +};
2513 +
2514 +var $defineProperty = function defineProperty(it, key, D) {
2515 + if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
2516 + anObject(it);
2517 + key = toPrimitive(key, true);
2518 + anObject(D);
2519 + if (has(AllSymbols, key)) {
2520 + if (!D.enumerable) {
2521 + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
2522 + it[HIDDEN][key] = true;
2523 + } else {
2524 + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
2525 + D = _create(D, { enumerable: createDesc(0, false) });
2526 + } return setSymbolDesc(it, key, D);
2527 + } return dP(it, key, D);
2528 +};
2529 +var $defineProperties = function defineProperties(it, P) {
2530 + anObject(it);
2531 + var keys = enumKeys(P = toIObject(P));
2532 + var i = 0;
2533 + var l = keys.length;
2534 + var key;
2535 + while (l > i) $defineProperty(it, key = keys[i++], P[key]);
2536 + return it;
2537 +};
2538 +var $create = function create(it, P) {
2539 + return P === undefined ? _create(it) : $defineProperties(_create(it), P);
2540 +};
2541 +var $propertyIsEnumerable = function propertyIsEnumerable(key) {
2542 + var E = isEnum.call(this, key = toPrimitive(key, true));
2543 + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
2544 + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
2545 +};
2546 +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
2547 + it = toIObject(it);
2548 + key = toPrimitive(key, true);
2549 + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
2550 + var D = gOPD(it, key);
2551 + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
2552 + return D;
2553 +};
2554 +var $getOwnPropertyNames = function getOwnPropertyNames(it) {
2555 + var names = gOPN(toIObject(it));
2556 + var result = [];
2557 + var i = 0;
2558 + var key;
2559 + while (names.length > i) {
2560 + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
2561 + } return result;
2562 +};
2563 +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
2564 + var IS_OP = it === ObjectProto;
2565 + var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
2566 + var result = [];
2567 + var i = 0;
2568 + var key;
2569 + while (names.length > i) {
2570 + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
2571 + } return result;
2572 +};
2573 +
2574 +// 19.4.1.1 Symbol([description])
2575 +if (!USE_NATIVE) {
2576 + $Symbol = function Symbol() {
2577 + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
2578 + var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
2579 + var $set = function (value) {
2580 + if (this === ObjectProto) $set.call(OPSymbols, value);
2581 + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
2582 + setSymbolDesc(this, tag, createDesc(1, value));
2583 + };
2584 + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
2585 + return wrap(tag);
2586 + };
2587 + redefine($Symbol[PROTOTYPE], 'toString', function toString() {
2588 + return this._k;
2589 + });
2590 +
2591 + $GOPD.f = $getOwnPropertyDescriptor;
2592 + $DP.f = $defineProperty;
2593 + __webpack_require__(99).f = gOPNExt.f = $getOwnPropertyNames;
2594 + __webpack_require__(50).f = $propertyIsEnumerable;
2595 + $GOPS.f = $getOwnPropertySymbols;
2596 +
2597 + if (DESCRIPTORS && !__webpack_require__(47)) {
2598 + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
1050 2599 }
1051 - getDefaultSettings() {
1052 - return {
1053 - selectors: {
1054 - links: 'a, [data-elementor-lightbox]',
1055 - slideshow: '[data-elementor-lightbox-slideshow]'
1056 - }
1057 - };
2600 +
2601 + wksExt.f = function (name) {
2602 + return wrap(wks(name));
2603 + };
2604 +}
2605 +
2606 +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
2607 +
2608 +for (var es6Symbols = (
2609 + // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
2610 + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
2611 +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
2612 +
2613 +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
2614 +
2615 +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
2616 + // 19.4.2.1 Symbol.for(key)
2617 + 'for': function (key) {
2618 + return has(SymbolRegistry, key += '')
2619 + ? SymbolRegistry[key]
2620 + : SymbolRegistry[key] = $Symbol(key);
2621 + },
2622 + // 19.4.2.5 Symbol.keyFor(sym)
2623 + keyFor: function keyFor(sym) {
2624 + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
2625 + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
2626 + },
2627 + useSetter: function () { setter = true; },
2628 + useSimple: function () { setter = false; }
2629 +});
2630 +
2631 +$export($export.S + $export.F * !USE_NATIVE, 'Object', {
2632 + // 19.1.2.2 Object.create(O [, Properties])
2633 + create: $create,
2634 + // 19.1.2.4 Object.defineProperty(O, P, Attributes)
2635 + defineProperty: $defineProperty,
2636 + // 19.1.2.3 Object.defineProperties(O, Properties)
2637 + defineProperties: $defineProperties,
2638 + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2639 + getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
2640 + // 19.1.2.7 Object.getOwnPropertyNames(O)
2641 + getOwnPropertyNames: $getOwnPropertyNames,
2642 + // 19.1.2.8 Object.getOwnPropertySymbols(O)
2643 + getOwnPropertySymbols: $getOwnPropertySymbols
2644 +});
2645 +
2646 +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
2647 +// https://bugs.chromium.org/p/v8/issues/detail?id=3443
2648 +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
2649 +
2650 +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
2651 + getOwnPropertySymbols: function getOwnPropertySymbols(it) {
2652 + return $GOPS.f(toObject(it));
1058 2653 }
1059 - getDefaultElements() {
1060 - return {
1061 - $links: jQuery(this.getSettings('selectors.links')),
1062 - $slideshow: jQuery(this.getSettings('selectors.slideshow'))
2654 +});
2655 +
2656 +// 24.3.2 JSON.stringify(value [, replacer [, space]])
2657 +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
2658 + var S = $Symbol();
2659 + // MS Edge converts symbol values to JSON as {}
2660 + // WebKit converts symbol values to JSON as null
2661 + // V8 throws on boxed symbols
2662 + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
2663 +})), 'JSON', {
2664 + stringify: function stringify(it) {
2665 + var args = [it];
2666 + var i = 1;
2667 + var replacer, $replacer;
2668 + while (arguments.length > i) args.push(arguments[i++]);
2669 + $replacer = replacer = args[1];
2670 + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
2671 + if (!isArray(replacer)) replacer = function (key, value) {
2672 + if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
2673 + if (!isSymbol(value)) return value;
1063 2674 };
2675 + args[1] = replacer;
2676 + return _stringify.apply($JSON, args);
1064 2677 }
1065 - isLightboxLink(element) {
1066 - // Check for lowercase `a` to make sure it works also for links inside SVGs.
1067 - if ('a' === element.tagName.toLowerCase() && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp|avif)(\?.*)?$/i.test(element.href)) && !element.dataset.elementorLightboxVideo) {
1068 - return false;
1069 - }
1070 - const generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
1071 - currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
1072 - return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
2678 +});
2679 +
2680 +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
2681 +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(24)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
2682 +// 19.4.3.5 Symbol.prototype[@@toStringTag]
2683 +setToStringTag($Symbol, 'Symbol');
2684 +// 20.2.1.9 Math[@@toStringTag]
2685 +setToStringTag(Math, 'Math', true);
2686 +// 24.3.3 JSON[@@toStringTag]
2687 +setToStringTag(global.JSON, 'JSON', true);
2688 +
2689 +
2690 +/***/ }),
2691 +/* 140 */
2692 +/***/ (function(module, exports, __webpack_require__) {
2693 +
2694 +// call something on iterator step with safe closing on error
2695 +var anObject = __webpack_require__(13);
2696 +module.exports = function (iterator, fn, value, entries) {
2697 + try {
2698 + return entries ? fn(anObject(value)[0], value[1]) : fn(value);
2699 + // 7.4.6 IteratorClose(iterator, completion)
2700 + } catch (e) {
2701 + var ret = iterator['return'];
2702 + if (ret !== undefined) anObject(ret.call(iterator));
2703 + throw e;
1073 2704 }
1074 - isLightboxSlideshow() {
1075 - return 0 !== this.elements.$slideshow.length;
1076 - }
1077 - async onLinkClick(event) {
1078 - const element = event.currentTarget,
1079 - $target = jQuery(event.target),
1080 - editMode = elementorFrontend.isEditMode(),
1081 - isColorPickingMode = editMode && elementor.$previewContents.find('body').hasClass('elementor-editor__ui-state__color-picker'),
1082 - isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
1083 - if (!this.isLightboxLink(element)) {
1084 - if (editMode && isClickInsideElementor) {
1085 - event.preventDefault();
1086 - }
1087 - return;
1088 - }
1089 - event.preventDefault();
1090 - if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
1091 - return;
1092 - }
2705 +};
1093 2706
1094 - // Disable lightbox on color picking mode.
1095 - if (isColorPickingMode) {
1096 - return;
1097 - }
1098 - const lightbox = await LightboxManager.getLightbox();
1099 - lightbox.createLightbox(element);
1100 - }
1101 - bindEvents() {
1102 - elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), event => this.onLinkClick(event));
1103 - }
1104 - onInit(...args) {
1105 - super.onInit(...args);
1106 - if (elementorFrontend.isEditMode()) {
1107 - return;
1108 - }
1109 - this.maybeActivateLightboxOnLink();
1110 - }
1111 - maybeActivateLightboxOnLink() {
1112 - // Detecting lightbox links on init will reduce the time of waiting to the lightbox to be display on slow connections.
1113 - this.elements.$links.each((index, element) => {
1114 - if (this.isLightboxLink(element)) {
1115 - LightboxManager.getLightbox();
1116 2707
1117 - // Breaking the iteration when the library loading has already been triggered.
1118 - return false;
1119 - }
1120 - });
2708 +/***/ }),
2709 +/* 141 */
2710 +/***/ (function(module, exports, __webpack_require__) {
2711 +
2712 +// check on default Array iterator
2713 +var Iterators = __webpack_require__(35);
2714 +var ITERATOR = __webpack_require__(10)('iterator');
2715 +var ArrayProto = Array.prototype;
2716 +
2717 +module.exports = function (it) {
2718 + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
2719 +};
2720 +
2721 +
2722 +/***/ }),
2723 +/* 142 */
2724 +/***/ (function(module, exports, __webpack_require__) {
2725 +
2726 +// false -> Array#indexOf
2727 +// true -> Array#includes
2728 +var toIObject = __webpack_require__(98);
2729 +var toLength = __webpack_require__(43);
2730 +var toAbsoluteIndex = __webpack_require__(198);
2731 +module.exports = function (IS_INCLUDES) {
2732 + return function ($this, el, fromIndex) {
2733 + var O = toIObject($this);
2734 + var length = toLength(O.length);
2735 + var index = toAbsoluteIndex(fromIndex, length);
2736 + var value;
2737 + // Array#includes uses SameValueZero equality algorithm
2738 + // eslint-disable-next-line no-self-compare
2739 + if (IS_INCLUDES && el != el) while (length > index) {
2740 + value = O[index++];
2741 + // eslint-disable-next-line no-self-compare
2742 + if (value != value) return true;
2743 + // Array#indexOf ignores holes, Array#includes - not
2744 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
2745 + if (O[index] === el) return IS_INCLUDES || index || 0;
2746 + } return !IS_INCLUDES && -1;
2747 + };
2748 +};
2749 +
2750 +
2751 +/***/ }),
2752 +/* 143 */
2753 +/***/ (function(module, exports, __webpack_require__) {
2754 +
2755 +var toInteger = __webpack_require__(57);
2756 +var defined = __webpack_require__(42);
2757 +// true -> String#at
2758 +// false -> String#codePointAt
2759 +module.exports = function (TO_STRING) {
2760 + return function (that, pos) {
2761 + var s = String(defined(that));
2762 + var i = toInteger(pos);
2763 + var l = s.length;
2764 + var a, b;
2765 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
2766 + a = s.charCodeAt(i);
2767 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2768 + ? TO_STRING ? s.charAt(i) : a
2769 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2770 + };
2771 +};
2772 +
2773 +
2774 +/***/ }),
2775 +/* 144 */
2776 +/***/ (function(module, exports, __webpack_require__) {
2777 +
2778 +module.exports = __webpack_require__(66)('native-function-to-string', Function.toString);
2779 +
2780 +
2781 +/***/ }),
2782 +/* 145 */
2783 +/***/ (function(module, exports, __webpack_require__) {
2784 +
2785 +"use strict";
2786 +
2787 +// 25.4.1.5 NewPromiseCapability(C)
2788 +var aFunction = __webpack_require__(38);
2789 +
2790 +function PromiseCapability(C) {
2791 + var resolve, reject;
2792 + this.promise = new C(function ($$resolve, $$reject) {
2793 + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
2794 + resolve = $$resolve;
2795 + reject = $$reject;
2796 + });
2797 + this.resolve = aFunction(resolve);
2798 + this.reject = aFunction(reject);
2799 +}
2800 +
2801 +module.exports.f = function (C) {
2802 + return new PromiseCapability(C);
2803 +};
2804 +
2805 +
2806 +/***/ }),
2807 +/* 146 */,
2808 +/* 147 */,
2809 +/* 148 */
2810 +/***/ (function(module, exports, __webpack_require__) {
2811 +
2812 +var _Reflect$construct = __webpack_require__(107);
2813 +
2814 +function _isNativeReflectConstruct() {
2815 + if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
2816 + if (_Reflect$construct.sham) return false;
2817 + if (typeof Proxy === "function") return true;
2818 +
2819 + try {
2820 + Date.prototype.toString.call(_Reflect$construct(Date, [], function () {}));
2821 + return true;
2822 + } catch (e) {
2823 + return false;
1121 2824 }
1122 2825 }
1123 -exports["default"] = LightboxManager;
1124 2826
2827 +module.exports = _isNativeReflectConstruct;
2828 +
1125 2829 /***/ }),
2830 +/* 149 */
2831 +/***/ (function(module, exports) {
1126 2832
1127 -/***/ "../assets/dev/js/frontend/utils/swiper.js":
1128 -/*!*************************************************!*\
1129 - !*** ../assets/dev/js/frontend/utils/swiper.js ***!
1130 - \*************************************************/
1131 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2833 +module.exports = function (done, value) {
2834 + return { value: value, done: !!done };
2835 +};
1132 2836
1133 2837
2838 +/***/ }),
2839 +/* 150 */,
2840 +/* 151 */
2841 +/***/ (function(module, exports, __webpack_require__) {
1134 2842
1135 -Object.defineProperty(exports, "__esModule", ({
1136 - value: true
1137 -}));
1138 -exports["default"] = void 0;
1139 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1140 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1141 -class SwiperHandler {
1142 - constructor(container, config) {
1143 - this.config = config;
1144 - if (this.config.breakpoints) {
1145 - // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
1146 - this.config = this.adjustConfig(config);
1147 - }
1148 - if (container instanceof jQuery) {
1149 - container = container[0];
1150 - }
2843 +module.exports = __webpack_require__(172);
1151 2844
1152 - // The Swiper will overlap the column width when applying custom margin values on the column.
1153 - container.closest('.elementor-widget-wrap')?.classList.add('e-swiper-container');
1154 - container.closest('.elementor-widget')?.classList.add('e-widget-swiper');
1155 - return new Promise(resolve => {
1156 - // TODO: Remove in v3.29.0 [ED-16272].
1157 - if ('undefined' === typeof Swiper) {
1158 - elementorFrontend.utils.assetsLoader.load('script', 'swiper').then(() => resolve(this.createSwiperInstance(container, this.config)));
1159 - return;
1160 - }
1161 - if ('function' === typeof Swiper && 'undefined' === typeof window.Swiper) {
1162 - window.Swiper = Swiper;
1163 - }
1164 - resolve(this.createSwiperInstance(container, this.config));
1165 - });
2845 +/***/ }),
2846 +/* 152 */
2847 +/***/ (function(module, exports, __webpack_require__) {
2848 +
2849 +var ITERATOR = __webpack_require__(10)('iterator');
2850 +var SAFE_CLOSING = false;
2851 +
2852 +try {
2853 + var riter = [7][ITERATOR]();
2854 + riter['return'] = function () { SAFE_CLOSING = true; };
2855 + // eslint-disable-next-line no-throw-literal
2856 + Array.from(riter, function () { throw 2; });
2857 +} catch (e) { /* empty */ }
2858 +
2859 +module.exports = function (exec, skipClosing) {
2860 + if (!skipClosing && !SAFE_CLOSING) return false;
2861 + var safe = false;
2862 + try {
2863 + var arr = [7];
2864 + var iter = arr[ITERATOR]();
2865 + iter.next = function () { return { done: safe = true }; };
2866 + arr[ITERATOR] = function () { return iter; };
2867 + exec(arr);
2868 + } catch (e) { /* empty */ }
2869 + return safe;
2870 +};
2871 +
2872 +
2873 +/***/ }),
2874 +/* 153 */,
2875 +/* 154 */
2876 +/***/ (function(module, exports, __webpack_require__) {
2877 +
2878 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
2879 +var anObject = __webpack_require__(18);
2880 +var aFunction = __webpack_require__(91);
2881 +var SPECIES = __webpack_require__(12)('species');
2882 +module.exports = function (O, D) {
2883 + var C = anObject(O).constructor;
2884 + var S;
2885 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
2886 +};
2887 +
2888 +
2889 +/***/ }),
2890 +/* 155 */
2891 +/***/ (function(module, exports, __webpack_require__) {
2892 +
2893 +"use strict";
2894 +// 21.1.3.7 String.prototype.includes(searchString, position = 0)
2895 +
2896 +var $export = __webpack_require__(34);
2897 +var context = __webpack_require__(204);
2898 +var INCLUDES = 'includes';
2899 +
2900 +$export($export.P + $export.F * __webpack_require__(205)(INCLUDES), 'String', {
2901 + includes: function includes(searchString /* , position = 0 */) {
2902 + return !!~context(this, searchString, INCLUDES)
2903 + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
1166 2904 }
1167 - createSwiperInstance(container, config) {
1168 - const SwiperSource = window.Swiper;
1169 - SwiperSource.prototype.adjustConfig = this.adjustConfig;
1170 - config = this.applyMotionPreferences(config);
1171 - return new SwiperSource(container, config);
1172 - }
2905 +});
1173 2906
1174 - // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
1175 - // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
1176 - adjustConfig(config) {
1177 - // Only reverse the breakpoints if the handle param has been defined
1178 - if (!config.handleElementorBreakpoints) {
1179 - return config;
1180 - }
1181 - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints,
1182 - elementorBreakpointValues = elementorFrontend.breakpoints.getBreakpointValues();
1183 - Object.keys(config.breakpoints).forEach(configBPKey => {
1184 - const configBPKeyInt = parseInt(configBPKey);
1185 - let breakpointToUpdate;
1186 2907
1187 - // The `configBPKeyInt + 1` is a BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
1188 - if (configBPKeyInt === elementorBreakpoints.mobile.value || configBPKeyInt + 1 === elementorBreakpoints.mobile.value) {
1189 - // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
1190 - // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
1191 - breakpointToUpdate = 0;
1192 - } else if (elementorBreakpoints.widescreen && (configBPKeyInt === elementorBreakpoints.widescreen.value || configBPKeyInt + 1 === elementorBreakpoints.widescreen.value)) {
1193 - // Widescreen is a min-width breakpoint. Since in Swiper >5.0 the breakpoint system is min-width based,
1194 - // the value we pass to the Swiper instance in this case is the breakpoint from the user, unchanged.
1195 - breakpointToUpdate = configBPKeyInt;
1196 - } else {
1197 - // Find the index of the current config breakpoint in the Elementor Breakpoints array
1198 - const currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(elementorBP => {
1199 - // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
1200 - return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
1201 - });
2908 +/***/ }),
2909 +/* 156 */
2910 +/***/ (function(module, exports, __webpack_require__) {
1202 2911
1203 - // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
1204 - // according to the array of Elementor's global breakpoints
1205 - breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
1206 - }
1207 - config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey];
2912 +__webpack_require__(157);
2913 +var $Object = __webpack_require__(6).Object;
2914 +module.exports = function defineProperty(it, key, desc) {
2915 + return $Object.defineProperty(it, key, desc);
2916 +};
1208 2917
1209 - // Then reset the settings in the original breakpoint key to the default values
1210 - config.breakpoints[configBPKey] = {
1211 - slidesPerView: config.slidesPerView,
1212 - slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
2918 +
2919 +/***/ }),
2920 +/* 157 */
2921 +/***/ (function(module, exports, __webpack_require__) {
2922 +
2923 +var $export = __webpack_require__(7);
2924 +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
2925 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f });
2926 +
2927 +
2928 +/***/ }),
2929 +/* 158 */
2930 +/***/ (function(module, exports, __webpack_require__) {
2931 +
2932 +module.exports = __webpack_require__(159);
2933 +
2934 +/***/ }),
2935 +/* 159 */
2936 +/***/ (function(module, exports, __webpack_require__) {
2937 +
2938 +__webpack_require__(160);
2939 +module.exports = __webpack_require__(6).Object.getPrototypeOf;
2940 +
2941 +
2942 +/***/ }),
2943 +/* 160 */
2944 +/***/ (function(module, exports, __webpack_require__) {
2945 +
2946 +// 19.1.2.9 Object.getPrototypeOf(O)
2947 +var toObject = __webpack_require__(32);
2948 +var $getPrototypeOf = __webpack_require__(64);
2949 +
2950 +__webpack_require__(83)('getPrototypeOf', function () {
2951 + return function getPrototypeOf(it) {
2952 + return $getPrototypeOf(toObject(it));
2953 + };
2954 +});
2955 +
2956 +
2957 +/***/ }),
2958 +/* 161 */
2959 +/***/ (function(module, exports, __webpack_require__) {
2960 +
2961 +__webpack_require__(162);
2962 +module.exports = __webpack_require__(6).Object.setPrototypeOf;
2963 +
2964 +
2965 +/***/ }),
2966 +/* 162 */
2967 +/***/ (function(module, exports, __webpack_require__) {
2968 +
2969 +// 19.1.3.19 Object.setPrototypeOf(O, proto)
2970 +var $export = __webpack_require__(7);
2971 +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(163).set });
2972 +
2973 +
2974 +/***/ }),
2975 +/* 163 */
2976 +/***/ (function(module, exports, __webpack_require__) {
2977 +
2978 +// Works with __proto__ only. Old v8 can't work with null proto objects.
2979 +/* eslint-disable no-proto */
2980 +var isObject = __webpack_require__(9);
2981 +var anObject = __webpack_require__(13);
2982 +var check = function (O, proto) {
2983 + anObject(O);
2984 + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
2985 +};
2986 +module.exports = {
2987 + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2988 + function (test, buggy, set) {
2989 + try {
2990 + set = __webpack_require__(31)(Function.call, __webpack_require__(51).f(Object.prototype, '__proto__').set, 2);
2991 + set(test, []);
2992 + buggy = !(test instanceof Array);
2993 + } catch (e) { buggy = true; }
2994 + return function setPrototypeOf(O, proto) {
2995 + check(O, proto);
2996 + if (buggy) O.__proto__ = proto;
2997 + else set(O, proto);
2998 + return O;
1213 2999 };
1214 - });
1215 - return config;
3000 + }({}, false) : undefined),
3001 + check: check
3002 +};
3003 +
3004 +
3005 +/***/ }),
3006 +/* 164 */
3007 +/***/ (function(module, exports, __webpack_require__) {
3008 +
3009 +__webpack_require__(165);
3010 +var $Object = __webpack_require__(6).Object;
3011 +module.exports = function create(P, D) {
3012 + return $Object.create(P, D);
3013 +};
3014 +
3015 +
3016 +/***/ }),
3017 +/* 165 */
3018 +/***/ (function(module, exports, __webpack_require__) {
3019 +
3020 +var $export = __webpack_require__(7);
3021 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
3022 +$export($export.S, 'Object', { create: __webpack_require__(52) });
3023 +
3024 +
3025 +/***/ }),
3026 +/* 166 */
3027 +/***/ (function(module, exports, __webpack_require__) {
3028 +
3029 +// false -> Array#indexOf
3030 +// true -> Array#includes
3031 +var toIObject = __webpack_require__(20);
3032 +var toLength = __webpack_require__(68);
3033 +var toAbsoluteIndex = __webpack_require__(167);
3034 +module.exports = function (IS_INCLUDES) {
3035 + return function ($this, el, fromIndex) {
3036 + var O = toIObject($this);
3037 + var length = toLength(O.length);
3038 + var index = toAbsoluteIndex(fromIndex, length);
3039 + var value;
3040 + // Array#includes uses SameValueZero equality algorithm
3041 + // eslint-disable-next-line no-self-compare
3042 + if (IS_INCLUDES && el != el) while (length > index) {
3043 + value = O[index++];
3044 + // eslint-disable-next-line no-self-compare
3045 + if (value != value) return true;
3046 + // Array#indexOf ignores holes, Array#includes - not
3047 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
3048 + if (O[index] === el) return IS_INCLUDES || index || 0;
3049 + } return !IS_INCLUDES && -1;
3050 + };
3051 +};
3052 +
3053 +
3054 +/***/ }),
3055 +/* 167 */
3056 +/***/ (function(module, exports, __webpack_require__) {
3057 +
3058 +var toInteger = __webpack_require__(77);
3059 +var max = Math.max;
3060 +var min = Math.min;
3061 +module.exports = function (index, length) {
3062 + index = toInteger(index);
3063 + return index < 0 ? max(index + length, 0) : min(index, length);
3064 +};
3065 +
3066 +
3067 +/***/ }),
3068 +/* 168 */
3069 +/***/ (function(module, exports, __webpack_require__) {
3070 +
3071 +__webpack_require__(169);
3072 +module.exports = __webpack_require__(6).Reflect.construct;
3073 +
3074 +
3075 +/***/ }),
3076 +/* 169 */
3077 +/***/ (function(module, exports, __webpack_require__) {
3078 +
3079 +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
3080 +var $export = __webpack_require__(7);
3081 +var create = __webpack_require__(52);
3082 +var aFunction = __webpack_require__(38);
3083 +var anObject = __webpack_require__(13);
3084 +var isObject = __webpack_require__(9);
3085 +var fails = __webpack_require__(22);
3086 +var bind = __webpack_require__(170);
3087 +var rConstruct = (__webpack_require__(8).Reflect || {}).construct;
3088 +
3089 +// MS Edge supports only 2 arguments and argumentsList argument is optional
3090 +// FF Nightly sets third argument as `new.target`, but does not create `this` from it
3091 +var NEW_TARGET_BUG = fails(function () {
3092 + function F() { /* empty */ }
3093 + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
3094 +});
3095 +var ARGS_BUG = !fails(function () {
3096 + rConstruct(function () { /* empty */ });
3097 +});
3098 +
3099 +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
3100 + construct: function construct(Target, args /* , newTarget */) {
3101 + aFunction(Target);
3102 + anObject(args);
3103 + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
3104 + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
3105 + if (Target == newTarget) {
3106 + // w/o altered newTarget, optimization for 0-4 arguments
3107 + switch (args.length) {
3108 + case 0: return new Target();
3109 + case 1: return new Target(args[0]);
3110 + case 2: return new Target(args[0], args[1]);
3111 + case 3: return new Target(args[0], args[1], args[2]);
3112 + case 4: return new Target(args[0], args[1], args[2], args[3]);
3113 + }
3114 + // w/o altered newTarget, lot of arguments case
3115 + var $args = [null];
3116 + $args.push.apply($args, args);
3117 + return new (bind.apply(Target, $args))();
3118 + }
3119 + // with altered newTarget, not support built-in constructors
3120 + var proto = newTarget.prototype;
3121 + var instance = create(isObject(proto) ? proto : Object.prototype);
3122 + var result = Function.apply.call(Target, instance, args);
3123 + return isObject(result) ? result : instance;
1216 3124 }
1217 - applyMotionPreferences(config) {
1218 - const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
1219 - if (!prefersReducedMotion) {
1220 - return config;
1221 - }
1222 - return Object.assign({}, config, {
1223 - speed: 0,
1224 - autoplay: false
1225 - });
3125 +});
3126 +
3127 +
3128 +/***/ }),
3129 +/* 170 */
3130 +/***/ (function(module, exports, __webpack_require__) {
3131 +
3132 +"use strict";
3133 +
3134 +var aFunction = __webpack_require__(38);
3135 +var isObject = __webpack_require__(9);
3136 +var invoke = __webpack_require__(132);
3137 +var arraySlice = [].slice;
3138 +var factories = {};
3139 +
3140 +var construct = function (F, len, args) {
3141 + if (!(len in factories)) {
3142 + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
3143 + // eslint-disable-next-line no-new-func
3144 + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
3145 + } return factories[len](F, args);
3146 +};
3147 +
3148 +module.exports = Function.bind || function bind(that /* , ...args */) {
3149 + var fn = aFunction(this);
3150 + var partArgs = arraySlice.call(arguments, 1);
3151 + var bound = function (/* args... */) {
3152 + var args = partArgs.concat(arraySlice.call(arguments));
3153 + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
3154 + };
3155 + if (isObject(fn.prototype)) bound.prototype = fn.prototype;
3156 + return bound;
3157 +};
3158 +
3159 +
3160 +/***/ }),
3161 +/* 171 */
3162 +/***/ (function(module, exports, __webpack_require__) {
3163 +
3164 +var _typeof = __webpack_require__(48);
3165 +
3166 +var assertThisInitialized = __webpack_require__(49);
3167 +
3168 +function _possibleConstructorReturn(self, call) {
3169 + if (call && (_typeof(call) === "object" || typeof call === "function")) {
3170 + return call;
1226 3171 }
3172 +
3173 + return assertThisInitialized(self);
1227 3174 }
1228 -exports["default"] = SwiperHandler;
1229 3175
3176 +module.exports = _possibleConstructorReturn;
3177 +
1230 3178 /***/ }),
3179 +/* 172 */
3180 +/***/ (function(module, exports, __webpack_require__) {
1231 3181
1232 -/***/ "../assets/dev/js/frontend/utils/url-actions.js":
1233 -/*!******************************************************!*\
1234 - !*** ../assets/dev/js/frontend/utils/url-actions.js ***!
1235 - \******************************************************/
1236 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3182 +__webpack_require__(60);
3183 +__webpack_require__(62);
3184 +module.exports = __webpack_require__(63).f('iterator');
1237 3185
1238 3186
3187 +/***/ }),
3188 +/* 173 */
3189 +/***/ (function(module, exports, __webpack_require__) {
1239 3190
1240 -Object.defineProperty(exports, "__esModule", ({
1241 - value: true
1242 -}));
1243 -exports["default"] = void 0;
1244 -__webpack_require__(/*! core-js/modules/web.dom-exception.stack.js */ "../node_modules/core-js/modules/web.dom-exception.stack.js");
1245 -class _default extends elementorModules.ViewModule {
1246 - getDefaultSettings() {
1247 - return {
1248 - selectors: {
1249 - links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
1250 - }
1251 - };
3191 +var toInteger = __webpack_require__(77);
3192 +var defined = __webpack_require__(65);
3193 +// true -> String#at
3194 +// false -> String#codePointAt
3195 +module.exports = function (TO_STRING) {
3196 + return function (that, pos) {
3197 + var s = String(defined(that));
3198 + var i = toInteger(pos);
3199 + var l = s.length;
3200 + var a, b;
3201 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
3202 + a = s.charCodeAt(i);
3203 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
3204 + ? TO_STRING ? s.charAt(i) : a
3205 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
3206 + };
3207 +};
3208 +
3209 +
3210 +/***/ }),
3211 +/* 174 */
3212 +/***/ (function(module, exports, __webpack_require__) {
3213 +
3214 +"use strict";
3215 +
3216 +var create = __webpack_require__(52);
3217 +var descriptor = __webpack_require__(44);
3218 +var setToStringTag = __webpack_require__(53);
3219 +var IteratorPrototype = {};
3220 +
3221 +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
3222 +__webpack_require__(24)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });
3223 +
3224 +module.exports = function (Constructor, NAME, next) {
3225 + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
3226 + setToStringTag(Constructor, NAME + ' Iterator');
3227 +};
3228 +
3229 +
3230 +/***/ }),
3231 +/* 175 */
3232 +/***/ (function(module, exports, __webpack_require__) {
3233 +
3234 +"use strict";
3235 +
3236 +var addToUnscopables = __webpack_require__(176);
3237 +var step = __webpack_require__(149);
3238 +var Iterators = __webpack_require__(35);
3239 +var toIObject = __webpack_require__(20);
3240 +
3241 +// 22.1.3.4 Array.prototype.entries()
3242 +// 22.1.3.13 Array.prototype.keys()
3243 +// 22.1.3.29 Array.prototype.values()
3244 +// 22.1.3.30 Array.prototype[@@iterator]()
3245 +module.exports = __webpack_require__(108)(Array, 'Array', function (iterated, kind) {
3246 + this._t = toIObject(iterated); // target
3247 + this._i = 0; // next index
3248 + this._k = kind; // kind
3249 +// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3250 +}, function () {
3251 + var O = this._t;
3252 + var kind = this._k;
3253 + var index = this._i++;
3254 + if (!O || index >= O.length) {
3255 + this._t = undefined;
3256 + return step(1);
1252 3257 }
1253 - bindEvents() {
1254 - elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
3258 + if (kind == 'keys') return step(0, index);
3259 + if (kind == 'values') return step(0, O[index]);
3260 + return step(0, [index, O[index]]);
3261 +}, 'values');
3262 +
3263 +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3264 +Iterators.Arguments = Iterators.Array;
3265 +
3266 +addToUnscopables('keys');
3267 +addToUnscopables('values');
3268 +addToUnscopables('entries');
3269 +
3270 +
3271 +/***/ }),
3272 +/* 176 */
3273 +/***/ (function(module, exports) {
3274 +
3275 +module.exports = function () { /* empty */ };
3276 +
3277 +
3278 +/***/ }),
3279 +/* 177 */
3280 +/***/ (function(module, exports, __webpack_require__) {
3281 +
3282 +__webpack_require__(139);
3283 +__webpack_require__(100);
3284 +__webpack_require__(180);
3285 +__webpack_require__(181);
3286 +module.exports = __webpack_require__(6).Symbol;
3287 +
3288 +
3289 +/***/ }),
3290 +/* 178 */
3291 +/***/ (function(module, exports, __webpack_require__) {
3292 +
3293 +// all enumerable object keys, includes symbols
3294 +var getKeys = __webpack_require__(40);
3295 +var gOPS = __webpack_require__(71);
3296 +var pIE = __webpack_require__(50);
3297 +module.exports = function (it) {
3298 + var result = getKeys(it);
3299 + var getSymbols = gOPS.f;
3300 + if (getSymbols) {
3301 + var symbols = getSymbols(it);
3302 + var isEnum = pIE.f;
3303 + var i = 0;
3304 + var key;
3305 + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
3306 + } return result;
3307 +};
3308 +
3309 +
3310 +/***/ }),
3311 +/* 179 */
3312 +/***/ (function(module, exports, __webpack_require__) {
3313 +
3314 +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
3315 +var toIObject = __webpack_require__(20);
3316 +var gOPN = __webpack_require__(99).f;
3317 +var toString = {}.toString;
3318 +
3319 +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
3320 + ? Object.getOwnPropertyNames(window) : [];
3321 +
3322 +var getWindowNames = function (it) {
3323 + try {
3324 + return gOPN(it);
3325 + } catch (e) {
3326 + return windowNames.slice();
1255 3327 }
1256 - initActions() {
1257 - this.actions = {
1258 - lightbox: async settings => {
1259 - const lightbox = await elementorFrontend.utils.lightbox;
1260 - if (settings.slideshow) {
1261 - // Handle slideshow display
1262 - lightbox.openSlideshow(settings.slideshow, settings.url);
1263 - } else {
1264 - // If the settings has an ID - the lightbox target content is an image - the ID is an attachment ID.
1265 - if (settings.id) {
1266 - settings.type = 'image';
1267 - }
1268 - lightbox.showModal(settings);
1269 - }
3328 +};
3329 +
3330 +module.exports.f = function getOwnPropertyNames(it) {
3331 + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
3332 +};
3333 +
3334 +
3335 +/***/ }),
3336 +/* 180 */
3337 +/***/ (function(module, exports, __webpack_require__) {
3338 +
3339 +__webpack_require__(79)('asyncIterator');
3340 +
3341 +
3342 +/***/ }),
3343 +/* 181 */
3344 +/***/ (function(module, exports, __webpack_require__) {
3345 +
3346 +__webpack_require__(79)('observable');
3347 +
3348 +
3349 +/***/ }),
3350 +/* 182 */
3351 +/***/ (function(module, exports, __webpack_require__) {
3352 +
3353 +// 0 -> Array#forEach
3354 +// 1 -> Array#map
3355 +// 2 -> Array#filter
3356 +// 3 -> Array#some
3357 +// 4 -> Array#every
3358 +// 5 -> Array#find
3359 +// 6 -> Array#findIndex
3360 +var ctx = __webpack_require__(73);
3361 +var IObject = __webpack_require__(120);
3362 +var toObject = __webpack_require__(96);
3363 +var toLength = __webpack_require__(43);
3364 +var asc = __webpack_require__(216);
3365 +module.exports = function (TYPE, $create) {
3366 + var IS_MAP = TYPE == 1;
3367 + var IS_FILTER = TYPE == 2;
3368 + var IS_SOME = TYPE == 3;
3369 + var IS_EVERY = TYPE == 4;
3370 + var IS_FIND_INDEX = TYPE == 6;
3371 + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
3372 + var create = $create || asc;
3373 + return function ($this, callbackfn, that) {
3374 + var O = toObject($this);
3375 + var self = IObject(O);
3376 + var f = ctx(callbackfn, that, 3);
3377 + var length = toLength(self.length);
3378 + var index = 0;
3379 + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
3380 + var val, res;
3381 + for (;length > index; index++) if (NO_HOLES || index in self) {
3382 + val = self[index];
3383 + res = f(val, index, O);
3384 + if (TYPE) {
3385 + if (IS_MAP) result[index] = res; // map
3386 + else if (res) switch (TYPE) {
3387 + case 3: return true; // some
3388 + case 5: return val; // find
3389 + case 6: return index; // findIndex
3390 + case 2: result.push(val); // filter
3391 + } else if (IS_EVERY) return false; // every
1270 3392 }
1271 - };
1272 - }
1273 - addAction(name, callback) {
1274 - this.actions[name] = callback;
1275 - }
1276 - runAction(url, ...restArgs) {
1277 - url = decodeURI(url);
1278 - url = decodeURIComponent(url);
1279 - const actionMatch = url.match(/action=(.+?)&/);
1280 - if (!actionMatch) {
1281 - return;
1282 3393 }
1283 - const action = this.actions[actionMatch[1]];
1284 - if (!action) {
1285 - return;
3394 + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
3395 + };
3396 +};
3397 +
3398 +
3399 +/***/ }),
3400 +/* 183 */
3401 +/***/ (function(module, exports, __webpack_require__) {
3402 +
3403 +"use strict";
3404 +
3405 +__webpack_require__(279);
3406 +var anObject = __webpack_require__(18);
3407 +var $flags = __webpack_require__(106);
3408 +var DESCRIPTORS = __webpack_require__(27);
3409 +var TO_STRING = 'toString';
3410 +var $toString = /./[TO_STRING];
3411 +
3412 +var define = function (fn) {
3413 + __webpack_require__(36)(RegExp.prototype, TO_STRING, fn, true);
3414 +};
3415 +
3416 +// 21.2.5.14 RegExp.prototype.toString()
3417 +if (__webpack_require__(33)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
3418 + define(function toString() {
3419 + var R = anObject(this);
3420 + return '/'.concat(R.source, '/',
3421 + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
3422 + });
3423 +// FF44- RegExp#toString has a wrong name
3424 +} else if ($toString.name != TO_STRING) {
3425 + define(function toString() {
3426 + return $toString.call(this);
3427 + });
3428 +}
3429 +
3430 +
3431 +/***/ }),
3432 +/* 184 */,
3433 +/* 185 */
3434 +/***/ (function(module, exports, __webpack_require__) {
3435 +
3436 +var DESCRIPTORS = __webpack_require__(14);
3437 +var getKeys = __webpack_require__(40);
3438 +var toIObject = __webpack_require__(20);
3439 +var isEnum = __webpack_require__(50).f;
3440 +module.exports = function (isEntries) {
3441 + return function (it) {
3442 + var O = toIObject(it);
3443 + var keys = getKeys(O);
3444 + var length = keys.length;
3445 + var i = 0;
3446 + var result = [];
3447 + var key;
3448 + while (length > i) {
3449 + key = keys[i++];
3450 + if (!DESCRIPTORS || isEnum.call(O, key)) {
3451 + result.push(isEntries ? [key, O[key]] : O[key]);
3452 + }
1286 3453 }
1287 - let settings = {};
1288 - const settingsMatch = url.match(/settings=(.+)/);
1289 - if (settingsMatch) {
1290 - settings = JSON.parse(atob(settingsMatch[1]));
1291 - }
1292 - settings.previousEvent = event;
1293 - action(settings, ...restArgs);
3454 + return result;
3455 + };
3456 +};
3457 +
3458 +
3459 +/***/ }),
3460 +/* 186 */,
3461 +/* 187 */,
3462 +/* 188 */,
3463 +/* 189 */,
3464 +/* 190 */
3465 +/***/ (function(module, exports, __webpack_require__) {
3466 +
3467 +"use strict";
3468 +
3469 +var regexpExec = __webpack_require__(88);
3470 +__webpack_require__(34)({
3471 + target: 'RegExp',
3472 + proto: true,
3473 + forced: regexpExec !== /./.exec
3474 +}, {
3475 + exec: regexpExec
3476 +});
3477 +
3478 +
3479 +/***/ }),
3480 +/* 191 */
3481 +/***/ (function(module, exports, __webpack_require__) {
3482 +
3483 +__webpack_require__(192);
3484 +var $Object = __webpack_require__(6).Object;
3485 +module.exports = function getOwnPropertyDescriptor(it, key) {
3486 + return $Object.getOwnPropertyDescriptor(it, key);
3487 +};
3488 +
3489 +
3490 +/***/ }),
3491 +/* 192 */
3492 +/***/ (function(module, exports, __webpack_require__) {
3493 +
3494 +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
3495 +var toIObject = __webpack_require__(20);
3496 +var $getOwnPropertyDescriptor = __webpack_require__(51).f;
3497 +
3498 +__webpack_require__(83)('getOwnPropertyDescriptor', function () {
3499 + return function getOwnPropertyDescriptor(it, key) {
3500 + return $getOwnPropertyDescriptor(toIObject(it), key);
3501 + };
3502 +});
3503 +
3504 +
3505 +/***/ }),
3506 +/* 193 */
3507 +/***/ (function(module, exports, __webpack_require__) {
3508 +
3509 +module.exports = __webpack_require__(194);
3510 +
3511 +/***/ }),
3512 +/* 194 */
3513 +/***/ (function(module, exports, __webpack_require__) {
3514 +
3515 +__webpack_require__(195);
3516 +module.exports = __webpack_require__(6).Reflect.get;
3517 +
3518 +
3519 +/***/ }),
3520 +/* 195 */
3521 +/***/ (function(module, exports, __webpack_require__) {
3522 +
3523 +// 26.1.6 Reflect.get(target, propertyKey [, receiver])
3524 +var gOPD = __webpack_require__(51);
3525 +var getPrototypeOf = __webpack_require__(64);
3526 +var has = __webpack_require__(19);
3527 +var $export = __webpack_require__(7);
3528 +var isObject = __webpack_require__(9);
3529 +var anObject = __webpack_require__(13);
3530 +
3531 +function get(target, propertyKey /* , receiver */) {
3532 + var receiver = arguments.length < 3 ? target : arguments[2];
3533 + var desc, proto;
3534 + if (anObject(target) === receiver) return target[propertyKey];
3535 + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
3536 + ? desc.value
3537 + : desc.get !== undefined
3538 + ? desc.get.call(receiver)
3539 + : undefined;
3540 + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
3541 +}
3542 +
3543 +$export($export.S, 'Reflect', { get: get });
3544 +
3545 +
3546 +/***/ }),
3547 +/* 196 */
3548 +/***/ (function(module, exports, __webpack_require__) {
3549 +
3550 +var getPrototypeOf = __webpack_require__(16);
3551 +
3552 +function _superPropBase(object, property) {
3553 + while (!Object.prototype.hasOwnProperty.call(object, property)) {
3554 + object = getPrototypeOf(object);
3555 + if (object === null) break;
1294 3556 }
1295 - runLinkAction(event) {
1296 - event.preventDefault();
1297 - this.runAction(jQuery(event.currentTarget).attr('href'), event);
1298 - }
1299 - runHashAction() {
1300 - if (!location.hash) {
1301 - return;
1302 - }
1303 3557
1304 - // Only if an element with this action hash exists on the page do we allow running the action.
1305 - const elementWithHash = document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`);
1306 - if (elementWithHash) {
1307 - this.runAction(elementWithHash.getAttribute('data-e-action-hash'));
1308 - }
1309 - }
1310 - createActionHash(action, settings) {
1311 - // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
1312 - return encodeURIComponent(`#elementor-action:action=${action}&settings=${btoa(JSON.stringify(settings))}`);
1313 - }
1314 - onInit() {
1315 - super.onInit();
1316 - this.initActions();
1317 - elementorFrontend.on('components:init', this.runHashAction.bind(this));
1318 - }
3558 + return object;
1319 3559 }
1320 -exports["default"] = _default;
1321 3560
3561 +module.exports = _superPropBase;
3562 +
1322 3563 /***/ }),
3564 +/* 197 */,
3565 +/* 198 */
3566 +/***/ (function(module, exports, __webpack_require__) {
1323 3567
1324 -/***/ "../assets/dev/js/frontend/utils/utils.js":
1325 -/*!************************************************!*\
1326 - !*** ../assets/dev/js/frontend/utils/utils.js ***!
1327 - \************************************************/
1328 -/***/ ((__unused_webpack_module, exports) => {
3568 +var toInteger = __webpack_require__(57);
3569 +var max = Math.max;
3570 +var min = Math.min;
3571 +module.exports = function (index, length) {
3572 + index = toInteger(index);
3573 + return index < 0 ? max(index + length, 0) : min(index, length);
3574 +};
1329 3575
1330 3576
3577 +/***/ }),
3578 +/* 199 */,
3579 +/* 200 */,
3580 +/* 201 */
3581 +/***/ (function(module, exports, __webpack_require__) {
1331 3582
1332 -Object.defineProperty(exports, "__esModule", ({
1333 - value: true
1334 -}));
1335 -exports.isScrollSnapActive = exports.escapeHTML = void 0;
1336 -// Escape HTML special chars to prevent XSS.
1337 -const escapeHTML = str => {
1338 - const specialChars = {
1339 - '&': '&amp;',
1340 - '<': '&lt;',
1341 - '>': '&gt;',
1342 - "'": '&#39;',
1343 - '"': '&quot;'
3583 +__webpack_require__(202);
3584 +module.exports = __webpack_require__(6).Object.keys;
3585 +
3586 +
3587 +/***/ }),
3588 +/* 202 */
3589 +/***/ (function(module, exports, __webpack_require__) {
3590 +
3591 +// 19.1.2.14 Object.keys(O)
3592 +var toObject = __webpack_require__(32);
3593 +var $keys = __webpack_require__(40);
3594 +
3595 +__webpack_require__(83)('keys', function () {
3596 + return function keys(it) {
3597 + return $keys(toObject(it));
1344 3598 };
1345 - return str.replace(/[&<>'"]/g, tag => specialChars[tag] || tag);
3599 +});
3600 +
3601 +
3602 +/***/ }),
3603 +/* 203 */,
3604 +/* 204 */
3605 +/***/ (function(module, exports, __webpack_require__) {
3606 +
3607 +// helper for String#{startsWith, endsWith, includes}
3608 +var isRegExp = __webpack_require__(122);
3609 +var defined = __webpack_require__(42);
3610 +
3611 +module.exports = function (that, searchString, NAME) {
3612 + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
3613 + return String(defined(that));
1346 3614 };
1347 3615
1348 -// Check if Scroll-Snap is active.
1349 -exports.escapeHTML = escapeHTML;
1350 -const isScrollSnapActive = () => {
1351 - const scrollSnapStatus = elementorFrontend.isEditMode() ? elementor.settings.page.model.attributes?.scroll_snap : elementorFrontend.config.settings.page?.scroll_snap;
1352 - return 'yes' === scrollSnapStatus ? true : false;
3616 +
3617 +/***/ }),
3618 +/* 205 */
3619 +/***/ (function(module, exports, __webpack_require__) {
3620 +
3621 +var MATCH = __webpack_require__(12)('match');
3622 +module.exports = function (KEY) {
3623 + var re = /./;
3624 + try {
3625 + '/./'[KEY](re);
3626 + } catch (e) {
3627 + try {
3628 + re[MATCH] = false;
3629 + return !'/./'[KEY](re);
3630 + } catch (f) { /* empty */ }
3631 + } return true;
1353 3632 };
1354 -exports.isScrollSnapActive = isScrollSnapActive;
1355 3633
3634 +
1356 3635 /***/ }),
3636 +/* 206 */
3637 +/***/ (function(module, exports, __webpack_require__) {
1357 3638
1358 -/***/ "../assets/dev/js/frontend/utils/video-api/base-loader.js":
1359 -/*!****************************************************************!*\
1360 - !*** ../assets/dev/js/frontend/utils/video-api/base-loader.js ***!
1361 - \****************************************************************/
1362 -/***/ ((__unused_webpack_module, exports) => {
3639 +module.exports = __webpack_require__(316);
1363 3640
3641 +/***/ }),
3642 +/* 207 */
3643 +/***/ (function(module, exports, __webpack_require__) {
1364 3644
3645 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
3646 +var anObject = __webpack_require__(13);
3647 +var aFunction = __webpack_require__(38);
3648 +var SPECIES = __webpack_require__(10)('species');
3649 +module.exports = function (O, D) {
3650 + var C = anObject(O).constructor;
3651 + var S;
3652 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
3653 +};
1365 3654
1366 -Object.defineProperty(exports, "__esModule", ({
1367 - value: true
1368 -}));
1369 -exports["default"] = void 0;
1370 -class BaseLoader extends elementorModules.ViewModule {
1371 - getDefaultSettings() {
1372 - return {
1373 - isInserted: false,
1374 - selectors: {
1375 - firstScript: 'script:first'
1376 - }
3655 +
3656 +/***/ }),
3657 +/* 208 */
3658 +/***/ (function(module, exports, __webpack_require__) {
3659 +
3660 +var ctx = __webpack_require__(31);
3661 +var invoke = __webpack_require__(132);
3662 +var html = __webpack_require__(131);
3663 +var cel = __webpack_require__(92);
3664 +var global = __webpack_require__(8);
3665 +var process = global.process;
3666 +var setTask = global.setImmediate;
3667 +var clearTask = global.clearImmediate;
3668 +var MessageChannel = global.MessageChannel;
3669 +var Dispatch = global.Dispatch;
3670 +var counter = 0;
3671 +var queue = {};
3672 +var ONREADYSTATECHANGE = 'onreadystatechange';
3673 +var defer, channel, port;
3674 +var run = function () {
3675 + var id = +this;
3676 + // eslint-disable-next-line no-prototype-builtins
3677 + if (queue.hasOwnProperty(id)) {
3678 + var fn = queue[id];
3679 + delete queue[id];
3680 + fn();
3681 + }
3682 +};
3683 +var listener = function (event) {
3684 + run.call(event.data);
3685 +};
3686 +// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
3687 +if (!setTask || !clearTask) {
3688 + setTask = function setImmediate(fn) {
3689 + var args = [];
3690 + var i = 1;
3691 + while (arguments.length > i) args.push(arguments[i++]);
3692 + queue[++counter] = function () {
3693 + // eslint-disable-next-line no-new-func
3694 + invoke(typeof fn == 'function' ? fn : Function(fn), args);
1377 3695 };
1378 - }
1379 - getDefaultElements() {
1380 - return {
1381 - $firstScript: jQuery(this.getSettings('selectors.firstScript'))
3696 + defer(counter);
3697 + return counter;
3698 + };
3699 + clearTask = function clearImmediate(id) {
3700 + delete queue[id];
3701 + };
3702 + // Node.js 0.8-
3703 + if (__webpack_require__(56)(process) == 'process') {
3704 + defer = function (id) {
3705 + process.nextTick(ctx(run, id, 1));
1382 3706 };
3707 + // Sphere (JS game engine) Dispatch API
3708 + } else if (Dispatch && Dispatch.now) {
3709 + defer = function (id) {
3710 + Dispatch.now(ctx(run, id, 1));
3711 + };
3712 + // Browsers with MessageChannel, includes WebWorkers
3713 + } else if (MessageChannel) {
3714 + channel = new MessageChannel();
3715 + port = channel.port2;
3716 + channel.port1.onmessage = listener;
3717 + defer = ctx(port.postMessage, port, 1);
3718 + // Browsers with postMessage, skip WebWorkers
3719 + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
3720 + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
3721 + defer = function (id) {
3722 + global.postMessage(id + '', '*');
3723 + };
3724 + global.addEventListener('message', listener, false);
3725 + // IE8-
3726 + } else if (ONREADYSTATECHANGE in cel('script')) {
3727 + defer = function (id) {
3728 + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
3729 + html.removeChild(this);
3730 + run.call(id);
3731 + };
3732 + };
3733 + // Rest old browsers
3734 + } else {
3735 + defer = function (id) {
3736 + setTimeout(ctx(run, id, 1), 0);
3737 + };
1383 3738 }
1384 - insertAPI() {
1385 - this.elements.$firstScript.before(jQuery('<script>', {
1386 - src: this.getApiURL()
1387 - }));
1388 - this.setSettings('isInserted', true);
3739 +}
3740 +module.exports = {
3741 + set: setTask,
3742 + clear: clearTask
3743 +};
3744 +
3745 +
3746 +/***/ }),
3747 +/* 209 */
3748 +/***/ (function(module, exports) {
3749 +
3750 +module.exports = function (exec) {
3751 + try {
3752 + return { e: false, v: exec() };
3753 + } catch (e) {
3754 + return { e: true, v: e };
1389 3755 }
1390 - getVideoIDFromURL(url) {
1391 - const videoIDParts = url.match(this.getURLRegex());
1392 - return videoIDParts && videoIDParts[1];
1393 - }
1394 - onApiReady(callback) {
1395 - if (!this.getSettings('isInserted')) {
1396 - this.insertAPI();
1397 - }
1398 - if (this.isApiLoaded()) {
1399 - callback(this.getApiObject());
1400 - } else {
1401 - // If not ready check again by timeout..
1402 - setTimeout(() => {
1403 - this.onApiReady(callback);
1404 - }, 350);
1405 - }
1406 - }
1407 - getAutoplayURL(videoURL) {
1408 - return videoURL.replace('&autoplay=0', '') + '&autoplay=1';
1409 - }
1410 -}
1411 -exports["default"] = BaseLoader;
3756 +};
1412 3757
3758 +
1413 3759 /***/ }),
3760 +/* 210 */
3761 +/***/ (function(module, exports, __webpack_require__) {
1414 3762
1415 -/***/ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js":
1416 -/*!*****************************************************************!*\
1417 - !*** ../assets/dev/js/frontend/utils/video-api/vimeo-loader.js ***!
1418 - \*****************************************************************/
1419 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3763 +var anObject = __webpack_require__(13);
3764 +var isObject = __webpack_require__(9);
3765 +var newPromiseCapability = __webpack_require__(145);
1420 3766
3767 +module.exports = function (C, x) {
3768 + anObject(C);
3769 + if (isObject(x) && x.constructor === C) return x;
3770 + var promiseCapability = newPromiseCapability.f(C);
3771 + var resolve = promiseCapability.resolve;
3772 + resolve(x);
3773 + return promiseCapability.promise;
3774 +};
1421 3775
1422 3776
1423 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1424 -Object.defineProperty(exports, "__esModule", ({
1425 - value: true
1426 -}));
1427 -exports["default"] = void 0;
1428 -var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
1429 -class VimeoLoader extends _baseLoader.default {
1430 - getApiURL() {
1431 - return 'https://player.vimeo.com/api/player.js';
1432 - }
1433 - getURLRegex() {
1434 - return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
1435 - }
1436 - isApiLoaded() {
1437 - return window.Vimeo;
1438 - }
1439 - getApiObject() {
1440 - return Vimeo;
1441 - }
1442 - getAutoplayURL(videoURL) {
1443 - // Vimeo requires the '#t=' param to be last in the URL.
1444 - const timeMatch = videoURL.match(/#t=[^&]*/);
1445 - return videoURL.replace(timeMatch[0], '') + timeMatch;
1446 - }
1447 -}
1448 -exports["default"] = VimeoLoader;
3777 +/***/ }),
3778 +/* 211 */,
3779 +/* 212 */,
3780 +/* 213 */
3781 +/***/ (function(module, exports, __webpack_require__) {
1449 3782
3783 +module.exports = __webpack_require__(281);
3784 +
1450 3785 /***/ }),
3786 +/* 214 */,
3787 +/* 215 */,
3788 +/* 216 */
3789 +/***/ (function(module, exports, __webpack_require__) {
1451 3790
1452 -/***/ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js":
1453 -/*!*******************************************************************!*\
1454 - !*** ../assets/dev/js/frontend/utils/video-api/youtube-loader.js ***!
1455 - \*******************************************************************/
1456 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3791 +// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
3792 +var speciesConstructor = __webpack_require__(217);
1457 3793
3794 +module.exports = function (original, length) {
3795 + return new (speciesConstructor(original))(length);
3796 +};
1458 3797
1459 3798
1460 -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1461 -Object.defineProperty(exports, "__esModule", ({
1462 - value: true
1463 -}));
1464 -exports["default"] = void 0;
1465 -var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
1466 -class YoutubeLoader extends _baseLoader.default {
1467 - getApiURL() {
1468 - return 'https://www.youtube.com/iframe_api';
1469 - }
1470 - getURLRegex() {
1471 - return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/;
1472 - }
1473 - isApiLoaded() {
1474 - return window.YT && YT.loaded;
1475 - }
1476 - getApiObject() {
1477 - return YT;
1478 - }
1479 -}
1480 -exports["default"] = YoutubeLoader;
3799 +/***/ }),
3800 +/* 217 */
3801 +/***/ (function(module, exports, __webpack_require__) {
1481 3802
3803 +var isObject = __webpack_require__(30);
3804 +var isArray = __webpack_require__(218);
3805 +var SPECIES = __webpack_require__(12)('species');
3806 +
3807 +module.exports = function (original) {
3808 + var C;
3809 + if (isArray(original)) {
3810 + C = original.constructor;
3811 + // cross-realm fallback
3812 + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
3813 + if (isObject(C)) {
3814 + C = C[SPECIES];
3815 + if (C === null) C = undefined;
3816 + }
3817 + } return C === undefined ? Array : C;
3818 +};
3819 +
3820 +
1482 3821 /***/ }),
3822 +/* 218 */
3823 +/***/ (function(module, exports, __webpack_require__) {
1483 3824
1484 -/***/ "../assets/dev/js/public-path.js":
1485 -/*!***************************************!*\
1486 - !*** ../assets/dev/js/public-path.js ***!
1487 - \***************************************/
1488 -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
3825 +// 7.2.2 IsArray(argument)
3826 +var cof = __webpack_require__(46);
3827 +module.exports = Array.isArray || function isArray(arg) {
3828 + return cof(arg) == 'Array';
3829 +};
1489 3830
1490 3831
3832 +/***/ }),
3833 +/* 219 */,
3834 +/* 220 */,
3835 +/* 221 */,
3836 +/* 222 */,
3837 +/* 223 */,
3838 +/* 224 */,
3839 +/* 225 */
3840 +/***/ (function(module, exports, __webpack_require__) {
1491 3841
1492 -/* eslint-disable camelcase */
1493 -__webpack_require__.p = elementorFrontendConfig.urls.assets + 'js/';
3842 +"use strict";
1494 3843
3844 +var global = __webpack_require__(8);
3845 +var core = __webpack_require__(6);
3846 +var dP = __webpack_require__(15);
3847 +var DESCRIPTORS = __webpack_require__(14);
3848 +var SPECIES = __webpack_require__(10)('species');
3849 +
3850 +module.exports = function (KEY) {
3851 + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY];
3852 + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
3853 + configurable: true,
3854 + get: function () { return this; }
3855 + });
3856 +};
3857 +
3858 +
1495 3859 /***/ }),
3860 +/* 226 */,
3861 +/* 227 */,
3862 +/* 228 */,
3863 +/* 229 */,
3864 +/* 230 */,
3865 +/* 231 */,
3866 +/* 232 */,
3867 +/* 233 */,
3868 +/* 234 */,
3869 +/* 235 */
3870 +/***/ (function(module, exports) {
1496 3871
1497 -/***/ "../assets/dev/js/utils/breakpoints.js":
1498 -/*!*********************************************!*\
1499 - !*** ../assets/dev/js/utils/breakpoints.js ***!
1500 - \*********************************************/
1501 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3872 +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
3873 + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1502 3874
1503 3875
3876 +/***/ }),
3877 +/* 236 */,
3878 +/* 237 */,
3879 +/* 238 */,
3880 +/* 239 */
3881 +/***/ (function(module, exports, __webpack_require__) {
1504 3882
1505 -Object.defineProperty(exports, "__esModule", ({
1506 - value: true
1507 -}));
1508 -exports["default"] = void 0;
1509 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
1510 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1511 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1512 -__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js");
1513 -/**
1514 - * Breakpoints
1515 - *
1516 - * This utility class contains helper functions relating to Elementor's breakpoints system.
1517 - *
1518 - * @since 3.4.0
1519 - */
1520 -class Breakpoints extends elementorModules.Module {
1521 - constructor(responsiveConfig) {
1522 - super();
3883 +__webpack_require__(240);
3884 +module.exports = __webpack_require__(6).Object.values;
1523 3885
1524 - // The passed config is either `elementor.config.responsive` or `elementorFrontend.config.responsive`
1525 - this.responsiveConfig = responsiveConfig;
3886 +
3887 +/***/ }),
3888 +/* 240 */
3889 +/***/ (function(module, exports, __webpack_require__) {
3890 +
3891 +// https://github.com/tc39/proposal-object-values-entries
3892 +var $export = __webpack_require__(7);
3893 +var $values = __webpack_require__(185)(false);
3894 +
3895 +$export($export.S, 'Object', {
3896 + values: function values(it) {
3897 + return $values(it);
1526 3898 }
3899 +});
1527 3900
1528 - /**
1529 - * Get Active Breakpoints List
1530 - *
1531 - * Returns a flat array containing the active breakpoints/devices. By default, it returns the li
1532 - * the list ordered from smallest to largest breakpoint. If `true` is passed as a parameter, it reverses the order.
1533 - *
1534 - * @since 3.4.0
1535 - *
1536 - * @param {Object} args
1537 - */
1538 - getActiveBreakpointsList(args = {}) {
1539 - const defaultArgs = {
1540 - largeToSmall: false,
1541 - withDesktop: false
3901 +
3902 +/***/ }),
3903 +/* 241 */,
3904 +/* 242 */,
3905 +/* 243 */,
3906 +/* 244 */,
3907 +/* 245 */,
3908 +/* 246 */,
3909 +/* 247 */,
3910 +/* 248 */,
3911 +/* 249 */,
3912 +/* 250 */,
3913 +/* 251 */,
3914 +/* 252 */,
3915 +/* 253 */,
3916 +/* 254 */,
3917 +/* 255 */,
3918 +/* 256 */,
3919 +/* 257 */
3920 +/***/ (function(module, exports, __webpack_require__) {
3921 +
3922 +__webpack_require__(100);
3923 +__webpack_require__(60);
3924 +__webpack_require__(62);
3925 +__webpack_require__(258);
3926 +__webpack_require__(261);
3927 +__webpack_require__(262);
3928 +module.exports = __webpack_require__(6).Promise;
3929 +
3930 +
3931 +/***/ }),
3932 +/* 258 */
3933 +/***/ (function(module, exports, __webpack_require__) {
3934 +
3935 +"use strict";
3936 +
3937 +var LIBRARY = __webpack_require__(47);
3938 +var global = __webpack_require__(8);
3939 +var ctx = __webpack_require__(31);
3940 +var classof = __webpack_require__(101);
3941 +var $export = __webpack_require__(7);
3942 +var isObject = __webpack_require__(9);
3943 +var aFunction = __webpack_require__(38);
3944 +var anInstance = __webpack_require__(125);
3945 +var forOf = __webpack_require__(86);
3946 +var speciesConstructor = __webpack_require__(207);
3947 +var task = __webpack_require__(208).set;
3948 +var microtask = __webpack_require__(259)();
3949 +var newPromiseCapabilityModule = __webpack_require__(145);
3950 +var perform = __webpack_require__(209);
3951 +var userAgent = __webpack_require__(260);
3952 +var promiseResolve = __webpack_require__(210);
3953 +var PROMISE = 'Promise';
3954 +var TypeError = global.TypeError;
3955 +var process = global.process;
3956 +var versions = process && process.versions;
3957 +var v8 = versions && versions.v8 || '';
3958 +var $Promise = global[PROMISE];
3959 +var isNode = classof(process) == 'process';
3960 +var empty = function () { /* empty */ };
3961 +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
3962 +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
3963 +
3964 +var USE_NATIVE = !!function () {
3965 + try {
3966 + // correct subclassing with @@species support
3967 + var promise = $Promise.resolve(1);
3968 + var FakePromise = (promise.constructor = {})[__webpack_require__(10)('species')] = function (exec) {
3969 + exec(empty, empty);
1542 3970 };
1543 - args = {
1544 - ...defaultArgs,
1545 - ...args
3971 + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
3972 + return (isNode || typeof PromiseRejectionEvent == 'function')
3973 + && promise.then(empty) instanceof FakePromise
3974 + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
3975 + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
3976 + // we can't detect it synchronously, so just check versions
3977 + && v8.indexOf('6.6') !== 0
3978 + && userAgent.indexOf('Chrome/66') === -1;
3979 + } catch (e) { /* empty */ }
3980 +}();
3981 +
3982 +// helpers
3983 +var isThenable = function (it) {
3984 + var then;
3985 + return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
3986 +};
3987 +var notify = function (promise, isReject) {
3988 + if (promise._n) return;
3989 + promise._n = true;
3990 + var chain = promise._c;
3991 + microtask(function () {
3992 + var value = promise._v;
3993 + var ok = promise._s == 1;
3994 + var i = 0;
3995 + var run = function (reaction) {
3996 + var handler = ok ? reaction.ok : reaction.fail;
3997 + var resolve = reaction.resolve;
3998 + var reject = reaction.reject;
3999 + var domain = reaction.domain;
4000 + var result, then, exited;
4001 + try {
4002 + if (handler) {
4003 + if (!ok) {
4004 + if (promise._h == 2) onHandleUnhandled(promise);
4005 + promise._h = 1;
4006 + }
4007 + if (handler === true) result = value;
4008 + else {
4009 + if (domain) domain.enter();
4010 + result = handler(value); // may throw
4011 + if (domain) {
4012 + domain.exit();
4013 + exited = true;
4014 + }
4015 + }
4016 + if (result === reaction.promise) {
4017 + reject(TypeError('Promise-chain cycle'));
4018 + } else if (then = isThenable(result)) {
4019 + then.call(result, resolve, reject);
4020 + } else resolve(result);
4021 + } else reject(value);
4022 + } catch (e) {
4023 + if (domain && !exited) domain.exit();
4024 + reject(e);
4025 + }
1546 4026 };
1547 - const breakpointKeys = Object.keys(this.responsiveConfig.activeBreakpoints);
1548 - if (args.withDesktop) {
1549 - // If there is an active 'widescreen' breakpoint, insert the artificial 'desktop' device below it.
1550 - const widescreenIndex = breakpointKeys.indexOf('widescreen'),
1551 - indexToInsertDesktopDevice = -1 === widescreenIndex ? breakpointKeys.length : breakpointKeys.length - 1;
1552 - breakpointKeys.splice(indexToInsertDesktopDevice, 0, 'desktop');
4027 + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
4028 + promise._c = [];
4029 + promise._n = false;
4030 + if (isReject && !promise._h) onUnhandled(promise);
4031 + });
4032 +};
4033 +var onUnhandled = function (promise) {
4034 + task.call(global, function () {
4035 + var value = promise._v;
4036 + var unhandled = isUnhandled(promise);
4037 + var result, handler, console;
4038 + if (unhandled) {
4039 + result = perform(function () {
4040 + if (isNode) {
4041 + process.emit('unhandledRejection', value, promise);
4042 + } else if (handler = global.onunhandledrejection) {
4043 + handler({ promise: promise, reason: value });
4044 + } else if ((console = global.console) && console.error) {
4045 + console.error('Unhandled promise rejection', value);
4046 + }
4047 + });
4048 + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
4049 + promise._h = isNode || isUnhandled(promise) ? 2 : 1;
4050 + } promise._a = undefined;
4051 + if (unhandled && result.e) throw result.v;
4052 + });
4053 +};
4054 +var isUnhandled = function (promise) {
4055 + return promise._h !== 1 && (promise._a || promise._c).length === 0;
4056 +};
4057 +var onHandleUnhandled = function (promise) {
4058 + task.call(global, function () {
4059 + var handler;
4060 + if (isNode) {
4061 + process.emit('rejectionHandled', promise);
4062 + } else if (handler = global.onrejectionhandled) {
4063 + handler({ promise: promise, reason: promise._v });
1553 4064 }
1554 - if (args.largeToSmall) {
1555 - breakpointKeys.reverse();
4065 + });
4066 +};
4067 +var $reject = function (value) {
4068 + var promise = this;
4069 + if (promise._d) return;
4070 + promise._d = true;
4071 + promise = promise._w || promise; // unwrap
4072 + promise._v = value;
4073 + promise._s = 2;
4074 + if (!promise._a) promise._a = promise._c.slice();
4075 + notify(promise, true);
4076 +};
4077 +var $resolve = function (value) {
4078 + var promise = this;
4079 + var then;
4080 + if (promise._d) return;
4081 + promise._d = true;
4082 + promise = promise._w || promise; // unwrap
4083 + try {
4084 + if (promise === value) throw TypeError("Promise can't be resolved itself");
4085 + if (then = isThenable(value)) {
4086 + microtask(function () {
4087 + var wrapper = { _w: promise, _d: false }; // wrap
4088 + try {
4089 + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
4090 + } catch (e) {
4091 + $reject.call(wrapper, e);
4092 + }
4093 + });
4094 + } else {
4095 + promise._v = value;
4096 + promise._s = 1;
4097 + notify(promise, false);
1556 4098 }
1557 - return breakpointKeys;
4099 + } catch (e) {
4100 + $reject.call({ _w: promise, _d: false }, e); // wrap
1558 4101 }
4102 +};
1559 4103
1560 - /**
1561 - * Get Active Breakpoint Values
1562 - *
1563 - * Returns a flat array containing the list of active breakpoint values, from smallest to largest.
1564 - *
1565 - * @since 3.4.0
1566 - */
1567 - getBreakpointValues() {
1568 - const {
1569 - activeBreakpoints
1570 - } = this.responsiveConfig,
1571 - breakpointValues = [];
1572 - Object.values(activeBreakpoints).forEach(breakpointConfig => {
1573 - breakpointValues.push(breakpointConfig.value);
4104 +// constructor polyfill
4105 +if (!USE_NATIVE) {
4106 + // 25.4.3.1 Promise(executor)
4107 + $Promise = function Promise(executor) {
4108 + anInstance(this, $Promise, PROMISE, '_h');
4109 + aFunction(executor);
4110 + Internal.call(this);
4111 + try {
4112 + executor(ctx($resolve, this, 1), ctx($reject, this, 1));
4113 + } catch (err) {
4114 + $reject.call(this, err);
4115 + }
4116 + };
4117 + // eslint-disable-next-line no-unused-vars
4118 + Internal = function Promise(executor) {
4119 + this._c = []; // <- awaiting reactions
4120 + this._a = undefined; // <- checked in isUnhandled reactions
4121 + this._s = 0; // <- state
4122 + this._d = false; // <- done
4123 + this._v = undefined; // <- value
4124 + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
4125 + this._n = false; // <- notify
4126 + };
4127 + Internal.prototype = __webpack_require__(126)($Promise.prototype, {
4128 + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
4129 + then: function then(onFulfilled, onRejected) {
4130 + var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
4131 + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
4132 + reaction.fail = typeof onRejected == 'function' && onRejected;
4133 + reaction.domain = isNode ? process.domain : undefined;
4134 + this._c.push(reaction);
4135 + if (this._a) this._a.push(reaction);
4136 + if (this._s) notify(this, false);
4137 + return reaction.promise;
4138 + },
4139 + // 25.4.5.1 Promise.prototype.catch(onRejected)
4140 + 'catch': function (onRejected) {
4141 + return this.then(undefined, onRejected);
4142 + }
4143 + });
4144 + OwnPromiseCapability = function () {
4145 + var promise = new Internal();
4146 + this.promise = promise;
4147 + this.resolve = ctx($resolve, promise, 1);
4148 + this.reject = ctx($reject, promise, 1);
4149 + };
4150 + newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
4151 + return C === $Promise || C === Wrapper
4152 + ? new OwnPromiseCapability(C)
4153 + : newGenericPromiseCapability(C);
4154 + };
4155 +}
4156 +
4157 +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
4158 +__webpack_require__(53)($Promise, PROMISE);
4159 +__webpack_require__(225)(PROMISE);
4160 +Wrapper = __webpack_require__(6)[PROMISE];
4161 +
4162 +// statics
4163 +$export($export.S + $export.F * !USE_NATIVE, PROMISE, {
4164 + // 25.4.4.5 Promise.reject(r)
4165 + reject: function reject(r) {
4166 + var capability = newPromiseCapability(this);
4167 + var $$reject = capability.reject;
4168 + $$reject(r);
4169 + return capability.promise;
4170 + }
4171 +});
4172 +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
4173 + // 25.4.4.6 Promise.resolve(x)
4174 + resolve: function resolve(x) {
4175 + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
4176 + }
4177 +});
4178 +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(152)(function (iter) {
4179 + $Promise.all(iter)['catch'](empty);
4180 +})), PROMISE, {
4181 + // 25.4.4.1 Promise.all(iterable)
4182 + all: function all(iterable) {
4183 + var C = this;
4184 + var capability = newPromiseCapability(C);
4185 + var resolve = capability.resolve;
4186 + var reject = capability.reject;
4187 + var result = perform(function () {
4188 + var values = [];
4189 + var index = 0;
4190 + var remaining = 1;
4191 + forOf(iterable, false, function (promise) {
4192 + var $index = index++;
4193 + var alreadyCalled = false;
4194 + values.push(undefined);
4195 + remaining++;
4196 + C.resolve(promise).then(function (value) {
4197 + if (alreadyCalled) return;
4198 + alreadyCalled = true;
4199 + values[$index] = value;
4200 + --remaining || resolve(values);
4201 + }, reject);
4202 + });
4203 + --remaining || resolve(values);
1574 4204 });
1575 - return breakpointValues;
4205 + if (result.e) reject(result.v);
4206 + return capability.promise;
4207 + },
4208 + // 25.4.4.4 Promise.race(iterable)
4209 + race: function race(iterable) {
4210 + var C = this;
4211 + var capability = newPromiseCapability(C);
4212 + var reject = capability.reject;
4213 + var result = perform(function () {
4214 + forOf(iterable, false, function (promise) {
4215 + C.resolve(promise).then(capability.resolve, reject);
4216 + });
4217 + });
4218 + if (result.e) reject(result.v);
4219 + return capability.promise;
1576 4220 }
4221 +});
1577 4222
1578 - /**
1579 - * Get Desktop Previous Device Key
1580 - *
1581 - * Returns the key of the device directly under desktop (can be 'tablet', 'tablet_extra', 'laptop').
1582 - *
1583 - * @since 3.4.0
1584 - *
1585 - * @return {string} device key
1586 - */
1587 - getDesktopPreviousDeviceKey() {
1588 - let desktopPreviousDevice = '';
1589 - const {
1590 - activeBreakpoints
1591 - } = this.responsiveConfig,
1592 - breakpointKeys = Object.keys(activeBreakpoints),
1593 - numOfDevices = breakpointKeys.length;
1594 - if ('min' === activeBreakpoints[breakpointKeys[numOfDevices - 1]].direction) {
1595 - // If the widescreen breakpoint is active, the device that's previous to desktop is the last one before
1596 - // widescreen.
1597 - desktopPreviousDevice = breakpointKeys[numOfDevices - 2];
1598 - } else {
1599 - // If the widescreen breakpoint isn't active, we just take the last device returned by the config.
1600 - desktopPreviousDevice = breakpointKeys[numOfDevices - 1];
1601 - }
1602 - return desktopPreviousDevice;
1603 - }
1604 4223
1605 - /**
1606 - * Get Device Minimum Breakpoint
1607 - *
1608 - * Returns the minimum point in the device's display range. For each device, the minimum point of its display range
1609 - * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet,
1610 - * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px.
1611 - *
1612 - * @since 3.4.0
1613 - *
1614 - * @return {number|*} minimum breakpoint
1615 - */
1616 - getDesktopMinPoint() {
1617 - const {
1618 - activeBreakpoints
1619 - } = this.responsiveConfig,
1620 - desktopPreviousDevice = this.getDesktopPreviousDeviceKey();
1621 - return activeBreakpoints[desktopPreviousDevice].value + 1;
1622 - }
4224 +/***/ }),
4225 +/* 259 */
4226 +/***/ (function(module, exports, __webpack_require__) {
1623 4227
1624 - /**
1625 - * Get Device Minimum Breakpoint
1626 - *
1627 - * Returns the minimum point in the device's display range. For each device, the minimum point of its display range
1628 - * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet,
1629 - * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px.
1630 - *
1631 - * @since 3.4.0
1632 - *
1633 - * @param {string} device
1634 - * @return {number|*} minimum breakpoint
1635 - */
1636 - getDeviceMinBreakpoint(device) {
1637 - if ('desktop' === device) {
1638 - return this.getDesktopMinPoint();
1639 - }
1640 - const {
1641 - activeBreakpoints
1642 - } = this.responsiveConfig,
1643 - breakpointNames = Object.keys(activeBreakpoints);
1644 - let minBreakpoint;
1645 - if (breakpointNames[0] === device) {
1646 - // For the lowest breakpoint, the min point is always 320.
1647 - minBreakpoint = 320;
1648 - } else if ('widescreen' === device) {
1649 - // Widescreen only has a minimum point. In this case, the breakpoint
1650 - // value in the Breakpoints config is itself the device min point.
1651 - if (activeBreakpoints[device]) {
1652 - minBreakpoint = activeBreakpoints[device].value;
1653 - } else {
1654 - // If the widescreen breakpoint does not exist in the active breakpoints config (for example, in the
1655 - // case this method runs as the breakpoint is being added), get the value from the full config.
1656 - minBreakpoint = this.responsiveConfig.breakpoints.widescreen;
4228 +var global = __webpack_require__(8);
4229 +var macrotask = __webpack_require__(208).set;
4230 +var Observer = global.MutationObserver || global.WebKitMutationObserver;
4231 +var process = global.process;
4232 +var Promise = global.Promise;
4233 +var isNode = __webpack_require__(56)(process) == 'process';
4234 +
4235 +module.exports = function () {
4236 + var head, last, notify;
4237 +
4238 + var flush = function () {
4239 + var parent, fn;
4240 + if (isNode && (parent = process.domain)) parent.exit();
4241 + while (head) {
4242 + fn = head.fn;
4243 + head = head.next;
4244 + try {
4245 + fn();
4246 + } catch (e) {
4247 + if (head) notify();
4248 + else last = undefined;
4249 + throw e;
1657 4250 }
1658 - } else {
1659 - const deviceNameIndex = breakpointNames.indexOf(device),
1660 - previousIndex = deviceNameIndex - 1;
1661 - minBreakpoint = activeBreakpoints[breakpointNames[previousIndex]].value + 1;
1662 - }
1663 - return minBreakpoint;
4251 + } last = undefined;
4252 + if (parent) parent.enter();
4253 + };
4254 +
4255 + // Node.js
4256 + if (isNode) {
4257 + notify = function () {
4258 + process.nextTick(flush);
4259 + };
4260 + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
4261 + } else if (Observer && !(global.navigator && global.navigator.standalone)) {
4262 + var toggle = true;
4263 + var node = document.createTextNode('');
4264 + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
4265 + notify = function () {
4266 + node.data = toggle = !toggle;
4267 + };
4268 + // environments with maybe non-completely correct, but existent Promise
4269 + } else if (Promise && Promise.resolve) {
4270 + // Promise.resolve without an argument throws an error in LG WebOS 2
4271 + var promise = Promise.resolve(undefined);
4272 + notify = function () {
4273 + promise.then(flush);
4274 + };
4275 + // for other environments - macrotask based on:
4276 + // - setImmediate
4277 + // - MessageChannel
4278 + // - window.postMessag
4279 + // - onreadystatechange
4280 + // - setTimeout
4281 + } else {
4282 + notify = function () {
4283 + // strange IE + webpack dev server bug - use .call(global)
4284 + macrotask.call(global, flush);
4285 + };
1664 4286 }
1665 4287
1666 - /**
1667 - * Get Active Match Regex
1668 - *
1669 - * Returns a regular expression containing all active breakpoints prefixed with an underscore.
1670 - *
1671 - * @return {RegExp} Active Match Regex
1672 - */
1673 - getActiveMatchRegex() {
1674 - return new RegExp(this.getActiveBreakpointsList().map(device => '_' + device).join('|') + '$');
1675 - }
1676 -}
1677 -exports["default"] = Breakpoints;
4288 + return function (fn) {
4289 + var task = { fn: fn, next: undefined };
4290 + if (last) last.next = task;
4291 + if (!head) {
4292 + head = task;
4293 + notify();
4294 + } last = task;
4295 + };
4296 +};
1678 4297
4298 +
1679 4299 /***/ }),
4300 +/* 260 */
4301 +/***/ (function(module, exports, __webpack_require__) {
1680 4302
1681 -/***/ "../assets/dev/js/utils/events.js":
1682 -/*!****************************************!*\
1683 - !*** ../assets/dev/js/utils/events.js ***!
1684 - \****************************************/
1685 -/***/ ((__unused_webpack_module, exports) => {
4303 +var global = __webpack_require__(8);
4304 +var navigator = global.navigator;
1686 4305
4306 +module.exports = navigator && navigator.userAgent || '';
1687 4307
1688 4308
1689 -Object.defineProperty(exports, "__esModule", ({
4309 +/***/ }),
4310 +/* 261 */
4311 +/***/ (function(module, exports, __webpack_require__) {
4312 +
4313 +"use strict";
4314 +// https://github.com/tc39/proposal-promise-finally
4315 +
4316 +var $export = __webpack_require__(7);
4317 +var core = __webpack_require__(6);
4318 +var global = __webpack_require__(8);
4319 +var speciesConstructor = __webpack_require__(207);
4320 +var promiseResolve = __webpack_require__(210);
4321 +
4322 +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
4323 + var C = speciesConstructor(this, core.Promise || global.Promise);
4324 + var isFunction = typeof onFinally == 'function';
4325 + return this.then(
4326 + isFunction ? function (x) {
4327 + return promiseResolve(C, onFinally()).then(function () { return x; });
4328 + } : onFinally,
4329 + isFunction ? function (e) {
4330 + return promiseResolve(C, onFinally()).then(function () { throw e; });
4331 + } : onFinally
4332 + );
4333 +} });
4334 +
4335 +
4336 +/***/ }),
4337 +/* 262 */
4338 +/***/ (function(module, exports, __webpack_require__) {
4339 +
4340 +"use strict";
4341 +
4342 +// https://github.com/tc39/proposal-promise-try
4343 +var $export = __webpack_require__(7);
4344 +var newPromiseCapability = __webpack_require__(145);
4345 +var perform = __webpack_require__(209);
4346 +
4347 +$export($export.S, 'Promise', { 'try': function (callbackfn) {
4348 + var promiseCapability = newPromiseCapability.f(this);
4349 + var result = perform(callbackfn);
4350 + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
4351 + return promiseCapability.promise;
4352 +} });
4353 +
4354 +
4355 +/***/ }),
4356 +/* 263 */,
4357 +/* 264 */,
4358 +/* 265 */,
4359 +/* 266 */,
4360 +/* 267 */,
4361 +/* 268 */,
4362 +/* 269 */,
4363 +/* 270 */,
4364 +/* 271 */,
4365 +/* 272 */
4366 +/***/ (function(module, exports, __webpack_require__) {
4367 +
4368 +"use strict";
4369 +
4370 +
4371 +var _Object$defineProperty = __webpack_require__(1);
4372 +
4373 +_Object$defineProperty(exports, "__esModule", {
1690 4374 value: true
1691 -}));
1692 -exports["default"] = exports.Events = void 0;
1693 -class Events {
1694 - /**
1695 - * Dispatch an Elementor event.
1696 - *
1697 - * Will dispatch both native event & jQuery event (as BC).
1698 - * By default, `bcEvent` is `null`.
1699 - *
1700 - * @param {Object} context - The context that will dispatch the event.
1701 - * @param {string} event - Event to dispatch.
1702 - * @param {*} data - Data to pass to the event, default to `null`.
1703 - * @param {string|null} bcEvent - BC event to dispatch, default to `null`.
1704 - *
1705 - * @return {void}
1706 - */
1707 - static dispatch(context, event, data = null, bcEvent = null) {
1708 - // Make sure to use the native context if it's a jQuery instance.
1709 - context = context instanceof jQuery ? context[0] : context;
4375 +});
1710 4376
1711 - // Dispatch the BC event only if exists.
1712 - if (bcEvent) {
1713 - context.dispatchEvent(new CustomEvent(bcEvent, {
1714 - detail: data
1715 - }));
1716 - }
4377 +exports.default = void 0;
4378 +var userAgent = navigator.userAgent;
4379 +var _default = {
4380 + webkit: -1 !== userAgent.indexOf('AppleWebKit'),
4381 + firefox: -1 !== userAgent.indexOf('Firefox'),
4382 + ie: /Trident|MSIE/.test(userAgent),
4383 + edge: -1 !== userAgent.indexOf('Edge'),
4384 + mac: -1 !== userAgent.indexOf('Macintosh'),
4385 + safari: /^((?!chrome|android).)*safari/i.test(userAgent)
4386 +};
4387 +exports.default = _default;
1717 4388
1718 - // jQuery's `.on()` listens also to native custom events, so there is no need
1719 - // to dispatch also a jQuery event.
1720 - context.dispatchEvent(new CustomEvent(event, {
1721 - detail: data
1722 - }));
4389 +/***/ }),
4390 +/* 273 */,
4391 +/* 274 */,
4392 +/* 275 */,
4393 +/* 276 */,
4394 +/* 277 */,
4395 +/* 278 */,
4396 +/* 279 */
4397 +/***/ (function(module, exports, __webpack_require__) {
4398 +
4399 +// 21.2.5.3 get RegExp.prototype.flags()
4400 +if (__webpack_require__(27) && /./g.flags != 'g') __webpack_require__(45).f(RegExp.prototype, 'flags', {
4401 + configurable: true,
4402 + get: __webpack_require__(106)
4403 +});
4404 +
4405 +
4406 +/***/ }),
4407 +/* 280 */,
4408 +/* 281 */
4409 +/***/ (function(module, exports, __webpack_require__) {
4410 +
4411 +__webpack_require__(282);
4412 +module.exports = __webpack_require__(6).parseInt;
4413 +
4414 +
4415 +/***/ }),
4416 +/* 282 */
4417 +/***/ (function(module, exports, __webpack_require__) {
4418 +
4419 +var $export = __webpack_require__(7);
4420 +var $parseInt = __webpack_require__(283);
4421 +// 18.2.5 parseInt(string, radix)
4422 +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
4423 +
4424 +
4425 +/***/ }),
4426 +/* 283 */
4427 +/***/ (function(module, exports, __webpack_require__) {
4428 +
4429 +var $parseInt = __webpack_require__(8).parseInt;
4430 +var $trim = __webpack_require__(284).trim;
4431 +var ws = __webpack_require__(235);
4432 +var hex = /^[-+]?0[xX]/;
4433 +
4434 +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {
4435 + var string = $trim(String(str), 3);
4436 + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
4437 +} : $parseInt;
4438 +
4439 +
4440 +/***/ }),
4441 +/* 284 */
4442 +/***/ (function(module, exports, __webpack_require__) {
4443 +
4444 +var $export = __webpack_require__(7);
4445 +var defined = __webpack_require__(65);
4446 +var fails = __webpack_require__(22);
4447 +var spaces = __webpack_require__(235);
4448 +var space = '[' + spaces + ']';
4449 +var non = '\u200b\u0085';
4450 +var ltrim = RegExp('^' + space + space + '*');
4451 +var rtrim = RegExp(space + space + '*$');
4452 +
4453 +var exporter = function (KEY, exec, ALIAS) {
4454 + var exp = {};
4455 + var FORCE = fails(function () {
4456 + return !!spaces[KEY]() || non[KEY]() != non;
4457 + });
4458 + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
4459 + if (ALIAS) exp[ALIAS] = fn;
4460 + $export($export.P + $export.F * FORCE, 'String', exp);
4461 +};
4462 +
4463 +// 1 -> String#trimLeft
4464 +// 2 -> String#trimRight
4465 +// 3 -> String#trim
4466 +var trim = exporter.trim = function (string, TYPE) {
4467 + string = String(defined(string));
4468 + if (TYPE & 1) string = string.replace(ltrim, '');
4469 + if (TYPE & 2) string = string.replace(rtrim, '');
4470 + return string;
4471 +};
4472 +
4473 +module.exports = exporter;
4474 +
4475 +
4476 +/***/ }),
4477 +/* 285 */,
4478 +/* 286 */,
4479 +/* 287 */,
4480 +/* 288 */,
4481 +/* 289 */
4482 +/***/ (function(module, exports, __webpack_require__) {
4483 +
4484 +module.exports = __webpack_require__(290);
4485 +
4486 +/***/ }),
4487 +/* 290 */
4488 +/***/ (function(module, exports, __webpack_require__) {
4489 +
4490 +__webpack_require__(291);
4491 +var $Object = __webpack_require__(6).Object;
4492 +module.exports = function defineProperties(T, D) {
4493 + return $Object.defineProperties(T, D);
4494 +};
4495 +
4496 +
4497 +/***/ }),
4498 +/* 291 */
4499 +/***/ (function(module, exports, __webpack_require__) {
4500 +
4501 +var $export = __webpack_require__(7);
4502 +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
4503 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperties: __webpack_require__(135) });
4504 +
4505 +
4506 +/***/ }),
4507 +/* 292 */,
4508 +/* 293 */,
4509 +/* 294 */,
4510 +/* 295 */,
4511 +/* 296 */,
4512 +/* 297 */,
4513 +/* 298 */,
4514 +/* 299 */,
4515 +/* 300 */,
4516 +/* 301 */,
4517 +/* 302 */
4518 +/***/ (function(module, exports, __webpack_require__) {
4519 +
4520 +"use strict";
4521 +
4522 +// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
4523 +var $export = __webpack_require__(34);
4524 +var $find = __webpack_require__(182)(6);
4525 +var KEY = 'findIndex';
4526 +var forced = true;
4527 +// Shouldn't skip holes
4528 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
4529 +$export($export.P + $export.F * forced, 'Array', {
4530 + findIndex: function findIndex(callbackfn /* , that = undefined */) {
4531 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1723 4532 }
1724 -}
1725 -exports.Events = Events;
1726 -var _default = exports["default"] = Events;
4533 +});
4534 +__webpack_require__(84)(KEY);
1727 4535
4536 +
1728 4537 /***/ }),
4538 +/* 303 */,
4539 +/* 304 */,
4540 +/* 305 */,
4541 +/* 306 */,
4542 +/* 307 */,
4543 +/* 308 */,
4544 +/* 309 */,
4545 +/* 310 */,
4546 +/* 311 */,
4547 +/* 312 */,
4548 +/* 313 */,
4549 +/* 314 */,
4550 +/* 315 */,
4551 +/* 316 */
4552 +/***/ (function(module, exports, __webpack_require__) {
1729 4553
1730 -/***/ "../assets/dev/js/utils/hooks.js":
1731 -/*!***************************************!*\
1732 - !*** ../assets/dev/js/utils/hooks.js ***!
1733 - \***************************************/
1734 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4554 +var core = __webpack_require__(6);
4555 +var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify });
4556 +module.exports = function stringify(it) { // eslint-disable-line no-unused-vars
4557 + return $JSON.stringify.apply($JSON, arguments);
4558 +};
1735 4559
1736 4560
4561 +/***/ }),
4562 +/* 317 */,
4563 +/* 318 */,
4564 +/* 319 */,
4565 +/* 320 */,
4566 +/* 321 */,
4567 +/* 322 */,
4568 +/* 323 */,
4569 +/* 324 */,
4570 +/* 325 */,
4571 +/* 326 */,
4572 +/* 327 */,
4573 +/* 328 */,
4574 +/* 329 */,
4575 +/* 330 */,
4576 +/* 331 */,
4577 +/* 332 */,
4578 +/* 333 */,
4579 +/* 334 */,
4580 +/* 335 */,
4581 +/* 336 */,
4582 +/* 337 */,
4583 +/* 338 */,
4584 +/* 339 */,
4585 +/* 340 */,
4586 +/* 341 */,
4587 +/* 342 */,
4588 +/* 343 */,
4589 +/* 344 */,
4590 +/* 345 */,
4591 +/* 346 */,
4592 +/* 347 */,
4593 +/* 348 */,
4594 +/* 349 */,
4595 +/* 350 */,
4596 +/* 351 */,
4597 +/* 352 */,
4598 +/* 353 */,
4599 +/* 354 */,
4600 +/* 355 */,
4601 +/* 356 */,
4602 +/* 357 */,
4603 +/* 358 */,
4604 +/* 359 */,
4605 +/* 360 */,
4606 +/* 361 */,
4607 +/* 362 */,
4608 +/* 363 */,
4609 +/* 364 */,
4610 +/* 365 */,
4611 +/* 366 */,
4612 +/* 367 */,
4613 +/* 368 */,
4614 +/* 369 */,
4615 +/* 370 */,
4616 +/* 371 */,
4617 +/* 372 */,
4618 +/* 373 */,
4619 +/* 374 */,
4620 +/* 375 */,
4621 +/* 376 */,
4622 +/* 377 */,
4623 +/* 378 */,
4624 +/* 379 */,
4625 +/* 380 */,
4626 +/* 381 */,
4627 +/* 382 */,
4628 +/* 383 */,
4629 +/* 384 */,
4630 +/* 385 */,
4631 +/* 386 */,
4632 +/* 387 */
4633 +/***/ (function(module, exports, __webpack_require__) {
1737 4634
4635 +"use strict";
4636 +
1738 4637 /**
1739 4638 * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in
1740 4639 * that, lowest priority hooks are fired first.
1741 4640 */
1742 -__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
1743 -var EventManager = function () {
4641 +
4642 +var _interopRequireDefault = __webpack_require__(0);
4643 +
4644 +var _parseInt2 = _interopRequireDefault(__webpack_require__(213));
4645 +
4646 +var EventManager = function EventManager() {
1744 4647 var slice = Array.prototype.slice,
1745 - MethodsAvailable;
1746 -
4648 + MethodsAvailable;
1747 4649 /**
1748 4650 * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat"
1749 4651 * object literal such that looking up the hook utilizes the native object literal hash.
1750 4652 */
4653 +
1751 4654 var STORAGE = {
1752 4655 actions: {},
1753 4656 filters: {}
1754 4657 };
1755 -
1756 4658 /**
1757 4659 * Removes the specified hook by resetting the value of it.
1758 4660 *
1759 - * @param {string} type Type of hook, either 'actions' or 'filters'
1760 - * @param {Function} hook The hook (namespace.identifier) to remove
1761 - * @param {Function} callback
1762 - * @param {*} context
4661 + * @param type Type of hook, either 'actions' or 'filters'
4662 + * @param hook The hook (namespace.identifier) to remove
4663 + *
1763 4664 * @private
1764 4665 */
4666 +
1765 4667 function _removeHook(type, hook, callback, context) {
1766 4668 var handlers, handler, i;
4669 +
1767 4670 if (!STORAGE[type][hook]) {
1768 4671 return;
1769 4672 }
4673 +
1770 4674 if (!callback) {
1771 4675 STORAGE[type][hook] = [];
1772 4676 } else {
1773 4677 handlers = STORAGE[type][hook];
4678 +
1774 4679 if (!context) {
1775 4680 for (i = handlers.length; i--;) {
1776 4681 if (handlers[i].callback === callback) {
1777 4682 handlers.splice(i, 1);
@@ -1779,8 +4684,9 @@
1779 4684 }
1780 4685 } else {
1781 4686 for (i = handlers.length; i--;) {
1782 4687 handler = handlers[i];
4688 +
1783 4689 if (handler.callback === callback && handler.context === context) {
1784 4690 handlers.splice(i, 1);
1785 4691 }
1786 4692 }
@@ -1786,49 +4692,55 @@
1786 4692 }
1787 4693 }
1788 4694 }
1789 4695 }
1790 -
1791 4696 /**
1792 4697 * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster
1793 4698 * than bubble sort, etc: http://jsperf.com/javascript-sort
1794 4699 *
1795 - * @param {Array<*>} hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
4700 + * @param hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
1796 4701 * @private
1797 4702 */
4703 +
4704 +
1798 4705 function _hookInsertSort(hooks) {
1799 4706 var tmpHook, j, prevHook;
4707 +
1800 4708 for (var i = 1, len = hooks.length; i < len; i++) {
1801 4709 tmpHook = hooks[i];
1802 4710 j = i;
4711 +
1803 4712 while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) {
1804 4713 hooks[j] = hooks[j - 1];
1805 4714 --j;
1806 4715 }
4716 +
1807 4717 hooks[j] = tmpHook;
1808 4718 }
4719 +
1809 4720 return hooks;
1810 4721 }
1811 -
1812 4722 /**
1813 4723 * Adds the hook to the appropriate storage container
1814 4724 *
1815 - * @param {string} type 'actions' or 'filters'
1816 - * @param {Array<*>} hook The hook (namespace.identifier) to add to our event manager
1817 - * @param {Function} callback The function that will be called when the hook is executed.
1818 - * @param {number} priority The priority of this hook. Must be an integer.
1819 - * @param {*} [context] A value to be used for this
4725 + * @param type 'actions' or 'filters'
4726 + * @param hook The hook (namespace.identifier) to add to our event manager
4727 + * @param callback The function that will be called when the hook is executed.
4728 + * @param priority The priority of this hook. Must be an integer.
4729 + * @param [context] A value to be used for this
1820 4730 * @private
1821 4731 */
4732 +
4733 +
1822 4734 function _addHook(type, hook, callback, priority, context) {
1823 4735 var hookObject = {
1824 - callback,
1825 - priority,
1826 - context
1827 - };
4736 + callback: callback,
4737 + priority: priority,
4738 + context: context
4739 + }; // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
1828 4740
1829 - // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
1830 4741 var hooks = STORAGE[type][hook];
4742 +
1831 4743 if (hooks) {
1832 4744 // TEMP FIX BUG
1833 4745 var hasSameCallback = false;
1834 4746 jQuery.each(hooks, function () {
@@ -1836,37 +4748,43 @@
1836 4748 hasSameCallback = true;
1837 4749 return false;
1838 4750 }
1839 4751 });
4752 +
1840 4753 if (hasSameCallback) {
1841 4754 return;
1842 - }
1843 - // END TEMP FIX BUG
4755 + } // END TEMP FIX BUG
1844 4756
4757 +
1845 4758 hooks.push(hookObject);
1846 4759 hooks = _hookInsertSort(hooks);
1847 4760 } else {
1848 4761 hooks = [hookObject];
1849 4762 }
4763 +
1850 4764 STORAGE[type][hook] = hooks;
1851 4765 }
1852 -
1853 4766 /**
1854 4767 * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is.
1855 4768 *
1856 - * @param {string} type 'actions' or 'filters'
1857 - * @param {*} hook The hook ( namespace.identifier ) to be ran.
1858 - * @param {Array<*>} args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.
4769 + * @param type 'actions' or 'filters'
4770 + * @param hook The hook ( namespace.identifier ) to be ran.
4771 + * @param args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.
1859 4772 * @private
1860 4773 */
4774 +
4775 +
1861 4776 function _runHook(type, hook, args) {
1862 4777 var handlers = STORAGE[type][hook],
1863 - i,
1864 - len;
4778 + i,
4779 + len;
4780 +
1865 4781 if (!handlers) {
1866 4782 return 'filters' === type ? args[0] : false;
1867 4783 }
4784 +
1868 4785 len = handlers.length;
4786 +
1869 4787 if ('filters' === type) {
1870 4788 for (i = 0; i < len; i++) {
1871 4789 args[0] = handlers[i].callback.apply(handlers[i].context, args);
1872 4790 }
@@ -1874,579 +4792,5126 @@
1874 4792 for (i = 0; i < len; i++) {
1875 4793 handlers[i].callback.apply(handlers[i].context, args);
1876 4794 }
1877 4795 }
4796 +
1878 4797 return 'filters' === type ? args[0] : true;
1879 4798 }
1880 -
1881 4799 /**
1882 4800 * Adds an action to the event manager.
1883 4801 *
1884 - * @param {string} action Must contain namespace.identifier
1885 - * @param {Function} callback Must be a valid callback function before this action is added
1886 - * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
1887 - * @param {*} [context] Supply a value to be used for this
4802 + * @param action Must contain namespace.identifier
4803 + * @param callback Must be a valid callback function before this action is added
4804 + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
4805 + * @param [context] Supply a value to be used for this
1888 4806 */
4807 +
4808 +
1889 4809 function addAction(action, callback, priority, context) {
1890 4810 if ('string' === typeof action && 'function' === typeof callback) {
1891 - priority = parseInt(priority || 10, 10);
4811 + priority = (0, _parseInt2.default)(priority || 10, 10);
4812 +
1892 4813 _addHook('actions', action, callback, priority, context);
1893 4814 }
4815 +
1894 4816 return MethodsAvailable;
1895 4817 }
1896 -
1897 4818 /**
1898 4819 * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is
1899 4820 * that the first argument must always be the action.
1900 4821 */
1901 - function doAction(/* Action, arg1, arg2, ... */
1902 - ) {
4822 +
4823 +
4824 + function doAction()
4825 + /* action, arg1, arg2, ... */
4826 + {
1903 4827 var args = slice.call(arguments);
1904 4828 var action = args.shift();
4829 +
1905 4830 if ('string' === typeof action) {
1906 4831 _runHook('actions', action, args);
1907 4832 }
4833 +
1908 4834 return MethodsAvailable;
1909 4835 }
1910 -
1911 4836 /**
1912 4837 * Removes the specified action if it contains a namespace.identifier & exists.
1913 4838 *
1914 - * @param {string} action The action to remove
1915 - * @param {Function} [callback] Callback function to remove
4839 + * @param action The action to remove
4840 + * @param [callback] Callback function to remove
1916 4841 */
4842 +
4843 +
1917 4844 function removeAction(action, callback) {
1918 4845 if ('string' === typeof action) {
1919 4846 _removeHook('actions', action, callback);
1920 4847 }
4848 +
1921 4849 return MethodsAvailable;
1922 4850 }
1923 -
1924 4851 /**
1925 4852 * Adds a filter to the event manager.
1926 4853 *
1927 - * @param {string} filter Must contain namespace.identifier
1928 - * @param {Function} callback Must be a valid callback function before this action is added
1929 - * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
1930 - * @param {*} [context] Supply a value to be used for this
4854 + * @param filter Must contain namespace.identifier
4855 + * @param callback Must be a valid callback function before this action is added
4856 + * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
4857 + * @param [context] Supply a value to be used for this
1931 4858 */
4859 +
4860 +
1932 4861 function addFilter(filter, callback, priority, context) {
1933 4862 if ('string' === typeof filter && 'function' === typeof callback) {
1934 - priority = parseInt(priority || 10, 10);
4863 + priority = (0, _parseInt2.default)(priority || 10, 10);
4864 +
1935 4865 _addHook('filters', filter, callback, priority, context);
1936 4866 }
4867 +
1937 4868 return MethodsAvailable;
1938 4869 }
1939 -
1940 4870 /**
1941 4871 * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that
1942 4872 * the first argument must always be the filter.
1943 4873 */
1944 - function applyFilters(/* Filter, filtered arg, arg2, ... */
1945 - ) {
4874 +
4875 +
4876 + function applyFilters()
4877 + /* filter, filtered arg, arg2, ... */
4878 + {
1946 4879 var args = slice.call(arguments);
1947 4880 var filter = args.shift();
4881 +
1948 4882 if ('string' === typeof filter) {
1949 4883 return _runHook('filters', filter, args);
1950 4884 }
4885 +
1951 4886 return MethodsAvailable;
1952 4887 }
1953 -
1954 4888 /**
1955 4889 * Removes the specified filter if it contains a namespace.identifier & exists.
1956 4890 *
1957 - * @param {string} filter The action to remove
1958 - * @param {Function} [callback] Callback function to remove
4891 + * @param filter The action to remove
4892 + * @param [callback] Callback function to remove
1959 4893 */
4894 +
4895 +
1960 4896 function removeFilter(filter, callback) {
1961 4897 if ('string' === typeof filter) {
1962 4898 _removeHook('filters', filter, callback);
1963 4899 }
4900 +
1964 4901 return MethodsAvailable;
1965 4902 }
1966 -
1967 4903 /**
1968 4904 * Maintain a reference to the object scope so our public methods never get confusing.
1969 4905 */
4906 +
4907 +
1970 4908 MethodsAvailable = {
1971 - removeFilter,
1972 - applyFilters,
1973 - addFilter,
1974 - removeAction,
1975 - doAction,
1976 - addAction
1977 - };
4909 + removeFilter: removeFilter,
4910 + applyFilters: applyFilters,
4911 + addFilter: addFilter,
4912 + removeAction: removeAction,
4913 + doAction: doAction,
4914 + addAction: addAction
4915 + }; // return all of the publicly available methods
1978 4916
1979 - // Return all of the publicly available methods
1980 4917 return MethodsAvailable;
1981 4918 };
4919 +
1982 4920 module.exports = EventManager;
1983 4921
1984 4922 /***/ }),
4923 +/* 388 */,
4924 +/* 389 */,
4925 +/* 390 */,
4926 +/* 391 */,
4927 +/* 392 */,
4928 +/* 393 */,
4929 +/* 394 */,
4930 +/* 395 */,
4931 +/* 396 */,
4932 +/* 397 */,
4933 +/* 398 */,
4934 +/* 399 */,
4935 +/* 400 */,
4936 +/* 401 */,
4937 +/* 402 */,
4938 +/* 403 */,
4939 +/* 404 */,
4940 +/* 405 */,
4941 +/* 406 */,
4942 +/* 407 */,
4943 +/* 408 */,
4944 +/* 409 */,
4945 +/* 410 */,
4946 +/* 411 */,
4947 +/* 412 */,
4948 +/* 413 */,
4949 +/* 414 */,
4950 +/* 415 */,
4951 +/* 416 */,
4952 +/* 417 */,
4953 +/* 418 */,
4954 +/* 419 */,
4955 +/* 420 */,
4956 +/* 421 */,
4957 +/* 422 */,
4958 +/* 423 */,
4959 +/* 424 */,
4960 +/* 425 */,
4961 +/* 426 */,
4962 +/* 427 */,
4963 +/* 428 */,
4964 +/* 429 */,
4965 +/* 430 */,
4966 +/* 431 */,
4967 +/* 432 */,
4968 +/* 433 */,
4969 +/* 434 */,
4970 +/* 435 */,
4971 +/* 436 */,
4972 +/* 437 */,
4973 +/* 438 */,
4974 +/* 439 */,
4975 +/* 440 */,
4976 +/* 441 */,
4977 +/* 442 */,
4978 +/* 443 */,
4979 +/* 444 */,
4980 +/* 445 */,
4981 +/* 446 */,
4982 +/* 447 */,
4983 +/* 448 */,
4984 +/* 449 */,
4985 +/* 450 */,
4986 +/* 451 */,
4987 +/* 452 */,
4988 +/* 453 */,
4989 +/* 454 */,
4990 +/* 455 */,
4991 +/* 456 */,
4992 +/* 457 */,
4993 +/* 458 */,
4994 +/* 459 */,
4995 +/* 460 */,
4996 +/* 461 */,
4997 +/* 462 */,
4998 +/* 463 */,
4999 +/* 464 */,
5000 +/* 465 */,
5001 +/* 466 */,
5002 +/* 467 */,
5003 +/* 468 */,
5004 +/* 469 */,
5005 +/* 470 */,
5006 +/* 471 */,
5007 +/* 472 */,
5008 +/* 473 */,
5009 +/* 474 */,
5010 +/* 475 */,
5011 +/* 476 */,
5012 +/* 477 */,
5013 +/* 478 */,
5014 +/* 479 */,
5015 +/* 480 */,
5016 +/* 481 */,
5017 +/* 482 */,
5018 +/* 483 */,
5019 +/* 484 */,
5020 +/* 485 */,
5021 +/* 486 */,
5022 +/* 487 */,
5023 +/* 488 */,
5024 +/* 489 */,
5025 +/* 490 */,
5026 +/* 491 */,
5027 +/* 492 */,
5028 +/* 493 */,
5029 +/* 494 */,
5030 +/* 495 */,
5031 +/* 496 */,
5032 +/* 497 */,
5033 +/* 498 */,
5034 +/* 499 */,
5035 +/* 500 */,
5036 +/* 501 */,
5037 +/* 502 */,
5038 +/* 503 */,
5039 +/* 504 */,
5040 +/* 505 */,
5041 +/* 506 */,
5042 +/* 507 */,
5043 +/* 508 */,
5044 +/* 509 */,
5045 +/* 510 */,
5046 +/* 511 */,
5047 +/* 512 */,
5048 +/* 513 */,
5049 +/* 514 */,
5050 +/* 515 */,
5051 +/* 516 */,
5052 +/* 517 */,
5053 +/* 518 */,
5054 +/* 519 */,
5055 +/* 520 */,
5056 +/* 521 */,
5057 +/* 522 */,
5058 +/* 523 */,
5059 +/* 524 */,
5060 +/* 525 */,
5061 +/* 526 */,
5062 +/* 527 */,
5063 +/* 528 */,
5064 +/* 529 */,
5065 +/* 530 */,
5066 +/* 531 */,
5067 +/* 532 */,
5068 +/* 533 */,
5069 +/* 534 */,
5070 +/* 535 */,
5071 +/* 536 */,
5072 +/* 537 */,
5073 +/* 538 */,
5074 +/* 539 */,
5075 +/* 540 */,
5076 +/* 541 */,
5077 +/* 542 */,
5078 +/* 543 */,
5079 +/* 544 */,
5080 +/* 545 */,
5081 +/* 546 */,
5082 +/* 547 */,
5083 +/* 548 */,
5084 +/* 549 */,
5085 +/* 550 */,
5086 +/* 551 */,
5087 +/* 552 */,
5088 +/* 553 */,
5089 +/* 554 */,
5090 +/* 555 */,
5091 +/* 556 */,
5092 +/* 557 */,
5093 +/* 558 */,
5094 +/* 559 */,
5095 +/* 560 */,
5096 +/* 561 */,
5097 +/* 562 */,
5098 +/* 563 */,
5099 +/* 564 */,
5100 +/* 565 */,
5101 +/* 566 */,
5102 +/* 567 */,
5103 +/* 568 */,
5104 +/* 569 */,
5105 +/* 570 */,
5106 +/* 571 */,
5107 +/* 572 */,
5108 +/* 573 */,
5109 +/* 574 */,
5110 +/* 575 */,
5111 +/* 576 */,
5112 +/* 577 */,
5113 +/* 578 */,
5114 +/* 579 */,
5115 +/* 580 */,
5116 +/* 581 */,
5117 +/* 582 */,
5118 +/* 583 */,
5119 +/* 584 */,
5120 +/* 585 */,
5121 +/* 586 */,
5122 +/* 587 */,
5123 +/* 588 */,
5124 +/* 589 */,
5125 +/* 590 */,
5126 +/* 591 */,
5127 +/* 592 */,
5128 +/* 593 */,
5129 +/* 594 */,
5130 +/* 595 */,
5131 +/* 596 */,
5132 +/* 597 */,
5133 +/* 598 */,
5134 +/* 599 */,
5135 +/* 600 */,
5136 +/* 601 */,
5137 +/* 602 */,
5138 +/* 603 */,
5139 +/* 604 */,
5140 +/* 605 */,
5141 +/* 606 */,
5142 +/* 607 */,
5143 +/* 608 */,
5144 +/* 609 */,
5145 +/* 610 */,
5146 +/* 611 */,
5147 +/* 612 */,
5148 +/* 613 */,
5149 +/* 614 */,
5150 +/* 615 */,
5151 +/* 616 */,
5152 +/* 617 */,
5153 +/* 618 */,
5154 +/* 619 */,
5155 +/* 620 */,
5156 +/* 621 */,
5157 +/* 622 */,
5158 +/* 623 */,
5159 +/* 624 */,
5160 +/* 625 */,
5161 +/* 626 */
5162 +/***/ (function(module, exports, __webpack_require__) {
1985 5163
1986 -/***/ "../core/common/assets/js/utils/environment.js":
1987 -/*!*****************************************************!*\
1988 - !*** ../core/common/assets/js/utils/environment.js ***!
1989 - \*****************************************************/
1990 -/***/ ((__unused_webpack_module, exports) => {
5164 +"use strict";
1991 5165
1992 5166
5167 +var _interopRequireDefault = __webpack_require__(0);
1993 5168
1994 -Object.defineProperty(exports, "__esModule", ({
5169 +var _Object$defineProperty = __webpack_require__(1);
5170 +
5171 +_Object$defineProperty(exports, "__esModule", {
1995 5172 value: true
1996 -}));
1997 -exports["default"] = void 0;
1998 -const matchUserAgent = UserAgentStr => {
1999 - return userAgent.indexOf(UserAgentStr) >= 0;
2000 - },
2001 - userAgent = navigator.userAgent,
2002 - // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
5173 +});
2003 5174
2004 - // Opera 8.0+
2005 - isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'),
2006 - // Firefox 1.0+
2007 - isFirefox = matchUserAgent('Firefox'),
2008 - // Safari 3.0+ "[object HTMLElementConstructor]"
2009 - isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || (p => {
2010 - return '[object SafariRemoteNotification]' === p.toString();
2011 - })(!window.safari || typeof safari !== 'undefined' && safari.pushNotification),
2012 - // Internet Explorer 6-11
2013 - isIE = /Trident|MSIE/.test(userAgent) && (/* @cc_on!@*/ false || !!document.documentMode),
2014 - // Edge 20+
2015 - isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'),
2016 - // Google Chrome (Not accurate)
2017 - isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera),
2018 - // Blink engine
2019 - isBlink = matchUserAgent('Chrome') && !!window.CSS,
2020 - // Apple Webkit engine
2021 - isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink,
2022 - isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0,
2023 - environment = {
2024 - isTouchDevice,
2025 - appleWebkit: isAppleWebkit,
2026 - blink: isBlink,
2027 - chrome: isChrome,
2028 - edge: isEdge,
2029 - firefox: isFirefox,
2030 - ie: isIE,
2031 - mac: matchUserAgent('Macintosh'),
2032 - opera: isOpera,
2033 - safari: isSafari,
2034 - webkit: matchUserAgent('AppleWebKit')
2035 - };
2036 -var _default = exports["default"] = environment;
5175 +exports.default = void 0;
2037 5176
5177 +var _stringify = _interopRequireDefault(__webpack_require__(206));
5178 +
5179 +var _keys = _interopRequireDefault(__webpack_require__(23));
5180 +
5181 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5182 +
5183 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5184 +
5185 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5186 +
5187 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5188 +
5189 +var _default = /*#__PURE__*/function (_elementorModules$Mod) {
5190 + (0, _inherits2.default)(_default, _elementorModules$Mod);
5191 +
5192 + var _super = (0, _createSuper2.default)(_default);
5193 +
5194 + function _default() {
5195 + (0, _classCallCheck2.default)(this, _default);
5196 + return _super.apply(this, arguments);
5197 + }
5198 +
5199 + (0, _createClass2.default)(_default, [{
5200 + key: "get",
5201 + value: function get(key, options) {
5202 + options = options || {};
5203 + var storage;
5204 +
5205 + try {
5206 + storage = options.session ? sessionStorage : localStorage;
5207 + } catch (e) {
5208 + return key ? undefined : {};
5209 + }
5210 +
5211 + var elementorStorage = storage.getItem('elementor');
5212 +
5213 + if (elementorStorage) {
5214 + elementorStorage = JSON.parse(elementorStorage);
5215 + } else {
5216 + elementorStorage = {};
5217 + }
5218 +
5219 + if (!elementorStorage.__expiration) {
5220 + elementorStorage.__expiration = {};
5221 + }
5222 +
5223 + var expiration = elementorStorage.__expiration;
5224 + var expirationToCheck = [];
5225 +
5226 + if (key) {
5227 + if (expiration[key]) {
5228 + expirationToCheck = [key];
5229 + }
5230 + } else {
5231 + expirationToCheck = (0, _keys.default)(expiration);
5232 + }
5233 +
5234 + var entryExpired = false;
5235 + expirationToCheck.forEach(function (expirationKey) {
5236 + if (new Date(expiration[expirationKey]) < new Date()) {
5237 + delete elementorStorage[expirationKey];
5238 + delete expiration[expirationKey];
5239 + entryExpired = true;
5240 + }
5241 + });
5242 +
5243 + if (entryExpired) {
5244 + this.save(elementorStorage, options.session);
5245 + }
5246 +
5247 + if (key) {
5248 + return elementorStorage[key];
5249 + }
5250 +
5251 + return elementorStorage;
5252 + }
5253 + }, {
5254 + key: "set",
5255 + value: function set(key, value, options) {
5256 + options = options || {};
5257 + var elementorStorage = this.get(null, options);
5258 + elementorStorage[key] = value;
5259 +
5260 + if (options.lifetimeInSeconds) {
5261 + var date = new Date();
5262 + date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
5263 + elementorStorage.__expiration[key] = date.getTime();
5264 + }
5265 +
5266 + this.save(elementorStorage, options.session);
5267 + }
5268 + }, {
5269 + key: "save",
5270 + value: function save(object, session) {
5271 + var storage;
5272 +
5273 + try {
5274 + storage = session ? sessionStorage : localStorage;
5275 + } catch (e) {
5276 + return;
5277 + }
5278 +
5279 + storage.setItem('elementor', (0, _stringify.default)(object));
5280 + }
5281 + }]);
5282 + return _default;
5283 +}(elementorModules.Module);
5284 +
5285 +exports.default = _default;
5286 +
2038 5287 /***/ }),
5288 +/* 627 */,
5289 +/* 628 */,
5290 +/* 629 */,
5291 +/* 630 */,
5292 +/* 631 */,
5293 +/* 632 */,
5294 +/* 633 */,
5295 +/* 634 */,
5296 +/* 635 */,
5297 +/* 636 */,
5298 +/* 637 */,
5299 +/* 638 */,
5300 +/* 639 */,
5301 +/* 640 */,
5302 +/* 641 */,
5303 +/* 642 */,
5304 +/* 643 */,
5305 +/* 644 */,
5306 +/* 645 */,
5307 +/* 646 */,
5308 +/* 647 */,
5309 +/* 648 */,
5310 +/* 649 */,
5311 +/* 650 */,
5312 +/* 651 */,
5313 +/* 652 */,
5314 +/* 653 */,
5315 +/* 654 */,
5316 +/* 655 */,
5317 +/* 656 */,
5318 +/* 657 */
5319 +/***/ (function(module, exports, __webpack_require__) {
2039 5320
2040 -/***/ "../core/common/assets/js/utils/storage.js":
2041 -/*!*************************************************!*\
2042 - !*** ../core/common/assets/js/utils/storage.js ***!
2043 - \*************************************************/
2044 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5321 +"use strict";
2045 5322
2046 5323
5324 +var _interopRequireDefault = __webpack_require__(0);
2047 5325
2048 -Object.defineProperty(exports, "__esModule", ({
5326 +var _Object$defineProperty = __webpack_require__(1);
5327 +
5328 +_Object$defineProperty(exports, "__esModule", {
2049 5329 value: true
2050 -}));
2051 -exports["default"] = void 0;
2052 -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
2053 -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
2054 -class _default extends elementorModules.Module {
2055 - get(key, options) {
2056 - options = options || {};
2057 - let storage;
2058 - try {
2059 - storage = options.session ? sessionStorage : localStorage;
2060 - } catch (e) {
2061 - return key ? undefined : {};
5330 +});
5331 +
5332 +exports.default = void 0;
5333 +
5334 +__webpack_require__(26);
5335 +
5336 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5337 +
5338 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5339 +
5340 +var _get2 = _interopRequireDefault(__webpack_require__(25));
5341 +
5342 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5343 +
5344 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5345 +
5346 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5347 +
5348 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
5349 + (0, _inherits2.default)(_default, _elementorModules$Vie);
5350 +
5351 + var _super = (0, _createSuper2.default)(_default);
5352 +
5353 + function _default() {
5354 + (0, _classCallCheck2.default)(this, _default);
5355 + return _super.apply(this, arguments);
5356 + }
5357 +
5358 + (0, _createClass2.default)(_default, [{
5359 + key: "getDefaultSettings",
5360 + value: function getDefaultSettings() {
5361 + return {
5362 + selectors: {
5363 + elements: '.elementor-element',
5364 + nestedDocumentElements: '.elementor .elementor-element'
5365 + },
5366 + classes: {
5367 + editMode: 'elementor-edit-mode'
5368 + }
5369 + };
2062 5370 }
2063 - let elementorStorage = storage.getItem('elementor');
2064 - if (elementorStorage) {
2065 - elementorStorage = JSON.parse(elementorStorage);
2066 - } else {
2067 - elementorStorage = {};
5371 + }, {
5372 + key: "getDefaultElements",
5373 + value: function getDefaultElements() {
5374 + var selectors = this.getSettings('selectors');
5375 + return {
5376 + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements))
5377 + };
2068 5378 }
2069 - if (!elementorStorage.__expiration) {
2070 - elementorStorage.__expiration = {};
5379 + }, {
5380 + key: "getDocumentSettings",
5381 + value: function getDocumentSettings(setting) {
5382 + var elementSettings;
5383 +
5384 + if (this.isEdit) {
5385 + elementSettings = {};
5386 + var settings = elementor.settings.page.model;
5387 + jQuery.each(settings.getActiveControls(), function (controlKey) {
5388 + elementSettings[controlKey] = settings.attributes[controlKey];
5389 + });
5390 + } else {
5391 + elementSettings = this.$element.data('elementor-settings') || {};
5392 + }
5393 +
5394 + return this.getItems(elementSettings, setting);
2071 5395 }
2072 - const expiration = elementorStorage.__expiration;
2073 - let expirationToCheck = [];
2074 - if (key) {
2075 - if (expiration[key]) {
2076 - expirationToCheck = [key];
5396 + }, {
5397 + key: "runElementsHandlers",
5398 + value: function runElementsHandlers() {
5399 + this.elements.$elements.each(function (index, element) {
5400 + return elementorFrontend.elementsHandler.runReadyTrigger(element);
5401 + });
5402 + }
5403 + }, {
5404 + key: "onInit",
5405 + value: function onInit() {
5406 + var _this = this;
5407 +
5408 + this.$element = this.getSettings('$element');
5409 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
5410 + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode'));
5411 +
5412 + if (this.isEdit) {
5413 + elementor.on('document:loaded', function () {
5414 + elementor.settings.page.model.on('change', _this.onSettingsChange.bind(_this));
5415 + });
5416 + } else {
5417 + this.runElementsHandlers();
2077 5418 }
2078 - } else {
2079 - expirationToCheck = Object.keys(expiration);
2080 5419 }
2081 - let entryExpired = false;
2082 - expirationToCheck.forEach(expirationKey => {
2083 - if (new Date(expiration[expirationKey]) < new Date()) {
2084 - delete elementorStorage[expirationKey];
2085 - delete expiration[expirationKey];
2086 - entryExpired = true;
5420 + }, {
5421 + key: "onSettingsChange",
5422 + value: function onSettingsChange() {}
5423 + }]);
5424 + return _default;
5425 +}(elementorModules.ViewModule);
5426 +
5427 +exports.default = _default;
5428 +
5429 +/***/ }),
5430 +/* 658 */
5431 +/***/ (function(module, exports, __webpack_require__) {
5432 +
5433 +"use strict";
5434 +
5435 +
5436 +var _interopRequireDefault = __webpack_require__(0);
5437 +
5438 +var _Object$defineProperty = __webpack_require__(1);
5439 +
5440 +_Object$defineProperty(exports, "__esModule", {
5441 + value: true
5442 +});
5443 +
5444 +exports.default = void 0;
5445 +
5446 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5447 +
5448 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5449 +
5450 +var _get3 = _interopRequireDefault(__webpack_require__(25));
5451 +
5452 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5453 +
5454 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5455 +
5456 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5457 +
5458 +var baseTabs = /*#__PURE__*/function (_elementorModules$fro) {
5459 + (0, _inherits2.default)(baseTabs, _elementorModules$fro);
5460 +
5461 + var _super = (0, _createSuper2.default)(baseTabs);
5462 +
5463 + function baseTabs() {
5464 + (0, _classCallCheck2.default)(this, baseTabs);
5465 + return _super.apply(this, arguments);
5466 + }
5467 +
5468 + (0, _createClass2.default)(baseTabs, [{
5469 + key: "getDefaultSettings",
5470 + value: function getDefaultSettings() {
5471 + return {
5472 + selectors: {
5473 + tabTitle: '.elementor-tab-title',
5474 + tabContent: '.elementor-tab-content'
5475 + },
5476 + classes: {
5477 + active: 'elementor-active'
5478 + },
5479 + showTabFn: 'show',
5480 + hideTabFn: 'hide',
5481 + toggleSelf: true,
5482 + hidePrevious: true,
5483 + autoExpand: true
5484 + };
5485 + }
5486 + }, {
5487 + key: "getDefaultElements",
5488 + value: function getDefaultElements() {
5489 + var selectors = this.getSettings('selectors');
5490 + return {
5491 + $tabTitles: this.findElement(selectors.tabTitle),
5492 + $tabContents: this.findElement(selectors.tabContent)
5493 + };
5494 + }
5495 + }, {
5496 + key: "activateDefaultTab",
5497 + value: function activateDefaultTab() {
5498 + var settings = this.getSettings();
5499 +
5500 + if (!settings.autoExpand || 'editor' === settings.autoExpand && !this.isEdit) {
5501 + return;
2087 5502 }
2088 - });
2089 - if (entryExpired) {
2090 - this.save(elementorStorage, options.session);
5503 +
5504 + var defaultActiveTab = this.getEditSettings('activeItemIndex') || 1,
5505 + originalToggleMethods = {
5506 + showTabFn: settings.showTabFn,
5507 + hideTabFn: settings.hideTabFn
5508 + }; // Toggle tabs without animation to avoid jumping
5509 +
5510 + this.setSettings({
5511 + showTabFn: 'show',
5512 + hideTabFn: 'hide'
5513 + });
5514 + this.changeActiveTab(defaultActiveTab); // Return back original toggle effects
5515 +
5516 + this.setSettings(originalToggleMethods);
2091 5517 }
2092 - if (key) {
2093 - return elementorStorage[key];
5518 + }, {
5519 + key: "deactivateActiveTab",
5520 + value: function deactivateActiveTab(tabIndex) {
5521 + var settings = this.getSettings(),
5522 + activeClass = settings.classes.active,
5523 + activeFilter = tabIndex ? '[data-tab="' + tabIndex + '"]' : '.' + activeClass,
5524 + $activeTitle = this.elements.$tabTitles.filter(activeFilter),
5525 + $activeContent = this.elements.$tabContents.filter(activeFilter);
5526 + $activeTitle.add($activeContent).removeClass(activeClass);
5527 + $activeContent[settings.hideTabFn]();
2094 5528 }
2095 - return elementorStorage;
5529 + }, {
5530 + key: "activateTab",
5531 + value: function activateTab(tabIndex) {
5532 + var settings = this.getSettings(),
5533 + activeClass = settings.classes.active,
5534 + $requestedTitle = this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]'),
5535 + $requestedContent = this.elements.$tabContents.filter('[data-tab="' + tabIndex + '"]');
5536 + $requestedTitle.add($requestedContent).addClass(activeClass);
5537 + $requestedContent[settings.showTabFn]();
5538 + }
5539 + }, {
5540 + key: "isActiveTab",
5541 + value: function isActiveTab(tabIndex) {
5542 + return this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]').hasClass(this.getSettings('classes.active'));
5543 + }
5544 + }, {
5545 + key: "bindEvents",
5546 + value: function bindEvents() {
5547 + var _this = this;
5548 +
5549 + this.elements.$tabTitles.on({
5550 + keydown: function keydown(event) {
5551 + if ('Enter' === event.key) {
5552 + event.preventDefault();
5553 +
5554 + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab'));
5555 + }
5556 + },
5557 + click: function click(event) {
5558 + event.preventDefault();
5559 +
5560 + _this.changeActiveTab(event.currentTarget.getAttribute('data-tab'));
5561 + }
5562 + });
5563 + }
5564 + }, {
5565 + key: "onInit",
5566 + value: function onInit() {
5567 + var _get2;
5568 +
5569 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5570 + args[_key] = arguments[_key];
5571 + }
5572 +
5573 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(baseTabs.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
5574 +
5575 + this.activateDefaultTab();
5576 + }
5577 + }, {
5578 + key: "onEditSettingsChange",
5579 + value: function onEditSettingsChange(propertyName) {
5580 + if ('activeItemIndex' === propertyName) {
5581 + this.activateDefaultTab();
5582 + }
5583 + }
5584 + }, {
5585 + key: "changeActiveTab",
5586 + value: function changeActiveTab(tabIndex) {
5587 + var isActiveTab = this.isActiveTab(tabIndex),
5588 + settings = this.getSettings();
5589 +
5590 + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) {
5591 + this.deactivateActiveTab();
5592 + }
5593 +
5594 + if (!settings.hidePrevious && isActiveTab) {
5595 + this.deactivateActiveTab(tabIndex);
5596 + }
5597 +
5598 + if (!isActiveTab) {
5599 + this.activateTab(tabIndex);
5600 + }
5601 + }
5602 + }]);
5603 + return baseTabs;
5604 +}(elementorModules.frontend.handlers.Base);
5605 +
5606 +exports.default = baseTabs;
5607 +
5608 +/***/ }),
5609 +/* 659 */,
5610 +/* 660 */,
5611 +/* 661 */,
5612 +/* 662 */,
5613 +/* 663 */,
5614 +/* 664 */,
5615 +/* 665 */,
5616 +/* 666 */,
5617 +/* 667 */,
5618 +/* 668 */,
5619 +/* 669 */,
5620 +/* 670 */,
5621 +/* 671 */,
5622 +/* 672 */,
5623 +/* 673 */,
5624 +/* 674 */,
5625 +/* 675 */,
5626 +/* 676 */,
5627 +/* 677 */,
5628 +/* 678 */,
5629 +/* 679 */,
5630 +/* 680 */,
5631 +/* 681 */,
5632 +/* 682 */,
5633 +/* 683 */,
5634 +/* 684 */,
5635 +/* 685 */,
5636 +/* 686 */,
5637 +/* 687 */,
5638 +/* 688 */,
5639 +/* 689 */,
5640 +/* 690 */,
5641 +/* 691 */,
5642 +/* 692 */,
5643 +/* 693 */,
5644 +/* 694 */,
5645 +/* 695 */,
5646 +/* 696 */,
5647 +/* 697 */
5648 +/***/ (function(module, exports, __webpack_require__) {
5649 +
5650 +"use strict";
5651 +
5652 +
5653 +var _interopRequireDefault = __webpack_require__(0);
5654 +
5655 +var _Object$defineProperty = __webpack_require__(1);
5656 +
5657 +_Object$defineProperty(exports, "__esModule", {
5658 + value: true
5659 +});
5660 +
5661 +exports.default = void 0;
5662 +
5663 +__webpack_require__(119);
5664 +
5665 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5666 +
5667 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5668 +
5669 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5670 +
5671 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5672 +
5673 +var BaseLoader = /*#__PURE__*/function (_elementorModules$Vie) {
5674 + (0, _inherits2.default)(BaseLoader, _elementorModules$Vie);
5675 +
5676 + var _super = (0, _createSuper2.default)(BaseLoader);
5677 +
5678 + function BaseLoader() {
5679 + (0, _classCallCheck2.default)(this, BaseLoader);
5680 + return _super.apply(this, arguments);
2096 5681 }
2097 - set(key, value, options) {
2098 - options = options || {};
2099 - const elementorStorage = this.get(null, options);
2100 - elementorStorage[key] = value;
2101 - if (options.lifetimeInSeconds) {
2102 - const date = new Date();
2103 - date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
2104 - elementorStorage.__expiration[key] = date.getTime();
5682 +
5683 + (0, _createClass2.default)(BaseLoader, [{
5684 + key: "getDefaultSettings",
5685 + value: function getDefaultSettings() {
5686 + return {
5687 + isInserted: false,
5688 + selectors: {
5689 + firstScript: 'script:first'
5690 + }
5691 + };
2105 5692 }
2106 - this.save(elementorStorage, options.session);
5693 + }, {
5694 + key: "getDefaultElements",
5695 + value: function getDefaultElements() {
5696 + return {
5697 + $firstScript: jQuery(this.getSettings('selectors.firstScript'))
5698 + };
5699 + }
5700 + }, {
5701 + key: "insertAPI",
5702 + value: function insertAPI() {
5703 + this.elements.$firstScript.before(jQuery('<script>', {
5704 + src: this.getApiURL()
5705 + }));
5706 + this.setSettings('isInserted', true);
5707 + }
5708 + }, {
5709 + key: "getVideoIDFromURL",
5710 + value: function getVideoIDFromURL(url) {
5711 + var videoIDParts = url.match(this.getURLRegex());
5712 + return videoIDParts && videoIDParts[1];
5713 + }
5714 + }, {
5715 + key: "onApiReady",
5716 + value: function onApiReady(callback) {
5717 + var _this = this;
5718 +
5719 + if (!this.getSettings('isInserted')) {
5720 + this.insertAPI();
5721 + }
5722 +
5723 + if (this.isApiLoaded()) {
5724 + callback(this.getApiObject());
5725 + } else {
5726 + // If not ready check again by timeout..
5727 + setTimeout(function () {
5728 + _this.onApiReady(callback);
5729 + }, 350);
5730 + }
5731 + }
5732 + }]);
5733 + return BaseLoader;
5734 +}(elementorModules.ViewModule);
5735 +
5736 +exports.default = BaseLoader;
5737 +
5738 +/***/ }),
5739 +/* 698 */
5740 +/***/ (function(module, exports, __webpack_require__) {
5741 +
5742 +"use strict";
5743 +
5744 +
5745 +var _interopRequireDefault = __webpack_require__(0);
5746 +
5747 +var _Object$defineProperty = __webpack_require__(1);
5748 +
5749 +_Object$defineProperty(exports, "__esModule", {
5750 + value: true
5751 +});
5752 +
5753 +exports.default = void 0;
5754 +
5755 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
5756 +
5757 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
5758 +
5759 +var _get2 = _interopRequireDefault(__webpack_require__(25));
5760 +
5761 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
5762 +
5763 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
5764 +
5765 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
5766 +
5767 +var BackgroundSlideshow = /*#__PURE__*/function (_elementorModules$fro) {
5768 + (0, _inherits2.default)(BackgroundSlideshow, _elementorModules$fro);
5769 +
5770 + var _super = (0, _createSuper2.default)(BackgroundSlideshow);
5771 +
5772 + function BackgroundSlideshow() {
5773 + (0, _classCallCheck2.default)(this, BackgroundSlideshow);
5774 + return _super.apply(this, arguments);
2107 5775 }
2108 - save(object, session) {
2109 - let storage;
2110 - try {
2111 - storage = session ? sessionStorage : localStorage;
2112 - } catch (e) {
5776 +
5777 + (0, _createClass2.default)(BackgroundSlideshow, [{
5778 + key: "getDefaultSettings",
5779 + value: function getDefaultSettings() {
5780 + return {
5781 + classes: {
5782 + swiperContainer: 'elementor-background-slideshow swiper-container',
5783 + swiperWrapper: 'swiper-wrapper',
5784 + swiperSlide: 'elementor-background-slideshow__slide swiper-slide',
5785 + slideBackground: 'elementor-background-slideshow__slide__image',
5786 + kenBurns: 'elementor-ken-burns',
5787 + kenBurnsActive: 'elementor-ken-burns--active',
5788 + kenBurnsIn: 'elementor-ken-burns--in',
5789 + kenBurnsOut: 'elementor-ken-burns--out'
5790 + }
5791 + };
5792 + }
5793 + }, {
5794 + key: "getSwiperOptions",
5795 + value: function getSwiperOptions() {
5796 + var _this = this;
5797 +
5798 + var elementSettings = this.getElementSettings();
5799 + var swiperOptions = {
5800 + grabCursor: false,
5801 + slidesPerView: 1,
5802 + slidesPerGroup: 1,
5803 + loop: 'yes' === elementSettings.background_slideshow_loop,
5804 + speed: elementSettings.background_slideshow_transition_duration,
5805 + autoplay: {
5806 + delay: elementSettings.background_slideshow_slide_duration,
5807 + stopOnLastSlide: !elementSettings.background_slideshow_loop
5808 + },
5809 + handleElementorBreakpoints: true,
5810 + on: {
5811 + slideChange: function slideChange() {
5812 + if (elementSettings.background_slideshow_ken_burns) {
5813 + _this.handleKenBurns();
5814 + }
5815 + }
5816 + }
5817 + };
5818 +
5819 + if ('yes' === elementSettings.background_slideshow_loop) {
5820 + swiperOptions.loopedSlides = this.getSlidesCount();
5821 + }
5822 +
5823 + switch (elementSettings.background_slideshow_slide_transition) {
5824 + case 'fade':
5825 + swiperOptions.effect = 'fade';
5826 + swiperOptions.fadeEffect = {
5827 + crossFade: true
5828 + };
5829 + break;
5830 +
5831 + case 'slide_down':
5832 + swiperOptions.autoplay.reverseDirection = true;
5833 +
5834 + case 'slide_up':
5835 + swiperOptions.direction = 'vertical';
5836 + break;
5837 + }
5838 +
5839 + return swiperOptions;
5840 + }
5841 + }, {
5842 + key: "buildSwiperElements",
5843 + value: function buildSwiperElements() {
5844 + var _this2 = this;
5845 +
5846 + var classes = this.getSettings('classes'),
5847 + elementSettings = this.getElementSettings(),
5848 + direction = 'slide_left' === elementSettings.background_slideshow_slide_transition ? 'ltr' : 'rtl',
5849 + $container = jQuery('<div>', {
5850 + class: classes.swiperContainer,
5851 + dir: direction
5852 + }),
5853 + $wrapper = jQuery('<div>', {
5854 + class: classes.swiperWrapper
5855 + }),
5856 + kenBurnsActive = elementSettings.background_slideshow_ken_burns;
5857 + var slideInnerClass = classes.slideBackground;
5858 +
5859 + if (kenBurnsActive) {
5860 + slideInnerClass += ' ' + classes.kenBurns;
5861 + var kenBurnsDirection = 'in' === elementSettings.background_slideshow_ken_burns_zoom_direction ? 'kenBurnsIn' : 'kenBurnsOut';
5862 + slideInnerClass += ' ' + classes[kenBurnsDirection];
5863 + }
5864 +
5865 + this.elements.$slides = jQuery();
5866 + elementSettings.background_slideshow_gallery.forEach(function (slide) {
5867 + var $slide = jQuery('<div>', {
5868 + class: classes.swiperSlide
5869 + }),
5870 + $slidebg = jQuery('<div>', {
5871 + class: slideInnerClass,
5872 + style: 'background-image: url("' + slide.url + '");'
5873 + });
5874 + $slide.append($slidebg);
5875 + $wrapper.append($slide);
5876 + _this2.elements.$slides = _this2.elements.$slides.add($slide);
5877 + });
5878 + $container.append($wrapper);
5879 + this.$element.prepend($container);
5880 + this.elements.$backgroundSlideShowContainer = $container;
5881 + }
5882 + }, {
5883 + key: "initSlider",
5884 + value: function initSlider() {
5885 + if (1 >= this.getSlidesCount()) {
5886 + return;
5887 + }
5888 +
5889 + var elementSettings = this.getElementSettings();
5890 + this.swiper = new Swiper(this.elements.$backgroundSlideShowContainer, this.getSwiperOptions()); // Expose the swiper instance in the frontend
5891 +
5892 + this.elements.$backgroundSlideShowContainer.data('swiper', this.swiper);
5893 +
5894 + if (elementSettings.background_slideshow_ken_burns) {
5895 + this.handleKenBurns();
5896 + }
5897 + }
5898 + }, {
5899 + key: "activate",
5900 + value: function activate() {
5901 + this.buildSwiperElements();
5902 + this.initSlider();
5903 + }
5904 + }, {
5905 + key: "deactivate",
5906 + value: function deactivate() {
5907 + if (this.swiper) {
5908 + this.swiper.destroy();
5909 + this.elements.$backgroundSlideShowContainer.remove();
5910 + }
5911 + }
5912 + }, {
5913 + key: "run",
5914 + value: function run() {
5915 + if ('slideshow' === this.getElementSettings('background_background')) {
5916 + this.activate();
5917 + } else {
5918 + this.deactivate();
5919 + }
5920 + }
5921 + }, {
5922 + key: "onInit",
5923 + value: function onInit() {
5924 + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onInit", this).call(this);
5925 +
5926 + if (this.getElementSettings('background_slideshow_gallery')) {
5927 + this.run();
5928 + }
5929 + }
5930 + }, {
5931 + key: "onDestroy",
5932 + value: function onDestroy() {
5933 + (0, _get2.default)((0, _getPrototypeOf2.default)(BackgroundSlideshow.prototype), "onDestroy", this).call(this);
5934 + this.deactivate();
5935 + }
5936 + }, {
5937 + key: "onElementChange",
5938 + value: function onElementChange(propertyName) {
5939 + if ('background_background' === propertyName) {
5940 + this.run();
5941 + }
5942 + }
5943 + }]);
5944 + return BackgroundSlideshow;
5945 +}(elementorModules.frontend.handlers.SwiperBase);
5946 +
5947 +exports.default = BackgroundSlideshow;
5948 +
5949 +/***/ }),
5950 +/* 699 */,
5951 +/* 700 */,
5952 +/* 701 */,
5953 +/* 702 */,
5954 +/* 703 */,
5955 +/* 704 */,
5956 +/* 705 */,
5957 +/* 706 */,
5958 +/* 707 */,
5959 +/* 708 */,
5960 +/* 709 */,
5961 +/* 710 */,
5962 +/* 711 */,
5963 +/* 712 */,
5964 +/* 713 */,
5965 +/* 714 */,
5966 +/* 715 */,
5967 +/* 716 */,
5968 +/* 717 */,
5969 +/* 718 */,
5970 +/* 719 */,
5971 +/* 720 */,
5972 +/* 721 */,
5973 +/* 722 */,
5974 +/* 723 */,
5975 +/* 724 */,
5976 +/* 725 */,
5977 +/* 726 */,
5978 +/* 727 */,
5979 +/* 728 */,
5980 +/* 729 */,
5981 +/* 730 */,
5982 +/* 731 */,
5983 +/* 732 */,
5984 +/* 733 */,
5985 +/* 734 */,
5986 +/* 735 */,
5987 +/* 736 */,
5988 +/* 737 */,
5989 +/* 738 */,
5990 +/* 739 */,
5991 +/* 740 */,
5992 +/* 741 */,
5993 +/* 742 */,
5994 +/* 743 */,
5995 +/* 744 */,
5996 +/* 745 */,
5997 +/* 746 */,
5998 +/* 747 */,
5999 +/* 748 */,
6000 +/* 749 */,
6001 +/* 750 */,
6002 +/* 751 */,
6003 +/* 752 */,
6004 +/* 753 */,
6005 +/* 754 */,
6006 +/* 755 */,
6007 +/* 756 */,
6008 +/* 757 */,
6009 +/* 758 */,
6010 +/* 759 */,
6011 +/* 760 */,
6012 +/* 761 */,
6013 +/* 762 */,
6014 +/* 763 */,
6015 +/* 764 */,
6016 +/* 765 */,
6017 +/* 766 */,
6018 +/* 767 */,
6019 +/* 768 */,
6020 +/* 769 */,
6021 +/* 770 */,
6022 +/* 771 */,
6023 +/* 772 */,
6024 +/* 773 */,
6025 +/* 774 */,
6026 +/* 775 */,
6027 +/* 776 */,
6028 +/* 777 */,
6029 +/* 778 */,
6030 +/* 779 */,
6031 +/* 780 */,
6032 +/* 781 */,
6033 +/* 782 */,
6034 +/* 783 */,
6035 +/* 784 */,
6036 +/* 785 */
6037 +/***/ (function(module, exports, __webpack_require__) {
6038 +
6039 +"use strict";
6040 +
6041 +
6042 +var _interopRequireDefault = __webpack_require__(0);
6043 +
6044 +__webpack_require__(26);
6045 +
6046 +__webpack_require__(58);
6047 +
6048 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6049 +
6050 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6051 +
6052 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6053 +
6054 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6055 +
6056 +var _documentsManager = _interopRequireDefault(__webpack_require__(786));
6057 +
6058 +var _storage = _interopRequireDefault(__webpack_require__(626));
6059 +
6060 +var _environment = _interopRequireDefault(__webpack_require__(272));
6061 +
6062 +var _youtubeLoader = _interopRequireDefault(__webpack_require__(787));
6063 +
6064 +var _vimeoLoader = _interopRequireDefault(__webpack_require__(788));
6065 +
6066 +var _urlActions = _interopRequireDefault(__webpack_require__(789));
6067 +
6068 +var _swiper = _interopRequireDefault(__webpack_require__(790));
6069 +
6070 +/* global elementorFrontendConfig */
6071 +var EventManager = __webpack_require__(387),
6072 + ElementsHandler = __webpack_require__(791),
6073 + AnchorsModule = __webpack_require__(808),
6074 + LightboxModule = __webpack_require__(809);
6075 +
6076 +var Frontend = /*#__PURE__*/function (_elementorModules$Vie) {
6077 + (0, _inherits2.default)(Frontend, _elementorModules$Vie);
6078 +
6079 + var _super = (0, _createSuper2.default)(Frontend);
6080 +
6081 + function Frontend() {
6082 + var _this;
6083 +
6084 + (0, _classCallCheck2.default)(this, Frontend);
6085 +
6086 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6087 + args[_key] = arguments[_key];
6088 + }
6089 +
6090 + _this = _super.call.apply(_super, [this].concat(args));
6091 + _this.config = elementorFrontendConfig;
6092 + return _this;
6093 + } // TODO: BC since 2.5.0
6094 +
6095 +
6096 + (0, _createClass2.default)(Frontend, [{
6097 + key: "getDefaultSettings",
6098 + value: function getDefaultSettings() {
6099 + return {
6100 + selectors: {
6101 + elementor: '.elementor',
6102 + adminBar: '#wpadminbar'
6103 + },
6104 + classes: {
6105 + ie: 'elementor-msie'
6106 + }
6107 + };
6108 + }
6109 + }, {
6110 + key: "getDefaultElements",
6111 + value: function getDefaultElements() {
6112 + var defaultElements = {
6113 + window: window,
6114 + $window: jQuery(window),
6115 + $document: jQuery(document),
6116 + $head: jQuery(document.head),
6117 + $body: jQuery(document.body),
6118 + $deviceMode: jQuery('<span>', {
6119 + id: 'elementor-device-mode',
6120 + class: 'elementor-screen-only'
6121 + })
6122 + };
6123 + defaultElements.$body.append(defaultElements.$deviceMode);
6124 + return defaultElements;
6125 + }
6126 + }, {
6127 + key: "bindEvents",
6128 + value: function bindEvents() {
6129 + var _this2 = this;
6130 +
6131 + this.elements.$window.on('resize', function () {
6132 + return _this2.setDeviceModeData();
6133 + });
6134 + }
6135 + /**
6136 + * @deprecated 2.4.0 Use just `this.elements` instead
6137 + */
6138 +
6139 + }, {
6140 + key: "getElements",
6141 + value: function getElements(elementName) {
6142 + return this.getItems(this.elements, elementName);
6143 + }
6144 + /**
6145 + * @deprecated 2.4.0 This method was never in use
6146 + */
6147 +
6148 + }, {
6149 + key: "getPageSettings",
6150 + value: function getPageSettings(settingName) {
6151 + var settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page;
6152 + return this.getItems(settingsObject, settingName);
6153 + }
6154 + }, {
6155 + key: "getGeneralSettings",
6156 + value: function getGeneralSettings(settingName) {
6157 + if (this.isEditMode()) {
6158 + elementorCommon.helpers.softDeprecated('getGeneralSettings', '3.0.0', 'getKitSettings and remove the `elementor_` prefix');
6159 + }
6160 +
6161 + return this.getKitSettings("elementor_".concat(settingName));
6162 + }
6163 + }, {
6164 + key: "getKitSettings",
6165 + value: function getKitSettings(settingName) {
6166 + // TODO: use Data API.
6167 + return this.getItems(this.config.kit, settingName);
6168 + }
6169 + }, {
6170 + key: "getCurrentDeviceMode",
6171 + value: function getCurrentDeviceMode() {
6172 + return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
6173 + }
6174 + }, {
6175 + key: "getDeviceSetting",
6176 + value: function getDeviceSetting(deviceMode, settings, settingKey) {
6177 + var devices = ['desktop', 'tablet', 'mobile'];
6178 + var deviceIndex = devices.indexOf(deviceMode);
6179 +
6180 + while (deviceIndex > 0) {
6181 + var currentDevice = devices[deviceIndex],
6182 + fullSettingKey = settingKey + '_' + currentDevice,
6183 + deviceValue = settings[fullSettingKey];
6184 +
6185 + if (deviceValue) {
6186 + return deviceValue;
6187 + }
6188 +
6189 + deviceIndex--;
6190 + }
6191 +
6192 + return settings[settingKey];
6193 + }
6194 + }, {
6195 + key: "getCurrentDeviceSetting",
6196 + value: function getCurrentDeviceSetting(settings, settingKey) {
6197 + return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
6198 + }
6199 + }, {
6200 + key: "isEditMode",
6201 + value: function isEditMode() {
6202 + return this.config.environmentMode.edit;
6203 + }
6204 + }, {
6205 + key: "isWPPreviewMode",
6206 + value: function isWPPreviewMode() {
6207 + return this.config.environmentMode.wpPreview;
6208 + }
6209 + }, {
6210 + key: "initDialogsManager",
6211 + value: function initDialogsManager() {
6212 + var dialogsManager;
6213 +
6214 + this.getDialogsManager = function () {
6215 + if (!dialogsManager) {
6216 + dialogsManager = new DialogsManager.Instance();
6217 + }
6218 +
6219 + return dialogsManager;
6220 + };
6221 + }
6222 + }, {
6223 + key: "initOnReadyComponents",
6224 + value: function initOnReadyComponents() {
6225 + var _this3 = this;
6226 +
6227 + this.utils = {
6228 + youtube: new _youtubeLoader.default(),
6229 + vimeo: new _vimeoLoader.default(),
6230 + anchors: new AnchorsModule(),
6231 + lightbox: new LightboxModule(),
6232 + urlActions: new _urlActions.default(),
6233 + swiper: _swiper.default
6234 + }; // TODO: BC since 2.4.0
6235 +
6236 + this.modules = {
6237 + StretchElement: elementorModules.frontend.tools.StretchElement,
6238 + Masonry: elementorModules.utils.Masonry
6239 + };
6240 + this.elementsHandler = new ElementsHandler(jQuery);
6241 +
6242 + if (this.isEditMode()) {
6243 + elementor.once('document:loaded', function () {
6244 + return _this3.onDocumentLoaded();
6245 + });
6246 + } else {
6247 + this.onDocumentLoaded();
6248 + }
6249 + }
6250 + }, {
6251 + key: "initOnReadyElements",
6252 + value: function initOnReadyElements() {
6253 + this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
6254 + }
6255 + }, {
6256 + key: "addIeCompatibility",
6257 + value: function addIeCompatibility() {
6258 + var el = document.createElement('div'),
6259 + supportsGrid = 'string' === typeof el.style.grid;
6260 +
6261 + if (!_environment.default.ie && supportsGrid) {
6262 + return;
6263 + }
6264 +
6265 + this.elements.$body.addClass(this.getSettings('classes.ie'));
6266 + var msieCss = '<link rel="stylesheet" id="elementor-frontend-css-msie" href="' + this.config.urls.assets + 'css/frontend-msie.min.css?' + this.config.version + '" type="text/css" />';
6267 + this.elements.$body.append(msieCss);
6268 + }
6269 + }, {
6270 + key: "setDeviceModeData",
6271 + value: function setDeviceModeData() {
6272 + this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
6273 + }
6274 + }, {
6275 + key: "addListenerOnce",
6276 + value: function addListenerOnce(listenerID, event, callback, to) {
6277 + if (!to) {
6278 + to = this.elements.$window;
6279 + }
6280 +
6281 + if (!this.isEditMode()) {
6282 + to.on(event, callback);
6283 + return;
6284 + }
6285 +
6286 + this.removeListeners(listenerID, event, to);
6287 +
6288 + if (to instanceof jQuery) {
6289 + var eventNS = event + '.' + listenerID;
6290 + to.on(eventNS, callback);
6291 + } else {
6292 + to.on(event, callback, listenerID);
6293 + }
6294 + }
6295 + }, {
6296 + key: "removeListeners",
6297 + value: function removeListeners(listenerID, event, callback, from) {
6298 + if (!from) {
6299 + from = this.elements.$window;
6300 + }
6301 +
6302 + if (from instanceof jQuery) {
6303 + var eventNS = event + '.' + listenerID;
6304 + from.off(eventNS, callback);
6305 + } else {
6306 + from.off(event, callback, listenerID);
6307 + }
6308 + } // Based on underscore function
6309 +
6310 + }, {
6311 + key: "debounce",
6312 + value: function debounce(func, wait) {
6313 + var timeout;
6314 + return function () {
6315 + var context = this,
6316 + args = arguments;
6317 +
6318 + var later = function later() {
6319 + timeout = null;
6320 + func.apply(context, args);
6321 + };
6322 +
6323 + var callNow = !timeout;
6324 + clearTimeout(timeout);
6325 + timeout = setTimeout(later, wait);
6326 +
6327 + if (callNow) {
6328 + func.apply(context, args);
6329 + }
6330 + };
6331 + }
6332 + }, {
6333 + key: "waypoint",
6334 + value: function waypoint($element, callback, options) {
6335 + var defaultOptions = {
6336 + offset: '100%',
6337 + triggerOnce: true
6338 + };
6339 + options = jQuery.extend(defaultOptions, options);
6340 +
6341 + var correctCallback = function correctCallback() {
6342 + var element = this.element || this,
6343 + result = callback.apply(element, arguments); // If is Waypoint new API and is frontend
6344 +
6345 + if (options.triggerOnce && this.destroy) {
6346 + this.destroy();
6347 + }
6348 +
6349 + return result;
6350 + };
6351 +
6352 + return $element.elementorWaypoint(correctCallback, options);
6353 + }
6354 + }, {
6355 + key: "muteMigrationTraces",
6356 + value: function muteMigrationTraces() {
6357 + jQuery.migrateMute = true;
6358 + jQuery.migrateTrace = false;
6359 + }
6360 + }, {
6361 + key: "init",
6362 + value: function init() {
6363 + this.hooks = new EventManager();
6364 + this.storage = new _storage.default();
6365 + this.addIeCompatibility();
6366 + this.setDeviceModeData();
6367 + this.initDialogsManager();
6368 +
6369 + if (this.isEditMode()) {
6370 + this.muteMigrationTraces();
6371 + } // Keep this line before `initOnReadyComponents` call
6372 +
6373 +
6374 + this.elements.$window.trigger('elementor/frontend/init');
6375 + this.initOnReadyElements();
6376 + this.initOnReadyComponents();
6377 + }
6378 + }, {
6379 + key: "onDocumentLoaded",
6380 + value: function onDocumentLoaded() {
6381 + this.documentsManager = new _documentsManager.default();
6382 + this.trigger('components:init');
6383 + }
6384 + }, {
6385 + key: "Module",
6386 + get: function get() {
6387 + if (this.isEditMode()) {
6388 + parent.elementorCommon.helpers.hardDeprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
6389 + }
6390 +
6391 + return elementorModules.frontend.handlers.Base;
6392 + }
6393 + }]);
6394 + return Frontend;
6395 +}(elementorModules.ViewModule);
6396 +
6397 +window.elementorFrontend = new Frontend();
6398 +
6399 +if (!elementorFrontend.isEditMode()) {
6400 + jQuery(function () {
6401 + return elementorFrontend.init();
6402 + });
6403 +}
6404 +
6405 +/***/ }),
6406 +/* 786 */
6407 +/***/ (function(module, exports, __webpack_require__) {
6408 +
6409 +"use strict";
6410 +
6411 +
6412 +var _interopRequireDefault = __webpack_require__(0);
6413 +
6414 +var _Object$defineProperty = __webpack_require__(1);
6415 +
6416 +_Object$defineProperty(exports, "__esModule", {
6417 + value: true
6418 +});
6419 +
6420 +exports.default = void 0;
6421 +
6422 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6423 +
6424 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6425 +
6426 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6427 +
6428 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6429 +
6430 +var _document = _interopRequireDefault(__webpack_require__(657));
6431 +
6432 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6433 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6434 +
6435 + var _super = (0, _createSuper2.default)(_default);
6436 +
6437 + function _default() {
6438 + var _this;
6439 +
6440 + (0, _classCallCheck2.default)(this, _default);
6441 +
6442 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6443 + args[_key] = arguments[_key];
6444 + }
6445 +
6446 + _this = _super.call.apply(_super, [this].concat(args));
6447 + _this.documents = {};
6448 +
6449 + _this.initDocumentClasses();
6450 +
6451 + _this.attachDocumentsClasses();
6452 +
6453 + return _this;
6454 + }
6455 +
6456 + (0, _createClass2.default)(_default, [{
6457 + key: "getDefaultSettings",
6458 + value: function getDefaultSettings() {
6459 + return {
6460 + selectors: {
6461 + document: '.elementor'
6462 + }
6463 + };
6464 + }
6465 + }, {
6466 + key: "getDefaultElements",
6467 + value: function getDefaultElements() {
6468 + var selectors = this.getSettings('selectors');
6469 + return {
6470 + $documents: jQuery(selectors.document)
6471 + };
6472 + }
6473 + }, {
6474 + key: "initDocumentClasses",
6475 + value: function initDocumentClasses() {
6476 + this.documentClasses = {
6477 + base: _document.default
6478 + };
6479 + elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
6480 + }
6481 + }, {
6482 + key: "addDocumentClass",
6483 + value: function addDocumentClass(documentType, documentClass) {
6484 + this.documentClasses[documentType] = documentClass;
6485 + }
6486 + }, {
6487 + key: "attachDocumentsClasses",
6488 + value: function attachDocumentsClasses() {
6489 + var _this2 = this;
6490 +
6491 + this.elements.$documents.each(function (index, document) {
6492 + return _this2.attachDocumentClass(jQuery(document));
6493 + });
6494 + }
6495 + }, {
6496 + key: "attachDocumentClass",
6497 + value: function attachDocumentClass($document) {
6498 + var documentData = $document.data(),
6499 + documentID = documentData.elementorId,
6500 + documentType = documentData.elementorType,
6501 + DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
6502 + this.documents[documentID] = new DocumentClass({
6503 + $element: $document,
6504 + id: documentID
6505 + });
6506 + }
6507 + }]);
6508 + return _default;
6509 +}(elementorModules.ViewModule);
6510 +
6511 +exports.default = _default;
6512 +
6513 +/***/ }),
6514 +/* 787 */
6515 +/***/ (function(module, exports, __webpack_require__) {
6516 +
6517 +"use strict";
6518 +
6519 +
6520 +var _interopRequireDefault = __webpack_require__(0);
6521 +
6522 +var _Object$defineProperty = __webpack_require__(1);
6523 +
6524 +_Object$defineProperty(exports, "__esModule", {
6525 + value: true
6526 +});
6527 +
6528 +exports.default = void 0;
6529 +
6530 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6531 +
6532 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6533 +
6534 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6535 +
6536 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6537 +
6538 +var _baseLoader = _interopRequireDefault(__webpack_require__(697));
6539 +
6540 +var YoutubeLoader = /*#__PURE__*/function (_BaseLoader) {
6541 + (0, _inherits2.default)(YoutubeLoader, _BaseLoader);
6542 +
6543 + var _super = (0, _createSuper2.default)(YoutubeLoader);
6544 +
6545 + function YoutubeLoader() {
6546 + (0, _classCallCheck2.default)(this, YoutubeLoader);
6547 + return _super.apply(this, arguments);
6548 + }
6549 +
6550 + (0, _createClass2.default)(YoutubeLoader, [{
6551 + key: "getApiURL",
6552 + value: function getApiURL() {
6553 + return 'https://www.youtube.com/iframe_api';
6554 + }
6555 + }, {
6556 + key: "getURLRegex",
6557 + value: function getURLRegex() {
6558 + return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/;
6559 + }
6560 + }, {
6561 + key: "isApiLoaded",
6562 + value: function isApiLoaded() {
6563 + return window.YT && YT.loaded;
6564 + }
6565 + }, {
6566 + key: "getApiObject",
6567 + value: function getApiObject() {
6568 + return YT;
6569 + }
6570 + }]);
6571 + return YoutubeLoader;
6572 +}(_baseLoader.default);
6573 +
6574 +exports.default = YoutubeLoader;
6575 +
6576 +/***/ }),
6577 +/* 788 */
6578 +/***/ (function(module, exports, __webpack_require__) {
6579 +
6580 +"use strict";
6581 +
6582 +
6583 +var _interopRequireDefault = __webpack_require__(0);
6584 +
6585 +var _Object$defineProperty = __webpack_require__(1);
6586 +
6587 +_Object$defineProperty(exports, "__esModule", {
6588 + value: true
6589 +});
6590 +
6591 +exports.default = void 0;
6592 +
6593 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6594 +
6595 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6596 +
6597 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6598 +
6599 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6600 +
6601 +var _baseLoader = _interopRequireDefault(__webpack_require__(697));
6602 +
6603 +var VimeoLoader = /*#__PURE__*/function (_BaseLoader) {
6604 + (0, _inherits2.default)(VimeoLoader, _BaseLoader);
6605 +
6606 + var _super = (0, _createSuper2.default)(VimeoLoader);
6607 +
6608 + function VimeoLoader() {
6609 + (0, _classCallCheck2.default)(this, VimeoLoader);
6610 + return _super.apply(this, arguments);
6611 + }
6612 +
6613 + (0, _createClass2.default)(VimeoLoader, [{
6614 + key: "getApiURL",
6615 + value: function getApiURL() {
6616 + return 'https://player.vimeo.com/api/player.js';
6617 + }
6618 + }, {
6619 + key: "getURLRegex",
6620 + value: function getURLRegex() {
6621 + return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
6622 + }
6623 + }, {
6624 + key: "isApiLoaded",
6625 + value: function isApiLoaded() {
6626 + return window.Vimeo;
6627 + }
6628 + }, {
6629 + key: "getApiObject",
6630 + value: function getApiObject() {
6631 + return Vimeo;
6632 + }
6633 + }]);
6634 + return VimeoLoader;
6635 +}(_baseLoader.default);
6636 +
6637 +exports.default = VimeoLoader;
6638 +
6639 +/***/ }),
6640 +/* 789 */
6641 +/***/ (function(module, exports, __webpack_require__) {
6642 +
6643 +"use strict";
6644 +
6645 +
6646 +var _interopRequireDefault = __webpack_require__(0);
6647 +
6648 +var _Object$defineProperty = __webpack_require__(1);
6649 +
6650 +_Object$defineProperty(exports, "__esModule", {
6651 + value: true
6652 +});
6653 +
6654 +exports.default = void 0;
6655 +
6656 +var _stringify = _interopRequireDefault(__webpack_require__(206));
6657 +
6658 +__webpack_require__(119);
6659 +
6660 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6661 +
6662 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6663 +
6664 +var _get2 = _interopRequireDefault(__webpack_require__(25));
6665 +
6666 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
6667 +
6668 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6669 +
6670 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6671 +
6672 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6673 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6674 +
6675 + var _super = (0, _createSuper2.default)(_default);
6676 +
6677 + function _default() {
6678 + (0, _classCallCheck2.default)(this, _default);
6679 + return _super.apply(this, arguments);
6680 + }
6681 +
6682 + (0, _createClass2.default)(_default, [{
6683 + key: "getDefaultSettings",
6684 + value: function getDefaultSettings() {
6685 + return {
6686 + selectors: {
6687 + links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
6688 + }
6689 + };
6690 + }
6691 + }, {
6692 + key: "bindEvents",
6693 + value: function bindEvents() {
6694 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
6695 + }
6696 + }, {
6697 + key: "initActions",
6698 + value: function initActions() {
6699 + this.actions = {
6700 + lightbox: function lightbox(settings) {
6701 + if (settings.id) {
6702 + elementorFrontend.utils.lightbox.openSlideshow(settings.id, settings.url);
6703 + } else {
6704 + elementorFrontend.utils.lightbox.showModal(settings);
6705 + }
6706 + }
6707 + };
6708 + }
6709 + }, {
6710 + key: "addAction",
6711 + value: function addAction(name, callback) {
6712 + this.actions[name] = callback;
6713 + }
6714 + }, {
6715 + key: "runAction",
6716 + value: function runAction(url) {
6717 + url = decodeURIComponent(url);
6718 + var actionMatch = url.match(/action=(.+?)&/),
6719 + settingsMatch = url.match(/settings=(.+)/);
6720 +
6721 + if (!actionMatch) {
6722 + return;
6723 + }
6724 +
6725 + var action = this.actions[actionMatch[1]];
6726 +
6727 + if (!action) {
6728 + return;
6729 + }
6730 +
6731 + var settings = {};
6732 +
6733 + if (settingsMatch) {
6734 + settings = JSON.parse(atob(settingsMatch[1]));
6735 + }
6736 +
6737 + for (var _len = arguments.length, restArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
6738 + restArgs[_key - 1] = arguments[_key];
6739 + }
6740 +
6741 + action.apply(void 0, [settings].concat(restArgs));
6742 + }
6743 + }, {
6744 + key: "runLinkAction",
6745 + value: function runLinkAction(event) {
6746 + event.preventDefault();
6747 + this.runAction(jQuery(event.currentTarget).attr('href'), event);
6748 + }
6749 + }, {
6750 + key: "runHashAction",
6751 + value: function runHashAction() {
6752 + if (location.hash) {
6753 + this.runAction(location.hash);
6754 + }
6755 + }
6756 + }, {
6757 + key: "createActionHash",
6758 + value: function createActionHash(action, settings) {
6759 + // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
6760 + return encodeURIComponent("#elementor-action:action=".concat(action, "&settings=").concat(btoa((0, _stringify.default)(settings))));
6761 + }
6762 + }, {
6763 + key: "onInit",
6764 + value: function onInit() {
6765 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
6766 + this.initActions();
6767 + elementorFrontend.on('components:init', this.runHashAction.bind(this));
6768 + }
6769 + }]);
6770 + return _default;
6771 +}(elementorModules.ViewModule);
6772 +
6773 +exports.default = _default;
6774 +
6775 +/***/ }),
6776 +/* 790 */
6777 +/***/ (function(module, exports, __webpack_require__) {
6778 +
6779 +"use strict";
6780 +
6781 +
6782 +var _interopRequireDefault = __webpack_require__(0);
6783 +
6784 +var _Object$defineProperty = __webpack_require__(1);
6785 +
6786 +_Object$defineProperty(exports, "__esModule", {
6787 + value: true
6788 +});
6789 +
6790 +exports.default = void 0;
6791 +
6792 +__webpack_require__(302);
6793 +
6794 +var _parseInt2 = _interopRequireDefault(__webpack_require__(213));
6795 +
6796 +var _keys = _interopRequireDefault(__webpack_require__(23));
6797 +
6798 +var _values = _interopRequireDefault(__webpack_require__(54));
6799 +
6800 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6801 +
6802 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6803 +
6804 +var originalSwiper = window.Swiper;
6805 +
6806 +var Swiper = /*#__PURE__*/function () {
6807 + function Swiper(container, config) {
6808 + (0, _classCallCheck2.default)(this, Swiper);
6809 + this.config = config;
6810 +
6811 + if (this.config.breakpoints) {
6812 + // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
6813 + this.config = this.adjustConfig(config);
6814 + }
6815 +
6816 + originalSwiper.prototype.adjustConfig = this.adjustConfig;
6817 + return new originalSwiper(container, this.config);
6818 + } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
6819 + // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
6820 +
6821 +
6822 + (0, _createClass2.default)(Swiper, [{
6823 + key: "adjustConfig",
6824 + value: function adjustConfig(config) {
6825 + // Only reverse the breakpoints if the handle param has been defined
6826 + if (!config.handleElementorBreakpoints) {
6827 + return config;
6828 + }
6829 +
6830 + var elementorBreakpoints = elementorFrontend.config.breakpoints,
6831 + elementorBreakpointValues = (0, _values.default)(elementorBreakpoints);
6832 + (0, _keys.default)(config.breakpoints).forEach(function (configBPKey) {
6833 + var configBPKeyInt = (0, _parseInt2.default)(configBPKey);
6834 + var breakpointToUpdate; // The `configBPKeyInt + 1` is a BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
6835 +
6836 + if (configBPKeyInt === elementorBreakpoints.md || configBPKeyInt + 1 === elementorBreakpoints.md) {
6837 + // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
6838 + // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
6839 + breakpointToUpdate = elementorBreakpoints.xs;
6840 + } else {
6841 + // Find the index of the current config breakpoint in the Elementor Breakpoints array
6842 + var currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(function (elementorBP) {
6843 + // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
6844 + return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
6845 + }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
6846 + // according to the array of Elementor's global breakpoints
6847 +
6848 + breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
6849 + }
6850 +
6851 + config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values
6852 +
6853 + config.breakpoints[configBPKey] = {
6854 + slidesPerView: config.slidesPerView,
6855 + slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
6856 + };
6857 + });
6858 + return config;
6859 + }
6860 + }]);
6861 + return Swiper;
6862 +}();
6863 +
6864 +exports.default = Swiper;
6865 +window.Swiper = Swiper;
6866 +
6867 +/***/ }),
6868 +/* 791 */
6869 +/***/ (function(module, exports, __webpack_require__) {
6870 +
6871 +"use strict";
6872 +
6873 +
6874 +var _interopRequireDefault = __webpack_require__(0);
6875 +
6876 +var _accordion = _interopRequireDefault(__webpack_require__(792));
6877 +
6878 +var _alert = _interopRequireDefault(__webpack_require__(793));
6879 +
6880 +var _counter = _interopRequireDefault(__webpack_require__(794));
6881 +
6882 +var _progress = _interopRequireDefault(__webpack_require__(795));
6883 +
6884 +var _tabs = _interopRequireDefault(__webpack_require__(796));
6885 +
6886 +var _toggle = _interopRequireDefault(__webpack_require__(797));
6887 +
6888 +var _video = _interopRequireDefault(__webpack_require__(798));
6889 +
6890 +var _imageCarousel = _interopRequireDefault(__webpack_require__(799));
6891 +
6892 +var _textEditor = _interopRequireDefault(__webpack_require__(800));
6893 +
6894 +var _section = _interopRequireDefault(__webpack_require__(801));
6895 +
6896 +var _column = _interopRequireDefault(__webpack_require__(806));
6897 +
6898 +var _global = _interopRequireDefault(__webpack_require__(807));
6899 +
6900 +module.exports = function ($) {
6901 + var self = this; // element-type.skin-type
6902 +
6903 + var handlers = {
6904 + // Elements
6905 + section: _section.default,
6906 + column: _column.default,
6907 + // Widgets
6908 + 'accordion.default': _accordion.default,
6909 + 'alert.default': _alert.default,
6910 + 'counter.default': _counter.default,
6911 + 'progress.default': _progress.default,
6912 + 'tabs.default': _tabs.default,
6913 + 'toggle.default': _toggle.default,
6914 + 'video.default': _video.default,
6915 + 'image-carousel.default': _imageCarousel.default,
6916 + 'text-editor.default': _textEditor.default
6917 + };
6918 + var handlersInstances = {};
6919 +
6920 + var addGlobalHandlers = function addGlobalHandlers() {
6921 + elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
6922 + };
6923 +
6924 + var addElementsHandlers = function addElementsHandlers() {
6925 + $.each(handlers, function (elementName, funcCallback) {
6926 + elementorFrontend.hooks.addAction('frontend/element_ready/' + elementName, funcCallback);
6927 + });
6928 + };
6929 +
6930 + var init = function init() {
6931 + self.initHandlers();
6932 + };
6933 +
6934 + this.initHandlers = function () {
6935 + addGlobalHandlers();
6936 + addElementsHandlers();
6937 + };
6938 +
6939 + this.addHandler = function (HandlerClass, options) {
6940 + var elementID = options.$element.data('model-cid');
6941 + var handlerID; // If element is in edit mode
6942 +
6943 + if (elementID) {
6944 + handlerID = HandlerClass.prototype.getConstructorID();
6945 +
6946 + if (!handlersInstances[elementID]) {
6947 + handlersInstances[elementID] = {};
6948 + }
6949 +
6950 + var oldHandler = handlersInstances[elementID][handlerID];
6951 +
6952 + if (oldHandler) {
6953 + oldHandler.onDestroy();
6954 + }
6955 + }
6956 +
6957 + var newHandler = new HandlerClass(options);
6958 +
6959 + if (elementID) {
6960 + handlersInstances[elementID][handlerID] = newHandler;
6961 + }
6962 + };
6963 +
6964 + this.getHandlers = function (handlerName) {
6965 + if (handlerName) {
6966 + return handlers[handlerName];
6967 + }
6968 +
6969 + return handlers;
6970 + };
6971 +
6972 + this.runReadyTrigger = function (scope) {
6973 + if (elementorFrontend.config.is_static) {
2113 6974 return;
6975 + } // Initializing the `$scope` as frontend jQuery instance
6976 +
6977 +
6978 + var $scope = jQuery(scope),
6979 + elementType = $scope.attr('data-element_type');
6980 +
6981 + if (!elementType) {
6982 + return;
2114 6983 }
2115 - storage.setItem('elementor', JSON.stringify(object));
6984 +
6985 + elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
6986 + elementorFrontend.hooks.doAction('frontend/element_ready/' + elementType, $scope, $);
6987 +
6988 + if ('widget' === elementType) {
6989 + elementorFrontend.hooks.doAction('frontend/element_ready/' + $scope.attr('data-widget_type'), $scope, $);
6990 + }
6991 + };
6992 +
6993 + init();
6994 +};
6995 +
6996 +/***/ }),
6997 +/* 792 */
6998 +/***/ (function(module, exports, __webpack_require__) {
6999 +
7000 +"use strict";
7001 +
7002 +
7003 +var _interopRequireDefault = __webpack_require__(0);
7004 +
7005 +var _Object$defineProperty = __webpack_require__(1);
7006 +
7007 +_Object$defineProperty(exports, "__esModule", {
7008 + value: true
7009 +});
7010 +
7011 +exports.default = void 0;
7012 +
7013 +var _baseTabs = _interopRequireDefault(__webpack_require__(658));
7014 +
7015 +var _default = function _default($scope) {
7016 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7017 + $element: $scope,
7018 + showTabFn: 'slideDown',
7019 + hideTabFn: 'slideUp'
7020 + });
7021 +};
7022 +
7023 +exports.default = _default;
7024 +
7025 +/***/ }),
7026 +/* 793 */
7027 +/***/ (function(module, exports, __webpack_require__) {
7028 +
7029 +"use strict";
7030 +
7031 +
7032 +var _interopRequireDefault = __webpack_require__(0);
7033 +
7034 +var _Object$defineProperty = __webpack_require__(1);
7035 +
7036 +_Object$defineProperty(exports, "__esModule", {
7037 + value: true
7038 +});
7039 +
7040 +exports.default = void 0;
7041 +
7042 +__webpack_require__(26);
7043 +
7044 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7045 +
7046 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7047 +
7048 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7049 +
7050 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7051 +
7052 +var Alert = /*#__PURE__*/function (_elementorModules$fro) {
7053 + (0, _inherits2.default)(Alert, _elementorModules$fro);
7054 +
7055 + var _super = (0, _createSuper2.default)(Alert);
7056 +
7057 + function Alert() {
7058 + (0, _classCallCheck2.default)(this, Alert);
7059 + return _super.apply(this, arguments);
2116 7060 }
2117 -}
2118 -exports["default"] = _default;
2119 7061
7062 + (0, _createClass2.default)(Alert, [{
7063 + key: "getDefaultSettings",
7064 + value: function getDefaultSettings() {
7065 + return {
7066 + selectors: {
7067 + dismissButton: '.elementor-alert-dismiss'
7068 + }
7069 + };
7070 + }
7071 + }, {
7072 + key: "getDefaultElements",
7073 + value: function getDefaultElements() {
7074 + var selectors = this.getSettings('selectors');
7075 + return {
7076 + $dismissButton: this.$element.find(selectors.dismissButton)
7077 + };
7078 + }
7079 + }, {
7080 + key: "bindEvents",
7081 + value: function bindEvents() {
7082 + this.elements.$dismissButton.on('click', this.onDismissButtonClick.bind(this));
7083 + }
7084 + }, {
7085 + key: "onDismissButtonClick",
7086 + value: function onDismissButtonClick() {
7087 + this.$element.fadeOut();
7088 + }
7089 + }]);
7090 + return Alert;
7091 +}(elementorModules.frontend.handlers.Base);
7092 +
7093 +var _default = function _default($scope) {
7094 + elementorFrontend.elementsHandler.addHandler(Alert, {
7095 + $element: $scope
7096 + });
7097 +};
7098 +
7099 +exports.default = _default;
7100 +
2120 7101 /***/ }),
7102 +/* 794 */
7103 +/***/ (function(module, exports, __webpack_require__) {
2121 7104
2122 -/***/ "../modules/shapes/assets/js/frontend/frontend.js":
2123 -/*!********************************************************!*\
2124 - !*** ../modules/shapes/assets/js/frontend/frontend.js ***!
2125 - \********************************************************/
2126 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7105 +"use strict";
2127 7106
2128 7107
7108 +var _interopRequireDefault = __webpack_require__(0);
2129 7109
2130 -Object.defineProperty(exports, "__esModule", ({
7110 +var _Object$defineProperty = __webpack_require__(1);
7111 +
7112 +_Object$defineProperty(exports, "__esModule", {
2131 7113 value: true
2132 -}));
2133 -exports["default"] = void 0;
2134 -class _default extends elementorModules.Module {
2135 - constructor() {
2136 - super();
2137 - elementorFrontend.elementsHandler.attachHandler('text-path', () => Promise.all(/*! import() | text-path */[__webpack_require__.e("vendors-node_modules_dompurify_dist_purify_cjs_js"), __webpack_require__.e("text-path")]).then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-path */ "../modules/shapes/assets/js/frontend/handlers/text-path.js")));
7114 +});
7115 +
7116 +exports.default = void 0;
7117 +
7118 +__webpack_require__(183);
7119 +
7120 +__webpack_require__(72);
7121 +
7122 +__webpack_require__(119);
7123 +
7124 +__webpack_require__(26);
7125 +
7126 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7127 +
7128 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7129 +
7130 +var _get2 = _interopRequireDefault(__webpack_require__(25));
7131 +
7132 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7133 +
7134 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7135 +
7136 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7137 +
7138 +var Counter = /*#__PURE__*/function (_elementorModules$fro) {
7139 + (0, _inherits2.default)(Counter, _elementorModules$fro);
7140 +
7141 + var _super = (0, _createSuper2.default)(Counter);
7142 +
7143 + function Counter() {
7144 + (0, _classCallCheck2.default)(this, Counter);
7145 + return _super.apply(this, arguments);
2138 7146 }
2139 -}
2140 -exports["default"] = _default;
2141 7147
7148 + (0, _createClass2.default)(Counter, [{
7149 + key: "getDefaultSettings",
7150 + value: function getDefaultSettings() {
7151 + return {
7152 + selectors: {
7153 + counterNumber: '.elementor-counter-number'
7154 + }
7155 + };
7156 + }
7157 + }, {
7158 + key: "getDefaultElements",
7159 + value: function getDefaultElements() {
7160 + var selectors = this.getSettings('selectors');
7161 + return {
7162 + $counterNumber: this.$element.find(selectors.counterNumber)
7163 + };
7164 + }
7165 + }, {
7166 + key: "onInit",
7167 + value: function onInit() {
7168 + var _this = this;
7169 +
7170 + (0, _get2.default)((0, _getPrototypeOf2.default)(Counter.prototype), "onInit", this).call(this);
7171 + elementorFrontend.waypoint(this.elements.$counterNumber, function () {
7172 + var data = _this.elements.$counterNumber.data(),
7173 + decimalDigits = data.toValue.toString().match(/\.(.*)/);
7174 +
7175 + if (decimalDigits) {
7176 + data.rounding = decimalDigits[1].length;
7177 + }
7178 +
7179 + _this.elements.$counterNumber.numerator(data);
7180 + });
7181 + }
7182 + }]);
7183 + return Counter;
7184 +}(elementorModules.frontend.handlers.Base);
7185 +
7186 +var _default = function _default($scope) {
7187 + elementorFrontend.elementsHandler.addHandler(Counter, {
7188 + $element: $scope
7189 + });
7190 +};
7191 +
7192 +exports.default = _default;
7193 +
2142 7194 /***/ }),
7195 +/* 795 */
7196 +/***/ (function(module, exports, __webpack_require__) {
2143 7197
2144 -/***/ "../node_modules/core-js/internals/a-possible-prototype.js":
2145 -/*!*****************************************************************!*\
2146 - !*** ../node_modules/core-js/internals/a-possible-prototype.js ***!
2147 - \*****************************************************************/
2148 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7198 +"use strict";
2149 7199
2150 7200
2151 -var isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ "../node_modules/core-js/internals/is-possible-prototype.js");
7201 +var _interopRequireDefault = __webpack_require__(0);
2152 7202
2153 -var $String = String;
2154 -var $TypeError = TypeError;
7203 +var _Object$defineProperty = __webpack_require__(1);
2155 7204
2156 -module.exports = function (argument) {
2157 - if (isPossiblePrototype(argument)) return argument;
2158 - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
7205 +_Object$defineProperty(exports, "__esModule", {
7206 + value: true
7207 +});
7208 +
7209 +exports.default = void 0;
7210 +
7211 +__webpack_require__(26);
7212 +
7213 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7214 +
7215 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7216 +
7217 +var _get2 = _interopRequireDefault(__webpack_require__(25));
7218 +
7219 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7220 +
7221 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7222 +
7223 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7224 +
7225 +var Progress = /*#__PURE__*/function (_elementorModules$fro) {
7226 + (0, _inherits2.default)(Progress, _elementorModules$fro);
7227 +
7228 + var _super = (0, _createSuper2.default)(Progress);
7229 +
7230 + function Progress() {
7231 + (0, _classCallCheck2.default)(this, Progress);
7232 + return _super.apply(this, arguments);
7233 + }
7234 +
7235 + (0, _createClass2.default)(Progress, [{
7236 + key: "getDefaultSettings",
7237 + value: function getDefaultSettings() {
7238 + return {
7239 + selectors: {
7240 + progressNumber: '.elementor-progress-bar'
7241 + }
7242 + };
7243 + }
7244 + }, {
7245 + key: "getDefaultElements",
7246 + value: function getDefaultElements() {
7247 + var selectors = this.getSettings('selectors');
7248 + return {
7249 + $progressNumber: this.$element.find(selectors.progressNumber)
7250 + };
7251 + }
7252 + }, {
7253 + key: "onInit",
7254 + value: function onInit() {
7255 + var _this = this;
7256 +
7257 + (0, _get2.default)((0, _getPrototypeOf2.default)(Progress.prototype), "onInit", this).call(this);
7258 + elementorFrontend.waypoint(this.elements.$progressNumber, function () {
7259 + var $progressbar = _this.elements.$progressNumber;
7260 + $progressbar.css('width', $progressbar.data('max') + '%');
7261 + });
7262 + }
7263 + }]);
7264 + return Progress;
7265 +}(elementorModules.frontend.handlers.Base);
7266 +
7267 +var _default = function _default($scope) {
7268 + elementorFrontend.elementsHandler.addHandler(Progress, {
7269 + $element: $scope
7270 + });
2159 7271 };
2160 7272
7273 +exports.default = _default;
2161 7274
2162 7275 /***/ }),
7276 +/* 796 */
7277 +/***/ (function(module, exports, __webpack_require__) {
2163 7278
2164 -/***/ "../node_modules/core-js/internals/dom-exception-constants.js":
2165 -/*!********************************************************************!*\
2166 - !*** ../node_modules/core-js/internals/dom-exception-constants.js ***!
2167 - \********************************************************************/
2168 -/***/ ((module) => {
7279 +"use strict";
2169 7280
2170 7281
2171 -module.exports = {
2172 - IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
2173 - DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
2174 - HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
2175 - WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
2176 - InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
2177 - NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
2178 - NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
2179 - NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
2180 - NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
2181 - InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
2182 - InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
2183 - SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
2184 - InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
2185 - NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
2186 - InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
2187 - ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
2188 - TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
2189 - SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
2190 - NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
2191 - AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
2192 - URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
2193 - QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
2194 - TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
2195 - InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
2196 - DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
7282 +var _interopRequireDefault = __webpack_require__(0);
7283 +
7284 +var _Object$defineProperty = __webpack_require__(1);
7285 +
7286 +_Object$defineProperty(exports, "__esModule", {
7287 + value: true
7288 +});
7289 +
7290 +exports.default = void 0;
7291 +
7292 +var _baseTabs = _interopRequireDefault(__webpack_require__(658));
7293 +
7294 +var _default = function _default($scope) {
7295 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7296 + $element: $scope,
7297 + toggleSelf: false
7298 + });
2197 7299 };
2198 7300
7301 +exports.default = _default;
2199 7302
2200 7303 /***/ }),
7304 +/* 797 */
7305 +/***/ (function(module, exports, __webpack_require__) {
2201 7306
2202 -/***/ "../node_modules/core-js/internals/error-stack-clear.js":
2203 -/*!**************************************************************!*\
2204 - !*** ../node_modules/core-js/internals/error-stack-clear.js ***!
2205 - \**************************************************************/
2206 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7307 +"use strict";
2207 7308
2208 7309
2209 -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
7310 +var _interopRequireDefault = __webpack_require__(0);
2210 7311
2211 -var $Error = Error;
2212 -var replace = uncurryThis(''.replace);
7312 +var _Object$defineProperty = __webpack_require__(1);
2213 7313
2214 -var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
2215 -// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
2216 -var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
2217 -var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
7314 +_Object$defineProperty(exports, "__esModule", {
7315 + value: true
7316 +});
2218 7317
2219 -module.exports = function (stack, dropEntries) {
2220 - if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
2221 - while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
2222 - } return stack;
7318 +exports.default = void 0;
7319 +
7320 +var _baseTabs = _interopRequireDefault(__webpack_require__(658));
7321 +
7322 +var _default = function _default($scope) {
7323 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7324 + $element: $scope,
7325 + showTabFn: 'slideDown',
7326 + hideTabFn: 'slideUp',
7327 + hidePrevious: false,
7328 + autoExpand: 'editor'
7329 + });
2223 7330 };
2224 7331
7332 +exports.default = _default;
2225 7333
2226 7334 /***/ }),
7335 +/* 798 */
7336 +/***/ (function(module, exports, __webpack_require__) {
2227 7337
2228 -/***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js":
2229 -/*!***************************************************************************!*\
2230 - !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***!
2231 - \***************************************************************************/
2232 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7338 +"use strict";
2233 7339
2234 7340
2235 -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2236 -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
7341 +var _interopRequireDefault = __webpack_require__(0);
2237 7342
2238 -module.exports = function (object, key, method) {
2239 - try {
2240 - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2241 - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
2242 - } catch (error) { /* empty */ }
7343 +var _Object$defineProperty = __webpack_require__(1);
7344 +
7345 +_Object$defineProperty(exports, "__esModule", {
7346 + value: true
7347 +});
7348 +
7349 +exports.default = void 0;
7350 +
7351 +__webpack_require__(134);
7352 +
7353 +__webpack_require__(155);
7354 +
7355 +__webpack_require__(58);
7356 +
7357 +__webpack_require__(26);
7358 +
7359 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7360 +
7361 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7362 +
7363 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7364 +
7365 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7366 +
7367 +var VideoModule = /*#__PURE__*/function (_elementorModules$fro) {
7368 + (0, _inherits2.default)(VideoModule, _elementorModules$fro);
7369 +
7370 + var _super = (0, _createSuper2.default)(VideoModule);
7371 +
7372 + function VideoModule() {
7373 + (0, _classCallCheck2.default)(this, VideoModule);
7374 + return _super.apply(this, arguments);
7375 + }
7376 +
7377 + (0, _createClass2.default)(VideoModule, [{
7378 + key: "getDefaultSettings",
7379 + value: function getDefaultSettings() {
7380 + return {
7381 + selectors: {
7382 + imageOverlay: '.elementor-custom-embed-image-overlay',
7383 + video: '.elementor-video',
7384 + videoIframe: '.elementor-video-iframe'
7385 + }
7386 + };
7387 + }
7388 + }, {
7389 + key: "getDefaultElements",
7390 + value: function getDefaultElements() {
7391 + var selectors = this.getSettings('selectors');
7392 + return {
7393 + $imageOverlay: this.$element.find(selectors.imageOverlay),
7394 + $video: this.$element.find(selectors.video),
7395 + $videoIframe: this.$element.find(selectors.videoIframe)
7396 + };
7397 + }
7398 + }, {
7399 + key: "getLightBox",
7400 + value: function getLightBox() {
7401 + return elementorFrontend.utils.lightbox;
7402 + }
7403 + }, {
7404 + key: "handleVideo",
7405 + value: function handleVideo() {
7406 + if (!this.getElementSettings('lightbox')) {
7407 + this.elements.$imageOverlay.remove();
7408 + this.playVideo();
7409 + }
7410 + }
7411 + }, {
7412 + key: "playVideo",
7413 + value: function playVideo() {
7414 + if (this.elements.$video.length) {
7415 + this.elements.$video[0].play();
7416 + return;
7417 + }
7418 +
7419 + var $videoIframe = this.elements.$videoIframe,
7420 + lazyLoad = $videoIframe.data('lazy-load');
7421 +
7422 + if (lazyLoad) {
7423 + $videoIframe.attr('src', lazyLoad);
7424 + }
7425 +
7426 + var newSourceUrl = $videoIframe[0].src.replace('&autoplay=0', '');
7427 + $videoIframe[0].src = newSourceUrl + '&autoplay=1';
7428 +
7429 + if ($videoIframe[0].src.includes('vimeo.com')) {
7430 + var videoSrc = $videoIframe[0].src,
7431 + timeMatch = /#t=[^&]*/.exec(videoSrc); // Param '#t=' must be last in the URL
7432 +
7433 + $videoIframe[0].src = videoSrc.slice(0, timeMatch.index) + videoSrc.slice(timeMatch.index + timeMatch[0].length) + timeMatch[0];
7434 + }
7435 + }
7436 + }, {
7437 + key: "animateVideo",
7438 + value: function animateVideo() {
7439 + this.getLightBox().setEntranceAnimation(this.getCurrentDeviceSetting('lightbox_content_animation'));
7440 + }
7441 + }, {
7442 + key: "handleAspectRatio",
7443 + value: function handleAspectRatio() {
7444 + this.getLightBox().setVideoAspectRatio(this.getElementSettings('aspect_ratio'));
7445 + }
7446 + }, {
7447 + key: "bindEvents",
7448 + value: function bindEvents() {
7449 + this.elements.$imageOverlay.on('click', this.handleVideo.bind(this));
7450 + }
7451 + }, {
7452 + key: "onElementChange",
7453 + value: function onElementChange(propertyName) {
7454 + if (0 === propertyName.indexOf('lightbox_content_animation')) {
7455 + this.animateVideo();
7456 + return;
7457 + }
7458 +
7459 + var isLightBoxEnabled = this.getElementSettings('lightbox');
7460 +
7461 + if ('lightbox' === propertyName && !isLightBoxEnabled) {
7462 + this.getLightBox().getModal().hide();
7463 + return;
7464 + }
7465 +
7466 + if ('aspect_ratio' === propertyName && isLightBoxEnabled) {
7467 + this.handleAspectRatio();
7468 + }
7469 + }
7470 + }]);
7471 + return VideoModule;
7472 +}(elementorModules.frontend.handlers.Base);
7473 +
7474 +var _default = function _default($scope) {
7475 + elementorFrontend.elementsHandler.addHandler(VideoModule, {
7476 + $element: $scope
7477 + });
2243 7478 };
2244 7479
7480 +exports.default = _default;
2245 7481
2246 7482 /***/ }),
7483 +/* 799 */
7484 +/***/ (function(module, exports, __webpack_require__) {
2247 7485
2248 -/***/ "../node_modules/core-js/internals/inherit-if-required.js":
2249 -/*!****************************************************************!*\
2250 - !*** ../node_modules/core-js/internals/inherit-if-required.js ***!
2251 - \****************************************************************/
2252 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7486 +"use strict";
2253 7487
2254 7488
2255 -var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2256 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2257 -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js");
7489 +var _interopRequireDefault = __webpack_require__(0);
2258 7490
2259 -// makes subclassing work correct for wrapped built-ins
2260 -module.exports = function ($this, dummy, Wrapper) {
2261 - var NewTarget, NewTargetPrototype;
2262 - if (
2263 - // it can work only with native `setPrototypeOf`
2264 - setPrototypeOf &&
2265 - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
2266 - isCallable(NewTarget = dummy.constructor) &&
2267 - NewTarget !== Wrapper &&
2268 - isObject(NewTargetPrototype = NewTarget.prototype) &&
2269 - NewTargetPrototype !== Wrapper.prototype
2270 - ) setPrototypeOf($this, NewTargetPrototype);
2271 - return $this;
7491 +var _Object$defineProperty = __webpack_require__(1);
7492 +
7493 +_Object$defineProperty(exports, "__esModule", {
7494 + value: true
7495 +});
7496 +
7497 +exports.default = void 0;
7498 +
7499 +__webpack_require__(26);
7500 +
7501 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7502 +
7503 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7504 +
7505 +var _get3 = _interopRequireDefault(__webpack_require__(25));
7506 +
7507 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7508 +
7509 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7510 +
7511 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7512 +
7513 +var ImageCarouselHandler = /*#__PURE__*/function (_elementorModules$fro) {
7514 + (0, _inherits2.default)(ImageCarouselHandler, _elementorModules$fro);
7515 +
7516 + var _super = (0, _createSuper2.default)(ImageCarouselHandler);
7517 +
7518 + function ImageCarouselHandler() {
7519 + (0, _classCallCheck2.default)(this, ImageCarouselHandler);
7520 + return _super.apply(this, arguments);
7521 + }
7522 +
7523 + (0, _createClass2.default)(ImageCarouselHandler, [{
7524 + key: "getDefaultSettings",
7525 + value: function getDefaultSettings() {
7526 + return {
7527 + selectors: {
7528 + carousel: '.elementor-image-carousel-wrapper',
7529 + slideContent: '.swiper-slide'
7530 + }
7531 + };
7532 + }
7533 + }, {
7534 + key: "getDefaultElements",
7535 + value: function getDefaultElements() {
7536 + var selectors = this.getSettings('selectors');
7537 + var elements = {
7538 + $swiperContainer: this.$element.find(selectors.carousel)
7539 + };
7540 + elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
7541 + return elements;
7542 + }
7543 + }, {
7544 + key: "getSwiperSettings",
7545 + value: function getSwiperSettings() {
7546 + var elementSettings = this.getElementSettings(),
7547 + slidesToShow = +elementSettings.slides_to_show || 3,
7548 + isSingleSlide = 1 === slidesToShow,
7549 + defaultLGDevicesSlidesCount = isSingleSlide ? 1 : 2,
7550 + elementorBreakpoints = elementorFrontend.config.breakpoints;
7551 + var swiperOptions = {
7552 + slidesPerView: slidesToShow,
7553 + loop: 'yes' === elementSettings.infinite,
7554 + speed: elementSettings.speed,
7555 + handleElementorBreakpoints: true
7556 + };
7557 + swiperOptions.breakpoints = {};
7558 + swiperOptions.breakpoints[elementorBreakpoints.md] = {
7559 + slidesPerView: +elementSettings.slides_to_show_mobile || 1,
7560 + slidesPerGroup: +elementSettings.slides_to_scroll_mobile || 1
7561 + };
7562 + swiperOptions.breakpoints[elementorBreakpoints.lg] = {
7563 + slidesPerView: +elementSettings.slides_to_show_tablet || defaultLGDevicesSlidesCount,
7564 + slidesPerGroup: +elementSettings.slides_to_scroll_tablet || 1
7565 + };
7566 +
7567 + if (!this.isEdit && 'yes' === elementSettings.autoplay) {
7568 + swiperOptions.autoplay = {
7569 + delay: elementSettings.autoplay_speed,
7570 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7571 + };
7572 + }
7573 +
7574 + if (isSingleSlide) {
7575 + swiperOptions.effect = elementSettings.effect;
7576 +
7577 + if ('fade' === elementSettings.effect) {
7578 + swiperOptions.fadeEffect = {
7579 + crossFade: true
7580 + };
7581 + }
7582 + } else {
7583 + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
7584 + }
7585 +
7586 + if (elementSettings.image_spacing_custom) {
7587 + swiperOptions.spaceBetween = elementSettings.image_spacing_custom.size;
7588 + }
7589 +
7590 + var showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
7591 + showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation;
7592 +
7593 + if (showArrows) {
7594 + swiperOptions.navigation = {
7595 + prevEl: '.elementor-swiper-button-prev',
7596 + nextEl: '.elementor-swiper-button-next'
7597 + };
7598 + }
7599 +
7600 + if (showDots) {
7601 + swiperOptions.pagination = {
7602 + el: '.swiper-pagination',
7603 + type: 'bullets',
7604 + clickable: true
7605 + };
7606 + }
7607 +
7608 + return swiperOptions;
7609 + }
7610 + }, {
7611 + key: "onInit",
7612 + value: function onInit() {
7613 + var _get2;
7614 +
7615 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7616 + args[_key] = arguments[_key];
7617 + }
7618 +
7619 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(ImageCarouselHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7620 +
7621 + var elementSettings = this.getElementSettings();
7622 +
7623 + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
7624 + return;
7625 + }
7626 +
7627 + this.swiper = new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); // Expose the swiper instance in the frontend
7628 +
7629 + this.elements.$swiperContainer.data('swiper', this.swiper);
7630 +
7631 + if ('yes' === elementSettings.pause_on_hover) {
7632 + this.togglePauseOnHover(true);
7633 + }
7634 + }
7635 + }, {
7636 + key: "updateSwiperOption",
7637 + value: function updateSwiperOption(propertyName) {
7638 + var elementSettings = this.getElementSettings(),
7639 + newSettingValue = elementSettings[propertyName],
7640 + changeableProperties = this.getChangeableProperties();
7641 + var propertyToUpdate = changeableProperties[propertyName],
7642 + valueToUpdate = newSettingValue; // Handle special cases where the value to update is not the value that the Swiper library accepts
7643 +
7644 + switch (propertyName) {
7645 + case 'image_spacing_custom':
7646 + valueToUpdate = newSettingValue.size || 0;
7647 + break;
7648 +
7649 + case 'autoplay':
7650 + if (newSettingValue) {
7651 + valueToUpdate = {
7652 + delay: elementSettings.autoplay_speed,
7653 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7654 + };
7655 + } else {
7656 + valueToUpdate = false;
7657 + }
7658 +
7659 + break;
7660 +
7661 + case 'autoplay_speed':
7662 + propertyToUpdate = 'autoplay';
7663 + valueToUpdate = {
7664 + delay: newSettingValue,
7665 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7666 + };
7667 + break;
7668 +
7669 + case 'pause_on_hover':
7670 + this.togglePauseOnHover('yes' === newSettingValue);
7671 + break;
7672 +
7673 + case 'pause_on_interaction':
7674 + valueToUpdate = 'yes' === newSettingValue;
7675 + break;
7676 + } // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library
7677 +
7678 +
7679 + if ('pause_on_hover' !== propertyName) {
7680 + this.swiper.params[propertyToUpdate] = valueToUpdate;
7681 + }
7682 +
7683 + this.swiper.update();
7684 + }
7685 + }, {
7686 + key: "getChangeableProperties",
7687 + value: function getChangeableProperties() {
7688 + return {
7689 + autoplay: 'autoplay',
7690 + pause_on_hover: 'pauseOnHover',
7691 + pause_on_interaction: 'disableOnInteraction',
7692 + autoplay_speed: 'delay',
7693 + speed: 'speed',
7694 + image_spacing_custom: 'spaceBetween'
7695 + };
7696 + }
7697 + }, {
7698 + key: "onElementChange",
7699 + value: function onElementChange(propertyName) {
7700 + var changeableProperties = this.getChangeableProperties();
7701 +
7702 + if (changeableProperties.propertyName) {
7703 + this.updateSwiperOption(propertyName);
7704 + }
7705 + }
7706 + }, {
7707 + key: "onEditSettingsChange",
7708 + value: function onEditSettingsChange(propertyName) {
7709 + if ('activeItemIndex' === propertyName) {
7710 + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
7711 + }
7712 + }
7713 + }]);
7714 + return ImageCarouselHandler;
7715 +}(elementorModules.frontend.handlers.SwiperBase);
7716 +
7717 +var _default = function _default($scope) {
7718 + elementorFrontend.elementsHandler.addHandler(ImageCarouselHandler, {
7719 + $element: $scope
7720 + });
2272 7721 };
2273 7722
7723 +exports.default = _default;
2274 7724
2275 7725 /***/ }),
7726 +/* 800 */
7727 +/***/ (function(module, exports, __webpack_require__) {
2276 7728
2277 -/***/ "../node_modules/core-js/internals/is-possible-prototype.js":
2278 -/*!******************************************************************!*\
2279 - !*** ../node_modules/core-js/internals/is-possible-prototype.js ***!
2280 - \******************************************************************/
2281 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7729 +"use strict";
2282 7730
2283 7731
2284 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
7732 +var _interopRequireDefault = __webpack_require__(0);
2285 7733
2286 -module.exports = function (argument) {
2287 - return isObject(argument) || argument === null;
7734 +var _Object$defineProperty = __webpack_require__(1);
7735 +
7736 +_Object$defineProperty(exports, "__esModule", {
7737 + value: true
7738 +});
7739 +
7740 +exports.default = void 0;
7741 +
7742 +__webpack_require__(119);
7743 +
7744 +__webpack_require__(58);
7745 +
7746 +__webpack_require__(26);
7747 +
7748 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7749 +
7750 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7751 +
7752 +var _get3 = _interopRequireDefault(__webpack_require__(25));
7753 +
7754 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7755 +
7756 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7757 +
7758 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7759 +
7760 +var TextEditor = /*#__PURE__*/function (_elementorModules$fro) {
7761 + (0, _inherits2.default)(TextEditor, _elementorModules$fro);
7762 +
7763 + var _super = (0, _createSuper2.default)(TextEditor);
7764 +
7765 + function TextEditor() {
7766 + (0, _classCallCheck2.default)(this, TextEditor);
7767 + return _super.apply(this, arguments);
7768 + }
7769 +
7770 + (0, _createClass2.default)(TextEditor, [{
7771 + key: "getDefaultSettings",
7772 + value: function getDefaultSettings() {
7773 + return {
7774 + selectors: {
7775 + paragraph: 'p:first'
7776 + },
7777 + classes: {
7778 + dropCap: 'elementor-drop-cap',
7779 + dropCapLetter: 'elementor-drop-cap-letter'
7780 + }
7781 + };
7782 + }
7783 + }, {
7784 + key: "getDefaultElements",
7785 + value: function getDefaultElements() {
7786 + var selectors = this.getSettings('selectors'),
7787 + classes = this.getSettings('classes'),
7788 + $dropCap = jQuery('<span>', {
7789 + class: classes.dropCap
7790 + }),
7791 + $dropCapLetter = jQuery('<span>', {
7792 + class: classes.dropCapLetter
7793 + });
7794 + $dropCap.append($dropCapLetter);
7795 + return {
7796 + $paragraph: this.$element.find(selectors.paragraph),
7797 + $dropCap: $dropCap,
7798 + $dropCapLetter: $dropCapLetter
7799 + };
7800 + }
7801 + }, {
7802 + key: "wrapDropCap",
7803 + value: function wrapDropCap() {
7804 + var isDropCapEnabled = this.getElementSettings('drop_cap');
7805 +
7806 + if (!isDropCapEnabled) {
7807 + // If there is an old drop cap inside the paragraph
7808 + if (this.dropCapLetter) {
7809 + this.elements.$dropCap.remove();
7810 + this.elements.$paragraph.prepend(this.dropCapLetter);
7811 + this.dropCapLetter = '';
7812 + }
7813 +
7814 + return;
7815 + }
7816 +
7817 + var $paragraph = this.elements.$paragraph;
7818 +
7819 + if (!$paragraph.length) {
7820 + return;
7821 + }
7822 +
7823 + var paragraphContent = $paragraph.html().replace(/&nbsp;/g, ' '),
7824 + firstLetterMatch = paragraphContent.match(/^ *([^ ] ?)/);
7825 +
7826 + if (!firstLetterMatch) {
7827 + return;
7828 + }
7829 +
7830 + var firstLetter = firstLetterMatch[1],
7831 + trimmedFirstLetter = firstLetter.trim(); // Don't apply drop cap when the content starting with an HTML tag
7832 +
7833 + if ('<' === trimmedFirstLetter) {
7834 + return;
7835 + }
7836 +
7837 + this.dropCapLetter = firstLetter;
7838 + this.elements.$dropCapLetter.text(trimmedFirstLetter);
7839 + var restoredParagraphContent = paragraphContent.slice(firstLetter.length).replace(/^ */, function (match) {
7840 + return new Array(match.length + 1).join('&nbsp;');
7841 + });
7842 + $paragraph.html(restoredParagraphContent).prepend(this.elements.$dropCap);
7843 + }
7844 + }, {
7845 + key: "onInit",
7846 + value: function onInit() {
7847 + var _get2;
7848 +
7849 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7850 + args[_key] = arguments[_key];
7851 + }
7852 +
7853 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(TextEditor.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7854 +
7855 + this.wrapDropCap();
7856 + }
7857 + }, {
7858 + key: "onElementChange",
7859 + value: function onElementChange(propertyName) {
7860 + if ('drop_cap' === propertyName) {
7861 + this.wrapDropCap();
7862 + }
7863 + }
7864 + }]);
7865 + return TextEditor;
7866 +}(elementorModules.frontend.handlers.Base);
7867 +
7868 +var _default = function _default($scope) {
7869 + elementorFrontend.elementsHandler.addHandler(TextEditor, {
7870 + $element: $scope
7871 + });
2288 7872 };
2289 7873
7874 +exports.default = _default;
2290 7875
2291 7876 /***/ }),
7877 +/* 801 */
7878 +/***/ (function(module, exports, __webpack_require__) {
2292 7879
2293 -/***/ "../node_modules/core-js/internals/normalize-string-argument.js":
2294 -/*!**********************************************************************!*\
2295 - !*** ../node_modules/core-js/internals/normalize-string-argument.js ***!
2296 - \**********************************************************************/
2297 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7880 +"use strict";
2298 7881
2299 7882
2300 -var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
7883 +var _interopRequireDefault = __webpack_require__(0);
2301 7884
2302 -module.exports = function (argument, $default) {
2303 - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
7885 +var _Object$defineProperty = __webpack_require__(1);
7886 +
7887 +_Object$defineProperty(exports, "__esModule", {
7888 + value: true
7889 +});
7890 +
7891 +exports.default = void 0;
7892 +
7893 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(698));
7894 +
7895 +var _backgroundVideo = _interopRequireDefault(__webpack_require__(802));
7896 +
7897 +var _handlesPosition = _interopRequireDefault(__webpack_require__(803));
7898 +
7899 +var _stretchedSection = _interopRequireDefault(__webpack_require__(804));
7900 +
7901 +var _shapes = _interopRequireDefault(__webpack_require__(805));
7902 +
7903 +var _default = function _default($scope) {
7904 + if (elementorFrontend.isEditMode() || $scope.hasClass('elementor-section-stretched')) {
7905 + elementorFrontend.elementsHandler.addHandler(_stretchedSection.default, {
7906 + $element: $scope
7907 + });
7908 + }
7909 +
7910 + if (elementorFrontend.isEditMode()) {
7911 + elementorFrontend.elementsHandler.addHandler(_shapes.default, {
7912 + $element: $scope
7913 + });
7914 + elementorFrontend.elementsHandler.addHandler(_handlesPosition.default, {
7915 + $element: $scope
7916 + });
7917 + }
7918 +
7919 + elementorFrontend.elementsHandler.addHandler(_backgroundVideo.default, {
7920 + $element: $scope
7921 + });
7922 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
7923 + $element: $scope
7924 + });
2304 7925 };
2305 7926
7927 +exports.default = _default;
2306 7928
2307 7929 /***/ }),
7930 +/* 802 */
7931 +/***/ (function(module, exports, __webpack_require__) {
2308 7932
2309 -/***/ "../node_modules/core-js/internals/object-set-prototype-of.js":
2310 -/*!********************************************************************!*\
2311 - !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***!
2312 - \********************************************************************/
2313 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7933 +"use strict";
2314 7934
2315 7935
2316 -/* eslint-disable no-proto -- safe */
2317 -var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js");
2318 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2319 -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
2320 -var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js");
7936 +var _interopRequireDefault = __webpack_require__(0);
2321 7937
2322 -// `Object.setPrototypeOf` method
2323 -// https://tc39.es/ecma262/#sec-object.setprototypeof
2324 -// Works with __proto__ only. Old v8 can't work with null proto objects.
2325 -// eslint-disable-next-line es/no-object-setprototypeof -- safe
2326 -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
2327 - var CORRECT_SETTER = false;
2328 - var test = {};
2329 - var setter;
2330 - try {
2331 - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
2332 - setter(test, []);
2333 - CORRECT_SETTER = test instanceof Array;
2334 - } catch (error) { /* empty */ }
2335 - return function setPrototypeOf(O, proto) {
2336 - requireObjectCoercible(O);
2337 - aPossiblePrototype(proto);
2338 - if (!isObject(O)) return O;
2339 - if (CORRECT_SETTER) setter(O, proto);
2340 - else O.__proto__ = proto;
2341 - return O;
2342 - };
2343 -}() : undefined);
7938 +var _Object$defineProperty = __webpack_require__(1);
2344 7939
7940 +_Object$defineProperty(exports, "__esModule", {
7941 + value: true
7942 +});
2345 7943
7944 +exports.default = void 0;
7945 +
7946 +__webpack_require__(119);
7947 +
7948 +__webpack_require__(80);
7949 +
7950 +__webpack_require__(26);
7951 +
7952 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7953 +
7954 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7955 +
7956 +var _get3 = _interopRequireDefault(__webpack_require__(25));
7957 +
7958 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7959 +
7960 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7961 +
7962 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7963 +
7964 +var BackgroundVideo = /*#__PURE__*/function (_elementorModules$fro) {
7965 + (0, _inherits2.default)(BackgroundVideo, _elementorModules$fro);
7966 +
7967 + var _super = (0, _createSuper2.default)(BackgroundVideo);
7968 +
7969 + function BackgroundVideo() {
7970 + (0, _classCallCheck2.default)(this, BackgroundVideo);
7971 + return _super.apply(this, arguments);
7972 + }
7973 +
7974 + (0, _createClass2.default)(BackgroundVideo, [{
7975 + key: "getDefaultSettings",
7976 + value: function getDefaultSettings() {
7977 + return {
7978 + selectors: {
7979 + backgroundVideoContainer: '.elementor-background-video-container',
7980 + backgroundVideoEmbed: '.elementor-background-video-embed',
7981 + backgroundVideoHosted: '.elementor-background-video-hosted'
7982 + }
7983 + };
7984 + }
7985 + }, {
7986 + key: "getDefaultElements",
7987 + value: function getDefaultElements() {
7988 + var selectors = this.getSettings('selectors'),
7989 + elements = {
7990 + $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer)
7991 + };
7992 + elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed);
7993 + elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted);
7994 + return elements;
7995 + }
7996 + }, {
7997 + key: "calcVideosSize",
7998 + value: function calcVideosSize($video) {
7999 + var aspectRatioSetting = '16:9';
8000 +
8001 + if ('vimeo' === this.videoType) {
8002 + aspectRatioSetting = $video[0].width + ':' + $video[0].height;
8003 + }
8004 +
8005 + var containerWidth = this.elements.$backgroundVideoContainer.outerWidth(),
8006 + containerHeight = this.elements.$backgroundVideoContainer.outerHeight(),
8007 + aspectRatioArray = aspectRatioSetting.split(':'),
8008 + aspectRatio = aspectRatioArray[0] / aspectRatioArray[1],
8009 + ratioWidth = containerWidth / aspectRatio,
8010 + ratioHeight = containerHeight * aspectRatio,
8011 + isWidthFixed = containerWidth / containerHeight > aspectRatio;
8012 + return {
8013 + width: isWidthFixed ? containerWidth : ratioHeight,
8014 + height: isWidthFixed ? ratioWidth : containerHeight
8015 + };
8016 + }
8017 + }, {
8018 + key: "changeVideoSize",
8019 + value: function changeVideoSize() {
8020 + if (!('hosted' === this.videoType) && !this.player) {
8021 + return;
8022 + }
8023 +
8024 + var $video;
8025 +
8026 + if ('youtube' === this.videoType) {
8027 + $video = jQuery(this.player.getIframe());
8028 + } else if ('vimeo' === this.videoType) {
8029 + $video = jQuery(this.player.element);
8030 + } else if ('hosted' === this.videoType) {
8031 + $video = this.elements.$backgroundVideoHosted;
8032 + }
8033 +
8034 + if (!$video) {
8035 + return;
8036 + }
8037 +
8038 + var size = this.calcVideosSize($video);
8039 + $video.width(size.width).height(size.height);
8040 + }
8041 + }, {
8042 + key: "startVideoLoop",
8043 + value: function startVideoLoop(firstTime) {
8044 + var _this = this;
8045 +
8046 + // If the section has been removed
8047 + if (!this.player.getIframe().contentWindow) {
8048 + return;
8049 + }
8050 +
8051 + var elementSettings = this.getElementSettings(),
8052 + startPoint = elementSettings.background_video_start || 0,
8053 + endPoint = elementSettings.background_video_end;
8054 +
8055 + if (elementSettings.background_play_once && !firstTime) {
8056 + this.player.stopVideo();
8057 + return;
8058 + }
8059 +
8060 + this.player.seekTo(startPoint);
8061 +
8062 + if (endPoint) {
8063 + var durationToEnd = endPoint - startPoint + 1;
8064 + setTimeout(function () {
8065 + _this.startVideoLoop(false);
8066 + }, durationToEnd * 1000);
8067 + }
8068 + }
8069 + }, {
8070 + key: "prepareVimeoVideo",
8071 + value: function prepareVimeoVideo(Vimeo, videoId) {
8072 + var _this2 = this;
8073 +
8074 + var elementSettings = this.getElementSettings(),
8075 + startTime = elementSettings.background_video_start ? elementSettings.background_video_start : 0,
8076 + videoSize = this.elements.$backgroundVideoContainer.outerWidth(),
8077 + vimeoOptions = {
8078 + id: videoId,
8079 + width: videoSize.width,
8080 + autoplay: true,
8081 + loop: !elementSettings.background_play_once,
8082 + transparent: false,
8083 + background: true,
8084 + muted: true
8085 + };
8086 + this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times
8087 +
8088 + this.handleVimeoStartEndTimes(elementSettings);
8089 + this.player.ready().then(function () {
8090 + jQuery(_this2.player.element).addClass('elementor-background-video-embed');
8091 +
8092 + _this2.changeVideoSize();
8093 + });
8094 + }
8095 + }, {
8096 + key: "handleVimeoStartEndTimes",
8097 + value: function handleVimeoStartEndTimes(elementSettings) {
8098 + var _this3 = this;
8099 +
8100 + // If a start time is defined, set the start time
8101 + if (elementSettings.background_video_start) {
8102 + this.player.on('play', function (data) {
8103 + if (0 === data.seconds) {
8104 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8105 + }
8106 + });
8107 + }
8108 +
8109 + this.player.on('timeupdate', function (data) {
8110 + // If an end time is defined, handle ending the video
8111 + if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) {
8112 + if (elementSettings.background_play_once) {
8113 + // Stop at user-defined end time if not loop
8114 + _this3.player.pause();
8115 + } else {
8116 + // Go to start time if loop
8117 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8118 + }
8119 + } // If start time is defined but an end time is not, go to user-defined start time at video end.
8120 + // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we
8121 + // get the video duration (returns a promise) then use duration-0.5s as end time
8122 +
8123 +
8124 + _this3.player.getDuration().then(function (duration) {
8125 + if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) {
8126 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8127 + }
8128 + });
8129 + });
8130 + }
8131 + }, {
8132 + key: "prepareYTVideo",
8133 + value: function prepareYTVideo(YT, videoID) {
8134 + var _this4 = this;
8135 +
8136 + var $backgroundVideoContainer = this.elements.$backgroundVideoContainer,
8137 + elementSettings = this.getElementSettings();
8138 + var startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
8139 +
8140 + if (window.chrome) {
8141 + startStateCode = YT.PlayerState.UNSTARTED;
8142 + }
8143 +
8144 + $backgroundVideoContainer.addClass('elementor-loading elementor-invisible');
8145 + this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], {
8146 + videoId: videoID,
8147 + events: {
8148 + onReady: function onReady() {
8149 + _this4.player.mute();
8150 +
8151 + _this4.changeVideoSize();
8152 +
8153 + _this4.startVideoLoop(true);
8154 +
8155 + _this4.player.playVideo();
8156 + },
8157 + onStateChange: function onStateChange(event) {
8158 + switch (event.data) {
8159 + case startStateCode:
8160 + $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading');
8161 + break;
8162 +
8163 + case YT.PlayerState.ENDED:
8164 + _this4.player.seekTo(elementSettings.background_video_start || 0);
8165 +
8166 + if (elementSettings.background_play_once) {
8167 + _this4.player.destroy();
8168 + }
8169 +
8170 + }
8171 + }
8172 + },
8173 + playerVars: {
8174 + controls: 0,
8175 + rel: 0,
8176 + playsinline: 1
8177 + }
8178 + });
8179 + }
8180 + }, {
8181 + key: "activate",
8182 + value: function activate() {
8183 + var _this5 = this;
8184 +
8185 + var videoLink = this.getElementSettings('background_video_link'),
8186 + videoID;
8187 + var playOnce = this.getElementSettings('background_play_once');
8188 +
8189 + if (-1 !== videoLink.indexOf('vimeo.com')) {
8190 + this.videoType = 'vimeo';
8191 + this.apiProvider = elementorFrontend.utils.vimeo;
8192 + } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
8193 + this.videoType = 'youtube';
8194 + this.apiProvider = elementorFrontend.utils.youtube;
8195 + }
8196 +
8197 + if (this.apiProvider) {
8198 + videoID = this.apiProvider.getVideoIDFromURL(videoLink);
8199 + this.apiProvider.onApiReady(function (apiObject) {
8200 + if ('youtube' === _this5.videoType) {
8201 + _this5.prepareYTVideo(apiObject, videoID);
8202 + }
8203 +
8204 + if ('vimeo' === _this5.videoType) {
8205 + _this5.prepareVimeoVideo(apiObject, videoID);
8206 + }
8207 + });
8208 + } else {
8209 + this.videoType = 'hosted';
8210 + var startTime = this.getElementSettings('background_video_start'),
8211 + endTime = this.getElementSettings('background_video_end');
8212 +
8213 + if (startTime || endTime) {
8214 + videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : '');
8215 + }
8216 +
8217 + this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this));
8218 +
8219 + if (playOnce) {
8220 + this.elements.$backgroundVideoHosted.on('ended', function () {
8221 + _this5.elements.$backgroundVideoHosted.hide();
8222 + });
8223 + }
8224 + }
8225 +
8226 + elementorFrontend.elements.$window.on('resize', this.changeVideoSize);
8227 + }
8228 + }, {
8229 + key: "deactivate",
8230 + value: function deactivate() {
8231 + if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) {
8232 + this.player.destroy();
8233 + } else {
8234 + this.elements.$backgroundVideoHosted.removeAttr('src').off('ended');
8235 + }
8236 +
8237 + elementorFrontend.elements.$window.off('resize', this.changeVideoSize);
8238 + }
8239 + }, {
8240 + key: "run",
8241 + value: function run() {
8242 + var elementSettings = this.getElementSettings();
8243 +
8244 + if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) {
8245 + return;
8246 + }
8247 +
8248 + if ('video' === elementSettings.background_background && elementSettings.background_video_link) {
8249 + this.activate();
8250 + } else {
8251 + this.deactivate();
8252 + }
8253 + }
8254 + }, {
8255 + key: "onInit",
8256 + value: function onInit() {
8257 + var _get2;
8258 +
8259 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8260 + args[_key] = arguments[_key];
8261 + }
8262 +
8263 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(BackgroundVideo.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8264 +
8265 + this.changeVideoSize = this.changeVideoSize.bind(this);
8266 + this.run();
8267 + }
8268 + }, {
8269 + key: "onElementChange",
8270 + value: function onElementChange(propertyName) {
8271 + if ('background_background' === propertyName) {
8272 + this.run();
8273 + }
8274 + }
8275 + }]);
8276 + return BackgroundVideo;
8277 +}(elementorModules.frontend.handlers.Base);
8278 +
8279 +exports.default = BackgroundVideo;
8280 +
2346 8281 /***/ }),
8282 +/* 803 */
8283 +/***/ (function(module, exports, __webpack_require__) {
2347 8284
2348 -/***/ "../node_modules/core-js/internals/to-string.js":
2349 -/*!******************************************************!*\
2350 - !*** ../node_modules/core-js/internals/to-string.js ***!
2351 - \******************************************************/
2352 -/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8285 +"use strict";
2353 8286
2354 8287
2355 -var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
8288 +var _interopRequireDefault = __webpack_require__(0);
2356 8289
2357 -var $String = String;
8290 +var _Object$defineProperty = __webpack_require__(1);
2358 8291
2359 -module.exports = function (argument) {
2360 - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
2361 - return $String(argument);
8292 +_Object$defineProperty(exports, "__esModule", {
8293 + value: true
8294 +});
8295 +
8296 +exports.default = void 0;
8297 +
8298 +__webpack_require__(26);
8299 +
8300 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8301 +
8302 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8303 +
8304 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8305 +
8306 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8307 +
8308 +var HandlesPosition = /*#__PURE__*/function (_elementorModules$fro) {
8309 + (0, _inherits2.default)(HandlesPosition, _elementorModules$fro);
8310 +
8311 + var _super = (0, _createSuper2.default)(HandlesPosition);
8312 +
8313 + function HandlesPosition() {
8314 + (0, _classCallCheck2.default)(this, HandlesPosition);
8315 + return _super.apply(this, arguments);
8316 + }
8317 +
8318 + (0, _createClass2.default)(HandlesPosition, [{
8319 + key: "isFirstSection",
8320 + value: function isFirstSection() {
8321 + return this.$element.is('.elementor-edit-mode .elementor-top-section:first');
8322 + }
8323 + }, {
8324 + key: "isOverflowHidden",
8325 + value: function isOverflowHidden() {
8326 + return 'hidden' === this.$element.css('overflow');
8327 + }
8328 + }, {
8329 + key: "getOffset",
8330 + value: function getOffset() {
8331 + if ('body' === elementor.config.document.container) {
8332 + return this.$element.offset().top;
8333 + }
8334 +
8335 + var $container = jQuery(elementor.config.document.container);
8336 + return this.$element.offset().top - $container.offset().top;
8337 + }
8338 + }, {
8339 + key: "setHandlesPosition",
8340 + value: function setHandlesPosition() {
8341 + var document = elementor.documents.getCurrent();
8342 +
8343 + if (!document || !document.container.isEditable()) {
8344 + return;
8345 + }
8346 +
8347 + var isOverflowHidden = this.isOverflowHidden();
8348 +
8349 + if (!isOverflowHidden && !this.isFirstSection()) {
8350 + return;
8351 + }
8352 +
8353 + var offset = isOverflowHidden ? 0 : this.getOffset(),
8354 + $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'),
8355 + insideHandleClass = 'elementor-section--handles-inside';
8356 +
8357 + if (offset < 25) {
8358 + this.$element.addClass(insideHandleClass);
8359 +
8360 + if (offset < -5) {
8361 + $handlesElement.css('top', -offset);
8362 + } else {
8363 + $handlesElement.css('top', '');
8364 + }
8365 + } else {
8366 + this.$element.removeClass(insideHandleClass);
8367 + }
8368 + }
8369 + }, {
8370 + key: "onInit",
8371 + value: function onInit() {
8372 + this.setHandlesPosition();
8373 + this.$element.on('mouseenter', this.setHandlesPosition.bind(this));
8374 + }
8375 + }]);
8376 + return HandlesPosition;
8377 +}(elementorModules.frontend.handlers.Base);
8378 +
8379 +exports.default = HandlesPosition;
8380 +
8381 +/***/ }),
8382 +/* 804 */
8383 +/***/ (function(module, exports, __webpack_require__) {
8384 +
8385 +"use strict";
8386 +
8387 +
8388 +var _interopRequireDefault = __webpack_require__(0);
8389 +
8390 +var _Object$defineProperty = __webpack_require__(1);
8391 +
8392 +_Object$defineProperty(exports, "__esModule", {
8393 + value: true
8394 +});
8395 +
8396 +exports.default = void 0;
8397 +
8398 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8399 +
8400 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8401 +
8402 +var _get3 = _interopRequireDefault(__webpack_require__(25));
8403 +
8404 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8405 +
8406 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8407 +
8408 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8409 +
8410 +var StretchedSection = /*#__PURE__*/function (_elementorModules$fro) {
8411 + (0, _inherits2.default)(StretchedSection, _elementorModules$fro);
8412 +
8413 + var _super = (0, _createSuper2.default)(StretchedSection);
8414 +
8415 + function StretchedSection() {
8416 + (0, _classCallCheck2.default)(this, StretchedSection);
8417 + return _super.apply(this, arguments);
8418 + }
8419 +
8420 + (0, _createClass2.default)(StretchedSection, [{
8421 + key: "bindEvents",
8422 + value: function bindEvents() {
8423 + var handlerID = this.getUniqueHandlerID();
8424 + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
8425 + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
8426 + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
8427 +
8428 + if (elementorFrontend.isEditMode()) {
8429 + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
8430 + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8431 + }
8432 + }
8433 + }, {
8434 + key: "unbindEvents",
8435 + value: function unbindEvents() {
8436 + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
8437 +
8438 + if (elementorFrontend.isEditMode()) {
8439 + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8440 + }
8441 + }
8442 + }, {
8443 + key: "initStretch",
8444 + value: function initStretch() {
8445 + this.stretch = this.stretch.bind(this);
8446 + this.stretchElement = new elementorModules.frontend.tools.StretchElement({
8447 + element: this.$element,
8448 + selectors: {
8449 + container: this.getStretchContainer()
8450 + }
8451 + });
8452 + }
8453 + }, {
8454 + key: "getStretchContainer",
8455 + value: function getStretchContainer() {
8456 + return elementorFrontend.getKitSettings('stretched_section_container') || window;
8457 + }
8458 + }, {
8459 + key: "stretch",
8460 + value: function stretch() {
8461 + if (!this.getElementSettings('stretch_section')) {
8462 + return;
8463 + }
8464 +
8465 + this.stretchElement.stretch();
8466 + }
8467 + }, {
8468 + key: "onInit",
8469 + value: function onInit() {
8470 + var _get2;
8471 +
8472 + this.initStretch();
8473 +
8474 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8475 + args[_key] = arguments[_key];
8476 + }
8477 +
8478 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(StretchedSection.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8479 +
8480 + this.stretch();
8481 + }
8482 + }, {
8483 + key: "onElementChange",
8484 + value: function onElementChange(propertyName) {
8485 + if ('stretch_section' === propertyName) {
8486 + if (this.getElementSettings('stretch_section')) {
8487 + this.stretch();
8488 + } else {
8489 + this.stretchElement.reset();
8490 + }
8491 + }
8492 + }
8493 + }, {
8494 + key: "onKitChangeStretchContainerChange",
8495 + value: function onKitChangeStretchContainerChange() {
8496 + this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
8497 + this.stretch();
8498 + }
8499 + }]);
8500 + return StretchedSection;
8501 +}(elementorModules.frontend.handlers.Base);
8502 +
8503 +exports.default = StretchedSection;
8504 +
8505 +/***/ }),
8506 +/* 805 */
8507 +/***/ (function(module, exports, __webpack_require__) {
8508 +
8509 +"use strict";
8510 +
8511 +
8512 +var _interopRequireDefault = __webpack_require__(0);
8513 +
8514 +var _Object$defineProperty = __webpack_require__(1);
8515 +
8516 +_Object$defineProperty(exports, "__esModule", {
8517 + value: true
8518 +});
8519 +
8520 +exports.default = void 0;
8521 +
8522 +__webpack_require__(119);
8523 +
8524 +__webpack_require__(58);
8525 +
8526 +__webpack_require__(26);
8527 +
8528 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8529 +
8530 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8531 +
8532 +var _get3 = _interopRequireDefault(__webpack_require__(25));
8533 +
8534 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8535 +
8536 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8537 +
8538 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8539 +
8540 +var Shapes = /*#__PURE__*/function (_elementorModules$fro) {
8541 + (0, _inherits2.default)(Shapes, _elementorModules$fro);
8542 +
8543 + var _super = (0, _createSuper2.default)(Shapes);
8544 +
8545 + function Shapes() {
8546 + (0, _classCallCheck2.default)(this, Shapes);
8547 + return _super.apply(this, arguments);
8548 + }
8549 +
8550 + (0, _createClass2.default)(Shapes, [{
8551 + key: "getDefaultSettings",
8552 + value: function getDefaultSettings() {
8553 + return {
8554 + selectors: {
8555 + container: '> .elementor-shape-%s'
8556 + },
8557 + svgURL: elementorFrontend.config.urls.assets + 'shapes/'
8558 + };
8559 + }
8560 + }, {
8561 + key: "getDefaultElements",
8562 + value: function getDefaultElements() {
8563 + var elements = {},
8564 + selectors = this.getSettings('selectors');
8565 + elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top'));
8566 + elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom'));
8567 + return elements;
8568 + }
8569 + }, {
8570 + key: "getSvgURL",
8571 + value: function getSvgURL(shapeType, fileName) {
8572 + var svgURL = this.getSettings('svgURL') + fileName + '.svg';
8573 +
8574 + if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) {
8575 + svgURL = elementor.config.additional_shapes[shapeType];
8576 +
8577 + if (-1 < fileName.indexOf('-negative')) {
8578 + svgURL = svgURL.replace('.svg', '-negative.svg');
8579 + }
8580 + }
8581 +
8582 + return svgURL;
8583 + }
8584 + }, {
8585 + key: "buildSVG",
8586 + value: function buildSVG(side) {
8587 + var baseSettingKey = 'shape_divider_' + side,
8588 + shapeType = this.getElementSettings(baseSettingKey),
8589 + $svgContainer = this.elements['$' + side + 'Container'];
8590 + $svgContainer.attr('data-shape', shapeType);
8591 +
8592 + if (!shapeType) {
8593 + $svgContainer.empty(); // Shape-divider set to 'none'
8594 +
8595 + return;
8596 + }
8597 +
8598 + var fileName = shapeType;
8599 +
8600 + if (this.getElementSettings(baseSettingKey + '_negative')) {
8601 + fileName += '-negative';
8602 + }
8603 +
8604 + var svgURL = this.getSvgURL(shapeType, fileName);
8605 + jQuery.get(svgURL, function (data) {
8606 + $svgContainer.empty().append(data.childNodes[0]);
8607 + });
8608 + this.setNegative(side);
8609 + }
8610 + }, {
8611 + key: "setNegative",
8612 + value: function setNegative(side) {
8613 + this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative'));
8614 + }
8615 + }, {
8616 + key: "onInit",
8617 + value: function onInit() {
8618 + var _get2,
8619 + _this = this;
8620 +
8621 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8622 + args[_key] = arguments[_key];
8623 + }
8624 +
8625 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(Shapes.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8626 +
8627 + ['top', 'bottom'].forEach(function (side) {
8628 + if (_this.getElementSettings('shape_divider_' + side)) {
8629 + _this.buildSVG(side);
8630 + }
8631 + });
8632 + }
8633 + }, {
8634 + key: "onElementChange",
8635 + value: function onElementChange(propertyName) {
8636 + var shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/);
8637 +
8638 + if (shapeChange) {
8639 + this.buildSVG(shapeChange[1]);
8640 + return;
8641 + }
8642 +
8643 + var negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/);
8644 +
8645 + if (negativeChange) {
8646 + this.buildSVG(negativeChange[1]);
8647 + this.setNegative(negativeChange[1]);
8648 + }
8649 + }
8650 + }]);
8651 + return Shapes;
8652 +}(elementorModules.frontend.handlers.Base);
8653 +
8654 +exports.default = Shapes;
8655 +
8656 +/***/ }),
8657 +/* 806 */
8658 +/***/ (function(module, exports, __webpack_require__) {
8659 +
8660 +"use strict";
8661 +
8662 +
8663 +var _interopRequireDefault = __webpack_require__(0);
8664 +
8665 +var _Object$defineProperty = __webpack_require__(1);
8666 +
8667 +_Object$defineProperty(exports, "__esModule", {
8668 + value: true
8669 +});
8670 +
8671 +exports.default = void 0;
8672 +
8673 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(698));
8674 +
8675 +var _default = function _default($scope) {
8676 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
8677 + $element: $scope
8678 + });
2362 8679 };
2363 8680
8681 +exports.default = _default;
2364 8682
2365 8683 /***/ }),
8684 +/* 807 */
8685 +/***/ (function(module, exports, __webpack_require__) {
2366 8686
2367 -/***/ "../node_modules/core-js/modules/web.dom-exception.stack.js":
2368 -/*!******************************************************************!*\
2369 - !*** ../node_modules/core-js/modules/web.dom-exception.stack.js ***!
2370 - \******************************************************************/
2371 -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
8687 +"use strict";
2372 8688
2373 8689
2374 -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
2375 -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
2376 -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
2377 -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
2378 -var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f);
2379 -var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
2380 -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js");
2381 -var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js");
2382 -var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js");
2383 -var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ "../node_modules/core-js/internals/dom-exception-constants.js");
2384 -var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js");
2385 -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
2386 -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
8690 +var _interopRequireDefault = __webpack_require__(0);
2387 8691
2388 -var DOM_EXCEPTION = 'DOMException';
2389 -var Error = getBuiltIn('Error');
2390 -var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
8692 +var _Object$defineProperty = __webpack_require__(1);
2391 8693
2392 -var $DOMException = function DOMException() {
2393 - anInstance(this, DOMExceptionPrototype);
2394 - var argumentsLength = arguments.length;
2395 - var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
2396 - var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
2397 - var that = new NativeDOMException(message, name);
2398 - var error = new Error(message);
2399 - error.name = DOM_EXCEPTION;
2400 - defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
2401 - inheritIfRequired(that, this, $DOMException);
2402 - return that;
8694 +_Object$defineProperty(exports, "__esModule", {
8695 + value: true
8696 +});
8697 +
8698 +exports.default = void 0;
8699 +
8700 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8701 +
8702 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8703 +
8704 +var _get3 = _interopRequireDefault(__webpack_require__(25));
8705 +
8706 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8707 +
8708 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8709 +
8710 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8711 +
8712 +var GlobalHandler = /*#__PURE__*/function (_elementorModules$fro) {
8713 + (0, _inherits2.default)(GlobalHandler, _elementorModules$fro);
8714 +
8715 + var _super = (0, _createSuper2.default)(GlobalHandler);
8716 +
8717 + function GlobalHandler() {
8718 + (0, _classCallCheck2.default)(this, GlobalHandler);
8719 + return _super.apply(this, arguments);
8720 + }
8721 +
8722 + (0, _createClass2.default)(GlobalHandler, [{
8723 + key: "getWidgetType",
8724 + value: function getWidgetType() {
8725 + return 'global';
8726 + }
8727 + }, {
8728 + key: "animate",
8729 + value: function animate() {
8730 + var $element = this.$element,
8731 + animation = this.getAnimation();
8732 +
8733 + if ('none' === animation) {
8734 + $element.removeClass('elementor-invisible');
8735 + return;
8736 + }
8737 +
8738 + var elementSettings = this.getElementSettings(),
8739 + animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
8740 + $element.removeClass(animation);
8741 +
8742 + if (this.currentAnimation) {
8743 + $element.removeClass(this.currentAnimation);
8744 + }
8745 +
8746 + this.currentAnimation = animation;
8747 + setTimeout(function () {
8748 + $element.removeClass('elementor-invisible').addClass('animated ' + animation);
8749 + }, animationDelay);
8750 + }
8751 + }, {
8752 + key: "getAnimation",
8753 + value: function getAnimation() {
8754 + return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
8755 + }
8756 + }, {
8757 + key: "onInit",
8758 + value: function onInit() {
8759 + var _get2,
8760 + _this = this;
8761 +
8762 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8763 + args[_key] = arguments[_key];
8764 + }
8765 +
8766 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(GlobalHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8767 +
8768 + if (this.getAnimation()) {
8769 + elementorFrontend.waypoint(this.$element, function () {
8770 + return _this.animate();
8771 + });
8772 + }
8773 + }
8774 + }, {
8775 + key: "onElementChange",
8776 + value: function onElementChange(propertyName) {
8777 + if (/^_?animation/.test(propertyName)) {
8778 + this.animate();
8779 + }
8780 + }
8781 + }]);
8782 + return GlobalHandler;
8783 +}(elementorModules.frontend.handlers.Base);
8784 +
8785 +var _default = function _default($scope) {
8786 + elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
8787 + $element: $scope
8788 + });
2403 8789 };
2404 8790
2405 -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
8791 +exports.default = _default;
2406 8792
2407 -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
2408 -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
8793 +/***/ }),
8794 +/* 808 */
8795 +/***/ (function(module, exports, __webpack_require__) {
2409 8796
2410 -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2411 -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION);
8797 +"use strict";
2412 8798
2413 -// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
2414 -// https://github.com/Jarred-Sumner/bun/issues/399
2415 -var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
2416 8799
2417 -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
8800 +module.exports = elementorModules.ViewModule.extend({
8801 + getDefaultSettings: function getDefaultSettings() {
8802 + return {
8803 + scrollDuration: 500,
8804 + selectors: {
8805 + links: 'a[href*="#"]',
8806 + targets: '.elementor-element, .elementor-menu-anchor',
8807 + scrollable: 'html, body'
8808 + }
8809 + };
8810 + },
8811 + getDefaultElements: function getDefaultElements() {
8812 + var $ = jQuery,
8813 + selectors = this.getSettings('selectors');
8814 + return {
8815 + $scrollable: $(selectors.scrollable)
8816 + };
8817 + },
8818 + bindEvents: function bindEvents() {
8819 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.handleAnchorLinks);
8820 + },
8821 + handleAnchorLinks: function handleAnchorLinks(event) {
8822 + var clickedLink = event.currentTarget,
8823 + isSamePathname = location.pathname === clickedLink.pathname,
8824 + isSameHostname = location.hostname === clickedLink.hostname,
8825 + $anchor;
2418 8826
2419 -// `DOMException` constructor patch for `.stack` where it's required
2420 -// https://webidl.spec.whatwg.org/#es-DOMException-specialness
2421 -$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic
2422 - DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
8827 + if (!isSameHostname || !isSamePathname || clickedLink.hash.length < 2) {
8828 + return;
8829 + }
8830 +
8831 + try {
8832 + $anchor = jQuery(clickedLink.hash).filter(this.getSettings('selectors.targets'));
8833 + } catch (e) {
8834 + return;
8835 + }
8836 +
8837 + if (!$anchor.length) {
8838 + return;
8839 + }
8840 +
8841 + var scrollTop = $anchor.offset().top,
8842 + $wpAdminBar = elementorFrontend.elements.$wpAdminBar,
8843 + $activeStickies = jQuery('.elementor-section.elementor-sticky--active:visible'),
8844 + maxStickyHeight = 0;
8845 +
8846 + if ($wpAdminBar.length > 0) {
8847 + scrollTop -= $wpAdminBar.height();
8848 + } // Offset height of tallest sticky
8849 +
8850 +
8851 + if ($activeStickies.length > 0) {
8852 + maxStickyHeight = Math.max.apply(null, $activeStickies.map(function () {
8853 + return jQuery(this).outerHeight();
8854 + }).get());
8855 + scrollTop -= maxStickyHeight;
8856 + }
8857 +
8858 + event.preventDefault();
8859 + scrollTop = elementorFrontend.hooks.applyFilters('frontend/handlers/menu_anchor/scroll_top_distance', scrollTop);
8860 + this.elements.$scrollable.animate({
8861 + scrollTop: scrollTop
8862 + }, this.getSettings('scrollDuration'), 'linear');
8863 + },
8864 + onInit: function onInit() {
8865 + elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
8866 + this.bindEvents();
8867 + }
2423 8868 });
2424 8869
2425 -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
2426 -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
8870 +/***/ }),
8871 +/* 809 */
8872 +/***/ (function(module, exports, __webpack_require__) {
2427 8873
2428 -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
2429 - if (!IS_PURE) {
2430 - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
8874 +"use strict";
8875 +
8876 +
8877 +var _interopRequireDefault = __webpack_require__(0);
8878 +
8879 +__webpack_require__(119);
8880 +
8881 +__webpack_require__(26);
8882 +
8883 +__webpack_require__(58);
8884 +
8885 +var _screenfull = _interopRequireDefault(__webpack_require__(810));
8886 +
8887 +module.exports = elementorModules.ViewModule.extend({
8888 + oldAspectRatio: null,
8889 + oldAnimation: null,
8890 + swiper: null,
8891 + player: null,
8892 + getDefaultSettings: function getDefaultSettings() {
8893 + return {
8894 + classes: {
8895 + aspectRatio: 'elementor-aspect-ratio-%s',
8896 + item: 'elementor-lightbox-item',
8897 + image: 'elementor-lightbox-image',
8898 + videoContainer: 'elementor-video-container',
8899 + videoWrapper: 'elementor-fit-aspect-ratio',
8900 + playButton: 'elementor-custom-embed-play',
8901 + playButtonIcon: 'fa',
8902 + playing: 'elementor-playing',
8903 + hidden: 'elementor-hidden',
8904 + invisible: 'elementor-invisible',
8905 + preventClose: 'elementor-lightbox-prevent-close',
8906 + slideshow: {
8907 + container: 'swiper-container',
8908 + slidesWrapper: 'swiper-wrapper',
8909 + prevButton: 'elementor-swiper-button elementor-swiper-button-prev',
8910 + nextButton: 'elementor-swiper-button elementor-swiper-button-next',
8911 + prevButtonIcon: 'eicon-chevron-left',
8912 + nextButtonIcon: 'eicon-chevron-right',
8913 + slide: 'swiper-slide',
8914 + header: 'elementor-slideshow__header',
8915 + footer: 'elementor-slideshow__footer',
8916 + title: 'elementor-slideshow__title',
8917 + description: 'elementor-slideshow__description',
8918 + counter: 'elementor-slideshow__counter',
8919 + iconExpand: 'eicon-frame-expand',
8920 + iconShrink: 'eicon-frame-minimize',
8921 + iconZoomIn: 'eicon-zoom-in-bold',
8922 + iconZoomOut: 'eicon-zoom-out-bold',
8923 + iconShare: 'eicon-share-arrow',
8924 + shareMenu: 'elementor-slideshow__share-menu',
8925 + shareLinks: 'elementor-slideshow__share-links',
8926 + hideUiVisibility: 'elementor-slideshow--ui-hidden',
8927 + shareMode: 'elementor-slideshow--share-mode',
8928 + fullscreenMode: 'elementor-slideshow--fullscreen-mode',
8929 + zoomMode: 'elementor-slideshow--zoom-mode'
8930 + }
8931 + },
8932 + selectors: {
8933 + image: '.elementor-lightbox-image',
8934 + links: 'a, [data-elementor-lightbox]',
8935 + slideshow: {
8936 + activeSlide: '.swiper-slide-active',
8937 + prevSlide: '.swiper-slide-prev',
8938 + nextSlide: '.swiper-slide-next'
8939 + }
8940 + },
8941 + modalOptions: {
8942 + id: 'elementor-lightbox',
8943 + entranceAnimation: 'zoomIn',
8944 + videoAspectRatio: 169,
8945 + position: {
8946 + enable: false
8947 + }
8948 + }
8949 + };
8950 + },
8951 + getModal: function getModal() {
8952 + if (!module.exports.modal) {
8953 + this.initModal();
8954 + }
8955 +
8956 + return module.exports.modal;
8957 + },
8958 + initModal: function initModal() {
8959 + var modal = module.exports.modal = elementorFrontend.getDialogsManager().createWidget('lightbox', {
8960 + className: 'elementor-lightbox',
8961 + closeButton: true,
8962 + closeButtonOptions: {
8963 + iconClass: 'eicon-close',
8964 + attributes: {
8965 + tabindex: 0,
8966 + role: 'button',
8967 + 'aria-label': elementorFrontend.config.i18n.close + ' (Esc)'
8968 + }
8969 + },
8970 + selectors: {
8971 + preventClose: '.' + this.getSettings('classes.preventClose')
8972 + },
8973 + hide: {
8974 + onClick: true
8975 + }
8976 + });
8977 + modal.on('hide', function () {
8978 + modal.setMessage('');
8979 + });
8980 + },
8981 + showModal: function showModal(options) {
8982 + this.elements.$closeButton = this.getModal().getElements('closeButton');
8983 + this.$buttons = this.elements.$closeButton;
8984 + this.focusedButton = null;
8985 + var self = this,
8986 + defaultOptions = self.getDefaultSettings().modalOptions;
8987 + self.id = options.id;
8988 + self.setSettings('modalOptions', jQuery.extend(defaultOptions, options.modalOptions));
8989 + var modal = self.getModal();
8990 + modal.setID(self.getSettings('modalOptions.id'));
8991 +
8992 + modal.onShow = function () {
8993 + DialogsManager.getWidgetType('lightbox').prototype.onShow.apply(modal, arguments);
8994 + self.setEntranceAnimation();
8995 + };
8996 +
8997 + modal.onHide = function () {
8998 + DialogsManager.getWidgetType('lightbox').prototype.onHide.apply(modal, arguments);
8999 + modal.getElements('message').removeClass('animated');
9000 +
9001 + if (_screenfull.default.isFullscreen) {
9002 + self.deactivateFullscreen();
9003 + }
9004 +
9005 + self.unbindHotKeys();
9006 + };
9007 +
9008 + switch (options.type) {
9009 + case 'video':
9010 + self.setVideoContent(options);
9011 + break;
9012 +
9013 + case 'image':
9014 + var slides = [{
9015 + image: options.url,
9016 + index: 0,
9017 + title: options.title,
9018 + description: options.description
9019 + }];
9020 + options.slideshow = {
9021 + slides: slides,
9022 + swiper: {
9023 + loop: false,
9024 + pagination: false
9025 + }
9026 + };
9027 +
9028 + case 'slideshow':
9029 + self.setSlideshowContent(options.slideshow);
9030 + break;
9031 +
9032 + default:
9033 + self.setHTMLContent(options.html);
9034 + }
9035 +
9036 + modal.show();
9037 + },
9038 + setHTMLContent: function setHTMLContent(html) {
9039 + this.getModal().setMessage(html);
9040 + },
9041 + setVideoContent: function setVideoContent(options) {
9042 + var $ = jQuery,
9043 + classes = this.getSettings('classes'),
9044 + $videoContainer = $('<div>', {
9045 + class: "".concat(classes.videoContainer, " ").concat(classes.preventClose)
9046 + }),
9047 + $videoWrapper = $('<div>', {
9048 + class: classes.videoWrapper
9049 + }),
9050 + modal = this.getModal();
9051 + var $videoElement;
9052 +
9053 + if ('hosted' === options.videoType) {
9054 + var videoParams = $.extend({
9055 + src: options.url,
9056 + autoplay: ''
9057 + }, options.videoParams);
9058 + $videoElement = $('<video>', videoParams);
9059 + } else {
9060 + var videoURL = options.url.replace('&autoplay=0', '') + '&autoplay=1';
9061 + $videoElement = $('<iframe>', {
9062 + src: videoURL,
9063 + allowfullscreen: 1
9064 + });
9065 + }
9066 +
9067 + $videoContainer.append($videoWrapper);
9068 + $videoWrapper.append($videoElement);
9069 + modal.setMessage($videoContainer);
9070 + this.setVideoAspectRatio();
9071 + var onHideMethod = modal.onHide;
9072 +
9073 + modal.onHide = function () {
9074 + onHideMethod();
9075 + this.$buttons = jQuery();
9076 + this.focusedButton = null;
9077 + modal.getElements('message').removeClass('elementor-fit-aspect-ratio');
9078 + };
9079 + },
9080 + getShareLinks: function getShareLinks() {
9081 + var _this = this;
9082 +
9083 + var i18n = elementorFrontend.config.i18n,
9084 + socialNetworks = {
9085 + facebook: i18n.shareOnFacebook,
9086 + twitter: i18n.shareOnTwitter,
9087 + pinterest: i18n.pinIt
9088 + },
9089 + $ = jQuery,
9090 + classes = this.getSettings('classes'),
9091 + selectors = this.getSettings('selectors'),
9092 + $linkList = $('<div>', {
9093 + class: classes.slideshow.shareLinks
9094 + }),
9095 + $activeSlide = this.getSlide('active'),
9096 + $image = $activeSlide.find(selectors.image),
9097 + videoUrl = $activeSlide.data('elementor-slideshow-video');
9098 + var itemUrl;
9099 +
9100 + if (videoUrl) {
9101 + itemUrl = videoUrl;
9102 + } else {
9103 + itemUrl = $image.attr('src');
9104 + }
9105 +
9106 + $.each(socialNetworks, function (key, networkLabel) {
9107 + var $link = $('<a>', {
9108 + href: _this.createShareLink(key, itemUrl),
9109 + target: '_blank'
9110 + }).text(networkLabel);
9111 + $link.prepend($('<i>', {
9112 + class: 'eicon-' + key
9113 + }));
9114 + $linkList.append($link);
9115 + });
9116 +
9117 + if (!videoUrl) {
9118 + $linkList.append($('<a>', {
9119 + href: itemUrl,
9120 + download: ''
9121 + }).text(i18n.downloadImage).prepend($('<i>', {
9122 + class: 'eicon-download-bold',
9123 + 'aria-label': i18n.download
9124 + })));
9125 + }
9126 +
9127 + return $linkList;
9128 + },
9129 + createShareLink: function createShareLink(networkName, itemUrl) {
9130 + var options = {};
9131 +
9132 + if ('pinterest' === networkName) {
9133 + options.image = encodeURIComponent(itemUrl);
9134 + } else {
9135 + var hash = elementorFrontend.utils.urlActions.createActionHash('lightbox', {
9136 + id: this.id,
9137 + url: itemUrl
9138 + });
9139 + options.url = encodeURIComponent(location.href.replace(/#.*/, '')) + hash;
9140 + }
9141 +
9142 + return ShareLink.getNetworkLink(networkName, options);
9143 + },
9144 + getSlideshowHeader: function getSlideshowHeader() {
9145 + var i18n = elementorFrontend.config.i18n,
9146 + $ = jQuery,
9147 + showCounter = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_counter'),
9148 + showFullscreen = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_fullscreen'),
9149 + showZoom = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_zoom'),
9150 + showShare = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_share'),
9151 + classes = this.getSettings('classes'),
9152 + slideshowClasses = classes.slideshow,
9153 + elements = this.elements;
9154 +
9155 + if (!(showCounter || showFullscreen || showZoom || showShare)) {
9156 + return;
9157 + }
9158 +
9159 + elements.$header = $('<header>', {
9160 + class: slideshowClasses.header + ' ' + classes.preventClose
9161 + });
9162 +
9163 + if (showShare) {
9164 + elements.$iconShare = $('<i>', {
9165 + class: slideshowClasses.iconShare,
9166 + role: 'button',
9167 + 'aria-label': i18n.share,
9168 + 'aria-expanded': false
9169 + }).append($('<span>'));
9170 + var $shareLinks = $('<div>');
9171 + $shareLinks.on('click', function (e) {
9172 + e.stopPropagation();
9173 + });
9174 + elements.$shareMenu = $('<div>', {
9175 + class: slideshowClasses.shareMenu
9176 + }).append($shareLinks);
9177 + elements.$iconShare.add(elements.$shareMenu).on('click', this.toggleShareMenu);
9178 + elements.$header.append(elements.$iconShare, elements.$shareMenu);
9179 + this.$buttons = this.$buttons.add(elements.$iconShare);
9180 + }
9181 +
9182 + if (showZoom) {
9183 + elements.$iconZoom = $('<i>', {
9184 + class: slideshowClasses.iconZoomIn,
9185 + role: 'switch',
9186 + 'aria-checked': false,
9187 + 'aria-label': i18n.zoom
9188 + });
9189 + elements.$iconZoom.on('click', this.toggleZoomMode);
9190 + elements.$header.append(elements.$iconZoom);
9191 + this.$buttons = this.$buttons.add(elements.$iconZoom);
9192 + }
9193 +
9194 + if (showFullscreen) {
9195 + elements.$iconExpand = $('<i>', {
9196 + class: slideshowClasses.iconExpand,
9197 + role: 'switch',
9198 + 'aria-checked': false,
9199 + 'aria-label': i18n.fullscreen
9200 + }).append($('<span>'), $('<span>'));
9201 + elements.$iconExpand.on('click', this.toggleFullscreen);
9202 + elements.$header.append(elements.$iconExpand);
9203 + this.$buttons = this.$buttons.add(elements.$iconExpand);
9204 + }
9205 +
9206 + if (showCounter) {
9207 + elements.$counter = $('<span>', {
9208 + class: slideshowClasses.counter
9209 + });
9210 + elements.$header.append(elements.$counter);
9211 + }
9212 +
9213 + return elements.$header;
9214 + },
9215 + toggleFullscreen: function toggleFullscreen() {
9216 + if (_screenfull.default.isFullscreen) {
9217 + this.deactivateFullscreen();
9218 + } else if (_screenfull.default.isEnabled) {
9219 + this.activateFullscreen();
9220 + }
9221 + },
9222 + toggleZoomMode: function toggleZoomMode() {
9223 + if (1 !== this.swiper.zoom.scale) {
9224 + this.deactivateZoom();
9225 + } else {
9226 + this.activateZoom();
9227 + }
9228 + },
9229 + toggleShareMenu: function toggleShareMenu() {
9230 + if (this.shareMode) {
9231 + this.deactivateShareMode();
9232 + } else {
9233 + this.elements.$shareMenu.html(this.getShareLinks());
9234 + this.activateShareMode();
9235 + }
9236 + },
9237 + activateShareMode: function activateShareMode() {
9238 + var classes = this.getSettings('classes');
9239 + this.elements.$container.addClass(classes.slideshow.shareMode);
9240 + this.elements.$iconShare.attr('aria-expanded', true); // Prevent swiper interactions while in share mode
9241 +
9242 + this.swiper.detachEvents(); // Temporarily replace tabbable buttons with share-menu items
9243 +
9244 + this.$originalButtons = this.$buttons;
9245 + this.$buttons = this.elements.$iconShare.add(this.elements.$shareMenu.find('a'));
9246 + this.shareMode = true;
9247 + },
9248 + deactivateShareMode: function deactivateShareMode() {
9249 + var classes = this.getSettings('classes');
9250 + this.elements.$container.removeClass(classes.slideshow.shareMode);
9251 + this.elements.$iconShare.attr('aria-expanded', false);
9252 + this.swiper.attachEvents();
9253 + this.$buttons = this.$originalButtons;
9254 + this.shareMode = false;
9255 + },
9256 + activateFullscreen: function activateFullscreen() {
9257 + var classes = this.getSettings('classes');
9258 +
9259 + _screenfull.default.request(this.elements.$container.parents('.dialog-widget')[0]);
9260 +
9261 + this.elements.$iconExpand.removeClass(classes.slideshow.iconExpand).addClass(classes.slideshow.iconShrink).attr('aria-checked', 'true');
9262 + this.elements.$container.addClass(classes.slideshow.fullscreenMode);
9263 + },
9264 + deactivateFullscreen: function deactivateFullscreen() {
9265 + var classes = this.getSettings('classes');
9266 +
9267 + _screenfull.default.exit();
9268 +
9269 + this.elements.$iconExpand.removeClass(classes.slideshow.iconShrink).addClass(classes.slideshow.iconExpand).attr('aria-checked', 'false');
9270 + this.elements.$container.removeClass(classes.slideshow.fullscreenMode);
9271 + },
9272 + activateZoom: function activateZoom() {
9273 + var swiper = this.swiper,
9274 + elements = this.elements,
9275 + classes = this.getSettings('classes');
9276 + swiper.zoom.in();
9277 + swiper.allowSlideNext = false;
9278 + swiper.allowSlidePrev = false;
9279 + swiper.allowTouchMove = false;
9280 + elements.$container.addClass(classes.slideshow.zoomMode);
9281 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomIn).addClass(classes.slideshow.iconZoomOut);
9282 + },
9283 + deactivateZoom: function deactivateZoom() {
9284 + var swiper = this.swiper,
9285 + elements = this.elements,
9286 + classes = this.getSettings('classes');
9287 + swiper.zoom.out();
9288 + swiper.allowSlideNext = true;
9289 + swiper.allowSlidePrev = true;
9290 + swiper.allowTouchMove = true;
9291 + elements.$container.removeClass(classes.slideshow.zoomMode);
9292 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomOut).addClass(classes.slideshow.iconZoomIn);
9293 + },
9294 + getSlideshowFooter: function getSlideshowFooter() {
9295 + var $ = jQuery,
9296 + classes = this.getSettings('classes'),
9297 + $footer = $('<footer>', {
9298 + class: classes.slideshow.footer + ' ' + classes.preventClose
9299 + }),
9300 + $title = $('<div>', {
9301 + class: classes.slideshow.title
9302 + }),
9303 + $description = $('<div>', {
9304 + class: classes.slideshow.description
9305 + });
9306 + $footer.append($title, $description);
9307 + return $footer;
9308 + },
9309 + setSlideshowContent: function setSlideshowContent(options) {
9310 + var _this2 = this;
9311 +
9312 + var i18n = elementorFrontend.config.i18n,
9313 + $ = jQuery,
9314 + isSingleSlide = 1 === options.slides.length,
9315 + hasTitle = '' !== elementorFrontend.getKitSettings('lightbox_title_src'),
9316 + hasDescription = '' !== elementorFrontend.getKitSettings('lightbox_description_src'),
9317 + showFooter = hasTitle || hasDescription,
9318 + classes = this.getSettings('classes'),
9319 + slideshowClasses = classes.slideshow,
9320 + $container = $('<div>', {
9321 + class: slideshowClasses.container
9322 + }),
9323 + $slidesWrapper = $('<div>', {
9324 + class: slideshowClasses.slidesWrapper
9325 + });
9326 + var $prevButton, $nextButton;
9327 + options.slides.forEach(function (slide) {
9328 + var slideClass = slideshowClasses.slide + ' ' + classes.item;
9329 +
9330 + if (slide.video) {
9331 + slideClass += ' ' + classes.video;
9332 + }
9333 +
9334 + var $slide = $('<div>', {
9335 + class: slideClass
9336 + });
9337 +
9338 + if (slide.video) {
9339 + $slide.attr('data-elementor-slideshow-video', slide.video);
9340 + var $playIcon = $('<div>', {
9341 + class: classes.playButton
9342 + }).html($('<i>', {
9343 + class: classes.playButtonIcon,
9344 + 'aria-label': i18n.playVideo
9345 + }));
9346 + $slide.append($playIcon);
9347 + } else {
9348 + var $zoomContainer = $('<div>', {
9349 + class: 'swiper-zoom-container'
9350 + }),
9351 + $slidePlaceholder = $('<div class="swiper-lazy-preloader"></div>'),
9352 + imageAttributes = {
9353 + 'data-src': slide.image,
9354 + class: classes.image + ' ' + classes.preventClose + ' swiper-lazy'
9355 + };
9356 +
9357 + if (slide.title) {
9358 + imageAttributes['data-title'] = slide.title;
9359 + imageAttributes.alt = slide.title;
9360 + }
9361 +
9362 + if (slide.description) {
9363 + imageAttributes['data-description'] = slide.description;
9364 + imageAttributes.alt += ' - ' + slide.description;
9365 + }
9366 +
9367 + var $slideImage = $('<img>', imageAttributes);
9368 + $zoomContainer.append([$slideImage, $slidePlaceholder]);
9369 + $slide.append($zoomContainer);
9370 + }
9371 +
9372 + $slidesWrapper.append($slide);
9373 + });
9374 + this.elements.$container = $container;
9375 + this.elements.$header = this.getSlideshowHeader();
9376 + $container.prepend(this.elements.$header).append($slidesWrapper);
9377 +
9378 + if (!isSingleSlide) {
9379 + $prevButton = $('<div>', {
9380 + class: slideshowClasses.prevButton + ' ' + classes.preventClose,
9381 + 'aria-label': i18n.previous
9382 + }).html($('<i>', {
9383 + class: slideshowClasses.prevButtonIcon
9384 + }));
9385 + $nextButton = $('<div>', {
9386 + class: slideshowClasses.nextButton + ' ' + classes.preventClose,
9387 + 'aria-label': i18n.next
9388 + }).html($('<i>', {
9389 + class: slideshowClasses.nextButtonIcon
9390 + }));
9391 + $container.append($nextButton, $prevButton);
9392 + this.$buttons = this.$buttons.add($nextButton).add($prevButton);
9393 + }
9394 +
9395 + if (showFooter) {
9396 + this.elements.$footer = this.getSlideshowFooter();
9397 + $container.append(this.elements.$footer);
9398 + }
9399 +
9400 + this.setSettings('hideUiTimeout', '');
9401 + $container.on('click mousemove keypress', this.showLightboxUi);
9402 + var modal = this.getModal();
9403 + modal.setMessage($container);
9404 + var onShowMethod = modal.onShow;
9405 +
9406 + modal.onShow = function () {
9407 + onShowMethod();
9408 + var swiperOptions = {
9409 + pagination: {
9410 + el: '.' + slideshowClasses.counter,
9411 + type: 'fraction'
9412 + },
9413 + on: {
9414 + slideChangeTransitionEnd: _this2.onSlideChange
9415 + },
9416 + lazy: {
9417 + loadPrevNext: true
9418 + },
9419 + zoom: true,
9420 + spaceBetween: 100,
9421 + grabCursor: true,
9422 + runCallbacksOnInit: false,
9423 + loop: true,
9424 + keyboard: true,
9425 + handleElementorBreakpoints: true
9426 + };
9427 +
9428 + if (!isSingleSlide) {
9429 + swiperOptions.navigation = {
9430 + prevEl: $prevButton,
9431 + nextEl: $nextButton
9432 + };
9433 + }
9434 +
9435 + if (options.swiper) {
9436 + $.extend(swiperOptions, options.swiper);
9437 + }
9438 +
9439 + _this2.swiper = new Swiper($container, swiperOptions); // Expose the swiper instance in the frontend
9440 +
9441 + $container.data('swiper', _this2.swiper);
9442 +
9443 + _this2.setVideoAspectRatio();
9444 +
9445 + _this2.playSlideVideo();
9446 +
9447 + if (showFooter) {
9448 + _this2.updateFooterText();
9449 + }
9450 +
9451 + _this2.bindHotKeys();
9452 +
9453 + _this2.makeButtonsAccessible();
9454 + };
9455 + },
9456 + makeButtonsAccessible: function makeButtonsAccessible() {
9457 + this.$buttons.attr('tabindex', 0).on('keypress', function (event) {
9458 + var ENTER_KEY = 13,
9459 + SPACE_KEY = 32;
9460 +
9461 + if (ENTER_KEY === event.which || SPACE_KEY === event.which) {
9462 + jQuery(event.currentTarget).trigger('click');
9463 + }
9464 + });
9465 + },
9466 + showLightboxUi: function showLightboxUi() {
9467 + var _this3 = this;
9468 +
9469 + var slideshowClasses = this.getSettings('classes').slideshow;
9470 + this.elements.$container.removeClass(slideshowClasses.hideUiVisibility);
9471 + clearTimeout(this.getSettings('hideUiTimeout'));
9472 + this.setSettings('hideUiTimeout', setTimeout(function () {
9473 + if (!_this3.shareMode) {
9474 + _this3.elements.$container.addClass(slideshowClasses.hideUiVisibility);
9475 + }
9476 + }, 3500));
9477 + },
9478 + bindHotKeys: function bindHotKeys() {
9479 + this.getModal().getElements('window').on('keydown', this.activeKeyDown);
9480 + },
9481 + unbindHotKeys: function unbindHotKeys() {
9482 + this.getModal().getElements('window').off('keydown', this.activeKeyDown);
9483 + },
9484 + activeKeyDown: function activeKeyDown(event) {
9485 + this.showLightboxUi();
9486 + var TAB_KEY = 9;
9487 +
9488 + if (event.which === TAB_KEY) {
9489 + var $buttons = this.$buttons;
9490 + var focusedButton,
9491 + isFirst = false,
9492 + isLast = false;
9493 + $buttons.each(function (index) {
9494 + var item = $buttons[index];
9495 +
9496 + if (jQuery(item).is(':focus')) {
9497 + focusedButton = item;
9498 + isFirst = 0 === index;
9499 + isLast = $buttons.length - 1 === index;
9500 + return false;
9501 + }
9502 + });
9503 +
9504 + if (event.shiftKey) {
9505 + if (isFirst) {
9506 + event.preventDefault();
9507 + $buttons.last().focus();
9508 + }
9509 + } else if (isLast || !focusedButton) {
9510 + event.preventDefault();
9511 + $buttons.first().focus();
9512 + }
9513 + }
9514 + },
9515 + setVideoAspectRatio: function setVideoAspectRatio(aspectRatio) {
9516 + aspectRatio = aspectRatio || this.getSettings('modalOptions.videoAspectRatio');
9517 + var $widgetContent = this.getModal().getElements('widgetContent'),
9518 + oldAspectRatio = this.oldAspectRatio,
9519 + aspectRatioClass = this.getSettings('classes.aspectRatio');
9520 + this.oldAspectRatio = aspectRatio;
9521 +
9522 + if (oldAspectRatio) {
9523 + $widgetContent.removeClass(aspectRatioClass.replace('%s', oldAspectRatio));
9524 + }
9525 +
9526 + if (aspectRatio) {
9527 + $widgetContent.addClass(aspectRatioClass.replace('%s', aspectRatio));
9528 + }
9529 + },
9530 + getSlide: function getSlide(slideState) {
9531 + return jQuery(this.swiper.slides).filter(this.getSettings('selectors.slideshow.' + slideState + 'Slide'));
9532 + },
9533 + updateFooterText: function updateFooterText() {
9534 + if (!this.elements.$footer) {
9535 + return;
9536 + }
9537 +
9538 + var classes = this.getSettings('classes'),
9539 + $activeSlide = this.getSlide('active'),
9540 + $image = $activeSlide.find('.elementor-lightbox-image'),
9541 + titleText = $image.data('title'),
9542 + descriptionText = $image.data('description'),
9543 + $title = this.elements.$footer.find('.' + classes.slideshow.title),
9544 + $description = this.elements.$footer.find('.' + classes.slideshow.description);
9545 + $title.text(titleText || '');
9546 + $description.text(descriptionText || '');
9547 + },
9548 + playSlideVideo: function playSlideVideo() {
9549 + var _this4 = this;
9550 +
9551 + var $activeSlide = this.getSlide('active'),
9552 + videoURL = $activeSlide.data('elementor-slideshow-video');
9553 +
9554 + if (!videoURL) {
9555 + return;
9556 + }
9557 +
9558 + var classes = this.getSettings('classes'),
9559 + $videoContainer = jQuery('<div>', {
9560 + class: classes.videoContainer + ' ' + classes.invisible
9561 + }),
9562 + $videoWrapper = jQuery('<div>', {
9563 + class: classes.videoWrapper
9564 + }),
9565 + $playIcon = $activeSlide.children('.' + classes.playButton);
9566 + var videoType, apiProvider;
9567 + $videoContainer.append($videoWrapper);
9568 + $activeSlide.append($videoContainer);
9569 +
9570 + if (-1 !== videoURL.indexOf('vimeo.com')) {
9571 + videoType = 'vimeo';
9572 + apiProvider = elementorFrontend.utils.vimeo;
9573 + } else if (videoURL.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
9574 + videoType = 'youtube';
9575 + apiProvider = elementorFrontend.utils.youtube;
9576 + }
9577 +
9578 + var videoID = apiProvider.getVideoIDFromURL(videoURL);
9579 + apiProvider.onApiReady(function (apiObject) {
9580 + if ('youtube' === videoType) {
9581 + _this4.prepareYTVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9582 + } else if ('vimeo' === videoType) {
9583 + _this4.prepareVimeoVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9584 + }
9585 + });
9586 + $playIcon.addClass(classes.playing).removeClass(classes.hidden);
9587 + },
9588 + prepareYTVideo: function prepareYTVideo(YT, videoID, $videoContainer, $videoWrapper, $playIcon) {
9589 + var _this5 = this;
9590 +
9591 + var classes = this.getSettings('classes'),
9592 + $videoPlaceholderElement = jQuery('<div>');
9593 + var startStateCode = YT.PlayerState.PLAYING;
9594 + $videoWrapper.append($videoPlaceholderElement); // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
9595 +
9596 + if (window.chrome) {
9597 + startStateCode = YT.PlayerState.UNSTARTED;
9598 + }
9599 +
9600 + $videoContainer.addClass('elementor-loading' + ' ' + classes.invisible);
9601 + this.player = new YT.Player($videoPlaceholderElement[0], {
9602 + videoId: videoID,
9603 + events: {
9604 + onReady: function onReady() {
9605 + $playIcon.addClass(classes.hidden);
9606 + $videoContainer.removeClass(classes.invisible);
9607 +
9608 + _this5.player.playVideo();
9609 + },
9610 + onStateChange: function onStateChange(event) {
9611 + if (event.data === startStateCode) {
9612 + $videoContainer.removeClass('elementor-loading' + ' ' + classes.invisible);
9613 + }
9614 + }
9615 + },
9616 + playerVars: {
9617 + controls: 0,
9618 + rel: 0
9619 + }
9620 + });
9621 + },
9622 + prepareVimeoVideo: function prepareVimeoVideo(Vimeo, videoId, $videoContainer, $videoWrapper, $playIcon) {
9623 + var classes = this.getSettings('classes'),
9624 + vimeoOptions = {
9625 + id: videoId,
9626 + autoplay: true,
9627 + transparent: false,
9628 + playsinline: false
9629 + };
9630 + this.player = new Vimeo.Player($videoWrapper, vimeoOptions);
9631 + this.player.ready().then(function () {
9632 + $playIcon.addClass(classes.hidden);
9633 + $videoContainer.removeClass(classes.invisible);
9634 + });
9635 + },
9636 + setEntranceAnimation: function setEntranceAnimation(animation) {
9637 + animation = animation || elementorFrontend.getCurrentDeviceSetting(this.getSettings('modalOptions'), 'entranceAnimation');
9638 + var $widgetMessage = this.getModal().getElements('message');
9639 +
9640 + if (this.oldAnimation) {
9641 + $widgetMessage.removeClass(this.oldAnimation);
9642 + }
9643 +
9644 + this.oldAnimation = animation;
9645 +
9646 + if (animation) {
9647 + $widgetMessage.addClass('animated ' + animation);
9648 + }
9649 + },
9650 + isLightboxLink: function isLightboxLink(element) {
9651 + if ('A' === element.tagName && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href))) {
9652 + return false;
9653 + }
9654 +
9655 + var generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
9656 + currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
9657 + return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
9658 + },
9659 + openSlideshow: function openSlideshow(slideshowID, initialSlideURL) {
9660 + var $allSlideshowLinks = jQuery(this.getSettings('selectors.links')).filter(function (index, element) {
9661 + var $element = jQuery(element);
9662 + return slideshowID === element.dataset.elementorLightboxSlideshow && !$element.parent('.swiper-slide-duplicate').length && !$element.parents('.slick-cloned').length;
9663 + });
9664 + var slides = [];
9665 + var initialSlideIndex = 0;
9666 + $allSlideshowLinks.each(function () {
9667 + var slideVideo = this.dataset.elementorLightboxVideo;
9668 + var slideIndex = this.dataset.elementorLightboxIndex;
9669 +
9670 + if (undefined === slideIndex) {
9671 + slideIndex = $allSlideshowLinks.index(this);
9672 + }
9673 +
9674 + if (initialSlideURL === this.href || slideVideo && initialSlideURL === slideVideo) {
9675 + initialSlideIndex = slideIndex;
9676 + }
9677 +
9678 + var slideData = {
9679 + image: this.href,
9680 + index: slideIndex,
9681 + title: this.dataset.elementorLightboxTitle,
9682 + description: this.dataset.elementorLightboxDescription
9683 + };
9684 +
9685 + if (slideVideo) {
9686 + slideData.video = slideVideo;
9687 + }
9688 +
9689 + slides.push(slideData);
9690 + });
9691 + slides.sort(function (a, b) {
9692 + return a.index - b.index;
9693 + });
9694 + this.showModal({
9695 + type: 'slideshow',
9696 + id: slideshowID,
9697 + modalOptions: {
9698 + id: 'elementor-lightbox-slideshow-' + slideshowID
9699 + },
9700 + slideshow: {
9701 + slides: slides,
9702 + swiper: {
9703 + initialSlide: +initialSlideIndex
9704 + }
9705 + }
9706 + });
9707 + },
9708 + openLink: function openLink(event) {
9709 + var element = event.currentTarget,
9710 + $target = jQuery(event.target),
9711 + editMode = elementorFrontend.isEditMode(),
9712 + isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
9713 +
9714 + if (!this.isLightboxLink(element)) {
9715 + if (editMode && isClickInsideElementor) {
9716 + event.preventDefault();
9717 + }
9718 +
9719 + return;
9720 + }
9721 +
9722 + event.preventDefault();
9723 +
9724 + if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
9725 + return;
9726 + }
9727 +
9728 + var lightboxData = {};
9729 +
9730 + if (element.dataset.elementorLightbox) {
9731 + lightboxData = JSON.parse(element.dataset.elementorLightbox);
9732 + }
9733 +
9734 + if (lightboxData.type && 'slideshow' !== lightboxData.type) {
9735 + this.showModal(lightboxData);
9736 + return;
9737 + }
9738 +
9739 + if (!element.dataset.elementorLightboxSlideshow) {
9740 + var slideshowID = 'single-img';
9741 + this.showModal({
9742 + type: 'image',
9743 + id: slideshowID,
9744 + url: element.href,
9745 + title: element.dataset.elementorLightboxTitle,
9746 + description: element.dataset.elementorLightboxDescription,
9747 + modalOptions: {
9748 + id: 'elementor-lightbox-slideshow-' + slideshowID
9749 + }
9750 + });
9751 + return;
9752 + }
9753 +
9754 + var initialSlideURL = element.dataset.elementorLightboxVideo ? element.dataset.elementorLightboxVideo : element.href;
9755 + this.openSlideshow(element.dataset.elementorLightboxSlideshow, initialSlideURL);
9756 + },
9757 + bindEvents: function bindEvents() {
9758 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.openLink);
9759 + },
9760 + onSlideChange: function onSlideChange() {
9761 + this.getSlide('prev').add(this.getSlide('next')).add(this.getSlide('active')).find('.' + this.getSettings('classes.videoWrapper')).remove();
9762 + this.playSlideVideo();
9763 + this.updateFooterText();
2431 9764 }
9765 +});
2432 9766
2433 - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
2434 - var constant = DOMExceptionConstants[key];
2435 - var constantName = constant.s;
2436 - if (!hasOwn(PolyfilledDOMException, constantName)) {
2437 - defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
9767 +/***/ }),
9768 +/* 810 */
9769 +/***/ (function(module, exports, __webpack_require__) {
9770 +
9771 +"use strict";
9772 +
9773 +
9774 +var _interopRequireDefault = __webpack_require__(0);
9775 +
9776 +var _defineProperties = _interopRequireDefault(__webpack_require__(289));
9777 +
9778 +var _promise = _interopRequireDefault(__webpack_require__(133));
9779 +
9780 +(function () {
9781 + 'use strict';
9782 +
9783 + var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {};
9784 + var isCommonjs = true && module.exports;
9785 +
9786 + var fn = function () {
9787 + var val;
9788 + var fnMap = [['requestFullscreen', 'exitFullscreen', 'fullscreenElement', 'fullscreenEnabled', 'fullscreenchange', 'fullscreenerror'], // New WebKit
9789 + ['webkitRequestFullscreen', 'webkitExitFullscreen', 'webkitFullscreenElement', 'webkitFullscreenEnabled', 'webkitfullscreenchange', 'webkitfullscreenerror'], // Old WebKit
9790 + ['webkitRequestFullScreen', 'webkitCancelFullScreen', 'webkitCurrentFullScreenElement', 'webkitCancelFullScreen', 'webkitfullscreenchange', 'webkitfullscreenerror'], ['mozRequestFullScreen', 'mozCancelFullScreen', 'mozFullScreenElement', 'mozFullScreenEnabled', 'mozfullscreenchange', 'mozfullscreenerror'], ['msRequestFullscreen', 'msExitFullscreen', 'msFullscreenElement', 'msFullscreenEnabled', 'MSFullscreenChange', 'MSFullscreenError']];
9791 + var i = 0;
9792 + var l = fnMap.length;
9793 + var ret = {};
9794 +
9795 + for (; i < l; i++) {
9796 + val = fnMap[i];
9797 +
9798 + if (val && val[1] in document) {
9799 + var valLength = val.length;
9800 +
9801 + for (i = 0; i < valLength; i++) {
9802 + ret[fnMap[0][i]] = val[i];
9803 + }
9804 +
9805 + return ret;
9806 + }
2438 9807 }
9808 +
9809 + return false;
9810 + }();
9811 +
9812 + var eventNameMap = {
9813 + change: fn.fullscreenchange,
9814 + error: fn.fullscreenerror
9815 + };
9816 + var screenfull = {
9817 + request: function request(element) {
9818 + return new _promise.default(function (resolve, reject) {
9819 + var onFullScreenEntered = function () {
9820 + this.off('change', onFullScreenEntered);
9821 + resolve();
9822 + }.bind(this);
9823 +
9824 + this.on('change', onFullScreenEntered);
9825 + element = element || document.documentElement;
9826 +
9827 + _promise.default.resolve(element[fn.requestFullscreen]()).catch(reject);
9828 + }.bind(this));
9829 + },
9830 + exit: function exit() {
9831 + return new _promise.default(function (resolve, reject) {
9832 + if (!this.isFullscreen) {
9833 + resolve();
9834 + return;
9835 + }
9836 +
9837 + var onFullScreenExit = function () {
9838 + this.off('change', onFullScreenExit);
9839 + resolve();
9840 + }.bind(this);
9841 +
9842 + this.on('change', onFullScreenExit);
9843 +
9844 + _promise.default.resolve(document[fn.exitFullscreen]()).catch(reject);
9845 + }.bind(this));
9846 + },
9847 + toggle: function toggle(element) {
9848 + return this.isFullscreen ? this.exit() : this.request(element);
9849 + },
9850 + onchange: function onchange(callback) {
9851 + this.on('change', callback);
9852 + },
9853 + onerror: function onerror(callback) {
9854 + this.on('error', callback);
9855 + },
9856 + on: function on(event, callback) {
9857 + var eventName = eventNameMap[event];
9858 +
9859 + if (eventName) {
9860 + document.addEventListener(eventName, callback, false);
9861 + }
9862 + },
9863 + off: function off(event, callback) {
9864 + var eventName = eventNameMap[event];
9865 +
9866 + if (eventName) {
9867 + document.removeEventListener(eventName, callback, false);
9868 + }
9869 + },
9870 + raw: fn
9871 + };
9872 +
9873 + if (!fn) {
9874 + if (isCommonjs) {
9875 + module.exports = {
9876 + isEnabled: false
9877 + };
9878 + } else {
9879 + window.screenfull = {
9880 + isEnabled: false
9881 + };
9882 + }
9883 +
9884 + return;
2439 9885 }
2440 -}
2441 9886
9887 + (0, _defineProperties.default)(screenfull, {
9888 + isFullscreen: {
9889 + get: function get() {
9890 + return Boolean(document[fn.fullscreenElement]);
9891 + }
9892 + },
9893 + element: {
9894 + enumerable: true,
9895 + get: function get() {
9896 + return document[fn.fullscreenElement];
9897 + }
9898 + },
9899 + isEnabled: {
9900 + enumerable: true,
9901 + get: function get() {
9902 + // Coerce to boolean in case of old WebKit
9903 + return Boolean(document[fn.fullscreenEnabled]);
9904 + }
9905 + }
9906 + });
2442 9907
9908 + if (isCommonjs) {
9909 + module.exports = screenfull;
9910 + } else {
9911 + window.screenfull = screenfull;
9912 + }
9913 +})();
9914 +
2443 9915 /***/ })
2444 -
2445 -},
2446 -/******/ __webpack_require__ => { // webpackRuntimeModules
2447 -/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
2448 -/******/ __webpack_require__.O(0, ["frontend-modules"], () => (__webpack_exec__("../assets/dev/js/frontend/frontend.js")));
2449 -/******/ var __webpack_exports__ = __webpack_require__.O();
2450 -/******/ }
2451 -]);
9916 +/******/ ]);
2452 9917 //# sourceMappingURL=frontend.js.map