PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.2
Elementor Website Builder – more than just a page builder v3.0.2
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 +9335 -1873 4.1.0-beta23.0.2 View file →
@@ -1,1777 +1,4682 @@
1 -"use strict";
2 -(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend"],{
1 +/*! elementor - v3.0.2 - 26-08-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__(155);
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__(137);
148 +
149 +var setPrototypeOf = __webpack_require__(135);
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__(170);
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__(157);
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;
280 - }
281 - };
282 - this.populateActiveBreakpointsConfig();
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;
283 446 }
447 +};
284 448
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;
293 - }
294 - getDefaultSettings() {
295 - return {
296 - selectors: {
297 - elementor: '.elementor',
298 - adminBar: '#wpadminbar'
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);
299 492 }
493 +
494 + return desc.value;
300 495 };
301 496 }
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 - })
313 - };
314 - defaultElements.$body.append(defaultElements.$deviceMode);
315 - return defaultElements;
497 +
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__(37);
511 +var $find = __webpack_require__(181)(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);
316 519 }
317 - bindEvents() {
318 - this.elements.$window.on('resize', () => this.setDeviceModeData());
319 - }
520 +});
521 +__webpack_require__(85)(KEY);
320 522
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);
327 - }
328 523
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);
336 - }
524 +/***/ }),
525 +/* 27 */
526 +/***/ (function(module, exports, __webpack_require__) {
337 527
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}`);
347 - }
348 - getKitSettings(settingName) {
349 - // TODO: use Data API.
350 - return this.getItems(this.config.kit, settingName);
351 - }
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];
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 +});
369 532
370 - // Accept 0 as value.
371 - if (deviceValue || 0 === deviceValue) {
372 - return deviceValue;
373 - }
374 - deviceIndex--;
375 - }
376 - return settings[settingKey];
377 - }
378 - getWidescreenSetting(settings, settingKey) {
379 - const deviceMode = 'widescreen',
380 - widescreenSettingKey = settingKey + '_' + deviceMode;
381 - let settingToReturn;
382 533
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];
389 - }
390 - return settingToReturn;
391 - }
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;
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);
408 570 };
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()
571 + case 2: return function (a, b) {
572 + return fn.call(that, a, b);
426 573 };
427 -
428 - // TODO: BC since 2.4.0
429 - this.modules = {
430 - StretchElement: elementorModules.frontend.tools.StretchElement,
431 - Masonry: elementorModules.utils.Masonry
574 + case 3: return function (a, b, c) {
575 + return fn.call(that, a, b, c);
432 576 };
433 - this.elementsHandler.init();
434 - if (this.isEditMode()) {
435 - elementor.once('document:loaded', () => this.onDocumentLoaded());
436 - } else {
437 - this.onDocumentLoaded();
438 - }
439 577 }
440 - initOnReadyElements() {
441 - this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
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;
442 604 }
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 - }
605 +};
606 +
607 +
608 +/***/ }),
609 +/* 34 */
610 +/***/ (function(module, exports) {
611 +
612 +module.exports = {};
613 +
614 +
615 +/***/ }),
616 +/* 35 */
617 +/***/ (function(module, exports, __webpack_require__) {
618 +
619 +var global = __webpack_require__(17);
620 +var hide = __webpack_require__(29);
621 +var has = __webpack_require__(61);
622 +var SRC = __webpack_require__(67)('src');
623 +var $toString = __webpack_require__(143);
624 +var TO_STRING = 'toString';
625 +var TPL = ('' + $toString).split(TO_STRING);
626 +
627 +__webpack_require__(55).inspectSource = function (it) {
628 + return $toString.call(it);
629 +};
630 +
631 +(module.exports = function (O, key, val, safe) {
632 + var isFunction = typeof val == 'function';
633 + if (isFunction) has(val, 'name') || hide(val, 'name', key);
634 + if (O[key] === val) return;
635 + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
636 + if (O === global) {
637 + O[key] = val;
638 + } else if (!safe) {
639 + delete O[key];
640 + hide(O, key, val);
641 + } else if (O[key]) {
642 + O[key] = val;
643 + } else {
644 + hide(O, key, val);
449 645 }
450 - setDeviceModeData() {
451 - this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
646 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
647 +})(Function.prototype, TO_STRING, function toString() {
648 + return typeof this == 'function' && this[SRC] || $toString.call(this);
649 +});
650 +
651 +
652 +/***/ }),
653 +/* 36 */,
654 +/* 37 */
655 +/***/ (function(module, exports, __webpack_require__) {
656 +
657 +var global = __webpack_require__(17);
658 +var core = __webpack_require__(55);
659 +var hide = __webpack_require__(29);
660 +var redefine = __webpack_require__(35);
661 +var ctx = __webpack_require__(73);
662 +var PROTOTYPE = 'prototype';
663 +
664 +var $export = function (type, name, source) {
665 + var IS_FORCED = type & $export.F;
666 + var IS_GLOBAL = type & $export.G;
667 + var IS_STATIC = type & $export.S;
668 + var IS_PROTO = type & $export.P;
669 + var IS_BIND = type & $export.B;
670 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
671 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
672 + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
673 + var key, own, out, exp;
674 + if (IS_GLOBAL) source = name;
675 + for (key in source) {
676 + // contains in native
677 + own = !IS_FORCED && target && target[key] !== undefined;
678 + // export native or passed
679 + out = (own ? target : source)[key];
680 + // bind timers to global for call from export context
681 + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
682 + // extend global
683 + if (target) redefine(target, key, out, type & $export.U);
684 + // export
685 + if (exports[key] != out) hide(exports, key, exp);
686 + if (IS_PROTO && expProto[key] != out) expProto[key] = out;
452 687 }
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 - }
688 +};
689 +global.core = core;
690 +// type bitmap
691 +$export.F = 1; // forced
692 +$export.G = 2; // global
693 +$export.S = 4; // static
694 +$export.P = 8; // proto
695 +$export.B = 16; // bind
696 +$export.W = 32; // wrap
697 +$export.U = 64; // safe
698 +$export.R = 128; // real proto method for `library`
699 +module.exports = $export;
480 700
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);
496 - }
701 +
702 +/***/ }),
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;
497 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 + };
498 823 }
499 - muteMigrationTraces() {
500 - jQuery.migrateMute = true;
501 - jQuery.migrateTrace = false;
502 - }
503 824
504 - /**
505 - * Initialize the modules' widgets handlers.
506 - */
507 - initModules() {
508 - const handlers = {
509 - shapes: _frontend.default
510 - };
825 + return _typeof(obj);
826 +}
511 827
512 - // TODO: BC - Deprecated since 3.5.0
513 - elementorFrontend.trigger('elementor/modules/init:before');
828 +module.exports = _typeof;
514 829
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 - });
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");
520 837 }
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;
526 - }
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();
540 - }
541 838
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 - }
839 + return self;
553 840 }
554 -exports["default"] = Frontend;
555 -window.elementorFrontend = new Frontend();
556 -if (!elementorFrontend.isEditMode()) {
557 - jQuery(() => elementorFrontend.init());
558 -}
559 841
842 +module.exports = _assertThisInitialized;
843 +
560 844 /***/ }),
845 +/* 50 */
846 +/***/ (function(module, exports) {
561 847
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__) => {
848 +exports.f = {}.propertyIsEnumerable;
567 849
568 850
851 +/***/ }),
852 +/* 51 */
853 +/***/ (function(module, exports, __webpack_require__) {
569 854
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"))];
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;
575 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 +
576 873 /***/ }),
874 +/* 52 */
875 +/***/ (function(module, exports, __webpack_require__) {
577 876
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__) => {
877 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
878 +var anObject = __webpack_require__(13);
879 +var dPs = __webpack_require__(134);
880 +var enumBugKeys = __webpack_require__(78);
881 +var IE_PROTO = __webpack_require__(75)('IE_PROTO');
882 +var Empty = function () { /* empty */ };
883 +var PROTOTYPE = 'prototype';
583 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 +};
584 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 +};
585 918
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")))];
592 919
593 920 /***/ }),
921 +/* 53 */
922 +/***/ (function(module, exports, __webpack_require__) {
594 923
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) => {
924 +var def = __webpack_require__(15).f;
925 +var has = __webpack_require__(19);
926 +var TAG = __webpack_require__(10)('toStringTag');
600 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 +};
601 931
602 932
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 -}
933 +/***/ }),
934 +/* 54 */
935 +/***/ (function(module, exports, __webpack_require__) {
616 936
937 +module.exports = __webpack_require__(239);
938 +
617 939 /***/ }),
940 +/* 55 */
941 +/***/ (function(module, exports) {
618 942
619 -/***/ "../assets/dev/js/frontend/handlers/global.js":
620 -/*!****************************************************!*\
621 - !*** ../assets/dev/js/frontend/handlers/global.js ***!
622 - \****************************************************/
623 -/***/ ((__unused_webpack_module, exports) => {
943 +var core = module.exports = { version: '2.6.11' };
944 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
624 945
625 946
947 +/***/ }),
948 +/* 56 */
949 +/***/ (function(module, exports) {
626 950
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;
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;
1019 + }
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);
641 1056 }
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);
1057 + ];
1058 +
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;
647 1067 }
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]);
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;
664 1086 }
665 - }
666 - });
667 - observer.observe(this.$element[0]);
668 - }
1087 + capture = captures[n - 1];
1088 + }
1089 + return capture === undefined ? '' : capture;
1090 + });
669 1091 }
670 - onElementChange(propertyName) {
671 - if (/^_?animation/.test(propertyName)) {
672 - this.animate();
673 - }
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__(172)(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__(174);
1145 +var global = __webpack_require__(8);
1146 +var hide = __webpack_require__(24);
1147 +var Iterators = __webpack_require__(34);
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__(35)(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);
1339 + };
1340 + case 2: return function (a, b) {
1341 + return fn.call(that, a, b);
1342 + };
1343 + case 3: return function (a, b, c) {
1344 + return fn.call(that, a, b, c);
1345 + };
674 1346 }
675 -}
676 -var _default = $scope => {
677 - elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
678 - $element: $scope
679 - });
1347 + return function (/* ...args */) {
1348 + return fn.apply(that, arguments);
1349 + };
680 1350 };
681 -exports["default"] = _default;
682 1351
1352 +
683 1353 /***/ }),
1354 +/* 74 */
1355 +/***/ (function(module, exports, __webpack_require__) {
684 1356
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__) => {
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 +};
690 1369
691 1370
1371 +/***/ }),
1372 +/* 75 */
1373 +/***/ (function(module, exports, __webpack_require__) {
692 1374
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")))];
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 +};
701 1380
1381 +
702 1382 /***/ }),
1383 +/* 76 */
1384 +/***/ (function(module, exports, __webpack_require__) {
703 1385
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__) => {
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] = {});
709 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 +});
710 1398
711 1399
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'
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
726 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;
727 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;
728 1512 }
729 - onInit() {
730 - this.observeStickyElements(() => {
731 - this.initializeStickyAndAnchorTracking();
732 - });
733 - }
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();
1513 +
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;
1532 +
1533 + var rx = anObject(regexp);
1534 + var S = String(this);
1535 + var C = speciesConstructor(rx, RegExp);
1536 +
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;
739 1569 }
740 1570 }
741 - });
742 - observer.observe(document.body, {
743 - childList: true,
744 - subtree: true,
745 - attributes: true,
746 - attributeFilter: ['class', 'style']
747 - });
1571 + A.push(S.slice(p));
1572 + return A;
1573 + }
1574 + ];
1575 +});
1576 +
1577 +
1578 +/***/ }),
1579 +/* 81 */,
1580 +/* 82 */,
1581 +/* 83 */
1582 +/***/ (function(module, exports, __webpack_require__) {
1583 +
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 +};
1594 +
1595 +
1596 +/***/ }),
1597 +/* 84 */,
1598 +/* 85 */
1599 +/***/ (function(module, exports, __webpack_require__) {
1600 +
1601 +// 22.1.3.31 Array.prototype[@@unscopables]
1602 +var UNSCOPABLES = __webpack_require__(12)('unscopables');
1603 +var ArrayProto = Array.prototype;
1604 +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(29)(ArrayProto, UNSCOPABLES, {});
1605 +module.exports = function (key) {
1606 + ArrayProto[UNSCOPABLES][key] = true;
1607 +};
1608 +
1609 +
1610 +/***/ }),
1611 +/* 86 */
1612 +/***/ (function(module, exports, __webpack_require__) {
1613 +
1614 +var ctx = __webpack_require__(31);
1615 +var call = __webpack_require__(139);
1616 +var isArrayIter = __webpack_require__(140);
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;
748 1635 }
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;
1636 +};
1637 +exports.BREAK = BREAK;
1638 +exports.RETURN = RETURN;
1639 +
1640 +
1641 +/***/ }),
1642 +/* 87 */,
1643 +/* 88 */
1644 +/***/ (function(module, exports, __webpack_require__) {
1645 +
1646 +"use strict";
1647 +
1648 +
1649 +var regexpFlags = __webpack_require__(106);
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;
1656 +
1657 +var patchedExec = nativeExec;
1658 +
1659 +var LAST_INDEX = 'lastIndex';
1660 +
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 +})();
1668 +
1669 +// nonparticipating capturing group, copied from es5-shim's String#split patch.
1670 +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1671 +
1672 +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
1673 +
1674 +if (PATCH) {
1675 + patchedExec = function exec(str) {
1676 + var re = this;
1677 + var lastIndex, reCopy, match, i;
1678 +
1679 + if (NPCG_INCLUDED) {
1680 + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
755 1681 }
756 - this.trackStickyElements(stickyElements, trackedElements);
757 - this.trackAnchorLinks(anchorLinks, trackedElements);
758 - this.organizeStickyAndAnchors(trackedElements);
759 - }
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
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;
1688 + }
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;
1696 + }
768 1697 });
769 - });
770 - }
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 - });
790 - }
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 - });
797 - }
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 - });
807 - }
808 - getScrollPosition(element) {
809 - let offsetTop = 0;
810 - while (element) {
811 - offsetTop += element.offsetTop;
812 - element = element.offsetParent;
813 1698 }
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 - }
1699 +
1700 + return match;
1701 + };
841 1702 }
842 -exports["default"] = _default;
843 1703
1704 +module.exports = patchedExec;
1705 +
1706 +
844 1707 /***/ }),
1708 +/* 89 */,
1709 +/* 90 */,
1710 +/* 91 */
1711 +/***/ (function(module, exports) {
845 1712
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) => {
1713 +module.exports = function (it) {
1714 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1715 + return it;
1716 +};
851 1717
852 1718
1719 +/***/ }),
1720 +/* 92 */
1721 +/***/ (function(module, exports, __webpack_require__) {
853 1722
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);
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 +};
1730 +
1731 +
1732 +/***/ }),
1733 +/* 93 */
1734 +/***/ (function(module, exports, __webpack_require__) {
1735 +
1736 +module.exports = __webpack_require__(24);
1737 +
1738 +
1739 +/***/ }),
1740 +/* 94 */
1741 +/***/ (function(module, exports, __webpack_require__) {
1742 +
1743 +"use strict";
1744 +
1745 +
1746 +var classof = __webpack_require__(113);
1747 +var builtinExec = RegExp.prototype.exec;
1748 +
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');
874 1757 }
875 - return assetData.loader;
1758 + return result;
876 1759 }
877 - isAssetLoaded(assetData, assetType) {
878 - const filePath = 'script' === assetType ? `script[src="${assetData.src}"]` : `link[href="${assetData.src}"]`;
879 - return !!document.querySelectorAll(filePath)?.length;
1760 + if (classof(R) !== 'RegExp') {
1761 + throw new TypeError('RegExp#exec called on incompatible receiver');
880 1762 }
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`
906 - },
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`
913 - }
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 - }
1763 + return builtinExec.call(R, S);
929 1764 };
930 1765
1766 +
931 1767 /***/ }),
1768 +/* 95 */
1769 +/***/ (function(module, exports, __webpack_require__) {
932 1770
933 -/***/ "../assets/dev/js/frontend/utils/controls.js":
934 -/*!***************************************************!*\
935 - !*** ../assets/dev/js/frontend/utils/controls.js ***!
936 - \***************************************************/
937 -/***/ ((__unused_webpack_module, exports) => {
1771 +"use strict";
938 1772
1773 +__webpack_require__(190);
1774 +var redefine = __webpack_require__(35);
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);
939 1780
1781 +var SPECIES = wks('species');
940 1782
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;
967 - }
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 +});
968 1795
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);
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 +})();
985 1804
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;
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; };
991 1825 }
1826 + re[SYMBOL]('');
1827 + return !execCalled;
1828 + }) : undefined;
992 1829
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;
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) };
1850 + }
1851 + return { done: false };
1004 1852 }
1005 - const responsiveControlKey = `${controlKey}_${parentDeviceMode}`,
1006 - responsiveControlValue = this.getControlValue(controlSettings, responsiveControlKey, controlSubKey);
1007 - if (!!responsiveControlValue || 0 === responsiveControlValue) {
1008 - controlValue = responsiveControlValue;
1009 - break;
1010 - }
1853 + );
1854 + var strfn = fns[0];
1855 + var rxfn = fns[1];
1011 1856
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;
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 + );
1017 1866 }
1018 -}
1019 -exports["default"] = Controls;
1867 +};
1020 1868
1869 +
1021 1870 /***/ }),
1871 +/* 96 */
1872 +/***/ (function(module, exports, __webpack_require__) {
1022 1873
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__) => {
1874 +// 7.1.13 ToObject(argument)
1875 +var defined = __webpack_require__(42);
1876 +module.exports = function (it) {
1877 + return Object(defined(it));
1878 +};
1028 1879
1029 1880
1881 +/***/ }),
1882 +/* 97 */
1883 +/***/ (function(module, exports, __webpack_require__) {
1030 1884
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);
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__(142)(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__(167);
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__(34);
2031 +var $iterCreate = __webpack_require__(173);
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);
2068 + }
1050 2069 }
1051 - getDefaultSettings() {
1052 - return {
1053 - selectors: {
1054 - links: 'a, [data-elementor-lightbox]',
1055 - slideshow: '[data-elementor-lightbox-slideshow]'
1056 - }
1057 - };
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); };
1058 2074 }
1059 - getDefaultElements() {
1060 - return {
1061 - $links: jQuery(this.getSettings('selectors.links')),
1062 - $slideshow: jQuery(this.getSettings('selectors.slideshow'))
2075 + // Define iterator
2076 + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
2077 + hide(proto, ITERATOR, $default);
2078 + }
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
1063 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);
1064 2091 }
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;
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__(176);
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__(34);
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__(160);
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__(165)(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);
1073 2198 }
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();
2199 + return result;
2200 +};
2201 +
2202 +
2203 +/***/ }),
2204 +/* 117 */,
2205 +/* 118 */,
2206 +/* 119 */
2207 +/***/ (function(module, exports, __webpack_require__) {
2208 +
2209 +"use strict";
2210 +
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);
2216 +
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));
2226 + },
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++;
1086 2245 }
1087 - return;
2246 + return n === 0 ? null : A;
1088 2247 }
1089 - event.preventDefault();
1090 - if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
1091 - return;
1092 - }
2248 + ];
2249 +});
1093 2250
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 2251
1117 - // Breaking the iteration when the library loading has already been triggered.
1118 - return false;
1119 - }
1120 - });
1121 - }
1122 -}
1123 -exports["default"] = LightboxManager;
2252 +/***/ }),
2253 +/* 120 */
2254 +/***/ (function(module, exports, __webpack_require__) {
1124 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);
2261 +};
2262 +
2263 +
1125 2264 /***/ }),
2265 +/* 121 */,
2266 +/* 122 */
2267 +/***/ (function(module, exports, __webpack_require__) {
1126 2268
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__) => {
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 +};
1132 2277
1133 2278
2279 +/***/ }),
2280 +/* 123 */
2281 +/***/ (function(module, exports, __webpack_require__) {
1134 2282
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 - }
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 +};
1151 2295
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 - });
1166 - }
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 - }
1173 2296
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;
2297 +/***/ }),
2298 +/* 124 */
2299 +/***/ (function(module, exports, __webpack_require__) {
1186 2300
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 - });
2301 +module.exports = __webpack_require__(191);
1202 2302
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];
2303 +/***/ }),
2304 +/* 125 */
2305 +/***/ (function(module, exports) {
1208 2306
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
1213 - };
1214 - });
1215 - return config;
1216 - }
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 - });
1226 - }
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 +var dP = __webpack_require__(15);
2380 +var anObject = __webpack_require__(13);
2381 +var getKeys = __webpack_require__(40);
2382 +
2383 +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) {
2384 + anObject(O);
2385 + var keys = getKeys(Properties);
2386 + var length = keys.length;
2387 + var i = 0;
2388 + var P;
2389 + while (length > i) dP.f(O, P = keys[i++], Properties[P]);
2390 + return O;
2391 +};
2392 +
2393 +
2394 +/***/ }),
2395 +/* 135 */
2396 +/***/ (function(module, exports, __webpack_require__) {
2397 +
2398 +var _Object$setPrototypeOf = __webpack_require__(115);
2399 +
2400 +function _setPrototypeOf(o, p) {
2401 + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
2402 + o.__proto__ = p;
2403 + return o;
2404 + };
2405 +
2406 + return _setPrototypeOf(o, p);
1227 2407 }
1228 -exports["default"] = SwiperHandler;
1229 2408
2409 +module.exports = _setPrototypeOf;
2410 +
1230 2411 /***/ }),
2412 +/* 136 */,
2413 +/* 137 */
2414 +/***/ (function(module, exports, __webpack_require__) {
1231 2415
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__) => {
2416 +module.exports = __webpack_require__(163);
1237 2417
2418 +/***/ }),
2419 +/* 138 */
2420 +/***/ (function(module, exports, __webpack_require__) {
1238 2421
2422 +"use strict";
1239 2423
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 - }
2424 +// ECMAScript 6 symbols shim
2425 +var global = __webpack_require__(8);
2426 +var has = __webpack_require__(19);
2427 +var DESCRIPTORS = __webpack_require__(14);
2428 +var $export = __webpack_require__(7);
2429 +var redefine = __webpack_require__(93);
2430 +var META = __webpack_require__(70).KEY;
2431 +var $fails = __webpack_require__(22);
2432 +var shared = __webpack_require__(76);
2433 +var setToStringTag = __webpack_require__(53);
2434 +var uid = __webpack_require__(59);
2435 +var wks = __webpack_require__(10);
2436 +var wksExt = __webpack_require__(63);
2437 +var wksDefine = __webpack_require__(79);
2438 +var enumKeys = __webpack_require__(177);
2439 +var isArray = __webpack_require__(97);
2440 +var anObject = __webpack_require__(13);
2441 +var isObject = __webpack_require__(9);
2442 +var toObject = __webpack_require__(32);
2443 +var toIObject = __webpack_require__(20);
2444 +var toPrimitive = __webpack_require__(74);
2445 +var createDesc = __webpack_require__(44);
2446 +var _create = __webpack_require__(52);
2447 +var gOPNExt = __webpack_require__(178);
2448 +var $GOPD = __webpack_require__(51);
2449 +var $GOPS = __webpack_require__(71);
2450 +var $DP = __webpack_require__(15);
2451 +var $keys = __webpack_require__(40);
2452 +var gOPD = $GOPD.f;
2453 +var dP = $DP.f;
2454 +var gOPN = gOPNExt.f;
2455 +var $Symbol = global.Symbol;
2456 +var $JSON = global.JSON;
2457 +var _stringify = $JSON && $JSON.stringify;
2458 +var PROTOTYPE = 'prototype';
2459 +var HIDDEN = wks('_hidden');
2460 +var TO_PRIMITIVE = wks('toPrimitive');
2461 +var isEnum = {}.propertyIsEnumerable;
2462 +var SymbolRegistry = shared('symbol-registry');
2463 +var AllSymbols = shared('symbols');
2464 +var OPSymbols = shared('op-symbols');
2465 +var ObjectProto = Object[PROTOTYPE];
2466 +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
2467 +var QObject = global.QObject;
2468 +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
2469 +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
2470 +
2471 +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
2472 +var setSymbolDesc = DESCRIPTORS && $fails(function () {
2473 + return _create(dP({}, 'a', {
2474 + get: function () { return dP(this, 'a', { value: 7 }).a; }
2475 + })).a != 7;
2476 +}) ? function (it, key, D) {
2477 + var protoDesc = gOPD(ObjectProto, key);
2478 + if (protoDesc) delete ObjectProto[key];
2479 + dP(it, key, D);
2480 + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
2481 +} : dP;
2482 +
2483 +var wrap = function (tag) {
2484 + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
2485 + sym._k = tag;
2486 + return sym;
2487 +};
2488 +
2489 +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
2490 + return typeof it == 'symbol';
2491 +} : function (it) {
2492 + return it instanceof $Symbol;
2493 +};
2494 +
2495 +var $defineProperty = function defineProperty(it, key, D) {
2496 + if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
2497 + anObject(it);
2498 + key = toPrimitive(key, true);
2499 + anObject(D);
2500 + if (has(AllSymbols, key)) {
2501 + if (!D.enumerable) {
2502 + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
2503 + it[HIDDEN][key] = true;
2504 + } else {
2505 + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
2506 + D = _create(D, { enumerable: createDesc(0, false) });
2507 + } return setSymbolDesc(it, key, D);
2508 + } return dP(it, key, D);
2509 +};
2510 +var $defineProperties = function defineProperties(it, P) {
2511 + anObject(it);
2512 + var keys = enumKeys(P = toIObject(P));
2513 + var i = 0;
2514 + var l = keys.length;
2515 + var key;
2516 + while (l > i) $defineProperty(it, key = keys[i++], P[key]);
2517 + return it;
2518 +};
2519 +var $create = function create(it, P) {
2520 + return P === undefined ? _create(it) : $defineProperties(_create(it), P);
2521 +};
2522 +var $propertyIsEnumerable = function propertyIsEnumerable(key) {
2523 + var E = isEnum.call(this, key = toPrimitive(key, true));
2524 + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
2525 + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
2526 +};
2527 +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
2528 + it = toIObject(it);
2529 + key = toPrimitive(key, true);
2530 + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
2531 + var D = gOPD(it, key);
2532 + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
2533 + return D;
2534 +};
2535 +var $getOwnPropertyNames = function getOwnPropertyNames(it) {
2536 + var names = gOPN(toIObject(it));
2537 + var result = [];
2538 + var i = 0;
2539 + var key;
2540 + while (names.length > i) {
2541 + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
2542 + } return result;
2543 +};
2544 +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
2545 + var IS_OP = it === ObjectProto;
2546 + var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
2547 + var result = [];
2548 + var i = 0;
2549 + var key;
2550 + while (names.length > i) {
2551 + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
2552 + } return result;
2553 +};
2554 +
2555 +// 19.4.1.1 Symbol([description])
2556 +if (!USE_NATIVE) {
2557 + $Symbol = function Symbol() {
2558 + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
2559 + var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
2560 + var $set = function (value) {
2561 + if (this === ObjectProto) $set.call(OPSymbols, value);
2562 + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
2563 + setSymbolDesc(this, tag, createDesc(1, value));
1251 2564 };
2565 + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
2566 + return wrap(tag);
2567 + };
2568 + redefine($Symbol[PROTOTYPE], 'toString', function toString() {
2569 + return this._k;
2570 + });
2571 +
2572 + $GOPD.f = $getOwnPropertyDescriptor;
2573 + $DP.f = $defineProperty;
2574 + __webpack_require__(99).f = gOPNExt.f = $getOwnPropertyNames;
2575 + __webpack_require__(50).f = $propertyIsEnumerable;
2576 + $GOPS.f = $getOwnPropertySymbols;
2577 +
2578 + if (DESCRIPTORS && !__webpack_require__(47)) {
2579 + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
1252 2580 }
1253 - bindEvents() {
1254 - elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
2581 +
2582 + wksExt.f = function (name) {
2583 + return wrap(wks(name));
2584 + };
2585 +}
2586 +
2587 +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
2588 +
2589 +for (var es6Symbols = (
2590 + // 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
2591 + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
2592 +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
2593 +
2594 +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
2595 +
2596 +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
2597 + // 19.4.2.1 Symbol.for(key)
2598 + 'for': function (key) {
2599 + return has(SymbolRegistry, key += '')
2600 + ? SymbolRegistry[key]
2601 + : SymbolRegistry[key] = $Symbol(key);
2602 + },
2603 + // 19.4.2.5 Symbol.keyFor(sym)
2604 + keyFor: function keyFor(sym) {
2605 + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
2606 + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
2607 + },
2608 + useSetter: function () { setter = true; },
2609 + useSimple: function () { setter = false; }
2610 +});
2611 +
2612 +$export($export.S + $export.F * !USE_NATIVE, 'Object', {
2613 + // 19.1.2.2 Object.create(O [, Properties])
2614 + create: $create,
2615 + // 19.1.2.4 Object.defineProperty(O, P, Attributes)
2616 + defineProperty: $defineProperty,
2617 + // 19.1.2.3 Object.defineProperties(O, Properties)
2618 + defineProperties: $defineProperties,
2619 + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2620 + getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
2621 + // 19.1.2.7 Object.getOwnPropertyNames(O)
2622 + getOwnPropertyNames: $getOwnPropertyNames,
2623 + // 19.1.2.8 Object.getOwnPropertySymbols(O)
2624 + getOwnPropertySymbols: $getOwnPropertySymbols
2625 +});
2626 +
2627 +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
2628 +// https://bugs.chromium.org/p/v8/issues/detail?id=3443
2629 +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
2630 +
2631 +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
2632 + getOwnPropertySymbols: function getOwnPropertySymbols(it) {
2633 + return $GOPS.f(toObject(it));
1255 2634 }
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 - }
1270 - }
2635 +});
2636 +
2637 +// 24.3.2 JSON.stringify(value [, replacer [, space]])
2638 +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
2639 + var S = $Symbol();
2640 + // MS Edge converts symbol values to JSON as {}
2641 + // WebKit converts symbol values to JSON as null
2642 + // V8 throws on boxed symbols
2643 + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
2644 +})), 'JSON', {
2645 + stringify: function stringify(it) {
2646 + var args = [it];
2647 + var i = 1;
2648 + var replacer, $replacer;
2649 + while (arguments.length > i) args.push(arguments[i++]);
2650 + $replacer = replacer = args[1];
2651 + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
2652 + if (!isArray(replacer)) replacer = function (key, value) {
2653 + if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
2654 + if (!isSymbol(value)) return value;
1271 2655 };
2656 + args[1] = replacer;
2657 + return _stringify.apply($JSON, args);
1272 2658 }
1273 - addAction(name, callback) {
1274 - this.actions[name] = callback;
2659 +});
2660 +
2661 +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
2662 +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(24)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
2663 +// 19.4.3.5 Symbol.prototype[@@toStringTag]
2664 +setToStringTag($Symbol, 'Symbol');
2665 +// 20.2.1.9 Math[@@toStringTag]
2666 +setToStringTag(Math, 'Math', true);
2667 +// 24.3.3 JSON[@@toStringTag]
2668 +setToStringTag(global.JSON, 'JSON', true);
2669 +
2670 +
2671 +/***/ }),
2672 +/* 139 */
2673 +/***/ (function(module, exports, __webpack_require__) {
2674 +
2675 +// call something on iterator step with safe closing on error
2676 +var anObject = __webpack_require__(13);
2677 +module.exports = function (iterator, fn, value, entries) {
2678 + try {
2679 + return entries ? fn(anObject(value)[0], value[1]) : fn(value);
2680 + // 7.4.6 IteratorClose(iterator, completion)
2681 + } catch (e) {
2682 + var ret = iterator['return'];
2683 + if (ret !== undefined) anObject(ret.call(iterator));
2684 + throw e;
1275 2685 }
1276 - runAction(url, ...restArgs) {
1277 - url = decodeURI(url);
1278 - url = decodeURIComponent(url);
1279 - const actionMatch = url.match(/action=(.+?)&/);
1280 - if (!actionMatch) {
1281 - return;
1282 - }
1283 - const action = this.actions[actionMatch[1]];
1284 - if (!action) {
1285 - return;
1286 - }
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);
2686 +};
2687 +
2688 +
2689 +/***/ }),
2690 +/* 140 */
2691 +/***/ (function(module, exports, __webpack_require__) {
2692 +
2693 +// check on default Array iterator
2694 +var Iterators = __webpack_require__(34);
2695 +var ITERATOR = __webpack_require__(10)('iterator');
2696 +var ArrayProto = Array.prototype;
2697 +
2698 +module.exports = function (it) {
2699 + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
2700 +};
2701 +
2702 +
2703 +/***/ }),
2704 +/* 141 */
2705 +/***/ (function(module, exports, __webpack_require__) {
2706 +
2707 +"use strict";
2708 +
2709 +// https://github.com/tc39/Array.prototype.includes
2710 +var $export = __webpack_require__(37);
2711 +var $includes = __webpack_require__(146)(true);
2712 +
2713 +$export($export.P, 'Array', {
2714 + includes: function includes(el /* , fromIndex = 0 */) {
2715 + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1294 2716 }
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 - }
2717 +});
1303 2718
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 - }
2719 +__webpack_require__(85)('includes');
2720 +
2721 +
2722 +/***/ }),
2723 +/* 142 */
2724 +/***/ (function(module, exports, __webpack_require__) {
2725 +
2726 +var toInteger = __webpack_require__(57);
2727 +var defined = __webpack_require__(42);
2728 +// true -> String#at
2729 +// false -> String#codePointAt
2730 +module.exports = function (TO_STRING) {
2731 + return function (that, pos) {
2732 + var s = String(defined(that));
2733 + var i = toInteger(pos);
2734 + var l = s.length;
2735 + var a, b;
2736 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
2737 + a = s.charCodeAt(i);
2738 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2739 + ? TO_STRING ? s.charAt(i) : a
2740 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2741 + };
2742 +};
2743 +
2744 +
2745 +/***/ }),
2746 +/* 143 */
2747 +/***/ (function(module, exports, __webpack_require__) {
2748 +
2749 +module.exports = __webpack_require__(66)('native-function-to-string', Function.toString);
2750 +
2751 +
2752 +/***/ }),
2753 +/* 144 */
2754 +/***/ (function(module, exports, __webpack_require__) {
2755 +
2756 +"use strict";
2757 +
2758 +// 25.4.1.5 NewPromiseCapability(C)
2759 +var aFunction = __webpack_require__(38);
2760 +
2761 +function PromiseCapability(C) {
2762 + var resolve, reject;
2763 + this.promise = new C(function ($$resolve, $$reject) {
2764 + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
2765 + resolve = $$resolve;
2766 + reject = $$reject;
2767 + });
2768 + this.resolve = aFunction(resolve);
2769 + this.reject = aFunction(reject);
2770 +}
2771 +
2772 +module.exports.f = function (C) {
2773 + return new PromiseCapability(C);
2774 +};
2775 +
2776 +
2777 +/***/ }),
2778 +/* 145 */,
2779 +/* 146 */
2780 +/***/ (function(module, exports, __webpack_require__) {
2781 +
2782 +// false -> Array#indexOf
2783 +// true -> Array#includes
2784 +var toIObject = __webpack_require__(98);
2785 +var toLength = __webpack_require__(43);
2786 +var toAbsoluteIndex = __webpack_require__(198);
2787 +module.exports = function (IS_INCLUDES) {
2788 + return function ($this, el, fromIndex) {
2789 + var O = toIObject($this);
2790 + var length = toLength(O.length);
2791 + var index = toAbsoluteIndex(fromIndex, length);
2792 + var value;
2793 + // Array#includes uses SameValueZero equality algorithm
2794 + // eslint-disable-next-line no-self-compare
2795 + if (IS_INCLUDES && el != el) while (length > index) {
2796 + value = O[index++];
2797 + // eslint-disable-next-line no-self-compare
2798 + if (value != value) return true;
2799 + // Array#indexOf ignores holes, Array#includes - not
2800 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
2801 + if (O[index] === el) return IS_INCLUDES || index || 0;
2802 + } return !IS_INCLUDES && -1;
2803 + };
2804 +};
2805 +
2806 +
2807 +/***/ }),
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;
1309 2824 }
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 - }
1319 2825 }
1320 -exports["default"] = _default;
1321 2826
2827 +module.exports = _isNativeReflectConstruct;
2828 +
1322 2829 /***/ }),
2830 +/* 149 */
2831 +/***/ (function(module, exports) {
1323 2832
1324 -/***/ "../assets/dev/js/frontend/utils/utils.js":
1325 -/*!************************************************!*\
1326 - !*** ../assets/dev/js/frontend/utils/utils.js ***!
1327 - \************************************************/
1328 -/***/ ((__unused_webpack_module, exports) => {
2833 +module.exports = function (done, value) {
2834 + return { value: value, done: !!done };
2835 +};
1329 2836
1330 2837
2838 +/***/ }),
2839 +/* 150 */,
2840 +/* 151 */
2841 +/***/ (function(module, exports, __webpack_require__) {
1331 2842
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;'
2843 +module.exports = __webpack_require__(171);
2844 +
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 +__webpack_require__(156);
2894 +var $Object = __webpack_require__(6).Object;
2895 +module.exports = function defineProperty(it, key, desc) {
2896 + return $Object.defineProperty(it, key, desc);
2897 +};
2898 +
2899 +
2900 +/***/ }),
2901 +/* 156 */
2902 +/***/ (function(module, exports, __webpack_require__) {
2903 +
2904 +var $export = __webpack_require__(7);
2905 +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
2906 +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f });
2907 +
2908 +
2909 +/***/ }),
2910 +/* 157 */
2911 +/***/ (function(module, exports, __webpack_require__) {
2912 +
2913 +module.exports = __webpack_require__(158);
2914 +
2915 +/***/ }),
2916 +/* 158 */
2917 +/***/ (function(module, exports, __webpack_require__) {
2918 +
2919 +__webpack_require__(159);
2920 +module.exports = __webpack_require__(6).Object.getPrototypeOf;
2921 +
2922 +
2923 +/***/ }),
2924 +/* 159 */
2925 +/***/ (function(module, exports, __webpack_require__) {
2926 +
2927 +// 19.1.2.9 Object.getPrototypeOf(O)
2928 +var toObject = __webpack_require__(32);
2929 +var $getPrototypeOf = __webpack_require__(64);
2930 +
2931 +__webpack_require__(83)('getPrototypeOf', function () {
2932 + return function getPrototypeOf(it) {
2933 + return $getPrototypeOf(toObject(it));
1344 2934 };
1345 - return str.replace(/[&<>'"]/g, tag => specialChars[tag] || tag);
2935 +});
2936 +
2937 +
2938 +/***/ }),
2939 +/* 160 */
2940 +/***/ (function(module, exports, __webpack_require__) {
2941 +
2942 +__webpack_require__(161);
2943 +module.exports = __webpack_require__(6).Object.setPrototypeOf;
2944 +
2945 +
2946 +/***/ }),
2947 +/* 161 */
2948 +/***/ (function(module, exports, __webpack_require__) {
2949 +
2950 +// 19.1.3.19 Object.setPrototypeOf(O, proto)
2951 +var $export = __webpack_require__(7);
2952 +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(162).set });
2953 +
2954 +
2955 +/***/ }),
2956 +/* 162 */
2957 +/***/ (function(module, exports, __webpack_require__) {
2958 +
2959 +// Works with __proto__ only. Old v8 can't work with null proto objects.
2960 +/* eslint-disable no-proto */
2961 +var isObject = __webpack_require__(9);
2962 +var anObject = __webpack_require__(13);
2963 +var check = function (O, proto) {
2964 + anObject(O);
2965 + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
1346 2966 };
2967 +module.exports = {
2968 + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2969 + function (test, buggy, set) {
2970 + try {
2971 + set = __webpack_require__(31)(Function.call, __webpack_require__(51).f(Object.prototype, '__proto__').set, 2);
2972 + set(test, []);
2973 + buggy = !(test instanceof Array);
2974 + } catch (e) { buggy = true; }
2975 + return function setPrototypeOf(O, proto) {
2976 + check(O, proto);
2977 + if (buggy) O.__proto__ = proto;
2978 + else set(O, proto);
2979 + return O;
2980 + };
2981 + }({}, false) : undefined),
2982 + check: check
2983 +};
1347 2984
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;
2985 +
2986 +/***/ }),
2987 +/* 163 */
2988 +/***/ (function(module, exports, __webpack_require__) {
2989 +
2990 +__webpack_require__(164);
2991 +var $Object = __webpack_require__(6).Object;
2992 +module.exports = function create(P, D) {
2993 + return $Object.create(P, D);
1353 2994 };
1354 -exports.isScrollSnapActive = isScrollSnapActive;
1355 2995
2996 +
1356 2997 /***/ }),
2998 +/* 164 */
2999 +/***/ (function(module, exports, __webpack_require__) {
1357 3000
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) => {
3001 +var $export = __webpack_require__(7);
3002 +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
3003 +$export($export.S, 'Object', { create: __webpack_require__(52) });
1363 3004
1364 3005
3006 +/***/ }),
3007 +/* 165 */
3008 +/***/ (function(module, exports, __webpack_require__) {
1365 3009
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'
3010 +// false -> Array#indexOf
3011 +// true -> Array#includes
3012 +var toIObject = __webpack_require__(20);
3013 +var toLength = __webpack_require__(68);
3014 +var toAbsoluteIndex = __webpack_require__(166);
3015 +module.exports = function (IS_INCLUDES) {
3016 + return function ($this, el, fromIndex) {
3017 + var O = toIObject($this);
3018 + var length = toLength(O.length);
3019 + var index = toAbsoluteIndex(fromIndex, length);
3020 + var value;
3021 + // Array#includes uses SameValueZero equality algorithm
3022 + // eslint-disable-next-line no-self-compare
3023 + if (IS_INCLUDES && el != el) while (length > index) {
3024 + value = O[index++];
3025 + // eslint-disable-next-line no-self-compare
3026 + if (value != value) return true;
3027 + // Array#indexOf ignores holes, Array#includes - not
3028 + } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
3029 + if (O[index] === el) return IS_INCLUDES || index || 0;
3030 + } return !IS_INCLUDES && -1;
3031 + };
3032 +};
3033 +
3034 +
3035 +/***/ }),
3036 +/* 166 */
3037 +/***/ (function(module, exports, __webpack_require__) {
3038 +
3039 +var toInteger = __webpack_require__(77);
3040 +var max = Math.max;
3041 +var min = Math.min;
3042 +module.exports = function (index, length) {
3043 + index = toInteger(index);
3044 + return index < 0 ? max(index + length, 0) : min(index, length);
3045 +};
3046 +
3047 +
3048 +/***/ }),
3049 +/* 167 */
3050 +/***/ (function(module, exports, __webpack_require__) {
3051 +
3052 +__webpack_require__(168);
3053 +module.exports = __webpack_require__(6).Reflect.construct;
3054 +
3055 +
3056 +/***/ }),
3057 +/* 168 */
3058 +/***/ (function(module, exports, __webpack_require__) {
3059 +
3060 +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
3061 +var $export = __webpack_require__(7);
3062 +var create = __webpack_require__(52);
3063 +var aFunction = __webpack_require__(38);
3064 +var anObject = __webpack_require__(13);
3065 +var isObject = __webpack_require__(9);
3066 +var fails = __webpack_require__(22);
3067 +var bind = __webpack_require__(169);
3068 +var rConstruct = (__webpack_require__(8).Reflect || {}).construct;
3069 +
3070 +// MS Edge supports only 2 arguments and argumentsList argument is optional
3071 +// FF Nightly sets third argument as `new.target`, but does not create `this` from it
3072 +var NEW_TARGET_BUG = fails(function () {
3073 + function F() { /* empty */ }
3074 + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
3075 +});
3076 +var ARGS_BUG = !fails(function () {
3077 + rConstruct(function () { /* empty */ });
3078 +});
3079 +
3080 +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
3081 + construct: function construct(Target, args /* , newTarget */) {
3082 + aFunction(Target);
3083 + anObject(args);
3084 + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
3085 + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
3086 + if (Target == newTarget) {
3087 + // w/o altered newTarget, optimization for 0-4 arguments
3088 + switch (args.length) {
3089 + case 0: return new Target();
3090 + case 1: return new Target(args[0]);
3091 + case 2: return new Target(args[0], args[1]);
3092 + case 3: return new Target(args[0], args[1], args[2]);
3093 + case 4: return new Target(args[0], args[1], args[2], args[3]);
1376 3094 }
1377 - };
3095 + // w/o altered newTarget, lot of arguments case
3096 + var $args = [null];
3097 + $args.push.apply($args, args);
3098 + return new (bind.apply(Target, $args))();
3099 + }
3100 + // with altered newTarget, not support built-in constructors
3101 + var proto = newTarget.prototype;
3102 + var instance = create(isObject(proto) ? proto : Object.prototype);
3103 + var result = Function.apply.call(Target, instance, args);
3104 + return isObject(result) ? result : instance;
1378 3105 }
1379 - getDefaultElements() {
1380 - return {
1381 - $firstScript: jQuery(this.getSettings('selectors.firstScript'))
1382 - };
3106 +});
3107 +
3108 +
3109 +/***/ }),
3110 +/* 169 */
3111 +/***/ (function(module, exports, __webpack_require__) {
3112 +
3113 +"use strict";
3114 +
3115 +var aFunction = __webpack_require__(38);
3116 +var isObject = __webpack_require__(9);
3117 +var invoke = __webpack_require__(132);
3118 +var arraySlice = [].slice;
3119 +var factories = {};
3120 +
3121 +var construct = function (F, len, args) {
3122 + if (!(len in factories)) {
3123 + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
3124 + // eslint-disable-next-line no-new-func
3125 + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
3126 + } return factories[len](F, args);
3127 +};
3128 +
3129 +module.exports = Function.bind || function bind(that /* , ...args */) {
3130 + var fn = aFunction(this);
3131 + var partArgs = arraySlice.call(arguments, 1);
3132 + var bound = function (/* args... */) {
3133 + var args = partArgs.concat(arraySlice.call(arguments));
3134 + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
3135 + };
3136 + if (isObject(fn.prototype)) bound.prototype = fn.prototype;
3137 + return bound;
3138 +};
3139 +
3140 +
3141 +/***/ }),
3142 +/* 170 */
3143 +/***/ (function(module, exports, __webpack_require__) {
3144 +
3145 +var _typeof = __webpack_require__(48);
3146 +
3147 +var assertThisInitialized = __webpack_require__(49);
3148 +
3149 +function _possibleConstructorReturn(self, call) {
3150 + if (call && (_typeof(call) === "object" || typeof call === "function")) {
3151 + return call;
1383 3152 }
1384 - insertAPI() {
1385 - this.elements.$firstScript.before(jQuery('<script>', {
1386 - src: this.getApiURL()
1387 - }));
1388 - this.setSettings('isInserted', true);
3153 +
3154 + return assertThisInitialized(self);
3155 +}
3156 +
3157 +module.exports = _possibleConstructorReturn;
3158 +
3159 +/***/ }),
3160 +/* 171 */
3161 +/***/ (function(module, exports, __webpack_require__) {
3162 +
3163 +__webpack_require__(60);
3164 +__webpack_require__(62);
3165 +module.exports = __webpack_require__(63).f('iterator');
3166 +
3167 +
3168 +/***/ }),
3169 +/* 172 */
3170 +/***/ (function(module, exports, __webpack_require__) {
3171 +
3172 +var toInteger = __webpack_require__(77);
3173 +var defined = __webpack_require__(65);
3174 +// true -> String#at
3175 +// false -> String#codePointAt
3176 +module.exports = function (TO_STRING) {
3177 + return function (that, pos) {
3178 + var s = String(defined(that));
3179 + var i = toInteger(pos);
3180 + var l = s.length;
3181 + var a, b;
3182 + if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
3183 + a = s.charCodeAt(i);
3184 + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
3185 + ? TO_STRING ? s.charAt(i) : a
3186 + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
3187 + };
3188 +};
3189 +
3190 +
3191 +/***/ }),
3192 +/* 173 */
3193 +/***/ (function(module, exports, __webpack_require__) {
3194 +
3195 +"use strict";
3196 +
3197 +var create = __webpack_require__(52);
3198 +var descriptor = __webpack_require__(44);
3199 +var setToStringTag = __webpack_require__(53);
3200 +var IteratorPrototype = {};
3201 +
3202 +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
3203 +__webpack_require__(24)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });
3204 +
3205 +module.exports = function (Constructor, NAME, next) {
3206 + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
3207 + setToStringTag(Constructor, NAME + ' Iterator');
3208 +};
3209 +
3210 +
3211 +/***/ }),
3212 +/* 174 */
3213 +/***/ (function(module, exports, __webpack_require__) {
3214 +
3215 +"use strict";
3216 +
3217 +var addToUnscopables = __webpack_require__(175);
3218 +var step = __webpack_require__(149);
3219 +var Iterators = __webpack_require__(34);
3220 +var toIObject = __webpack_require__(20);
3221 +
3222 +// 22.1.3.4 Array.prototype.entries()
3223 +// 22.1.3.13 Array.prototype.keys()
3224 +// 22.1.3.29 Array.prototype.values()
3225 +// 22.1.3.30 Array.prototype[@@iterator]()
3226 +module.exports = __webpack_require__(108)(Array, 'Array', function (iterated, kind) {
3227 + this._t = toIObject(iterated); // target
3228 + this._i = 0; // next index
3229 + this._k = kind; // kind
3230 +// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3231 +}, function () {
3232 + var O = this._t;
3233 + var kind = this._k;
3234 + var index = this._i++;
3235 + if (!O || index >= O.length) {
3236 + this._t = undefined;
3237 + return step(1);
1389 3238 }
1390 - getVideoIDFromURL(url) {
1391 - const videoIDParts = url.match(this.getURLRegex());
1392 - return videoIDParts && videoIDParts[1];
3239 + if (kind == 'keys') return step(0, index);
3240 + if (kind == 'values') return step(0, O[index]);
3241 + return step(0, [index, O[index]]);
3242 +}, 'values');
3243 +
3244 +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3245 +Iterators.Arguments = Iterators.Array;
3246 +
3247 +addToUnscopables('keys');
3248 +addToUnscopables('values');
3249 +addToUnscopables('entries');
3250 +
3251 +
3252 +/***/ }),
3253 +/* 175 */
3254 +/***/ (function(module, exports) {
3255 +
3256 +module.exports = function () { /* empty */ };
3257 +
3258 +
3259 +/***/ }),
3260 +/* 176 */
3261 +/***/ (function(module, exports, __webpack_require__) {
3262 +
3263 +__webpack_require__(138);
3264 +__webpack_require__(100);
3265 +__webpack_require__(179);
3266 +__webpack_require__(180);
3267 +module.exports = __webpack_require__(6).Symbol;
3268 +
3269 +
3270 +/***/ }),
3271 +/* 177 */
3272 +/***/ (function(module, exports, __webpack_require__) {
3273 +
3274 +// all enumerable object keys, includes symbols
3275 +var getKeys = __webpack_require__(40);
3276 +var gOPS = __webpack_require__(71);
3277 +var pIE = __webpack_require__(50);
3278 +module.exports = function (it) {
3279 + var result = getKeys(it);
3280 + var getSymbols = gOPS.f;
3281 + if (getSymbols) {
3282 + var symbols = getSymbols(it);
3283 + var isEnum = pIE.f;
3284 + var i = 0;
3285 + var key;
3286 + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
3287 + } return result;
3288 +};
3289 +
3290 +
3291 +/***/ }),
3292 +/* 178 */
3293 +/***/ (function(module, exports, __webpack_require__) {
3294 +
3295 +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
3296 +var toIObject = __webpack_require__(20);
3297 +var gOPN = __webpack_require__(99).f;
3298 +var toString = {}.toString;
3299 +
3300 +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
3301 + ? Object.getOwnPropertyNames(window) : [];
3302 +
3303 +var getWindowNames = function (it) {
3304 + try {
3305 + return gOPN(it);
3306 + } catch (e) {
3307 + return windowNames.slice();
1393 3308 }
1394 - onApiReady(callback) {
1395 - if (!this.getSettings('isInserted')) {
1396 - this.insertAPI();
3309 +};
3310 +
3311 +module.exports.f = function getOwnPropertyNames(it) {
3312 + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
3313 +};
3314 +
3315 +
3316 +/***/ }),
3317 +/* 179 */
3318 +/***/ (function(module, exports, __webpack_require__) {
3319 +
3320 +__webpack_require__(79)('asyncIterator');
3321 +
3322 +
3323 +/***/ }),
3324 +/* 180 */
3325 +/***/ (function(module, exports, __webpack_require__) {
3326 +
3327 +__webpack_require__(79)('observable');
3328 +
3329 +
3330 +/***/ }),
3331 +/* 181 */
3332 +/***/ (function(module, exports, __webpack_require__) {
3333 +
3334 +// 0 -> Array#forEach
3335 +// 1 -> Array#map
3336 +// 2 -> Array#filter
3337 +// 3 -> Array#some
3338 +// 4 -> Array#every
3339 +// 5 -> Array#find
3340 +// 6 -> Array#findIndex
3341 +var ctx = __webpack_require__(73);
3342 +var IObject = __webpack_require__(120);
3343 +var toObject = __webpack_require__(96);
3344 +var toLength = __webpack_require__(43);
3345 +var asc = __webpack_require__(216);
3346 +module.exports = function (TYPE, $create) {
3347 + var IS_MAP = TYPE == 1;
3348 + var IS_FILTER = TYPE == 2;
3349 + var IS_SOME = TYPE == 3;
3350 + var IS_EVERY = TYPE == 4;
3351 + var IS_FIND_INDEX = TYPE == 6;
3352 + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
3353 + var create = $create || asc;
3354 + return function ($this, callbackfn, that) {
3355 + var O = toObject($this);
3356 + var self = IObject(O);
3357 + var f = ctx(callbackfn, that, 3);
3358 + var length = toLength(self.length);
3359 + var index = 0;
3360 + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
3361 + var val, res;
3362 + for (;length > index; index++) if (NO_HOLES || index in self) {
3363 + val = self[index];
3364 + res = f(val, index, O);
3365 + if (TYPE) {
3366 + if (IS_MAP) result[index] = res; // map
3367 + else if (res) switch (TYPE) {
3368 + case 3: return true; // some
3369 + case 5: return val; // find
3370 + case 6: return index; // findIndex
3371 + case 2: result.push(val); // filter
3372 + } else if (IS_EVERY) return false; // every
3373 + }
1397 3374 }
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);
3375 + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
3376 + };
3377 +};
3378 +
3379 +
3380 +/***/ }),
3381 +/* 182 */
3382 +/***/ (function(module, exports, __webpack_require__) {
3383 +
3384 +"use strict";
3385 +
3386 +__webpack_require__(279);
3387 +var anObject = __webpack_require__(18);
3388 +var $flags = __webpack_require__(106);
3389 +var DESCRIPTORS = __webpack_require__(27);
3390 +var TO_STRING = 'toString';
3391 +var $toString = /./[TO_STRING];
3392 +
3393 +var define = function (fn) {
3394 + __webpack_require__(35)(RegExp.prototype, TO_STRING, fn, true);
3395 +};
3396 +
3397 +// 21.2.5.14 RegExp.prototype.toString()
3398 +if (__webpack_require__(33)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
3399 + define(function toString() {
3400 + var R = anObject(this);
3401 + return '/'.concat(R.source, '/',
3402 + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
3403 + });
3404 +// FF44- RegExp#toString has a wrong name
3405 +} else if ($toString.name != TO_STRING) {
3406 + define(function toString() {
3407 + return $toString.call(this);
3408 + });
3409 +}
3410 +
3411 +
3412 +/***/ }),
3413 +/* 183 */,
3414 +/* 184 */
3415 +/***/ (function(module, exports, __webpack_require__) {
3416 +
3417 +var DESCRIPTORS = __webpack_require__(14);
3418 +var getKeys = __webpack_require__(40);
3419 +var toIObject = __webpack_require__(20);
3420 +var isEnum = __webpack_require__(50).f;
3421 +module.exports = function (isEntries) {
3422 + return function (it) {
3423 + var O = toIObject(it);
3424 + var keys = getKeys(O);
3425 + var length = keys.length;
3426 + var i = 0;
3427 + var result = [];
3428 + var key;
3429 + while (length > i) {
3430 + key = keys[i++];
3431 + if (!DESCRIPTORS || isEnum.call(O, key)) {
3432 + result.push(isEntries ? [key, O[key]] : O[key]);
3433 + }
1405 3434 }
3435 + return result;
3436 + };
3437 +};
3438 +
3439 +
3440 +/***/ }),
3441 +/* 185 */,
3442 +/* 186 */,
3443 +/* 187 */,
3444 +/* 188 */
3445 +/***/ (function(module, exports, __webpack_require__) {
3446 +
3447 +"use strict";
3448 +// 21.1.3.7 String.prototype.includes(searchString, position = 0)
3449 +
3450 +var $export = __webpack_require__(37);
3451 +var context = __webpack_require__(213);
3452 +var INCLUDES = 'includes';
3453 +
3454 +$export($export.P + $export.F * __webpack_require__(214)(INCLUDES), 'String', {
3455 + includes: function includes(searchString /* , position = 0 */) {
3456 + return !!~context(this, searchString, INCLUDES)
3457 + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
1406 3458 }
1407 - getAutoplayURL(videoURL) {
1408 - return videoURL.replace('&autoplay=0', '') + '&autoplay=1';
3459 +});
3460 +
3461 +
3462 +/***/ }),
3463 +/* 189 */,
3464 +/* 190 */
3465 +/***/ (function(module, exports, __webpack_require__) {
3466 +
3467 +"use strict";
3468 +
3469 +var regexpExec = __webpack_require__(88);
3470 +__webpack_require__(37)({
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;
1409 3556 }
3557 +
3558 + return object;
1410 3559 }
1411 -exports["default"] = BaseLoader;
1412 3560
3561 +module.exports = _superPropBase;
3562 +
1413 3563 /***/ }),
3564 +/* 197 */,
3565 +/* 198 */
3566 +/***/ (function(module, exports, __webpack_require__) {
1414 3567
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__) => {
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 +};
1420 3575
1421 3576
3577 +/***/ }),
3578 +/* 199 */,
3579 +/* 200 */,
3580 +/* 201 */
3581 +/***/ (function(module, exports, __webpack_require__) {
1422 3582
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';
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));
3598 + };
3599 +});
3600 +
3601 +
3602 +/***/ }),
3603 +/* 203 */,
3604 +/* 204 */
3605 +/***/ (function(module, exports, __webpack_require__) {
3606 +
3607 +module.exports = __webpack_require__(316);
3608 +
3609 +/***/ }),
3610 +/* 205 */
3611 +/***/ (function(module, exports, __webpack_require__) {
3612 +
3613 +// 7.3.20 SpeciesConstructor(O, defaultConstructor)
3614 +var anObject = __webpack_require__(13);
3615 +var aFunction = __webpack_require__(38);
3616 +var SPECIES = __webpack_require__(10)('species');
3617 +module.exports = function (O, D) {
3618 + var C = anObject(O).constructor;
3619 + var S;
3620 + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
3621 +};
3622 +
3623 +
3624 +/***/ }),
3625 +/* 206 */
3626 +/***/ (function(module, exports, __webpack_require__) {
3627 +
3628 +var ctx = __webpack_require__(31);
3629 +var invoke = __webpack_require__(132);
3630 +var html = __webpack_require__(131);
3631 +var cel = __webpack_require__(92);
3632 +var global = __webpack_require__(8);
3633 +var process = global.process;
3634 +var setTask = global.setImmediate;
3635 +var clearTask = global.clearImmediate;
3636 +var MessageChannel = global.MessageChannel;
3637 +var Dispatch = global.Dispatch;
3638 +var counter = 0;
3639 +var queue = {};
3640 +var ONREADYSTATECHANGE = 'onreadystatechange';
3641 +var defer, channel, port;
3642 +var run = function () {
3643 + var id = +this;
3644 + // eslint-disable-next-line no-prototype-builtins
3645 + if (queue.hasOwnProperty(id)) {
3646 + var fn = queue[id];
3647 + delete queue[id];
3648 + fn();
1432 3649 }
1433 - getURLRegex() {
1434 - return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
3650 +};
3651 +var listener = function (event) {
3652 + run.call(event.data);
3653 +};
3654 +// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
3655 +if (!setTask || !clearTask) {
3656 + setTask = function setImmediate(fn) {
3657 + var args = [];
3658 + var i = 1;
3659 + while (arguments.length > i) args.push(arguments[i++]);
3660 + queue[++counter] = function () {
3661 + // eslint-disable-next-line no-new-func
3662 + invoke(typeof fn == 'function' ? fn : Function(fn), args);
3663 + };
3664 + defer(counter);
3665 + return counter;
3666 + };
3667 + clearTask = function clearImmediate(id) {
3668 + delete queue[id];
3669 + };
3670 + // Node.js 0.8-
3671 + if (__webpack_require__(56)(process) == 'process') {
3672 + defer = function (id) {
3673 + process.nextTick(ctx(run, id, 1));
3674 + };
3675 + // Sphere (JS game engine) Dispatch API
3676 + } else if (Dispatch && Dispatch.now) {
3677 + defer = function (id) {
3678 + Dispatch.now(ctx(run, id, 1));
3679 + };
3680 + // Browsers with MessageChannel, includes WebWorkers
3681 + } else if (MessageChannel) {
3682 + channel = new MessageChannel();
3683 + port = channel.port2;
3684 + channel.port1.onmessage = listener;
3685 + defer = ctx(port.postMessage, port, 1);
3686 + // Browsers with postMessage, skip WebWorkers
3687 + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
3688 + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
3689 + defer = function (id) {
3690 + global.postMessage(id + '', '*');
3691 + };
3692 + global.addEventListener('message', listener, false);
3693 + // IE8-
3694 + } else if (ONREADYSTATECHANGE in cel('script')) {
3695 + defer = function (id) {
3696 + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
3697 + html.removeChild(this);
3698 + run.call(id);
3699 + };
3700 + };
3701 + // Rest old browsers
3702 + } else {
3703 + defer = function (id) {
3704 + setTimeout(ctx(run, id, 1), 0);
3705 + };
1435 3706 }
1436 - isApiLoaded() {
1437 - return window.Vimeo;
3707 +}
3708 +module.exports = {
3709 + set: setTask,
3710 + clear: clearTask
3711 +};
3712 +
3713 +
3714 +/***/ }),
3715 +/* 207 */
3716 +/***/ (function(module, exports) {
3717 +
3718 +module.exports = function (exec) {
3719 + try {
3720 + return { e: false, v: exec() };
3721 + } catch (e) {
3722 + return { e: true, v: e };
1438 3723 }
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;
3724 +};
1449 3725
3726 +
1450 3727 /***/ }),
3728 +/* 208 */
3729 +/***/ (function(module, exports, __webpack_require__) {
1451 3730
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__) => {
3731 +var anObject = __webpack_require__(13);
3732 +var isObject = __webpack_require__(9);
3733 +var newPromiseCapability = __webpack_require__(144);
1457 3734
3735 +module.exports = function (C, x) {
3736 + anObject(C);
3737 + if (isObject(x) && x.constructor === C) return x;
3738 + var promiseCapability = newPromiseCapability.f(C);
3739 + var resolve = promiseCapability.resolve;
3740 + resolve(x);
3741 + return promiseCapability.promise;
3742 +};
1458 3743
1459 3744
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;
3745 +/***/ }),
3746 +/* 209 */,
3747 +/* 210 */,
3748 +/* 211 */
3749 +/***/ (function(module, exports, __webpack_require__) {
1481 3750
3751 +module.exports = __webpack_require__(281);
3752 +
1482 3753 /***/ }),
3754 +/* 212 */,
3755 +/* 213 */
3756 +/***/ (function(module, exports, __webpack_require__) {
1483 3757
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__) => {
3758 +// helper for String#{startsWith, endsWith, includes}
3759 +var isRegExp = __webpack_require__(122);
3760 +var defined = __webpack_require__(42);
1489 3761
3762 +module.exports = function (that, searchString, NAME) {
3763 + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
3764 + return String(defined(that));
3765 +};
1490 3766
1491 3767
1492 -/* eslint-disable camelcase */
1493 -__webpack_require__.p = elementorFrontendConfig.urls.assets + 'js/';
3768 +/***/ }),
3769 +/* 214 */
3770 +/***/ (function(module, exports, __webpack_require__) {
1494 3771
3772 +var MATCH = __webpack_require__(12)('match');
3773 +module.exports = function (KEY) {
3774 + var re = /./;
3775 + try {
3776 + '/./'[KEY](re);
3777 + } catch (e) {
3778 + try {
3779 + re[MATCH] = false;
3780 + return !'/./'[KEY](re);
3781 + } catch (f) { /* empty */ }
3782 + } return true;
3783 +};
3784 +
3785 +
1495 3786 /***/ }),
3787 +/* 215 */,
3788 +/* 216 */
3789 +/***/ (function(module, exports, __webpack_require__) {
1496 3790
1497 -/***/ "../assets/dev/js/utils/breakpoints.js":
1498 -/*!*********************************************!*\
1499 - !*** ../assets/dev/js/utils/breakpoints.js ***!
1500 - \*********************************************/
1501 -/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3791 +// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
3792 +var speciesConstructor = __webpack_require__(217);
1502 3793
3794 +module.exports = function (original, length) {
3795 + return new (speciesConstructor(original))(length);
3796 +};
1503 3797
1504 3798
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();
3799 +/***/ }),
3800 +/* 217 */
3801 +/***/ (function(module, exports, __webpack_require__) {
1523 3802
1524 - // The passed config is either `elementor.config.responsive` or `elementorFrontend.config.responsive`
1525 - this.responsiveConfig = responsiveConfig;
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 +
3821 +/***/ }),
3822 +/* 218 */
3823 +/***/ (function(module, exports, __webpack_require__) {
3824 +
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 +};
3830 +
3831 +
3832 +/***/ }),
3833 +/* 219 */,
3834 +/* 220 */,
3835 +/* 221 */,
3836 +/* 222 */,
3837 +/* 223 */,
3838 +/* 224 */,
3839 +/* 225 */
3840 +/***/ (function(module, exports, __webpack_require__) {
3841 +
3842 +"use strict";
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 +
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) {
3871 +
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';
3874 +
3875 +
3876 +/***/ }),
3877 +/* 236 */,
3878 +/* 237 */,
3879 +/* 238 */,
3880 +/* 239 */
3881 +/***/ (function(module, exports, __webpack_require__) {
3882 +
3883 +__webpack_require__(240);
3884 +module.exports = __webpack_require__(6).Object.values;
3885 +
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__(184)(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__(205);
3947 +var task = __webpack_require__(206).set;
3948 +var microtask = __webpack_require__(259)();
3949 +var newPromiseCapabilityModule = __webpack_require__(144);
3950 +var perform = __webpack_require__(207);
3951 +var userAgent = __webpack_require__(260);
3952 +var promiseResolve = __webpack_require__(208);
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__(206).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__(205);
4320 +var promiseResolve = __webpack_require__(208);
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__(144);
4345 +var perform = __webpack_require__(207);
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__(134) });
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__(37);
4524 +var $find = __webpack_require__(181)(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__(85)(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__(211));
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,5123 @@
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__(204));
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 + elementorCommon.helpers.softDeprecated('getGeneralSettings', '3.0.0', 'getKitSettings and remove the `elementor_` prefix');
6158 + return this.getKitSettings("elementor_".concat(settingName));
6159 + }
6160 + }, {
6161 + key: "getKitSettings",
6162 + value: function getKitSettings(settingName) {
6163 + // TODO: use Data API.
6164 + return this.getItems(this.config.kit, settingName);
6165 + }
6166 + }, {
6167 + key: "getCurrentDeviceMode",
6168 + value: function getCurrentDeviceMode() {
6169 + return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
6170 + }
6171 + }, {
6172 + key: "getDeviceSetting",
6173 + value: function getDeviceSetting(deviceMode, settings, settingKey) {
6174 + var devices = ['desktop', 'tablet', 'mobile'];
6175 + var deviceIndex = devices.indexOf(deviceMode);
6176 +
6177 + while (deviceIndex > 0) {
6178 + var currentDevice = devices[deviceIndex],
6179 + fullSettingKey = settingKey + '_' + currentDevice,
6180 + deviceValue = settings[fullSettingKey];
6181 +
6182 + if (deviceValue) {
6183 + return deviceValue;
6184 + }
6185 +
6186 + deviceIndex--;
6187 + }
6188 +
6189 + return settings[settingKey];
6190 + }
6191 + }, {
6192 + key: "getCurrentDeviceSetting",
6193 + value: function getCurrentDeviceSetting(settings, settingKey) {
6194 + return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
6195 + }
6196 + }, {
6197 + key: "isEditMode",
6198 + value: function isEditMode() {
6199 + return this.config.environmentMode.edit;
6200 + }
6201 + }, {
6202 + key: "isWPPreviewMode",
6203 + value: function isWPPreviewMode() {
6204 + return this.config.environmentMode.wpPreview;
6205 + }
6206 + }, {
6207 + key: "initDialogsManager",
6208 + value: function initDialogsManager() {
6209 + var dialogsManager;
6210 +
6211 + this.getDialogsManager = function () {
6212 + if (!dialogsManager) {
6213 + dialogsManager = new DialogsManager.Instance();
6214 + }
6215 +
6216 + return dialogsManager;
6217 + };
6218 + }
6219 + }, {
6220 + key: "initOnReadyComponents",
6221 + value: function initOnReadyComponents() {
6222 + var _this3 = this;
6223 +
6224 + this.utils = {
6225 + youtube: new _youtubeLoader.default(),
6226 + vimeo: new _vimeoLoader.default(),
6227 + anchors: new AnchorsModule(),
6228 + lightbox: new LightboxModule(),
6229 + urlActions: new _urlActions.default(),
6230 + swiper: _swiper.default
6231 + }; // TODO: BC since 2.4.0
6232 +
6233 + this.modules = {
6234 + StretchElement: elementorModules.frontend.tools.StretchElement,
6235 + Masonry: elementorModules.utils.Masonry
6236 + };
6237 + this.elementsHandler = new ElementsHandler(jQuery);
6238 +
6239 + if (this.isEditMode()) {
6240 + elementor.once('document:loaded', function () {
6241 + return _this3.onDocumentLoaded();
6242 + });
6243 + } else {
6244 + this.onDocumentLoaded();
6245 + }
6246 + }
6247 + }, {
6248 + key: "initOnReadyElements",
6249 + value: function initOnReadyElements() {
6250 + this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
6251 + }
6252 + }, {
6253 + key: "addIeCompatibility",
6254 + value: function addIeCompatibility() {
6255 + var el = document.createElement('div'),
6256 + supportsGrid = 'string' === typeof el.style.grid;
6257 +
6258 + if (!_environment.default.ie && supportsGrid) {
6259 + return;
6260 + }
6261 +
6262 + this.elements.$body.addClass(this.getSettings('classes.ie'));
6263 + 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" />';
6264 + this.elements.$body.append(msieCss);
6265 + }
6266 + }, {
6267 + key: "setDeviceModeData",
6268 + value: function setDeviceModeData() {
6269 + this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
6270 + }
6271 + }, {
6272 + key: "addListenerOnce",
6273 + value: function addListenerOnce(listenerID, event, callback, to) {
6274 + if (!to) {
6275 + to = this.elements.$window;
6276 + }
6277 +
6278 + if (!this.isEditMode()) {
6279 + to.on(event, callback);
6280 + return;
6281 + }
6282 +
6283 + this.removeListeners(listenerID, event, to);
6284 +
6285 + if (to instanceof jQuery) {
6286 + var eventNS = event + '.' + listenerID;
6287 + to.on(eventNS, callback);
6288 + } else {
6289 + to.on(event, callback, listenerID);
6290 + }
6291 + }
6292 + }, {
6293 + key: "removeListeners",
6294 + value: function removeListeners(listenerID, event, callback, from) {
6295 + if (!from) {
6296 + from = this.elements.$window;
6297 + }
6298 +
6299 + if (from instanceof jQuery) {
6300 + var eventNS = event + '.' + listenerID;
6301 + from.off(eventNS, callback);
6302 + } else {
6303 + from.off(event, callback, listenerID);
6304 + }
6305 + } // Based on underscore function
6306 +
6307 + }, {
6308 + key: "debounce",
6309 + value: function debounce(func, wait) {
6310 + var timeout;
6311 + return function () {
6312 + var context = this,
6313 + args = arguments;
6314 +
6315 + var later = function later() {
6316 + timeout = null;
6317 + func.apply(context, args);
6318 + };
6319 +
6320 + var callNow = !timeout;
6321 + clearTimeout(timeout);
6322 + timeout = setTimeout(later, wait);
6323 +
6324 + if (callNow) {
6325 + func.apply(context, args);
6326 + }
6327 + };
6328 + }
6329 + }, {
6330 + key: "waypoint",
6331 + value: function waypoint($element, callback, options) {
6332 + var defaultOptions = {
6333 + offset: '100%',
6334 + triggerOnce: true
6335 + };
6336 + options = jQuery.extend(defaultOptions, options);
6337 +
6338 + var correctCallback = function correctCallback() {
6339 + var element = this.element || this,
6340 + result = callback.apply(element, arguments); // If is Waypoint new API and is frontend
6341 +
6342 + if (options.triggerOnce && this.destroy) {
6343 + this.destroy();
6344 + }
6345 +
6346 + return result;
6347 + };
6348 +
6349 + return $element.elementorWaypoint(correctCallback, options);
6350 + }
6351 + }, {
6352 + key: "muteMigrationTraces",
6353 + value: function muteMigrationTraces() {
6354 + jQuery.migrateMute = true;
6355 + jQuery.migrateTrace = false;
6356 + }
6357 + }, {
6358 + key: "init",
6359 + value: function init() {
6360 + this.hooks = new EventManager();
6361 + this.storage = new _storage.default();
6362 + this.addIeCompatibility();
6363 + this.setDeviceModeData();
6364 + this.initDialogsManager();
6365 +
6366 + if (this.isEditMode()) {
6367 + this.muteMigrationTraces();
6368 + } // Keep this line before `initOnReadyComponents` call
6369 +
6370 +
6371 + this.elements.$window.trigger('elementor/frontend/init');
6372 + this.initOnReadyElements();
6373 + this.initOnReadyComponents();
6374 + }
6375 + }, {
6376 + key: "onDocumentLoaded",
6377 + value: function onDocumentLoaded() {
6378 + this.documentsManager = new _documentsManager.default();
6379 + this.trigger('components:init');
6380 + }
6381 + }, {
6382 + key: "Module",
6383 + get: function get() {
6384 + if (this.isEditMode()) {
6385 + parent.elementorCommon.helpers.hardDeprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
6386 + }
6387 +
6388 + return elementorModules.frontend.handlers.Base;
6389 + }
6390 + }]);
6391 + return Frontend;
6392 +}(elementorModules.ViewModule);
6393 +
6394 +window.elementorFrontend = new Frontend();
6395 +
6396 +if (!elementorFrontend.isEditMode()) {
6397 + jQuery(function () {
6398 + return elementorFrontend.init();
6399 + });
6400 +}
6401 +
6402 +/***/ }),
6403 +/* 786 */
6404 +/***/ (function(module, exports, __webpack_require__) {
6405 +
6406 +"use strict";
6407 +
6408 +
6409 +var _interopRequireDefault = __webpack_require__(0);
6410 +
6411 +var _Object$defineProperty = __webpack_require__(1);
6412 +
6413 +_Object$defineProperty(exports, "__esModule", {
6414 + value: true
6415 +});
6416 +
6417 +exports.default = void 0;
6418 +
6419 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6420 +
6421 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6422 +
6423 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6424 +
6425 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6426 +
6427 +var _document = _interopRequireDefault(__webpack_require__(657));
6428 +
6429 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6430 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6431 +
6432 + var _super = (0, _createSuper2.default)(_default);
6433 +
6434 + function _default() {
6435 + var _this;
6436 +
6437 + (0, _classCallCheck2.default)(this, _default);
6438 +
6439 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6440 + args[_key] = arguments[_key];
6441 + }
6442 +
6443 + _this = _super.call.apply(_super, [this].concat(args));
6444 + _this.documents = {};
6445 +
6446 + _this.initDocumentClasses();
6447 +
6448 + _this.attachDocumentsClasses();
6449 +
6450 + return _this;
6451 + }
6452 +
6453 + (0, _createClass2.default)(_default, [{
6454 + key: "getDefaultSettings",
6455 + value: function getDefaultSettings() {
6456 + return {
6457 + selectors: {
6458 + document: '.elementor'
6459 + }
6460 + };
6461 + }
6462 + }, {
6463 + key: "getDefaultElements",
6464 + value: function getDefaultElements() {
6465 + var selectors = this.getSettings('selectors');
6466 + return {
6467 + $documents: jQuery(selectors.document)
6468 + };
6469 + }
6470 + }, {
6471 + key: "initDocumentClasses",
6472 + value: function initDocumentClasses() {
6473 + this.documentClasses = {
6474 + base: _document.default
6475 + };
6476 + elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
6477 + }
6478 + }, {
6479 + key: "addDocumentClass",
6480 + value: function addDocumentClass(documentType, documentClass) {
6481 + this.documentClasses[documentType] = documentClass;
6482 + }
6483 + }, {
6484 + key: "attachDocumentsClasses",
6485 + value: function attachDocumentsClasses() {
6486 + var _this2 = this;
6487 +
6488 + this.elements.$documents.each(function (index, document) {
6489 + return _this2.attachDocumentClass(jQuery(document));
6490 + });
6491 + }
6492 + }, {
6493 + key: "attachDocumentClass",
6494 + value: function attachDocumentClass($document) {
6495 + var documentData = $document.data(),
6496 + documentID = documentData.elementorId,
6497 + documentType = documentData.elementorType,
6498 + DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
6499 + this.documents[documentID] = new DocumentClass({
6500 + $element: $document,
6501 + id: documentID
6502 + });
6503 + }
6504 + }]);
6505 + return _default;
6506 +}(elementorModules.ViewModule);
6507 +
6508 +exports.default = _default;
6509 +
6510 +/***/ }),
6511 +/* 787 */
6512 +/***/ (function(module, exports, __webpack_require__) {
6513 +
6514 +"use strict";
6515 +
6516 +
6517 +var _interopRequireDefault = __webpack_require__(0);
6518 +
6519 +var _Object$defineProperty = __webpack_require__(1);
6520 +
6521 +_Object$defineProperty(exports, "__esModule", {
6522 + value: true
6523 +});
6524 +
6525 +exports.default = void 0;
6526 +
6527 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6528 +
6529 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6530 +
6531 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6532 +
6533 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6534 +
6535 +var _baseLoader = _interopRequireDefault(__webpack_require__(697));
6536 +
6537 +var YoutubeLoader = /*#__PURE__*/function (_BaseLoader) {
6538 + (0, _inherits2.default)(YoutubeLoader, _BaseLoader);
6539 +
6540 + var _super = (0, _createSuper2.default)(YoutubeLoader);
6541 +
6542 + function YoutubeLoader() {
6543 + (0, _classCallCheck2.default)(this, YoutubeLoader);
6544 + return _super.apply(this, arguments);
6545 + }
6546 +
6547 + (0, _createClass2.default)(YoutubeLoader, [{
6548 + key: "getApiURL",
6549 + value: function getApiURL() {
6550 + return 'https://www.youtube.com/iframe_api';
6551 + }
6552 + }, {
6553 + key: "getURLRegex",
6554 + value: function getURLRegex() {
6555 + return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/;
6556 + }
6557 + }, {
6558 + key: "isApiLoaded",
6559 + value: function isApiLoaded() {
6560 + return window.YT && YT.loaded;
6561 + }
6562 + }, {
6563 + key: "getApiObject",
6564 + value: function getApiObject() {
6565 + return YT;
6566 + }
6567 + }]);
6568 + return YoutubeLoader;
6569 +}(_baseLoader.default);
6570 +
6571 +exports.default = YoutubeLoader;
6572 +
6573 +/***/ }),
6574 +/* 788 */
6575 +/***/ (function(module, exports, __webpack_require__) {
6576 +
6577 +"use strict";
6578 +
6579 +
6580 +var _interopRequireDefault = __webpack_require__(0);
6581 +
6582 +var _Object$defineProperty = __webpack_require__(1);
6583 +
6584 +_Object$defineProperty(exports, "__esModule", {
6585 + value: true
6586 +});
6587 +
6588 +exports.default = void 0;
6589 +
6590 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6591 +
6592 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6593 +
6594 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6595 +
6596 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6597 +
6598 +var _baseLoader = _interopRequireDefault(__webpack_require__(697));
6599 +
6600 +var VimeoLoader = /*#__PURE__*/function (_BaseLoader) {
6601 + (0, _inherits2.default)(VimeoLoader, _BaseLoader);
6602 +
6603 + var _super = (0, _createSuper2.default)(VimeoLoader);
6604 +
6605 + function VimeoLoader() {
6606 + (0, _classCallCheck2.default)(this, VimeoLoader);
6607 + return _super.apply(this, arguments);
6608 + }
6609 +
6610 + (0, _createClass2.default)(VimeoLoader, [{
6611 + key: "getApiURL",
6612 + value: function getApiURL() {
6613 + return 'https://player.vimeo.com/api/player.js';
6614 + }
6615 + }, {
6616 + key: "getURLRegex",
6617 + value: function getURLRegex() {
6618 + return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
6619 + }
6620 + }, {
6621 + key: "isApiLoaded",
6622 + value: function isApiLoaded() {
6623 + return window.Vimeo;
6624 + }
6625 + }, {
6626 + key: "getApiObject",
6627 + value: function getApiObject() {
6628 + return Vimeo;
6629 + }
6630 + }]);
6631 + return VimeoLoader;
6632 +}(_baseLoader.default);
6633 +
6634 +exports.default = VimeoLoader;
6635 +
6636 +/***/ }),
6637 +/* 789 */
6638 +/***/ (function(module, exports, __webpack_require__) {
6639 +
6640 +"use strict";
6641 +
6642 +
6643 +var _interopRequireDefault = __webpack_require__(0);
6644 +
6645 +var _Object$defineProperty = __webpack_require__(1);
6646 +
6647 +_Object$defineProperty(exports, "__esModule", {
6648 + value: true
6649 +});
6650 +
6651 +exports.default = void 0;
6652 +
6653 +var _stringify = _interopRequireDefault(__webpack_require__(204));
6654 +
6655 +__webpack_require__(119);
6656 +
6657 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6658 +
6659 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6660 +
6661 +var _get2 = _interopRequireDefault(__webpack_require__(25));
6662 +
6663 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
6664 +
6665 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
6666 +
6667 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
6668 +
6669 +var _default = /*#__PURE__*/function (_elementorModules$Vie) {
6670 + (0, _inherits2.default)(_default, _elementorModules$Vie);
6671 +
6672 + var _super = (0, _createSuper2.default)(_default);
6673 +
6674 + function _default() {
6675 + (0, _classCallCheck2.default)(this, _default);
6676 + return _super.apply(this, arguments);
6677 + }
6678 +
6679 + (0, _createClass2.default)(_default, [{
6680 + key: "getDefaultSettings",
6681 + value: function getDefaultSettings() {
6682 + return {
6683 + selectors: {
6684 + links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
6685 + }
6686 + };
6687 + }
6688 + }, {
6689 + key: "bindEvents",
6690 + value: function bindEvents() {
6691 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
6692 + }
6693 + }, {
6694 + key: "initActions",
6695 + value: function initActions() {
6696 + this.actions = {
6697 + lightbox: function lightbox(settings) {
6698 + if (settings.id) {
6699 + elementorFrontend.utils.lightbox.openSlideshow(settings.id, settings.url);
6700 + } else {
6701 + elementorFrontend.utils.lightbox.showModal(settings);
6702 + }
6703 + }
6704 + };
6705 + }
6706 + }, {
6707 + key: "addAction",
6708 + value: function addAction(name, callback) {
6709 + this.actions[name] = callback;
6710 + }
6711 + }, {
6712 + key: "runAction",
6713 + value: function runAction(url) {
6714 + url = decodeURIComponent(url);
6715 + var actionMatch = url.match(/action=(.+?)&/),
6716 + settingsMatch = url.match(/settings=(.+)/);
6717 +
6718 + if (!actionMatch) {
6719 + return;
6720 + }
6721 +
6722 + var action = this.actions[actionMatch[1]];
6723 +
6724 + if (!action) {
6725 + return;
6726 + }
6727 +
6728 + var settings = {};
6729 +
6730 + if (settingsMatch) {
6731 + settings = JSON.parse(atob(settingsMatch[1]));
6732 + }
6733 +
6734 + for (var _len = arguments.length, restArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
6735 + restArgs[_key - 1] = arguments[_key];
6736 + }
6737 +
6738 + action.apply(void 0, [settings].concat(restArgs));
6739 + }
6740 + }, {
6741 + key: "runLinkAction",
6742 + value: function runLinkAction(event) {
6743 + event.preventDefault();
6744 + this.runAction(jQuery(event.currentTarget).attr('href'), event);
6745 + }
6746 + }, {
6747 + key: "runHashAction",
6748 + value: function runHashAction() {
6749 + if (location.hash) {
6750 + this.runAction(location.hash);
6751 + }
6752 + }
6753 + }, {
6754 + key: "createActionHash",
6755 + value: function createActionHash(action, settings) {
6756 + // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
6757 + return encodeURIComponent("#elementor-action:action=".concat(action, "&settings=").concat(btoa((0, _stringify.default)(settings))));
6758 + }
6759 + }, {
6760 + key: "onInit",
6761 + value: function onInit() {
6762 + (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
6763 + this.initActions();
6764 + elementorFrontend.on('components:init', this.runHashAction.bind(this));
6765 + }
6766 + }]);
6767 + return _default;
6768 +}(elementorModules.ViewModule);
6769 +
6770 +exports.default = _default;
6771 +
6772 +/***/ }),
6773 +/* 790 */
6774 +/***/ (function(module, exports, __webpack_require__) {
6775 +
6776 +"use strict";
6777 +
6778 +
6779 +var _interopRequireDefault = __webpack_require__(0);
6780 +
6781 +var _Object$defineProperty = __webpack_require__(1);
6782 +
6783 +_Object$defineProperty(exports, "__esModule", {
6784 + value: true
6785 +});
6786 +
6787 +exports.default = void 0;
6788 +
6789 +__webpack_require__(302);
6790 +
6791 +var _parseInt2 = _interopRequireDefault(__webpack_require__(211));
6792 +
6793 +var _keys = _interopRequireDefault(__webpack_require__(23));
6794 +
6795 +var _values = _interopRequireDefault(__webpack_require__(54));
6796 +
6797 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
6798 +
6799 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
6800 +
6801 +var originalSwiper = window.Swiper;
6802 +
6803 +var Swiper = /*#__PURE__*/function () {
6804 + function Swiper(container, config) {
6805 + (0, _classCallCheck2.default)(this, Swiper);
6806 + this.config = config;
6807 +
6808 + if (this.config.breakpoints) {
6809 + // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
6810 + this.config = this.adjustConfig(config);
6811 + }
6812 +
6813 + originalSwiper.prototype.adjustConfig = this.adjustConfig;
6814 + return new originalSwiper(container, this.config);
6815 + } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
6816 + // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
6817 +
6818 +
6819 + (0, _createClass2.default)(Swiper, [{
6820 + key: "adjustConfig",
6821 + value: function adjustConfig(config) {
6822 + // Only reverse the breakpoints if the handle param has been defined
6823 + if (!config.handleElementorBreakpoints) {
6824 + return config;
6825 + }
6826 +
6827 + var elementorBreakpoints = elementorFrontend.config.breakpoints,
6828 + elementorBreakpointValues = (0, _values.default)(elementorBreakpoints);
6829 + (0, _keys.default)(config.breakpoints).forEach(function (configBPKey) {
6830 + var configBPKeyInt = (0, _parseInt2.default)(configBPKey);
6831 + 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
6832 +
6833 + if (configBPKeyInt === elementorBreakpoints.md || configBPKeyInt + 1 === elementorBreakpoints.md) {
6834 + // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
6835 + // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
6836 + breakpointToUpdate = elementorBreakpoints.xs;
6837 + } else {
6838 + // Find the index of the current config breakpoint in the Elementor Breakpoints array
6839 + var currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(function (elementorBP) {
6840 + // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
6841 + return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
6842 + }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
6843 + // according to the array of Elementor's global breakpoints
6844 +
6845 + breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
6846 + }
6847 +
6848 + config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values
6849 +
6850 + config.breakpoints[configBPKey] = {
6851 + slidesPerView: config.slidesPerView,
6852 + slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
6853 + };
6854 + });
6855 + return config;
6856 + }
6857 + }]);
6858 + return Swiper;
6859 +}();
6860 +
6861 +exports.default = Swiper;
6862 +window.Swiper = Swiper;
6863 +
6864 +/***/ }),
6865 +/* 791 */
6866 +/***/ (function(module, exports, __webpack_require__) {
6867 +
6868 +"use strict";
6869 +
6870 +
6871 +var _interopRequireDefault = __webpack_require__(0);
6872 +
6873 +var _accordion = _interopRequireDefault(__webpack_require__(792));
6874 +
6875 +var _alert = _interopRequireDefault(__webpack_require__(793));
6876 +
6877 +var _counter = _interopRequireDefault(__webpack_require__(794));
6878 +
6879 +var _progress = _interopRequireDefault(__webpack_require__(795));
6880 +
6881 +var _tabs = _interopRequireDefault(__webpack_require__(796));
6882 +
6883 +var _toggle = _interopRequireDefault(__webpack_require__(797));
6884 +
6885 +var _video = _interopRequireDefault(__webpack_require__(798));
6886 +
6887 +var _imageCarousel = _interopRequireDefault(__webpack_require__(799));
6888 +
6889 +var _textEditor = _interopRequireDefault(__webpack_require__(800));
6890 +
6891 +var _section = _interopRequireDefault(__webpack_require__(801));
6892 +
6893 +var _column = _interopRequireDefault(__webpack_require__(806));
6894 +
6895 +var _global = _interopRequireDefault(__webpack_require__(807));
6896 +
6897 +module.exports = function ($) {
6898 + var self = this; // element-type.skin-type
6899 +
6900 + var handlers = {
6901 + // Elements
6902 + section: _section.default,
6903 + column: _column.default,
6904 + // Widgets
6905 + 'accordion.default': _accordion.default,
6906 + 'alert.default': _alert.default,
6907 + 'counter.default': _counter.default,
6908 + 'progress.default': _progress.default,
6909 + 'tabs.default': _tabs.default,
6910 + 'toggle.default': _toggle.default,
6911 + 'video.default': _video.default,
6912 + 'image-carousel.default': _imageCarousel.default,
6913 + 'text-editor.default': _textEditor.default
6914 + };
6915 + var handlersInstances = {};
6916 +
6917 + var addGlobalHandlers = function addGlobalHandlers() {
6918 + elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
6919 + };
6920 +
6921 + var addElementsHandlers = function addElementsHandlers() {
6922 + $.each(handlers, function (elementName, funcCallback) {
6923 + elementorFrontend.hooks.addAction('frontend/element_ready/' + elementName, funcCallback);
6924 + });
6925 + };
6926 +
6927 + var init = function init() {
6928 + self.initHandlers();
6929 + };
6930 +
6931 + this.initHandlers = function () {
6932 + addGlobalHandlers();
6933 + addElementsHandlers();
6934 + };
6935 +
6936 + this.addHandler = function (HandlerClass, options) {
6937 + var elementID = options.$element.data('model-cid');
6938 + var handlerID; // If element is in edit mode
6939 +
6940 + if (elementID) {
6941 + handlerID = HandlerClass.prototype.getConstructorID();
6942 +
6943 + if (!handlersInstances[elementID]) {
6944 + handlersInstances[elementID] = {};
6945 + }
6946 +
6947 + var oldHandler = handlersInstances[elementID][handlerID];
6948 +
6949 + if (oldHandler) {
6950 + oldHandler.onDestroy();
6951 + }
6952 + }
6953 +
6954 + var newHandler = new HandlerClass(options);
6955 +
6956 + if (elementID) {
6957 + handlersInstances[elementID][handlerID] = newHandler;
6958 + }
6959 + };
6960 +
6961 + this.getHandlers = function (handlerName) {
6962 + if (handlerName) {
6963 + return handlers[handlerName];
6964 + }
6965 +
6966 + return handlers;
6967 + };
6968 +
6969 + this.runReadyTrigger = function (scope) {
6970 + if (elementorFrontend.config.is_static) {
2113 6971 return;
6972 + } // Initializing the `$scope` as frontend jQuery instance
6973 +
6974 +
6975 + var $scope = jQuery(scope),
6976 + elementType = $scope.attr('data-element_type');
6977 +
6978 + if (!elementType) {
6979 + return;
2114 6980 }
2115 - storage.setItem('elementor', JSON.stringify(object));
6981 +
6982 + elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
6983 + elementorFrontend.hooks.doAction('frontend/element_ready/' + elementType, $scope, $);
6984 +
6985 + if ('widget' === elementType) {
6986 + elementorFrontend.hooks.doAction('frontend/element_ready/' + $scope.attr('data-widget_type'), $scope, $);
6987 + }
6988 + };
6989 +
6990 + init();
6991 +};
6992 +
6993 +/***/ }),
6994 +/* 792 */
6995 +/***/ (function(module, exports, __webpack_require__) {
6996 +
6997 +"use strict";
6998 +
6999 +
7000 +var _interopRequireDefault = __webpack_require__(0);
7001 +
7002 +var _Object$defineProperty = __webpack_require__(1);
7003 +
7004 +_Object$defineProperty(exports, "__esModule", {
7005 + value: true
7006 +});
7007 +
7008 +exports.default = void 0;
7009 +
7010 +var _baseTabs = _interopRequireDefault(__webpack_require__(658));
7011 +
7012 +var _default = function _default($scope) {
7013 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7014 + $element: $scope,
7015 + showTabFn: 'slideDown',
7016 + hideTabFn: 'slideUp'
7017 + });
7018 +};
7019 +
7020 +exports.default = _default;
7021 +
7022 +/***/ }),
7023 +/* 793 */
7024 +/***/ (function(module, exports, __webpack_require__) {
7025 +
7026 +"use strict";
7027 +
7028 +
7029 +var _interopRequireDefault = __webpack_require__(0);
7030 +
7031 +var _Object$defineProperty = __webpack_require__(1);
7032 +
7033 +_Object$defineProperty(exports, "__esModule", {
7034 + value: true
7035 +});
7036 +
7037 +exports.default = void 0;
7038 +
7039 +__webpack_require__(26);
7040 +
7041 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7042 +
7043 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7044 +
7045 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7046 +
7047 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7048 +
7049 +var Alert = /*#__PURE__*/function (_elementorModules$fro) {
7050 + (0, _inherits2.default)(Alert, _elementorModules$fro);
7051 +
7052 + var _super = (0, _createSuper2.default)(Alert);
7053 +
7054 + function Alert() {
7055 + (0, _classCallCheck2.default)(this, Alert);
7056 + return _super.apply(this, arguments);
2116 7057 }
2117 -}
2118 -exports["default"] = _default;
2119 7058
7059 + (0, _createClass2.default)(Alert, [{
7060 + key: "getDefaultSettings",
7061 + value: function getDefaultSettings() {
7062 + return {
7063 + selectors: {
7064 + dismissButton: '.elementor-alert-dismiss'
7065 + }
7066 + };
7067 + }
7068 + }, {
7069 + key: "getDefaultElements",
7070 + value: function getDefaultElements() {
7071 + var selectors = this.getSettings('selectors');
7072 + return {
7073 + $dismissButton: this.$element.find(selectors.dismissButton)
7074 + };
7075 + }
7076 + }, {
7077 + key: "bindEvents",
7078 + value: function bindEvents() {
7079 + this.elements.$dismissButton.on('click', this.onDismissButtonClick.bind(this));
7080 + }
7081 + }, {
7082 + key: "onDismissButtonClick",
7083 + value: function onDismissButtonClick() {
7084 + this.$element.fadeOut();
7085 + }
7086 + }]);
7087 + return Alert;
7088 +}(elementorModules.frontend.handlers.Base);
7089 +
7090 +var _default = function _default($scope) {
7091 + elementorFrontend.elementsHandler.addHandler(Alert, {
7092 + $element: $scope
7093 + });
7094 +};
7095 +
7096 +exports.default = _default;
7097 +
2120 7098 /***/ }),
7099 +/* 794 */
7100 +/***/ (function(module, exports, __webpack_require__) {
2121 7101
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__) => {
7102 +"use strict";
2127 7103
2128 7104
7105 +var _interopRequireDefault = __webpack_require__(0);
2129 7106
2130 -Object.defineProperty(exports, "__esModule", ({
7107 +var _Object$defineProperty = __webpack_require__(1);
7108 +
7109 +_Object$defineProperty(exports, "__esModule", {
2131 7110 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")));
7111 +});
7112 +
7113 +exports.default = void 0;
7114 +
7115 +__webpack_require__(182);
7116 +
7117 +__webpack_require__(72);
7118 +
7119 +__webpack_require__(119);
7120 +
7121 +__webpack_require__(26);
7122 +
7123 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7124 +
7125 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7126 +
7127 +var _get2 = _interopRequireDefault(__webpack_require__(25));
7128 +
7129 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7130 +
7131 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7132 +
7133 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7134 +
7135 +var Counter = /*#__PURE__*/function (_elementorModules$fro) {
7136 + (0, _inherits2.default)(Counter, _elementorModules$fro);
7137 +
7138 + var _super = (0, _createSuper2.default)(Counter);
7139 +
7140 + function Counter() {
7141 + (0, _classCallCheck2.default)(this, Counter);
7142 + return _super.apply(this, arguments);
2138 7143 }
2139 -}
2140 -exports["default"] = _default;
2141 7144
7145 + (0, _createClass2.default)(Counter, [{
7146 + key: "getDefaultSettings",
7147 + value: function getDefaultSettings() {
7148 + return {
7149 + selectors: {
7150 + counterNumber: '.elementor-counter-number'
7151 + }
7152 + };
7153 + }
7154 + }, {
7155 + key: "getDefaultElements",
7156 + value: function getDefaultElements() {
7157 + var selectors = this.getSettings('selectors');
7158 + return {
7159 + $counterNumber: this.$element.find(selectors.counterNumber)
7160 + };
7161 + }
7162 + }, {
7163 + key: "onInit",
7164 + value: function onInit() {
7165 + var _this = this;
7166 +
7167 + (0, _get2.default)((0, _getPrototypeOf2.default)(Counter.prototype), "onInit", this).call(this);
7168 + elementorFrontend.waypoint(this.elements.$counterNumber, function () {
7169 + var data = _this.elements.$counterNumber.data(),
7170 + decimalDigits = data.toValue.toString().match(/\.(.*)/);
7171 +
7172 + if (decimalDigits) {
7173 + data.rounding = decimalDigits[1].length;
7174 + }
7175 +
7176 + _this.elements.$counterNumber.numerator(data);
7177 + });
7178 + }
7179 + }]);
7180 + return Counter;
7181 +}(elementorModules.frontend.handlers.Base);
7182 +
7183 +var _default = function _default($scope) {
7184 + elementorFrontend.elementsHandler.addHandler(Counter, {
7185 + $element: $scope
7186 + });
7187 +};
7188 +
7189 +exports.default = _default;
7190 +
2142 7191 /***/ }),
7192 +/* 795 */
7193 +/***/ (function(module, exports, __webpack_require__) {
2143 7194
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__) => {
7195 +"use strict";
2149 7196
2150 7197
2151 -var isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ "../node_modules/core-js/internals/is-possible-prototype.js");
7198 +var _interopRequireDefault = __webpack_require__(0);
2152 7199
2153 -var $String = String;
2154 -var $TypeError = TypeError;
7200 +var _Object$defineProperty = __webpack_require__(1);
2155 7201
2156 -module.exports = function (argument) {
2157 - if (isPossiblePrototype(argument)) return argument;
2158 - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
7202 +_Object$defineProperty(exports, "__esModule", {
7203 + value: true
7204 +});
7205 +
7206 +exports.default = void 0;
7207 +
7208 +__webpack_require__(26);
7209 +
7210 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7211 +
7212 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7213 +
7214 +var _get2 = _interopRequireDefault(__webpack_require__(25));
7215 +
7216 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7217 +
7218 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7219 +
7220 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7221 +
7222 +var Progress = /*#__PURE__*/function (_elementorModules$fro) {
7223 + (0, _inherits2.default)(Progress, _elementorModules$fro);
7224 +
7225 + var _super = (0, _createSuper2.default)(Progress);
7226 +
7227 + function Progress() {
7228 + (0, _classCallCheck2.default)(this, Progress);
7229 + return _super.apply(this, arguments);
7230 + }
7231 +
7232 + (0, _createClass2.default)(Progress, [{
7233 + key: "getDefaultSettings",
7234 + value: function getDefaultSettings() {
7235 + return {
7236 + selectors: {
7237 + progressNumber: '.elementor-progress-bar'
7238 + }
7239 + };
7240 + }
7241 + }, {
7242 + key: "getDefaultElements",
7243 + value: function getDefaultElements() {
7244 + var selectors = this.getSettings('selectors');
7245 + return {
7246 + $progressNumber: this.$element.find(selectors.progressNumber)
7247 + };
7248 + }
7249 + }, {
7250 + key: "onInit",
7251 + value: function onInit() {
7252 + var _this = this;
7253 +
7254 + (0, _get2.default)((0, _getPrototypeOf2.default)(Progress.prototype), "onInit", this).call(this);
7255 + elementorFrontend.waypoint(this.elements.$progressNumber, function () {
7256 + var $progressbar = _this.elements.$progressNumber;
7257 + $progressbar.css('width', $progressbar.data('max') + '%');
7258 + });
7259 + }
7260 + }]);
7261 + return Progress;
7262 +}(elementorModules.frontend.handlers.Base);
7263 +
7264 +var _default = function _default($scope) {
7265 + elementorFrontend.elementsHandler.addHandler(Progress, {
7266 + $element: $scope
7267 + });
2159 7268 };
2160 7269
7270 +exports.default = _default;
2161 7271
2162 7272 /***/ }),
7273 +/* 796 */
7274 +/***/ (function(module, exports, __webpack_require__) {
2163 7275
2164 -/***/ "../node_modules/core-js/internals/dom-exception-constants.js":
2165 -/*!********************************************************************!*\
2166 - !*** ../node_modules/core-js/internals/dom-exception-constants.js ***!
2167 - \********************************************************************/
2168 -/***/ ((module) => {
7276 +"use strict";
2169 7277
2170 7278
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 }
7279 +var _interopRequireDefault = __webpack_require__(0);
7280 +
7281 +var _Object$defineProperty = __webpack_require__(1);
7282 +
7283 +_Object$defineProperty(exports, "__esModule", {
7284 + value: true
7285 +});
7286 +
7287 +exports.default = void 0;
7288 +
7289 +var _baseTabs = _interopRequireDefault(__webpack_require__(658));
7290 +
7291 +var _default = function _default($scope) {
7292 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7293 + $element: $scope,
7294 + toggleSelf: false
7295 + });
2197 7296 };
2198 7297
7298 +exports.default = _default;
2199 7299
2200 7300 /***/ }),
7301 +/* 797 */
7302 +/***/ (function(module, exports, __webpack_require__) {
2201 7303
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__) => {
7304 +"use strict";
2207 7305
2208 7306
2209 -var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
7307 +var _interopRequireDefault = __webpack_require__(0);
2210 7308
2211 -var $Error = Error;
2212 -var replace = uncurryThis(''.replace);
7309 +var _Object$defineProperty = __webpack_require__(1);
2213 7310
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);
7311 +_Object$defineProperty(exports, "__esModule", {
7312 + value: true
7313 +});
2218 7314
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;
7315 +exports.default = void 0;
7316 +
7317 +var _baseTabs = _interopRequireDefault(__webpack_require__(658));
7318 +
7319 +var _default = function _default($scope) {
7320 + elementorFrontend.elementsHandler.addHandler(_baseTabs.default, {
7321 + $element: $scope,
7322 + showTabFn: 'slideDown',
7323 + hideTabFn: 'slideUp',
7324 + hidePrevious: false,
7325 + autoExpand: 'editor'
7326 + });
2223 7327 };
2224 7328
7329 +exports.default = _default;
2225 7330
2226 7331 /***/ }),
7332 +/* 798 */
7333 +/***/ (function(module, exports, __webpack_require__) {
2227 7334
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__) => {
7335 +"use strict";
2233 7336
2234 7337
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");
7338 +var _interopRequireDefault = __webpack_require__(0);
2237 7339
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 */ }
7340 +var _Object$defineProperty = __webpack_require__(1);
7341 +
7342 +_Object$defineProperty(exports, "__esModule", {
7343 + value: true
7344 +});
7345 +
7346 +exports.default = void 0;
7347 +
7348 +__webpack_require__(141);
7349 +
7350 +__webpack_require__(188);
7351 +
7352 +__webpack_require__(58);
7353 +
7354 +__webpack_require__(26);
7355 +
7356 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7357 +
7358 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7359 +
7360 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7361 +
7362 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7363 +
7364 +var VideoModule = /*#__PURE__*/function (_elementorModules$fro) {
7365 + (0, _inherits2.default)(VideoModule, _elementorModules$fro);
7366 +
7367 + var _super = (0, _createSuper2.default)(VideoModule);
7368 +
7369 + function VideoModule() {
7370 + (0, _classCallCheck2.default)(this, VideoModule);
7371 + return _super.apply(this, arguments);
7372 + }
7373 +
7374 + (0, _createClass2.default)(VideoModule, [{
7375 + key: "getDefaultSettings",
7376 + value: function getDefaultSettings() {
7377 + return {
7378 + selectors: {
7379 + imageOverlay: '.elementor-custom-embed-image-overlay',
7380 + video: '.elementor-video',
7381 + videoIframe: '.elementor-video-iframe'
7382 + }
7383 + };
7384 + }
7385 + }, {
7386 + key: "getDefaultElements",
7387 + value: function getDefaultElements() {
7388 + var selectors = this.getSettings('selectors');
7389 + return {
7390 + $imageOverlay: this.$element.find(selectors.imageOverlay),
7391 + $video: this.$element.find(selectors.video),
7392 + $videoIframe: this.$element.find(selectors.videoIframe)
7393 + };
7394 + }
7395 + }, {
7396 + key: "getLightBox",
7397 + value: function getLightBox() {
7398 + return elementorFrontend.utils.lightbox;
7399 + }
7400 + }, {
7401 + key: "handleVideo",
7402 + value: function handleVideo() {
7403 + if (!this.getElementSettings('lightbox')) {
7404 + this.elements.$imageOverlay.remove();
7405 + this.playVideo();
7406 + }
7407 + }
7408 + }, {
7409 + key: "playVideo",
7410 + value: function playVideo() {
7411 + if (this.elements.$video.length) {
7412 + this.elements.$video[0].play();
7413 + return;
7414 + }
7415 +
7416 + var $videoIframe = this.elements.$videoIframe,
7417 + lazyLoad = $videoIframe.data('lazy-load');
7418 +
7419 + if (lazyLoad) {
7420 + $videoIframe.attr('src', lazyLoad);
7421 + }
7422 +
7423 + var newSourceUrl = $videoIframe[0].src.replace('&autoplay=0', '');
7424 + $videoIframe[0].src = newSourceUrl + '&autoplay=1';
7425 +
7426 + if ($videoIframe[0].src.includes('vimeo.com')) {
7427 + var videoSrc = $videoIframe[0].src,
7428 + timeMatch = /#t=[^&]*/.exec(videoSrc); // Param '#t=' must be last in the URL
7429 +
7430 + $videoIframe[0].src = videoSrc.slice(0, timeMatch.index) + videoSrc.slice(timeMatch.index + timeMatch[0].length) + timeMatch[0];
7431 + }
7432 + }
7433 + }, {
7434 + key: "animateVideo",
7435 + value: function animateVideo() {
7436 + this.getLightBox().setEntranceAnimation(this.getCurrentDeviceSetting('lightbox_content_animation'));
7437 + }
7438 + }, {
7439 + key: "handleAspectRatio",
7440 + value: function handleAspectRatio() {
7441 + this.getLightBox().setVideoAspectRatio(this.getElementSettings('aspect_ratio'));
7442 + }
7443 + }, {
7444 + key: "bindEvents",
7445 + value: function bindEvents() {
7446 + this.elements.$imageOverlay.on('click', this.handleVideo.bind(this));
7447 + }
7448 + }, {
7449 + key: "onElementChange",
7450 + value: function onElementChange(propertyName) {
7451 + if (0 === propertyName.indexOf('lightbox_content_animation')) {
7452 + this.animateVideo();
7453 + return;
7454 + }
7455 +
7456 + var isLightBoxEnabled = this.getElementSettings('lightbox');
7457 +
7458 + if ('lightbox' === propertyName && !isLightBoxEnabled) {
7459 + this.getLightBox().getModal().hide();
7460 + return;
7461 + }
7462 +
7463 + if ('aspect_ratio' === propertyName && isLightBoxEnabled) {
7464 + this.handleAspectRatio();
7465 + }
7466 + }
7467 + }]);
7468 + return VideoModule;
7469 +}(elementorModules.frontend.handlers.Base);
7470 +
7471 +var _default = function _default($scope) {
7472 + elementorFrontend.elementsHandler.addHandler(VideoModule, {
7473 + $element: $scope
7474 + });
2243 7475 };
2244 7476
7477 +exports.default = _default;
2245 7478
2246 7479 /***/ }),
7480 +/* 799 */
7481 +/***/ (function(module, exports, __webpack_require__) {
2247 7482
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__) => {
7483 +"use strict";
2253 7484
2254 7485
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");
7486 +var _interopRequireDefault = __webpack_require__(0);
2258 7487
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;
7488 +var _Object$defineProperty = __webpack_require__(1);
7489 +
7490 +_Object$defineProperty(exports, "__esModule", {
7491 + value: true
7492 +});
7493 +
7494 +exports.default = void 0;
7495 +
7496 +__webpack_require__(26);
7497 +
7498 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7499 +
7500 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7501 +
7502 +var _get3 = _interopRequireDefault(__webpack_require__(25));
7503 +
7504 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7505 +
7506 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7507 +
7508 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7509 +
7510 +var ImageCarouselHandler = /*#__PURE__*/function (_elementorModules$fro) {
7511 + (0, _inherits2.default)(ImageCarouselHandler, _elementorModules$fro);
7512 +
7513 + var _super = (0, _createSuper2.default)(ImageCarouselHandler);
7514 +
7515 + function ImageCarouselHandler() {
7516 + (0, _classCallCheck2.default)(this, ImageCarouselHandler);
7517 + return _super.apply(this, arguments);
7518 + }
7519 +
7520 + (0, _createClass2.default)(ImageCarouselHandler, [{
7521 + key: "getDefaultSettings",
7522 + value: function getDefaultSettings() {
7523 + return {
7524 + selectors: {
7525 + carousel: '.elementor-image-carousel-wrapper',
7526 + slideContent: '.swiper-slide'
7527 + }
7528 + };
7529 + }
7530 + }, {
7531 + key: "getDefaultElements",
7532 + value: function getDefaultElements() {
7533 + var selectors = this.getSettings('selectors');
7534 + var elements = {
7535 + $swiperContainer: this.$element.find(selectors.carousel)
7536 + };
7537 + elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
7538 + return elements;
7539 + }
7540 + }, {
7541 + key: "getSwiperSettings",
7542 + value: function getSwiperSettings() {
7543 + var elementSettings = this.getElementSettings(),
7544 + slidesToShow = +elementSettings.slides_to_show || 3,
7545 + isSingleSlide = 1 === slidesToShow,
7546 + defaultLGDevicesSlidesCount = isSingleSlide ? 1 : 2,
7547 + elementorBreakpoints = elementorFrontend.config.breakpoints;
7548 + var swiperOptions = {
7549 + slidesPerView: slidesToShow,
7550 + loop: 'yes' === elementSettings.infinite,
7551 + speed: elementSettings.speed,
7552 + handleElementorBreakpoints: true
7553 + };
7554 + swiperOptions.breakpoints = {};
7555 + swiperOptions.breakpoints[elementorBreakpoints.md] = {
7556 + slidesPerView: +elementSettings.slides_to_show_mobile || 1,
7557 + slidesPerGroup: +elementSettings.slides_to_scroll_mobile || 1
7558 + };
7559 + swiperOptions.breakpoints[elementorBreakpoints.lg] = {
7560 + slidesPerView: +elementSettings.slides_to_show_tablet || defaultLGDevicesSlidesCount,
7561 + slidesPerGroup: +elementSettings.slides_to_scroll_tablet || 1
7562 + };
7563 +
7564 + if (!this.isEdit && 'yes' === elementSettings.autoplay) {
7565 + swiperOptions.autoplay = {
7566 + delay: elementSettings.autoplay_speed,
7567 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7568 + };
7569 + }
7570 +
7571 + if (isSingleSlide) {
7572 + swiperOptions.effect = elementSettings.effect;
7573 +
7574 + if ('fade' === elementSettings.effect) {
7575 + swiperOptions.fadeEffect = {
7576 + crossFade: true
7577 + };
7578 + }
7579 + } else {
7580 + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
7581 + }
7582 +
7583 + if (elementSettings.image_spacing_custom) {
7584 + swiperOptions.spaceBetween = elementSettings.image_spacing_custom.size;
7585 + }
7586 +
7587 + var showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
7588 + showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation;
7589 +
7590 + if (showArrows) {
7591 + swiperOptions.navigation = {
7592 + prevEl: '.elementor-swiper-button-prev',
7593 + nextEl: '.elementor-swiper-button-next'
7594 + };
7595 + }
7596 +
7597 + if (showDots) {
7598 + swiperOptions.pagination = {
7599 + el: '.swiper-pagination',
7600 + type: 'bullets',
7601 + clickable: true
7602 + };
7603 + }
7604 +
7605 + return swiperOptions;
7606 + }
7607 + }, {
7608 + key: "onInit",
7609 + value: function onInit() {
7610 + var _get2;
7611 +
7612 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7613 + args[_key] = arguments[_key];
7614 + }
7615 +
7616 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(ImageCarouselHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7617 +
7618 + var elementSettings = this.getElementSettings();
7619 +
7620 + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
7621 + return;
7622 + }
7623 +
7624 + this.swiper = new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); // Expose the swiper instance in the frontend
7625 +
7626 + this.elements.$swiperContainer.data('swiper', this.swiper);
7627 +
7628 + if ('yes' === elementSettings.pause_on_hover) {
7629 + this.togglePauseOnHover(true);
7630 + }
7631 + }
7632 + }, {
7633 + key: "updateSwiperOption",
7634 + value: function updateSwiperOption(propertyName) {
7635 + var elementSettings = this.getElementSettings(),
7636 + newSettingValue = elementSettings[propertyName],
7637 + changeableProperties = this.getChangeableProperties();
7638 + var propertyToUpdate = changeableProperties[propertyName],
7639 + valueToUpdate = newSettingValue; // Handle special cases where the value to update is not the value that the Swiper library accepts
7640 +
7641 + switch (propertyName) {
7642 + case 'image_spacing_custom':
7643 + valueToUpdate = newSettingValue.size || 0;
7644 + break;
7645 +
7646 + case 'autoplay':
7647 + if (newSettingValue) {
7648 + valueToUpdate = {
7649 + delay: elementSettings.autoplay_speed,
7650 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7651 + };
7652 + } else {
7653 + valueToUpdate = false;
7654 + }
7655 +
7656 + break;
7657 +
7658 + case 'autoplay_speed':
7659 + propertyToUpdate = 'autoplay';
7660 + valueToUpdate = {
7661 + delay: newSettingValue,
7662 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
7663 + };
7664 + break;
7665 +
7666 + case 'pause_on_hover':
7667 + this.togglePauseOnHover('yes' === newSettingValue);
7668 + break;
7669 +
7670 + case 'pause_on_interaction':
7671 + valueToUpdate = 'yes' === newSettingValue;
7672 + break;
7673 + } // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library
7674 +
7675 +
7676 + if ('pause_on_hover' !== propertyName) {
7677 + this.swiper.params[propertyToUpdate] = valueToUpdate;
7678 + }
7679 +
7680 + this.swiper.update();
7681 + }
7682 + }, {
7683 + key: "getChangeableProperties",
7684 + value: function getChangeableProperties() {
7685 + return {
7686 + autoplay: 'autoplay',
7687 + pause_on_hover: 'pauseOnHover',
7688 + pause_on_interaction: 'disableOnInteraction',
7689 + autoplay_speed: 'delay',
7690 + speed: 'speed',
7691 + image_spacing_custom: 'spaceBetween'
7692 + };
7693 + }
7694 + }, {
7695 + key: "onElementChange",
7696 + value: function onElementChange(propertyName) {
7697 + var changeableProperties = this.getChangeableProperties();
7698 +
7699 + if (changeableProperties.propertyName) {
7700 + this.updateSwiperOption(propertyName);
7701 + }
7702 + }
7703 + }, {
7704 + key: "onEditSettingsChange",
7705 + value: function onEditSettingsChange(propertyName) {
7706 + if ('activeItemIndex' === propertyName) {
7707 + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
7708 + }
7709 + }
7710 + }]);
7711 + return ImageCarouselHandler;
7712 +}(elementorModules.frontend.handlers.SwiperBase);
7713 +
7714 +var _default = function _default($scope) {
7715 + elementorFrontend.elementsHandler.addHandler(ImageCarouselHandler, {
7716 + $element: $scope
7717 + });
2272 7718 };
2273 7719
7720 +exports.default = _default;
2274 7721
2275 7722 /***/ }),
7723 +/* 800 */
7724 +/***/ (function(module, exports, __webpack_require__) {
2276 7725
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__) => {
7726 +"use strict";
2282 7727
2283 7728
2284 -var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
7729 +var _interopRequireDefault = __webpack_require__(0);
2285 7730
2286 -module.exports = function (argument) {
2287 - return isObject(argument) || argument === null;
7731 +var _Object$defineProperty = __webpack_require__(1);
7732 +
7733 +_Object$defineProperty(exports, "__esModule", {
7734 + value: true
7735 +});
7736 +
7737 +exports.default = void 0;
7738 +
7739 +__webpack_require__(119);
7740 +
7741 +__webpack_require__(58);
7742 +
7743 +__webpack_require__(26);
7744 +
7745 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7746 +
7747 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7748 +
7749 +var _get3 = _interopRequireDefault(__webpack_require__(25));
7750 +
7751 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7752 +
7753 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7754 +
7755 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7756 +
7757 +var TextEditor = /*#__PURE__*/function (_elementorModules$fro) {
7758 + (0, _inherits2.default)(TextEditor, _elementorModules$fro);
7759 +
7760 + var _super = (0, _createSuper2.default)(TextEditor);
7761 +
7762 + function TextEditor() {
7763 + (0, _classCallCheck2.default)(this, TextEditor);
7764 + return _super.apply(this, arguments);
7765 + }
7766 +
7767 + (0, _createClass2.default)(TextEditor, [{
7768 + key: "getDefaultSettings",
7769 + value: function getDefaultSettings() {
7770 + return {
7771 + selectors: {
7772 + paragraph: 'p:first'
7773 + },
7774 + classes: {
7775 + dropCap: 'elementor-drop-cap',
7776 + dropCapLetter: 'elementor-drop-cap-letter'
7777 + }
7778 + };
7779 + }
7780 + }, {
7781 + key: "getDefaultElements",
7782 + value: function getDefaultElements() {
7783 + var selectors = this.getSettings('selectors'),
7784 + classes = this.getSettings('classes'),
7785 + $dropCap = jQuery('<span>', {
7786 + class: classes.dropCap
7787 + }),
7788 + $dropCapLetter = jQuery('<span>', {
7789 + class: classes.dropCapLetter
7790 + });
7791 + $dropCap.append($dropCapLetter);
7792 + return {
7793 + $paragraph: this.$element.find(selectors.paragraph),
7794 + $dropCap: $dropCap,
7795 + $dropCapLetter: $dropCapLetter
7796 + };
7797 + }
7798 + }, {
7799 + key: "wrapDropCap",
7800 + value: function wrapDropCap() {
7801 + var isDropCapEnabled = this.getElementSettings('drop_cap');
7802 +
7803 + if (!isDropCapEnabled) {
7804 + // If there is an old drop cap inside the paragraph
7805 + if (this.dropCapLetter) {
7806 + this.elements.$dropCap.remove();
7807 + this.elements.$paragraph.prepend(this.dropCapLetter);
7808 + this.dropCapLetter = '';
7809 + }
7810 +
7811 + return;
7812 + }
7813 +
7814 + var $paragraph = this.elements.$paragraph;
7815 +
7816 + if (!$paragraph.length) {
7817 + return;
7818 + }
7819 +
7820 + var paragraphContent = $paragraph.html().replace(/&nbsp;/g, ' '),
7821 + firstLetterMatch = paragraphContent.match(/^ *([^ ] ?)/);
7822 +
7823 + if (!firstLetterMatch) {
7824 + return;
7825 + }
7826 +
7827 + var firstLetter = firstLetterMatch[1],
7828 + trimmedFirstLetter = firstLetter.trim(); // Don't apply drop cap when the content starting with an HTML tag
7829 +
7830 + if ('<' === trimmedFirstLetter) {
7831 + return;
7832 + }
7833 +
7834 + this.dropCapLetter = firstLetter;
7835 + this.elements.$dropCapLetter.text(trimmedFirstLetter);
7836 + var restoredParagraphContent = paragraphContent.slice(firstLetter.length).replace(/^ */, function (match) {
7837 + return new Array(match.length + 1).join('&nbsp;');
7838 + });
7839 + $paragraph.html(restoredParagraphContent).prepend(this.elements.$dropCap);
7840 + }
7841 + }, {
7842 + key: "onInit",
7843 + value: function onInit() {
7844 + var _get2;
7845 +
7846 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
7847 + args[_key] = arguments[_key];
7848 + }
7849 +
7850 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(TextEditor.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
7851 +
7852 + this.wrapDropCap();
7853 + }
7854 + }, {
7855 + key: "onElementChange",
7856 + value: function onElementChange(propertyName) {
7857 + if ('drop_cap' === propertyName) {
7858 + this.wrapDropCap();
7859 + }
7860 + }
7861 + }]);
7862 + return TextEditor;
7863 +}(elementorModules.frontend.handlers.Base);
7864 +
7865 +var _default = function _default($scope) {
7866 + elementorFrontend.elementsHandler.addHandler(TextEditor, {
7867 + $element: $scope
7868 + });
2288 7869 };
2289 7870
7871 +exports.default = _default;
2290 7872
2291 7873 /***/ }),
7874 +/* 801 */
7875 +/***/ (function(module, exports, __webpack_require__) {
2292 7876
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__) => {
7877 +"use strict";
2298 7878
2299 7879
2300 -var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
7880 +var _interopRequireDefault = __webpack_require__(0);
2301 7881
2302 -module.exports = function (argument, $default) {
2303 - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
7882 +var _Object$defineProperty = __webpack_require__(1);
7883 +
7884 +_Object$defineProperty(exports, "__esModule", {
7885 + value: true
7886 +});
7887 +
7888 +exports.default = void 0;
7889 +
7890 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(698));
7891 +
7892 +var _backgroundVideo = _interopRequireDefault(__webpack_require__(802));
7893 +
7894 +var _handlesPosition = _interopRequireDefault(__webpack_require__(803));
7895 +
7896 +var _stretchedSection = _interopRequireDefault(__webpack_require__(804));
7897 +
7898 +var _shapes = _interopRequireDefault(__webpack_require__(805));
7899 +
7900 +var _default = function _default($scope) {
7901 + if (elementorFrontend.isEditMode() || $scope.hasClass('elementor-section-stretched')) {
7902 + elementorFrontend.elementsHandler.addHandler(_stretchedSection.default, {
7903 + $element: $scope
7904 + });
7905 + }
7906 +
7907 + if (elementorFrontend.isEditMode()) {
7908 + elementorFrontend.elementsHandler.addHandler(_shapes.default, {
7909 + $element: $scope
7910 + });
7911 + elementorFrontend.elementsHandler.addHandler(_handlesPosition.default, {
7912 + $element: $scope
7913 + });
7914 + }
7915 +
7916 + elementorFrontend.elementsHandler.addHandler(_backgroundVideo.default, {
7917 + $element: $scope
7918 + });
7919 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
7920 + $element: $scope
7921 + });
2304 7922 };
2305 7923
7924 +exports.default = _default;
2306 7925
2307 7926 /***/ }),
7927 +/* 802 */
7928 +/***/ (function(module, exports, __webpack_require__) {
2308 7929
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__) => {
7930 +"use strict";
2314 7931
2315 7932
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");
7933 +var _interopRequireDefault = __webpack_require__(0);
2321 7934
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);
7935 +var _Object$defineProperty = __webpack_require__(1);
2344 7936
7937 +_Object$defineProperty(exports, "__esModule", {
7938 + value: true
7939 +});
2345 7940
7941 +exports.default = void 0;
7942 +
7943 +__webpack_require__(119);
7944 +
7945 +__webpack_require__(80);
7946 +
7947 +__webpack_require__(26);
7948 +
7949 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
7950 +
7951 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
7952 +
7953 +var _get3 = _interopRequireDefault(__webpack_require__(25));
7954 +
7955 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
7956 +
7957 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
7958 +
7959 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
7960 +
7961 +var BackgroundVideo = /*#__PURE__*/function (_elementorModules$fro) {
7962 + (0, _inherits2.default)(BackgroundVideo, _elementorModules$fro);
7963 +
7964 + var _super = (0, _createSuper2.default)(BackgroundVideo);
7965 +
7966 + function BackgroundVideo() {
7967 + (0, _classCallCheck2.default)(this, BackgroundVideo);
7968 + return _super.apply(this, arguments);
7969 + }
7970 +
7971 + (0, _createClass2.default)(BackgroundVideo, [{
7972 + key: "getDefaultSettings",
7973 + value: function getDefaultSettings() {
7974 + return {
7975 + selectors: {
7976 + backgroundVideoContainer: '.elementor-background-video-container',
7977 + backgroundVideoEmbed: '.elementor-background-video-embed',
7978 + backgroundVideoHosted: '.elementor-background-video-hosted'
7979 + }
7980 + };
7981 + }
7982 + }, {
7983 + key: "getDefaultElements",
7984 + value: function getDefaultElements() {
7985 + var selectors = this.getSettings('selectors'),
7986 + elements = {
7987 + $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer)
7988 + };
7989 + elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed);
7990 + elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted);
7991 + return elements;
7992 + }
7993 + }, {
7994 + key: "calcVideosSize",
7995 + value: function calcVideosSize($video) {
7996 + var aspectRatioSetting = '16:9';
7997 +
7998 + if ('vimeo' === this.videoType) {
7999 + aspectRatioSetting = $video[0].width + ':' + $video[0].height;
8000 + }
8001 +
8002 + var containerWidth = this.elements.$backgroundVideoContainer.outerWidth(),
8003 + containerHeight = this.elements.$backgroundVideoContainer.outerHeight(),
8004 + aspectRatioArray = aspectRatioSetting.split(':'),
8005 + aspectRatio = aspectRatioArray[0] / aspectRatioArray[1],
8006 + ratioWidth = containerWidth / aspectRatio,
8007 + ratioHeight = containerHeight * aspectRatio,
8008 + isWidthFixed = containerWidth / containerHeight > aspectRatio;
8009 + return {
8010 + width: isWidthFixed ? containerWidth : ratioHeight,
8011 + height: isWidthFixed ? ratioWidth : containerHeight
8012 + };
8013 + }
8014 + }, {
8015 + key: "changeVideoSize",
8016 + value: function changeVideoSize() {
8017 + if (!('hosted' === this.videoType) && !this.player) {
8018 + return;
8019 + }
8020 +
8021 + var $video;
8022 +
8023 + if ('youtube' === this.videoType) {
8024 + $video = jQuery(this.player.getIframe());
8025 + } else if ('vimeo' === this.videoType) {
8026 + $video = jQuery(this.player.element);
8027 + } else if ('hosted' === this.videoType) {
8028 + $video = this.elements.$backgroundVideoHosted;
8029 + }
8030 +
8031 + if (!$video) {
8032 + return;
8033 + }
8034 +
8035 + var size = this.calcVideosSize($video);
8036 + $video.width(size.width).height(size.height);
8037 + }
8038 + }, {
8039 + key: "startVideoLoop",
8040 + value: function startVideoLoop(firstTime) {
8041 + var _this = this;
8042 +
8043 + // If the section has been removed
8044 + if (!this.player.getIframe().contentWindow) {
8045 + return;
8046 + }
8047 +
8048 + var elementSettings = this.getElementSettings(),
8049 + startPoint = elementSettings.background_video_start || 0,
8050 + endPoint = elementSettings.background_video_end;
8051 +
8052 + if (elementSettings.background_play_once && !firstTime) {
8053 + this.player.stopVideo();
8054 + return;
8055 + }
8056 +
8057 + this.player.seekTo(startPoint);
8058 +
8059 + if (endPoint) {
8060 + var durationToEnd = endPoint - startPoint + 1;
8061 + setTimeout(function () {
8062 + _this.startVideoLoop(false);
8063 + }, durationToEnd * 1000);
8064 + }
8065 + }
8066 + }, {
8067 + key: "prepareVimeoVideo",
8068 + value: function prepareVimeoVideo(Vimeo, videoId) {
8069 + var _this2 = this;
8070 +
8071 + var elementSettings = this.getElementSettings(),
8072 + startTime = elementSettings.background_video_start ? elementSettings.background_video_start : 0,
8073 + videoSize = this.elements.$backgroundVideoContainer.outerWidth(),
8074 + vimeoOptions = {
8075 + id: videoId,
8076 + width: videoSize.width,
8077 + autoplay: true,
8078 + loop: !elementSettings.background_play_once,
8079 + transparent: false,
8080 + background: true,
8081 + muted: true
8082 + };
8083 + this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times
8084 +
8085 + this.handleVimeoStartEndTimes(elementSettings);
8086 + this.player.ready().then(function () {
8087 + jQuery(_this2.player.element).addClass('elementor-background-video-embed');
8088 +
8089 + _this2.changeVideoSize();
8090 + });
8091 + }
8092 + }, {
8093 + key: "handleVimeoStartEndTimes",
8094 + value: function handleVimeoStartEndTimes(elementSettings) {
8095 + var _this3 = this;
8096 +
8097 + // If a start time is defined, set the start time
8098 + if (elementSettings.background_video_start) {
8099 + this.player.on('play', function (data) {
8100 + if (0 === data.seconds) {
8101 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8102 + }
8103 + });
8104 + }
8105 +
8106 + this.player.on('timeupdate', function (data) {
8107 + // If an end time is defined, handle ending the video
8108 + if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) {
8109 + if (elementSettings.background_play_once) {
8110 + // Stop at user-defined end time if not loop
8111 + _this3.player.pause();
8112 + } else {
8113 + // Go to start time if loop
8114 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8115 + }
8116 + } // If start time is defined but an end time is not, go to user-defined start time at video end.
8117 + // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we
8118 + // get the video duration (returns a promise) then use duration-0.5s as end time
8119 +
8120 +
8121 + _this3.player.getDuration().then(function (duration) {
8122 + if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) {
8123 + _this3.player.setCurrentTime(elementSettings.background_video_start);
8124 + }
8125 + });
8126 + });
8127 + }
8128 + }, {
8129 + key: "prepareYTVideo",
8130 + value: function prepareYTVideo(YT, videoID) {
8131 + var _this4 = this;
8132 +
8133 + var $backgroundVideoContainer = this.elements.$backgroundVideoContainer,
8134 + elementSettings = this.getElementSettings();
8135 + var startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
8136 +
8137 + if (window.chrome) {
8138 + startStateCode = YT.PlayerState.UNSTARTED;
8139 + }
8140 +
8141 + $backgroundVideoContainer.addClass('elementor-loading elementor-invisible');
8142 + this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], {
8143 + videoId: videoID,
8144 + events: {
8145 + onReady: function onReady() {
8146 + _this4.player.mute();
8147 +
8148 + _this4.changeVideoSize();
8149 +
8150 + _this4.startVideoLoop(true);
8151 +
8152 + _this4.player.playVideo();
8153 + },
8154 + onStateChange: function onStateChange(event) {
8155 + switch (event.data) {
8156 + case startStateCode:
8157 + $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading');
8158 + break;
8159 +
8160 + case YT.PlayerState.ENDED:
8161 + _this4.player.seekTo(elementSettings.background_video_start || 0);
8162 +
8163 + if (elementSettings.background_play_once) {
8164 + _this4.player.destroy();
8165 + }
8166 +
8167 + }
8168 + }
8169 + },
8170 + playerVars: {
8171 + controls: 0,
8172 + rel: 0,
8173 + playsinline: 1
8174 + }
8175 + });
8176 + }
8177 + }, {
8178 + key: "activate",
8179 + value: function activate() {
8180 + var _this5 = this;
8181 +
8182 + var videoLink = this.getElementSettings('background_video_link'),
8183 + videoID;
8184 + var playOnce = this.getElementSettings('background_play_once');
8185 +
8186 + if (-1 !== videoLink.indexOf('vimeo.com')) {
8187 + this.videoType = 'vimeo';
8188 + this.apiProvider = elementorFrontend.utils.vimeo;
8189 + } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
8190 + this.videoType = 'youtube';
8191 + this.apiProvider = elementorFrontend.utils.youtube;
8192 + }
8193 +
8194 + if (this.apiProvider) {
8195 + videoID = this.apiProvider.getVideoIDFromURL(videoLink);
8196 + this.apiProvider.onApiReady(function (apiObject) {
8197 + if ('youtube' === _this5.videoType) {
8198 + _this5.prepareYTVideo(apiObject, videoID);
8199 + }
8200 +
8201 + if ('vimeo' === _this5.videoType) {
8202 + _this5.prepareVimeoVideo(apiObject, videoID);
8203 + }
8204 + });
8205 + } else {
8206 + this.videoType = 'hosted';
8207 + var startTime = this.getElementSettings('background_video_start'),
8208 + endTime = this.getElementSettings('background_video_end');
8209 +
8210 + if (startTime || endTime) {
8211 + videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : '');
8212 + }
8213 +
8214 + this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this));
8215 +
8216 + if (playOnce) {
8217 + this.elements.$backgroundVideoHosted.on('ended', function () {
8218 + _this5.elements.$backgroundVideoHosted.hide();
8219 + });
8220 + }
8221 + }
8222 +
8223 + elementorFrontend.elements.$window.on('resize', this.changeVideoSize);
8224 + }
8225 + }, {
8226 + key: "deactivate",
8227 + value: function deactivate() {
8228 + if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) {
8229 + this.player.destroy();
8230 + } else {
8231 + this.elements.$backgroundVideoHosted.removeAttr('src').off('ended');
8232 + }
8233 +
8234 + elementorFrontend.elements.$window.off('resize', this.changeVideoSize);
8235 + }
8236 + }, {
8237 + key: "run",
8238 + value: function run() {
8239 + var elementSettings = this.getElementSettings();
8240 +
8241 + if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) {
8242 + return;
8243 + }
8244 +
8245 + if ('video' === elementSettings.background_background && elementSettings.background_video_link) {
8246 + this.activate();
8247 + } else {
8248 + this.deactivate();
8249 + }
8250 + }
8251 + }, {
8252 + key: "onInit",
8253 + value: function onInit() {
8254 + var _get2;
8255 +
8256 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8257 + args[_key] = arguments[_key];
8258 + }
8259 +
8260 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(BackgroundVideo.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8261 +
8262 + this.changeVideoSize = this.changeVideoSize.bind(this);
8263 + this.run();
8264 + }
8265 + }, {
8266 + key: "onElementChange",
8267 + value: function onElementChange(propertyName) {
8268 + if ('background_background' === propertyName) {
8269 + this.run();
8270 + }
8271 + }
8272 + }]);
8273 + return BackgroundVideo;
8274 +}(elementorModules.frontend.handlers.Base);
8275 +
8276 +exports.default = BackgroundVideo;
8277 +
2346 8278 /***/ }),
8279 +/* 803 */
8280 +/***/ (function(module, exports, __webpack_require__) {
2347 8281
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__) => {
8282 +"use strict";
2353 8283
2354 8284
2355 -var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
8285 +var _interopRequireDefault = __webpack_require__(0);
2356 8286
2357 -var $String = String;
8287 +var _Object$defineProperty = __webpack_require__(1);
2358 8288
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);
8289 +_Object$defineProperty(exports, "__esModule", {
8290 + value: true
8291 +});
8292 +
8293 +exports.default = void 0;
8294 +
8295 +__webpack_require__(26);
8296 +
8297 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8298 +
8299 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8300 +
8301 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8302 +
8303 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8304 +
8305 +var HandlesPosition = /*#__PURE__*/function (_elementorModules$fro) {
8306 + (0, _inherits2.default)(HandlesPosition, _elementorModules$fro);
8307 +
8308 + var _super = (0, _createSuper2.default)(HandlesPosition);
8309 +
8310 + function HandlesPosition() {
8311 + (0, _classCallCheck2.default)(this, HandlesPosition);
8312 + return _super.apply(this, arguments);
8313 + }
8314 +
8315 + (0, _createClass2.default)(HandlesPosition, [{
8316 + key: "isFirstSection",
8317 + value: function isFirstSection() {
8318 + return this.$element.is('.elementor-edit-mode .elementor-top-section:first');
8319 + }
8320 + }, {
8321 + key: "isOverflowHidden",
8322 + value: function isOverflowHidden() {
8323 + return 'hidden' === this.$element.css('overflow');
8324 + }
8325 + }, {
8326 + key: "getOffset",
8327 + value: function getOffset() {
8328 + if ('body' === elementor.config.document.container) {
8329 + return this.$element.offset().top;
8330 + }
8331 +
8332 + var $container = jQuery(elementor.config.document.container);
8333 + return this.$element.offset().top - $container.offset().top;
8334 + }
8335 + }, {
8336 + key: "setHandlesPosition",
8337 + value: function setHandlesPosition() {
8338 + var document = elementor.documents.getCurrent();
8339 +
8340 + if (!document || !document.container.isEditable()) {
8341 + return;
8342 + }
8343 +
8344 + var isOverflowHidden = this.isOverflowHidden();
8345 +
8346 + if (!isOverflowHidden && !this.isFirstSection()) {
8347 + return;
8348 + }
8349 +
8350 + var offset = isOverflowHidden ? 0 : this.getOffset(),
8351 + $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'),
8352 + insideHandleClass = 'elementor-section--handles-inside';
8353 +
8354 + if (offset < 25) {
8355 + this.$element.addClass(insideHandleClass);
8356 +
8357 + if (offset < -5) {
8358 + $handlesElement.css('top', -offset);
8359 + } else {
8360 + $handlesElement.css('top', '');
8361 + }
8362 + } else {
8363 + this.$element.removeClass(insideHandleClass);
8364 + }
8365 + }
8366 + }, {
8367 + key: "onInit",
8368 + value: function onInit() {
8369 + this.setHandlesPosition();
8370 + this.$element.on('mouseenter', this.setHandlesPosition.bind(this));
8371 + }
8372 + }]);
8373 + return HandlesPosition;
8374 +}(elementorModules.frontend.handlers.Base);
8375 +
8376 +exports.default = HandlesPosition;
8377 +
8378 +/***/ }),
8379 +/* 804 */
8380 +/***/ (function(module, exports, __webpack_require__) {
8381 +
8382 +"use strict";
8383 +
8384 +
8385 +var _interopRequireDefault = __webpack_require__(0);
8386 +
8387 +var _Object$defineProperty = __webpack_require__(1);
8388 +
8389 +_Object$defineProperty(exports, "__esModule", {
8390 + value: true
8391 +});
8392 +
8393 +exports.default = void 0;
8394 +
8395 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8396 +
8397 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8398 +
8399 +var _get3 = _interopRequireDefault(__webpack_require__(25));
8400 +
8401 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8402 +
8403 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8404 +
8405 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8406 +
8407 +var StretchedSection = /*#__PURE__*/function (_elementorModules$fro) {
8408 + (0, _inherits2.default)(StretchedSection, _elementorModules$fro);
8409 +
8410 + var _super = (0, _createSuper2.default)(StretchedSection);
8411 +
8412 + function StretchedSection() {
8413 + (0, _classCallCheck2.default)(this, StretchedSection);
8414 + return _super.apply(this, arguments);
8415 + }
8416 +
8417 + (0, _createClass2.default)(StretchedSection, [{
8418 + key: "bindEvents",
8419 + value: function bindEvents() {
8420 + var handlerID = this.getUniqueHandlerID();
8421 + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
8422 + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
8423 + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
8424 +
8425 + if (elementorFrontend.isEditMode()) {
8426 + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
8427 + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8428 + }
8429 + }
8430 + }, {
8431 + key: "unbindEvents",
8432 + value: function unbindEvents() {
8433 + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
8434 +
8435 + if (elementorFrontend.isEditMode()) {
8436 + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
8437 + }
8438 + }
8439 + }, {
8440 + key: "initStretch",
8441 + value: function initStretch() {
8442 + this.stretch = this.stretch.bind(this);
8443 + this.stretchElement = new elementorModules.frontend.tools.StretchElement({
8444 + element: this.$element,
8445 + selectors: {
8446 + container: this.getStretchContainer()
8447 + }
8448 + });
8449 + }
8450 + }, {
8451 + key: "getStretchContainer",
8452 + value: function getStretchContainer() {
8453 + return elementorFrontend.getKitSettings('stretched_section_container') || window;
8454 + }
8455 + }, {
8456 + key: "stretch",
8457 + value: function stretch() {
8458 + if (!this.getElementSettings('stretch_section')) {
8459 + return;
8460 + }
8461 +
8462 + this.stretchElement.stretch();
8463 + }
8464 + }, {
8465 + key: "onInit",
8466 + value: function onInit() {
8467 + var _get2;
8468 +
8469 + this.initStretch();
8470 +
8471 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8472 + args[_key] = arguments[_key];
8473 + }
8474 +
8475 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(StretchedSection.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8476 +
8477 + this.stretch();
8478 + }
8479 + }, {
8480 + key: "onElementChange",
8481 + value: function onElementChange(propertyName) {
8482 + if ('stretch_section' === propertyName) {
8483 + if (this.getElementSettings('stretch_section')) {
8484 + this.stretch();
8485 + } else {
8486 + this.stretchElement.reset();
8487 + }
8488 + }
8489 + }
8490 + }, {
8491 + key: "onKitChangeStretchContainerChange",
8492 + value: function onKitChangeStretchContainerChange() {
8493 + this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
8494 + this.stretch();
8495 + }
8496 + }]);
8497 + return StretchedSection;
8498 +}(elementorModules.frontend.handlers.Base);
8499 +
8500 +exports.default = StretchedSection;
8501 +
8502 +/***/ }),
8503 +/* 805 */
8504 +/***/ (function(module, exports, __webpack_require__) {
8505 +
8506 +"use strict";
8507 +
8508 +
8509 +var _interopRequireDefault = __webpack_require__(0);
8510 +
8511 +var _Object$defineProperty = __webpack_require__(1);
8512 +
8513 +_Object$defineProperty(exports, "__esModule", {
8514 + value: true
8515 +});
8516 +
8517 +exports.default = void 0;
8518 +
8519 +__webpack_require__(119);
8520 +
8521 +__webpack_require__(58);
8522 +
8523 +__webpack_require__(26);
8524 +
8525 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8526 +
8527 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8528 +
8529 +var _get3 = _interopRequireDefault(__webpack_require__(25));
8530 +
8531 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8532 +
8533 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8534 +
8535 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8536 +
8537 +var Shapes = /*#__PURE__*/function (_elementorModules$fro) {
8538 + (0, _inherits2.default)(Shapes, _elementorModules$fro);
8539 +
8540 + var _super = (0, _createSuper2.default)(Shapes);
8541 +
8542 + function Shapes() {
8543 + (0, _classCallCheck2.default)(this, Shapes);
8544 + return _super.apply(this, arguments);
8545 + }
8546 +
8547 + (0, _createClass2.default)(Shapes, [{
8548 + key: "getDefaultSettings",
8549 + value: function getDefaultSettings() {
8550 + return {
8551 + selectors: {
8552 + container: '> .elementor-shape-%s'
8553 + },
8554 + svgURL: elementorFrontend.config.urls.assets + 'shapes/'
8555 + };
8556 + }
8557 + }, {
8558 + key: "getDefaultElements",
8559 + value: function getDefaultElements() {
8560 + var elements = {},
8561 + selectors = this.getSettings('selectors');
8562 + elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top'));
8563 + elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom'));
8564 + return elements;
8565 + }
8566 + }, {
8567 + key: "getSvgURL",
8568 + value: function getSvgURL(shapeType, fileName) {
8569 + var svgURL = this.getSettings('svgURL') + fileName + '.svg';
8570 +
8571 + if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) {
8572 + svgURL = elementor.config.additional_shapes[shapeType];
8573 +
8574 + if (-1 < fileName.indexOf('-negative')) {
8575 + svgURL = svgURL.replace('.svg', '-negative.svg');
8576 + }
8577 + }
8578 +
8579 + return svgURL;
8580 + }
8581 + }, {
8582 + key: "buildSVG",
8583 + value: function buildSVG(side) {
8584 + var baseSettingKey = 'shape_divider_' + side,
8585 + shapeType = this.getElementSettings(baseSettingKey),
8586 + $svgContainer = this.elements['$' + side + 'Container'];
8587 + $svgContainer.attr('data-shape', shapeType);
8588 +
8589 + if (!shapeType) {
8590 + $svgContainer.empty(); // Shape-divider set to 'none'
8591 +
8592 + return;
8593 + }
8594 +
8595 + var fileName = shapeType;
8596 +
8597 + if (this.getElementSettings(baseSettingKey + '_negative')) {
8598 + fileName += '-negative';
8599 + }
8600 +
8601 + var svgURL = this.getSvgURL(shapeType, fileName);
8602 + jQuery.get(svgURL, function (data) {
8603 + $svgContainer.empty().append(data.childNodes[0]);
8604 + });
8605 + this.setNegative(side);
8606 + }
8607 + }, {
8608 + key: "setNegative",
8609 + value: function setNegative(side) {
8610 + this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative'));
8611 + }
8612 + }, {
8613 + key: "onInit",
8614 + value: function onInit() {
8615 + var _get2,
8616 + _this = this;
8617 +
8618 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8619 + args[_key] = arguments[_key];
8620 + }
8621 +
8622 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(Shapes.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8623 +
8624 + ['top', 'bottom'].forEach(function (side) {
8625 + if (_this.getElementSettings('shape_divider_' + side)) {
8626 + _this.buildSVG(side);
8627 + }
8628 + });
8629 + }
8630 + }, {
8631 + key: "onElementChange",
8632 + value: function onElementChange(propertyName) {
8633 + var shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/);
8634 +
8635 + if (shapeChange) {
8636 + this.buildSVG(shapeChange[1]);
8637 + return;
8638 + }
8639 +
8640 + var negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/);
8641 +
8642 + if (negativeChange) {
8643 + this.buildSVG(negativeChange[1]);
8644 + this.setNegative(negativeChange[1]);
8645 + }
8646 + }
8647 + }]);
8648 + return Shapes;
8649 +}(elementorModules.frontend.handlers.Base);
8650 +
8651 +exports.default = Shapes;
8652 +
8653 +/***/ }),
8654 +/* 806 */
8655 +/***/ (function(module, exports, __webpack_require__) {
8656 +
8657 +"use strict";
8658 +
8659 +
8660 +var _interopRequireDefault = __webpack_require__(0);
8661 +
8662 +var _Object$defineProperty = __webpack_require__(1);
8663 +
8664 +_Object$defineProperty(exports, "__esModule", {
8665 + value: true
8666 +});
8667 +
8668 +exports.default = void 0;
8669 +
8670 +var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(698));
8671 +
8672 +var _default = function _default($scope) {
8673 + elementorFrontend.elementsHandler.addHandler(_backgroundSlideshow.default, {
8674 + $element: $scope
8675 + });
2362 8676 };
2363 8677
8678 +exports.default = _default;
2364 8679
2365 8680 /***/ }),
8681 +/* 807 */
8682 +/***/ (function(module, exports, __webpack_require__) {
2366 8683
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__) => {
8684 +"use strict";
2372 8685
2373 8686
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");
8687 +var _interopRequireDefault = __webpack_require__(0);
2387 8688
2388 -var DOM_EXCEPTION = 'DOMException';
2389 -var Error = getBuiltIn('Error');
2390 -var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
8689 +var _Object$defineProperty = __webpack_require__(1);
2391 8690
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;
8691 +_Object$defineProperty(exports, "__esModule", {
8692 + value: true
8693 +});
8694 +
8695 +exports.default = void 0;
8696 +
8697 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
8698 +
8699 +var _createClass2 = _interopRequireDefault(__webpack_require__(3));
8700 +
8701 +var _get3 = _interopRequireDefault(__webpack_require__(25));
8702 +
8703 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16));
8704 +
8705 +var _inherits2 = _interopRequireDefault(__webpack_require__(4));
8706 +
8707 +var _createSuper2 = _interopRequireDefault(__webpack_require__(5));
8708 +
8709 +var GlobalHandler = /*#__PURE__*/function (_elementorModules$fro) {
8710 + (0, _inherits2.default)(GlobalHandler, _elementorModules$fro);
8711 +
8712 + var _super = (0, _createSuper2.default)(GlobalHandler);
8713 +
8714 + function GlobalHandler() {
8715 + (0, _classCallCheck2.default)(this, GlobalHandler);
8716 + return _super.apply(this, arguments);
8717 + }
8718 +
8719 + (0, _createClass2.default)(GlobalHandler, [{
8720 + key: "getWidgetType",
8721 + value: function getWidgetType() {
8722 + return 'global';
8723 + }
8724 + }, {
8725 + key: "animate",
8726 + value: function animate() {
8727 + var $element = this.$element,
8728 + animation = this.getAnimation();
8729 +
8730 + if ('none' === animation) {
8731 + $element.removeClass('elementor-invisible');
8732 + return;
8733 + }
8734 +
8735 + var elementSettings = this.getElementSettings(),
8736 + animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
8737 + $element.removeClass(animation);
8738 +
8739 + if (this.currentAnimation) {
8740 + $element.removeClass(this.currentAnimation);
8741 + }
8742 +
8743 + this.currentAnimation = animation;
8744 + setTimeout(function () {
8745 + $element.removeClass('elementor-invisible').addClass('animated ' + animation);
8746 + }, animationDelay);
8747 + }
8748 + }, {
8749 + key: "getAnimation",
8750 + value: function getAnimation() {
8751 + return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
8752 + }
8753 + }, {
8754 + key: "onInit",
8755 + value: function onInit() {
8756 + var _get2,
8757 + _this = this;
8758 +
8759 + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8760 + args[_key] = arguments[_key];
8761 + }
8762 +
8763 + (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(GlobalHandler.prototype), "onInit", this)).call.apply(_get2, [this].concat(args));
8764 +
8765 + if (this.getAnimation()) {
8766 + elementorFrontend.waypoint(this.$element, function () {
8767 + return _this.animate();
8768 + });
8769 + }
8770 + }
8771 + }, {
8772 + key: "onElementChange",
8773 + value: function onElementChange(propertyName) {
8774 + if (/^_?animation/.test(propertyName)) {
8775 + this.animate();
8776 + }
8777 + }
8778 + }]);
8779 + return GlobalHandler;
8780 +}(elementorModules.frontend.handlers.Base);
8781 +
8782 +var _default = function _default($scope) {
8783 + elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
8784 + $element: $scope
8785 + });
2403 8786 };
2404 8787
2405 -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
8788 +exports.default = _default;
2406 8789
2407 -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
2408 -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
8790 +/***/ }),
8791 +/* 808 */
8792 +/***/ (function(module, exports, __webpack_require__) {
2409 8793
2410 -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2411 -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION);
8794 +"use strict";
2412 8795
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 8796
2417 -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
8797 +module.exports = elementorModules.ViewModule.extend({
8798 + getDefaultSettings: function getDefaultSettings() {
8799 + return {
8800 + scrollDuration: 500,
8801 + selectors: {
8802 + links: 'a[href*="#"]',
8803 + targets: '.elementor-element, .elementor-menu-anchor',
8804 + scrollable: 'html, body'
8805 + }
8806 + };
8807 + },
8808 + getDefaultElements: function getDefaultElements() {
8809 + var $ = jQuery,
8810 + selectors = this.getSettings('selectors');
8811 + return {
8812 + $scrollable: $(selectors.scrollable)
8813 + };
8814 + },
8815 + bindEvents: function bindEvents() {
8816 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.handleAnchorLinks);
8817 + },
8818 + handleAnchorLinks: function handleAnchorLinks(event) {
8819 + var clickedLink = event.currentTarget,
8820 + isSamePathname = location.pathname === clickedLink.pathname,
8821 + isSameHostname = location.hostname === clickedLink.hostname,
8822 + $anchor;
2418 8823
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
8824 + if (!isSameHostname || !isSamePathname || clickedLink.hash.length < 2) {
8825 + return;
8826 + }
8827 +
8828 + try {
8829 + $anchor = jQuery(clickedLink.hash).filter(this.getSettings('selectors.targets'));
8830 + } catch (e) {
8831 + return;
8832 + }
8833 +
8834 + if (!$anchor.length) {
8835 + return;
8836 + }
8837 +
8838 + var scrollTop = $anchor.offset().top,
8839 + $wpAdminBar = elementorFrontend.elements.$wpAdminBar,
8840 + $activeStickies = jQuery('.elementor-section.elementor-sticky--active:visible'),
8841 + maxStickyHeight = 0;
8842 +
8843 + if ($wpAdminBar.length > 0) {
8844 + scrollTop -= $wpAdminBar.height();
8845 + } // Offset height of tallest sticky
8846 +
8847 +
8848 + if ($activeStickies.length > 0) {
8849 + maxStickyHeight = Math.max.apply(null, $activeStickies.map(function () {
8850 + return jQuery(this).outerHeight();
8851 + }).get());
8852 + scrollTop -= maxStickyHeight;
8853 + }
8854 +
8855 + event.preventDefault();
8856 + scrollTop = elementorFrontend.hooks.applyFilters('frontend/handlers/menu_anchor/scroll_top_distance', scrollTop);
8857 + this.elements.$scrollable.animate({
8858 + scrollTop: scrollTop
8859 + }, this.getSettings('scrollDuration'), 'linear');
8860 + },
8861 + onInit: function onInit() {
8862 + elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
8863 + this.bindEvents();
8864 + }
2423 8865 });
2424 8866
2425 -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
2426 -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
8867 +/***/ }),
8868 +/* 809 */
8869 +/***/ (function(module, exports, __webpack_require__) {
2427 8870
2428 -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
2429 - if (!IS_PURE) {
2430 - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
8871 +"use strict";
8872 +
8873 +
8874 +var _interopRequireDefault = __webpack_require__(0);
8875 +
8876 +__webpack_require__(119);
8877 +
8878 +__webpack_require__(26);
8879 +
8880 +__webpack_require__(58);
8881 +
8882 +var _screenfull = _interopRequireDefault(__webpack_require__(810));
8883 +
8884 +module.exports = elementorModules.ViewModule.extend({
8885 + oldAspectRatio: null,
8886 + oldAnimation: null,
8887 + swiper: null,
8888 + player: null,
8889 + getDefaultSettings: function getDefaultSettings() {
8890 + return {
8891 + classes: {
8892 + aspectRatio: 'elementor-aspect-ratio-%s',
8893 + item: 'elementor-lightbox-item',
8894 + image: 'elementor-lightbox-image',
8895 + videoContainer: 'elementor-video-container',
8896 + videoWrapper: 'elementor-fit-aspect-ratio',
8897 + playButton: 'elementor-custom-embed-play',
8898 + playButtonIcon: 'fa',
8899 + playing: 'elementor-playing',
8900 + hidden: 'elementor-hidden',
8901 + invisible: 'elementor-invisible',
8902 + preventClose: 'elementor-lightbox-prevent-close',
8903 + slideshow: {
8904 + container: 'swiper-container',
8905 + slidesWrapper: 'swiper-wrapper',
8906 + prevButton: 'elementor-swiper-button elementor-swiper-button-prev',
8907 + nextButton: 'elementor-swiper-button elementor-swiper-button-next',
8908 + prevButtonIcon: 'eicon-chevron-left',
8909 + nextButtonIcon: 'eicon-chevron-right',
8910 + slide: 'swiper-slide',
8911 + header: 'elementor-slideshow__header',
8912 + footer: 'elementor-slideshow__footer',
8913 + title: 'elementor-slideshow__title',
8914 + description: 'elementor-slideshow__description',
8915 + counter: 'elementor-slideshow__counter',
8916 + iconExpand: 'eicon-frame-expand',
8917 + iconShrink: 'eicon-frame-minimize',
8918 + iconZoomIn: 'eicon-zoom-in-bold',
8919 + iconZoomOut: 'eicon-zoom-out-bold',
8920 + iconShare: 'eicon-share-arrow',
8921 + shareMenu: 'elementor-slideshow__share-menu',
8922 + shareLinks: 'elementor-slideshow__share-links',
8923 + hideUiVisibility: 'elementor-slideshow--ui-hidden',
8924 + shareMode: 'elementor-slideshow--share-mode',
8925 + fullscreenMode: 'elementor-slideshow--fullscreen-mode',
8926 + zoomMode: 'elementor-slideshow--zoom-mode'
8927 + }
8928 + },
8929 + selectors: {
8930 + image: '.elementor-lightbox-image',
8931 + links: 'a, [data-elementor-lightbox]',
8932 + slideshow: {
8933 + activeSlide: '.swiper-slide-active',
8934 + prevSlide: '.swiper-slide-prev',
8935 + nextSlide: '.swiper-slide-next'
8936 + }
8937 + },
8938 + modalOptions: {
8939 + id: 'elementor-lightbox',
8940 + entranceAnimation: 'zoomIn',
8941 + videoAspectRatio: 169,
8942 + position: {
8943 + enable: false
8944 + }
8945 + }
8946 + };
8947 + },
8948 + getModal: function getModal() {
8949 + if (!module.exports.modal) {
8950 + this.initModal();
8951 + }
8952 +
8953 + return module.exports.modal;
8954 + },
8955 + initModal: function initModal() {
8956 + var modal = module.exports.modal = elementorFrontend.getDialogsManager().createWidget('lightbox', {
8957 + className: 'elementor-lightbox',
8958 + closeButton: true,
8959 + closeButtonOptions: {
8960 + iconClass: 'eicon-close',
8961 + attributes: {
8962 + tabindex: 0,
8963 + role: 'button',
8964 + 'aria-label': elementorFrontend.config.i18n.close + ' (Esc)'
8965 + }
8966 + },
8967 + selectors: {
8968 + preventClose: '.' + this.getSettings('classes.preventClose')
8969 + },
8970 + hide: {
8971 + onClick: true
8972 + }
8973 + });
8974 + modal.on('hide', function () {
8975 + modal.setMessage('');
8976 + });
8977 + },
8978 + showModal: function showModal(options) {
8979 + this.elements.$closeButton = this.getModal().getElements('closeButton');
8980 + this.$buttons = this.elements.$closeButton;
8981 + this.focusedButton = null;
8982 + var self = this,
8983 + defaultOptions = self.getDefaultSettings().modalOptions;
8984 + self.id = options.id;
8985 + self.setSettings('modalOptions', jQuery.extend(defaultOptions, options.modalOptions));
8986 + var modal = self.getModal();
8987 + modal.setID(self.getSettings('modalOptions.id'));
8988 +
8989 + modal.onShow = function () {
8990 + DialogsManager.getWidgetType('lightbox').prototype.onShow.apply(modal, arguments);
8991 + self.setEntranceAnimation();
8992 + };
8993 +
8994 + modal.onHide = function () {
8995 + DialogsManager.getWidgetType('lightbox').prototype.onHide.apply(modal, arguments);
8996 + modal.getElements('message').removeClass('animated');
8997 +
8998 + if (_screenfull.default.isFullscreen) {
8999 + self.deactivateFullscreen();
9000 + }
9001 +
9002 + self.unbindHotKeys();
9003 + };
9004 +
9005 + switch (options.type) {
9006 + case 'video':
9007 + self.setVideoContent(options);
9008 + break;
9009 +
9010 + case 'image':
9011 + var slides = [{
9012 + image: options.url,
9013 + index: 0,
9014 + title: options.title,
9015 + description: options.description
9016 + }];
9017 + options.slideshow = {
9018 + slides: slides,
9019 + swiper: {
9020 + loop: false,
9021 + pagination: false
9022 + }
9023 + };
9024 +
9025 + case 'slideshow':
9026 + self.setSlideshowContent(options.slideshow);
9027 + break;
9028 +
9029 + default:
9030 + self.setHTMLContent(options.html);
9031 + }
9032 +
9033 + modal.show();
9034 + },
9035 + setHTMLContent: function setHTMLContent(html) {
9036 + this.getModal().setMessage(html);
9037 + },
9038 + setVideoContent: function setVideoContent(options) {
9039 + var $ = jQuery,
9040 + classes = this.getSettings('classes'),
9041 + $videoContainer = $('<div>', {
9042 + class: "".concat(classes.videoContainer, " ").concat(classes.preventClose)
9043 + }),
9044 + $videoWrapper = $('<div>', {
9045 + class: classes.videoWrapper
9046 + }),
9047 + modal = this.getModal();
9048 + var $videoElement;
9049 +
9050 + if ('hosted' === options.videoType) {
9051 + var videoParams = $.extend({
9052 + src: options.url,
9053 + autoplay: ''
9054 + }, options.videoParams);
9055 + $videoElement = $('<video>', videoParams);
9056 + } else {
9057 + var videoURL = options.url.replace('&autoplay=0', '') + '&autoplay=1';
9058 + $videoElement = $('<iframe>', {
9059 + src: videoURL,
9060 + allowfullscreen: 1
9061 + });
9062 + }
9063 +
9064 + $videoContainer.append($videoWrapper);
9065 + $videoWrapper.append($videoElement);
9066 + modal.setMessage($videoContainer);
9067 + this.setVideoAspectRatio();
9068 + var onHideMethod = modal.onHide;
9069 +
9070 + modal.onHide = function () {
9071 + onHideMethod();
9072 + this.$buttons = jQuery();
9073 + this.focusedButton = null;
9074 + modal.getElements('message').removeClass('elementor-fit-aspect-ratio');
9075 + };
9076 + },
9077 + getShareLinks: function getShareLinks() {
9078 + var _this = this;
9079 +
9080 + var i18n = elementorFrontend.config.i18n,
9081 + socialNetworks = {
9082 + facebook: i18n.shareOnFacebook,
9083 + twitter: i18n.shareOnTwitter,
9084 + pinterest: i18n.pinIt
9085 + },
9086 + $ = jQuery,
9087 + classes = this.getSettings('classes'),
9088 + selectors = this.getSettings('selectors'),
9089 + $linkList = $('<div>', {
9090 + class: classes.slideshow.shareLinks
9091 + }),
9092 + $activeSlide = this.getSlide('active'),
9093 + $image = $activeSlide.find(selectors.image),
9094 + videoUrl = $activeSlide.data('elementor-slideshow-video');
9095 + var itemUrl;
9096 +
9097 + if (videoUrl) {
9098 + itemUrl = videoUrl;
9099 + } else {
9100 + itemUrl = $image.attr('src');
9101 + }
9102 +
9103 + $.each(socialNetworks, function (key, networkLabel) {
9104 + var $link = $('<a>', {
9105 + href: _this.createShareLink(key, itemUrl),
9106 + target: '_blank'
9107 + }).text(networkLabel);
9108 + $link.prepend($('<i>', {
9109 + class: 'eicon-' + key
9110 + }));
9111 + $linkList.append($link);
9112 + });
9113 +
9114 + if (!videoUrl) {
9115 + $linkList.append($('<a>', {
9116 + href: itemUrl,
9117 + download: ''
9118 + }).text(i18n.downloadImage).prepend($('<i>', {
9119 + class: 'eicon-download-bold',
9120 + 'aria-label': i18n.download
9121 + })));
9122 + }
9123 +
9124 + return $linkList;
9125 + },
9126 + createShareLink: function createShareLink(networkName, itemUrl) {
9127 + var options = {};
9128 +
9129 + if ('pinterest' === networkName) {
9130 + options.image = encodeURIComponent(itemUrl);
9131 + } else {
9132 + var hash = elementorFrontend.utils.urlActions.createActionHash('lightbox', {
9133 + id: this.id,
9134 + url: itemUrl
9135 + });
9136 + options.url = encodeURIComponent(location.href.replace(/#.*/, '')) + hash;
9137 + }
9138 +
9139 + return ShareLink.getNetworkLink(networkName, options);
9140 + },
9141 + getSlideshowHeader: function getSlideshowHeader() {
9142 + var i18n = elementorFrontend.config.i18n,
9143 + $ = jQuery,
9144 + showCounter = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_counter'),
9145 + showFullscreen = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_fullscreen'),
9146 + showZoom = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_zoom'),
9147 + showShare = 'yes' === elementorFrontend.getKitSettings('lightbox_enable_share'),
9148 + classes = this.getSettings('classes'),
9149 + slideshowClasses = classes.slideshow,
9150 + elements = this.elements;
9151 +
9152 + if (!(showCounter || showFullscreen || showZoom || showShare)) {
9153 + return;
9154 + }
9155 +
9156 + elements.$header = $('<header>', {
9157 + class: slideshowClasses.header + ' ' + classes.preventClose
9158 + });
9159 +
9160 + if (showShare) {
9161 + elements.$iconShare = $('<i>', {
9162 + class: slideshowClasses.iconShare,
9163 + role: 'button',
9164 + 'aria-label': i18n.share,
9165 + 'aria-expanded': false
9166 + }).append($('<span>'));
9167 + var $shareLinks = $('<div>');
9168 + $shareLinks.on('click', function (e) {
9169 + e.stopPropagation();
9170 + });
9171 + elements.$shareMenu = $('<div>', {
9172 + class: slideshowClasses.shareMenu
9173 + }).append($shareLinks);
9174 + elements.$iconShare.add(elements.$shareMenu).on('click', this.toggleShareMenu);
9175 + elements.$header.append(elements.$iconShare, elements.$shareMenu);
9176 + this.$buttons = this.$buttons.add(elements.$iconShare);
9177 + }
9178 +
9179 + if (showZoom) {
9180 + elements.$iconZoom = $('<i>', {
9181 + class: slideshowClasses.iconZoomIn,
9182 + role: 'switch',
9183 + 'aria-checked': false,
9184 + 'aria-label': i18n.zoom
9185 + });
9186 + elements.$iconZoom.on('click', this.toggleZoomMode);
9187 + elements.$header.append(elements.$iconZoom);
9188 + this.$buttons = this.$buttons.add(elements.$iconZoom);
9189 + }
9190 +
9191 + if (showFullscreen) {
9192 + elements.$iconExpand = $('<i>', {
9193 + class: slideshowClasses.iconExpand,
9194 + role: 'switch',
9195 + 'aria-checked': false,
9196 + 'aria-label': i18n.fullscreen
9197 + }).append($('<span>'), $('<span>'));
9198 + elements.$iconExpand.on('click', this.toggleFullscreen);
9199 + elements.$header.append(elements.$iconExpand);
9200 + this.$buttons = this.$buttons.add(elements.$iconExpand);
9201 + }
9202 +
9203 + if (showCounter) {
9204 + elements.$counter = $('<span>', {
9205 + class: slideshowClasses.counter
9206 + });
9207 + elements.$header.append(elements.$counter);
9208 + }
9209 +
9210 + return elements.$header;
9211 + },
9212 + toggleFullscreen: function toggleFullscreen() {
9213 + if (_screenfull.default.isFullscreen) {
9214 + this.deactivateFullscreen();
9215 + } else if (_screenfull.default.isEnabled) {
9216 + this.activateFullscreen();
9217 + }
9218 + },
9219 + toggleZoomMode: function toggleZoomMode() {
9220 + if (1 !== this.swiper.zoom.scale) {
9221 + this.deactivateZoom();
9222 + } else {
9223 + this.activateZoom();
9224 + }
9225 + },
9226 + toggleShareMenu: function toggleShareMenu() {
9227 + if (this.shareMode) {
9228 + this.deactivateShareMode();
9229 + } else {
9230 + this.elements.$shareMenu.html(this.getShareLinks());
9231 + this.activateShareMode();
9232 + }
9233 + },
9234 + activateShareMode: function activateShareMode() {
9235 + var classes = this.getSettings('classes');
9236 + this.elements.$container.addClass(classes.slideshow.shareMode);
9237 + this.elements.$iconShare.attr('aria-expanded', true); // Prevent swiper interactions while in share mode
9238 +
9239 + this.swiper.detachEvents(); // Temporarily replace tabbable buttons with share-menu items
9240 +
9241 + this.$originalButtons = this.$buttons;
9242 + this.$buttons = this.elements.$iconShare.add(this.elements.$shareMenu.find('a'));
9243 + this.shareMode = true;
9244 + },
9245 + deactivateShareMode: function deactivateShareMode() {
9246 + var classes = this.getSettings('classes');
9247 + this.elements.$container.removeClass(classes.slideshow.shareMode);
9248 + this.elements.$iconShare.attr('aria-expanded', false);
9249 + this.swiper.attachEvents();
9250 + this.$buttons = this.$originalButtons;
9251 + this.shareMode = false;
9252 + },
9253 + activateFullscreen: function activateFullscreen() {
9254 + var classes = this.getSettings('classes');
9255 +
9256 + _screenfull.default.request(this.elements.$container.parents('.dialog-widget')[0]);
9257 +
9258 + this.elements.$iconExpand.removeClass(classes.slideshow.iconExpand).addClass(classes.slideshow.iconShrink).attr('aria-checked', 'true');
9259 + this.elements.$container.addClass(classes.slideshow.fullscreenMode);
9260 + },
9261 + deactivateFullscreen: function deactivateFullscreen() {
9262 + var classes = this.getSettings('classes');
9263 +
9264 + _screenfull.default.exit();
9265 +
9266 + this.elements.$iconExpand.removeClass(classes.slideshow.iconShrink).addClass(classes.slideshow.iconExpand).attr('aria-checked', 'false');
9267 + this.elements.$container.removeClass(classes.slideshow.fullscreenMode);
9268 + },
9269 + activateZoom: function activateZoom() {
9270 + var swiper = this.swiper,
9271 + elements = this.elements,
9272 + classes = this.getSettings('classes');
9273 + swiper.zoom.in();
9274 + swiper.allowSlideNext = false;
9275 + swiper.allowSlidePrev = false;
9276 + swiper.allowTouchMove = false;
9277 + elements.$container.addClass(classes.slideshow.zoomMode);
9278 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomIn).addClass(classes.slideshow.iconZoomOut);
9279 + },
9280 + deactivateZoom: function deactivateZoom() {
9281 + var swiper = this.swiper,
9282 + elements = this.elements,
9283 + classes = this.getSettings('classes');
9284 + swiper.zoom.out();
9285 + swiper.allowSlideNext = true;
9286 + swiper.allowSlidePrev = true;
9287 + swiper.allowTouchMove = true;
9288 + elements.$container.removeClass(classes.slideshow.zoomMode);
9289 + elements.$iconZoom.removeClass(classes.slideshow.iconZoomOut).addClass(classes.slideshow.iconZoomIn);
9290 + },
9291 + getSlideshowFooter: function getSlideshowFooter() {
9292 + var $ = jQuery,
9293 + classes = this.getSettings('classes'),
9294 + $footer = $('<footer>', {
9295 + class: classes.slideshow.footer + ' ' + classes.preventClose
9296 + }),
9297 + $title = $('<div>', {
9298 + class: classes.slideshow.title
9299 + }),
9300 + $description = $('<div>', {
9301 + class: classes.slideshow.description
9302 + });
9303 + $footer.append($title, $description);
9304 + return $footer;
9305 + },
9306 + setSlideshowContent: function setSlideshowContent(options) {
9307 + var _this2 = this;
9308 +
9309 + var i18n = elementorFrontend.config.i18n,
9310 + $ = jQuery,
9311 + isSingleSlide = 1 === options.slides.length,
9312 + hasTitle = '' !== elementorFrontend.getKitSettings('lightbox_title_src'),
9313 + hasDescription = '' !== elementorFrontend.getKitSettings('lightbox_description_src'),
9314 + showFooter = hasTitle || hasDescription,
9315 + classes = this.getSettings('classes'),
9316 + slideshowClasses = classes.slideshow,
9317 + $container = $('<div>', {
9318 + class: slideshowClasses.container
9319 + }),
9320 + $slidesWrapper = $('<div>', {
9321 + class: slideshowClasses.slidesWrapper
9322 + });
9323 + var $prevButton, $nextButton;
9324 + options.slides.forEach(function (slide) {
9325 + var slideClass = slideshowClasses.slide + ' ' + classes.item;
9326 +
9327 + if (slide.video) {
9328 + slideClass += ' ' + classes.video;
9329 + }
9330 +
9331 + var $slide = $('<div>', {
9332 + class: slideClass
9333 + });
9334 +
9335 + if (slide.video) {
9336 + $slide.attr('data-elementor-slideshow-video', slide.video);
9337 + var $playIcon = $('<div>', {
9338 + class: classes.playButton
9339 + }).html($('<i>', {
9340 + class: classes.playButtonIcon,
9341 + 'aria-label': i18n.playVideo
9342 + }));
9343 + $slide.append($playIcon);
9344 + } else {
9345 + var $zoomContainer = $('<div>', {
9346 + class: 'swiper-zoom-container'
9347 + }),
9348 + $slidePlaceholder = $('<div class="swiper-lazy-preloader"></div>'),
9349 + imageAttributes = {
9350 + 'data-src': slide.image,
9351 + class: classes.image + ' ' + classes.preventClose + ' swiper-lazy'
9352 + };
9353 +
9354 + if (slide.title) {
9355 + imageAttributes['data-title'] = slide.title;
9356 + imageAttributes.alt = slide.title;
9357 + }
9358 +
9359 + if (slide.description) {
9360 + imageAttributes['data-description'] = slide.description;
9361 + imageAttributes.alt += ' - ' + slide.description;
9362 + }
9363 +
9364 + var $slideImage = $('<img>', imageAttributes);
9365 + $zoomContainer.append([$slideImage, $slidePlaceholder]);
9366 + $slide.append($zoomContainer);
9367 + }
9368 +
9369 + $slidesWrapper.append($slide);
9370 + });
9371 + this.elements.$container = $container;
9372 + this.elements.$header = this.getSlideshowHeader();
9373 + $container.prepend(this.elements.$header).append($slidesWrapper);
9374 +
9375 + if (!isSingleSlide) {
9376 + $prevButton = $('<div>', {
9377 + class: slideshowClasses.prevButton + ' ' + classes.preventClose,
9378 + 'aria-label': i18n.previous
9379 + }).html($('<i>', {
9380 + class: slideshowClasses.prevButtonIcon
9381 + }));
9382 + $nextButton = $('<div>', {
9383 + class: slideshowClasses.nextButton + ' ' + classes.preventClose,
9384 + 'aria-label': i18n.next
9385 + }).html($('<i>', {
9386 + class: slideshowClasses.nextButtonIcon
9387 + }));
9388 + $container.append($nextButton, $prevButton);
9389 + this.$buttons = this.$buttons.add($nextButton).add($prevButton);
9390 + }
9391 +
9392 + if (showFooter) {
9393 + this.elements.$footer = this.getSlideshowFooter();
9394 + $container.append(this.elements.$footer);
9395 + }
9396 +
9397 + this.setSettings('hideUiTimeout', '');
9398 + $container.on('click mousemove keypress', this.showLightboxUi);
9399 + var modal = this.getModal();
9400 + modal.setMessage($container);
9401 + var onShowMethod = modal.onShow;
9402 +
9403 + modal.onShow = function () {
9404 + onShowMethod();
9405 + var swiperOptions = {
9406 + pagination: {
9407 + el: '.' + slideshowClasses.counter,
9408 + type: 'fraction'
9409 + },
9410 + on: {
9411 + slideChangeTransitionEnd: _this2.onSlideChange
9412 + },
9413 + lazy: {
9414 + loadPrevNext: true
9415 + },
9416 + zoom: true,
9417 + spaceBetween: 100,
9418 + grabCursor: true,
9419 + runCallbacksOnInit: false,
9420 + loop: true,
9421 + keyboard: true,
9422 + handleElementorBreakpoints: true
9423 + };
9424 +
9425 + if (!isSingleSlide) {
9426 + swiperOptions.navigation = {
9427 + prevEl: $prevButton,
9428 + nextEl: $nextButton
9429 + };
9430 + }
9431 +
9432 + if (options.swiper) {
9433 + $.extend(swiperOptions, options.swiper);
9434 + }
9435 +
9436 + _this2.swiper = new Swiper($container, swiperOptions); // Expose the swiper instance in the frontend
9437 +
9438 + $container.data('swiper', _this2.swiper);
9439 +
9440 + _this2.setVideoAspectRatio();
9441 +
9442 + _this2.playSlideVideo();
9443 +
9444 + if (showFooter) {
9445 + _this2.updateFooterText();
9446 + }
9447 +
9448 + _this2.bindHotKeys();
9449 +
9450 + _this2.makeButtonsAccessible();
9451 + };
9452 + },
9453 + makeButtonsAccessible: function makeButtonsAccessible() {
9454 + this.$buttons.attr('tabindex', 0).on('keypress', function (event) {
9455 + var ENTER_KEY = 13,
9456 + SPACE_KEY = 32;
9457 +
9458 + if (ENTER_KEY === event.which || SPACE_KEY === event.which) {
9459 + jQuery(event.currentTarget).trigger('click');
9460 + }
9461 + });
9462 + },
9463 + showLightboxUi: function showLightboxUi() {
9464 + var _this3 = this;
9465 +
9466 + var slideshowClasses = this.getSettings('classes').slideshow;
9467 + this.elements.$container.removeClass(slideshowClasses.hideUiVisibility);
9468 + clearTimeout(this.getSettings('hideUiTimeout'));
9469 + this.setSettings('hideUiTimeout', setTimeout(function () {
9470 + if (!_this3.shareMode) {
9471 + _this3.elements.$container.addClass(slideshowClasses.hideUiVisibility);
9472 + }
9473 + }, 3500));
9474 + },
9475 + bindHotKeys: function bindHotKeys() {
9476 + this.getModal().getElements('window').on('keydown', this.activeKeyDown);
9477 + },
9478 + unbindHotKeys: function unbindHotKeys() {
9479 + this.getModal().getElements('window').off('keydown', this.activeKeyDown);
9480 + },
9481 + activeKeyDown: function activeKeyDown(event) {
9482 + this.showLightboxUi();
9483 + var TAB_KEY = 9;
9484 +
9485 + if (event.which === TAB_KEY) {
9486 + var $buttons = this.$buttons;
9487 + var focusedButton,
9488 + isFirst = false,
9489 + isLast = false;
9490 + $buttons.each(function (index) {
9491 + var item = $buttons[index];
9492 +
9493 + if (jQuery(item).is(':focus')) {
9494 + focusedButton = item;
9495 + isFirst = 0 === index;
9496 + isLast = $buttons.length - 1 === index;
9497 + return false;
9498 + }
9499 + });
9500 +
9501 + if (event.shiftKey) {
9502 + if (isFirst) {
9503 + event.preventDefault();
9504 + $buttons.last().focus();
9505 + }
9506 + } else if (isLast || !focusedButton) {
9507 + event.preventDefault();
9508 + $buttons.first().focus();
9509 + }
9510 + }
9511 + },
9512 + setVideoAspectRatio: function setVideoAspectRatio(aspectRatio) {
9513 + aspectRatio = aspectRatio || this.getSettings('modalOptions.videoAspectRatio');
9514 + var $widgetContent = this.getModal().getElements('widgetContent'),
9515 + oldAspectRatio = this.oldAspectRatio,
9516 + aspectRatioClass = this.getSettings('classes.aspectRatio');
9517 + this.oldAspectRatio = aspectRatio;
9518 +
9519 + if (oldAspectRatio) {
9520 + $widgetContent.removeClass(aspectRatioClass.replace('%s', oldAspectRatio));
9521 + }
9522 +
9523 + if (aspectRatio) {
9524 + $widgetContent.addClass(aspectRatioClass.replace('%s', aspectRatio));
9525 + }
9526 + },
9527 + getSlide: function getSlide(slideState) {
9528 + return jQuery(this.swiper.slides).filter(this.getSettings('selectors.slideshow.' + slideState + 'Slide'));
9529 + },
9530 + updateFooterText: function updateFooterText() {
9531 + if (!this.elements.$footer) {
9532 + return;
9533 + }
9534 +
9535 + var classes = this.getSettings('classes'),
9536 + $activeSlide = this.getSlide('active'),
9537 + $image = $activeSlide.find('.elementor-lightbox-image'),
9538 + titleText = $image.data('title'),
9539 + descriptionText = $image.data('description'),
9540 + $title = this.elements.$footer.find('.' + classes.slideshow.title),
9541 + $description = this.elements.$footer.find('.' + classes.slideshow.description);
9542 + $title.text(titleText || '');
9543 + $description.text(descriptionText || '');
9544 + },
9545 + playSlideVideo: function playSlideVideo() {
9546 + var _this4 = this;
9547 +
9548 + var $activeSlide = this.getSlide('active'),
9549 + videoURL = $activeSlide.data('elementor-slideshow-video');
9550 +
9551 + if (!videoURL) {
9552 + return;
9553 + }
9554 +
9555 + var classes = this.getSettings('classes'),
9556 + $videoContainer = jQuery('<div>', {
9557 + class: classes.videoContainer + ' ' + classes.invisible
9558 + }),
9559 + $videoWrapper = jQuery('<div>', {
9560 + class: classes.videoWrapper
9561 + }),
9562 + $playIcon = $activeSlide.children('.' + classes.playButton);
9563 + var videoType, apiProvider;
9564 + $videoContainer.append($videoWrapper);
9565 + $activeSlide.append($videoContainer);
9566 +
9567 + if (-1 !== videoURL.indexOf('vimeo.com')) {
9568 + videoType = 'vimeo';
9569 + apiProvider = elementorFrontend.utils.vimeo;
9570 + } else if (videoURL.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
9571 + videoType = 'youtube';
9572 + apiProvider = elementorFrontend.utils.youtube;
9573 + }
9574 +
9575 + var videoID = apiProvider.getVideoIDFromURL(videoURL);
9576 + apiProvider.onApiReady(function (apiObject) {
9577 + if ('youtube' === videoType) {
9578 + _this4.prepareYTVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9579 + } else if ('vimeo' === videoType) {
9580 + _this4.prepareVimeoVideo(apiObject, videoID, $videoContainer, $videoWrapper, $playIcon);
9581 + }
9582 + });
9583 + $playIcon.addClass(classes.playing).removeClass(classes.hidden);
9584 + },
9585 + prepareYTVideo: function prepareYTVideo(YT, videoID, $videoContainer, $videoWrapper, $playIcon) {
9586 + var _this5 = this;
9587 +
9588 + var classes = this.getSettings('classes'),
9589 + $videoPlaceholderElement = jQuery('<div>');
9590 + var startStateCode = YT.PlayerState.PLAYING;
9591 + $videoWrapper.append($videoPlaceholderElement); // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
9592 +
9593 + if (window.chrome) {
9594 + startStateCode = YT.PlayerState.UNSTARTED;
9595 + }
9596 +
9597 + $videoContainer.addClass('elementor-loading' + ' ' + classes.invisible);
9598 + this.player = new YT.Player($videoPlaceholderElement[0], {
9599 + videoId: videoID,
9600 + events: {
9601 + onReady: function onReady() {
9602 + $playIcon.addClass(classes.hidden);
9603 + $videoContainer.removeClass(classes.invisible);
9604 +
9605 + _this5.player.playVideo();
9606 + },
9607 + onStateChange: function onStateChange(event) {
9608 + if (event.data === startStateCode) {
9609 + $videoContainer.removeClass('elementor-loading' + ' ' + classes.invisible);
9610 + }
9611 + }
9612 + },
9613 + playerVars: {
9614 + controls: 0,
9615 + rel: 0
9616 + }
9617 + });
9618 + },
9619 + prepareVimeoVideo: function prepareVimeoVideo(Vimeo, videoId, $videoContainer, $videoWrapper, $playIcon) {
9620 + var classes = this.getSettings('classes'),
9621 + vimeoOptions = {
9622 + id: videoId,
9623 + autoplay: true,
9624 + transparent: false,
9625 + playsinline: false
9626 + };
9627 + this.player = new Vimeo.Player($videoWrapper, vimeoOptions);
9628 + this.player.ready().then(function () {
9629 + $playIcon.addClass(classes.hidden);
9630 + $videoContainer.removeClass(classes.invisible);
9631 + });
9632 + },
9633 + setEntranceAnimation: function setEntranceAnimation(animation) {
9634 + animation = animation || elementorFrontend.getCurrentDeviceSetting(this.getSettings('modalOptions'), 'entranceAnimation');
9635 + var $widgetMessage = this.getModal().getElements('message');
9636 +
9637 + if (this.oldAnimation) {
9638 + $widgetMessage.removeClass(this.oldAnimation);
9639 + }
9640 +
9641 + this.oldAnimation = animation;
9642 +
9643 + if (animation) {
9644 + $widgetMessage.addClass('animated ' + animation);
9645 + }
9646 + },
9647 + isLightboxLink: function isLightboxLink(element) {
9648 + if ('A' === element.tagName && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href))) {
9649 + return false;
9650 + }
9651 +
9652 + var generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
9653 + currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
9654 + return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
9655 + },
9656 + openSlideshow: function openSlideshow(slideshowID, initialSlideURL) {
9657 + var $allSlideshowLinks = jQuery(this.getSettings('selectors.links')).filter(function (index, element) {
9658 + var $element = jQuery(element);
9659 + return slideshowID === element.dataset.elementorLightboxSlideshow && !$element.parent('.swiper-slide-duplicate').length && !$element.parents('.slick-cloned').length;
9660 + });
9661 + var slides = [];
9662 + var initialSlideIndex = 0;
9663 + $allSlideshowLinks.each(function () {
9664 + var slideVideo = this.dataset.elementorLightboxVideo;
9665 + var slideIndex = this.dataset.elementorLightboxIndex;
9666 +
9667 + if (undefined === slideIndex) {
9668 + slideIndex = $allSlideshowLinks.index(this);
9669 + }
9670 +
9671 + if (initialSlideURL === this.href || slideVideo && initialSlideURL === slideVideo) {
9672 + initialSlideIndex = slideIndex;
9673 + }
9674 +
9675 + var slideData = {
9676 + image: this.href,
9677 + index: slideIndex,
9678 + title: this.dataset.elementorLightboxTitle,
9679 + description: this.dataset.elementorLightboxDescription
9680 + };
9681 +
9682 + if (slideVideo) {
9683 + slideData.video = slideVideo;
9684 + }
9685 +
9686 + slides.push(slideData);
9687 + });
9688 + slides.sort(function (a, b) {
9689 + return a.index - b.index;
9690 + });
9691 + this.showModal({
9692 + type: 'slideshow',
9693 + id: slideshowID,
9694 + modalOptions: {
9695 + id: 'elementor-lightbox-slideshow-' + slideshowID
9696 + },
9697 + slideshow: {
9698 + slides: slides,
9699 + swiper: {
9700 + initialSlide: +initialSlideIndex
9701 + }
9702 + }
9703 + });
9704 + },
9705 + openLink: function openLink(event) {
9706 + var element = event.currentTarget,
9707 + $target = jQuery(event.target),
9708 + editMode = elementorFrontend.isEditMode(),
9709 + isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
9710 +
9711 + if (!this.isLightboxLink(element)) {
9712 + if (editMode && isClickInsideElementor) {
9713 + event.preventDefault();
9714 + }
9715 +
9716 + return;
9717 + }
9718 +
9719 + event.preventDefault();
9720 +
9721 + if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
9722 + return;
9723 + }
9724 +
9725 + var lightboxData = {};
9726 +
9727 + if (element.dataset.elementorLightbox) {
9728 + lightboxData = JSON.parse(element.dataset.elementorLightbox);
9729 + }
9730 +
9731 + if (lightboxData.type && 'slideshow' !== lightboxData.type) {
9732 + this.showModal(lightboxData);
9733 + return;
9734 + }
9735 +
9736 + if (!element.dataset.elementorLightboxSlideshow) {
9737 + var slideshowID = 'single-img';
9738 + this.showModal({
9739 + type: 'image',
9740 + id: slideshowID,
9741 + url: element.href,
9742 + title: element.dataset.elementorLightboxTitle,
9743 + description: element.dataset.elementorLightboxDescription,
9744 + modalOptions: {
9745 + id: 'elementor-lightbox-slideshow-' + slideshowID
9746 + }
9747 + });
9748 + return;
9749 + }
9750 +
9751 + var initialSlideURL = element.dataset.elementorLightboxVideo ? element.dataset.elementorLightboxVideo : element.href;
9752 + this.openSlideshow(element.dataset.elementorLightboxSlideshow, initialSlideURL);
9753 + },
9754 + bindEvents: function bindEvents() {
9755 + elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.openLink);
9756 + },
9757 + onSlideChange: function onSlideChange() {
9758 + this.getSlide('prev').add(this.getSlide('next')).add(this.getSlide('active')).find('.' + this.getSettings('classes.videoWrapper')).remove();
9759 + this.playSlideVideo();
9760 + this.updateFooterText();
2431 9761 }
9762 +});
2432 9763
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));
9764 +/***/ }),
9765 +/* 810 */
9766 +/***/ (function(module, exports, __webpack_require__) {
9767 +
9768 +"use strict";
9769 +
9770 +
9771 +var _interopRequireDefault = __webpack_require__(0);
9772 +
9773 +var _defineProperties = _interopRequireDefault(__webpack_require__(289));
9774 +
9775 +var _promise = _interopRequireDefault(__webpack_require__(133));
9776 +
9777 +(function () {
9778 + 'use strict';
9779 +
9780 + var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {};
9781 + var isCommonjs = true && module.exports;
9782 +
9783 + var fn = function () {
9784 + var val;
9785 + var fnMap = [['requestFullscreen', 'exitFullscreen', 'fullscreenElement', 'fullscreenEnabled', 'fullscreenchange', 'fullscreenerror'], // New WebKit
9786 + ['webkitRequestFullscreen', 'webkitExitFullscreen', 'webkitFullscreenElement', 'webkitFullscreenEnabled', 'webkitfullscreenchange', 'webkitfullscreenerror'], // Old WebKit
9787 + ['webkitRequestFullScreen', 'webkitCancelFullScreen', 'webkitCurrentFullScreenElement', 'webkitCancelFullScreen', 'webkitfullscreenchange', 'webkitfullscreenerror'], ['mozRequestFullScreen', 'mozCancelFullScreen', 'mozFullScreenElement', 'mozFullScreenEnabled', 'mozfullscreenchange', 'mozfullscreenerror'], ['msRequestFullscreen', 'msExitFullscreen', 'msFullscreenElement', 'msFullscreenEnabled', 'MSFullscreenChange', 'MSFullscreenError']];
9788 + var i = 0;
9789 + var l = fnMap.length;
9790 + var ret = {};
9791 +
9792 + for (; i < l; i++) {
9793 + val = fnMap[i];
9794 +
9795 + if (val && val[1] in document) {
9796 + var valLength = val.length;
9797 +
9798 + for (i = 0; i < valLength; i++) {
9799 + ret[fnMap[0][i]] = val[i];
9800 + }
9801 +
9802 + return ret;
9803 + }
2438 9804 }
9805 +
9806 + return false;
9807 + }();
9808 +
9809 + var eventNameMap = {
9810 + change: fn.fullscreenchange,
9811 + error: fn.fullscreenerror
9812 + };
9813 + var screenfull = {
9814 + request: function request(element) {
9815 + return new _promise.default(function (resolve, reject) {
9816 + var onFullScreenEntered = function () {
9817 + this.off('change', onFullScreenEntered);
9818 + resolve();
9819 + }.bind(this);
9820 +
9821 + this.on('change', onFullScreenEntered);
9822 + element = element || document.documentElement;
9823 +
9824 + _promise.default.resolve(element[fn.requestFullscreen]()).catch(reject);
9825 + }.bind(this));
9826 + },
9827 + exit: function exit() {
9828 + return new _promise.default(function (resolve, reject) {
9829 + if (!this.isFullscreen) {
9830 + resolve();
9831 + return;
9832 + }
9833 +
9834 + var onFullScreenExit = function () {
9835 + this.off('change', onFullScreenExit);
9836 + resolve();
9837 + }.bind(this);
9838 +
9839 + this.on('change', onFullScreenExit);
9840 +
9841 + _promise.default.resolve(document[fn.exitFullscreen]()).catch(reject);
9842 + }.bind(this));
9843 + },
9844 + toggle: function toggle(element) {
9845 + return this.isFullscreen ? this.exit() : this.request(element);
9846 + },
9847 + onchange: function onchange(callback) {
9848 + this.on('change', callback);
9849 + },
9850 + onerror: function onerror(callback) {
9851 + this.on('error', callback);
9852 + },
9853 + on: function on(event, callback) {
9854 + var eventName = eventNameMap[event];
9855 +
9856 + if (eventName) {
9857 + document.addEventListener(eventName, callback, false);
9858 + }
9859 + },
9860 + off: function off(event, callback) {
9861 + var eventName = eventNameMap[event];
9862 +
9863 + if (eventName) {
9864 + document.removeEventListener(eventName, callback, false);
9865 + }
9866 + },
9867 + raw: fn
9868 + };
9869 +
9870 + if (!fn) {
9871 + if (isCommonjs) {
9872 + module.exports = {
9873 + isEnabled: false
9874 + };
9875 + } else {
9876 + window.screenfull = {
9877 + isEnabled: false
9878 + };
9879 + }
9880 +
9881 + return;
2439 9882 }
2440 -}
2441 9883
9884 + (0, _defineProperties.default)(screenfull, {
9885 + isFullscreen: {
9886 + get: function get() {
9887 + return Boolean(document[fn.fullscreenElement]);
9888 + }
9889 + },
9890 + element: {
9891 + enumerable: true,
9892 + get: function get() {
9893 + return document[fn.fullscreenElement];
9894 + }
9895 + },
9896 + isEnabled: {
9897 + enumerable: true,
9898 + get: function get() {
9899 + // Coerce to boolean in case of old WebKit
9900 + return Boolean(document[fn.fullscreenEnabled]);
9901 + }
9902 + }
9903 + });
2442 9904
9905 + if (isCommonjs) {
9906 + module.exports = screenfull;
9907 + } else {
9908 + window.screenfull = screenfull;
9909 + }
9910 +})();
9911 +
2443 9912 /***/ })
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 -]);
9913 +/******/ ]);
2452 9914 //# sourceMappingURL=frontend.js.map