PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.7
Elementor Website Builder – more than just a page builder v3.4.7
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 4.0.7 All 451 releases
elementor / assets / js / frontend.js

frontend.js in Elementor Website Builder – more than just a page builder 3.4.7, at assets/js/frontend.js

2,885 lines 85.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.4.7 - 31-10-2021 */
2 (self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["frontend"],{
3
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__) => {
9
10 "use strict";
11
12
13 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
14
15 Object.defineProperty(exports, "__esModule", ({
16 value: true
17 }));
18 exports.default = void 0;
19
20 var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js"));
21
22 class _default extends elementorModules.ViewModule {
23 constructor(...args) {
24 super(...args);
25 this.documents = {};
26 this.initDocumentClasses();
27 this.attachDocumentsClasses();
28 }
29
30 getDefaultSettings() {
31 return {
32 selectors: {
33 document: '.elementor'
34 }
35 };
36 }
37
38 getDefaultElements() {
39 const selectors = this.getSettings('selectors');
40 return {
41 $documents: jQuery(selectors.document)
42 };
43 }
44
45 initDocumentClasses() {
46 this.documentClasses = {
47 base: _document.default
48 };
49 elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this);
50 }
51
52 addDocumentClass(documentType, documentClass) {
53 this.documentClasses[documentType] = documentClass;
54 }
55
56 attachDocumentsClasses() {
57 this.elements.$documents.each((index, document) => this.attachDocumentClass(jQuery(document)));
58 }
59
60 attachDocumentClass($document) {
61 const documentData = $document.data(),
62 documentID = documentData.elementorId,
63 documentType = documentData.elementorType,
64 DocumentClass = this.documentClasses[documentType] || this.documentClasses.base;
65 this.documents[documentID] = new DocumentClass({
66 $element: $document,
67 id: documentID
68 });
69 }
70
71 }
72
73 exports.default = _default;
74
75 /***/ }),
76
77 /***/ "../assets/dev/js/frontend/elements-handlers-manager.js":
78 /*!**************************************************************!*\
79 !*** ../assets/dev/js/frontend/elements-handlers-manager.js ***!
80 \**************************************************************/
81 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
82
83 "use strict";
84
85
86 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
87
88 var _global = _interopRequireDefault(__webpack_require__(/*! ./handlers/global */ "../assets/dev/js/frontend/handlers/global.js"));
89
90 var _section = _interopRequireDefault(__webpack_require__(/*! ./handlers/section/section */ "../assets/dev/js/frontend/handlers/section/section.js"));
91
92 var _column = _interopRequireDefault(__webpack_require__(/*! ./handlers/column */ "../assets/dev/js/frontend/handlers/column.js"));
93
94 module.exports = function ($) {
95 const handlersInstances = {};
96 this.elementsHandlers = {
97 'accordion.default': () => __webpack_require__.e(/*! import() | accordion */ "accordion").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/accordion */ "../assets/dev/js/frontend/handlers/accordion.js")),
98 'alert.default': () => __webpack_require__.e(/*! import() | alert */ "alert").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/alert */ "../assets/dev/js/frontend/handlers/alert.js")),
99 'counter.default': () => __webpack_require__.e(/*! import() | counter */ "counter").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/counter */ "../assets/dev/js/frontend/handlers/counter.js")),
100 'progress.default': () => __webpack_require__.e(/*! import() | progress */ "progress").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/progress */ "../assets/dev/js/frontend/handlers/progress.js")),
101 'tabs.default': () => __webpack_require__.e(/*! import() | tabs */ "tabs").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/tabs */ "../assets/dev/js/frontend/handlers/tabs.js")),
102 'toggle.default': () => __webpack_require__.e(/*! import() | toggle */ "toggle").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/toggle */ "../assets/dev/js/frontend/handlers/toggle.js")),
103 'video.default': () => __webpack_require__.e(/*! import() | video */ "video").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/video */ "../assets/dev/js/frontend/handlers/video.js")),
104 '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")),
105 '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")),
106 '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"))
107 };
108
109 const addGlobalHandlers = () => elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default);
110
111 const addElementsHandlers = () => {
112 this.elementsHandlers.section = _section.default;
113 this.elementsHandlers.column = _column.default;
114 $.each(this.elementsHandlers, (elementName, Handlers) => {
115 const elementData = elementName.split('.');
116 elementName = elementData[0];
117 const skin = elementData[1] || null;
118 this.attachHandler(elementName, Handlers, skin);
119 });
120 };
121
122 const isClassHandler = Handler => {
123 var _Handler$prototype;
124
125 return (_Handler$prototype = Handler.prototype) === null || _Handler$prototype === void 0 ? void 0 : _Handler$prototype.getUniqueHandlerID;
126 };
127
128 const addHandlerWithHook = (elementName, Handler, skin = 'default') => {
129 skin = skin ? '.' + skin : '';
130 elementorFrontend.hooks.addAction(`frontend/element_ready/${elementName}${skin}`, $element => {
131 if (isClassHandler(Handler)) {
132 this.addHandler(Handler, {
133 $element
134 }, true);
135 } else {
136 const handlerValue = Handler();
137
138 if (handlerValue instanceof Promise) {
139 handlerValue.then(({
140 default: dynamicHandler
141 }) => {
142 this.addHandler(dynamicHandler, {
143 $element
144 }, true);
145 });
146 } else {
147 this.addHandler(handlerValue, {
148 $element
149 }, true);
150 }
151 }
152 });
153 };
154
155 this.addHandler = function (HandlerClass, options) {
156 const elementID = options.$element.data('model-cid');
157 let handlerID; // If element is in edit mode
158
159 if (elementID) {
160 handlerID = HandlerClass.prototype.getConstructorID();
161
162 if (!handlersInstances[elementID]) {
163 handlersInstances[elementID] = {};
164 }
165
166 const oldHandler = handlersInstances[elementID][handlerID];
167
168 if (oldHandler) {
169 oldHandler.onDestroy();
170 }
171 }
172
173 const newHandler = new HandlerClass(options);
174
175 if (elementID) {
176 handlersInstances[elementID][handlerID] = newHandler;
177 }
178 };
179
180 this.attachHandler = (elementName, Handlers, skin) => {
181 if (!Array.isArray(Handlers)) {
182 Handlers = [Handlers];
183 }
184
185 Handlers.forEach(Handler => addHandlerWithHook(elementName, Handler, skin));
186 };
187
188 this.getHandler = function (handlerName) {
189 if (!handlerName) {
190 return;
191 }
192
193 const elementHandler = this.elementsHandlers[handlerName];
194
195 if (isClassHandler(elementHandler)) {
196 return elementHandler;
197 }
198
199 return new Promise(res => {
200 elementHandler().then(({
201 default: dynamicHandler
202 }) => {
203 res(dynamicHandler);
204 });
205 });
206 };
207
208 this.getHandlers = function (handlerName) {
209 elementorCommon.helpers.softDeprecated('getHandlers', '3.1.0', 'elementorFrontend.elementsHandler.getHandler');
210
211 if (handlerName) {
212 return this.getHandler(handlerName);
213 }
214
215 return this.elementsHandlers;
216 };
217
218 this.runReadyTrigger = function (scope) {
219 if (elementorFrontend.config.is_static) {
220 return;
221 } // Initializing the `$scope` as frontend jQuery instance
222
223
224 const $scope = jQuery(scope),
225 elementType = $scope.attr('data-element_type');
226
227 if (!elementType) {
228 return;
229 }
230
231 elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $);
232 elementorFrontend.hooks.doAction(`frontend/element_ready/${elementType}`, $scope, $);
233
234 if ('widget' === elementType) {
235 const widgetType = $scope.attr('data-widget_type');
236 elementorFrontend.hooks.doAction(`frontend/element_ready/${widgetType}`, $scope, $);
237 }
238 };
239
240 this.init = () => {
241 addGlobalHandlers();
242 addElementsHandlers();
243 };
244 };
245
246 /***/ }),
247
248 /***/ "../assets/dev/js/frontend/frontend.js":
249 /*!*********************************************!*\
250 !*** ../assets/dev/js/frontend/frontend.js ***!
251 \*********************************************/
252 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
253
254 "use strict";
255
256
257 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
258
259 Object.defineProperty(exports, "__esModule", ({
260 value: true
261 }));
262 exports.default = void 0;
263
264 __webpack_require__(/*! ../public-path */ "../assets/dev/js/public-path.js");
265
266 var _documentsManager = _interopRequireDefault(__webpack_require__(/*! ./documents-manager */ "../assets/dev/js/frontend/documents-manager.js"));
267
268 var _storage = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/storage */ "../core/common/assets/js/utils/storage.js"));
269
270 var _environment = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/environment */ "../core/common/assets/js/utils/environment.js"));
271
272 var _youtubeLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/youtube-loader */ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js"));
273
274 var _vimeoLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/vimeo-loader */ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js"));
275
276 var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
277
278 var _urlActions = _interopRequireDefault(__webpack_require__(/*! ./utils/url-actions */ "../assets/dev/js/frontend/utils/url-actions.js"));
279
280 var _swiperBc = _interopRequireDefault(__webpack_require__(/*! ./utils/swiper-bc */ "../assets/dev/js/frontend/utils/swiper-bc.js"));
281
282 var _lightboxManager = _interopRequireDefault(__webpack_require__(/*! ./utils/lightbox/lightbox-manager */ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js"));
283
284 var _assetsLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/assets-loader */ "../assets/dev/js/frontend/utils/assets-loader.js"));
285
286 var _breakpoints = _interopRequireDefault(__webpack_require__(/*! elementor-utils/breakpoints */ "../assets/dev/js/utils/breakpoints.js"));
287
288 var _frontend = _interopRequireDefault(__webpack_require__(/*! elementor/modules/shapes/assets/js/frontend/frontend */ "../modules/shapes/assets/js/frontend/frontend.js"));
289
290 var _utils = __webpack_require__(/*! elementor-frontend/utils/utils */ "../assets/dev/js/frontend/utils/utils.js");
291
292 /* global elementorFrontendConfig */
293 const EventManager = __webpack_require__(/*! elementor-utils/hooks */ "../assets/dev/js/utils/hooks.js"),
294 ElementsHandler = __webpack_require__(/*! elementor-frontend/elements-handlers-manager */ "../assets/dev/js/frontend/elements-handlers-manager.js"),
295 AnchorsModule = __webpack_require__(/*! elementor-frontend/utils/anchors */ "../assets/dev/js/frontend/utils/anchors.js");
296
297 class Frontend extends elementorModules.ViewModule {
298 constructor(...args) {
299 super(...args);
300 this.config = elementorFrontendConfig;
301 this.config.legacyMode = {
302 get elementWrappers() {
303 if (elementorFrontend.isEditMode()) {
304 elementorCommon.helpers.hardDeprecated('elementorFrontend.config.legacyMode.elementWrappers', '3.1.0', 'elementorFrontend.config.experimentalFeatures.e_dom_optimization');
305 }
306
307 return !elementorFrontend.config.experimentalFeatures.e_dom_optimization;
308 }
309
310 };
311 this.populateActiveBreakpointsConfig();
312 } // TODO: BC since 2.5.0
313
314
315 get Module() {
316 if (this.isEditMode()) {
317 parent.elementorCommon.helpers.hardDeprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base');
318 }
319
320 return elementorModules.frontend.handlers.Base;
321 }
322
323 getDefaultSettings() {
324 return {
325 selectors: {
326 elementor: '.elementor',
327 adminBar: '#wpadminbar'
328 }
329 };
330 }
331
332 getDefaultElements() {
333 const defaultElements = {
334 window: window,
335 $window: jQuery(window),
336 $document: jQuery(document),
337 $head: jQuery(document.head),
338 $body: jQuery(document.body),
339 $deviceMode: jQuery('<span>', {
340 id: 'elementor-device-mode',
341 class: 'elementor-screen-only'
342 })
343 };
344 defaultElements.$body.append(defaultElements.$deviceMode);
345 return defaultElements;
346 }
347
348 bindEvents() {
349 this.elements.$window.on('resize', () => this.setDeviceModeData());
350 }
351 /**
352 * @deprecated 2.4.0 Use just `this.elements` instead
353 */
354
355
356 getElements(elementName) {
357 return this.getItems(this.elements, elementName);
358 }
359 /**
360 * @deprecated 2.4.0 This method was never in use
361 */
362
363
364 getPageSettings(settingName) {
365 const settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page;
366 return this.getItems(settingsObject, settingName);
367 }
368
369 getGeneralSettings(settingName) {
370 if (this.isEditMode()) {
371 parent.elementorCommon.helpers.softDeprecated('getGeneralSettings', '3.0.0', 'getKitSettings and remove the `elementor_` prefix');
372 }
373
374 return this.getKitSettings(`elementor_${settingName}`);
375 }
376
377 getKitSettings(settingName) {
378 // TODO: use Data API.
379 return this.getItems(this.config.kit, settingName);
380 }
381
382 getCurrentDeviceMode() {
383 return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, '');
384 }
385
386 getDeviceSetting(deviceMode, settings, settingKey) {
387 // Add specific handling for widescreen since it is larger than desktop.
388 if ('widescreen' === deviceMode) {
389 return this.getWidescreenSetting(settings, settingKey);
390 }
391
392 const devices = elementorFrontend.breakpoints.getActiveBreakpointsList({
393 largeToSmall: true,
394 withDesktop: true
395 });
396 let deviceIndex = devices.indexOf(deviceMode);
397
398 while (deviceIndex > 0) {
399 const currentDevice = devices[deviceIndex],
400 fullSettingKey = settingKey + '_' + currentDevice,
401 deviceValue = settings[fullSettingKey]; // Accept 0 as value.
402
403 if (deviceValue || 0 === deviceValue) {
404 return deviceValue;
405 }
406
407 deviceIndex--;
408 }
409
410 return settings[settingKey];
411 }
412
413 getWidescreenSetting(settings, settingKey) {
414 const deviceMode = 'widescreen',
415 widescreenSettingKey = settingKey + '_' + deviceMode;
416 let settingToReturn; // If the device mode is 'widescreen', and the setting exists - return it.
417
418 if (settings[widescreenSettingKey]) {
419 settingToReturn = settings[widescreenSettingKey];
420 } else {
421 // Otherwise, return the desktop setting
422 settingToReturn = settings[settingKey];
423 }
424
425 return settingToReturn;
426 }
427
428 getCurrentDeviceSetting(settings, settingKey) {
429 return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey);
430 }
431
432 isEditMode() {
433 return this.config.environmentMode.edit;
434 }
435
436 isWPPreviewMode() {
437 return this.config.environmentMode.wpPreview;
438 }
439
440 initDialogsManager() {
441 let dialogsManager;
442
443 this.getDialogsManager = () => {
444 if (!dialogsManager) {
445 dialogsManager = new DialogsManager.Instance();
446 }
447
448 return dialogsManager;
449 };
450 }
451
452 initOnReadyComponents() {
453 this.utils = {
454 youtube: new _youtubeLoader.default(),
455 vimeo: new _vimeoLoader.default(),
456 baseVideoLoader: new _baseLoader.default(),
457 anchors: new AnchorsModule(),
458
459 get lightbox() {
460 return _lightboxManager.default.getLightbox();
461 },
462
463 urlActions: new _urlActions.default(),
464 swiper: _swiperBc.default,
465 environment: _environment.default,
466 assetsLoader: new _assetsLoader.default(),
467 escapeHTML: _utils.escapeHTML
468 }; // TODO: BC since 2.4.0
469
470 this.modules = {
471 StretchElement: elementorModules.frontend.tools.StretchElement,
472 Masonry: elementorModules.utils.Masonry
473 };
474 this.elementsHandler.init();
475
476 if (this.isEditMode()) {
477 elementor.once('document:loaded', () => this.onDocumentLoaded());
478 } else {
479 this.onDocumentLoaded();
480 }
481 }
482
483 initOnReadyElements() {
484 this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar'));
485 }
486
487 addUserAgentClasses() {
488 for (const [key, value] of Object.entries(_environment.default)) {
489 if (value) {
490 this.elements.$body.addClass('e--ua-' + key);
491 }
492 }
493 }
494
495 setDeviceModeData() {
496 this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode());
497 }
498
499 addListenerOnce(listenerID, event, callback, to) {
500 if (!to) {
501 to = this.elements.$window;
502 }
503
504 if (!this.isEditMode()) {
505 to.on(event, callback);
506 return;
507 }
508
509 this.removeListeners(listenerID, event, to);
510
511 if (to instanceof jQuery) {
512 const eventNS = event + '.' + listenerID;
513 to.on(eventNS, callback);
514 } else {
515 to.on(event, callback, listenerID);
516 }
517 }
518
519 removeListeners(listenerID, event, callback, from) {
520 if (!from) {
521 from = this.elements.$window;
522 }
523
524 if (from instanceof jQuery) {
525 const eventNS = event + '.' + listenerID;
526 from.off(eventNS, callback);
527 } else {
528 from.off(event, callback, listenerID);
529 }
530 } // Based on underscore function
531
532
533 debounce(func, wait) {
534 let timeout;
535 return function () {
536 const context = this,
537 args = arguments;
538
539 const later = () => {
540 timeout = null;
541 func.apply(context, args);
542 };
543
544 const callNow = !timeout;
545 clearTimeout(timeout);
546 timeout = setTimeout(later, wait);
547
548 if (callNow) {
549 func.apply(context, args);
550 }
551 };
552 }
553
554 waypoint($element, callback, options) {
555 const defaultOptions = {
556 offset: '100%',
557 triggerOnce: true
558 };
559 options = jQuery.extend(defaultOptions, options);
560
561 const correctCallback = function () {
562 const element = this.element || this,
563 result = callback.apply(element, arguments); // If is Waypoint new API and is frontend
564
565 if (options.triggerOnce && this.destroy) {
566 this.destroy();
567 }
568
569 return result;
570 };
571
572 return $element.elementorWaypoint(correctCallback, options);
573 }
574
575 muteMigrationTraces() {
576 jQuery.migrateMute = true;
577 jQuery.migrateTrace = false;
578 }
579 /**
580 * Initialize the modules' widgets handlers.
581 */
582
583
584 initModules() {
585 const handlers = {
586 shapes: _frontend.default
587 };
588 elementorFrontend.trigger('elementor/modules/init:before');
589 Object.entries(handlers).forEach(([moduleName, ModuleClass]) => {
590 this.modulesHandlers[moduleName] = new ModuleClass();
591 });
592 }
593
594 populateActiveBreakpointsConfig() {
595 this.config.responsive.activeBreakpoints = {};
596 Object.entries(this.config.responsive.breakpoints).forEach(([breakpointKey, breakpointData]) => {
597 if (breakpointData.is_enabled) {
598 this.config.responsive.activeBreakpoints[breakpointKey] = breakpointData;
599 }
600 });
601 }
602
603 init() {
604 this.hooks = new EventManager();
605 this.breakpoints = new _breakpoints.default(this.config.responsive);
606 this.storage = new _storage.default();
607 this.elementsHandler = new ElementsHandler(jQuery);
608 this.modulesHandlers = {};
609 this.addUserAgentClasses();
610 this.setDeviceModeData();
611 this.initDialogsManager();
612
613 if (this.isEditMode()) {
614 this.muteMigrationTraces();
615 } // Keep this line before `initOnReadyComponents` call
616
617
618 this.elements.$window.trigger('elementor/frontend/init');
619 this.initModules();
620 this.initOnReadyElements();
621 this.initOnReadyComponents();
622 }
623
624 onDocumentLoaded() {
625 this.documentsManager = new _documentsManager.default();
626 this.trigger('components:init');
627 new _lightboxManager.default();
628 }
629
630 }
631
632 exports.default = Frontend;
633 window.elementorFrontend = new Frontend();
634
635 if (!elementorFrontend.isEditMode()) {
636 jQuery(() => elementorFrontend.init());
637 }
638
639 /***/ }),
640
641 /***/ "../assets/dev/js/frontend/handlers/background-slideshow.js":
642 /*!******************************************************************!*\
643 !*** ../assets/dev/js/frontend/handlers/background-slideshow.js ***!
644 \******************************************************************/
645 /***/ ((__unused_webpack_module, exports) => {
646
647 "use strict";
648
649
650 Object.defineProperty(exports, "__esModule", ({
651 value: true
652 }));
653 exports.default = void 0;
654
655 class BackgroundSlideshow extends elementorModules.frontend.handlers.SwiperBase {
656 getDefaultSettings() {
657 return {
658 classes: {
659 swiperContainer: 'elementor-background-slideshow swiper-container',
660 swiperWrapper: 'swiper-wrapper',
661 swiperSlide: 'elementor-background-slideshow__slide swiper-slide',
662 slideBackground: 'elementor-background-slideshow__slide__image',
663 kenBurns: 'elementor-ken-burns',
664 kenBurnsActive: 'elementor-ken-burns--active',
665 kenBurnsIn: 'elementor-ken-burns--in',
666 kenBurnsOut: 'elementor-ken-burns--out'
667 }
668 };
669 }
670
671 getSwiperOptions() {
672 const elementSettings = this.getElementSettings();
673 const swiperOptions = {
674 grabCursor: false,
675 slidesPerView: 1,
676 slidesPerGroup: 1,
677 loop: 'yes' === elementSettings.background_slideshow_loop,
678 speed: elementSettings.background_slideshow_transition_duration,
679 autoplay: {
680 delay: elementSettings.background_slideshow_slide_duration,
681 stopOnLastSlide: !elementSettings.background_slideshow_loop
682 },
683 handleElementorBreakpoints: true,
684 on: {
685 slideChange: () => {
686 if (elementSettings.background_slideshow_ken_burns) {
687 this.handleKenBurns();
688 }
689 }
690 }
691 };
692
693 if ('yes' === elementSettings.background_slideshow_loop) {
694 swiperOptions.loopedSlides = this.getSlidesCount();
695 }
696
697 switch (elementSettings.background_slideshow_slide_transition) {
698 case 'fade':
699 swiperOptions.effect = 'fade';
700 swiperOptions.fadeEffect = {
701 crossFade: true
702 };
703 break;
704
705 case 'slide_down':
706 swiperOptions.autoplay.reverseDirection = true;
707
708 case 'slide_up':
709 swiperOptions.direction = 'vertical';
710 break;
711 }
712
713 return swiperOptions;
714 }
715
716 buildSwiperElements() {
717 const classes = this.getSettings('classes'),
718 elementSettings = this.getElementSettings(),
719 direction = 'slide_left' === elementSettings.background_slideshow_slide_transition ? 'ltr' : 'rtl',
720 $container = jQuery('<div>', {
721 class: classes.swiperContainer,
722 dir: direction
723 }),
724 $wrapper = jQuery('<div>', {
725 class: classes.swiperWrapper
726 }),
727 kenBurnsActive = elementSettings.background_slideshow_ken_burns;
728 let slideInnerClass = classes.slideBackground;
729
730 if (kenBurnsActive) {
731 slideInnerClass += ' ' + classes.kenBurns;
732 const kenBurnsDirection = 'in' === elementSettings.background_slideshow_ken_burns_zoom_direction ? 'kenBurnsIn' : 'kenBurnsOut';
733 slideInnerClass += ' ' + classes[kenBurnsDirection];
734 }
735
736 this.elements.$slides = jQuery();
737 elementSettings.background_slideshow_gallery.forEach(slide => {
738 const $slide = jQuery('<div>', {
739 class: classes.swiperSlide
740 }),
741 $slidebg = jQuery('<div>', {
742 class: slideInnerClass,
743 style: 'background-image: url("' + slide.url + '");'
744 });
745 $slide.append($slidebg);
746 $wrapper.append($slide);
747 this.elements.$slides = this.elements.$slides.add($slide);
748 });
749 $container.append($wrapper);
750 this.$element.prepend($container);
751 this.elements.$backgroundSlideShowContainer = $container;
752 }
753
754 async initSlider() {
755 if (1 >= this.getSlidesCount()) {
756 return;
757 }
758
759 const elementSettings = this.getElementSettings();
760 const Swiper = elementorFrontend.utils.swiper;
761 this.swiper = await new Swiper(this.elements.$backgroundSlideShowContainer, this.getSwiperOptions()); // Expose the swiper instance in the frontend
762
763 this.elements.$backgroundSlideShowContainer.data('swiper', this.swiper);
764
765 if (elementSettings.background_slideshow_ken_burns) {
766 this.handleKenBurns();
767 }
768 }
769
770 activate() {
771 this.buildSwiperElements();
772 this.initSlider();
773 }
774
775 deactivate() {
776 if (this.swiper) {
777 this.swiper.destroy();
778 this.elements.$backgroundSlideShowContainer.remove();
779 }
780 }
781
782 run() {
783 if ('slideshow' === this.getElementSettings('background_background')) {
784 this.activate();
785 } else {
786 this.deactivate();
787 }
788 }
789
790 onInit() {
791 super.onInit();
792
793 if (this.getElementSettings('background_slideshow_gallery')) {
794 this.run();
795 }
796 }
797
798 onDestroy() {
799 super.onDestroy();
800 this.deactivate();
801 }
802
803 onElementChange(propertyName) {
804 if ('background_background' === propertyName) {
805 this.run();
806 }
807 }
808
809 }
810
811 exports.default = BackgroundSlideshow;
812
813 /***/ }),
814
815 /***/ "../assets/dev/js/frontend/handlers/column.js":
816 /*!****************************************************!*\
817 !*** ../assets/dev/js/frontend/handlers/column.js ***!
818 \****************************************************/
819 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
820
821 "use strict";
822
823
824 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
825
826 Object.defineProperty(exports, "__esModule", ({
827 value: true
828 }));
829 exports.default = void 0;
830
831 var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(/*! ./background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js"));
832
833 var _default = [_backgroundSlideshow.default];
834 exports.default = _default;
835
836 /***/ }),
837
838 /***/ "../assets/dev/js/frontend/handlers/global.js":
839 /*!****************************************************!*\
840 !*** ../assets/dev/js/frontend/handlers/global.js ***!
841 \****************************************************/
842 /***/ ((__unused_webpack_module, exports) => {
843
844 "use strict";
845
846
847 Object.defineProperty(exports, "__esModule", ({
848 value: true
849 }));
850 exports.default = void 0;
851
852 class GlobalHandler extends elementorModules.frontend.handlers.Base {
853 getWidgetType() {
854 return 'global';
855 }
856
857 animate() {
858 const $element = this.$element,
859 animation = this.getAnimation();
860
861 if ('none' === animation) {
862 $element.removeClass('elementor-invisible');
863 return;
864 }
865
866 const elementSettings = this.getElementSettings(),
867 animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0;
868 $element.removeClass(animation);
869
870 if (this.currentAnimation) {
871 $element.removeClass(this.currentAnimation);
872 }
873
874 this.currentAnimation = animation;
875 setTimeout(() => {
876 $element.removeClass('elementor-invisible').addClass('animated ' + animation);
877 }, animationDelay);
878 }
879
880 getAnimation() {
881 return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation');
882 }
883
884 onInit(...args) {
885 super.onInit(...args);
886
887 if (this.getAnimation()) {
888 const observer = elementorModules.utils.Scroll.scrollObserver({
889 callback: event => {
890 if (event.isInViewport) {
891 this.animate();
892 observer.unobserve(this.$element[0]);
893 }
894 }
895 });
896 observer.observe(this.$element[0]);
897 }
898 }
899
900 onElementChange(propertyName) {
901 if (/^_?animation/.test(propertyName)) {
902 this.animate();
903 }
904 }
905
906 }
907
908 var _default = $scope => {
909 elementorFrontend.elementsHandler.addHandler(GlobalHandler, {
910 $element: $scope
911 });
912 };
913
914 exports.default = _default;
915
916 /***/ }),
917
918 /***/ "../assets/dev/js/frontend/handlers/section/background-video.js":
919 /*!**********************************************************************!*\
920 !*** ../assets/dev/js/frontend/handlers/section/background-video.js ***!
921 \**********************************************************************/
922 /***/ ((__unused_webpack_module, exports) => {
923
924 "use strict";
925
926
927 Object.defineProperty(exports, "__esModule", ({
928 value: true
929 }));
930 exports.default = void 0;
931
932 class BackgroundVideo extends elementorModules.frontend.handlers.Base {
933 getDefaultSettings() {
934 return {
935 selectors: {
936 backgroundVideoContainer: '.elementor-background-video-container',
937 backgroundVideoEmbed: '.elementor-background-video-embed',
938 backgroundVideoHosted: '.elementor-background-video-hosted'
939 }
940 };
941 }
942
943 getDefaultElements() {
944 const selectors = this.getSettings('selectors'),
945 elements = {
946 $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer)
947 };
948 elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed);
949 elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted);
950 return elements;
951 }
952
953 calcVideosSize($video) {
954 let aspectRatioSetting = '16:9';
955
956 if ('vimeo' === this.videoType) {
957 aspectRatioSetting = $video[0].width + ':' + $video[0].height;
958 }
959
960 const containerWidth = this.elements.$backgroundVideoContainer.outerWidth(),
961 containerHeight = this.elements.$backgroundVideoContainer.outerHeight(),
962 aspectRatioArray = aspectRatioSetting.split(':'),
963 aspectRatio = aspectRatioArray[0] / aspectRatioArray[1],
964 ratioWidth = containerWidth / aspectRatio,
965 ratioHeight = containerHeight * aspectRatio,
966 isWidthFixed = containerWidth / containerHeight > aspectRatio;
967 return {
968 width: isWidthFixed ? containerWidth : ratioHeight,
969 height: isWidthFixed ? ratioWidth : containerHeight
970 };
971 }
972
973 changeVideoSize() {
974 if (!('hosted' === this.videoType) && !this.player) {
975 return;
976 }
977
978 let $video;
979
980 if ('youtube' === this.videoType) {
981 $video = jQuery(this.player.getIframe());
982 } else if ('vimeo' === this.videoType) {
983 $video = jQuery(this.player.element);
984 } else if ('hosted' === this.videoType) {
985 $video = this.elements.$backgroundVideoHosted;
986 }
987
988 if (!$video) {
989 return;
990 }
991
992 const size = this.calcVideosSize($video);
993 $video.width(size.width).height(size.height);
994 }
995
996 startVideoLoop(firstTime) {
997 // If the section has been removed
998 if (!this.player.getIframe().contentWindow) {
999 return;
1000 }
1001
1002 const elementSettings = this.getElementSettings(),
1003 startPoint = elementSettings.background_video_start || 0,
1004 endPoint = elementSettings.background_video_end;
1005
1006 if (elementSettings.background_play_once && !firstTime) {
1007 this.player.stopVideo();
1008 return;
1009 }
1010
1011 this.player.seekTo(startPoint);
1012
1013 if (endPoint) {
1014 const durationToEnd = endPoint - startPoint + 1;
1015 setTimeout(() => {
1016 this.startVideoLoop(false);
1017 }, durationToEnd * 1000);
1018 }
1019 }
1020
1021 prepareVimeoVideo(Vimeo, videoLink) {
1022 const elementSettings = this.getElementSettings(),
1023 videoSize = this.elements.$backgroundVideoContainer.outerWidth(),
1024 vimeoOptions = {
1025 url: videoLink,
1026 width: videoSize.width,
1027 autoplay: true,
1028 loop: !elementSettings.background_play_once,
1029 transparent: false,
1030 background: true,
1031 muted: true
1032 };
1033 this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times
1034
1035 this.handleVimeoStartEndTimes(elementSettings);
1036 this.player.ready().then(() => {
1037 jQuery(this.player.element).addClass('elementor-background-video-embed');
1038 this.changeVideoSize();
1039 });
1040 }
1041
1042 handleVimeoStartEndTimes(elementSettings) {
1043 // If a start time is defined, set the start time
1044 if (elementSettings.background_video_start) {
1045 this.player.on('play', data => {
1046 if (0 === data.seconds) {
1047 this.player.setCurrentTime(elementSettings.background_video_start);
1048 }
1049 });
1050 }
1051
1052 this.player.on('timeupdate', data => {
1053 // If an end time is defined, handle ending the video
1054 if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) {
1055 if (elementSettings.background_play_once) {
1056 // Stop at user-defined end time if not loop
1057 this.player.pause();
1058 } else {
1059 // Go to start time if loop
1060 this.player.setCurrentTime(elementSettings.background_video_start);
1061 }
1062 } // If start time is defined but an end time is not, go to user-defined start time at video end.
1063 // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we
1064 // get the video duration (returns a promise) then use duration-0.5s as end time
1065
1066
1067 this.player.getDuration().then(duration => {
1068 if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) {
1069 this.player.setCurrentTime(elementSettings.background_video_start);
1070 }
1071 });
1072 });
1073 }
1074
1075 prepareYTVideo(YT, videoID) {
1076 const $backgroundVideoContainer = this.elements.$backgroundVideoContainer,
1077 elementSettings = this.getElementSettings();
1078 let startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time
1079
1080 if (window.chrome) {
1081 startStateCode = YT.PlayerState.UNSTARTED;
1082 }
1083
1084 const playerOptions = {
1085 videoId: videoID,
1086 events: {
1087 onReady: () => {
1088 this.player.mute();
1089 this.changeVideoSize();
1090 this.startVideoLoop(true);
1091 this.player.playVideo();
1092 },
1093 onStateChange: event => {
1094 switch (event.data) {
1095 case startStateCode:
1096 $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading');
1097 break;
1098
1099 case YT.PlayerState.ENDED:
1100 this.player.seekTo(elementSettings.background_video_start || 0);
1101
1102 if (elementSettings.background_play_once) {
1103 this.player.destroy();
1104 }
1105
1106 }
1107 }
1108 },
1109 playerVars: {
1110 controls: 0,
1111 rel: 0,
1112 playsinline: 1
1113 }
1114 }; // To handle CORS issues, when the default host is changed, the origin parameter has to be set.
1115
1116 if (elementSettings.background_privacy_mode) {
1117 playerOptions.host = 'https://www.youtube-nocookie.com';
1118 playerOptions.origin = window.location.hostname;
1119 }
1120
1121 $backgroundVideoContainer.addClass('elementor-loading elementor-invisible');
1122 this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], playerOptions);
1123 }
1124
1125 activate() {
1126 let videoLink = this.getElementSettings('background_video_link'),
1127 videoID;
1128 const playOnce = this.getElementSettings('background_play_once');
1129
1130 if (-1 !== videoLink.indexOf('vimeo.com')) {
1131 this.videoType = 'vimeo';
1132 this.apiProvider = elementorFrontend.utils.vimeo;
1133 } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) {
1134 this.videoType = 'youtube';
1135 this.apiProvider = elementorFrontend.utils.youtube;
1136 }
1137
1138 if (this.apiProvider) {
1139 videoID = this.apiProvider.getVideoIDFromURL(videoLink);
1140 this.apiProvider.onApiReady(apiObject => {
1141 if ('youtube' === this.videoType) {
1142 this.prepareYTVideo(apiObject, videoID);
1143 }
1144
1145 if ('vimeo' === this.videoType) {
1146 this.prepareVimeoVideo(apiObject, videoLink);
1147 }
1148 });
1149 } else {
1150 this.videoType = 'hosted';
1151 const startTime = this.getElementSettings('background_video_start'),
1152 endTime = this.getElementSettings('background_video_end');
1153
1154 if (startTime || endTime) {
1155 videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : '');
1156 }
1157
1158 this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this));
1159
1160 if (playOnce) {
1161 this.elements.$backgroundVideoHosted.on('ended', () => {
1162 this.elements.$backgroundVideoHosted.hide();
1163 });
1164 }
1165 }
1166
1167 elementorFrontend.elements.$window.on('resize', this.changeVideoSize);
1168 }
1169
1170 deactivate() {
1171 if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) {
1172 this.player.destroy();
1173 } else {
1174 this.elements.$backgroundVideoHosted.removeAttr('src').off('ended');
1175 }
1176
1177 elementorFrontend.elements.$window.off('resize', this.changeVideoSize);
1178 }
1179
1180 run() {
1181 const elementSettings = this.getElementSettings();
1182
1183 if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) {
1184 return;
1185 }
1186
1187 if ('video' === elementSettings.background_background && elementSettings.background_video_link) {
1188 this.activate();
1189 } else {
1190 this.deactivate();
1191 }
1192 }
1193
1194 onInit(...args) {
1195 super.onInit(...args);
1196 this.changeVideoSize = this.changeVideoSize.bind(this);
1197 this.run();
1198 }
1199
1200 onElementChange(propertyName) {
1201 if ('background_background' === propertyName) {
1202 this.run();
1203 }
1204 }
1205
1206 }
1207
1208 exports.default = BackgroundVideo;
1209
1210 /***/ }),
1211
1212 /***/ "../assets/dev/js/frontend/handlers/section/handles-position.js":
1213 /*!**********************************************************************!*\
1214 !*** ../assets/dev/js/frontend/handlers/section/handles-position.js ***!
1215 \**********************************************************************/
1216 /***/ ((__unused_webpack_module, exports) => {
1217
1218 "use strict";
1219
1220
1221 Object.defineProperty(exports, "__esModule", ({
1222 value: true
1223 }));
1224 exports.default = void 0;
1225
1226 class HandlesPosition extends elementorModules.frontend.handlers.Base {
1227 isActive() {
1228 return elementorFrontend.isEditMode();
1229 }
1230
1231 isFirstSection() {
1232 return this.$element[0] === document.querySelector('.elementor-edit-mode .elementor-top-section');
1233 }
1234
1235 isOverflowHidden() {
1236 return 'hidden' === this.$element.css('overflow');
1237 }
1238
1239 getOffset() {
1240 if ('body' === elementor.config.document.container) {
1241 return this.$element.offset().top;
1242 }
1243
1244 const $container = jQuery(elementor.config.document.container);
1245 return this.$element.offset().top - $container.offset().top;
1246 }
1247
1248 setHandlesPosition() {
1249 const document = elementor.documents.getCurrent();
1250
1251 if (!document || !document.container.isEditable()) {
1252 return;
1253 }
1254
1255 const insideHandleClass = 'elementor-section--handles-inside',
1256 $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings');
1257
1258 if (elementor.settings.page.model.attributes.scroll_snap) {
1259 this.$element.addClass(insideHandleClass);
1260 return;
1261 }
1262
1263 const isOverflowHidden = this.isOverflowHidden();
1264
1265 if (!isOverflowHidden && !this.isFirstSection()) {
1266 return;
1267 }
1268
1269 const offset = isOverflowHidden ? 0 : this.getOffset();
1270
1271 if (offset < 25) {
1272 this.$element.addClass(insideHandleClass);
1273
1274 if (offset < -5) {
1275 $handlesElement.css('top', -offset);
1276 } else {
1277 $handlesElement.css('top', '');
1278 }
1279 } else {
1280 this.$element.removeClass(insideHandleClass);
1281 }
1282 }
1283
1284 onInit() {
1285 if (!this.isActive()) {
1286 return;
1287 }
1288
1289 this.setHandlesPosition();
1290 this.$element.on('mouseenter', this.setHandlesPosition.bind(this));
1291 }
1292
1293 }
1294
1295 exports.default = HandlesPosition;
1296
1297 /***/ }),
1298
1299 /***/ "../assets/dev/js/frontend/handlers/section/section.js":
1300 /*!*************************************************************!*\
1301 !*** ../assets/dev/js/frontend/handlers/section/section.js ***!
1302 \*************************************************************/
1303 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1304
1305 "use strict";
1306
1307
1308 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1309
1310 Object.defineProperty(exports, "__esModule", ({
1311 value: true
1312 }));
1313 exports.default = void 0;
1314
1315 var _backgroundSlideshow = _interopRequireDefault(__webpack_require__(/*! ../background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js"));
1316
1317 var _backgroundVideo = _interopRequireDefault(__webpack_require__(/*! ./background-video */ "../assets/dev/js/frontend/handlers/section/background-video.js"));
1318
1319 var _handlesPosition = _interopRequireDefault(__webpack_require__(/*! ./handles-position */ "../assets/dev/js/frontend/handlers/section/handles-position.js"));
1320
1321 var _stretchedSection = _interopRequireDefault(__webpack_require__(/*! ./stretched-section */ "../assets/dev/js/frontend/handlers/section/stretched-section.js"));
1322
1323 var _shapes = _interopRequireDefault(__webpack_require__(/*! ./shapes */ "../assets/dev/js/frontend/handlers/section/shapes.js"));
1324
1325 var _default = [_stretchedSection.default, // Must run before BackgroundSlideshow to init the slideshow only after the stretch.
1326 _backgroundSlideshow.default, _backgroundVideo.default, _handlesPosition.default, _shapes.default];
1327 exports.default = _default;
1328
1329 /***/ }),
1330
1331 /***/ "../assets/dev/js/frontend/handlers/section/shapes.js":
1332 /*!************************************************************!*\
1333 !*** ../assets/dev/js/frontend/handlers/section/shapes.js ***!
1334 \************************************************************/
1335 /***/ ((__unused_webpack_module, exports) => {
1336
1337 "use strict";
1338
1339
1340 Object.defineProperty(exports, "__esModule", ({
1341 value: true
1342 }));
1343 exports.default = void 0;
1344
1345 class Shapes extends elementorModules.frontend.handlers.Base {
1346 getDefaultSettings() {
1347 return {
1348 selectors: {
1349 container: '> .elementor-shape-%s'
1350 },
1351 svgURL: elementorFrontend.config.urls.assets + 'shapes/'
1352 };
1353 }
1354
1355 getDefaultElements() {
1356 const elements = {},
1357 selectors = this.getSettings('selectors');
1358 elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top'));
1359 elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom'));
1360 return elements;
1361 }
1362
1363 isActive() {
1364 return elementorFrontend.isEditMode();
1365 }
1366
1367 getSvgURL(shapeType, fileName) {
1368 let svgURL = this.getSettings('svgURL') + fileName + '.svg';
1369
1370 if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) {
1371 svgURL = elementor.config.additional_shapes[shapeType];
1372
1373 if (-1 < fileName.indexOf('-negative')) {
1374 svgURL = svgURL.replace('.svg', '-negative.svg');
1375 }
1376 }
1377
1378 return svgURL;
1379 }
1380
1381 buildSVG(side) {
1382 const baseSettingKey = 'shape_divider_' + side,
1383 shapeType = this.getElementSettings(baseSettingKey),
1384 $svgContainer = this.elements['$' + side + 'Container'];
1385 $svgContainer.attr('data-shape', shapeType);
1386
1387 if (!shapeType) {
1388 $svgContainer.empty(); // Shape-divider set to 'none'
1389
1390 return;
1391 }
1392
1393 let fileName = shapeType;
1394
1395 if (this.getElementSettings(baseSettingKey + '_negative')) {
1396 fileName += '-negative';
1397 }
1398
1399 const svgURL = this.getSvgURL(shapeType, fileName);
1400 jQuery.get(svgURL, data => {
1401 $svgContainer.empty().append(data.childNodes[0]);
1402 });
1403 this.setNegative(side);
1404 }
1405
1406 setNegative(side) {
1407 this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative'));
1408 }
1409
1410 onInit(...args) {
1411 if (!this.isActive(this.getSettings())) {
1412 return;
1413 }
1414
1415 super.onInit(...args);
1416 ['top', 'bottom'].forEach(side => {
1417 if (this.getElementSettings('shape_divider_' + side)) {
1418 this.buildSVG(side);
1419 }
1420 });
1421 }
1422
1423 onElementChange(propertyName) {
1424 const shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/);
1425
1426 if (shapeChange) {
1427 this.buildSVG(shapeChange[1]);
1428 return;
1429 }
1430
1431 const negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/);
1432
1433 if (negativeChange) {
1434 this.buildSVG(negativeChange[1]);
1435 this.setNegative(negativeChange[1]);
1436 }
1437 }
1438
1439 }
1440
1441 exports.default = Shapes;
1442
1443 /***/ }),
1444
1445 /***/ "../assets/dev/js/frontend/handlers/section/stretched-section.js":
1446 /*!***********************************************************************!*\
1447 !*** ../assets/dev/js/frontend/handlers/section/stretched-section.js ***!
1448 \***********************************************************************/
1449 /***/ ((__unused_webpack_module, exports) => {
1450
1451 "use strict";
1452
1453
1454 Object.defineProperty(exports, "__esModule", ({
1455 value: true
1456 }));
1457 exports.default = void 0;
1458
1459 class StretchedSection extends elementorModules.frontend.handlers.Base {
1460 bindEvents() {
1461 const handlerID = this.getUniqueHandlerID();
1462 elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
1463 elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
1464 elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
1465
1466 if (elementorFrontend.isEditMode()) {
1467 this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
1468 elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
1469 }
1470 }
1471
1472 unbindEvents() {
1473 elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
1474
1475 if (elementorFrontend.isEditMode()) {
1476 elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
1477 }
1478 }
1479
1480 isActive(settings) {
1481 return elementorFrontend.isEditMode() || settings.$element.hasClass('elementor-section-stretched');
1482 }
1483
1484 initStretch() {
1485 this.stretch = this.stretch.bind(this);
1486 this.stretchElement = new elementorModules.frontend.tools.StretchElement({
1487 element: this.$element,
1488 selectors: {
1489 container: this.getStretchContainer()
1490 }
1491 });
1492 }
1493
1494 getStretchContainer() {
1495 return elementorFrontend.getKitSettings('stretched_section_container') || window;
1496 }
1497
1498 stretch() {
1499 if (!this.getElementSettings('stretch_section')) {
1500 return;
1501 }
1502
1503 this.stretchElement.stretch();
1504 }
1505
1506 onInit(...args) {
1507 if (!this.isActive(this.getSettings())) {
1508 return;
1509 }
1510
1511 this.initStretch();
1512 super.onInit(...args);
1513 this.stretch();
1514 }
1515
1516 onElementChange(propertyName) {
1517 if ('stretch_section' === propertyName) {
1518 if (this.getElementSettings('stretch_section')) {
1519 this.stretch();
1520 } else {
1521 this.stretchElement.reset();
1522 }
1523 }
1524 }
1525
1526 onKitChangeStretchContainerChange() {
1527 this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
1528 this.stretch();
1529 }
1530
1531 }
1532
1533 exports.default = StretchedSection;
1534
1535 /***/ }),
1536
1537 /***/ "../assets/dev/js/frontend/utils/anchors.js":
1538 /*!**************************************************!*\
1539 !*** ../assets/dev/js/frontend/utils/anchors.js ***!
1540 \**************************************************/
1541 /***/ ((module) => {
1542
1543 "use strict";
1544
1545
1546 module.exports = elementorModules.ViewModule.extend({
1547 getDefaultSettings: function () {
1548 return {
1549 scrollDuration: 500,
1550 selectors: {
1551 links: 'a[href*="#"]',
1552 targets: '.elementor-element, .elementor-menu-anchor',
1553 scrollable: 'html, body'
1554 }
1555 };
1556 },
1557 getDefaultElements: function () {
1558 var $ = jQuery,
1559 selectors = this.getSettings('selectors');
1560 return {
1561 $scrollable: $(selectors.scrollable)
1562 };
1563 },
1564 bindEvents: function () {
1565 elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.handleAnchorLinks);
1566 },
1567 handleAnchorLinks: function (event) {
1568 var clickedLink = event.currentTarget,
1569 isSamePathname = location.pathname === clickedLink.pathname,
1570 isSameHostname = location.hostname === clickedLink.hostname,
1571 $anchor;
1572
1573 if (!isSameHostname || !isSamePathname || clickedLink.hash.length < 2) {
1574 return;
1575 }
1576
1577 try {
1578 $anchor = jQuery(clickedLink.hash).filter(this.getSettings('selectors.targets'));
1579 } catch (e) {
1580 return;
1581 }
1582
1583 if (!$anchor.length) {
1584 return;
1585 }
1586
1587 var scrollTop = $anchor.offset().top,
1588 $wpAdminBar = elementorFrontend.elements.$wpAdminBar,
1589 $activeStickies = jQuery('.elementor-section.elementor-sticky--active:visible'),
1590 maxStickyHeight = 0;
1591
1592 if ($wpAdminBar.length > 0) {
1593 scrollTop -= $wpAdminBar.height();
1594 } // Offset height of tallest sticky
1595
1596
1597 if ($activeStickies.length > 0) {
1598 maxStickyHeight = Math.max.apply(null, $activeStickies.map(function () {
1599 return jQuery(this).outerHeight();
1600 }).get());
1601 scrollTop -= maxStickyHeight;
1602 }
1603
1604 event.preventDefault();
1605 scrollTop = elementorFrontend.hooks.applyFilters('frontend/handlers/menu_anchor/scroll_top_distance', scrollTop);
1606 this.elements.$scrollable.animate({
1607 scrollTop: scrollTop
1608 }, this.getSettings('scrollDuration'), 'linear');
1609 },
1610 onInit: function () {
1611 elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
1612 this.bindEvents();
1613 }
1614 });
1615
1616 /***/ }),
1617
1618 /***/ "../assets/dev/js/frontend/utils/assets-loader.js":
1619 /*!********************************************************!*\
1620 !*** ../assets/dev/js/frontend/utils/assets-loader.js ***!
1621 \********************************************************/
1622 /***/ ((__unused_webpack_module, exports) => {
1623
1624 "use strict";
1625
1626
1627 Object.defineProperty(exports, "__esModule", ({
1628 value: true
1629 }));
1630 exports.default = void 0;
1631
1632 class AssetsLoader {
1633 getScriptElement(src) {
1634 const scriptElement = document.createElement('script');
1635 scriptElement.src = src;
1636 return scriptElement;
1637 }
1638
1639 getStyleElement(src) {
1640 const styleElement = document.createElement('link');
1641 styleElement.rel = 'stylesheet';
1642 styleElement.href = src;
1643 return styleElement;
1644 }
1645
1646 load(type, key) {
1647 const assetData = AssetsLoader.assets[type][key];
1648
1649 if (!assetData.loader) {
1650 assetData.loader = new Promise(resolve => {
1651 const element = 'style' === type ? this.getStyleElement(assetData.src) : this.getScriptElement(assetData.src);
1652
1653 element.onload = () => resolve(true);
1654
1655 const parent = 'head' === assetData.parent ? assetData.parent : 'body';
1656 document[parent].appendChild(element);
1657 });
1658 }
1659
1660 return assetData.loader;
1661 }
1662
1663 }
1664
1665 exports.default = AssetsLoader;
1666 const fileSuffix = elementorFrontendConfig.environmentMode.isScriptDebug ? '' : '.min';
1667 AssetsLoader.assets = {
1668 script: {
1669 dialog: {
1670 src: `${elementorFrontendConfig.urls.assets}lib/dialog/dialog${fileSuffix}.js?ver=4.8.1`
1671 },
1672 'share-link': {
1673 src: `${elementorFrontendConfig.urls.assets}lib/share-link/share-link${fileSuffix}.js?ver=${elementorFrontendConfig.version}`
1674 },
1675 swiper: {
1676 src: `${elementorFrontendConfig.urls.assets}lib/swiper/swiper${fileSuffix}.js?ver=5.3.6`
1677 }
1678 },
1679 style: {}
1680 };
1681
1682 /***/ }),
1683
1684 /***/ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js":
1685 /*!********************************************************************!*\
1686 !*** ../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js ***!
1687 \********************************************************************/
1688 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1689
1690 "use strict";
1691
1692
1693 Object.defineProperty(exports, "__esModule", ({
1694 value: true
1695 }));
1696 exports.default = void 0;
1697
1698 class LightboxManager extends elementorModules.ViewModule {
1699 static getLightbox() {
1700 const lightboxPromise = new Promise(resolveLightbox => {
1701 __webpack_require__.e(/*! import() | lightbox */ "lightbox").then(__webpack_require__.t.bind(__webpack_require__, /*! elementor-frontend/utils/lightbox/lightbox */ "../assets/dev/js/frontend/utils/lightbox/lightbox.js", 23)).then(({
1702 default: LightboxModule
1703 }) => resolveLightbox(new LightboxModule()));
1704 }),
1705 dialogPromise = elementorFrontend.utils.assetsLoader.load('script', 'dialog'),
1706 shareLinkPromise = elementorFrontend.utils.assetsLoader.load('script', 'share-link');
1707 return Promise.all([lightboxPromise, dialogPromise, shareLinkPromise]).then(() => lightboxPromise);
1708 }
1709
1710 getDefaultSettings() {
1711 return {
1712 selectors: {
1713 links: 'a, [data-elementor-lightbox]'
1714 }
1715 };
1716 }
1717
1718 getDefaultElements() {
1719 return {
1720 $links: jQuery(this.getSettings('selectors.links'))
1721 };
1722 }
1723
1724 isLightboxLink(element) {
1725 // Check for lowercase `a` to make sure it works also for links inside SVGs.
1726 if ('a' === element.tagName.toLowerCase() && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href)) && !element.dataset.elementorLightboxVideo) {
1727 return false;
1728 }
1729
1730 const generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'),
1731 currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox;
1732 return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox;
1733 }
1734
1735 async onLinkClick(event) {
1736 const element = event.currentTarget,
1737 $target = jQuery(event.target),
1738 editMode = elementorFrontend.isEditMode(),
1739 isColorPickingMode = editMode && elementor.$previewContents.find('body').hasClass('elementor-editor__ui-state__color-picker'),
1740 isClickInsideElementor = !!$target.closest('.elementor-edit-area').length;
1741
1742 if (!this.isLightboxLink(element)) {
1743 if (editMode && isClickInsideElementor) {
1744 event.preventDefault();
1745 }
1746
1747 return;
1748 }
1749
1750 event.preventDefault();
1751
1752 if (editMode && !elementor.getPreferences('lightbox_in_editor')) {
1753 return;
1754 } // Disable lightbox on color picking mode.
1755
1756
1757 if (isColorPickingMode) {
1758 return;
1759 }
1760
1761 const lightbox = this.isOptimizedAssetsLoading() ? await LightboxManager.getLightbox() : elementorFrontend.utils.lightbox;
1762 lightbox.createLightbox(element);
1763 }
1764
1765 isOptimizedAssetsLoading() {
1766 return elementorFrontend.config.experimentalFeatures.e_optimized_assets_loading;
1767 }
1768
1769 bindEvents() {
1770 elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), event => this.onLinkClick(event));
1771 }
1772
1773 onInit(...args) {
1774 super.onInit(...args);
1775
1776 if (!this.isOptimizedAssetsLoading() || elementorFrontend.isEditMode()) {
1777 return;
1778 } // Detecting lightbox links on init will reduce the time of waiting to the lightbox to be display on slow connections.
1779
1780
1781 this.elements.$links.each((index, element) => {
1782 if (this.isLightboxLink(element)) {
1783 LightboxManager.getLightbox(); // Breaking the iteration when the library loading has already been triggered.
1784
1785 return false;
1786 }
1787 });
1788 }
1789
1790 }
1791
1792 exports.default = LightboxManager;
1793
1794 /***/ }),
1795
1796 /***/ "../assets/dev/js/frontend/utils/swiper-bc.js":
1797 /*!****************************************************!*\
1798 !*** ../assets/dev/js/frontend/utils/swiper-bc.js ***!
1799 \****************************************************/
1800 /***/ ((__unused_webpack_module, exports) => {
1801
1802 "use strict";
1803
1804
1805 Object.defineProperty(exports, "__esModule", ({
1806 value: true
1807 }));
1808 exports.default = void 0;
1809
1810 class SwiperBC {
1811 constructor(container, config) {
1812 this.config = config;
1813
1814 if (this.config.breakpoints) {
1815 // The config is passed as a param to allow adjustConfig to be called outside of this wrapper
1816 this.config = this.adjustConfig(config);
1817 } // In case of a legacy behaviour the constructor should return a new Swiper instance instead of a Promise.
1818
1819
1820 if (config.legacy) {
1821 return this.createSwiperInstance(container, this.config);
1822 }
1823
1824 return new Promise(resolve => {
1825 if (!elementorFrontend.config.experimentalFeatures.e_optimized_assets_loading) {
1826 return resolve(this.createSwiperInstance(container, this.config));
1827 }
1828
1829 elementorFrontend.utils.assetsLoader.load('script', 'swiper').then(() => resolve(this.createSwiperInstance(container, this.config)));
1830 });
1831 }
1832
1833 createSwiperInstance(container, config) {
1834 // The condition should run only once to prevent an additional overwrite of the SwiperSource.
1835 if (!SwiperBC.isSwiperLoaded && elementorFrontend.config.experimentalFeatures.e_optimized_assets_loading) {
1836 SwiperSource = window.Swiper;
1837 SwiperBC.isSwiperLoaded = true; // Once the SwiperSource has the Swiper lib function, we need to overwrite window.Swiper with the legacySwiper class.
1838
1839 legacySwiper();
1840 }
1841
1842 SwiperSource.prototype.adjustConfig = this.adjustConfig;
1843 return new SwiperSource(container, config);
1844 } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0)
1845 // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width
1846
1847
1848 adjustConfig(config) {
1849 // Only reverse the breakpoints if the handle param has been defined
1850 if (!config.handleElementorBreakpoints) {
1851 return config;
1852 }
1853
1854 const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints,
1855 elementorBreakpointValues = elementorFrontend.breakpoints.getBreakpointValues();
1856 Object.keys(config.breakpoints).forEach(configBPKey => {
1857 const configBPKeyInt = parseInt(configBPKey);
1858 let 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
1859
1860 if (configBPKeyInt === elementorBreakpoints.mobile.value || configBPKeyInt + 1 === elementorBreakpoints.mobile.value) {
1861 // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used,
1862 // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs)
1863 breakpointToUpdate = 0;
1864 } else if (elementorBreakpoints.widescreen && (configBPKeyInt === elementorBreakpoints.widescreen.value || configBPKeyInt + 1 === elementorBreakpoints.widescreen.value)) {
1865 // Widescreen is a min-width breakpoint. Since in Swiper >5.0 the breakpoint system is min-width based,
1866 // the value we pass to the Swiper instance in this case is the breakpoint from the user, unchanged.
1867 breakpointToUpdate = configBPKeyInt;
1868 } else {
1869 // Find the index of the current config breakpoint in the Elementor Breakpoints array
1870 const currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(elementorBP => {
1871 // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0
1872 return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP;
1873 }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list,
1874 // according to the array of Elementor's global breakpoints
1875
1876 breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1];
1877 }
1878
1879 config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values
1880
1881 config.breakpoints[configBPKey] = {
1882 slidesPerView: config.slidesPerView,
1883 slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1
1884 };
1885 });
1886 return config;
1887 }
1888
1889 } // The following code is needed to support Pro version < 3.1.0.
1890
1891
1892 exports.default = SwiperBC;
1893 SwiperBC.isSwiperLoaded = false; // In the legacy behavior, window.Swiper was a class that returns an instance of the Swiper lib function after config adjustments.
1894
1895 function legacySwiper() {
1896 window.Swiper = class {
1897 constructor(container, config) {
1898 config.legacy = true;
1899 return new SwiperBC(container, config);
1900 }
1901
1902 };
1903 }
1904
1905 let SwiperSource = window.Swiper; // In case that the Swiper lib exists (meaning not in optimized mode) we overwrite the window.Swiper with a class that supports legacy behavior.
1906
1907 if (SwiperSource) {
1908 legacySwiper();
1909 }
1910
1911 /***/ }),
1912
1913 /***/ "../assets/dev/js/frontend/utils/url-actions.js":
1914 /*!******************************************************!*\
1915 !*** ../assets/dev/js/frontend/utils/url-actions.js ***!
1916 \******************************************************/
1917 /***/ ((__unused_webpack_module, exports) => {
1918
1919 "use strict";
1920
1921
1922 Object.defineProperty(exports, "__esModule", ({
1923 value: true
1924 }));
1925 exports.default = void 0;
1926
1927 class _default extends elementorModules.ViewModule {
1928 getDefaultSettings() {
1929 return {
1930 selectors: {
1931 links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]'
1932 }
1933 };
1934 }
1935
1936 bindEvents() {
1937 elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this));
1938 }
1939
1940 initActions() {
1941 this.actions = {
1942 lightbox: async settings => {
1943 const lightbox = await elementorFrontend.utils.lightbox;
1944
1945 if (settings.id) {
1946 lightbox.openSlideshow(settings.id, settings.url);
1947 } else {
1948 lightbox.showModal(settings);
1949 }
1950 }
1951 };
1952 }
1953
1954 addAction(name, callback) {
1955 this.actions[name] = callback;
1956 }
1957
1958 runAction(url, ...restArgs) {
1959 url = decodeURIComponent(url);
1960 const actionMatch = url.match(/action=(.+?)&/),
1961 settingsMatch = url.match(/settings=(.+)/);
1962
1963 if (!actionMatch) {
1964 return;
1965 }
1966
1967 const action = this.actions[actionMatch[1]];
1968
1969 if (!action) {
1970 return;
1971 }
1972
1973 let settings = {};
1974
1975 if (settingsMatch) {
1976 settings = JSON.parse(atob(settingsMatch[1]));
1977 }
1978
1979 action(settings, ...restArgs);
1980 }
1981
1982 runLinkAction(event) {
1983 event.preventDefault();
1984 this.runAction(jQuery(event.currentTarget).attr('href'), event);
1985 }
1986
1987 runHashAction() {
1988 if (location.hash) {
1989 this.runAction(location.hash);
1990 }
1991 }
1992
1993 createActionHash(action, settings) {
1994 // We need to encode the hash tag (#) here, in order to support share links for a variety of providers
1995 return encodeURIComponent(`#elementor-action:action=${action}&settings=${btoa(JSON.stringify(settings))}`);
1996 }
1997
1998 onInit() {
1999 super.onInit();
2000 this.initActions();
2001 elementorFrontend.on('components:init', this.runHashAction.bind(this));
2002 }
2003
2004 }
2005
2006 exports.default = _default;
2007
2008 /***/ }),
2009
2010 /***/ "../assets/dev/js/frontend/utils/utils.js":
2011 /*!************************************************!*\
2012 !*** ../assets/dev/js/frontend/utils/utils.js ***!
2013 \************************************************/
2014 /***/ ((__unused_webpack_module, exports) => {
2015
2016 "use strict";
2017
2018
2019 Object.defineProperty(exports, "__esModule", ({
2020 value: true
2021 }));
2022 exports.escapeHTML = void 0;
2023
2024 // Escape HTML special chars to prevent XSS.
2025 const escapeHTML = str => {
2026 const specialChars = {
2027 '&': '&amp;',
2028 '<': '&lt;',
2029 '>': '&gt;',
2030 "'": '&#39;',
2031 '"': '&quot;'
2032 };
2033 return str.replace(/[&<>'"]/g, tag => specialChars[tag] || tag);
2034 };
2035
2036 exports.escapeHTML = escapeHTML;
2037
2038 /***/ }),
2039
2040 /***/ "../assets/dev/js/frontend/utils/video-api/base-loader.js":
2041 /*!****************************************************************!*\
2042 !*** ../assets/dev/js/frontend/utils/video-api/base-loader.js ***!
2043 \****************************************************************/
2044 /***/ ((__unused_webpack_module, exports) => {
2045
2046 "use strict";
2047
2048
2049 Object.defineProperty(exports, "__esModule", ({
2050 value: true
2051 }));
2052 exports.default = void 0;
2053
2054 class BaseLoader extends elementorModules.ViewModule {
2055 getDefaultSettings() {
2056 return {
2057 isInserted: false,
2058 selectors: {
2059 firstScript: 'script:first'
2060 }
2061 };
2062 }
2063
2064 getDefaultElements() {
2065 return {
2066 $firstScript: jQuery(this.getSettings('selectors.firstScript'))
2067 };
2068 }
2069
2070 insertAPI() {
2071 this.elements.$firstScript.before(jQuery('<script>', {
2072 src: this.getApiURL()
2073 }));
2074 this.setSettings('isInserted', true);
2075 }
2076
2077 getVideoIDFromURL(url) {
2078 const videoIDParts = url.match(this.getURLRegex());
2079 return videoIDParts && videoIDParts[1];
2080 }
2081
2082 onApiReady(callback) {
2083 if (!this.getSettings('isInserted')) {
2084 this.insertAPI();
2085 }
2086
2087 if (this.isApiLoaded()) {
2088 callback(this.getApiObject());
2089 } else {
2090 // If not ready check again by timeout..
2091 setTimeout(() => {
2092 this.onApiReady(callback);
2093 }, 350);
2094 }
2095 }
2096
2097 getAutoplayURL(videoURL) {
2098 return videoURL.replace('&autoplay=0', '') + '&autoplay=1';
2099 }
2100
2101 }
2102
2103 exports.default = BaseLoader;
2104
2105 /***/ }),
2106
2107 /***/ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js":
2108 /*!*****************************************************************!*\
2109 !*** ../assets/dev/js/frontend/utils/video-api/vimeo-loader.js ***!
2110 \*****************************************************************/
2111 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2112
2113 "use strict";
2114
2115
2116 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2117
2118 Object.defineProperty(exports, "__esModule", ({
2119 value: true
2120 }));
2121 exports.default = void 0;
2122
2123 var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
2124
2125 class VimeoLoader extends _baseLoader.default {
2126 getApiURL() {
2127 return 'https://player.vimeo.com/api/player.js';
2128 }
2129
2130 getURLRegex() {
2131 return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/;
2132 }
2133
2134 isApiLoaded() {
2135 return window.Vimeo;
2136 }
2137
2138 getApiObject() {
2139 return Vimeo;
2140 }
2141
2142 getAutoplayURL(videoURL) {
2143 videoURL = super.getAutoplayURL(videoURL); // Vimeo requires the '#t=' param to be last in the URL.
2144
2145 const timeMatch = videoURL.match(/#t=[^&]*/);
2146 return videoURL.replace(timeMatch[0], '') + timeMatch;
2147 }
2148
2149 }
2150
2151 exports.default = VimeoLoader;
2152
2153 /***/ }),
2154
2155 /***/ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js":
2156 /*!*******************************************************************!*\
2157 !*** ../assets/dev/js/frontend/utils/video-api/youtube-loader.js ***!
2158 \*******************************************************************/
2159 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2160
2161 "use strict";
2162
2163
2164 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2165
2166 Object.defineProperty(exports, "__esModule", ({
2167 value: true
2168 }));
2169 exports.default = void 0;
2170
2171 var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js"));
2172
2173 class YoutubeLoader extends _baseLoader.default {
2174 getApiURL() {
2175 return 'https://www.youtube.com/iframe_api';
2176 }
2177
2178 getURLRegex() {
2179 return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user)\/))([^?&"'>]+)/;
2180 }
2181
2182 isApiLoaded() {
2183 return window.YT && YT.loaded;
2184 }
2185
2186 getApiObject() {
2187 return YT;
2188 }
2189
2190 }
2191
2192 exports.default = YoutubeLoader;
2193
2194 /***/ }),
2195
2196 /***/ "../assets/dev/js/public-path.js":
2197 /*!***************************************!*\
2198 !*** ../assets/dev/js/public-path.js ***!
2199 \***************************************/
2200 /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
2201
2202 "use strict";
2203
2204
2205 /* eslint-disable camelcase */
2206 __webpack_require__.p = elementorFrontendConfig.urls.assets + 'js/';
2207
2208 /***/ }),
2209
2210 /***/ "../assets/dev/js/utils/breakpoints.js":
2211 /*!*********************************************!*\
2212 !*** ../assets/dev/js/utils/breakpoints.js ***!
2213 \*********************************************/
2214 /***/ ((__unused_webpack_module, exports) => {
2215
2216 "use strict";
2217
2218
2219 Object.defineProperty(exports, "__esModule", ({
2220 value: true
2221 }));
2222 exports.default = void 0;
2223
2224 /**
2225 * Breakpoints
2226 *
2227 * This utility class contains helper functions relating to Elementor's breakpoints system.
2228 *
2229 * @since 3.4.0
2230 */
2231 class Breakpoints extends elementorModules.Module {
2232 constructor(responsiveConfig) {
2233 super(); // The passed config is either `elementor.config.responsive` or `elementorFrontend.config.responsive`
2234
2235 this.responsiveConfig = responsiveConfig;
2236 }
2237 /**
2238 * Get Active Breakpoints List
2239 *
2240 * Returns a flat array containing the active breakpoints/devices. By default, it returns the li
2241 * the list ordered from smallest to largest breakpoint. If `true` is passed as a parameter, it reverses the order.
2242 *
2243 * @since 3.4.0
2244 *
2245 * @param {Object} args
2246 */
2247
2248
2249 getActiveBreakpointsList(args = {}) {
2250 const defaultArgs = {
2251 largeToSmall: false,
2252 withDesktop: false
2253 };
2254 args = { ...defaultArgs,
2255 ...args
2256 };
2257 const breakpointKeys = Object.keys(this.responsiveConfig.activeBreakpoints);
2258
2259 if (args.withDesktop) {
2260 // If there is an active 'widescreen' breakpoint, insert the artificial 'desktop' device below it.
2261 const widescreenIndex = breakpointKeys.indexOf('widescreen'),
2262 indexToInsertDesktopDevice = -1 === widescreenIndex ? breakpointKeys.length : breakpointKeys.length - 1;
2263 breakpointKeys.splice(indexToInsertDesktopDevice, 0, 'desktop');
2264 }
2265
2266 if (args.largeToSmall) {
2267 breakpointKeys.reverse();
2268 }
2269
2270 return breakpointKeys;
2271 }
2272 /**
2273 * Get Active Breakpoint Values
2274 *
2275 * Returns a flat array containing the list of active breakpoint values, from smallest to largest.
2276 *
2277 * @since 3.4.0
2278 */
2279
2280
2281 getBreakpointValues() {
2282 const {
2283 activeBreakpoints
2284 } = this.responsiveConfig,
2285 breakpointValues = [];
2286 Object.values(activeBreakpoints).forEach(breakpointConfig => {
2287 breakpointValues.push(breakpointConfig.value);
2288 });
2289 return breakpointValues;
2290 }
2291 /**
2292 * Get Desktop Previous Device Key
2293 *
2294 * Returns the key of the device directly under desktop (can be 'tablet', 'tablet_extra', 'laptop').
2295 *
2296 * @since 3.4.0
2297 *
2298 * @returns {string}
2299 */
2300
2301
2302 getDesktopPreviousDeviceKey() {
2303 let desktopPreviousDevice = '';
2304 const {
2305 activeBreakpoints
2306 } = this.responsiveConfig,
2307 breakpointKeys = Object.keys(activeBreakpoints),
2308 numOfDevices = breakpointKeys.length;
2309
2310 if ('min' === activeBreakpoints[breakpointKeys[numOfDevices - 1]].direction) {
2311 // If the widescreen breakpoint is active, the device that's previous to desktop is the last one before
2312 // widescreen.
2313 desktopPreviousDevice = breakpointKeys[numOfDevices - 2];
2314 } else {
2315 // If the widescreen breakpoint isn't active, we just take the last device returned by the config.
2316 desktopPreviousDevice = breakpointKeys[numOfDevices - 1];
2317 }
2318
2319 return desktopPreviousDevice;
2320 }
2321 /**
2322 * Get Device Minimum Breakpoint
2323 *
2324 * Returns the minimum point in the device's display range. For each device, the minimum point of its display range
2325 * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet,
2326 * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px.
2327 *
2328 * @since 3.4.0
2329 *
2330 * @returns {number|*}
2331 */
2332
2333
2334 getDesktopMinPoint() {
2335 const {
2336 activeBreakpoints
2337 } = this.responsiveConfig,
2338 desktopPreviousDevice = this.getDesktopPreviousDeviceKey();
2339 return activeBreakpoints[desktopPreviousDevice].value + 1;
2340 }
2341 /**
2342 * Get Device Minimum Breakpoint
2343 *
2344 * Returns the minimum point in the device's display range. For each device, the minimum point of its display range
2345 * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet,
2346 * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px.
2347 *
2348 * @since 3.4.0
2349 *
2350 * @param device
2351 * @returns {number|*}
2352 */
2353
2354
2355 getDeviceMinBreakpoint(device) {
2356 if ('desktop' === device) {
2357 return this.getDesktopMinPoint();
2358 }
2359
2360 const {
2361 activeBreakpoints
2362 } = this.responsiveConfig,
2363 breakpointNames = Object.keys(activeBreakpoints);
2364 let minBreakpoint;
2365
2366 if (breakpointNames[0] === device) {
2367 // For the lowest breakpoint, the min point is always 320.
2368 minBreakpoint = 320;
2369 } else if ('widescreen' === device) {
2370 // Widescreen only has a minimum point. In this case, the breakpoint
2371 // value in the Breakpoints config is itself the device min point.
2372 if (activeBreakpoints[device]) {
2373 minBreakpoint = activeBreakpoints[device].value;
2374 } else {
2375 // If the widescreen breakpoint does not exist in the active breakpoints config (for example, in the
2376 // case this method runs as the breakpoint is being added), get the value from the full config.
2377 minBreakpoint = this.responsiveConfig.breakpoints.widescreen;
2378 }
2379 } else {
2380 const deviceNameIndex = breakpointNames.indexOf(device),
2381 previousIndex = deviceNameIndex - 1;
2382 minBreakpoint = activeBreakpoints[breakpointNames[previousIndex]].value + 1;
2383 }
2384
2385 return minBreakpoint;
2386 }
2387 /**
2388 * Get Active Match Regex
2389 *
2390 * Returns a regular expression containing all active breakpoints prefixed with an underscore.
2391 *
2392 * @returns {RegExp}
2393 */
2394
2395
2396 getActiveMatchRegex() {
2397 return new RegExp(this.getActiveBreakpointsList().map(device => '_' + device).join('|') + '$');
2398 }
2399
2400 }
2401
2402 exports.default = Breakpoints;
2403
2404 /***/ }),
2405
2406 /***/ "../assets/dev/js/utils/hooks.js":
2407 /*!***************************************!*\
2408 !*** ../assets/dev/js/utils/hooks.js ***!
2409 \***************************************/
2410 /***/ ((module) => {
2411
2412 "use strict";
2413
2414 /**
2415 * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in
2416 * that, lowest priority hooks are fired first.
2417 */
2418
2419 var EventManager = function () {
2420 var slice = Array.prototype.slice,
2421 MethodsAvailable;
2422 /**
2423 * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat"
2424 * object literal such that looking up the hook utilizes the native object literal hash.
2425 */
2426
2427 var STORAGE = {
2428 actions: {},
2429 filters: {}
2430 };
2431 /**
2432 * Removes the specified hook by resetting the value of it.
2433 *
2434 * @param type Type of hook, either 'actions' or 'filters'
2435 * @param hook The hook (namespace.identifier) to remove
2436 *
2437 * @private
2438 */
2439
2440 function _removeHook(type, hook, callback, context) {
2441 var handlers, handler, i;
2442
2443 if (!STORAGE[type][hook]) {
2444 return;
2445 }
2446
2447 if (!callback) {
2448 STORAGE[type][hook] = [];
2449 } else {
2450 handlers = STORAGE[type][hook];
2451
2452 if (!context) {
2453 for (i = handlers.length; i--;) {
2454 if (handlers[i].callback === callback) {
2455 handlers.splice(i, 1);
2456 }
2457 }
2458 } else {
2459 for (i = handlers.length; i--;) {
2460 handler = handlers[i];
2461
2462 if (handler.callback === callback && handler.context === context) {
2463 handlers.splice(i, 1);
2464 }
2465 }
2466 }
2467 }
2468 }
2469 /**
2470 * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster
2471 * than bubble sort, etc: http://jsperf.com/javascript-sort
2472 *
2473 * @param hooks The custom array containing all of the appropriate hooks to perform an insert sort on.
2474 * @private
2475 */
2476
2477
2478 function _hookInsertSort(hooks) {
2479 var tmpHook, j, prevHook;
2480
2481 for (var i = 1, len = hooks.length; i < len; i++) {
2482 tmpHook = hooks[i];
2483 j = i;
2484
2485 while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) {
2486 hooks[j] = hooks[j - 1];
2487 --j;
2488 }
2489
2490 hooks[j] = tmpHook;
2491 }
2492
2493 return hooks;
2494 }
2495 /**
2496 * Adds the hook to the appropriate storage container
2497 *
2498 * @param type 'actions' or 'filters'
2499 * @param hook The hook (namespace.identifier) to add to our event manager
2500 * @param callback The function that will be called when the hook is executed.
2501 * @param priority The priority of this hook. Must be an integer.
2502 * @param [context] A value to be used for this
2503 * @private
2504 */
2505
2506
2507 function _addHook(type, hook, callback, priority, context) {
2508 var hookObject = {
2509 callback: callback,
2510 priority: priority,
2511 context: context
2512 }; // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19
2513
2514 var hooks = STORAGE[type][hook];
2515
2516 if (hooks) {
2517 // TEMP FIX BUG
2518 var hasSameCallback = false;
2519 jQuery.each(hooks, function () {
2520 if (this.callback === callback) {
2521 hasSameCallback = true;
2522 return false;
2523 }
2524 });
2525
2526 if (hasSameCallback) {
2527 return;
2528 } // END TEMP FIX BUG
2529
2530
2531 hooks.push(hookObject);
2532 hooks = _hookInsertSort(hooks);
2533 } else {
2534 hooks = [hookObject];
2535 }
2536
2537 STORAGE[type][hook] = hooks;
2538 }
2539 /**
2540 * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is.
2541 *
2542 * @param type 'actions' or 'filters'
2543 * @param hook The hook ( namespace.identifier ) to be ran.
2544 * @param args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter.
2545 * @private
2546 */
2547
2548
2549 function _runHook(type, hook, args) {
2550 var handlers = STORAGE[type][hook],
2551 i,
2552 len;
2553
2554 if (!handlers) {
2555 return 'filters' === type ? args[0] : false;
2556 }
2557
2558 len = handlers.length;
2559
2560 if ('filters' === type) {
2561 for (i = 0; i < len; i++) {
2562 args[0] = handlers[i].callback.apply(handlers[i].context, args);
2563 }
2564 } else {
2565 for (i = 0; i < len; i++) {
2566 handlers[i].callback.apply(handlers[i].context, args);
2567 }
2568 }
2569
2570 return 'filters' === type ? args[0] : true;
2571 }
2572 /**
2573 * Adds an action to the event manager.
2574 *
2575 * @param action Must contain namespace.identifier
2576 * @param callback Must be a valid callback function before this action is added
2577 * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
2578 * @param [context] Supply a value to be used for this
2579 */
2580
2581
2582 function addAction(action, callback, priority, context) {
2583 if ('string' === typeof action && 'function' === typeof callback) {
2584 priority = parseInt(priority || 10, 10);
2585
2586 _addHook('actions', action, callback, priority, context);
2587 }
2588
2589 return MethodsAvailable;
2590 }
2591 /**
2592 * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is
2593 * that the first argument must always be the action.
2594 */
2595
2596
2597 function doAction() {
2598 var args = slice.call(arguments);
2599 var action = args.shift();
2600
2601 if ('string' === typeof action) {
2602 _runHook('actions', action, args);
2603 }
2604
2605 return MethodsAvailable;
2606 }
2607 /**
2608 * Removes the specified action if it contains a namespace.identifier & exists.
2609 *
2610 * @param action The action to remove
2611 * @param [callback] Callback function to remove
2612 */
2613
2614
2615 function removeAction(action, callback) {
2616 if ('string' === typeof action) {
2617 _removeHook('actions', action, callback);
2618 }
2619
2620 return MethodsAvailable;
2621 }
2622 /**
2623 * Adds a filter to the event manager.
2624 *
2625 * @param filter Must contain namespace.identifier
2626 * @param callback Must be a valid callback function before this action is added
2627 * @param [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook
2628 * @param [context] Supply a value to be used for this
2629 */
2630
2631
2632 function addFilter(filter, callback, priority, context) {
2633 if ('string' === typeof filter && 'function' === typeof callback) {
2634 priority = parseInt(priority || 10, 10);
2635
2636 _addHook('filters', filter, callback, priority, context);
2637 }
2638
2639 return MethodsAvailable;
2640 }
2641 /**
2642 * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that
2643 * the first argument must always be the filter.
2644 */
2645
2646
2647 function applyFilters() {
2648 var args = slice.call(arguments);
2649 var filter = args.shift();
2650
2651 if ('string' === typeof filter) {
2652 return _runHook('filters', filter, args);
2653 }
2654
2655 return MethodsAvailable;
2656 }
2657 /**
2658 * Removes the specified filter if it contains a namespace.identifier & exists.
2659 *
2660 * @param filter The action to remove
2661 * @param [callback] Callback function to remove
2662 */
2663
2664
2665 function removeFilter(filter, callback) {
2666 if ('string' === typeof filter) {
2667 _removeHook('filters', filter, callback);
2668 }
2669
2670 return MethodsAvailable;
2671 }
2672 /**
2673 * Maintain a reference to the object scope so our public methods never get confusing.
2674 */
2675
2676
2677 MethodsAvailable = {
2678 removeFilter: removeFilter,
2679 applyFilters: applyFilters,
2680 addFilter: addFilter,
2681 removeAction: removeAction,
2682 doAction: doAction,
2683 addAction: addAction
2684 }; // return all of the publicly available methods
2685
2686 return MethodsAvailable;
2687 };
2688
2689 module.exports = EventManager;
2690
2691 /***/ }),
2692
2693 /***/ "../core/common/assets/js/utils/environment.js":
2694 /*!*****************************************************!*\
2695 !*** ../core/common/assets/js/utils/environment.js ***!
2696 \*****************************************************/
2697 /***/ ((__unused_webpack_module, exports) => {
2698
2699 "use strict";
2700
2701
2702 Object.defineProperty(exports, "__esModule", ({
2703 value: true
2704 }));
2705 exports.default = void 0;
2706
2707 const matchUserAgent = UserAgentStr => {
2708 return userAgent.indexOf(UserAgentStr) >= 0;
2709 },
2710 userAgent = navigator.userAgent,
2711 // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
2712 // Opera 8.0+
2713 isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'),
2714 // Firefox 1.0+
2715 isFirefox = matchUserAgent('Firefox'),
2716 // Safari 3.0+ "[object HTMLElementConstructor]"
2717 isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || (p => {
2718 return '[object SafariRemoteNotification]' === p.toString();
2719 })(!window.safari || typeof safari !== 'undefined' && safari.pushNotification),
2720 // Internet Explorer 6-11
2721 isIE = /Trident|MSIE/.test(userAgent) && (
2722 /*@cc_on!@*/
2723 false || !!document.documentMode),
2724 // Edge 20+
2725 isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'),
2726 // Google Chrome (Not accurate)
2727 isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera),
2728 // Blink engine
2729 isBlink = matchUserAgent('Chrome') && !!window.CSS,
2730 // Apple Webkit engine
2731 isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink,
2732 environment = {
2733 appleWebkit: isAppleWebkit,
2734 blink: isBlink,
2735 chrome: isChrome,
2736 edge: isEdge,
2737 firefox: isFirefox,
2738 ie: isIE,
2739 mac: matchUserAgent('Macintosh'),
2740 opera: isOpera,
2741 safari: isSafari,
2742 webkit: matchUserAgent('AppleWebKit')
2743 };
2744
2745 var _default = environment;
2746 exports.default = _default;
2747
2748 /***/ }),
2749
2750 /***/ "../core/common/assets/js/utils/storage.js":
2751 /*!*************************************************!*\
2752 !*** ../core/common/assets/js/utils/storage.js ***!
2753 \*************************************************/
2754 /***/ ((__unused_webpack_module, exports) => {
2755
2756 "use strict";
2757
2758
2759 Object.defineProperty(exports, "__esModule", ({
2760 value: true
2761 }));
2762 exports.default = void 0;
2763
2764 class _default extends elementorModules.Module {
2765 get(key, options) {
2766 options = options || {};
2767 let storage;
2768
2769 try {
2770 storage = options.session ? sessionStorage : localStorage;
2771 } catch (e) {
2772 return key ? undefined : {};
2773 }
2774
2775 let elementorStorage = storage.getItem('elementor');
2776
2777 if (elementorStorage) {
2778 elementorStorage = JSON.parse(elementorStorage);
2779 } else {
2780 elementorStorage = {};
2781 }
2782
2783 if (!elementorStorage.__expiration) {
2784 elementorStorage.__expiration = {};
2785 }
2786
2787 const expiration = elementorStorage.__expiration;
2788 let expirationToCheck = [];
2789
2790 if (key) {
2791 if (expiration[key]) {
2792 expirationToCheck = [key];
2793 }
2794 } else {
2795 expirationToCheck = Object.keys(expiration);
2796 }
2797
2798 let entryExpired = false;
2799 expirationToCheck.forEach(expirationKey => {
2800 if (new Date(expiration[expirationKey]) < new Date()) {
2801 delete elementorStorage[expirationKey];
2802 delete expiration[expirationKey];
2803 entryExpired = true;
2804 }
2805 });
2806
2807 if (entryExpired) {
2808 this.save(elementorStorage, options.session);
2809 }
2810
2811 if (key) {
2812 return elementorStorage[key];
2813 }
2814
2815 return elementorStorage;
2816 }
2817
2818 set(key, value, options) {
2819 options = options || {};
2820 const elementorStorage = this.get(null, options);
2821 elementorStorage[key] = value;
2822
2823 if (options.lifetimeInSeconds) {
2824 const date = new Date();
2825 date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
2826 elementorStorage.__expiration[key] = date.getTime();
2827 }
2828
2829 this.save(elementorStorage, options.session);
2830 }
2831
2832 save(object, session) {
2833 let storage;
2834
2835 try {
2836 storage = session ? sessionStorage : localStorage;
2837 } catch (e) {
2838 return;
2839 }
2840
2841 storage.setItem('elementor', JSON.stringify(object));
2842 }
2843
2844 }
2845
2846 exports.default = _default;
2847
2848 /***/ }),
2849
2850 /***/ "../modules/shapes/assets/js/frontend/frontend.js":
2851 /*!********************************************************!*\
2852 !*** ../modules/shapes/assets/js/frontend/frontend.js ***!
2853 \********************************************************/
2854 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2855
2856 "use strict";
2857
2858
2859 Object.defineProperty(exports, "__esModule", ({
2860 value: true
2861 }));
2862 exports.default = void 0;
2863
2864 class _default extends elementorModules.Module {
2865 constructor() {
2866 super();
2867 elementorFrontend.elementsHandler.attachHandler('text-path', () => __webpack_require__.e(/*! import() | text-path */ "text-path").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-path */ "../modules/shapes/assets/js/frontend/handlers/text-path.js")));
2868 }
2869
2870 }
2871
2872 exports.default = _default;
2873
2874 /***/ })
2875
2876 },
2877 /******/ __webpack_require__ => { // webpackRuntimeModules
2878 /******/ "use strict";
2879 /******/
2880 /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
2881 /******/ __webpack_require__.O(0, ["frontend-modules"], () => (__webpack_exec__("../assets/dev/js/frontend/frontend.js")));
2882 /******/ var __webpack_exports__ = __webpack_require__.O();
2883 /******/ }
2884 ]);
2885 //# sourceMappingURL=frontend.js.map