PluginProbe
Elementor Website Builder – more than just a page builder / 3.20.0-dev3
Elementor Website Builder – more than just a page builder v3.20.0-dev3
4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 All 454 releases
← All changes | assets/js/frontend-modules.js +4498 -3268 4.3.0 → 3.20.0-dev3 View file →
@@ -1,3411 +1,4641 @@
1 +/*! elementor - v3.20.0 - 29-02-2024 */
2 +(self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["frontend-modules"],{
3 +
4 +/***/ "../assets/dev/js/editor/utils/is-instanceof.js":
5 +/*!******************************************************!*\
6 + !*** ../assets/dev/js/editor/utils/is-instanceof.js ***!
7 + \******************************************************/
8 +/***/ ((__unused_webpack_module, exports) => {
9 +
1 10 "use strict";
2 11
3 -(function() {
4 12
5 -//#region \0rolldown/runtime.js
6 - var __defProp = Object.defineProperty;
7 - var __name = (target, value) => __defProp(target, "name", {
8 - value,
9 - configurable: true
10 - });
11 - var __esmMin = (fn, res, err) => () => {
12 - if (err) throw err[0];
13 - try {
14 - return fn && (res = fn(fn = 0)), res;
15 - } catch (e) {
16 - throw err = [e], e;
17 - }
18 - };
19 - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
13 +Object.defineProperty(exports, "__esModule", ({
14 + value: true
15 +}));
16 +exports["default"] = void 0;
17 +/**
18 + * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved
19 + * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can
20 + * check whether it's instanceof by using the objects constructor and prototype names.
21 + *
22 + * @param object
23 + * @param constructors
24 + * @return {boolean}
25 + */
26 +var _default = (object, constructors) => {
27 + constructors = Array.isArray(constructors) ? constructors : [constructors];
28 + for (const constructor of constructors) {
29 + if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) {
30 + return true;
31 + }
32 + }
33 + return false;
34 +};
35 +exports["default"] = _default;
20 36
21 -//#endregion
37 +/***/ }),
22 38
23 -//#region node_modules/@babel/runtime/helpers/interopRequireDefault.js
24 - var require_interopRequireDefault = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25 - function _interopRequireDefault(e) {
26 - return e && e.__esModule ? e : { "default": e };
27 - }
28 - module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
29 - }));
39 +/***/ "../assets/dev/js/frontend/document.js":
40 +/*!*********************************************!*\
41 + !*** ../assets/dev/js/frontend/document.js ***!
42 + \*********************************************/
43 +/***/ ((__unused_webpack_module, exports) => {
30 44
31 -//#endregion
32 -//#region node_modules/core-js/internals/global-this.js
33 - var require_global_this = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34 - var check = function(it) {
35 - return it && it.Math === Math && it;
36 - };
37 - module.exports = check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || check(typeof self == "object" && self) || check(typeof global == "object" && global) || check(typeof exports == "object" && exports) || (function() {
38 - return this;
39 - })() || Function("return this")();
40 - }));
45 +"use strict";
41 46
42 -//#endregion
43 -//#region node_modules/core-js/internals/fails.js
44 - var require_fails = /* @__PURE__ */ __commonJSMin(((exports, module) => {
45 - module.exports = function(exec) {
46 - try {
47 - return !!exec();
48 - } catch (error) {
49 - return true;
50 - }
51 - };
52 - }));
53 47
54 -//#endregion
55 -//#region node_modules/core-js/internals/descriptors.js
56 - var require_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
57 - var fails = require_fails();
58 - module.exports = !fails(function() {
59 - return Object.defineProperty({}, 1, { get: function() {
60 - return 7;
61 - } })[1] !== 7;
62 - });
63 - }));
48 +Object.defineProperty(exports, "__esModule", ({
49 + value: true
50 +}));
51 +exports["default"] = void 0;
52 +class _default extends elementorModules.ViewModule {
53 + getDefaultSettings() {
54 + return {
55 + selectors: {
56 + elements: '.elementor-element',
57 + nestedDocumentElements: '.elementor .elementor-element'
58 + },
59 + classes: {
60 + editMode: 'elementor-edit-mode'
61 + }
62 + };
63 + }
64 + getDefaultElements() {
65 + const selectors = this.getSettings('selectors');
66 + return {
67 + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements))
68 + };
69 + }
70 + getDocumentSettings(setting) {
71 + let elementSettings;
72 + if (this.isEdit) {
73 + elementSettings = {};
74 + const settings = elementor.settings.page.model;
75 + jQuery.each(settings.getActiveControls(), controlKey => {
76 + elementSettings[controlKey] = settings.attributes[controlKey];
77 + });
78 + } else {
79 + elementSettings = this.$element.data('elementor-settings') || {};
80 + }
81 + return this.getItems(elementSettings, setting);
82 + }
83 + runElementsHandlers() {
84 + this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element)));
85 + }
86 + onInit() {
87 + this.$element = this.getSettings('$element');
88 + super.onInit();
89 + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode'));
90 + if (this.isEdit) {
91 + elementor.on('document:loaded', () => {
92 + elementor.settings.page.model.on('change', this.onSettingsChange.bind(this));
93 + });
94 + } else {
95 + this.runElementsHandlers();
96 + }
97 + }
98 + onSettingsChange() {}
99 +}
100 +exports["default"] = _default;
64 101
65 -//#endregion
66 -//#region node_modules/core-js/internals/function-bind-native.js
67 - var require_function_bind_native = /* @__PURE__ */ __commonJSMin(((exports, module) => {
68 - var fails = require_fails();
69 - module.exports = !fails(function() {
70 - var test = (function() {}).bind();
71 - return typeof test != "function" || test.hasOwnProperty("prototype");
72 - });
73 - }));
102 +/***/ }),
74 103
75 -//#endregion
76 -//#region node_modules/core-js/internals/function-call.js
77 - var require_function_call = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78 - var NATIVE_BIND = require_function_bind_native();
79 - var call = Function.prototype.call;
80 - module.exports = NATIVE_BIND ? call.bind(call) : function() {
81 - return call.apply(call, arguments);
82 - };
83 - }));
104 +/***/ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js":
105 +/*!*****************************************************************************************!*\
106 + !*** ../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js ***!
107 + \*****************************************************************************************/
108 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
84 109
85 -//#endregion
86 -//#region node_modules/core-js/internals/object-property-is-enumerable.js
87 - var require_object_property_is_enumerable = /* @__PURE__ */ __commonJSMin(((exports) => {
88 - var $propertyIsEnumerable = {}.propertyIsEnumerable;
89 - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
90 - var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
91 - exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
92 - var descriptor = getOwnPropertyDescriptor(this, V);
93 - return !!descriptor && descriptor.enumerable;
94 - } : $propertyIsEnumerable;
95 - }));
110 +"use strict";
96 111
97 -//#endregion
98 -//#region node_modules/core-js/internals/create-property-descriptor.js
99 - var require_create_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
100 - module.exports = function(bitmap, value) {
101 - return {
102 - enumerable: !(bitmap & 1),
103 - configurable: !(bitmap & 2),
104 - writable: !(bitmap & 4),
105 - value
106 - };
107 - };
108 - }));
109 112
110 -//#endregion
111 -//#region node_modules/core-js/internals/function-uncurry-this.js
112 - var require_function_uncurry_this = /* @__PURE__ */ __commonJSMin(((exports, module) => {
113 - var NATIVE_BIND = require_function_bind_native();
114 - var FunctionPrototype = Function.prototype;
115 - var call = FunctionPrototype.call;
116 - var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
117 - module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
118 - return function() {
119 - return call.apply(fn, arguments);
120 - };
121 - };
122 - }));
113 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
114 +Object.defineProperty(exports, "__esModule", ({
115 + value: true
116 +}));
117 +exports["default"] = void 0;
118 +var _base = _interopRequireDefault(__webpack_require__(/*! ../base */ "../assets/dev/js/frontend/handlers/base.js"));
119 +class NestedTitleKeyboardHandler extends _base.default {
120 + __construct(settings) {
121 + super.__construct(settings);
122 + this.directionNext = 'next';
123 + this.directionPrevious = 'previous';
124 + this.focusableElementSelector = 'audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], [contenteditable], [href], [tabindex]:not([tabindex="-1"])';
125 + }
126 + getDefaultSettings() {
127 + return {
128 + selectors: {
129 + itemTitle: '.e-n-tab-title',
130 + itemContainer: '.e-n-tabs-content > .e-con'
131 + },
132 + ariaAttributes: {
133 + titleStateAttribute: 'aria-selected',
134 + activeTitleSelector: '[aria-selected="true"]'
135 + },
136 + datasets: {
137 + titleIndex: 'data-tab-index'
138 + },
139 + keyDirection: {
140 + ArrowLeft: elementorFrontendConfig.is_rtl ? this.directionNext : this.directionPrevious,
141 + ArrowUp: this.directionPrevious,
142 + ArrowRight: elementorFrontendConfig.is_rtl ? this.directionPrevious : this.directionNext,
143 + ArrowDown: this.directionNext
144 + }
145 + };
146 + }
147 + getDefaultElements() {
148 + const selectors = this.getSettings('selectors');
149 + return {
150 + $itemTitles: this.findElement(selectors.itemTitle),
151 + $itemContainers: this.findElement(selectors.itemContainer),
152 + $focusableContainerElements: this.getFocusableElements(this.findElement(selectors.itemContainer))
153 + };
154 + }
155 + getFocusableElements($elements) {
156 + return $elements.find(this.focusableElementSelector).not('[disabled], [inert]');
157 + }
158 + getKeyDirectionValue(event) {
159 + const direction = this.getSettings('keyDirection')[event.key];
160 + return this.directionNext === direction ? 1 : -1;
161 + }
123 162
124 -//#endregion
125 -//#region node_modules/core-js/internals/classof-raw.js
126 - var require_classof_raw = /* @__PURE__ */ __commonJSMin(((exports, module) => {
127 - var uncurryThis = require_function_uncurry_this();
128 - var toString = uncurryThis({}.toString);
129 - var stringSlice = uncurryThis("".slice);
130 - module.exports = function(it) {
131 - return stringSlice(toString(it), 8, -1);
132 - };
133 - }));
163 + /**
164 + * @param {HTMLElement} itemTitleElement
165 + *
166 + * @return {string}
167 + */
168 + getTitleIndex(itemTitleElement) {
169 + const {
170 + titleIndex: indexAttribute
171 + } = this.getSettings('datasets');
172 + return itemTitleElement.getAttribute(indexAttribute);
173 + }
134 174
135 -//#endregion
136 -//#region node_modules/core-js/internals/indexed-object.js
137 - var require_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
138 - var uncurryThis = require_function_uncurry_this();
139 - var fails = require_fails();
140 - var classof = require_classof_raw();
141 - var $Object = Object;
142 - var split = uncurryThis("".split);
143 - module.exports = fails(function() {
144 - return !$Object("z").propertyIsEnumerable(0);
145 - }) ? function(it) {
146 - return classof(it) === "String" ? split(it, "") : $Object(it);
147 - } : $Object;
148 - }));
175 + /**
176 + * @param {string|number} titleIndex
177 + *
178 + * @return {string}
179 + */
180 + getTitleFilterSelector(titleIndex) {
181 + const {
182 + titleIndex: indexAttribute
183 + } = this.getSettings('datasets');
184 + return `[${indexAttribute}="${titleIndex}"]`;
185 + }
186 + getActiveTitleElement() {
187 + const activeTitleFilter = this.getSettings('ariaAttributes').activeTitleSelector;
188 + return this.elements.$itemTitles.filter(activeTitleFilter);
189 + }
190 + onInit() {
191 + super.onInit(...arguments);
192 + }
193 + bindEvents() {
194 + this.elements.$itemTitles.on(this.getTitleEvents());
195 + this.elements.$focusableContainerElements.on(this.getContentElementEvents());
196 + }
197 + unbindEvents() {
198 + this.elements.$itemTitles.off();
199 + this.elements.$itemContainers.children().off();
200 + }
201 + getTitleEvents() {
202 + return {
203 + keydown: this.handleTitleKeyboardNavigation.bind(this)
204 + };
205 + }
206 + getContentElementEvents() {
207 + return {
208 + keydown: this.handleContentElementKeyboardNavigation.bind(this)
209 + };
210 + }
211 + isDirectionKey(event) {
212 + const directionKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'];
213 + return directionKeys.includes(event.key);
214 + }
215 + isActivationKey(event) {
216 + const activationKeys = ['Enter', ' '];
217 + return activationKeys.includes(event.key);
218 + }
219 + handleTitleKeyboardNavigation(event) {
220 + if (this.isDirectionKey(event)) {
221 + event.preventDefault();
222 + const currentTitleIndex = parseInt(this.getTitleIndex(event.currentTarget)) || 1,
223 + numberOfTitles = this.elements.$itemTitles.length,
224 + titleIndexUpdated = this.getTitleIndexFocusUpdated(event, currentTitleIndex, numberOfTitles);
225 + this.changeTitleFocus(titleIndexUpdated);
226 + event.stopPropagation();
227 + } else if (this.isActivationKey(event)) {
228 + event.preventDefault();
229 + if (this.handeTitleLinkEnterOrSpaceEvent(event)) {
230 + return;
231 + }
232 + const titleIndex = this.getTitleIndex(event.currentTarget);
233 + elementorFrontend.elements.$window.trigger('elementor/nested-elements/activate-by-keyboard', {
234 + widgetId: this.getID(),
235 + titleIndex
236 + });
237 + } else if ('Escape' === event.key) {
238 + this.handleTitleEscapeKeyEvents(event);
239 + }
240 + }
241 + handeTitleLinkEnterOrSpaceEvent(event) {
242 + const isLinkElement = 'a' === event?.currentTarget?.tagName?.toLowerCase();
243 + if (!elementorFrontend.isEditMode() && isLinkElement) {
244 + event?.currentTarget?.click();
245 + event.stopPropagation();
246 + }
247 + return isLinkElement;
248 + }
249 + getTitleIndexFocusUpdated(event, currentTitleIndex, numberOfTitles) {
250 + let titleIndexUpdated = 0;
251 + switch (event.key) {
252 + case 'Home':
253 + titleIndexUpdated = 1;
254 + break;
255 + case 'End':
256 + titleIndexUpdated = numberOfTitles;
257 + break;
258 + default:
259 + const directionValue = this.getKeyDirectionValue(event),
260 + isEndReached = numberOfTitles < currentTitleIndex + directionValue,
261 + isStartReached = 0 === currentTitleIndex + directionValue;
262 + if (isEndReached) {
263 + titleIndexUpdated = 1;
264 + } else if (isStartReached) {
265 + titleIndexUpdated = numberOfTitles;
266 + } else {
267 + titleIndexUpdated = currentTitleIndex + directionValue;
268 + }
269 + }
270 + return titleIndexUpdated;
271 + }
272 + changeTitleFocus(titleIndexUpdated) {
273 + const $newTitle = this.elements.$itemTitles.filter(this.getTitleFilterSelector(titleIndexUpdated));
274 + this.setTitleTabindex(titleIndexUpdated);
275 + $newTitle.trigger('focus');
276 + }
277 + setTitleTabindex(titleIndex) {
278 + this.elements.$itemTitles.attr('tabindex', '-1');
279 + const $newTitle = this.elements.$itemTitles.filter(this.getTitleFilterSelector(titleIndex));
280 + $newTitle.attr('tabindex', '0');
281 + }
282 + handleTitleEscapeKeyEvents() {}
283 + handleContentElementKeyboardNavigation(event) {
284 + if ('Tab' === event.key && !event.shiftKey) {
285 + this.handleContentElementTabEvents(event);
286 + } else if ('Escape' === event.key) {
287 + event.preventDefault();
288 + event.stopPropagation();
289 + this.handleContentElementEscapeEvents(event);
290 + }
291 + }
292 + handleContentElementEscapeEvents() {
293 + this.getActiveTitleElement().trigger('focus');
294 + }
295 + handleContentElementTabEvents() {}
296 +}
297 +exports["default"] = NestedTitleKeyboardHandler;
149 298
150 -//#endregion
151 -//#region node_modules/core-js/internals/is-null-or-undefined.js
152 - var require_is_null_or_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => {
153 - module.exports = function(it) {
154 - return it === null || it === void 0;
155 - };
156 - }));
299 +/***/ }),
157 300
158 -//#endregion
159 -//#region node_modules/core-js/internals/require-object-coercible.js
160 - var require_require_object_coercible = /* @__PURE__ */ __commonJSMin(((exports, module) => {
161 - var isNullOrUndefined = require_is_null_or_undefined();
162 - var $TypeError = TypeError;
163 - module.exports = function(it) {
164 - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
165 - return it;
166 - };
167 - }));
301 +/***/ "../assets/dev/js/frontend/handlers/base-carousel.js":
302 +/*!***********************************************************!*\
303 + !*** ../assets/dev/js/frontend/handlers/base-carousel.js ***!
304 + \***********************************************************/
305 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
168 306
169 -//#endregion
170 -//#region node_modules/core-js/internals/to-indexed-object.js
171 - var require_to_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
172 - var IndexedObject = require_indexed_object();
173 - var requireObjectCoercible = require_require_object_coercible();
174 - module.exports = function(it) {
175 - return IndexedObject(requireObjectCoercible(it));
176 - };
177 - }));
307 +"use strict";
178 308
179 -//#endregion
180 -//#region node_modules/core-js/internals/is-callable.js
181 - var require_is_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
182 - var documentAll = typeof document == "object" && document.all;
183 - module.exports = typeof documentAll == "undefined" && documentAll !== void 0 ? function(argument) {
184 - return typeof argument == "function" || argument === documentAll;
185 - } : function(argument) {
186 - return typeof argument == "function";
187 - };
188 - }));
189 309
190 -//#endregion
191 -//#region node_modules/core-js/internals/is-object.js
192 - var require_is_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
193 - var isCallable = require_is_callable();
194 - module.exports = function(it) {
195 - return typeof it == "object" ? it !== null : isCallable(it);
196 - };
197 - }));
310 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
311 +Object.defineProperty(exports, "__esModule", ({
312 + value: true
313 +}));
314 +exports["default"] = void 0;
315 +var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js"));
316 +class CarouselHandlerBase extends _baseSwiper.default {
317 + getDefaultSettings() {
318 + return {
319 + selectors: {
320 + carousel: `.${elementorFrontend.config.swiperClass}`,
321 + swiperWrapper: '.swiper-wrapper',
322 + slideContent: '.swiper-slide',
323 + swiperArrow: '.elementor-swiper-button',
324 + paginationWrapper: '.swiper-pagination',
325 + paginationBullet: '.swiper-pagination-bullet',
326 + paginationBulletWrapper: '.swiper-pagination-bullets'
327 + }
328 + };
329 + }
330 + getDefaultElements() {
331 + const selectors = this.getSettings('selectors'),
332 + elements = {
333 + $swiperContainer: this.$element.find(selectors.carousel),
334 + $swiperWrapper: this.$element.find(selectors.swiperWrapper),
335 + $swiperArrows: this.$element.find(selectors.swiperArrow),
336 + $paginationWrapper: this.$element.find(selectors.paginationWrapper),
337 + $paginationBullets: this.$element.find(selectors.paginationBullet),
338 + $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper)
339 + };
340 + elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
341 + return elements;
342 + }
343 + getSwiperSettings() {
344 + const elementSettings = this.getElementSettings(),
345 + slidesToShow = +elementSettings.slides_to_show || 3,
346 + isSingleSlide = 1 === slidesToShow,
347 + elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints,
348 + defaultSlidesToShowMap = {
349 + mobile: 1,
350 + tablet: isSingleSlide ? 1 : 2
351 + };
352 + const swiperOptions = {
353 + slidesPerView: slidesToShow,
354 + loop: 'yes' === elementSettings.infinite,
355 + speed: elementSettings.speed,
356 + handleElementorBreakpoints: true
357 + };
358 + swiperOptions.breakpoints = {};
359 + let lastBreakpointSlidesToShowValue = slidesToShow;
360 + Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => {
361 + // Tablet has a specific default `slides_to_show`.
362 + const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue;
363 + swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = {
364 + slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow,
365 + slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1
366 + };
367 + if (elementSettings.image_spacing_custom) {
368 + swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName);
369 + }
370 + lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow;
371 + });
372 + if ('yes' === elementSettings.autoplay) {
373 + swiperOptions.autoplay = {
374 + delay: elementSettings.autoplay_speed,
375 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
376 + };
377 + }
378 + if (isSingleSlide) {
379 + swiperOptions.effect = elementSettings.effect;
380 + if ('fade' === elementSettings.effect) {
381 + swiperOptions.fadeEffect = {
382 + crossFade: true
383 + };
384 + }
385 + } else {
386 + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
387 + }
388 + if (elementSettings.image_spacing_custom) {
389 + swiperOptions.spaceBetween = this.getSpaceBetween();
390 + }
391 + const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
392 + showPagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation || elementSettings.pagination;
393 + if (showArrows) {
394 + swiperOptions.navigation = {
395 + prevEl: '.elementor-swiper-button-prev',
396 + nextEl: '.elementor-swiper-button-next'
397 + };
398 + }
399 + if (showPagination) {
400 + swiperOptions.pagination = {
401 + el: `.elementor-element-${this.getID()} .swiper-pagination`,
402 + type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets',
403 + clickable: true,
404 + renderBullet: (index, classname) => {
405 + return `<span class="${classname}" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`;
406 + }
407 + };
408 + }
409 + if ('yes' === elementSettings.lazyload) {
410 + swiperOptions.lazy = {
411 + loadPrevNext: true,
412 + loadPrevNextAmount: 1
413 + };
414 + }
415 + swiperOptions.a11y = {
416 + enabled: true,
417 + prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,
418 + nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,
419 + firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,
420 + lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage
421 + };
422 + swiperOptions.on = {
423 + slideChangeTransitionEnd: () => {
424 + this.a11ySetSlideAriaHidden();
425 + },
426 + slideChange: () => {
427 + this.a11ySetPaginationTabindex();
428 + this.handleElementHandlers();
429 + },
430 + init: () => {
431 + this.a11ySetWidgetAriaDetails();
432 + this.a11ySetPaginationTabindex();
433 + this.a11ySetSlideAriaHidden('initialisation');
434 + }
435 + };
436 + this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow);
437 + return swiperOptions;
438 + }
439 + getOffsetWidth() {
440 + const currentDevice = elementorFrontend.getCurrentDeviceMode();
441 + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'offset_width', 'size', currentDevice) || 0;
442 + }
443 + applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) {
444 + const offsetSide = elementSettings.offset_sides,
445 + isNestedCarouselInEditMode = elementorFrontend.isEditMode() && 'NestedCarousel' === this.constructor.name;
446 + if (isNestedCarouselInEditMode || !offsetSide || 'none' === offsetSide) {
447 + return;
448 + }
449 + switch (offsetSide) {
450 + case 'right':
451 + this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
452 + this.addClassToSwiperContainer('offset-right');
453 + break;
454 + case 'left':
455 + this.addClassToSwiperContainer('offset-left');
456 + break;
457 + case 'both':
458 + this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
459 + this.addClassToSwiperContainer('offset-both');
460 + break;
461 + }
462 + }
463 + forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) {
464 + swiperOptions.slidesPerView = slidesToShow + 0.001;
465 + }
466 + addClassToSwiperContainer(className) {
467 + this.getDefaultElements().$swiperContainer[0].classList.add(className);
468 + }
469 + async onInit() {
470 + super.onInit(...arguments);
471 + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
472 + return;
473 + }
474 + const Swiper = elementorFrontend.utils.swiper;
475 + this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings());
198 476
199 -//#endregion
200 -//#region node_modules/core-js/internals/get-built-in.js
201 - var require_get_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => {
202 - var globalThis = require_global_this();
203 - var isCallable = require_is_callable();
204 - var aFunction = function(argument) {
205 - return isCallable(argument) ? argument : void 0;
206 - };
207 - module.exports = function(namespace, method) {
208 - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
209 - };
210 - }));
477 + // Expose the swiper instance in the frontend
478 + this.elements.$swiperContainer.data('swiper', this.swiper);
479 + const elementSettings = this.getElementSettings();
480 + if ('yes' === elementSettings.pause_on_hover) {
481 + this.togglePauseOnHover(true);
482 + }
483 + }
484 + bindEvents() {
485 + this.elements.$swiperArrows.on('keydown', this.onDirectionArrowKeydown.bind(this));
486 + this.elements.$paginationWrapper.on('keydown', '.swiper-pagination-bullet', this.onDirectionArrowKeydown.bind(this));
487 + this.elements.$swiperContainer.on('keydown', '.swiper-slide', this.onDirectionArrowKeydown.bind(this));
488 + this.$element.find(':focusable').on('focus', this.onFocusDisableAutoplay.bind(this));
489 + elementorFrontend.elements.$window.on('resize', this.getSwiperSettings.bind(this));
490 + }
491 + unbindEvents() {
492 + this.elements.$swiperArrows.off();
493 + this.elements.$paginationWrapper.off();
494 + this.elements.$swiperContainer.off();
495 + this.$element.find(':focusable').off();
496 + elementorFrontend.elements.$window.off('resize');
497 + }
498 + onDirectionArrowKeydown(event) {
499 + const isRTL = elementorFrontend.config.is_rtl,
500 + inlineDirectionArrows = ['ArrowLeft', 'ArrowRight'],
501 + currentKeydown = event.originalEvent.code,
502 + isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown),
503 + directionStart = isRTL ? 'ArrowRight' : 'ArrowLeft',
504 + directionEnd = isRTL ? 'ArrowLeft' : 'ArrowRight';
505 + if (!isDirectionInlineKeydown) {
506 + return true;
507 + } else if (directionStart === currentKeydown) {
508 + this.swiper.slidePrev();
509 + } else if (directionEnd === currentKeydown) {
510 + this.swiper.slideNext();
511 + }
512 + }
513 + onFocusDisableAutoplay() {
514 + this.swiper.autoplay.stop();
515 + }
516 + updateSwiperOption(propertyName) {
517 + const elementSettings = this.getElementSettings(),
518 + newSettingValue = elementSettings[propertyName],
519 + params = this.swiper.params;
211 520
212 -//#endregion
213 -//#region node_modules/core-js/internals/object-is-prototype-of.js
214 - var require_object_is_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => {
215 - var uncurryThis = require_function_uncurry_this();
216 - module.exports = uncurryThis({}.isPrototypeOf);
217 - }));
521 + // Handle special cases where the value to update is not the value that the Swiper library accepts.
522 + switch (propertyName) {
523 + case 'autoplay_speed':
524 + params.autoplay.delay = newSettingValue;
525 + break;
526 + case 'speed':
527 + params.speed = newSettingValue;
528 + break;
529 + }
530 + this.swiper.update();
531 + }
532 + getChangeableProperties() {
533 + return {
534 + pause_on_hover: 'pauseOnHover',
535 + autoplay_speed: 'delay',
536 + speed: 'speed',
537 + arrows_position: 'arrows_position' // Not a Swiper setting.
538 + };
539 + }
218 540
219 -//#endregion
220 -//#region node_modules/core-js/internals/environment-user-agent.js
221 - var require_environment_user_agent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
222 - var navigator = require_global_this().navigator;
223 - var userAgent = navigator && navigator.userAgent;
224 - module.exports = userAgent ? String(userAgent) : "";
225 - }));
541 + onElementChange(propertyName) {
542 + if (0 === propertyName.indexOf('image_spacing_custom')) {
543 + this.updateSpaceBetween(propertyName);
544 + return;
545 + }
546 + const changeableProperties = this.getChangeableProperties();
547 + if (changeableProperties[propertyName]) {
548 + // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library.
549 + if ('pause_on_hover' === propertyName) {
550 + const newSettingValue = this.getElementSettings('pause_on_hover');
551 + this.togglePauseOnHover('yes' === newSettingValue);
552 + } else {
553 + this.updateSwiperOption(propertyName);
554 + }
555 + }
556 + }
557 + onEditSettingsChange(propertyName) {
558 + if ('activeItemIndex' === propertyName) {
559 + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
560 + }
561 + }
562 + getSpaceBetween() {
563 + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
564 + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device) || 0;
565 + }
566 + updateSpaceBetween(propertyName) {
567 + const deviceMatch = propertyName.match('image_spacing_custom_(.*)'),
568 + device = deviceMatch ? deviceMatch[1] : 'desktop',
569 + newSpaceBetween = this.getSpaceBetween(device);
570 + if ('desktop' !== device) {
571 + this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween;
572 + }
573 + this.swiper.params.spaceBetween = newSpaceBetween;
574 + this.swiper.update();
575 + }
576 + getPaginationBullets() {
577 + let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array';
578 + const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet);
579 + return 'array' === type ? Array.from(paginationBullets) : paginationBullets;
580 + }
581 + a11ySetWidgetAriaDetails() {
582 + const $widget = this.$element;
583 + $widget.attr('aria-roledescription', 'carousel');
584 + $widget.attr('aria-label', elementorFrontend.config.i18n.a11yCarouselWrapperAriaLabel);
585 + }
586 + a11ySetPaginationTabindex() {
587 + const bulletClass = this.swiper?.params.pagination.bulletClass,
588 + activeBulletClass = this.swiper?.params.pagination.bulletActiveClass;
589 + this.getPaginationBullets().forEach(bullet => {
590 + if (!bullet.classList?.contains(activeBulletClass)) {
591 + bullet.removeAttribute('tabindex');
592 + }
593 + });
594 + const isDirectionInlineArrowKey = 'ArrowLeft' === event?.code || 'ArrowRight' === event?.code;
595 + if (event?.target?.classList?.contains(bulletClass) && isDirectionInlineArrowKey) {
596 + this.$element.find(`.${activeBulletClass}`).trigger('focus');
597 + }
598 + }
599 + getSwiperWrapperTranformXValue() {
600 + let transformValue = this.elements.$swiperWrapper[0]?.style.transform;
601 + transformValue = transformValue.replace('translate3d(', '');
602 + transformValue = transformValue.split(',');
603 + transformValue = parseInt(transformValue[0].replace('px', ''));
604 + return !!transformValue ? transformValue : 0;
605 + }
606 + a11ySetSlideAriaHidden() {
607 + let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
608 + const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex;
609 + if ('number' !== typeof currentIndex) {
610 + return;
611 + }
612 + const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(),
613 + swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth,
614 + $slides = this.elements.$swiperContainer.find(this.getSettings('selectors').slideContent);
615 + $slides.each((index, slide) => {
616 + const isSlideInsideWrapper = 0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue;
617 + if (!isSlideInsideWrapper) {
618 + slide.setAttribute('aria-hidden', true);
619 + slide.setAttribute('inert', '');
620 + } else {
621 + slide.removeAttribute('aria-hidden');
622 + slide.removeAttribute('inert');
623 + }
624 + });
625 + }
226 626
227 -//#endregion
228 -//#region node_modules/core-js/internals/environment-v8-version.js
229 - var require_environment_v8_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
230 - var globalThis = require_global_this();
231 - var userAgent = require_environment_user_agent();
232 - var process = globalThis.process;
233 - var Deno = globalThis.Deno;
234 - var versions = process && process.versions || Deno && Deno.version;
235 - var v8 = versions && versions.v8;
236 - var match;
237 - var version;
238 - if (v8) {
239 - match = v8.split(".");
240 - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
241 - }
242 - if (!version && userAgent) {
243 - match = userAgent.match(/Edge\/(\d+)/);
244 - if (!match || match[1] >= 74) {
245 - match = userAgent.match(/Chrome\/(\d+)/);
246 - if (match) version = +match[1];
247 - }
248 - }
249 - module.exports = version;
250 - }));
627 + // Empty method which can be overwritten by child methods.
628 + handleElementHandlers() {}
629 +}
630 +exports["default"] = CarouselHandlerBase;
251 631
252 -//#endregion
253 -//#region node_modules/core-js/internals/symbol-constructor-detection.js
254 - var require_symbol_constructor_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
255 - var V8_VERSION = require_environment_v8_version();
256 - var fails = require_fails();
257 - var $String = require_global_this().String;
258 - module.exports = !!Object.getOwnPropertySymbols && !fails(function() {
259 - var symbol = Symbol("symbol detection");
260 - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41;
261 - });
262 - }));
632 +/***/ }),
263 633
264 -//#endregion
265 -//#region node_modules/core-js/internals/use-symbol-as-uid.js
266 - var require_use_symbol_as_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
267 - var NATIVE_SYMBOL = require_symbol_constructor_detection();
268 - module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol";
269 - }));
634 +/***/ "../assets/dev/js/frontend/handlers/base-swiper.js":
635 +/*!*********************************************************!*\
636 + !*** ../assets/dev/js/frontend/handlers/base-swiper.js ***!
637 + \*********************************************************/
638 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
270 639
271 -//#endregion
272 -//#region node_modules/core-js/internals/is-symbol.js
273 - var require_is_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
274 - var getBuiltIn = require_get_built_in();
275 - var isCallable = require_is_callable();
276 - var isPrototypeOf = require_object_is_prototype_of();
277 - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
278 - var $Object = Object;
279 - module.exports = USE_SYMBOL_AS_UID ? function(it) {
280 - return typeof it == "symbol";
281 - } : function(it) {
282 - var $Symbol = getBuiltIn("Symbol");
283 - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
284 - };
285 - }));
640 +"use strict";
286 641
287 -//#endregion
288 -//#region node_modules/core-js/internals/try-to-string.js
289 - var require_try_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
290 - var $String = String;
291 - module.exports = function(argument) {
292 - try {
293 - return $String(argument);
294 - } catch (error) {
295 - return "Object";
296 - }
297 - };
298 - }));
299 642
300 -//#endregion
301 -//#region node_modules/core-js/internals/a-callable.js
302 - var require_a_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
303 - var isCallable = require_is_callable();
304 - var tryToString = require_try_to_string();
305 - var $TypeError = TypeError;
306 - module.exports = function(argument) {
307 - if (isCallable(argument)) return argument;
308 - throw new $TypeError(tryToString(argument) + " is not a function");
309 - };
310 - }));
643 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
644 +Object.defineProperty(exports, "__esModule", ({
645 + value: true
646 +}));
647 +exports["default"] = void 0;
648 +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js"));
649 +class SwiperHandlerBase extends _base.default {
650 + getInitialSlide() {
651 + const editSettings = this.getEditSettings();
652 + return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0;
653 + }
654 + getSlidesCount() {
655 + return this.elements.$slides.length;
656 + }
311 657
312 -//#endregion
313 -//#region node_modules/core-js/internals/get-method.js
314 - var require_get_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
315 - var aCallable = require_a_callable();
316 - var isNullOrUndefined = require_is_null_or_undefined();
317 - module.exports = function(V, P) {
318 - var func = V[P];
319 - return isNullOrUndefined(func) ? void 0 : aCallable(func);
320 - };
321 - }));
658 + // This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel
659 + togglePauseOnHover(toggleOn) {
660 + if (toggleOn) {
661 + this.elements.$swiperContainer.on({
662 + mouseenter: () => {
663 + this.swiper.autoplay.stop();
664 + },
665 + mouseleave: () => {
666 + this.swiper.autoplay.start();
667 + }
668 + });
669 + } else {
670 + this.elements.$swiperContainer.off('mouseenter mouseleave');
671 + }
672 + }
673 + handleKenBurns() {
674 + const settings = this.getSettings();
675 + if (this.$activeImageBg) {
676 + this.$activeImageBg.removeClass(settings.classes.kenBurnsActive);
677 + }
678 + this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide();
679 + if (this.swiper) {
680 + this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground);
681 + } else {
682 + this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground);
683 + }
684 + this.$activeImageBg.addClass(settings.classes.kenBurnsActive);
685 + }
686 +}
687 +exports["default"] = SwiperHandlerBase;
322 688
323 -//#endregion
324 -//#region node_modules/core-js/internals/ordinary-to-primitive.js
325 - var require_ordinary_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
326 - var call = require_function_call();
327 - var isCallable = require_is_callable();
328 - var isObject = require_is_object();
329 - var $TypeError = TypeError;
330 - module.exports = function(input, pref) {
331 - var fn;
332 - var val;
333 - if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
334 - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
335 - if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
336 - throw new $TypeError("Can't convert object to primitive value");
337 - };
338 - }));
689 +/***/ }),
339 690
340 -//#endregion
341 -//#region node_modules/core-js/internals/is-pure.js
342 - var require_is_pure = /* @__PURE__ */ __commonJSMin(((exports, module) => {
343 - module.exports = false;
344 - }));
691 +/***/ "../assets/dev/js/frontend/handlers/base.js":
692 +/*!**************************************************!*\
693 + !*** ../assets/dev/js/frontend/handlers/base.js ***!
694 + \**************************************************/
695 +/***/ ((module) => {
345 696
346 -//#endregion
347 -//#region node_modules/core-js/internals/define-global-property.js
348 - var require_define_global_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
349 - var globalThis = require_global_this();
350 - var defineProperty = Object.defineProperty;
351 - module.exports = function(key, value) {
352 - try {
353 - defineProperty(globalThis, key, {
354 - value,
355 - configurable: true,
356 - writable: true
357 - });
358 - } catch (error) {
359 - globalThis[key] = value;
360 - }
361 - return value;
362 - };
363 - }));
697 +"use strict";
364 698
365 -//#endregion
366 -//#region node_modules/core-js/internals/shared-store.js
367 - var require_shared_store = /* @__PURE__ */ __commonJSMin(((exports, module) => {
368 - var IS_PURE = require_is_pure();
369 - var globalThis = require_global_this();
370 - var defineGlobalProperty = require_define_global_property();
371 - var SHARED = "__core-js_shared__";
372 - var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
373 - (store.versions || (store.versions = [])).push({
374 - version: "3.46.0",
375 - mode: IS_PURE ? "pure" : "global",
376 - copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",
377 - license: "https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",
378 - source: "https://github.com/zloirock/core-js"
379 - });
380 - }));
381 699
382 -//#endregion
383 -//#region node_modules/core-js/internals/shared.js
384 - var require_shared = /* @__PURE__ */ __commonJSMin(((exports, module) => {
385 - var store = require_shared_store();
386 - module.exports = function(key, value) {
387 - return store[key] || (store[key] = value || {});
388 - };
389 - }));
700 +module.exports = elementorModules.ViewModule.extend({
701 + $element: null,
702 + editorListeners: null,
703 + onElementChange: null,
704 + onEditSettingsChange: null,
705 + onPageSettingsChange: null,
706 + isEdit: null,
707 + __construct(settings) {
708 + if (!this.isActive(settings)) {
709 + return;
710 + }
711 + this.$element = settings.$element;
712 + this.isEdit = this.$element.hasClass('elementor-element-edit-mode');
713 + if (this.isEdit) {
714 + this.addEditorListeners();
715 + }
716 + },
717 + isActive() {
718 + return true;
719 + },
720 + isElementInTheCurrentDocument() {
721 + if (!elementorFrontend.isEditMode()) {
722 + return false;
723 + }
724 + return elementor.documents.currentDocument.id.toString() === this.$element[0].closest('.elementor').dataset.elementorId;
725 + },
726 + findElement(selector) {
727 + var $mainElement = this.$element;
728 + return $mainElement.find(selector).filter(function () {
729 + // Start `closest` from parent since self can be `.elementor-element`.
730 + return jQuery(this).parent().closest('.elementor-element').is($mainElement);
731 + });
732 + },
733 + getUniqueHandlerID(cid, $element) {
734 + if (!cid) {
735 + cid = this.getModelCID();
736 + }
737 + if (!$element) {
738 + $element = this.$element;
739 + }
740 + return cid + $element.attr('data-element_type') + this.getConstructorID();
741 + },
742 + initEditorListeners() {
743 + var self = this;
744 + self.editorListeners = [{
745 + event: 'element:destroy',
746 + to: elementor.channels.data,
747 + callback(removedModel) {
748 + if (removedModel.cid !== self.getModelCID()) {
749 + return;
750 + }
751 + self.onDestroy();
752 + }
753 + }];
754 + if (self.onElementChange) {
755 + const elementType = self.getWidgetType() || self.getElementType();
756 + let eventName = 'change';
757 + if ('global' !== elementType) {
758 + eventName += ':' + elementType;
759 + }
760 + self.editorListeners.push({
761 + event: eventName,
762 + to: elementor.channels.editor,
763 + callback(controlView, elementView) {
764 + var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el);
765 + if (elementViewHandlerID !== self.getUniqueHandlerID()) {
766 + return;
767 + }
768 + self.onElementChange(controlView.model.get('name'), controlView, elementView);
769 + }
770 + });
771 + }
772 + if (self.onEditSettingsChange) {
773 + self.editorListeners.push({
774 + event: 'change:editSettings',
775 + to: elementor.channels.editor,
776 + callback(changedModel, view) {
777 + if (view.model.cid !== self.getModelCID()) {
778 + return;
779 + }
780 + const propName = Object.keys(changedModel.changed)[0];
781 + self.onEditSettingsChange(propName, changedModel.changed[propName]);
782 + }
783 + });
784 + }
785 + ['page'].forEach(function (settingsType) {
786 + var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange';
787 + if (self[listenerMethodName]) {
788 + self.editorListeners.push({
789 + event: 'change',
790 + to: elementor.settings[settingsType].model,
791 + callback(model) {
792 + self[listenerMethodName](model.changed);
793 + }
794 + });
795 + }
796 + });
797 + },
798 + getEditorListeners() {
799 + if (!this.editorListeners) {
800 + this.initEditorListeners();
801 + }
802 + return this.editorListeners;
803 + },
804 + addEditorListeners() {
805 + var uniqueHandlerID = this.getUniqueHandlerID();
806 + this.getEditorListeners().forEach(function (listener) {
807 + elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to);
808 + });
809 + },
810 + removeEditorListeners() {
811 + var uniqueHandlerID = this.getUniqueHandlerID();
812 + this.getEditorListeners().forEach(function (listener) {
813 + elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to);
814 + });
815 + },
816 + getElementType() {
817 + return this.$element.data('element_type');
818 + },
819 + getWidgetType() {
820 + const widgetType = this.$element.data('widget_type');
821 + if (!widgetType) {
822 + return;
823 + }
824 + return widgetType.split('.')[0];
825 + },
826 + getID() {
827 + return this.$element.data('id');
828 + },
829 + getModelCID() {
830 + return this.$element.data('model-cid');
831 + },
832 + getElementSettings(setting) {
833 + let elementSettings = {};
834 + const modelCID = this.getModelCID();
835 + if (this.isEdit && modelCID) {
836 + const settings = elementorFrontend.config.elements.data[modelCID],
837 + attributes = settings.attributes;
838 + let type = attributes.widgetType || attributes.elType;
839 + if (attributes.isInner) {
840 + type = 'inner-' + type;
841 + }
842 + let settingsKeys = elementorFrontend.config.elements.keys[type];
843 + if (!settingsKeys) {
844 + settingsKeys = elementorFrontend.config.elements.keys[type] = [];
845 + jQuery.each(settings.controls, (name, control) => {
846 + if (control.frontend_available || control.editor_available) {
847 + settingsKeys.push(name);
848 + }
849 + });
850 + }
851 + jQuery.each(settings.getActiveControls(), function (controlKey) {
852 + if (-1 !== settingsKeys.indexOf(controlKey)) {
853 + let value = attributes[controlKey];
854 + if (value.toJSON) {
855 + value = value.toJSON();
856 + }
857 + elementSettings[controlKey] = value;
858 + }
859 + });
860 + } else {
861 + elementSettings = this.$element.data('settings') || {};
862 + }
863 + return this.getItems(elementSettings, setting);
864 + },
865 + getEditSettings(setting) {
866 + var attributes = {};
867 + if (this.isEdit) {
868 + attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes;
869 + }
870 + return this.getItems(attributes, setting);
871 + },
872 + getCurrentDeviceSetting(settingKey) {
873 + return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey);
874 + },
875 + onInit() {
876 + if (this.isActive(this.getSettings())) {
877 + elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
878 + }
879 + },
880 + onDestroy() {
881 + if (this.isEdit) {
882 + this.removeEditorListeners();
883 + }
884 + if (this.unbindEvents) {
885 + this.unbindEvents();
886 + }
887 + }
888 +});
390 889
391 -//#endregion
392 -//#region node_modules/core-js/internals/to-object.js
393 - var require_to_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
394 - var requireObjectCoercible = require_require_object_coercible();
395 - var $Object = Object;
396 - module.exports = function(argument) {
397 - return $Object(requireObjectCoercible(argument));
398 - };
399 - }));
890 +/***/ }),
400 891
401 -//#endregion
402 -//#region node_modules/core-js/internals/has-own-property.js
403 - var require_has_own_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
404 - var uncurryThis = require_function_uncurry_this();
405 - var toObject = require_to_object();
406 - var hasOwnProperty = uncurryThis({}.hasOwnProperty);
407 - module.exports = Object.hasOwn || function hasOwn(it, key) {
408 - return hasOwnProperty(toObject(it), key);
409 - };
410 - }));
892 +/***/ "../assets/dev/js/frontend/handlers/stretched-element.js":
893 +/*!***************************************************************!*\
894 + !*** ../assets/dev/js/frontend/handlers/stretched-element.js ***!
895 + \***************************************************************/
896 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
411 897
412 -//#endregion
413 -//#region node_modules/core-js/internals/uid.js
414 - var require_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
415 - var uncurryThis = require_function_uncurry_this();
416 - var id = 0;
417 - var postfix = Math.random();
418 - var toString = uncurryThis(1.1.toString);
419 - module.exports = function(key) {
420 - return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString(++id + postfix, 36);
421 - };
422 - }));
898 +"use strict";
423 899
424 -//#endregion
425 -//#region node_modules/core-js/internals/well-known-symbol.js
426 - var require_well_known_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
427 - var globalThis = require_global_this();
428 - var shared = require_shared();
429 - var hasOwn = require_has_own_property();
430 - var uid = require_uid();
431 - var NATIVE_SYMBOL = require_symbol_constructor_detection();
432 - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
433 - var Symbol = globalThis.Symbol;
434 - var WellKnownSymbolsStore = shared("wks");
435 - var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol["for"] || Symbol : Symbol && Symbol.withoutSetter || uid;
436 - module.exports = function(name) {
437 - if (!hasOwn(WellKnownSymbolsStore, name)) WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) ? Symbol[name] : createWellKnownSymbol("Symbol." + name);
438 - return WellKnownSymbolsStore[name];
439 - };
440 - }));
441 900
442 -//#endregion
443 -//#region node_modules/core-js/internals/to-primitive.js
444 - var require_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
445 - var call = require_function_call();
446 - var isObject = require_is_object();
447 - var isSymbol = require_is_symbol();
448 - var getMethod = require_get_method();
449 - var ordinaryToPrimitive = require_ordinary_to_primitive();
450 - var wellKnownSymbol = require_well_known_symbol();
451 - var $TypeError = TypeError;
452 - var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
453 - module.exports = function(input, pref) {
454 - if (!isObject(input) || isSymbol(input)) return input;
455 - var exoticToPrim = getMethod(input, TO_PRIMITIVE);
456 - var result;
457 - if (exoticToPrim) {
458 - if (pref === void 0) pref = "default";
459 - result = call(exoticToPrim, input, pref);
460 - if (!isObject(result) || isSymbol(result)) return result;
461 - throw new $TypeError("Can't convert object to primitive value");
462 - }
463 - if (pref === void 0) pref = "number";
464 - return ordinaryToPrimitive(input, pref);
465 - };
466 - }));
901 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
902 +Object.defineProperty(exports, "__esModule", ({
903 + value: true
904 +}));
905 +exports["default"] = void 0;
906 +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js"));
907 +class StretchedElement extends _base.default {
908 + getStretchedClass() {
909 + return 'e-stretched';
910 + }
911 + getStretchSettingName() {
912 + return 'stretch_element';
913 + }
914 + getStretchActiveValue() {
915 + return 'yes';
916 + }
917 + bindEvents() {
918 + const handlerID = this.getUniqueHandlerID();
919 + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
920 + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
921 + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
922 + if (elementorFrontend.isEditMode()) {
923 + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
924 + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
925 + }
926 + }
927 + unbindEvents() {
928 + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
929 + if (elementorFrontend.isEditMode()) {
930 + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
931 + }
932 + }
933 + isActive(settings) {
934 + return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass());
935 + }
936 + getStretchElementForConfig() {
937 + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
938 + if (childSelector) {
939 + return this.$element.find(childSelector);
940 + }
941 + return this.$element;
942 + }
943 + getStretchElementConfig() {
944 + return {
945 + element: this.getStretchElementForConfig(),
946 + selectors: {
947 + container: this.getStretchContainer()
948 + },
949 + considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl
950 + };
951 + }
952 + initStretch() {
953 + this.stretch = this.stretch.bind(this);
954 + this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig());
955 + }
956 + getStretchContainer() {
957 + return elementorFrontend.getKitSettings('stretched_section_container') || window;
958 + }
959 + isStretchSettingEnabled() {
960 + return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue();
961 + }
962 + stretch() {
963 + if (!this.isStretchSettingEnabled()) {
964 + return;
965 + }
966 + this.stretchElement.stretch();
967 + }
968 + onInit() {
969 + if (!this.isActive(this.getSettings())) {
970 + return;
971 + }
972 + this.initStretch();
973 + super.onInit(...arguments);
974 + this.stretch();
975 + }
976 + onElementChange(propertyName) {
977 + const stretchSettingName = this.getStretchSettingName();
978 + if (stretchSettingName === propertyName) {
979 + if (this.isStretchSettingEnabled()) {
980 + this.stretch();
981 + } else {
982 + this.stretchElement.reset();
983 + }
984 + }
985 + }
986 + onKitChangeStretchContainerChange() {
987 + this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
988 + this.stretch();
989 + }
990 +}
991 +exports["default"] = StretchedElement;
467 992
468 -//#endregion
469 -//#region node_modules/core-js/internals/to-property-key.js
470 - var require_to_property_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
471 - var toPrimitive = require_to_primitive();
472 - var isSymbol = require_is_symbol();
473 - module.exports = function(argument) {
474 - var key = toPrimitive(argument, "string");
475 - return isSymbol(key) ? key : key + "";
476 - };
477 - }));
993 +/***/ }),
478 994
479 -//#endregion
480 -//#region node_modules/core-js/internals/document-create-element.js
481 - var require_document_create_element = /* @__PURE__ */ __commonJSMin(((exports, module) => {
482 - var globalThis = require_global_this();
483 - var isObject = require_is_object();
484 - var document = globalThis.document;
485 - var EXISTS = isObject(document) && isObject(document.createElement);
486 - module.exports = function(it) {
487 - return EXISTS ? document.createElement(it) : {};
488 - };
489 - }));
995 +/***/ "../assets/dev/js/frontend/modules.js":
996 +/*!********************************************!*\
997 + !*** ../assets/dev/js/frontend/modules.js ***!
998 + \********************************************/
999 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
490 1000
491 -//#endregion
492 -//#region node_modules/core-js/internals/ie8-dom-define.js
493 - var require_ie8_dom_define = /* @__PURE__ */ __commonJSMin(((exports, module) => {
494 - var DESCRIPTORS = require_descriptors();
495 - var fails = require_fails();
496 - var createElement = require_document_create_element();
497 - module.exports = !DESCRIPTORS && !fails(function() {
498 - return Object.defineProperty(createElement("div"), "a", { get: function() {
499 - return 7;
500 - } }).a !== 7;
501 - });
502 - }));
1001 +"use strict";
503 1002
504 -//#endregion
505 -//#region node_modules/core-js/internals/object-get-own-property-descriptor.js
506 - var require_object_get_own_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports) => {
507 - var DESCRIPTORS = require_descriptors();
508 - var call = require_function_call();
509 - var propertyIsEnumerableModule = require_object_property_is_enumerable();
510 - var createPropertyDescriptor = require_create_property_descriptor();
511 - var toIndexedObject = require_to_indexed_object();
512 - var toPropertyKey = require_to_property_key();
513 - var hasOwn = require_has_own_property();
514 - var IE8_DOM_DEFINE = require_ie8_dom_define();
515 - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
516 - exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
517 - O = toIndexedObject(O);
518 - P = toPropertyKey(P);
519 - if (IE8_DOM_DEFINE) try {
520 - return $getOwnPropertyDescriptor(O, P);
521 - } catch (error) {}
522 - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
523 - };
524 - }));
525 1003
526 -//#endregion
527 -//#region node_modules/core-js/internals/v8-prototype-define-bug.js
528 - var require_v8_prototype_define_bug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
529 - var DESCRIPTORS = require_descriptors();
530 - var fails = require_fails();
531 - module.exports = DESCRIPTORS && fails(function() {
532 - return Object.defineProperty(function() {}, "prototype", {
533 - value: 42,
534 - writable: false
535 - }).prototype !== 42;
536 - });
537 - }));
1004 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1005 +var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js"));
1006 +var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js"));
1007 +var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js"));
1008 +var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js"));
1009 +var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
1010 +var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js"));
1011 +var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js"));
1012 +var _nestedTabs = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js"));
1013 +var _nestedAccordion = _interopRequireDefault(__webpack_require__(/*! elementor/modules/nested-accordion/assets/js/frontend/handlers/nested-accordion */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js"));
1014 +var _nestedTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! ./handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js"));
1015 +_modules.default.frontend = {
1016 + Document: _document.default,
1017 + tools: {
1018 + StretchElement: _stretchElement.default
1019 + },
1020 + handlers: {
1021 + Base: _base.default,
1022 + StretchedElement: _stretchedElement.default,
1023 + SwiperBase: _baseSwiper.default,
1024 + CarouselBase: _baseCarousel.default,
1025 + NestedTabs: _nestedTabs.default,
1026 + NestedAccordion: _nestedAccordion.default,
1027 + NestedTitleKeyboardHandler: _nestedTitleKeyboardHandler.default
1028 + }
1029 +};
538 1030
539 -//#endregion
540 -//#region node_modules/core-js/internals/an-object.js
541 - var require_an_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
542 - var isObject = require_is_object();
543 - var $String = String;
544 - var $TypeError = TypeError;
545 - module.exports = function(argument) {
546 - if (isObject(argument)) return argument;
547 - throw new $TypeError($String(argument) + " is not an object");
548 - };
549 - }));
1031 +/***/ }),
550 1032
551 -//#endregion
552 -//#region node_modules/core-js/internals/object-define-property.js
553 - var require_object_define_property = /* @__PURE__ */ __commonJSMin(((exports) => {
554 - var DESCRIPTORS = require_descriptors();
555 - var IE8_DOM_DEFINE = require_ie8_dom_define();
556 - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
557 - var anObject = require_an_object();
558 - var toPropertyKey = require_to_property_key();
559 - var $TypeError = TypeError;
560 - var $defineProperty = Object.defineProperty;
561 - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
562 - var ENUMERABLE = "enumerable";
563 - var CONFIGURABLE = "configurable";
564 - var WRITABLE = "writable";
565 - exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
566 - anObject(O);
567 - P = toPropertyKey(P);
568 - anObject(Attributes);
569 - if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
570 - var current = $getOwnPropertyDescriptor(O, P);
571 - if (current && current[WRITABLE]) {
572 - O[P] = Attributes.value;
573 - Attributes = {
574 - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
575 - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
576 - writable: false
577 - };
578 - }
579 - }
580 - return $defineProperty(O, P, Attributes);
581 - } : $defineProperty : function defineProperty(O, P, Attributes) {
582 - anObject(O);
583 - P = toPropertyKey(P);
584 - anObject(Attributes);
585 - if (IE8_DOM_DEFINE) try {
586 - return $defineProperty(O, P, Attributes);
587 - } catch (error) {}
588 - if ("get" in Attributes || "set" in Attributes) throw new $TypeError("Accessors not supported");
589 - if ("value" in Attributes) O[P] = Attributes.value;
590 - return O;
591 - };
592 - }));
1033 +/***/ "../assets/dev/js/frontend/tools/stretch-element.js":
1034 +/*!**********************************************************!*\
1035 + !*** ../assets/dev/js/frontend/tools/stretch-element.js ***!
1036 + \**********************************************************/
1037 +/***/ ((module) => {
593 1038
594 -//#endregion
595 -//#region node_modules/core-js/internals/create-non-enumerable-property.js
596 - var require_create_non_enumerable_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
597 - var DESCRIPTORS = require_descriptors();
598 - var definePropertyModule = require_object_define_property();
599 - var createPropertyDescriptor = require_create_property_descriptor();
600 - module.exports = DESCRIPTORS ? function(object, key, value) {
601 - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
602 - } : function(object, key, value) {
603 - object[key] = value;
604 - return object;
605 - };
606 - }));
1039 +"use strict";
607 1040
608 -//#endregion
609 -//#region node_modules/core-js/internals/function-name.js
610 - var require_function_name = /* @__PURE__ */ __commonJSMin(((exports, module) => {
611 - var DESCRIPTORS = require_descriptors();
612 - var hasOwn = require_has_own_property();
613 - var FunctionPrototype = Function.prototype;
614 - var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
615 - var EXISTS = hasOwn(FunctionPrototype, "name");
616 - var PROPER = EXISTS && (function something() {}).name === "something";
617 - var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
618 - module.exports = {
619 - EXISTS,
620 - PROPER,
621 - CONFIGURABLE
622 - };
623 - }));
624 1041
625 -//#endregion
626 -//#region node_modules/core-js/internals/inspect-source.js
627 - var require_inspect_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
628 - var uncurryThis = require_function_uncurry_this();
629 - var isCallable = require_is_callable();
630 - var store = require_shared_store();
631 - var functionToString = uncurryThis(Function.toString);
632 - if (!isCallable(store.inspectSource)) store.inspectSource = function(it) {
633 - return functionToString(it);
634 - };
635 - module.exports = store.inspectSource;
636 - }));
1042 +module.exports = elementorModules.ViewModule.extend({
1043 + getDefaultSettings() {
1044 + return {
1045 + element: null,
1046 + direction: elementorFrontend.config.is_rtl ? 'right' : 'left',
1047 + selectors: {
1048 + container: window
1049 + },
1050 + considerScrollbar: false,
1051 + cssOutput: 'inline'
1052 + };
1053 + },
1054 + getDefaultElements() {
1055 + return {
1056 + $element: jQuery(this.getSettings('element'))
1057 + };
1058 + },
1059 + stretch() {
1060 + const settings = this.getSettings();
1061 + let $container;
1062 + try {
1063 + $container = jQuery(settings.selectors.container);
1064 + // eslint-disable-next-line no-empty
1065 + } catch (e) {}
1066 + if (!$container || !$container.length) {
1067 + $container = jQuery(this.getDefaultSettings().selectors.container);
1068 + }
1069 + this.reset();
1070 + var $element = this.elements.$element,
1071 + containerWidth = $container.innerWidth(),
1072 + elementOffset = $element.offset().left,
1073 + isFixed = 'fixed' === $element.css('position'),
1074 + correctOffset = isFixed ? 0 : elementOffset,
1075 + isContainerFullScreen = window === $container[0];
1076 + if (!isContainerFullScreen) {
1077 + var containerOffset = $container.offset().left;
1078 + if (isFixed) {
1079 + correctOffset = containerOffset;
1080 + }
1081 + if (elementOffset > containerOffset) {
1082 + correctOffset = elementOffset - containerOffset;
1083 + }
1084 + }
1085 + if (settings.considerScrollbar && isContainerFullScreen) {
1086 + const scrollbarWidth = window.innerWidth - containerWidth;
1087 + correctOffset -= scrollbarWidth;
1088 + }
1089 + if (!isFixed) {
1090 + if (elementorFrontend.config.is_rtl) {
1091 + correctOffset = containerWidth - ($element.outerWidth() + correctOffset);
1092 + }
1093 + correctOffset = -correctOffset;
1094 + }
637 1095
638 -//#endregion
639 -//#region node_modules/core-js/internals/weak-map-basic-detection.js
640 - var require_weak_map_basic_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
641 - var globalThis = require_global_this();
642 - var isCallable = require_is_callable();
643 - var WeakMap = globalThis.WeakMap;
644 - module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
645 - }));
1096 + // Consider margin
1097 + if (settings.margin) {
1098 + correctOffset += settings.margin;
1099 + }
1100 + var css = {};
1101 + let width = containerWidth;
1102 + if (settings.margin) {
1103 + width -= settings.margin * 2;
1104 + }
1105 + css.width = width + 'px';
1106 + css[settings.direction] = correctOffset + 'px';
1107 + if ('variables' === settings.cssOutput) {
1108 + this.applyCssVariables($element, css);
1109 + return;
1110 + }
1111 + $element.css(css);
1112 + },
1113 + reset() {
1114 + const css = {},
1115 + settings = this.getSettings(),
1116 + $element = this.elements.$element;
1117 + if ('variables' === settings.cssOutput) {
1118 + this.resetCssVariables($element);
1119 + return;
1120 + }
1121 + css.width = '';
1122 + css[settings.direction] = '';
1123 + $element.css(css);
1124 + },
1125 + applyCssVariables($element, css) {
1126 + $element.css('--stretch-width', css.width);
1127 + if (!!css.left) {
1128 + $element.css('--stretch-left', css.left);
1129 + } else {
1130 + $element.css('--stretch-right', css.right);
1131 + }
1132 + },
1133 + resetCssVariables($element) {
1134 + $element.css({
1135 + '--stretch-width': '',
1136 + '--stretch-left': '',
1137 + '--stretch-right': ''
1138 + });
1139 + }
1140 +});
646 1141
647 -//#endregion
648 -//#region node_modules/core-js/internals/shared-key.js
649 - var require_shared_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
650 - var shared = require_shared();
651 - var uid = require_uid();
652 - var keys = shared("keys");
653 - module.exports = function(key) {
654 - return keys[key] || (keys[key] = uid(key));
655 - };
656 - }));
1142 +/***/ }),
657 1143
658 -//#endregion
659 -//#region node_modules/core-js/internals/hidden-keys.js
660 - var require_hidden_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
661 - module.exports = {};
662 - }));
1144 +/***/ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js":
1145 +/*!*****************************************************************!*\
1146 + !*** ../assets/dev/js/frontend/utils/flex-horizontal-scroll.js ***!
1147 + \*****************************************************************/
1148 +/***/ ((__unused_webpack_module, exports) => {
663 1149
664 -//#endregion
665 -//#region node_modules/core-js/internals/internal-state.js
666 - var require_internal_state = /* @__PURE__ */ __commonJSMin(((exports, module) => {
667 - var NATIVE_WEAK_MAP = require_weak_map_basic_detection();
668 - var globalThis = require_global_this();
669 - var isObject = require_is_object();
670 - var createNonEnumerableProperty = require_create_non_enumerable_property();
671 - var hasOwn = require_has_own_property();
672 - var shared = require_shared_store();
673 - var sharedKey = require_shared_key();
674 - var hiddenKeys = require_hidden_keys();
675 - var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
676 - var TypeError = globalThis.TypeError;
677 - var WeakMap = globalThis.WeakMap;
678 - var set;
679 - var get;
680 - var has;
681 - var enforce = function(it) {
682 - return has(it) ? get(it) : set(it, {});
683 - };
684 - var getterFor = function(TYPE) {
685 - return function(it) {
686 - var state;
687 - if (!isObject(it) || (state = get(it)).type !== TYPE) throw new TypeError("Incompatible receiver, " + TYPE + " required");
688 - return state;
689 - };
690 - };
691 - if (NATIVE_WEAK_MAP || shared.state) {
692 - var store = shared.state || (shared.state = new WeakMap());
693 - store.get = store.get;
694 - store.has = store.has;
695 - store.set = store.set;
696 - set = function(it, metadata) {
697 - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
698 - metadata.facade = it;
699 - store.set(it, metadata);
700 - return metadata;
701 - };
702 - get = function(it) {
703 - return store.get(it) || {};
704 - };
705 - has = function(it) {
706 - return store.has(it);
707 - };
708 - } else {
709 - var STATE = sharedKey("state");
710 - hiddenKeys[STATE] = true;
711 - set = function(it, metadata) {
712 - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
713 - metadata.facade = it;
714 - createNonEnumerableProperty(it, STATE, metadata);
715 - return metadata;
716 - };
717 - get = function(it) {
718 - return hasOwn(it, STATE) ? it[STATE] : {};
719 - };
720 - has = function(it) {
721 - return hasOwn(it, STATE);
722 - };
723 - }
724 - module.exports = {
725 - set,
726 - get,
727 - has,
728 - enforce,
729 - getterFor
730 - };
731 - }));
1150 +"use strict";
732 1151
733 -//#endregion
734 -//#region node_modules/core-js/internals/make-built-in.js
735 - var require_make_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => {
736 - var uncurryThis = require_function_uncurry_this();
737 - var fails = require_fails();
738 - var isCallable = require_is_callable();
739 - var hasOwn = require_has_own_property();
740 - var DESCRIPTORS = require_descriptors();
741 - var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
742 - var inspectSource = require_inspect_source();
743 - var InternalStateModule = require_internal_state();
744 - var enforceInternalState = InternalStateModule.enforce;
745 - var getInternalState = InternalStateModule.get;
746 - var $String = String;
747 - var defineProperty = Object.defineProperty;
748 - var stringSlice = uncurryThis("".slice);
749 - var replace = uncurryThis("".replace);
750 - var join = uncurryThis([].join);
751 - var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() {
752 - return defineProperty(function() {}, "length", { value: 8 }).length !== 8;
753 - });
754 - var TEMPLATE = String(String).split("String");
755 - var makeBuiltIn = module.exports = function(value, name, options) {
756 - if (stringSlice($String(name), 0, 7) === "Symbol(") name = "[" + replace($String(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]";
757 - if (options && options.getter) name = "get " + name;
758 - if (options && options.setter) name = "set " + name;
759 - if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) if (DESCRIPTORS) defineProperty(value, "name", {
760 - value: name,
761 - configurable: true
762 - });
763 - else value.name = name;
764 - if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) defineProperty(value, "length", { value: options.arity });
765 - try {
766 - if (options && hasOwn(options, "constructor") && options.constructor) {
767 - if (DESCRIPTORS) defineProperty(value, "prototype", { writable: false });
768 - } else if (value.prototype) value.prototype = void 0;
769 - } catch (error) {}
770 - var state = enforceInternalState(value);
771 - if (!hasOwn(state, "source")) state.source = join(TEMPLATE, typeof name == "string" ? name : "");
772 - return value;
773 - };
774 - Function.prototype.toString = makeBuiltIn(function toString() {
775 - return isCallable(this) && getInternalState(this).source || inspectSource(this);
776 - }, "toString");
777 - }));
778 1152
779 -//#endregion
780 -//#region node_modules/core-js/internals/define-built-in.js
781 - var require_define_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => {
782 - var isCallable = require_is_callable();
783 - var definePropertyModule = require_object_define_property();
784 - var makeBuiltIn = require_make_built_in();
785 - var defineGlobalProperty = require_define_global_property();
786 - module.exports = function(O, key, value, options) {
787 - if (!options) options = {};
788 - var simple = options.enumerable;
789 - var name = options.name !== void 0 ? options.name : key;
790 - if (isCallable(value)) makeBuiltIn(value, name, options);
791 - if (options.global) if (simple) O[key] = value;
792 - else defineGlobalProperty(key, value);
793 - else {
794 - try {
795 - if (!options.unsafe) delete O[key];
796 - else if (O[key]) simple = true;
797 - } catch (error) {}
798 - if (simple) O[key] = value;
799 - else definePropertyModule.f(O, key, {
800 - value,
801 - enumerable: false,
802 - configurable: !options.nonConfigurable,
803 - writable: !options.nonWritable
804 - });
805 - }
806 - return O;
807 - };
808 - }));
1153 +Object.defineProperty(exports, "__esModule", ({
1154 + value: true
1155 +}));
1156 +exports.changeScrollStatus = changeScrollStatus;
1157 +exports.setHorizontalScrollAlignment = setHorizontalScrollAlignment;
1158 +exports.setHorizontalTitleScrollValues = setHorizontalTitleScrollValues;
1159 +function changeScrollStatus(element, event) {
1160 + if ('mousedown' === event.type) {
1161 + element.classList.add('e-scroll');
1162 + element.dataset.pageX = event.pageX;
1163 + } else {
1164 + element.classList.remove('e-scroll', 'e-scroll-active');
1165 + element.dataset.pageX = '';
1166 + }
1167 +}
809 1168
810 -//#endregion
811 -//#region node_modules/core-js/internals/math-trunc.js
812 - var require_math_trunc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
813 - var ceil = Math.ceil;
814 - var floor = Math.floor;
815 - module.exports = Math.trunc || function trunc(x) {
816 - var n = +x;
817 - return (n > 0 ? floor : ceil)(n);
818 - };
819 - }));
1169 +// This function was written using this example https://codepen.io/thenutz/pen/VwYeYEE.
1170 +function setHorizontalTitleScrollValues(element, horizontalScrollStatus, event) {
1171 + const isActiveScroll = element.classList.contains('e-scroll'),
1172 + isHorizontalScrollActive = 'enable' === horizontalScrollStatus,
1173 + headingContentIsWiderThanWrapper = element.scrollWidth > element.clientWidth;
1174 + if (!isActiveScroll || !isHorizontalScrollActive || !headingContentIsWiderThanWrapper) {
1175 + return;
1176 + }
1177 + event.preventDefault();
1178 + const previousPositionX = parseFloat(element.dataset.pageX),
1179 + mouseMoveX = event.pageX - previousPositionX,
1180 + maximumScrollValue = 5,
1181 + stepLimit = 20;
1182 + let toScrollDistanceX = 0;
1183 + if (stepLimit < mouseMoveX) {
1184 + toScrollDistanceX = maximumScrollValue;
1185 + } else if (stepLimit * -1 > mouseMoveX) {
1186 + toScrollDistanceX = -1 * maximumScrollValue;
1187 + } else {
1188 + toScrollDistanceX = mouseMoveX;
1189 + }
1190 + element.scrollLeft = element.scrollLeft - toScrollDistanceX;
1191 + element.classList.add('e-scroll-active');
1192 +}
1193 +function setHorizontalScrollAlignment(_ref) {
1194 + let {
1195 + element,
1196 + direction,
1197 + justifyCSSVariable,
1198 + horizontalScrollStatus
1199 + } = _ref;
1200 + if (!element) {
1201 + return;
1202 + }
1203 + if (isHorizontalScroll(element, horizontalScrollStatus)) {
1204 + initialScrollPosition(element, direction, justifyCSSVariable);
1205 + } else {
1206 + element.style.setProperty(justifyCSSVariable, '');
1207 + }
1208 +}
1209 +function isHorizontalScroll(element, horizontalScrollStatus) {
1210 + return element.clientWidth < getChildrenWidth(element.children) && 'enable' === horizontalScrollStatus;
1211 +}
1212 +function getChildrenWidth(children) {
1213 + let totalWidth = 0;
1214 + const parentContainer = children[0].parentNode,
1215 + computedStyles = getComputedStyle(parentContainer),
1216 + gap = parseFloat(computedStyles.gap) || 0; // Get the gap value or default to 0 if it's not specified
820 1217
821 -//#endregion
822 -//#region node_modules/core-js/internals/to-integer-or-infinity.js
823 - var require_to_integer_or_infinity = /* @__PURE__ */ __commonJSMin(((exports, module) => {
824 - var trunc = require_math_trunc();
825 - module.exports = function(argument) {
826 - var number = +argument;
827 - return number !== number || number === 0 ? 0 : trunc(number);
828 - };
829 - }));
1218 + for (let i = 0; i < children.length; i++) {
1219 + totalWidth += children[i].offsetWidth + gap;
1220 + }
1221 + return totalWidth;
1222 +}
1223 +function initialScrollPosition(element, direction, justifyCSSVariable) {
1224 + const isRTL = elementorFrontend.config.is_rtl;
1225 + switch (direction) {
1226 + case 'end':
1227 + element.style.setProperty(justifyCSSVariable, 'start');
1228 + element.scrollLeft = isRTL ? -1 * getChildrenWidth(element.children) : getChildrenWidth(element.children);
1229 + break;
1230 + default:
1231 + element.style.setProperty(justifyCSSVariable, 'start');
1232 + element.scrollLeft = 0;
1233 + }
1234 +}
830 1235
831 -//#endregion
832 -//#region node_modules/core-js/internals/to-absolute-index.js
833 - var require_to_absolute_index = /* @__PURE__ */ __commonJSMin(((exports, module) => {
834 - var toIntegerOrInfinity = require_to_integer_or_infinity();
835 - var max = Math.max;
836 - var min = Math.min;
837 - module.exports = function(index, length) {
838 - var integer = toIntegerOrInfinity(index);
839 - return integer < 0 ? max(integer + length, 0) : min(integer, length);
840 - };
841 - }));
1236 +/***/ }),
842 1237
843 -//#endregion
844 -//#region node_modules/core-js/internals/to-length.js
845 - var require_to_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
846 - var toIntegerOrInfinity = require_to_integer_or_infinity();
847 - var min = Math.min;
848 - module.exports = function(argument) {
849 - var len = toIntegerOrInfinity(argument);
850 - return len > 0 ? min(len, 9007199254740991) : 0;
851 - };
852 - }));
1238 +/***/ "../assets/dev/js/modules/imports/args-object.js":
1239 +/*!*******************************************************!*\
1240 + !*** ../assets/dev/js/modules/imports/args-object.js ***!
1241 + \*******************************************************/
1242 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
853 1243
854 -//#endregion
855 -//#region node_modules/core-js/internals/length-of-array-like.js
856 - var require_length_of_array_like = /* @__PURE__ */ __commonJSMin(((exports, module) => {
857 - var toLength = require_to_length();
858 - module.exports = function(obj) {
859 - return toLength(obj.length);
860 - };
861 - }));
1244 +"use strict";
862 1245
863 -//#endregion
864 -//#region node_modules/core-js/internals/array-includes.js
865 - var require_array_includes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
866 - var toIndexedObject = require_to_indexed_object();
867 - var toAbsoluteIndex = require_to_absolute_index();
868 - var lengthOfArrayLike = require_length_of_array_like();
869 - var createMethod = function(IS_INCLUDES) {
870 - return function($this, el, fromIndex) {
871 - var O = toIndexedObject($this);
872 - var length = lengthOfArrayLike(O);
873 - if (length === 0) return !IS_INCLUDES && -1;
874 - var index = toAbsoluteIndex(fromIndex, length);
875 - var value;
876 - if (IS_INCLUDES && el !== el) while (length > index) {
877 - value = O[index++];
878 - if (value !== value) return true;
879 - }
880 - else for (; length > index; index++) if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
881 - return !IS_INCLUDES && -1;
882 - };
883 - };
884 - module.exports = {
885 - includes: createMethod(true),
886 - indexOf: createMethod(false)
887 - };
888 - }));
889 1246
890 -//#endregion
891 -//#region node_modules/core-js/internals/object-keys-internal.js
892 - var require_object_keys_internal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
893 - var uncurryThis = require_function_uncurry_this();
894 - var hasOwn = require_has_own_property();
895 - var toIndexedObject = require_to_indexed_object();
896 - var indexOf = require_array_includes().indexOf;
897 - var hiddenKeys = require_hidden_keys();
898 - var push = uncurryThis([].push);
899 - module.exports = function(object, names) {
900 - var O = toIndexedObject(object);
901 - var i = 0;
902 - var result = [];
903 - var key;
904 - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
905 - while (names.length > i) if (hasOwn(O, key = names[i++])) ~indexOf(result, key) || push(result, key);
906 - return result;
907 - };
908 - }));
1247 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1248 +Object.defineProperty(exports, "__esModule", ({
1249 + value: true
1250 +}));
1251 +exports["default"] = void 0;
1252 +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js");
1253 +var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js"));
1254 +var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js"));
1255 +class ArgsObject extends _instanceType.default {
1256 + static getInstanceType() {
1257 + return 'ArgsObject';
1258 + }
909 1259
910 -//#endregion
911 -//#region node_modules/core-js/internals/enum-bug-keys.js
912 - var require_enum_bug_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
913 - module.exports = [
914 - "constructor",
915 - "hasOwnProperty",
916 - "isPrototypeOf",
917 - "propertyIsEnumerable",
918 - "toLocaleString",
919 - "toString",
920 - "valueOf"
921 - ];
922 - }));
1260 + /**
1261 + * Function constructor().
1262 + *
1263 + * Create ArgsObject.
1264 + *
1265 + * @param {{}} args
1266 + */
1267 + constructor(args) {
1268 + super();
1269 + this.args = args;
1270 + }
923 1271
924 -//#endregion
925 -//#region node_modules/core-js/internals/object-get-own-property-names.js
926 - var require_object_get_own_property_names = /* @__PURE__ */ __commonJSMin(((exports) => {
927 - var internalObjectKeys = require_object_keys_internal();
928 - var hiddenKeys = require_enum_bug_keys().concat("length", "prototype");
929 - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
930 - return internalObjectKeys(O, hiddenKeys);
931 - };
932 - }));
1272 + /**
1273 + * Function requireArgument().
1274 + *
1275 + * Validate property in args.
1276 + *
1277 + * @param {string} property
1278 + * @param {{}} args
1279 + *
1280 + * @throws {Error}
1281 + */
1282 + requireArgument(property) {
1283 + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args;
1284 + if (!Object.prototype.hasOwnProperty.call(args, property)) {
1285 + throw Error(`${property} is required.`);
1286 + }
1287 + }
933 1288
934 -//#endregion
935 -//#region node_modules/core-js/internals/object-get-own-property-symbols.js
936 - var require_object_get_own_property_symbols = /* @__PURE__ */ __commonJSMin(((exports) => {
937 - exports.f = Object.getOwnPropertySymbols;
938 - }));
1289 + /**
1290 + * Function requireArgumentType().
1291 + *
1292 + * Validate property in args using `type === typeof(args.whatever)`.
1293 + *
1294 + * @param {string} property
1295 + * @param {string} type
1296 + * @param {{}} args
1297 + *
1298 + * @throws {Error}
1299 + */
1300 + requireArgumentType(property, type) {
1301 + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
1302 + this.requireArgument(property, args);
1303 + if (typeof args[property] !== type) {
1304 + throw Error(`${property} invalid type: ${type}.`);
1305 + }
1306 + }
939 1307
940 -//#endregion
941 -//#region node_modules/core-js/internals/own-keys.js
942 - var require_own_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
943 - var getBuiltIn = require_get_built_in();
944 - var uncurryThis = require_function_uncurry_this();
945 - var getOwnPropertyNamesModule = require_object_get_own_property_names();
946 - var getOwnPropertySymbolsModule = require_object_get_own_property_symbols();
947 - var anObject = require_an_object();
948 - var concat = uncurryThis([].concat);
949 - module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) {
950 - var keys = getOwnPropertyNamesModule.f(anObject(it));
951 - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
952 - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
953 - };
954 - }));
1308 + /**
1309 + * Function requireArgumentInstance().
1310 + *
1311 + * Validate property in args using `args.whatever instanceof instance`.
1312 + *
1313 + * @param {string} property
1314 + * @param {*} instance
1315 + * @param {{}} args
1316 + *
1317 + * @throws {Error}
1318 + */
1319 + requireArgumentInstance(property, instance) {
1320 + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
1321 + this.requireArgument(property, args);
1322 + if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) {
1323 + throw Error(`${property} invalid instance.`);
1324 + }
1325 + }
955 1326
956 -//#endregion
957 -//#region node_modules/core-js/internals/copy-constructor-properties.js
958 - var require_copy_constructor_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
959 - var hasOwn = require_has_own_property();
960 - var ownKeys = require_own_keys();
961 - var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor();
962 - var definePropertyModule = require_object_define_property();
963 - module.exports = function(target, source, exceptions) {
964 - var keys = ownKeys(source);
965 - var defineProperty = definePropertyModule.f;
966 - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
967 - for (var i = 0; i < keys.length; i++) {
968 - var key = keys[i];
969 - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
970 - }
971 - };
972 - }));
1327 + /**
1328 + * Function requireArgumentConstructor().
1329 + *
1330 + * Validate property in args using `type === args.whatever.constructor`.
1331 + *
1332 + * @param {string} property
1333 + * @param {*} type
1334 + * @param {{}} args
1335 + *
1336 + * @throws {Error}
1337 + */
1338 + requireArgumentConstructor(property, type) {
1339 + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
1340 + this.requireArgument(property, args);
973 1341
974 -//#endregion
975 -//#region node_modules/core-js/internals/is-forced.js
976 - var require_is_forced = /* @__PURE__ */ __commonJSMin(((exports, module) => {
977 - var fails = require_fails();
978 - var isCallable = require_is_callable();
979 - var replacement = /#|\.prototype\./;
980 - var isForced = function(feature, detection) {
981 - var value = data[normalize(feature)];
982 - return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection;
983 - };
984 - var normalize = isForced.normalize = function(string) {
985 - return String(string).replace(replacement, ".").toLowerCase();
986 - };
987 - var data = isForced.data = {};
988 - var NATIVE = isForced.NATIVE = "N";
989 - var POLYFILL = isForced.POLYFILL = "P";
990 - module.exports = isForced;
991 - }));
1342 + // Note: Converting the constructor to string in order to avoid equation issues
1343 + // due to different memory addresses between iframes (window.Object !== window.top.Object).
1344 + if (args[property].constructor.toString() !== type.prototype.constructor.toString()) {
1345 + throw Error(`${property} invalid constructor type.`);
1346 + }
1347 + }
1348 +}
1349 +exports["default"] = ArgsObject;
992 1350
993 -//#endregion
994 -//#region node_modules/core-js/internals/export.js
995 - var require_export = /* @__PURE__ */ __commonJSMin(((exports, module) => {
996 - var globalThis = require_global_this();
997 - var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f;
998 - var createNonEnumerableProperty = require_create_non_enumerable_property();
999 - var defineBuiltIn = require_define_built_in();
1000 - var defineGlobalProperty = require_define_global_property();
1001 - var copyConstructorProperties = require_copy_constructor_properties();
1002 - var isForced = require_is_forced();
1003 - module.exports = function(options, source) {
1004 - var TARGET = options.target;
1005 - var GLOBAL = options.global;
1006 - var STATIC = options.stat;
1007 - var FORCED;
1008 - var target;
1009 - var key;
1010 - var targetProperty;
1011 - var sourceProperty;
1012 - var descriptor;
1013 - if (GLOBAL) target = globalThis;
1014 - else if (STATIC) target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
1015 - else target = globalThis[TARGET] && globalThis[TARGET].prototype;
1016 - if (target) for (key in source) {
1017 - sourceProperty = source[key];
1018 - if (options.dontCallGetSet) {
1019 - descriptor = getOwnPropertyDescriptor(target, key);
1020 - targetProperty = descriptor && descriptor.value;
1021 - } else targetProperty = target[key];
1022 - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
1023 - if (!FORCED && targetProperty !== void 0) {
1024 - if (typeof sourceProperty == typeof targetProperty) continue;
1025 - copyConstructorProperties(sourceProperty, targetProperty);
1026 - }
1027 - if (options.sham || targetProperty && targetProperty.sham) createNonEnumerableProperty(sourceProperty, "sham", true);
1028 - defineBuiltIn(target, key, sourceProperty, options);
1029 - }
1030 - };
1031 - }));
1351 +/***/ }),
1032 1352
1033 -//#endregion
1034 -//#region node_modules/core-js/internals/is-array.js
1035 - var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1036 - var classof = require_classof_raw();
1037 - module.exports = Array.isArray || function isArray(argument) {
1038 - return classof(argument) === "Array";
1039 - };
1040 - }));
1353 +/***/ "../assets/dev/js/modules/imports/force-method-implementation.js":
1354 +/*!***********************************************************************!*\
1355 + !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***!
1356 + \***********************************************************************/
1357 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1041 1358
1042 -//#endregion
1043 -//#region node_modules/core-js/internals/array-set-length.js
1044 - var require_array_set_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1045 - var DESCRIPTORS = require_descriptors();
1046 - var isArray = require_is_array();
1047 - var $TypeError = TypeError;
1048 - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1049 - var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() {
1050 - if (this !== void 0) return true;
1051 - try {
1052 - Object.defineProperty([], "length", { writable: false }).length = 1;
1053 - } catch (error) {
1054 - return error instanceof TypeError;
1055 - }
1056 - }();
1057 - module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) {
1058 - if (isArray(O) && !getOwnPropertyDescriptor(O, "length").writable) throw new $TypeError("Cannot set read only .length");
1059 - return O.length = length;
1060 - } : function(O, length) {
1061 - return O.length = length;
1062 - };
1063 - }));
1359 +"use strict";
1064 1360
1065 -//#endregion
1066 -//#region node_modules/core-js/internals/does-not-exceed-safe-integer.js
1067 - var require_does_not_exceed_safe_integer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1068 - var $TypeError = TypeError;
1069 - var MAX_SAFE_INTEGER = 9007199254740991;
1070 - module.exports = function(it) {
1071 - if (it > MAX_SAFE_INTEGER) throw $TypeError("Maximum allowed index exceeded");
1072 - return it;
1073 - };
1074 - }));
1075 1361
1076 -//#endregion
1077 -//#region node_modules/core-js/modules/es.array.push.js
1078 - var require_es_array_push = /* @__PURE__ */ __commonJSMin((() => {
1079 - var $ = require_export();
1080 - var toObject = require_to_object();
1081 - var lengthOfArrayLike = require_length_of_array_like();
1082 - var setArrayLength = require_array_set_length();
1083 - var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer();
1084 - var INCORRECT_TO_LENGTH = require_fails()(function() {
1085 - return [].push.call({ length: 4294967296 }, 1) !== 4294967297;
1086 - });
1087 - var properErrorOnNonWritableLength = function() {
1088 - try {
1089 - Object.defineProperty([], "length", { writable: false }).push();
1090 - } catch (error) {
1091 - return error instanceof TypeError;
1092 - }
1093 - };
1094 - $({
1095 - target: "Array",
1096 - proto: true,
1097 - arity: 1,
1098 - forced: INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength()
1099 - }, { push: function push(item) {
1100 - var O = toObject(this);
1101 - var len = lengthOfArrayLike(O);
1102 - var argCount = arguments.length;
1103 - doesNotExceedSafeInteger(len + argCount);
1104 - for (var i = 0; i < argCount; i++) {
1105 - O[len] = arguments[i];
1106 - len++;
1107 - }
1108 - setArrayLength(O, len);
1109 - return len;
1110 - } });
1111 - }));
1362 +Object.defineProperty(exports, "__esModule", ({
1363 + value: true
1364 +}));
1365 +exports["default"] = exports.ForceMethodImplementation = void 0;
1366 +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js");
1367 +// TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`;
1112 1368
1113 -//#endregion
1114 -//#region node_modules/core-js/internals/an-instance.js
1115 - var require_an_instance = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1116 - var isPrototypeOf = require_object_is_prototype_of();
1117 - var $TypeError = TypeError;
1118 - module.exports = function(it, Prototype) {
1119 - if (isPrototypeOf(Prototype, it)) return it;
1120 - throw new $TypeError("Incorrect invocation");
1121 - };
1122 - }));
1369 +class ForceMethodImplementation extends Error {
1370 + constructor() {
1371 + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1372 + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1373 + super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args);
1123 1374
1124 -//#endregion
1125 -//#region node_modules/core-js/internals/correct-prototype-getter.js
1126 - var require_correct_prototype_getter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1127 - var fails = require_fails();
1128 - module.exports = !fails(function() {
1129 - function F() {}
1130 - F.prototype.constructor = null;
1131 - return Object.getPrototypeOf(new F()) !== F.prototype;
1132 - });
1133 - }));
1375 + // Allow to pass custom properties to the error.
1376 + if (Object.keys(args).length) {
1377 + // eslint-disable-next-line no-console
1378 + console.error(args);
1379 + }
1380 + Error.captureStackTrace(this, ForceMethodImplementation);
1381 + }
1382 +}
1383 +exports.ForceMethodImplementation = ForceMethodImplementation;
1384 +var _default = args => {
1385 + const stack = Error().stack,
1386 + caller = stack.split('\n')[2].trim(),
1387 + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1],
1388 + info = {};
1389 + info.functionName = callerName;
1390 + info.fullName = callerName;
1391 + if (info.functionName.includes('.')) {
1392 + const parts = info.functionName.split('.');
1393 + info.className = parts[0];
1394 + info.functionName = parts[1];
1395 + } else {
1396 + info.isStatic = true;
1397 + }
1398 + throw new ForceMethodImplementation(info, args);
1399 +};
1400 +exports["default"] = _default;
1134 1401
1135 -//#endregion
1136 -//#region node_modules/core-js/internals/object-get-prototype-of.js
1137 - var require_object_get_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1138 - var hasOwn = require_has_own_property();
1139 - var isCallable = require_is_callable();
1140 - var toObject = require_to_object();
1141 - var sharedKey = require_shared_key();
1142 - var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter();
1143 - var IE_PROTO = sharedKey("IE_PROTO");
1144 - var $Object = Object;
1145 - var ObjectPrototype = $Object.prototype;
1146 - module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) {
1147 - var object = toObject(O);
1148 - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
1149 - var constructor = object.constructor;
1150 - if (isCallable(constructor) && object instanceof constructor) return constructor.prototype;
1151 - return object instanceof $Object ? ObjectPrototype : null;
1152 - };
1153 - }));
1402 +/***/ }),
1154 1403
1155 -//#endregion
1156 -//#region node_modules/core-js/internals/define-built-in-accessor.js
1157 - var require_define_built_in_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1158 - var makeBuiltIn = require_make_built_in();
1159 - var defineProperty = require_object_define_property();
1160 - module.exports = function(target, name, descriptor) {
1161 - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1162 - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1163 - return defineProperty.f(target, name, descriptor);
1164 - };
1165 - }));
1404 +/***/ "../assets/dev/js/modules/imports/instance-type.js":
1405 +/*!*********************************************************!*\
1406 + !*** ../assets/dev/js/modules/imports/instance-type.js ***!
1407 + \*********************************************************/
1408 +/***/ ((__unused_webpack_module, exports) => {
1166 1409
1167 -//#endregion
1168 -//#region node_modules/core-js/internals/create-property.js
1169 - var require_create_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1170 - var DESCRIPTORS = require_descriptors();
1171 - var definePropertyModule = require_object_define_property();
1172 - var createPropertyDescriptor = require_create_property_descriptor();
1173 - module.exports = function(object, key, value) {
1174 - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
1175 - else object[key] = value;
1176 - };
1177 - }));
1410 +"use strict";
1178 1411
1179 -//#endregion
1180 -//#region node_modules/core-js/internals/object-keys.js
1181 - var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1182 - var internalObjectKeys = require_object_keys_internal();
1183 - var enumBugKeys = require_enum_bug_keys();
1184 - module.exports = Object.keys || function keys(O) {
1185 - return internalObjectKeys(O, enumBugKeys);
1186 - };
1187 - }));
1188 1412
1189 -//#endregion
1190 -//#region node_modules/core-js/internals/object-define-properties.js
1191 - var require_object_define_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
1192 - var DESCRIPTORS = require_descriptors();
1193 - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
1194 - var definePropertyModule = require_object_define_property();
1195 - var anObject = require_an_object();
1196 - var toIndexedObject = require_to_indexed_object();
1197 - var objectKeys = require_object_keys();
1198 - exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1199 - anObject(O);
1200 - var props = toIndexedObject(Properties);
1201 - var keys = objectKeys(Properties);
1202 - var length = keys.length;
1203 - var index = 0;
1204 - var key;
1205 - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1206 - return O;
1207 - };
1208 - }));
1413 +Object.defineProperty(exports, "__esModule", ({
1414 + value: true
1415 +}));
1416 +exports["default"] = void 0;
1417 +class InstanceType {
1418 + static [Symbol.hasInstance](target) {
1419 + /**
1420 + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
1421 + * its give's opportunity to mange capabilities of instanceOf operator.
1422 + * saving current class each time will give option later to handle instanceOf manually.
1423 + */
1424 + let result = super[Symbol.hasInstance](target);
1209 1425
1210 -//#endregion
1211 -//#region node_modules/core-js/internals/html.js
1212 - var require_html = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1213 - var getBuiltIn = require_get_built_in();
1214 - module.exports = getBuiltIn("document", "documentElement");
1215 - }));
1426 + // Act normal when validate a class, which does not have instance type.
1427 + if (target && !target.constructor.getInstanceType) {
1428 + return result;
1429 + }
1430 + if (target) {
1431 + if (!target.instanceTypes) {
1432 + target.instanceTypes = [];
1433 + }
1434 + if (!result) {
1435 + if (this.getInstanceType() === target.constructor.getInstanceType()) {
1436 + result = true;
1437 + }
1438 + }
1439 + if (result) {
1440 + const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType();
1441 + if (-1 === target.instanceTypes.indexOf(name)) {
1442 + target.instanceTypes.push(name);
1443 + }
1444 + }
1445 + }
1446 + if (!result && target) {
1447 + // Check if the given 'target', is instance of known types.
1448 + result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType());
1449 + }
1450 + return result;
1451 + }
1452 + static getInstanceType() {
1453 + elementorModules.ForceMethodImplementation();
1454 + }
1455 + constructor() {
1456 + // Since anonymous classes sometimes do not get validated by babel, do it manually.
1457 + let target = new.target;
1458 + const prototypes = [];
1459 + while (target.__proto__ && target.__proto__.name) {
1460 + prototypes.push(target.__proto__);
1461 + target = target.__proto__;
1462 + }
1463 + prototypes.reverse().forEach(proto => this instanceof proto);
1464 + }
1465 +}
1466 +exports["default"] = InstanceType;
1216 1467
1217 -//#endregion
1218 -//#region node_modules/core-js/internals/object-create.js
1219 - var require_object_create = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1220 - var anObject = require_an_object();
1221 - var definePropertiesModule = require_object_define_properties();
1222 - var enumBugKeys = require_enum_bug_keys();
1223 - var hiddenKeys = require_hidden_keys();
1224 - var html = require_html();
1225 - var documentCreateElement = require_document_create_element();
1226 - var sharedKey = require_shared_key();
1227 - var GT = ">";
1228 - var LT = "<";
1229 - var PROTOTYPE = "prototype";
1230 - var SCRIPT = "script";
1231 - var IE_PROTO = sharedKey("IE_PROTO");
1232 - var EmptyConstructor = function() {};
1233 - var scriptTag = function(content) {
1234 - return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
1235 - };
1236 - var NullProtoObjectViaActiveX = function(activeXDocument) {
1237 - activeXDocument.write(scriptTag(""));
1238 - activeXDocument.close();
1239 - var temp = activeXDocument.parentWindow.Object;
1240 - activeXDocument = null;
1241 - return temp;
1242 - };
1243 - var NullProtoObjectViaIFrame = function() {
1244 - var iframe = documentCreateElement("iframe");
1245 - var JS = "java" + SCRIPT + ":";
1246 - var iframeDocument;
1247 - iframe.style.display = "none";
1248 - html.appendChild(iframe);
1249 - iframe.src = String(JS);
1250 - iframeDocument = iframe.contentWindow.document;
1251 - iframeDocument.open();
1252 - iframeDocument.write(scriptTag("document.F=Object"));
1253 - iframeDocument.close();
1254 - return iframeDocument.F;
1255 - };
1256 - var activeXDocument;
1257 - var NullProtoObject = function() {
1258 - try {
1259 - activeXDocument = new ActiveXObject("htmlfile");
1260 - } catch (error) {}
1261 - NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
1262 - var length = enumBugKeys.length;
1263 - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1264 - return NullProtoObject();
1265 - };
1266 - hiddenKeys[IE_PROTO] = true;
1267 - module.exports = Object.create || function create(O, Properties) {
1268 - var result;
1269 - if (O !== null) {
1270 - EmptyConstructor[PROTOTYPE] = anObject(O);
1271 - result = new EmptyConstructor();
1272 - EmptyConstructor[PROTOTYPE] = null;
1273 - result[IE_PROTO] = O;
1274 - } else result = NullProtoObject();
1275 - return Properties === void 0 ? result : definePropertiesModule.f(result, Properties);
1276 - };
1277 - }));
1468 +/***/ }),
1278 1469
1279 -//#endregion
1280 -//#region node_modules/core-js/internals/iterators-core.js
1281 - var require_iterators_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1282 - var fails = require_fails();
1283 - var isCallable = require_is_callable();
1284 - var isObject = require_is_object();
1285 - var create = require_object_create();
1286 - var getPrototypeOf = require_object_get_prototype_of();
1287 - var defineBuiltIn = require_define_built_in();
1288 - var wellKnownSymbol = require_well_known_symbol();
1289 - var IS_PURE = require_is_pure();
1290 - var ITERATOR = wellKnownSymbol("iterator");
1291 - var BUGGY_SAFARI_ITERATORS = false;
1292 - var IteratorPrototype;
1293 - var PrototypeOfArrayIteratorPrototype;
1294 - var arrayIterator;
1295 - if ([].keys) {
1296 - arrayIterator = [].keys();
1297 - if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1298 - else {
1299 - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
1300 - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
1301 - }
1302 - }
1303 - if (!isObject(IteratorPrototype) || fails(function() {
1304 - var test = {};
1305 - return IteratorPrototype[ITERATOR].call(test) !== test;
1306 - })) IteratorPrototype = {};
1307 - else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
1308 - if (!isCallable(IteratorPrototype[ITERATOR])) defineBuiltIn(IteratorPrototype, ITERATOR, function() {
1309 - return this;
1310 - });
1311 - module.exports = {
1312 - IteratorPrototype,
1313 - BUGGY_SAFARI_ITERATORS
1314 - };
1315 - }));
1470 +/***/ "../assets/dev/js/modules/imports/module.js":
1471 +/*!**************************************************!*\
1472 + !*** ../assets/dev/js/modules/imports/module.js ***!
1473 + \**************************************************/
1474 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1316 1475
1317 -//#endregion
1318 -//#region node_modules/core-js/modules/es.iterator.constructor.js
1319 - var require_es_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => {
1320 - var $ = require_export();
1321 - var globalThis = require_global_this();
1322 - var anInstance = require_an_instance();
1323 - var anObject = require_an_object();
1324 - var isCallable = require_is_callable();
1325 - var getPrototypeOf = require_object_get_prototype_of();
1326 - var defineBuiltInAccessor = require_define_built_in_accessor();
1327 - var createProperty = require_create_property();
1328 - var fails = require_fails();
1329 - var hasOwn = require_has_own_property();
1330 - var wellKnownSymbol = require_well_known_symbol();
1331 - var IteratorPrototype = require_iterators_core().IteratorPrototype;
1332 - var DESCRIPTORS = require_descriptors();
1333 - var IS_PURE = require_is_pure();
1334 - var CONSTRUCTOR = "constructor";
1335 - var ITERATOR = "Iterator";
1336 - var TO_STRING_TAG = wellKnownSymbol("toStringTag");
1337 - var $TypeError = TypeError;
1338 - var NativeIterator = globalThis[ITERATOR];
1339 - var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() {
1340 - NativeIterator({});
1341 - });
1342 - var IteratorConstructor = function Iterator() {
1343 - anInstance(this, IteratorPrototype);
1344 - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError("Abstract class Iterator not directly constructable");
1345 - };
1346 - var defineIteratorPrototypeAccessor = function(key, value) {
1347 - if (DESCRIPTORS) defineBuiltInAccessor(IteratorPrototype, key, {
1348 - configurable: true,
1349 - get: function() {
1350 - return value;
1351 - },
1352 - set: function(replacement) {
1353 - anObject(this);
1354 - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
1355 - if (hasOwn(this, key)) this[key] = replacement;
1356 - else createProperty(this, key, replacement);
1357 - }
1358 - });
1359 - else IteratorPrototype[key] = value;
1360 - };
1361 - if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
1362 - if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1363 - IteratorConstructor.prototype = IteratorPrototype;
1364 - $({
1365 - global: true,
1366 - constructor: true,
1367 - forced: FORCED
1368 - }, { Iterator: IteratorConstructor });
1369 - }));
1476 +"use strict";
1370 1477
1371 -//#endregion
1372 -//#region node_modules/core-js/modules/esnext.iterator.constructor.js
1373 - var require_esnext_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => {
1374 - require_es_iterator_constructor();
1375 - }));
1376 1478
1377 -//#endregion
1378 -//#region node_modules/core-js/internals/get-iterator-direct.js
1379 - var require_get_iterator_direct = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1380 - module.exports = function(obj) {
1381 - return {
1382 - iterator: obj,
1383 - next: obj.next,
1384 - done: false
1385 - };
1386 - };
1387 - }));
1479 +__webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js");
1480 +const Module = function () {
1481 + const $ = jQuery,
1482 + instanceParams = arguments,
1483 + self = this,
1484 + events = {};
1485 + let settings;
1486 + const ensureClosureMethods = function () {
1487 + $.each(self, function (methodName) {
1488 + const oldMethod = self[methodName];
1489 + if ('function' !== typeof oldMethod) {
1490 + return;
1491 + }
1492 + self[methodName] = function () {
1493 + return oldMethod.apply(self, arguments);
1494 + };
1495 + });
1496 + };
1497 + const initSettings = function () {
1498 + settings = self.getDefaultSettings();
1499 + const instanceSettings = instanceParams[0];
1500 + if (instanceSettings) {
1501 + $.extend(true, settings, instanceSettings);
1502 + }
1503 + };
1504 + const init = function () {
1505 + self.__construct.apply(self, instanceParams);
1506 + ensureClosureMethods();
1507 + initSettings();
1508 + self.trigger('init');
1509 + };
1510 + this.getItems = function (items, itemKey) {
1511 + if (itemKey) {
1512 + const keyStack = itemKey.split('.'),
1513 + currentKey = keyStack.splice(0, 1);
1514 + if (!keyStack.length) {
1515 + return items[currentKey];
1516 + }
1517 + if (!items[currentKey]) {
1518 + return;
1519 + }
1520 + return this.getItems(items[currentKey], keyStack.join('.'));
1521 + }
1522 + return items;
1523 + };
1524 + this.getSettings = function (setting) {
1525 + return this.getItems(settings, setting);
1526 + };
1527 + this.setSettings = function (settingKey, value, settingsContainer) {
1528 + if (!settingsContainer) {
1529 + settingsContainer = settings;
1530 + }
1531 + if ('object' === typeof settingKey) {
1532 + $.extend(settingsContainer, settingKey);
1533 + return self;
1534 + }
1535 + const keyStack = settingKey.split('.'),
1536 + currentKey = keyStack.splice(0, 1);
1537 + if (!keyStack.length) {
1538 + settingsContainer[currentKey] = value;
1539 + return self;
1540 + }
1541 + if (!settingsContainer[currentKey]) {
1542 + settingsContainer[currentKey] = {};
1543 + }
1544 + return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]);
1545 + };
1546 + this.getErrorMessage = function (type, functionName) {
1547 + let message;
1548 + switch (type) {
1549 + case 'forceMethodImplementation':
1550 + message = `The method '${functionName}' must to be implemented in the inheritor child.`;
1551 + break;
1552 + default:
1553 + message = 'An error occurs';
1554 + }
1555 + return message;
1556 + };
1388 1557
1389 -//#endregion
1390 -//#region node_modules/core-js/internals/define-built-ins.js
1391 - var require_define_built_ins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1392 - var defineBuiltIn = require_define_built_in();
1393 - module.exports = function(target, src, options) {
1394 - for (var key in src) defineBuiltIn(target, key, src[key], options);
1395 - return target;
1396 - };
1397 - }));
1558 + // TODO: This function should be deleted ?.
1559 + this.forceMethodImplementation = function (functionName) {
1560 + throw new Error(this.getErrorMessage('forceMethodImplementation', functionName));
1561 + };
1562 + this.on = function (eventName, callback) {
1563 + if ('object' === typeof eventName) {
1564 + $.each(eventName, function (singleEventName) {
1565 + self.on(singleEventName, this);
1566 + });
1567 + return self;
1568 + }
1569 + const eventNames = eventName.split(' ');
1570 + eventNames.forEach(function (singleEventName) {
1571 + if (!events[singleEventName]) {
1572 + events[singleEventName] = [];
1573 + }
1574 + events[singleEventName].push(callback);
1575 + });
1576 + return self;
1577 + };
1578 + this.off = function (eventName, callback) {
1579 + if (!events[eventName]) {
1580 + return self;
1581 + }
1582 + if (!callback) {
1583 + delete events[eventName];
1584 + return self;
1585 + }
1586 + const callbackIndex = events[eventName].indexOf(callback);
1587 + if (-1 !== callbackIndex) {
1588 + delete events[eventName][callbackIndex];
1398 1589
1399 -//#endregion
1400 -//#region node_modules/core-js/internals/create-iter-result-object.js
1401 - var require_create_iter_result_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1402 - module.exports = function(value, done) {
1403 - return {
1404 - value,
1405 - done
1406 - };
1407 - };
1408 - }));
1590 + // Reset array index (for next off on same event).
1591 + events[eventName] = events[eventName].filter(val => val);
1592 + }
1593 + return self;
1594 + };
1595 + this.trigger = function (eventName) {
1596 + const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1),
1597 + params = Array.prototype.slice.call(arguments, 1);
1598 + if (self[methodName]) {
1599 + self[methodName].apply(self, params);
1600 + }
1601 + const callbacks = events[eventName];
1602 + if (!callbacks) {
1603 + return self;
1604 + }
1605 + $.each(callbacks, function (index, callback) {
1606 + callback.apply(self, params);
1607 + });
1608 + return self;
1609 + };
1610 + init();
1611 +};
1612 +Module.prototype.__construct = function () {};
1613 +Module.prototype.getDefaultSettings = function () {
1614 + return {};
1615 +};
1616 +Module.prototype.getConstructorID = function () {
1617 + return this.constructor.name;
1618 +};
1619 +Module.extend = function (properties) {
1620 + const $ = jQuery,
1621 + parent = this;
1622 + const child = function () {
1623 + return parent.apply(this, arguments);
1624 + };
1625 + $.extend(child, parent);
1626 + child.prototype = Object.create($.extend({}, parent.prototype, properties));
1627 + child.prototype.constructor = child;
1628 + child.__super__ = parent.prototype;
1629 + return child;
1630 +};
1631 +module.exports = Module;
1409 1632
1410 -//#endregion
1411 -//#region node_modules/core-js/internals/iterator-close.js
1412 - var require_iterator_close = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1413 - var call = require_function_call();
1414 - var anObject = require_an_object();
1415 - var getMethod = require_get_method();
1416 - module.exports = function(iterator, kind, value) {
1417 - var innerResult;
1418 - var innerError;
1419 - anObject(iterator);
1420 - try {
1421 - innerResult = getMethod(iterator, "return");
1422 - if (!innerResult) {
1423 - if (kind === "throw") throw value;
1424 - return value;
1425 - }
1426 - innerResult = call(innerResult, iterator);
1427 - } catch (error) {
1428 - innerError = true;
1429 - innerResult = error;
1430 - }
1431 - if (kind === "throw") throw value;
1432 - if (innerError) throw innerResult;
1433 - anObject(innerResult);
1434 - return value;
1435 - };
1436 - }));
1633 +/***/ }),
1437 1634
1438 -//#endregion
1439 -//#region node_modules/core-js/internals/iterator-close-all.js
1440 - var require_iterator_close_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1441 - var iteratorClose = require_iterator_close();
1442 - module.exports = function(iters, kind, value) {
1443 - for (var i = iters.length - 1; i >= 0; i--) {
1444 - if (iters[i] === void 0) continue;
1445 - try {
1446 - value = iteratorClose(iters[i].iterator, kind, value);
1447 - } catch (error) {
1448 - kind = "throw";
1449 - value = error;
1450 - }
1451 - }
1452 - if (kind === "throw") throw value;
1453 - return value;
1454 - };
1455 - }));
1635 +/***/ "../assets/dev/js/modules/imports/utils/masonry.js":
1636 +/*!*********************************************************!*\
1637 + !*** ../assets/dev/js/modules/imports/utils/masonry.js ***!
1638 + \*********************************************************/
1639 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1456 1640
1457 -//#endregion
1458 -//#region node_modules/core-js/internals/iterator-create-proxy.js
1459 - var require_iterator_create_proxy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1460 - var call = require_function_call();
1461 - var create = require_object_create();
1462 - var createNonEnumerableProperty = require_create_non_enumerable_property();
1463 - var defineBuiltIns = require_define_built_ins();
1464 - var wellKnownSymbol = require_well_known_symbol();
1465 - var InternalStateModule = require_internal_state();
1466 - var getMethod = require_get_method();
1467 - var IteratorPrototype = require_iterators_core().IteratorPrototype;
1468 - var createIterResultObject = require_create_iter_result_object();
1469 - var iteratorClose = require_iterator_close();
1470 - var iteratorCloseAll = require_iterator_close_all();
1471 - var TO_STRING_TAG = wellKnownSymbol("toStringTag");
1472 - var ITERATOR_HELPER = "IteratorHelper";
1473 - var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator";
1474 - var NORMAL = "normal";
1475 - var THROW = "throw";
1476 - var setInternalState = InternalStateModule.set;
1477 - var createIteratorProxyPrototype = function(IS_ITERATOR) {
1478 - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
1479 - return defineBuiltIns(create(IteratorPrototype), {
1480 - next: function next() {
1481 - var state = getInternalState(this);
1482 - if (IS_ITERATOR) return state.nextHandler();
1483 - if (state.done) return createIterResultObject(void 0, true);
1484 - try {
1485 - var result = state.nextHandler();
1486 - return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
1487 - } catch (error) {
1488 - state.done = true;
1489 - throw error;
1490 - }
1491 - },
1492 - "return": function() {
1493 - var state = getInternalState(this);
1494 - var iterator = state.iterator;
1495 - state.done = true;
1496 - if (IS_ITERATOR) {
1497 - var returnMethod = getMethod(iterator, "return");
1498 - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true);
1499 - }
1500 - if (state.inner) try {
1501 - iteratorClose(state.inner.iterator, NORMAL);
1502 - } catch (error) {
1503 - return iteratorClose(iterator, THROW, error);
1504 - }
1505 - if (state.openIters) try {
1506 - iteratorCloseAll(state.openIters, NORMAL);
1507 - } catch (error) {
1508 - return iteratorClose(iterator, THROW, error);
1509 - }
1510 - if (iterator) iteratorClose(iterator, NORMAL);
1511 - return createIterResultObject(void 0, true);
1512 - }
1513 - });
1514 - };
1515 - var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
1516 - var IteratorHelperPrototype = createIteratorProxyPrototype(false);
1517 - createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper");
1518 - module.exports = function(nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
1519 - var IteratorProxy = function Iterator(record, state) {
1520 - if (state) {
1521 - state.iterator = record.iterator;
1522 - state.next = record.next;
1523 - } else state = record;
1524 - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
1525 - state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
1526 - state.nextHandler = nextHandler;
1527 - state.counter = 0;
1528 - state.done = false;
1529 - setInternalState(this, state);
1530 - };
1531 - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
1532 - return IteratorProxy;
1533 - };
1534 - }));
1641 +"use strict";
1535 1642
1536 -//#endregion
1537 -//#region node_modules/core-js/internals/call-with-safe-iteration-closing.js
1538 - var require_call_with_safe_iteration_closing = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1539 - var anObject = require_an_object();
1540 - var iteratorClose = require_iterator_close();
1541 - module.exports = function(iterator, fn, value, ENTRIES) {
1542 - try {
1543 - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
1544 - } catch (error) {
1545 - iteratorClose(iterator, "throw", error);
1546 - }
1547 - };
1548 - }));
1549 1643
1550 -//#endregion
1551 -//#region node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js
1552 - var require_iterator_helper_throws_on_invalid_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1553 - module.exports = function(methodName, argument) {
1554 - var method = typeof Iterator == "function" && Iterator.prototype[methodName];
1555 - if (method) try {
1556 - method.call({ next: null }, argument).next();
1557 - } catch (error) {
1558 - return true;
1559 - }
1560 - };
1561 - }));
1644 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1645 +Object.defineProperty(exports, "__esModule", ({
1646 + value: true
1647 +}));
1648 +exports["default"] = void 0;
1649 +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js"));
1650 +var _default = _viewModule.default.extend({
1651 + getDefaultSettings() {
1652 + return {
1653 + container: null,
1654 + items: null,
1655 + columnsCount: 3,
1656 + verticalSpaceBetween: 30
1657 + };
1658 + },
1659 + getDefaultElements() {
1660 + return {
1661 + $container: jQuery(this.getSettings('container')),
1662 + $items: jQuery(this.getSettings('items'))
1663 + };
1664 + },
1665 + run() {
1666 + var heights = [],
1667 + distanceFromTop = this.elements.$container.position().top,
1668 + settings = this.getSettings(),
1669 + columnsCount = settings.columnsCount;
1670 + distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10);
1671 + this.elements.$items.each(function (index) {
1672 + var row = Math.floor(index / columnsCount),
1673 + $item = jQuery(this),
1674 + itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
1675 + if (row) {
1676 + var itemPosition = $item.position(),
1677 + indexAtRow = index % columnsCount,
1678 + pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
1679 + pullHeight -= parseInt($item.css('margin-top'), 10);
1680 + pullHeight *= -1;
1681 + $item.css('margin-top', pullHeight + 'px');
1682 + heights[indexAtRow] += itemHeight;
1683 + } else {
1684 + heights.push(itemHeight);
1685 + }
1686 + });
1687 + }
1688 +});
1689 +exports["default"] = _default;
1562 1690
1563 -//#endregion
1564 -//#region node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js
1565 - var require_iterator_helper_without_closing_on_early_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1566 - var globalThis = require_global_this();
1567 - module.exports = function(METHOD_NAME, ExpectedError) {
1568 - var Iterator = globalThis.Iterator;
1569 - var IteratorPrototype = Iterator && Iterator.prototype;
1570 - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1571 - var CLOSED = false;
1572 - if (method) try {
1573 - method.call({
1574 - next: function() {
1575 - return { done: true };
1576 - },
1577 - "return": function() {
1578 - CLOSED = true;
1579 - }
1580 - }, -1);
1581 - } catch (error) {
1582 - if (!(error instanceof ExpectedError)) CLOSED = false;
1583 - }
1584 - if (!CLOSED) return method;
1585 - };
1586 - }));
1691 +/***/ }),
1587 1692
1588 -//#endregion
1589 -//#region node_modules/core-js/modules/es.iterator.filter.js
1590 - var require_es_iterator_filter = /* @__PURE__ */ __commonJSMin((() => {
1591 - var $ = require_export();
1592 - var call = require_function_call();
1593 - var aCallable = require_a_callable();
1594 - var anObject = require_an_object();
1595 - var getIteratorDirect = require_get_iterator_direct();
1596 - var createIteratorProxy = require_iterator_create_proxy();
1597 - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing();
1598 - var IS_PURE = require_is_pure();
1599 - var iteratorClose = require_iterator_close();
1600 - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator();
1601 - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error();
1602 - var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("filter", function() {});
1603 - var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("filter", TypeError);
1604 - var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
1605 - var IteratorProxy = createIteratorProxy(function() {
1606 - var iterator = this.iterator;
1607 - var predicate = this.predicate;
1608 - var next = this.next;
1609 - var result;
1610 - var done;
1611 - var value;
1612 - while (true) {
1613 - result = anObject(call(next, iterator));
1614 - done = this.done = !!result.done;
1615 - if (done) return;
1616 - value = result.value;
1617 - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
1618 - }
1619 - });
1620 - $({
1621 - target: "Iterator",
1622 - proto: true,
1623 - real: true,
1624 - forced: FORCED
1625 - }, { filter: function filter(predicate) {
1626 - anObject(this);
1627 - try {
1628 - aCallable(predicate);
1629 - } catch (error) {
1630 - iteratorClose(this, "throw", error);
1631 - }
1632 - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
1633 - return new IteratorProxy(getIteratorDirect(this), { predicate });
1634 - } });
1635 - }));
1693 +/***/ "../assets/dev/js/modules/imports/utils/scroll.js":
1694 +/*!********************************************************!*\
1695 + !*** ../assets/dev/js/modules/imports/utils/scroll.js ***!
1696 + \********************************************************/
1697 +/***/ ((__unused_webpack_module, exports) => {
1636 1698
1637 -//#endregion
1638 -//#region node_modules/core-js/modules/esnext.iterator.filter.js
1639 - var require_esnext_iterator_filter = /* @__PURE__ */ __commonJSMin((() => {
1640 - require_es_iterator_filter();
1641 - }));
1699 +"use strict";
1642 1700
1643 -//#endregion
1644 -//#region node_modules/core-js/internals/function-uncurry-this-clause.js
1645 - var require_function_uncurry_this_clause = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1646 - var classofRaw = require_classof_raw();
1647 - var uncurryThis = require_function_uncurry_this();
1648 - module.exports = function(fn) {
1649 - if (classofRaw(fn) === "Function") return uncurryThis(fn);
1650 - };
1651 - }));
1652 1701
1653 -//#endregion
1654 -//#region node_modules/core-js/internals/function-bind-context.js
1655 - var require_function_bind_context = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1656 - var uncurryThis = require_function_uncurry_this_clause();
1657 - var aCallable = require_a_callable();
1658 - var NATIVE_BIND = require_function_bind_native();
1659 - var bind = uncurryThis(uncurryThis.bind);
1660 - module.exports = function(fn, that) {
1661 - aCallable(fn);
1662 - return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() {
1663 - return fn.apply(that, arguments);
1664 - };
1665 - };
1666 - }));
1702 +Object.defineProperty(exports, "__esModule", ({
1703 + value: true
1704 +}));
1705 +exports["default"] = void 0;
1706 +// Moved from elementor pro: 'assets/dev/js/frontend/utils'
1707 +class Scroll {
1708 + /**
1709 + * @param {Object} obj
1710 + * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element
1711 + * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom
1712 + * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%'
1713 + * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport
1714 + */
1715 + static scrollObserver(obj) {
1716 + let lastScrollY = 0;
1667 1717
1668 -//#endregion
1669 -//#region node_modules/core-js/internals/iterators.js
1670 - var require_iterators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1671 - module.exports = {};
1672 - }));
1718 + // Generating threshholds points along the animation height
1719 + // More threshholds points = more trigger points of the callback
1720 + const buildThreshholds = function () {
1721 + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
1722 + const threshholds = [];
1723 + if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) {
1724 + const increment = 100 / sensitivityPercentage;
1725 + for (let i = 0; i <= 100; i += increment) {
1726 + threshholds.push(i / 100);
1727 + }
1728 + } else {
1729 + threshholds.push(0);
1730 + }
1731 + return threshholds;
1732 + };
1733 + const options = {
1734 + root: obj.root || null,
1735 + rootMargin: obj.offset || '0px',
1736 + threshold: buildThreshholds(obj.sensitivity)
1737 + };
1738 + function handleIntersect(entries) {
1739 + const currentScrollY = entries[0].boundingClientRect.y,
1740 + isInViewport = entries[0].isIntersecting,
1741 + intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up',
1742 + scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2)));
1743 + obj.callback({
1744 + sensitivity: obj.sensitivity,
1745 + isInViewport,
1746 + scrollPercentage,
1747 + intersectionScrollDirection
1748 + });
1749 + lastScrollY = currentScrollY;
1750 + }
1751 + return new IntersectionObserver(handleIntersect, options);
1752 + }
1673 1753
1674 -//#endregion
1675 -//#region node_modules/core-js/internals/is-array-iterator-method.js
1676 - var require_is_array_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1677 - var wellKnownSymbol = require_well_known_symbol();
1678 - var Iterators = require_iterators();
1679 - var ITERATOR = wellKnownSymbol("iterator");
1680 - var ArrayPrototype = Array.prototype;
1681 - module.exports = function(it) {
1682 - return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
1683 - };
1684 - }));
1754 + /**
1755 + * @param {jQuery.Element} $element
1756 + * @param {Object} offsetObj
1757 + * @param {number} offsetObj.start - Offset start value in percentages
1758 + * @param {number} offsetObj.end - Offset end value in percentages
1759 + */
1760 + static getElementViewportPercentage($element) {
1761 + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1762 + const elementOffset = $element[0].getBoundingClientRect(),
1763 + offsetStart = offsetObj.start || 0,
1764 + offsetEnd = offsetObj.end || 0,
1765 + windowStartOffset = window.innerHeight * offsetStart / 100,
1766 + windowEndOffset = window.innerHeight * offsetEnd / 100,
1767 + y1 = elementOffset.top - window.innerHeight,
1768 + y2 = elementOffset.top + windowStartOffset + $element.height(),
1769 + startPosition = 0 - y1 + windowStartOffset,
1770 + endPosition = y2 - y1 + windowEndOffset,
1771 + percent = Math.max(0, Math.min(startPosition / endPosition, 1));
1772 + return parseFloat((percent * 100).toFixed(2));
1773 + }
1685 1774
1686 -//#endregion
1687 -//#region node_modules/core-js/internals/to-string-tag-support.js
1688 - var require_to_string_tag_support = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1689 - var TO_STRING_TAG = require_well_known_symbol()("toStringTag");
1690 - var test = {};
1691 - test[TO_STRING_TAG] = "z";
1692 - module.exports = String(test) === "[object z]";
1693 - }));
1775 + /**
1776 + * @param {Object} offsetObj
1777 + * @param {number} offsetObj.start - Offset start value in percentages
1778 + * @param {number} offsetObj.end - Offset end value in percentages
1779 + * @param {number} limitPageHeight - Will limit the page height calculation
1780 + */
1781 + static getPageScrollPercentage() {
1782 + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1783 + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined;
1784 + const offsetStart = offsetObj.start || 0,
1785 + offsetEnd = offsetObj.end || 0,
1786 + initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight,
1787 + heightOffset = initialPageHeight * offsetStart / 100,
1788 + pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100,
1789 + scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset;
1790 + return scrollPos / pageRange * 100;
1791 + }
1792 +}
1793 +exports["default"] = Scroll;
1694 1794
1695 -//#endregion
1696 -//#region node_modules/core-js/internals/classof.js
1697 - var require_classof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1698 - var TO_STRING_TAG_SUPPORT = require_to_string_tag_support();
1699 - var isCallable = require_is_callable();
1700 - var classofRaw = require_classof_raw();
1701 - var TO_STRING_TAG = require_well_known_symbol()("toStringTag");
1702 - var $Object = Object;
1703 - var CORRECT_ARGUMENTS = classofRaw(function() {
1704 - return arguments;
1705 - }()) === "Arguments";
1706 - var tryGet = function(it, key) {
1707 - try {
1708 - return it[key];
1709 - } catch (error) {}
1710 - };
1711 - module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
1712 - var O;
1713 - var tag;
1714 - var result;
1715 - return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable(O.callee) ? "Arguments" : result;
1716 - };
1717 - }));
1795 +/***/ }),
1718 1796
1719 -//#endregion
1720 -//#region node_modules/core-js/internals/get-iterator-method.js
1721 - var require_get_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1722 - var classof = require_classof();
1723 - var getMethod = require_get_method();
1724 - var isNullOrUndefined = require_is_null_or_undefined();
1725 - var Iterators = require_iterators();
1726 - var ITERATOR = require_well_known_symbol()("iterator");
1727 - module.exports = function(it) {
1728 - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)];
1729 - };
1730 - }));
1797 +/***/ "../assets/dev/js/modules/imports/view-module.js":
1798 +/*!*******************************************************!*\
1799 + !*** ../assets/dev/js/modules/imports/view-module.js ***!
1800 + \*******************************************************/
1801 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1731 1802
1732 -//#endregion
1733 -//#region node_modules/core-js/internals/get-iterator.js
1734 - var require_get_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1735 - var call = require_function_call();
1736 - var aCallable = require_a_callable();
1737 - var anObject = require_an_object();
1738 - var tryToString = require_try_to_string();
1739 - var getIteratorMethod = require_get_iterator_method();
1740 - var $TypeError = TypeError;
1741 - module.exports = function(argument, usingIterator) {
1742 - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
1743 - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
1744 - throw new $TypeError(tryToString(argument) + " is not iterable");
1745 - };
1746 - }));
1803 +"use strict";
1747 1804
1748 -//#endregion
1749 -//#region node_modules/core-js/internals/iterate.js
1750 - var require_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1751 - var bind = require_function_bind_context();
1752 - var call = require_function_call();
1753 - var anObject = require_an_object();
1754 - var tryToString = require_try_to_string();
1755 - var isArrayIteratorMethod = require_is_array_iterator_method();
1756 - var lengthOfArrayLike = require_length_of_array_like();
1757 - var isPrototypeOf = require_object_is_prototype_of();
1758 - var getIterator = require_get_iterator();
1759 - var getIteratorMethod = require_get_iterator_method();
1760 - var iteratorClose = require_iterator_close();
1761 - var $TypeError = TypeError;
1762 - var Result = function(stopped, result) {
1763 - this.stopped = stopped;
1764 - this.result = result;
1765 - };
1766 - var ResultPrototype = Result.prototype;
1767 - module.exports = function(iterable, unboundFunction, options) {
1768 - var that = options && options.that;
1769 - var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1770 - var IS_RECORD = !!(options && options.IS_RECORD);
1771 - var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1772 - var INTERRUPTED = !!(options && options.INTERRUPTED);
1773 - var fn = bind(unboundFunction, that);
1774 - var iterator;
1775 - var iterFn;
1776 - var index;
1777 - var length;
1778 - var result;
1779 - var next;
1780 - var step;
1781 - var stop = function(condition) {
1782 - if (iterator) iteratorClose(iterator, "normal");
1783 - return new Result(true, condition);
1784 - };
1785 - var callFn = function(value) {
1786 - if (AS_ENTRIES) {
1787 - anObject(value);
1788 - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1789 - }
1790 - return INTERRUPTED ? fn(value, stop) : fn(value);
1791 - };
1792 - if (IS_RECORD) iterator = iterable.iterator;
1793 - else if (IS_ITERATOR) iterator = iterable;
1794 - else {
1795 - iterFn = getIteratorMethod(iterable);
1796 - if (!iterFn) throw new $TypeError(tryToString(iterable) + " is not iterable");
1797 - if (isArrayIteratorMethod(iterFn)) {
1798 - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
1799 - result = callFn(iterable[index]);
1800 - if (result && isPrototypeOf(ResultPrototype, result)) return result;
1801 - }
1802 - return new Result(false);
1803 - }
1804 - iterator = getIterator(iterable, iterFn);
1805 - }
1806 - next = IS_RECORD ? iterable.next : iterator.next;
1807 - while (!(step = call(next, iterator)).done) {
1808 - try {
1809 - result = callFn(step.value);
1810 - } catch (error) {
1811 - iteratorClose(iterator, "throw", error);
1812 - }
1813 - if (typeof result == "object" && result && isPrototypeOf(ResultPrototype, result)) return result;
1814 - }
1815 - return new Result(false);
1816 - };
1817 - }));
1818 1805
1819 -//#endregion
1820 -//#region node_modules/core-js/modules/es.iterator.for-each.js
1821 - var require_es_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => {
1822 - var $ = require_export();
1823 - var call = require_function_call();
1824 - var iterate = require_iterate();
1825 - var aCallable = require_a_callable();
1826 - var anObject = require_an_object();
1827 - var getIteratorDirect = require_get_iterator_direct();
1828 - var iteratorClose = require_iterator_close();
1829 - var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError);
1830 - $({
1831 - target: "Iterator",
1832 - proto: true,
1833 - real: true,
1834 - forced: forEachWithoutClosingOnEarlyError
1835 - }, { forEach: function forEach(fn) {
1836 - anObject(this);
1837 - try {
1838 - aCallable(fn);
1839 - } catch (error) {
1840 - iteratorClose(this, "throw", error);
1841 - }
1842 - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
1843 - var record = getIteratorDirect(this);
1844 - var counter = 0;
1845 - iterate(record, function(value) {
1846 - fn(value, counter++);
1847 - }, { IS_RECORD: true });
1848 - } });
1849 - }));
1806 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1807 +Object.defineProperty(exports, "__esModule", ({
1808 + value: true
1809 +}));
1810 +exports["default"] = void 0;
1811 +var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js"));
1812 +var _default = _module.default.extend({
1813 + elements: null,
1814 + getDefaultElements() {
1815 + return {};
1816 + },
1817 + bindEvents() {},
1818 + onInit() {
1819 + this.initElements();
1820 + this.bindEvents();
1821 + },
1822 + initElements() {
1823 + this.elements = this.getDefaultElements();
1824 + }
1825 +});
1826 +exports["default"] = _default;
1850 1827
1851 -//#endregion
1852 -//#region node_modules/core-js/modules/esnext.iterator.for-each.js
1853 - var require_esnext_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => {
1854 - require_es_iterator_for_each();
1855 - }));
1828 +/***/ }),
1856 1829
1857 -//#endregion
1858 -//#region assets/dev/js/modules/imports/module.js
1859 - var require_module = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1860 - require_es_array_push();
1861 - require_esnext_iterator_constructor();
1862 - require_esnext_iterator_filter();
1863 - require_esnext_iterator_for_each();
1864 - var Module = function() {
1865 - const $ = jQuery;
1866 - const instanceParams = arguments;
1867 - const self = this;
1868 - const events = {};
1869 - let settings;
1870 - const ensureClosureMethods = function() {
1871 - $.each(self, function(methodName) {
1872 - const oldMethod = self[methodName];
1873 - if ("function" !== typeof oldMethod) return;
1874 - self[methodName] = function() {
1875 - return oldMethod.apply(self, arguments);
1876 - };
1877 - });
1878 - };
1879 - const initSettings = function() {
1880 - settings = self.getDefaultSettings();
1881 - const instanceSettings = instanceParams[0];
1882 - if (instanceSettings) $.extend(true, settings, instanceSettings);
1883 - };
1884 - const init = function() {
1885 - self.__construct.apply(self, instanceParams);
1886 - ensureClosureMethods();
1887 - initSettings();
1888 - self.trigger("init");
1889 - };
1890 - this.getItems = function(items, itemKey) {
1891 - if (itemKey) {
1892 - const keyStack = itemKey.split(".");
1893 - const currentKey = keyStack.splice(0, 1);
1894 - if (!keyStack.length) return items[currentKey];
1895 - if (!items[currentKey]) return;
1896 - return this.getItems(items[currentKey], keyStack.join("."));
1897 - }
1898 - return items;
1899 - };
1900 - this.getSettings = function(setting) {
1901 - return this.getItems(settings, setting);
1902 - };
1903 - this.setSettings = function(settingKey, value, settingsContainer) {
1904 - if (!settingsContainer) settingsContainer = settings;
1905 - if ("object" === typeof settingKey) {
1906 - $.extend(settingsContainer, settingKey);
1907 - return self;
1908 - }
1909 - const keyStack = settingKey.split(".");
1910 - const currentKey = keyStack.splice(0, 1);
1911 - if (!keyStack.length) {
1912 - settingsContainer[currentKey] = value;
1913 - return self;
1914 - }
1915 - if (!settingsContainer[currentKey]) settingsContainer[currentKey] = {};
1916 - return self.setSettings(keyStack.join("."), value, settingsContainer[currentKey]);
1917 - };
1918 - this.getErrorMessage = function(type, functionName) {
1919 - let message;
1920 - switch (type) {
1921 - case "forceMethodImplementation":
1922 - message = `The method '${functionName}' must to be implemented in the inheritor child.`;
1923 - break;
1924 - default: message = "An error occurs";
1925 - }
1926 - return message;
1927 - };
1928 - this.forceMethodImplementation = function(functionName) {
1929 - throw new Error(this.getErrorMessage("forceMethodImplementation", functionName));
1930 - };
1931 - this.on = function(eventName, callback) {
1932 - if ("object" === typeof eventName) {
1933 - $.each(eventName, function(singleEventName) {
1934 - self.on(singleEventName, this);
1935 - });
1936 - return self;
1937 - }
1938 - eventName.split(" ").forEach(function(singleEventName) {
1939 - if (!events[singleEventName]) events[singleEventName] = [];
1940 - events[singleEventName].push(callback);
1941 - });
1942 - return self;
1943 - };
1944 - this.off = function(eventName, callback) {
1945 - if (!events[eventName]) return self;
1946 - if (!callback) {
1947 - delete events[eventName];
1948 - return self;
1949 - }
1950 - const callbackIndex = events[eventName].indexOf(callback);
1951 - if (-1 !== callbackIndex) {
1952 - delete events[eventName][callbackIndex];
1953 - events[eventName] = events[eventName].filter((val) => val);
1954 - }
1955 - return self;
1956 - };
1957 - this.trigger = function(eventName) {
1958 - const methodName = "on" + eventName[0].toUpperCase() + eventName.slice(1);
1959 - const params = Array.prototype.slice.call(arguments, 1);
1960 - if (self[methodName]) self[methodName].apply(self, params);
1961 - const callbacks = events[eventName];
1962 - if (!callbacks) return self;
1963 - $.each(callbacks, function(index, callback) {
1964 - callback.apply(self, params);
1965 - });
1966 - return self;
1967 - };
1968 - init();
1969 - };
1970 - Module.prototype.__construct = function() {};
1971 - Module.prototype.getDefaultSettings = function() {
1972 - return {};
1973 - };
1974 - Module.prototype.getConstructorID = function() {
1975 - return this.constructor.name;
1976 - };
1977 - Module.extend = function(properties) {
1978 - const $ = jQuery;
1979 - const parent = this;
1980 - const child = function() {
1981 - return parent.apply(this, arguments);
1982 - };
1983 - $.extend(child, parent);
1984 - child.prototype = Object.create($.extend({}, parent.prototype, properties));
1985 - child.prototype.constructor = child;
1986 - child.__super__ = parent.prototype;
1987 - return child;
1988 - };
1989 - module.exports = Module;
1990 - }));
1830 +/***/ "../assets/dev/js/modules/modules.js":
1831 +/*!*******************************************!*\
1832 + !*** ../assets/dev/js/modules/modules.js ***!
1833 + \*******************************************/
1834 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1991 1835
1992 -//#endregion
1993 -//#region assets/dev/js/modules/imports/view-module.js
1994 - var require_view_module = /* @__PURE__ */ __commonJSMin(((exports) => {
1995 - var _interopRequireDefault = require_interopRequireDefault();
1996 - Object.defineProperty(exports, "__esModule", { value: true });
1997 - exports.default = void 0;
1998 - var _module = _interopRequireDefault(require_module());
1999 - exports.default = _module.default.extend({
2000 - elements: null,
2001 - getDefaultElements() {
2002 - return {};
2003 - },
2004 - bindEvents() {},
2005 - onInit() {
2006 - this.initElements();
2007 - this.bindEvents();
2008 - },
2009 - initElements() {
2010 - this.elements = this.getDefaultElements();
2011 - }
2012 - });
2013 - }));
1836 +"use strict";
2014 1837
2015 -//#endregion
2016 -//#region assets/dev/js/modules/imports/instance-type.js
2017 - var require_instance_type = /* @__PURE__ */ __commonJSMin(((exports) => {
2018 - Object.defineProperty(exports, "__esModule", { value: true });
2019 - exports.default = void 0;
2020 - require_es_array_push();
2021 - require_esnext_iterator_constructor();
2022 - require_esnext_iterator_for_each();
2023 - var InstanceType = class InstanceType {
2024 - static [Symbol.hasInstance](target) {
2025 - /**
2026 - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
2027 - * its give's opportunity to mange capabilities of instanceOf operator.
2028 - * saving current class each time will give option later to handle instanceOf manually.
2029 - */
2030 - let result = super[Symbol.hasInstance](target);
2031 - if (target && !target.constructor.getInstanceType) return result;
2032 - if (target) {
2033 - if (!target.instanceTypes) target.instanceTypes = [];
2034 - if (!result) {
2035 - if (this.getInstanceType() === target.constructor.getInstanceType()) result = true;
2036 - }
2037 - if (result) {
2038 - const name = this.getInstanceType === InstanceType.getInstanceType ? "BaseInstanceType" : this.getInstanceType();
2039 - if (-1 === target.instanceTypes.indexOf(name)) target.instanceTypes.push(name);
2040 - }
2041 - }
2042 - if (!result && target) result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType());
2043 - return result;
2044 - }
2045 - static getInstanceType() {
2046 - elementorModules.ForceMethodImplementation();
2047 - }
2048 - constructor() {
2049 - let target = new.target;
2050 - const prototypes = [];
2051 - while (target.__proto__ && target.__proto__.name) {
2052 - prototypes.push(target.__proto__);
2053 - target = target.__proto__;
2054 - }
2055 - prototypes.reverse().forEach((proto) => this instanceof proto);
2056 - }
2057 - };
2058 - exports.default = InstanceType;
2059 - }));
2060 1838
2061 -//#endregion
2062 -//#region assets/dev/js/editor/utils/is-instanceof.js
2063 - var require_is_instanceof = /* @__PURE__ */ __commonJSMin(((exports) => {
2064 - Object.defineProperty(exports, "__esModule", { value: true });
2065 - exports.default = void 0;
2066 - /**
2067 - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved
2068 - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can
2069 - * check whether it's instanceof by using the objects constructor and prototype names.
2070 - *
2071 - * @param object
2072 - * @param constructors
2073 - * @return {boolean}
2074 - */
2075 - var _default = (object, constructors) => {
2076 - constructors = Array.isArray(constructors) ? constructors : [constructors];
2077 - for (const constructor of constructors) if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) return true;
2078 - return false;
2079 - };
2080 - exports.default = _default;
2081 - }));
1839 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1840 +Object.defineProperty(exports, "__esModule", ({
1841 + value: true
1842 +}));
1843 +exports["default"] = void 0;
1844 +var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js"));
1845 +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js"));
1846 +var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js"));
1847 +var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js"));
1848 +var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js"));
1849 +var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js"));
1850 +var _default = window.elementorModules = {
1851 + Module: _module.default,
1852 + ViewModule: _viewModule.default,
1853 + ArgsObject: _argsObject.default,
1854 + ForceMethodImplementation: _forceMethodImplementation.default,
1855 + utils: {
1856 + Masonry: _masonry.default,
1857 + Scroll: _scroll.default
1858 + }
1859 +};
1860 +exports["default"] = _default;
2082 1861
2083 -//#endregion
2084 -//#region assets/dev/js/modules/imports/args-object.js
2085 - var require_args_object = /* @__PURE__ */ __commonJSMin(((exports) => {
2086 - var _interopRequireDefault = require_interopRequireDefault();
2087 - Object.defineProperty(exports, "__esModule", { value: true });
2088 - exports.default = void 0;
2089 - var _instanceType = _interopRequireDefault(require_instance_type());
2090 - var _isInstanceof = _interopRequireDefault(require_is_instanceof());
2091 - var ArgsObject = class extends _instanceType.default {
2092 - static getInstanceType() {
2093 - return "ArgsObject";
2094 - }
2095 - /**
2096 - * Function constructor().
2097 - *
2098 - * Create ArgsObject.
2099 - *
2100 - * @param {{}} args
2101 - */
2102 - constructor(args) {
2103 - super();
2104 - this.args = args;
2105 - }
2106 - /**
2107 - * Function requireArgument().
2108 - *
2109 - * Validate property in args.
2110 - *
2111 - * @param {string} property
2112 - * @param {{}} args
2113 - *
2114 - * @throws {Error}
2115 - */
2116 - requireArgument(property, args = this.args) {
2117 - if (!Object.prototype.hasOwnProperty.call(args, property)) throw Error(`${property} is required.`);
2118 - }
2119 - /**
2120 - * Function requireArgumentType().
2121 - *
2122 - * Validate property in args using `type === typeof(args.whatever)`.
2123 - *
2124 - * @param {string} property
2125 - * @param {string} type
2126 - * @param {{}} args
2127 - *
2128 - * @throws {Error}
2129 - */
2130 - requireArgumentType(property, type, args = this.args) {
2131 - this.requireArgument(property, args);
2132 - if (typeof args[property] !== type) throw Error(`${property} invalid type: ${type}.`);
2133 - }
2134 - /**
2135 - * Function requireArgumentInstance().
2136 - *
2137 - * Validate property in args using `args.whatever instanceof instance`.
2138 - *
2139 - * @param {string} property
2140 - * @param {*} instance
2141 - * @param {{}} args
2142 - *
2143 - * @throws {Error}
2144 - */
2145 - requireArgumentInstance(property, instance, args = this.args) {
2146 - this.requireArgument(property, args);
2147 - if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) throw Error(`${property} invalid instance.`);
2148 - }
2149 - /**
2150 - * Function requireArgumentConstructor().
2151 - *
2152 - * Validate property in args using `type === args.whatever.constructor`.
2153 - *
2154 - * @param {string} property
2155 - * @param {*} type
2156 - * @param {{}} args
2157 - *
2158 - * @throws {Error}
2159 - */
2160 - requireArgumentConstructor(property, type, args = this.args) {
2161 - this.requireArgument(property, args);
2162 - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) throw Error(`${property} invalid constructor type.`);
2163 - }
2164 - };
2165 - exports.default = ArgsObject;
2166 - }));
1862 +/***/ }),
2167 1863
2168 -//#endregion
2169 -//#region assets/dev/js/modules/imports/utils/masonry.js
2170 - var require_masonry = /* @__PURE__ */ __commonJSMin(((exports) => {
2171 - var _interopRequireDefault = require_interopRequireDefault();
2172 - Object.defineProperty(exports, "__esModule", { value: true });
2173 - exports.default = void 0;
2174 - require_es_array_push();
2175 - var _viewModule = _interopRequireDefault(require_view_module());
2176 - exports.default = _viewModule.default.extend({
2177 - getDefaultSettings() {
2178 - return {
2179 - container: null,
2180 - items: null,
2181 - columnsCount: 3,
2182 - verticalSpaceBetween: 30
2183 - };
2184 - },
2185 - getDefaultElements() {
2186 - return {
2187 - $container: jQuery(this.getSettings("container")),
2188 - $items: jQuery(this.getSettings("items"))
2189 - };
2190 - },
2191 - run() {
2192 - var heights = [];
2193 - var distanceFromTop = this.elements.$container.position().top;
2194 - var settings = this.getSettings();
2195 - var columnsCount = settings.columnsCount;
2196 - distanceFromTop += parseInt(this.elements.$container.css("margin-top"), 10);
2197 - this.elements.$items.each(function(index) {
2198 - var row = Math.floor(index / columnsCount);
2199 - var $item = jQuery(this);
2200 - var itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
2201 - if (row) {
2202 - var itemPosition = $item.position();
2203 - var indexAtRow = index % columnsCount;
2204 - var pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
2205 - pullHeight -= parseInt($item.css("margin-top"), 10);
2206 - pullHeight *= -1;
2207 - $item.css("margin-top", pullHeight + "px");
2208 - heights[indexAtRow] += itemHeight;
2209 - } else heights.push(itemHeight);
2210 - });
2211 - }
2212 - });
2213 - }));
1864 +/***/ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion-title-keyboard-handler.js":
1865 +/*!**********************************************************************************************************!*\
1866 + !*** ../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion-title-keyboard-handler.js ***!
1867 + \**********************************************************************************************************/
1868 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2214 1869
2215 -//#endregion
2216 -//#region assets/dev/js/modules/imports/utils/scroll.js
2217 - var require_scroll = /* @__PURE__ */ __commonJSMin(((exports) => {
2218 - Object.defineProperty(exports, "__esModule", { value: true });
2219 - exports.default = void 0;
2220 - require_es_array_push();
2221 - var Scroll = class {
2222 - /**
2223 - * @param {Object} obj
2224 - * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element
2225 - * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom
2226 - * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%'
2227 - * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport
2228 - */
2229 - static scrollObserver(obj) {
2230 - let lastScrollY = 0;
2231 - const buildThresholds = (sensitivityPercentage = 0) => {
2232 - const thresholds = [];
2233 - if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) {
2234 - const increment = 100 / sensitivityPercentage;
2235 - for (let i = 0; i <= 100; i += increment) thresholds.push(i / 100);
2236 - } else thresholds.push(0);
2237 - return thresholds;
2238 - };
2239 - const options = {
2240 - root: obj.root || null,
2241 - rootMargin: obj.offset || "0px",
2242 - threshold: buildThresholds(obj.sensitivity)
2243 - };
2244 - function handleIntersect(entries) {
2245 - const currentScrollY = entries[0].boundingClientRect.y;
2246 - const isInViewport = entries[0].isIntersecting;
2247 - const intersectionScrollDirection = currentScrollY < lastScrollY ? "down" : "up";
2248 - const scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2)));
2249 - obj.callback({
2250 - sensitivity: obj.sensitivity,
2251 - isInViewport,
2252 - scrollPercentage,
2253 - intersectionScrollDirection
2254 - });
2255 - lastScrollY = currentScrollY;
2256 - }
2257 - return new IntersectionObserver(handleIntersect, options);
2258 - }
2259 - /**
2260 - * @param {jQuery.Element} $element
2261 - * @param {Object} offsetObj
2262 - * @param {number} offsetObj.start - Offset start value in percentages
2263 - * @param {number} offsetObj.end - Offset end value in percentages
2264 - */
2265 - static getElementViewportPercentage($element, offsetObj = {}) {
2266 - const elementOffset = $element[0].getBoundingClientRect();
2267 - const offsetStart = offsetObj.start || 0;
2268 - const offsetEnd = offsetObj.end || 0;
2269 - const windowStartOffset = window.innerHeight * offsetStart / 100;
2270 - const windowEndOffset = window.innerHeight * offsetEnd / 100;
2271 - const y1 = elementOffset.top - window.innerHeight;
2272 - const y2 = elementOffset.top + windowStartOffset + $element.height();
2273 - const startPosition = 0 - y1 + windowStartOffset;
2274 - const endPosition = y2 - y1 + windowEndOffset;
2275 - const percent = Math.max(0, Math.min(startPosition / endPosition, 1));
2276 - return parseFloat((percent * 100).toFixed(2));
2277 - }
2278 - /**
2279 - * @param {Object} offsetObj
2280 - * @param {number} offsetObj.start - Offset start value in percentages
2281 - * @param {number} offsetObj.end - Offset end value in percentages
2282 - * @param {number} limitPageHeight - Will limit the page height calculation
2283 - */
2284 - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) {
2285 - const offsetStart = offsetObj.start || 0;
2286 - const offsetEnd = offsetObj.end || 0;
2287 - const initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight;
2288 - const heightOffset = initialPageHeight * offsetStart / 100;
2289 - const pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100;
2290 - return (document.documentElement.scrollTop + document.body.scrollTop + heightOffset) / pageRange * 100;
2291 - }
2292 - };
2293 - exports.default = Scroll;
2294 - }));
1870 +"use strict";
2295 1871
2296 -//#endregion
2297 -//#region node_modules/core-js/internals/add-to-unscopables.js
2298 - var require_add_to_unscopables = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2299 - var wellKnownSymbol = require_well_known_symbol();
2300 - var create = require_object_create();
2301 - var defineProperty = require_object_define_property().f;
2302 - var UNSCOPABLES = wellKnownSymbol("unscopables");
2303 - var ArrayPrototype = Array.prototype;
2304 - if (ArrayPrototype[UNSCOPABLES] === void 0) defineProperty(ArrayPrototype, UNSCOPABLES, {
2305 - configurable: true,
2306 - value: create(null)
2307 - });
2308 - module.exports = function(key) {
2309 - ArrayPrototype[UNSCOPABLES][key] = true;
2310 - };
2311 - }));
2312 1872
2313 -//#endregion
2314 -//#region node_modules/core-js/modules/es.array.includes.js
2315 - var require_es_array_includes = /* @__PURE__ */ __commonJSMin((() => {
2316 - var $ = require_export();
2317 - var $includes = require_array_includes().includes;
2318 - var fails = require_fails();
2319 - var addToUnscopables = require_add_to_unscopables();
2320 - $({
2321 - target: "Array",
2322 - proto: true,
2323 - forced: fails(function() {
2324 - return !Array(1).includes();
2325 - })
2326 - }, { includes: function includes(el) {
2327 - return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
2328 - } });
2329 - addToUnscopables("includes");
2330 - }));
1873 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1874 +Object.defineProperty(exports, "__esModule", ({
1875 + value: true
1876 +}));
1877 +exports["default"] = void 0;
1878 +var _nestedTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/frontend/handlers/accessibility/nested-title-keyboard-handler */ "../assets/dev/js/frontend/handlers/accessibility/nested-title-keyboard-handler.js"));
1879 +class NestedAccordionTitleKeyboardHandler extends _nestedTitleKeyboardHandler.default {
1880 + __construct() {
1881 + super.__construct(...arguments);
1882 + const config = arguments.length <= 0 ? undefined : arguments[0];
1883 + this.toggleTitle = config.toggleTitle;
1884 + }
1885 + getDefaultSettings() {
1886 + const parentSettings = super.getDefaultSettings();
1887 + return {
1888 + ...parentSettings,
1889 + selectors: {
1890 + itemTitle: '.e-n-accordion-item-title',
1891 + itemContainer: '.e-n-accordion-item > .e-con'
1892 + },
1893 + ariaAttributes: {
1894 + titleStateAttribute: 'aria-expanded',
1895 + activeTitleSelector: '[aria-expanded="true"]'
1896 + },
1897 + datasets: {
1898 + titleIndex: 'data-accordion-index'
1899 + }
1900 + };
1901 + }
1902 + handeTitleLinkEnterOrSpaceEvent(event) {
1903 + this.toggleTitle(event);
1904 + }
1905 + handleContentElementEscapeEvents(event) {
1906 + this.getActiveTitleElement().trigger('focus');
1907 + this.toggleTitle(event);
1908 + }
1909 + handleTitleEscapeKeyEvents(event) {
1910 + const detailsNode = event?.currentTarget?.parentElement,
1911 + isOpen = detailsNode?.open;
1912 + if (isOpen) {
1913 + this.toggleTitle(event);
1914 + }
1915 + }
1916 +}
1917 +exports["default"] = NestedAccordionTitleKeyboardHandler;
2331 1918
2332 -//#endregion
2333 -//#region assets/dev/js/modules/imports/force-method-implementation.js
2334 - var require_force_method_implementation = /* @__PURE__ */ __commonJSMin(((exports) => {
2335 - Object.defineProperty(exports, "__esModule", { value: true });
2336 - exports.default = exports.ForceMethodImplementation = void 0;
2337 - require_es_array_includes();
2338 - var ForceMethodImplementation = class ForceMethodImplementation extends Error {
2339 - constructor(info = {}, args = {}) {
2340 - super(`${info.isStatic ? "static " : ""}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args);
2341 - if (Object.keys(args).length) console.error(args);
2342 - Error.captureStackTrace(this, ForceMethodImplementation);
2343 - }
2344 - };
2345 - exports.ForceMethodImplementation = ForceMethodImplementation;
2346 - var _default = (args) => {
2347 - const caller = Error().stack.split("\n")[2].trim();
2348 - const callerName = caller.startsWith("at new") ? "constructor" : caller.split(" ")[1];
2349 - const info = {};
2350 - info.functionName = callerName;
2351 - info.fullName = callerName;
2352 - if (info.functionName.includes(".")) {
2353 - const parts = info.functionName.split(".");
2354 - info.className = parts[0];
2355 - info.functionName = parts[1];
2356 - } else info.isStatic = true;
2357 - throw new ForceMethodImplementation(info, args);
2358 - };
2359 - exports.default = _default;
2360 - }));
1919 +/***/ }),
2361 1920
2362 -//#endregion
2363 -//#region \0@[email protected]/helpers/esm/typeof.js
2364 - function _typeof(o) {
2365 - "@babel/helpers - typeof";
2366 - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
2367 - return typeof o;
2368 - } : function(o) {
2369 - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2370 - }, _typeof(o);
2371 - }
2372 - var init_typeof = __esmMin((() => {}));
1921 +/***/ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js":
1922 +/*!***********************************************************************************!*\
1923 + !*** ../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js ***!
1924 + \***********************************************************************************/
1925 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2373 1926
2374 -//#endregion
2375 -//#region \0@[email protected]/helpers/esm/toPrimitive.js
2376 - function toPrimitive(t, r) {
2377 - if ("object" != _typeof(t) || !t) return t;
2378 - var e = t[Symbol.toPrimitive];
2379 - if (void 0 !== e) {
2380 - var i = e.call(t, r || "default");
2381 - if ("object" != _typeof(i)) return i;
2382 - throw new TypeError("@@toPrimitive must return a primitive value.");
2383 - }
2384 - return ("string" === r ? String : Number)(t);
2385 - }
2386 - var init_toPrimitive = __esmMin((() => {
2387 - init_typeof();
2388 - }));
1927 +"use strict";
2389 1928
2390 -//#endregion
2391 -//#region \0@[email protected]/helpers/esm/toPropertyKey.js
2392 - function toPropertyKey(t) {
2393 - var i = toPrimitive(t, "string");
2394 - return "symbol" == _typeof(i) ? i : i + "";
2395 - }
2396 - var init_toPropertyKey = __esmMin((() => {
2397 - init_typeof();
2398 - init_toPrimitive();
2399 - }));
2400 1929
2401 -//#endregion
2402 -//#region \0@[email protected]/helpers/esm/defineProperty.js
2403 - function _defineProperty(e, r, t) {
2404 - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2405 - value: t,
2406 - enumerable: !0,
2407 - configurable: !0,
2408 - writable: !0
2409 - }) : e[r] = t, e;
2410 - }
2411 - var init_defineProperty = __esmMin((() => {
2412 - init_toPropertyKey();
2413 - }));
1930 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1931 +Object.defineProperty(exports, "__esModule", ({
1932 + value: true
1933 +}));
1934 +exports["default"] = void 0;
1935 +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
1936 +var _nestedAccordionTitleKeyboardHandler = _interopRequireDefault(__webpack_require__(/*! ./nested-accordion-title-keyboard-handler */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion-title-keyboard-handler.js"));
1937 +class NestedAccordion extends _base.default {
1938 + constructor() {
1939 + super(...arguments);
1940 + this.animations = new Map();
1941 + }
1942 + getDefaultSettings() {
1943 + return {
1944 + selectors: {
1945 + accordion: '.e-n-accordion',
1946 + accordionContentContainers: '.e-n-accordion > .e-con',
1947 + accordionItems: '.e-n-accordion-item',
1948 + accordionItemTitles: '.e-n-accordion-item-title',
1949 + accordionContent: '.e-n-accordion-item > .e-con',
1950 + accordionWrapper: '.e-n-accordion-item'
1951 + },
1952 + default_state: 'expanded'
1953 + };
1954 + }
1955 + getDefaultElements() {
1956 + const selectors = this.getSettings('selectors');
1957 + return {
1958 + $accordion: this.findElement(selectors.accordion),
1959 + $contentContainers: this.findElement(selectors.accordionContentContainers),
1960 + $accordionItems: this.findElement(selectors.accordionItems),
1961 + $accordionTitles: this.findElement(selectors.accordionItemTitles),
1962 + $accordionContent: this.findElement(selectors.accordionContent)
1963 + };
1964 + }
1965 + onInit() {
1966 + super.onInit(...arguments);
1967 + if (elementorFrontend.isEditMode()) {
1968 + this.interlaceContainers();
1969 + }
1970 + this.injectKeyboardHandler();
1971 + }
1972 + injectKeyboardHandler() {
1973 + if ('nested-accordion.default' === this.getSettings('elementName')) {
1974 + new _nestedAccordionTitleKeyboardHandler.default({
1975 + $element: this.$element,
1976 + toggleTitle: this.clickListener.bind(this)
1977 + });
1978 + }
1979 + }
1980 + interlaceContainers() {
1981 + const {
1982 + $contentContainers,
1983 + $accordionItems
1984 + } = this.getDefaultElements();
1985 + $contentContainers.each((index, element) => {
1986 + $accordionItems[index].appendChild(element);
1987 + });
1988 + }
1989 + bindEvents() {
1990 + this.elements.$accordionTitles.on('click', this.clickListener.bind(this));
1991 + }
1992 + unbindEvents() {
1993 + this.elements.$accordionTitles.off();
1994 + }
1995 + clickListener(event) {
1996 + event.preventDefault();
1997 + const settings = this.getSettings(),
1998 + accordionItem = event?.currentTarget?.closest(settings.selectors.accordionWrapper),
1999 + itemSummary = accordionItem.querySelector(settings.selectors.accordionItemTitles),
2000 + accordionContent = accordionItem.querySelector(settings.selectors.accordionContent),
2001 + {
2002 + max_items_expended: maxItemsExpended
2003 + } = this.getElementSettings(),
2004 + {
2005 + $accordionTitles,
2006 + $accordionItems
2007 + } = this.elements;
2008 + if ('one' === maxItemsExpended) {
2009 + this.closeAllItems($accordionItems, $accordionTitles);
2010 + }
2011 + if (!accordionItem.open) {
2012 + this.prepareOpenAnimation(accordionItem, itemSummary, accordionContent);
2013 + } else {
2014 + this.closeAccordionItem(accordionItem, itemSummary);
2015 + }
2016 + }
2017 + animateItem(accordionItem, startHeight, endHeight, isOpen) {
2018 + accordionItem.style.overflow = 'hidden';
2019 + let animation = this.animations.get(accordionItem);
2020 + if (animation) {
2021 + animation.cancel();
2022 + }
2023 + animation = accordionItem.animate({
2024 + height: [startHeight, endHeight]
2025 + }, {
2026 + duration: this.getAnimationDuration()
2027 + });
2028 + animation.onfinish = () => this.onAnimationFinish(accordionItem, isOpen);
2029 + this.animations.set(accordionItem, animation);
2030 + accordionItem.querySelector('summary')?.setAttribute('aria-expanded', isOpen);
2031 + }
2032 + closeAccordionItem(accordionItem, accordionItemTitle) {
2033 + const startHeight = `${accordionItem.offsetHeight}px`,
2034 + endHeight = `${accordionItemTitle.offsetHeight}px`;
2035 + this.animateItem(accordionItem, startHeight, endHeight, false);
2036 + }
2037 + prepareOpenAnimation(accordionItem, accordionItemTitle, accordionItemContent) {
2038 + accordionItem.style.overflow = 'hidden';
2039 + accordionItem.style.height = `${accordionItem.offsetHeight}px`;
2040 + accordionItem.open = true;
2041 + window.requestAnimationFrame(() => this.openAccordionItem(accordionItem, accordionItemTitle, accordionItemContent));
2042 + }
2043 + openAccordionItem(accordionItem, accordionItemTitle, accordionItemContent) {
2044 + const startHeight = `${accordionItem.offsetHeight}px`,
2045 + endHeight = `${accordionItemTitle.offsetHeight + accordionItemContent.offsetHeight}px`;
2046 + this.animateItem(accordionItem, startHeight, endHeight, true);
2047 + }
2048 + onAnimationFinish(accordionItem, isOpen) {
2049 + accordionItem.open = isOpen;
2050 + this.animations.set(accordionItem, null);
2051 + accordionItem.style.height = accordionItem.style.overflow = '';
2052 + }
2053 + closeAllItems($items, $titles) {
2054 + $titles.each((index, title) => {
2055 + this.closeAccordionItem($items[index], title);
2056 + });
2057 + }
2058 + getAnimationDuration() {
2059 + const {
2060 + size,
2061 + unit
2062 + } = this.getElementSettings('n_accordion_animation_duration');
2063 + return size * ('ms' === unit ? 1 : 1000);
2064 + }
2065 +}
2066 +exports["default"] = NestedAccordion;
2414 2067
2415 -//#endregion
2416 -//#region \0@[email protected]/helpers/esm/objectSpread2.js
2417 - function ownKeys(e, r) {
2418 - var t = Object.keys(e);
2419 - if (Object.getOwnPropertySymbols) {
2420 - var o = Object.getOwnPropertySymbols(e);
2421 - r && (o = o.filter(function(r) {
2422 - return Object.getOwnPropertyDescriptor(e, r).enumerable;
2423 - })), t.push.apply(t, o);
2424 - }
2425 - return t;
2426 - }
2427 - function _objectSpread2(e) {
2428 - for (var r = 1; r < arguments.length; r++) {
2429 - var t = null != arguments[r] ? arguments[r] : {};
2430 - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
2431 - _defineProperty(e, r, t[r]);
2432 - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
2433 - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2434 - });
2435 - }
2436 - return e;
2437 - }
2438 - var init_objectSpread2 = __esmMin((() => {
2439 - init_defineProperty();
2440 - }));
2068 +/***/ }),
2441 2069
2442 -//#endregion
2443 -//#region app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js
2444 - var require_template_registry_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
2445 - init_objectSpread2();
2446 - Object.defineProperty(exports, "__esModule", { value: true });
2447 - exports.createGetInitialState = createGetInitialState;
2448 - function createGetInitialState(exportGroup, additionalProps = {}) {
2449 - return (data, parentInitialState) => {
2450 - let isEnabled = parentInitialState;
2451 - if (data.hasOwnProperty("uploadedData")) {
2452 - var _elementorAppConfig;
2453 - isEnabled = false;
2454 - const templates = data.uploadedData.manifest.templates;
2455 - const exportGroups = ((_elementorAppConfig = elementorAppConfig) === null || _elementorAppConfig === void 0 || (_elementorAppConfig = _elementorAppConfig["import-export-customization"]) === null || _elementorAppConfig === void 0 ? void 0 : _elementorAppConfig.exportGroups) || {};
2456 - for (const templateId in templates) if (exportGroups[templates[templateId].doc_type] === exportGroup) {
2457 - isEnabled = true;
2458 - break;
2459 - }
2460 - }
2461 - return _objectSpread2({ enabled: isEnabled }, additionalProps);
2462 - };
2463 - }
2464 - }));
2070 +/***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js":
2071 +/*!*************************************************************************!*\
2072 + !*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***!
2073 + \*************************************************************************/
2074 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2465 2075
2466 -//#endregion
2467 -//#region \0@[email protected]/helpers/esm/objectWithoutPropertiesLoose.js
2468 - function _objectWithoutPropertiesLoose(r, e) {
2469 - if (null == r) return {};
2470 - var t = {};
2471 - for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
2472 - if (e.includes(n)) continue;
2473 - t[n] = r[n];
2474 - }
2475 - return t;
2476 - }
2477 - var init_objectWithoutPropertiesLoose = __esmMin((() => {}));
2076 +"use strict";
2478 2077
2479 -//#endregion
2480 -//#region \0@[email protected]/helpers/esm/objectWithoutProperties.js
2481 - function _objectWithoutProperties(e, t) {
2482 - if (null == e) return {};
2483 - var o;
2484 - var r;
2485 - var i = _objectWithoutPropertiesLoose(e, t);
2486 - if (Object.getOwnPropertySymbols) {
2487 - var s = Object.getOwnPropertySymbols(e);
2488 - for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
2489 - }
2490 - return i;
2491 - }
2492 - var init_objectWithoutProperties = __esmMin((() => {
2493 - init_objectWithoutPropertiesLoose();
2494 - }));
2495 2078
2496 -//#endregion
2497 -//#region node_modules/core-js/modules/es.iterator.map.js
2498 - var require_es_iterator_map = /* @__PURE__ */ __commonJSMin((() => {
2499 - var $ = require_export();
2500 - var call = require_function_call();
2501 - var aCallable = require_a_callable();
2502 - var anObject = require_an_object();
2503 - var getIteratorDirect = require_get_iterator_direct();
2504 - var createIteratorProxy = require_iterator_create_proxy();
2505 - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing();
2506 - var iteratorClose = require_iterator_close();
2507 - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator();
2508 - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error();
2509 - var IS_PURE = require_is_pure();
2510 - var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("map", function() {});
2511 - var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("map", TypeError);
2512 - var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
2513 - var IteratorProxy = createIteratorProxy(function() {
2514 - var iterator = this.iterator;
2515 - var result = anObject(call(this.next, iterator));
2516 - if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
2517 - });
2518 - $({
2519 - target: "Iterator",
2520 - proto: true,
2521 - real: true,
2522 - forced: FORCED
2523 - }, { map: function map(mapper) {
2524 - anObject(this);
2525 - try {
2526 - aCallable(mapper);
2527 - } catch (error) {
2528 - iteratorClose(this, "throw", error);
2529 - }
2530 - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
2531 - return new IteratorProxy(getIteratorDirect(this), { mapper });
2532 - } });
2533 - }));
2079 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2080 +Object.defineProperty(exports, "__esModule", ({
2081 + value: true
2082 +}));
2083 +exports["default"] = void 0;
2084 +var _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
2085 +var _flexHorizontalScroll = __webpack_require__(/*! elementor-frontend-utils/flex-horizontal-scroll */ "../assets/dev/js/frontend/utils/flex-horizontal-scroll.js");
2086 +class NestedTabs extends _base.default {
2087 + constructor() {
2088 + super(...arguments);
2089 + this.resizeListenerNestedTabs = null;
2090 + }
2534 2091
2535 -//#endregion
2536 -//#region node_modules/core-js/modules/esnext.iterator.map.js
2537 - var require_esnext_iterator_map = /* @__PURE__ */ __commonJSMin((() => {
2538 - require_es_iterator_map();
2539 - }));
2092 + /**
2093 + * @param {string|number} tabIndex
2094 + *
2095 + * @return {string}
2096 + */
2097 + getTabTitleFilterSelector(tabIndex) {
2098 + return `[data-tab-index="${tabIndex}"]`;
2099 + }
2540 2100
2541 -//#endregion
2542 -//#region app/modules/import-export-customization/assets/js/shared/registry/base.js
2543 - var require_base$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2544 - init_objectWithoutProperties();
2545 - init_objectSpread2();
2546 - var _excluded = ["children"];
2547 - Object.defineProperty(exports, "__esModule", { value: true });
2548 - exports.BaseRegistry = void 0;
2549 - require_esnext_iterator_constructor();
2550 - require_esnext_iterator_filter();
2551 - require_esnext_iterator_for_each();
2552 - require_esnext_iterator_map();
2553 - var BaseRegistry = class {
2554 - constructor() {
2555 - this.sections = /* @__PURE__ */ new Map();
2556 - }
2557 - register(section) {
2558 - if (!section.key || !section.title) throw new Error("Template type must have key and title");
2559 - const formattedSection = this.get(section.key) || this.formatSection(section);
2560 - if (section.children) if (formattedSection.children) {
2561 - const existingChildrenMap = new Map(formattedSection.children.map((child) => [child.key, child]));
2562 - section.children.forEach((childSection) => {
2563 - const formattedChild = this.formatSection(childSection);
2564 - existingChildrenMap.set(childSection.key, formattedChild);
2565 - });
2566 - formattedSection.children = Array.from(existingChildrenMap.values());
2567 - } else formattedSection.children = section.children.map((childSection) => this.formatSection(childSection));
2568 - this.sections.set(section.key, formattedSection);
2569 - }
2570 - formatSection(_ref) {
2571 - let { children } = _ref, section = _objectWithoutProperties(_ref, _excluded);
2572 - return _objectSpread2({
2573 - key: section.key,
2574 - title: section.title,
2575 - description: section.description || "",
2576 - useParentDefault: section.useParentDefault !== false,
2577 - getInitialState: section.getInitialState || null,
2578 - component: section.component || null,
2579 - order: section.order || 10,
2580 - isAvailable: section.isAvailable || (() => true)
2581 - }, section);
2582 - }
2583 - getAll() {
2584 - return Array.from(this.sections.values()).filter((type) => type.isAvailable()).map((type) => {
2585 - if (type.children) return _objectSpread2(_objectSpread2({}, type), {}, { children: [...type.children].sort((a, b) => a.order - b.order) });
2586 - return type;
2587 - }).sort((a, b) => a.order - b.order);
2588 - }
2589 - get(key) {
2590 - return this.sections.get(key);
2591 - }
2592 - };
2593 - exports.BaseRegistry = BaseRegistry;
2594 - }));
2101 + /**
2102 + * @param {string|number} tabIndex
2103 + *
2104 + * @return {string}
2105 + */
2106 + getTabContentFilterSelector(tabIndex) {
2107 + return `*:nth-child(${tabIndex})`;
2108 + }
2595 2109
2596 -//#endregion
2597 -//#region app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js
2598 - var require_customization_dialogs = /* @__PURE__ */ __commonJSMin(((exports) => {
2599 - Object.defineProperty(exports, "__esModule", { value: true });
2600 - exports.customizationDialogsRegistry = void 0;
2601 - var _base = require_base$1();
2602 - exports.customizationDialogsRegistry = new _base.BaseRegistry();
2603 - }));
2110 + /**
2111 + * @param {HTMLElement} tabTitleElement
2112 + *
2113 + * @return {string}
2114 + */
2115 + getTabIndex(tabTitleElement) {
2116 + return tabTitleElement.getAttribute('data-tab-index');
2117 + }
2118 + getDefaultSettings() {
2119 + return {
2120 + selectors: {
2121 + widgetContainer: '.e-n-tabs',
2122 + tabTitle: '.e-n-tab-title',
2123 + tabContent: '.e-n-tabs-content > .e-con',
2124 + headingContainer: '.e-n-tabs-heading',
2125 + activeTabContentContainers: '.e-con.e-active'
2126 + },
2127 + classes: {
2128 + active: 'e-active'
2129 + },
2130 + ariaAttributes: {
2131 + titleStateAttribute: 'aria-selected',
2132 + activeTitleSelector: '[aria-selected="true"]'
2133 + },
2134 + showTabFn: 'show',
2135 + hideTabFn: 'hide',
2136 + toggleSelf: false,
2137 + hidePrevious: true,
2138 + autoExpand: true
2139 + };
2140 + }
2141 + getDefaultElements() {
2142 + const selectors = this.getSettings('selectors');
2143 + return {
2144 + $tabTitles: this.findElement(selectors.tabTitle),
2145 + $tabContents: this.findElement(selectors.tabContent),
2146 + $headingContainer: this.findElement(selectors.headingContainer)
2147 + };
2148 + }
2149 + getKeyboardNavigationSettings() {
2150 + return this.getSettings();
2151 + }
2152 + activateDefaultTab() {
2153 + const settings = this.getSettings();
2154 + const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1,
2155 + originalToggleMethods = {
2156 + showTabFn: settings.showTabFn,
2157 + hideTabFn: settings.hideTabFn
2158 + };
2604 2159
2605 -//#endregion
2606 -//#region assets/dev/js/modules/modules.js
2607 - var require_modules = /* @__PURE__ */ __commonJSMin(((exports) => {
2608 - var _interopRequireDefault = require_interopRequireDefault();
2609 - Object.defineProperty(exports, "__esModule", { value: true });
2610 - exports.default = void 0;
2611 - var _module = _interopRequireDefault(require_module());
2612 - var _viewModule = _interopRequireDefault(require_view_module());
2613 - var _argsObject = _interopRequireDefault(require_args_object());
2614 - var _masonry = _interopRequireDefault(require_masonry());
2615 - var _scroll = _interopRequireDefault(require_scroll());
2616 - var _forceMethodImplementation = _interopRequireDefault(require_force_method_implementation());
2617 - var _templateRegistryHelpers = require_template_registry_helpers();
2618 - var _customizationDialogs = require_customization_dialogs();
2619 - var baseModules = {
2620 - Module: _module.default,
2621 - ViewModule: _viewModule.default,
2622 - ArgsObject: _argsObject.default,
2623 - ForceMethodImplementation: _forceMethodImplementation.default,
2624 - utils: {
2625 - Masonry: _masonry.default,
2626 - Scroll: _scroll.default
2627 - },
2628 - importExport: {
2629 - createGetInitialState: _templateRegistryHelpers.createGetInitialState,
2630 - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry
2631 - }
2632 - };
2633 - if (!window.elementorModules) window.elementorModules = baseModules;
2634 - else Object.assign(window.elementorModules, baseModules);
2635 - exports.default = window.elementorModules;
2636 - }));
2160 + // Toggle tabs without animation to avoid jumping
2161 + this.setSettings({
2162 + showTabFn: 'show',
2163 + hideTabFn: 'hide'
2164 + });
2165 + this.changeActiveTab(defaultActiveTab);
2637 2166
2638 -//#endregion
2639 -//#region node_modules/core-js/modules/es.iterator.find.js
2640 - var require_es_iterator_find = /* @__PURE__ */ __commonJSMin((() => {
2641 - var $ = require_export();
2642 - var call = require_function_call();
2643 - var iterate = require_iterate();
2644 - var aCallable = require_a_callable();
2645 - var anObject = require_an_object();
2646 - var getIteratorDirect = require_get_iterator_direct();
2647 - var iteratorClose = require_iterator_close();
2648 - var findWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("find", TypeError);
2649 - $({
2650 - target: "Iterator",
2651 - proto: true,
2652 - real: true,
2653 - forced: findWithoutClosingOnEarlyError
2654 - }, { find: function find(predicate) {
2655 - anObject(this);
2656 - try {
2657 - aCallable(predicate);
2658 - } catch (error) {
2659 - iteratorClose(this, "throw", error);
2660 - }
2661 - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
2662 - var record = getIteratorDirect(this);
2663 - var counter = 0;
2664 - return iterate(record, function(value, stop) {
2665 - if (predicate(value, counter++)) return stop(value);
2666 - }, {
2667 - IS_RECORD: true,
2668 - INTERRUPTED: true
2669 - }).result;
2670 - } });
2671 - }));
2167 + // Return back original toggle effects
2168 + this.setSettings(originalToggleMethods);
2169 + }
2170 + deactivateActiveTab(newTabIndex) {
2171 + const settings = this.getSettings(),
2172 + activeClass = settings.classes.active,
2173 + activeTitleFilter = settings.ariaAttributes.activeTitleSelector,
2174 + activeContentFilter = '.' + activeClass,
2175 + $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter),
2176 + $activeContent = this.elements.$tabContents.filter(activeContentFilter);
2177 + this.setTabDeactivationAttributes($activeTitle, newTabIndex);
2178 + $activeContent.removeClass(activeClass);
2179 + $activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent));
2180 + return $activeContent;
2181 + }
2182 + getTitleActivationAttributes() {
2183 + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute;
2184 + return {
2185 + tabindex: '0',
2186 + [titleStateAttribute]: 'true'
2187 + };
2188 + }
2189 + setTabDeactivationAttributes($activeTitle) {
2190 + const titleStateAttribute = this.getSettings('ariaAttributes').titleStateAttribute;
2191 + $activeTitle.attr({
2192 + tabindex: '-1',
2193 + [titleStateAttribute]: 'false'
2194 + });
2195 + }
2196 + onHideTabContent() {}
2197 + activateTab(tabIndex) {
2198 + const settings = this.getSettings(),
2199 + activeClass = settings.classes.active,
2200 + animationDuration = 'show' === settings.showTabFn ? 0 : 400;
2201 + let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)),
2202 + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex));
2672 2203
2673 -//#endregion
2674 -//#region node_modules/core-js/modules/esnext.iterator.find.js
2675 - var require_esnext_iterator_find = /* @__PURE__ */ __commonJSMin((() => {
2676 - require_es_iterator_find();
2677 - }));
2204 + // Check if the tabIndex exists.
2205 + if (!$requestedTitle.length) {
2206 + // Activate the previous tab and ensure that the tab index is not less than 1.
2207 + const previousTabIndex = Math.max(tabIndex - 1, 1);
2208 + $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex));
2209 + $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex));
2210 + }
2211 + $requestedTitle.attr(this.getTitleActivationAttributes());
2212 + $requestedContent.addClass(activeClass);
2213 + $requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent));
2214 + }
2215 + onShowTabContent($requestedContent) {
2216 + elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc');
2217 + elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent);
2218 + elementorFrontend.elements.$window.trigger('elementor/bg-video/recalc');
2219 + }
2220 + isActiveTab(tabIndex) {
2221 + return 'true' === this.elements.$tabTitles.filter('[data-tab-index="' + tabIndex + '"]').attr(this.getSettings('ariaAttributes').titleStateAttribute);
2222 + }
2223 + onTabClick(event) {
2224 + event.preventDefault();
2225 + this.changeActiveTab(event.currentTarget?.getAttribute('data-tab-index'), true);
2226 + }
2227 + getTabEvents() {
2228 + return {
2229 + click: this.onTabClick.bind(this)
2230 + };
2231 + }
2232 + getHeadingEvents() {
2233 + const navigationWrapper = this.elements.$headingContainer[0];
2234 + return {
2235 + mousedown: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper),
2236 + mouseup: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper),
2237 + mouseleave: _flexHorizontalScroll.changeScrollStatus.bind(this, navigationWrapper),
2238 + mousemove: _flexHorizontalScroll.setHorizontalTitleScrollValues.bind(this, navigationWrapper, this.getHorizontalScrollSetting())
2239 + };
2240 + }
2241 + bindEvents() {
2242 + this.elements.$tabTitles.on(this.getTabEvents());
2243 + this.elements.$headingContainer.on(this.getHeadingEvents());
2244 + const settingsObject = {
2245 + element: this.elements.$headingContainer[0],
2246 + direction: this.getTabsDirection(),
2247 + justifyCSSVariable: '--n-tabs-heading-justify-content',
2248 + horizontalScrollStatus: this.getHorizontalScrollSetting()
2249 + };
2250 + this.resizeListenerNestedTabs = _flexHorizontalScroll.setHorizontalScrollAlignment.bind(this, settingsObject);
2251 + elementorFrontend.elements.$window.on('resize', this.resizeListenerNestedTabs);
2252 + elementorFrontend.elements.$window.on('resize', this.setTouchMode.bind(this));
2253 + elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers);
2254 + elementorFrontend.elements.$window.on('elementor/nested-elements/activate-by-keyboard', this.changeActiveTabByKeyboard.bind(this));
2255 + }
2256 + unbindEvents() {
2257 + this.elements.$tabTitles.off();
2258 + this.elements.$headingContainer.off();
2259 + this.elements.$tabContents.children().off();
2260 + elementorFrontend.elements.$window.off('resize');
2261 + elementorFrontend.elements.$window.off('elementor/nested-tabs/activate');
2262 + }
2678 2263
2679 -//#endregion
2680 -//#region assets/dev/js/frontend/document.js
2681 - var require_document = /* @__PURE__ */ __commonJSMin(((exports) => {
2682 - Object.defineProperty(exports, "__esModule", { value: true });
2683 - exports.default = void 0;
2684 - require_esnext_iterator_constructor();
2685 - require_esnext_iterator_find();
2686 - var _default = class extends elementorModules.ViewModule {
2687 - getDefaultSettings() {
2688 - return {
2689 - selectors: {
2690 - elements: ".elementor-element",
2691 - nestedDocumentElements: ".elementor .elementor-element"
2692 - },
2693 - classes: { editMode: "elementor-edit-mode" }
2694 - };
2695 - }
2696 - getDefaultElements() {
2697 - const selectors = this.getSettings("selectors");
2698 - return { $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) };
2699 - }
2700 - getDocumentSettings(setting) {
2701 - let elementSettings;
2702 - if (this.isEdit) {
2703 - elementSettings = {};
2704 - const settings = elementor.settings.page.model;
2705 - jQuery.each(settings.getActiveControls(), (controlKey) => {
2706 - elementSettings[controlKey] = settings.attributes[controlKey];
2707 - });
2708 - } else elementSettings = this.$element.data("elementor-settings") || {};
2709 - return this.getItems(elementSettings, setting);
2710 - }
2711 - runElementsHandlers() {
2712 - this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element)));
2713 - }
2714 - onInit() {
2715 - this.$element = this.getSettings("$element");
2716 - super.onInit();
2717 - this.isEdit = this.$element.hasClass(this.getSettings("classes.editMode"));
2718 - if (this.isEdit) elementor.on("document:loaded", () => {
2719 - elementor.settings.page.model.on("change", this.onSettingsChange.bind(this));
2720 - });
2721 - else this.runElementsHandlers();
2722 - }
2723 - onSettingsChange() {}
2724 - };
2725 - exports.default = _default;
2726 - }));
2264 + /**
2265 + * Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered
2266 + * and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings.
2267 + *
2268 + * This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them.
2269 + *
2270 + * @param {Object} event - Incoming event.
2271 + * @param {Object} content - Active nested tab dom element.
2272 + */
2273 + reInitSwipers(event, content) {
2274 + const swiperElements = content.querySelectorAll(`.${elementorFrontend.config.swiperClass}`);
2275 + for (const element of swiperElements) {
2276 + if (!element.swiper) {
2277 + return;
2278 + }
2279 + element.swiper.initialized = false;
2280 + element.swiper.init();
2281 + }
2282 + }
2283 + onInit() {
2284 + super.onInit(...arguments);
2285 + if (this.getSettings('autoExpand')) {
2286 + this.activateDefaultTab();
2287 + }
2288 + const settingsObject = {
2289 + element: this.elements.$headingContainer[0],
2290 + direction: this.getTabsDirection(),
2291 + justifyCSSVariable: '--n-tabs-heading-justify-content',
2292 + horizontalScrollStatus: this.getHorizontalScrollSetting()
2293 + };
2294 + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(settingsObject);
2295 + this.setTouchMode();
2296 + if ('nested-tabs.default' === this.getSettings('elementName')) {
2297 + new elementorModules.frontend.handlers.NestedTitleKeyboardHandler(this.getKeyboardNavigationSettings());
2298 + }
2299 + }
2300 + onEditSettingsChange(propertyName, value) {
2301 + if ('activeItemIndex' === propertyName) {
2302 + this.changeActiveTab(value, false);
2303 + }
2304 + }
2305 + onElementChange(propertyName) {
2306 + if (this.checkSliderPropsToWatch(propertyName)) {
2307 + const settingsObject = {
2308 + element: this.elements.$headingContainer[0],
2309 + direction: this.getTabsDirection(),
2310 + justifyCSSVariable: '--n-tabs-heading-justify-content',
2311 + horizontalScrollStatus: this.getHorizontalScrollSetting()
2312 + };
2313 + (0, _flexHorizontalScroll.setHorizontalScrollAlignment)(settingsObject);
2314 + }
2315 + }
2316 + checkSliderPropsToWatch(propertyName) {
2317 + return 0 === propertyName.indexOf('horizontal_scroll') || 'breakpoint_selector' === propertyName || 0 === propertyName.indexOf('tabs_justify_horizontal') || 0 === propertyName.indexOf('tabs_title_space_between');
2318 + }
2727 2319
2728 -//#endregion
2729 -//#region assets/dev/js/frontend/tools/stretch-element.js
2730 - var require_stretch_element = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2731 - module.exports = elementorModules.ViewModule.extend({
2732 - getDefaultSettings() {
2733 - return {
2734 - element: null,
2735 - direction: elementorFrontend.config.is_rtl ? "right" : "left",
2736 - selectors: { container: window },
2737 - considerScrollbar: false,
2738 - cssOutput: "inline"
2739 - };
2740 - },
2741 - getDefaultElements() {
2742 - return { $element: jQuery(this.getSettings("element")) };
2743 - },
2744 - stretch() {
2745 - const settings = this.getSettings();
2746 - let $container;
2747 - try {
2748 - $container = jQuery(settings.selectors.container);
2749 - } catch (e) {}
2750 - if (!$container || !$container.length) $container = jQuery(this.getDefaultSettings().selectors.container);
2751 - this.reset();
2752 - var $element = this.elements.$element;
2753 - var containerWidth = $container.innerWidth();
2754 - var elementOffset = $element.offset().left;
2755 - var isFixed = "fixed" === $element.css("position");
2756 - var correctOffset = isFixed ? 0 : elementOffset;
2757 - var isContainerFullScreen = window === $container[0];
2758 - if (!isContainerFullScreen) {
2759 - var containerOffset = $container.offset().left;
2760 - if (isFixed) correctOffset = containerOffset;
2761 - if (elementOffset > containerOffset) correctOffset = elementOffset - containerOffset;
2762 - }
2763 - if (settings.considerScrollbar && isContainerFullScreen) {
2764 - const scrollbarWidth = window.innerWidth - containerWidth;
2765 - correctOffset -= scrollbarWidth;
2766 - }
2767 - if (!isFixed) {
2768 - if (elementorFrontend.config.is_rtl) correctOffset = containerWidth - ($element.outerWidth() + correctOffset);
2769 - correctOffset = -correctOffset;
2770 - }
2771 - if (settings.margin) correctOffset += settings.margin;
2772 - var css = {};
2773 - let width = containerWidth;
2774 - if (settings.margin) width -= settings.margin * 2;
2775 - css.width = width + "px";
2776 - css[settings.direction] = correctOffset + "px";
2777 - if ("variables" === settings.cssOutput) {
2778 - this.applyCssVariables($element, css);
2779 - return;
2780 - }
2781 - $element.css(css);
2782 - },
2783 - reset() {
2784 - const css = {};
2785 - const settings = this.getSettings();
2786 - const $element = this.elements.$element;
2787 - if ("variables" === settings.cssOutput) {
2788 - this.resetCssVariables($element);
2789 - return;
2790 - }
2791 - css.width = "";
2792 - css[settings.direction] = "";
2793 - $element.css(css);
2794 - },
2795 - applyCssVariables($element, css) {
2796 - $element.css("--stretch-width", css.width);
2797 - if (!!css.left) $element.css("--stretch-left", css.left);
2798 - else $element.css("--stretch-right", css.right);
2799 - },
2800 - resetCssVariables($element) {
2801 - $element.css({
2802 - "--stretch-width": "",
2803 - "--stretch-left": "",
2804 - "--stretch-right": ""
2805 - });
2806 - }
2807 - });
2808 - }));
2320 + /**
2321 + * @param {string} tabIndex
2322 + * @param {boolean} fromUser - Whether the call is caused by the user or internal.
2323 + */
2324 + changeActiveTab(tabIndex) {
2325 + let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
2326 + // `document/repeater/select` is used only in the editor, only when the element
2327 + // is in the currently-edited document, and only when its not internal call,
2328 + if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) {
2329 + return window.top.$e.run('document/repeater/select', {
2330 + container: elementor.getContainer(this.$element.attr('data-id')),
2331 + index: parseInt(tabIndex)
2332 + });
2333 + }
2334 + const isActiveTab = this.isActiveTab(tabIndex),
2335 + settings = this.getSettings();
2336 + if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) {
2337 + this.deactivateActiveTab(tabIndex);
2338 + }
2339 + if (!settings.hidePrevious && isActiveTab) {
2340 + this.deactivateActiveTab(tabIndex);
2341 + }
2342 + if (!isActiveTab) {
2343 + if (this.isAccordionVersion()) {
2344 + this.activateMobileTab(tabIndex);
2345 + return;
2346 + }
2347 + this.activateTab(tabIndex);
2348 + }
2349 + }
2350 + changeActiveTabByKeyboard(event, settings) {
2351 + if (settings.widgetId.toString() !== this.getID().toString()) {
2352 + return;
2353 + }
2354 + this.changeActiveTab(settings.titleIndex, true);
2355 + }
2356 + activateMobileTab(tabIndex) {
2357 + // Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices.
2358 + setTimeout(() => {
2359 + this.activateTab(tabIndex);
2360 + this.forceActiveTabToBeInViewport(tabIndex);
2361 + }, 10);
2362 + }
2363 + forceActiveTabToBeInViewport(tabIndex) {
2364 + if (!elementorFrontend.isEditMode()) {
2365 + return;
2366 + }
2367 + const $activeTabTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex));
2368 + if (!elementor.helpers.isInViewport($activeTabTitle[0])) {
2369 + $activeTabTitle[0].scrollIntoView({
2370 + block: 'center'
2371 + });
2372 + }
2373 + }
2374 + getActiveClass() {
2375 + const settings = this.getSettings();
2376 + return settings.classes.active;
2377 + }
2378 + getTabsDirection() {
2379 + const currentDevice = elementorFrontend.getCurrentDeviceMode();
2380 + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'tabs_justify_horizontal', '', currentDevice);
2381 + }
2382 + getHorizontalScrollSetting() {
2383 + const currentDevice = elementorFrontend.getCurrentDeviceMode();
2384 + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'horizontal_scroll', '', currentDevice);
2385 + }
2386 + isAccordionVersion() {
2387 + return 'contents' === this.elements.$headingContainer.css('display');
2388 + }
2389 + setTouchMode() {
2390 + const widgetSelector = this.getSettings('selectors').widgetContainer;
2391 + if (elementorFrontend.isEditMode() || 'resize' === event?.type) {
2392 + const responsiveDevices = ['mobile', 'mobile_extra', 'tablet', 'tablet_extra'],
2393 + currentDevice = elementorFrontend.getCurrentDeviceMode();
2394 + if (-1 !== responsiveDevices.indexOf(currentDevice)) {
2395 + this.$element.find(widgetSelector).attr('data-touch-mode', 'true');
2396 + return;
2397 + }
2398 + } else if ('ontouchstart' in window) {
2399 + this.$element.find(widgetSelector).attr('data-touch-mode', 'true');
2400 + return;
2401 + }
2402 + this.$element.find(widgetSelector).attr('data-touch-mode', 'false');
2403 + }
2404 +}
2405 +exports["default"] = NestedTabs;
2809 2406
2810 -//#endregion
2811 -//#region assets/dev/js/frontend/handlers/base.js
2812 - var require_base = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2813 - require_es_array_push();
2814 - require_esnext_iterator_constructor();
2815 - require_esnext_iterator_filter();
2816 - require_esnext_iterator_find();
2817 - require_esnext_iterator_for_each();
2818 - module.exports = elementorModules.ViewModule.extend({
2819 - $element: null,
2820 - editorListeners: null,
2821 - onElementChange: null,
2822 - onEditSettingsChange: null,
2823 - onPageSettingsChange: null,
2824 - isEdit: null,
2825 - __construct(settings) {
2826 - if (!this.isActive(settings)) return;
2827 - this.$element = settings.$element;
2828 - this.isEdit = this.$element.hasClass("elementor-element-edit-mode");
2829 - if (this.isEdit) this.addEditorListeners();
2830 - },
2831 - isActive() {
2832 - return true;
2833 - },
2834 - isElementInTheCurrentDocument() {
2835 - if (!elementorFrontend.isEditMode()) return false;
2836 - return elementor.documents.currentDocument.id.toString() === this.$element[0].closest(".elementor").dataset.elementorId;
2837 - },
2838 - findElement(selector) {
2839 - var $mainElement = this.$element;
2840 - return $mainElement.find(selector).filter(function() {
2841 - return jQuery(this).parent().closest(".elementor-element").is($mainElement);
2842 - });
2843 - },
2844 - getUniqueHandlerID(cid, $element) {
2845 - if (!cid) cid = this.getModelCID();
2846 - if (!$element) $element = this.$element;
2847 - return cid + $element.attr("data-element_type") + this.getConstructorID();
2848 - },
2849 - initEditorListeners() {
2850 - var self = this;
2851 - self.editorListeners = [{
2852 - event: "element:destroy",
2853 - to: elementor.channels.data,
2854 - callback(removedModel) {
2855 - if (removedModel.cid !== self.getModelCID()) return;
2856 - self.onDestroy();
2857 - }
2858 - }];
2859 - if (self.onElementChange) {
2860 - const elementType = self.getWidgetType() || self.getElementType();
2861 - let eventName = "change";
2862 - if ("global" !== elementType) eventName += ":" + elementType;
2863 - self.editorListeners.push({
2864 - event: eventName,
2865 - to: elementor.channels.editor,
2866 - callback(controlView, elementView) {
2867 - if (self.getUniqueHandlerID(elementView.model.cid, elementView.$el) !== self.getUniqueHandlerID()) return;
2868 - self.onElementChange(controlView.model.get("name"), controlView, elementView);
2869 - }
2870 - });
2871 - }
2872 - if (self.onEditSettingsChange) self.editorListeners.push({
2873 - event: "change:editSettings",
2874 - to: elementor.channels.editor,
2875 - callback(changedModel, view) {
2876 - if (view.model.cid !== self.getModelCID()) return;
2877 - const propName = Object.keys(changedModel.changed)[0];
2878 - self.onEditSettingsChange(propName, changedModel.changed[propName]);
2879 - }
2880 - });
2881 - ["page"].forEach(function(settingsType) {
2882 - var listenerMethodName = "on" + settingsType[0].toUpperCase() + settingsType.slice(1) + "SettingsChange";
2883 - if (self[listenerMethodName]) self.editorListeners.push({
2884 - event: "change",
2885 - to: elementor.settings[settingsType].model,
2886 - callback(model) {
2887 - self[listenerMethodName](model.changed);
2888 - }
2889 - });
2890 - });
2891 - },
2892 - getEditorListeners() {
2893 - if (!this.editorListeners) this.initEditorListeners();
2894 - return this.editorListeners;
2895 - },
2896 - addEditorListeners() {
2897 - var uniqueHandlerID = this.getUniqueHandlerID();
2898 - this.getEditorListeners().forEach(function(listener) {
2899 - elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to);
2900 - });
2901 - },
2902 - removeEditorListeners() {
2903 - var uniqueHandlerID = this.getUniqueHandlerID();
2904 - this.getEditorListeners().forEach(function(listener) {
2905 - elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to);
2906 - });
2907 - },
2908 - getElementType() {
2909 - return this.$element.data("element_type");
2910 - },
2911 - getWidgetType() {
2912 - const widgetType = this.$element.data("widget_type");
2913 - if (!widgetType) return;
2914 - return widgetType.split(".")[0];
2915 - },
2916 - getID() {
2917 - return this.$element.data("id");
2918 - },
2919 - getModelCID() {
2920 - return this.$element.data("model-cid");
2921 - },
2922 - getElementSettings(setting) {
2923 - let elementSettings = {};
2924 - const modelCID = this.getModelCID();
2925 - if (this.isEdit && modelCID) {
2926 - const settings = elementorFrontend.config.elements.data[modelCID];
2927 - const attributes = settings.attributes;
2928 - let type = attributes.widgetType || attributes.elType;
2929 - if (attributes.isInner) type = "inner-" + type;
2930 - let settingsKeys = elementorFrontend.config.elements.keys[type];
2931 - if (!settingsKeys) {
2932 - settingsKeys = elementorFrontend.config.elements.keys[type] = [];
2933 - jQuery.each(settings.controls, (name, control) => {
2934 - if (control.frontend_available || control.editor_available) settingsKeys.push(name);
2935 - });
2936 - }
2937 - jQuery.each(settings.getActiveControls(), function(controlKey) {
2938 - if (-1 !== settingsKeys.indexOf(controlKey)) {
2939 - let value = attributes[controlKey];
2940 - if (value.toJSON) value = value.toJSON();
2941 - elementSettings[controlKey] = value;
2942 - }
2943 - });
2944 - } else elementSettings = this.$element.data("settings") || {};
2945 - return this.getItems(elementSettings, setting);
2946 - },
2947 - getEditSettings(setting) {
2948 - var attributes = {};
2949 - if (this.isEdit) attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes;
2950 - return this.getItems(attributes, setting);
2951 - },
2952 - getCurrentDeviceSetting(settingKey) {
2953 - return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey);
2954 - },
2955 - onInit() {
2956 - if (this.isActive(this.getSettings())) elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
2957 - },
2958 - onDestroy() {
2959 - if (this.isEdit) this.removeEditorListeners();
2960 - if (this.unbindEvents) this.unbindEvents();
2961 - }
2962 - });
2963 - }));
2407 +/***/ }),
2964 2408
2965 -//#endregion
2966 -//#region assets/dev/js/frontend/handlers/stretched-element.js
2967 - var require_stretched_element = /* @__PURE__ */ __commonJSMin(((exports) => {
2968 - var _interopRequireDefault = require_interopRequireDefault();
2969 - Object.defineProperty(exports, "__esModule", { value: true });
2970 - exports.default = void 0;
2971 - require_esnext_iterator_constructor();
2972 - require_esnext_iterator_find();
2973 - var _base = _interopRequireDefault(require_base());
2974 - var StretchedElement = class extends _base.default {
2975 - getStretchedClass() {
2976 - return "e-stretched";
2977 - }
2978 - getStretchSettingName() {
2979 - return "stretch_element";
2980 - }
2981 - getStretchActiveValue() {
2982 - return "yes";
2983 - }
2984 - bindEvents() {
2985 - const handlerID = this.getUniqueHandlerID();
2986 - elementorFrontend.addListenerOnce(handlerID, "resize", this.stretch);
2987 - elementorFrontend.addListenerOnce(handlerID, "sticky:stick", this.stretch, this.$element);
2988 - elementorFrontend.addListenerOnce(handlerID, "sticky:unstick", this.stretch, this.$element);
2989 - if (elementorFrontend.isEditMode()) {
2990 - this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
2991 - elementor.channels.editor.on("kit:change:stretchContainer", this.onKitChangeStretchContainerChange);
2992 - }
2993 - }
2994 - unbindEvents() {
2995 - elementorFrontend.removeListeners(this.getUniqueHandlerID(), "resize", this.stretch);
2996 - if (elementorFrontend.isEditMode()) elementor.channels.editor.off("kit:change:stretchContainer", this.onKitChangeStretchContainerChange);
2997 - }
2998 - isActive(settings) {
2999 - return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass());
3000 - }
3001 - getStretchElementForConfig(childSelector = null) {
3002 - if (childSelector) return this.$element.find(childSelector);
3003 - return this.$element;
3004 - }
3005 - getStretchElementConfig() {
3006 - return {
3007 - element: this.getStretchElementForConfig(),
3008 - selectors: { container: this.getStretchContainer() },
3009 - considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl
3010 - };
3011 - }
3012 - initStretch() {
3013 - this.stretch = this.stretch.bind(this);
3014 - this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig());
3015 - }
3016 - getStretchContainer() {
3017 - return elementorFrontend.getKitSettings("stretched_section_container") || window;
3018 - }
3019 - isStretchSettingEnabled() {
3020 - return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue();
3021 - }
3022 - stretch() {
3023 - if (!this.isStretchSettingEnabled()) return;
3024 - this.stretchElement.stretch();
3025 - }
3026 - onInit(...args) {
3027 - if (!this.isActive(this.getSettings())) return;
3028 - this.initStretch();
3029 - super.onInit(...args);
3030 - this.stretch();
3031 - }
3032 - onElementChange(propertyName) {
3033 - if (this.getStretchSettingName() === propertyName) if (this.isStretchSettingEnabled()) this.stretch();
3034 - else this.stretchElement.reset();
3035 - }
3036 - onKitChangeStretchContainerChange() {
3037 - this.stretchElement.setSettings("selectors.container", this.getStretchContainer());
3038 - this.stretch();
3039 - }
3040 - };
3041 - exports.default = StretchedElement;
3042 - }));
2409 +/***/ "../node_modules/core-js/internals/a-callable.js":
2410 +/*!*******************************************************!*\
2411 + !*** ../node_modules/core-js/internals/a-callable.js ***!
2412 + \*******************************************************/
2413 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3043 2414
3044 -//#endregion
3045 -//#region assets/dev/js/frontend/handlers/base-swiper.js
3046 - var require_base_swiper = /* @__PURE__ */ __commonJSMin(((exports) => {
3047 - var _interopRequireDefault = require_interopRequireDefault();
3048 - Object.defineProperty(exports, "__esModule", { value: true });
3049 - exports.default = void 0;
3050 - var _base = _interopRequireDefault(require_base());
3051 - var SwiperHandlerBase = class extends _base.default {
3052 - getInitialSlide() {
3053 - const editSettings = this.getEditSettings();
3054 - return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0;
3055 - }
3056 - getSlidesCount() {
3057 - return this.elements.$slides.length;
3058 - }
3059 - togglePauseOnHover(toggleOn) {
3060 - if (toggleOn) this.elements.$swiperContainer.on({
3061 - mouseenter: () => {
3062 - this.swiper.autoplay.stop();
3063 - },
3064 - mouseleave: () => {
3065 - this.swiper.autoplay.start();
3066 - }
3067 - });
3068 - else this.elements.$swiperContainer.off("mouseenter mouseleave");
3069 - }
3070 - handleKenBurns() {
3071 - const settings = this.getSettings();
3072 - if (this.$activeImageBg) this.$activeImageBg.removeClass(settings.classes.kenBurnsActive);
3073 - this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide();
3074 - if (this.swiper) this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children("." + settings.classes.slideBackground);
3075 - else this.$activeImageBg = jQuery(this.elements.$slides[0]).children("." + settings.classes.slideBackground);
3076 - this.$activeImageBg.addClass(settings.classes.kenBurnsActive);
3077 - }
3078 - };
3079 - exports.default = SwiperHandlerBase;
3080 - }));
2415 +"use strict";
3081 2416
3082 -//#endregion
3083 -//#region \0@[email protected]/helpers/esm/asyncToGenerator.js
3084 - function asyncGeneratorStep(n, t, e, r, o, a, c) {
3085 - try {
3086 - var i = n[a](c);
3087 - var u = i.value;
3088 - } catch (n) {
3089 - e(n);
3090 - return;
3091 - }
3092 - i.done ? t(u) : Promise.resolve(u).then(r, o);
3093 - }
3094 - function _asyncToGenerator(n) {
3095 - return function() {
3096 - var t = this;
3097 - var e = arguments;
3098 - return new Promise(function(r, o) {
3099 - var a = n.apply(t, e);
3100 - function _next(n) {
3101 - asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
3102 - }
3103 - function _throw(n) {
3104 - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
3105 - }
3106 - _next(void 0);
3107 - });
3108 - };
3109 - }
3110 - var init_asyncToGenerator = __esmMin((() => {}));
2417 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2418 +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
3111 2419
3112 -//#endregion
3113 -//#region assets/dev/js/frontend/handlers/base-carousel.js
3114 - var require_base_carousel = /* @__PURE__ */ __commonJSMin(((exports) => {
3115 - init_asyncToGenerator();
3116 - var _interopRequireDefault = require_interopRequireDefault();
3117 - Object.defineProperty(exports, "__esModule", { value: true });
3118 - exports.default = void 0;
3119 - require_esnext_iterator_constructor();
3120 - require_esnext_iterator_find();
3121 - require_esnext_iterator_for_each();
3122 - var _baseSwiper = _interopRequireDefault(require_base_swiper());
3123 - var CarouselHandlerBase = class extends _baseSwiper.default {
3124 - getDefaultSettings() {
3125 - return { selectors: {
3126 - carousel: ".swiper",
3127 - swiperWrapper: ".swiper-wrapper",
3128 - slideContent: ".swiper-slide",
3129 - swiperArrow: ".elementor-swiper-button",
3130 - paginationWrapper: ".swiper-pagination",
3131 - paginationBullet: ".swiper-pagination-bullet",
3132 - paginationBulletWrapper: ".swiper-pagination-bullets"
3133 - } };
3134 - }
3135 - getDefaultElements() {
3136 - const selectors = this.getSettings("selectors");
3137 - const elements = {
3138 - $swiperContainer: this.$element.find(selectors.carousel),
3139 - $swiperWrapper: this.$element.find(selectors.swiperWrapper),
3140 - $swiperArrows: this.$element.find(selectors.swiperArrow),
3141 - $paginationWrapper: this.$element.find(selectors.paginationWrapper),
3142 - $paginationBullets: this.$element.find(selectors.paginationBullet),
3143 - $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper)
3144 - };
3145 - elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
3146 - return elements;
3147 - }
3148 - getSwiperSettings() {
3149 - const elementSettings = this.getElementSettings();
3150 - const slidesToShow = +elementSettings.slides_to_show || 3;
3151 - const isSingleSlide = 1 === slidesToShow;
3152 - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints;
3153 - const defaultSlidesToShowMap = {
3154 - mobile: 1,
3155 - tablet: isSingleSlide ? 1 : 2
3156 - };
3157 - const swiperOptions = {
3158 - slidesPerView: slidesToShow,
3159 - loop: "yes" === elementSettings.infinite,
3160 - speed: elementSettings.speed,
3161 - handleElementorBreakpoints: true
3162 - };
3163 - swiperOptions.breakpoints = {};
3164 - let lastBreakpointSlidesToShowValue = slidesToShow;
3165 - Object.keys(elementorBreakpoints).reverse().forEach((breakpointName) => {
3166 - const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue;
3167 - swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = {
3168 - slidesPerView: +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow,
3169 - slidesPerGroup: +elementSettings["slides_to_scroll_" + breakpointName] || 1
3170 - };
3171 - if (elementSettings.image_spacing_custom) swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName);
3172 - lastBreakpointSlidesToShowValue = +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow;
3173 - });
3174 - if ("yes" === elementSettings.autoplay) swiperOptions.autoplay = {
3175 - delay: elementSettings.autoplay_speed,
3176 - disableOnInteraction: "yes" === elementSettings.pause_on_interaction
3177 - };
3178 - if (isSingleSlide) {
3179 - swiperOptions.effect = elementSettings.effect;
3180 - if ("fade" === elementSettings.effect) swiperOptions.fadeEffect = { crossFade: true };
3181 - } else swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
3182 - if (elementSettings.image_spacing_custom) swiperOptions.spaceBetween = this.getSpaceBetween();
3183 - const showArrows = "arrows" === elementSettings.navigation || "both" === elementSettings.navigation;
3184 - const showPagination = "dots" === elementSettings.navigation || "both" === elementSettings.navigation || elementSettings.pagination;
3185 - if (showArrows) swiperOptions.navigation = {
3186 - prevEl: ".elementor-swiper-button-prev",
3187 - nextEl: ".elementor-swiper-button-next"
3188 - };
3189 - if (showPagination) swiperOptions.pagination = {
3190 - el: `.elementor-element-${this.getID()} .swiper-pagination`,
3191 - type: !!elementSettings.pagination ? elementSettings.pagination : "bullets",
3192 - clickable: true,
3193 - renderBullet: (index, classname) => {
3194 - return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`;
3195 - }
3196 - };
3197 - if ("yes" === elementSettings.lazyload) swiperOptions.lazy = {
3198 - loadPrevNext: true,
3199 - loadPrevNextAmount: 1
3200 - };
3201 - swiperOptions.a11y = {
3202 - enabled: true,
3203 - prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,
3204 - nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,
3205 - firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,
3206 - lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage
3207 - };
3208 - swiperOptions.on = {
3209 - slideChange: () => {
3210 - this.a11ySetPaginationTabindex();
3211 - this.handleElementHandlers();
3212 - this.a11ySetSlideAriaHidden();
3213 - },
3214 - init: () => {
3215 - this.a11ySetPaginationTabindex();
3216 - this.a11ySetSlideAriaHidden("initialisation");
3217 - }
3218 - };
3219 - this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow);
3220 - return swiperOptions;
3221 - }
3222 - getOffsetWidth() {
3223 - const currentDevice = elementorFrontend.getCurrentDeviceMode();
3224 - return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "offset_width", "size", currentDevice) || 0;
3225 - }
3226 - applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) {
3227 - const offsetSide = elementSettings.offset_sides;
3228 - if (elementorFrontend.isEditMode() && "NestedCarousel" === this.constructor.name || !offsetSide || "none" === offsetSide) return;
3229 - switch (offsetSide) {
3230 - case "right":
3231 - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
3232 - this.addClassToSwiperContainer("offset-right");
3233 - break;
3234 - case "left":
3235 - this.addClassToSwiperContainer("offset-left");
3236 - break;
3237 - case "both":
3238 - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
3239 - this.addClassToSwiperContainer("offset-both");
3240 - break;
3241 - }
3242 - }
3243 - forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) {
3244 - swiperOptions.slidesPerView = slidesToShow + .001;
3245 - }
3246 - addClassToSwiperContainer(className) {
3247 - this.getDefaultElements().$swiperContainer[0].classList.add(className);
3248 - }
3249 - onInit(...args) {
3250 - var _superprop_getOnInit = () => super.onInit;
3251 - var _this = this;
3252 - return _asyncToGenerator(function* () {
3253 - _superprop_getOnInit().call(_this, ...args);
3254 - if (!_this.elements.$swiperContainer.length || 2 > _this.elements.$slides.length) return;
3255 - yield _this.initSwiper();
3256 - if ("yes" === _this.getElementSettings().pause_on_hover) _this.togglePauseOnHover(true);
3257 - })();
3258 - }
3259 - initSwiper() {
3260 - var _this2 = this;
3261 - return _asyncToGenerator(function* () {
3262 - const Swiper = elementorFrontend.utils.swiper;
3263 - _this2.swiper = yield new Swiper(_this2.elements.$swiperContainer, _this2.getSwiperSettings());
3264 - _this2.elements.$swiperContainer.data("swiper", _this2.swiper);
3265 - })();
3266 - }
3267 - bindEvents() {
3268 - this.elements.$swiperArrows.on("keydown", this.onDirectionArrowKeydown.bind(this));
3269 - this.elements.$paginationWrapper.on("keydown", ".swiper-pagination-bullet", this.onDirectionArrowKeydown.bind(this));
3270 - this.elements.$swiperContainer.on("keydown", ".swiper-slide", this.onDirectionArrowKeydown.bind(this));
3271 - this.$element.find(":focusable").on("focus", this.onFocusDisableAutoplay.bind(this));
3272 - elementorFrontend.elements.$window.on("resize", this.getSwiperSettings.bind(this));
3273 - }
3274 - unbindEvents() {
3275 - this.elements.$swiperArrows.off();
3276 - this.elements.$paginationWrapper.off();
3277 - this.elements.$swiperContainer.off();
3278 - this.$element.find(":focusable").off();
3279 - elementorFrontend.elements.$window.off("resize");
3280 - }
3281 - onDirectionArrowKeydown(event) {
3282 - const isRTL = elementorFrontend.config.is_rtl;
3283 - const inlineDirectionArrows = ["ArrowLeft", "ArrowRight"];
3284 - const currentKeydown = event.originalEvent.code;
3285 - const isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown);
3286 - const directionStart = isRTL ? "ArrowRight" : "ArrowLeft";
3287 - const directionEnd = isRTL ? "ArrowLeft" : "ArrowRight";
3288 - if (!isDirectionInlineKeydown) return true;
3289 - else if (directionStart === currentKeydown) this.swiper.slidePrev();
3290 - else if (directionEnd === currentKeydown) this.swiper.slideNext();
3291 - }
3292 - onFocusDisableAutoplay() {
3293 - this.swiper.autoplay.stop();
3294 - }
3295 - updateSwiperOption(propertyName) {
3296 - const newSettingValue = this.getElementSettings()[propertyName];
3297 - const params = this.swiper.params;
3298 - switch (propertyName) {
3299 - case "autoplay_speed":
3300 - params.autoplay.delay = newSettingValue;
3301 - break;
3302 - case "speed":
3303 - params.speed = newSettingValue;
3304 - break;
3305 - }
3306 - this.swiper.update();
3307 - }
3308 - getChangeableProperties() {
3309 - return {
3310 - pause_on_hover: "pauseOnHover",
3311 - autoplay_speed: "delay",
3312 - speed: "speed",
3313 - arrows_position: "arrows_position"
3314 - };
3315 - }
3316 - onElementChange(propertyName) {
3317 - if (0 === propertyName.indexOf("image_spacing_custom")) {
3318 - this.updateSpaceBetween(propertyName);
3319 - return;
3320 - }
3321 - if (this.getChangeableProperties()[propertyName]) if ("pause_on_hover" === propertyName) {
3322 - const newSettingValue = this.getElementSettings("pause_on_hover");
3323 - this.togglePauseOnHover("yes" === newSettingValue);
3324 - } else this.updateSwiperOption(propertyName);
3325 - }
3326 - onEditSettingsChange(propertyName) {
3327 - if ("activeItemIndex" === propertyName) this.swiper.slideToLoop(this.getEditSettings("activeItemIndex") - 1);
3328 - }
3329 - getSpaceBetween(device = null) {
3330 - const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "image_spacing_custom", "size", device);
3331 - return Number(responsiveControlValue) || 0;
3332 - }
3333 - updateSpaceBetween(propertyName) {
3334 - const deviceMatch = propertyName.match("image_spacing_custom_(.*)");
3335 - const device = deviceMatch ? deviceMatch[1] : "desktop";
3336 - const newSpaceBetween = this.getSpaceBetween(device);
3337 - if ("desktop" !== device) this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween;
3338 - this.swiper.params.spaceBetween = newSpaceBetween;
3339 - this.swiper.update();
3340 - }
3341 - getPaginationBullets(type = "array") {
3342 - const paginationBullets = this.$element.find(this.getSettings("selectors").paginationBullet);
3343 - return "array" === type ? Array.from(paginationBullets) : paginationBullets;
3344 - }
3345 - a11ySetPaginationTabindex() {
3346 - var _this$swiper;
3347 - var _this$swiper2;
3348 - var _event;
3349 - var _event2;
3350 - var _event3;
3351 - const bulletClass = (_this$swiper = this.swiper) === null || _this$swiper === void 0 || (_this$swiper = _this$swiper.params) === null || _this$swiper === void 0 ? void 0 : _this$swiper.pagination.bulletClass;
3352 - const activeBulletClass = (_this$swiper2 = this.swiper) === null || _this$swiper2 === void 0 || (_this$swiper2 = _this$swiper2.params) === null || _this$swiper2 === void 0 ? void 0 : _this$swiper2.pagination.bulletActiveClass;
3353 - this.getPaginationBullets().forEach((bullet) => {
3354 - var _bullet$classList;
3355 - if (!((_bullet$classList = bullet.classList) === null || _bullet$classList === void 0 ? void 0 : _bullet$classList.contains(activeBulletClass))) bullet.removeAttribute("tabindex");
3356 - });
3357 - const isDirectionInlineArrowKey = "ArrowLeft" === ((_event = event) === null || _event === void 0 ? void 0 : _event.code) || "ArrowRight" === ((_event2 = event) === null || _event2 === void 0 ? void 0 : _event2.code);
3358 - if (((_event3 = event) === null || _event3 === void 0 || (_event3 = _event3.target) === null || _event3 === void 0 || (_event3 = _event3.classList) === null || _event3 === void 0 ? void 0 : _event3.contains(bulletClass)) && isDirectionInlineArrowKey) this.$element.find(`.${activeBulletClass}`).trigger("focus");
3359 - }
3360 - getSwiperWrapperTranformXValue() {
3361 - var _this$elements$$swipe;
3362 - let transformValue = (_this$elements$$swipe = this.elements.$swiperWrapper[0]) === null || _this$elements$$swipe === void 0 ? void 0 : _this$elements$$swipe.style.transform;
3363 - transformValue = transformValue.replace("translate3d(", "");
3364 - transformValue = transformValue.split(",");
3365 - transformValue = parseInt(transformValue[0].replace("px", ""));
3366 - return !!transformValue ? transformValue : 0;
3367 - }
3368 - a11ySetSlideAriaHidden(status = "") {
3369 - var _this$swiper3;
3370 - if ("number" !== typeof ("initialisation" === status ? 0 : (_this$swiper3 = this.swiper) === null || _this$swiper3 === void 0 ? void 0 : _this$swiper3.activeIndex)) return;
3371 - const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue();
3372 - const swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth;
3373 - this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((index, slide) => {
3374 - if (!(0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue)) {
3375 - slide.setAttribute("aria-hidden", true);
3376 - slide.setAttribute("inert", "");
3377 - } else {
3378 - slide.removeAttribute("aria-hidden");
3379 - slide.removeAttribute("inert");
3380 - }
3381 - });
3382 - }
3383 - handleElementHandlers() {}
3384 - };
3385 - exports.default = CarouselHandlerBase;
3386 - }));
2420 +var $TypeError = TypeError;
3387 2421
3388 -//#endregion
3389 -//#region assets/dev/js/frontend/modules.js
3390 - var _interopRequireDefault = require_interopRequireDefault();
3391 - var _modules = _interopRequireDefault(require_modules());
3392 - var _document = _interopRequireDefault(require_document());
3393 - var _stretchElement = _interopRequireDefault(require_stretch_element());
3394 - var _stretchedElement = _interopRequireDefault(require_stretched_element());
3395 - var _base = _interopRequireDefault(require_base());
3396 - var _baseSwiper = _interopRequireDefault(require_base_swiper());
3397 - var _baseCarousel = _interopRequireDefault(require_base_carousel());
3398 - _modules.default.frontend = {
3399 - Document: _document.default,
3400 - tools: { StretchElement: _stretchElement.default },
3401 - handlers: {
3402 - Base: _base.default,
3403 - StretchedElement: _stretchedElement.default,
3404 - SwiperBase: _baseSwiper.default,
3405 - CarouselBase: _baseCarousel.default
3406 - }
3407 - };
2422 +// `Assert: IsCallable(argument) is true`
2423 +module.exports = function (argument) {
2424 + if (isCallable(argument)) return argument;
2425 + throw $TypeError(tryToString(argument) + ' is not a function');
2426 +};
3408 2427
3409 -//#endregion
3410 -})();
2428 +
2429 +/***/ }),
2430 +
2431 +/***/ "../node_modules/core-js/internals/a-possible-prototype.js":
2432 +/*!*****************************************************************!*\
2433 + !*** ../node_modules/core-js/internals/a-possible-prototype.js ***!
2434 + \*****************************************************************/
2435 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2436 +
2437 +"use strict";
2438 +
2439 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2440 +
2441 +var $String = String;
2442 +var $TypeError = TypeError;
2443 +
2444 +module.exports = function (argument) {
2445 + if (typeof argument == 'object' || isCallable(argument)) return argument;
2446 + throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
2447 +};
2448 +
2449 +
2450 +/***/ }),
2451 +
2452 +/***/ "../node_modules/core-js/internals/an-object.js":
2453 +/*!******************************************************!*\
2454 + !*** ../node_modules/core-js/internals/an-object.js ***!
2455 + \******************************************************/
2456 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2457 +
2458 +"use strict";
2459 +
2460 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2461 +
2462 +var $String = String;
2463 +var $TypeError = TypeError;
2464 +
2465 +// `Assert: Type(argument) is Object`
2466 +module.exports = function (argument) {
2467 + if (isObject(argument)) return argument;
2468 + throw $TypeError($String(argument) + ' is not an object');
2469 +};
2470 +
2471 +
2472 +/***/ }),
2473 +
2474 +/***/ "../node_modules/core-js/internals/array-includes.js":
2475 +/*!***********************************************************!*\
2476 + !*** ../node_modules/core-js/internals/array-includes.js ***!
2477 + \***********************************************************/
2478 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2479 +
2480 +"use strict";
2481 +
2482 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
2483 +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js");
2484 +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
2485 +
2486 +// `Array.prototype.{ indexOf, includes }` methods implementation
2487 +var createMethod = function (IS_INCLUDES) {
2488 + return function ($this, el, fromIndex) {
2489 + var O = toIndexedObject($this);
2490 + var length = lengthOfArrayLike(O);
2491 + var index = toAbsoluteIndex(fromIndex, length);
2492 + var value;
2493 + // Array#includes uses SameValueZero equality algorithm
2494 + // eslint-disable-next-line no-self-compare -- NaN check
2495 + if (IS_INCLUDES && el != el) while (length > index) {
2496 + value = O[index++];
2497 + // eslint-disable-next-line no-self-compare -- NaN check
2498 + if (value != value) return true;
2499 + // Array#indexOf ignores holes, Array#includes - not
2500 + } else for (;length > index; index++) {
2501 + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
2502 + } return !IS_INCLUDES && -1;
2503 + };
2504 +};
2505 +
2506 +module.exports = {
2507 + // `Array.prototype.includes` method
2508 + // https://tc39.es/ecma262/#sec-array.prototype.includes
2509 + includes: createMethod(true),
2510 + // `Array.prototype.indexOf` method
2511 + // https://tc39.es/ecma262/#sec-array.prototype.indexof
2512 + indexOf: createMethod(false)
2513 +};
2514 +
2515 +
2516 +/***/ }),
2517 +
2518 +/***/ "../node_modules/core-js/internals/classof-raw.js":
2519 +/*!********************************************************!*\
2520 + !*** ../node_modules/core-js/internals/classof-raw.js ***!
2521 + \********************************************************/
2522 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2523 +
2524 +"use strict";
2525 +
2526 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2527 +
2528 +var toString = uncurryThis({}.toString);
2529 +var stringSlice = uncurryThis(''.slice);
2530 +
2531 +module.exports = function (it) {
2532 + return stringSlice(toString(it), 8, -1);
2533 +};
2534 +
2535 +
2536 +/***/ }),
2537 +
2538 +/***/ "../node_modules/core-js/internals/classof.js":
2539 +/*!****************************************************!*\
2540 + !*** ../node_modules/core-js/internals/classof.js ***!
2541 + \****************************************************/
2542 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2543 +
2544 +"use strict";
2545 +
2546 +var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js");
2547 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2548 +var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
2549 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
2550 +
2551 +var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2552 +var $Object = Object;
2553 +
2554 +// ES3 wrong here
2555 +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
2556 +
2557 +// fallback for IE11 Script Access Denied error
2558 +var tryGet = function (it, key) {
2559 + try {
2560 + return it[key];
2561 + } catch (error) { /* empty */ }
2562 +};
2563 +
2564 +// getting tag from ES6+ `Object.prototype.toString`
2565 +module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
2566 + var O, tag, result;
2567 + return it === undefined ? 'Undefined' : it === null ? 'Null'
2568 + // @@toStringTag case
2569 + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2570 + // builtinTag case
2571 + : CORRECT_ARGUMENTS ? classofRaw(O)
2572 + // ES3 arguments fallback
2573 + : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
2574 +};
2575 +
2576 +
2577 +/***/ }),
2578 +
2579 +/***/ "../node_modules/core-js/internals/copy-constructor-properties.js":
2580 +/*!************************************************************************!*\
2581 + !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***!
2582 + \************************************************************************/
2583 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2584 +
2585 +"use strict";
2586 +
2587 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
2588 +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js");
2589 +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js");
2590 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
2591 +
2592 +module.exports = function (target, source, exceptions) {
2593 + var keys = ownKeys(source);
2594 + var defineProperty = definePropertyModule.f;
2595 + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
2596 + for (var i = 0; i < keys.length; i++) {
2597 + var key = keys[i];
2598 + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
2599 + defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2600 + }
2601 + }
2602 +};
2603 +
2604 +
2605 +/***/ }),
2606 +
2607 +/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js":
2608 +/*!***************************************************************************!*\
2609 + !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***!
2610 + \***************************************************************************/
2611 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2612 +
2613 +"use strict";
2614 +
2615 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
2616 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
2617 +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
2618 +
2619 +module.exports = DESCRIPTORS ? function (object, key, value) {
2620 + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
2621 +} : function (object, key, value) {
2622 + object[key] = value;
2623 + return object;
2624 +};
2625 +
2626 +
2627 +/***/ }),
2628 +
2629 +/***/ "../node_modules/core-js/internals/create-property-descriptor.js":
2630 +/*!***********************************************************************!*\
2631 + !*** ../node_modules/core-js/internals/create-property-descriptor.js ***!
2632 + \***********************************************************************/
2633 +/***/ ((module) => {
2634 +
2635 +"use strict";
2636 +
2637 +module.exports = function (bitmap, value) {
2638 + return {
2639 + enumerable: !(bitmap & 1),
2640 + configurable: !(bitmap & 2),
2641 + writable: !(bitmap & 4),
2642 + value: value
2643 + };
2644 +};
2645 +
2646 +
2647 +/***/ }),
2648 +
2649 +/***/ "../node_modules/core-js/internals/define-built-in.js":
2650 +/*!************************************************************!*\
2651 + !*** ../node_modules/core-js/internals/define-built-in.js ***!
2652 + \************************************************************/
2653 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2654 +
2655 +"use strict";
2656 +
2657 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2658 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
2659 +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
2660 +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
2661 +
2662 +module.exports = function (O, key, value, options) {
2663 + if (!options) options = {};
2664 + var simple = options.enumerable;
2665 + var name = options.name !== undefined ? options.name : key;
2666 + if (isCallable(value)) makeBuiltIn(value, name, options);
2667 + if (options.global) {
2668 + if (simple) O[key] = value;
2669 + else defineGlobalProperty(key, value);
2670 + } else {
2671 + try {
2672 + if (!options.unsafe) delete O[key];
2673 + else if (O[key]) simple = true;
2674 + } catch (error) { /* empty */ }
2675 + if (simple) O[key] = value;
2676 + else definePropertyModule.f(O, key, {
2677 + value: value,
2678 + enumerable: false,
2679 + configurable: !options.nonConfigurable,
2680 + writable: !options.nonWritable
2681 + });
2682 + } return O;
2683 +};
2684 +
2685 +
2686 +/***/ }),
2687 +
2688 +/***/ "../node_modules/core-js/internals/define-global-property.js":
2689 +/*!*******************************************************************!*\
2690 + !*** ../node_modules/core-js/internals/define-global-property.js ***!
2691 + \*******************************************************************/
2692 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2693 +
2694 +"use strict";
2695 +
2696 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2697 +
2698 +// eslint-disable-next-line es/no-object-defineproperty -- safe
2699 +var defineProperty = Object.defineProperty;
2700 +
2701 +module.exports = function (key, value) {
2702 + try {
2703 + defineProperty(global, key, { value: value, configurable: true, writable: true });
2704 + } catch (error) {
2705 + global[key] = value;
2706 + } return value;
2707 +};
2708 +
2709 +
2710 +/***/ }),
2711 +
2712 +/***/ "../node_modules/core-js/internals/descriptors.js":
2713 +/*!********************************************************!*\
2714 + !*** ../node_modules/core-js/internals/descriptors.js ***!
2715 + \********************************************************/
2716 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2717 +
2718 +"use strict";
2719 +
2720 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2721 +
2722 +// Detect IE8's incomplete defineProperty implementation
2723 +module.exports = !fails(function () {
2724 + // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2725 + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
2726 +});
2727 +
2728 +
2729 +/***/ }),
2730 +
2731 +/***/ "../node_modules/core-js/internals/document-all.js":
2732 +/*!*********************************************************!*\
2733 + !*** ../node_modules/core-js/internals/document-all.js ***!
2734 + \*********************************************************/
2735 +/***/ ((module) => {
2736 +
2737 +"use strict";
2738 +
2739 +var documentAll = typeof document == 'object' && document.all;
2740 +
2741 +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
2742 +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
2743 +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
2744 +
2745 +module.exports = {
2746 + all: documentAll,
2747 + IS_HTMLDDA: IS_HTMLDDA
2748 +};
2749 +
2750 +
2751 +/***/ }),
2752 +
2753 +/***/ "../node_modules/core-js/internals/document-create-element.js":
2754 +/*!********************************************************************!*\
2755 + !*** ../node_modules/core-js/internals/document-create-element.js ***!
2756 + \********************************************************************/
2757 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2758 +
2759 +"use strict";
2760 +
2761 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2762 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2763 +
2764 +var document = global.document;
2765 +// typeof document.createElement is 'object' in old IE
2766 +var EXISTS = isObject(document) && isObject(document.createElement);
2767 +
2768 +module.exports = function (it) {
2769 + return EXISTS ? document.createElement(it) : {};
2770 +};
2771 +
2772 +
2773 +/***/ }),
2774 +
2775 +/***/ "../node_modules/core-js/internals/engine-user-agent.js":
2776 +/*!**************************************************************!*\
2777 + !*** ../node_modules/core-js/internals/engine-user-agent.js ***!
2778 + \**************************************************************/
2779 +/***/ ((module) => {
2780 +
2781 +"use strict";
2782 +
2783 +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
2784 +
2785 +
2786 +/***/ }),
2787 +
2788 +/***/ "../node_modules/core-js/internals/engine-v8-version.js":
2789 +/*!**************************************************************!*\
2790 + !*** ../node_modules/core-js/internals/engine-v8-version.js ***!
2791 + \**************************************************************/
2792 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2793 +
2794 +"use strict";
2795 +
2796 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2797 +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js");
2798 +
2799 +var process = global.process;
2800 +var Deno = global.Deno;
2801 +var versions = process && process.versions || Deno && Deno.version;
2802 +var v8 = versions && versions.v8;
2803 +var match, version;
2804 +
2805 +if (v8) {
2806 + match = v8.split('.');
2807 + // in old Chrome, versions of V8 isn't V8 = Chrome / 10
2808 + // but their correct versions are not interesting for us
2809 + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
2810 +}
2811 +
2812 +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
2813 +// so check `userAgent` even if `.v8` exists, but 0
2814 +if (!version && userAgent) {
2815 + match = userAgent.match(/Edge\/(\d+)/);
2816 + if (!match || match[1] >= 74) {
2817 + match = userAgent.match(/Chrome\/(\d+)/);
2818 + if (match) version = +match[1];
2819 + }
2820 +}
2821 +
2822 +module.exports = version;
2823 +
2824 +
2825 +/***/ }),
2826 +
2827 +/***/ "../node_modules/core-js/internals/enum-bug-keys.js":
2828 +/*!**********************************************************!*\
2829 + !*** ../node_modules/core-js/internals/enum-bug-keys.js ***!
2830 + \**********************************************************/
2831 +/***/ ((module) => {
2832 +
2833 +"use strict";
2834 +
2835 +// IE8- don't enum bug keys
2836 +module.exports = [
2837 + 'constructor',
2838 + 'hasOwnProperty',
2839 + 'isPrototypeOf',
2840 + 'propertyIsEnumerable',
2841 + 'toLocaleString',
2842 + 'toString',
2843 + 'valueOf'
2844 +];
2845 +
2846 +
2847 +/***/ }),
2848 +
2849 +/***/ "../node_modules/core-js/internals/error-stack-clear.js":
2850 +/*!**************************************************************!*\
2851 + !*** ../node_modules/core-js/internals/error-stack-clear.js ***!
2852 + \**************************************************************/
2853 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2854 +
2855 +"use strict";
2856 +
2857 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2858 +
2859 +var $Error = Error;
2860 +var replace = uncurryThis(''.replace);
2861 +
2862 +var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
2863 +// eslint-disable-next-line redos/no-vulnerable -- safe
2864 +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
2865 +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
2866 +
2867 +module.exports = function (stack, dropEntries) {
2868 + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
2869 + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
2870 + } return stack;
2871 +};
2872 +
2873 +
2874 +/***/ }),
2875 +
2876 +/***/ "../node_modules/core-js/internals/error-stack-install.js":
2877 +/*!****************************************************************!*\
2878 + !*** ../node_modules/core-js/internals/error-stack-install.js ***!
2879 + \****************************************************************/
2880 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2881 +
2882 +"use strict";
2883 +
2884 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
2885 +var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js");
2886 +var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "../node_modules/core-js/internals/error-stack-installable.js");
2887 +
2888 +// non-standard V8
2889 +var captureStackTrace = Error.captureStackTrace;
2890 +
2891 +module.exports = function (error, C, stack, dropEntries) {
2892 + if (ERROR_STACK_INSTALLABLE) {
2893 + if (captureStackTrace) captureStackTrace(error, C);
2894 + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
2895 + }
2896 +};
2897 +
2898 +
2899 +/***/ }),
2900 +
2901 +/***/ "../node_modules/core-js/internals/error-stack-installable.js":
2902 +/*!********************************************************************!*\
2903 + !*** ../node_modules/core-js/internals/error-stack-installable.js ***!
2904 + \********************************************************************/
2905 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2906 +
2907 +"use strict";
2908 +
2909 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2910 +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
2911 +
2912 +module.exports = !fails(function () {
2913 + var error = Error('a');
2914 + if (!('stack' in error)) return true;
2915 + // eslint-disable-next-line es/no-object-defineproperty -- safe
2916 + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
2917 + return error.stack !== 7;
2918 +});
2919 +
2920 +
2921 +/***/ }),
2922 +
2923 +/***/ "../node_modules/core-js/internals/export.js":
2924 +/*!***************************************************!*\
2925 + !*** ../node_modules/core-js/internals/export.js ***!
2926 + \***************************************************/
2927 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2928 +
2929 +"use strict";
2930 +
2931 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2932 +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
2933 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
2934 +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
2935 +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
2936 +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
2937 +var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js");
2938 +
2939 +/*
2940 + options.target - name of the target object
2941 + options.global - target is the global object
2942 + options.stat - export as static methods of target
2943 + options.proto - export as prototype methods of target
2944 + options.real - real prototype method for the `pure` version
2945 + options.forced - export even if the native feature is available
2946 + options.bind - bind methods to the target, required for the `pure` version
2947 + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
2948 + options.unsafe - use the simple assignment of property instead of delete + defineProperty
2949 + options.sham - add a flag to not completely full polyfills
2950 + options.enumerable - export as enumerable property
2951 + options.dontCallGetSet - prevent calling a getter on target
2952 + options.name - the .name of the function if it does not match the key
2953 +*/
2954 +module.exports = function (options, source) {
2955 + var TARGET = options.target;
2956 + var GLOBAL = options.global;
2957 + var STATIC = options.stat;
2958 + var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2959 + if (GLOBAL) {
2960 + target = global;
2961 + } else if (STATIC) {
2962 + target = global[TARGET] || defineGlobalProperty(TARGET, {});
2963 + } else {
2964 + target = (global[TARGET] || {}).prototype;
2965 + }
2966 + if (target) for (key in source) {
2967 + sourceProperty = source[key];
2968 + if (options.dontCallGetSet) {
2969 + descriptor = getOwnPropertyDescriptor(target, key);
2970 + targetProperty = descriptor && descriptor.value;
2971 + } else targetProperty = target[key];
2972 + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
2973 + // contained in target
2974 + if (!FORCED && targetProperty !== undefined) {
2975 + if (typeof sourceProperty == typeof targetProperty) continue;
2976 + copyConstructorProperties(sourceProperty, targetProperty);
2977 + }
2978 + // add a flag to not completely full polyfills
2979 + if (options.sham || (targetProperty && targetProperty.sham)) {
2980 + createNonEnumerableProperty(sourceProperty, 'sham', true);
2981 + }
2982 + defineBuiltIn(target, key, sourceProperty, options);
2983 + }
2984 +};
2985 +
2986 +
2987 +/***/ }),
2988 +
2989 +/***/ "../node_modules/core-js/internals/fails.js":
2990 +/*!**************************************************!*\
2991 + !*** ../node_modules/core-js/internals/fails.js ***!
2992 + \**************************************************/
2993 +/***/ ((module) => {
2994 +
2995 +"use strict";
2996 +
2997 +module.exports = function (exec) {
2998 + try {
2999 + return !!exec();
3000 + } catch (error) {
3001 + return true;
3002 + }
3003 +};
3004 +
3005 +
3006 +/***/ }),
3007 +
3008 +/***/ "../node_modules/core-js/internals/function-apply.js":
3009 +/*!***********************************************************!*\
3010 + !*** ../node_modules/core-js/internals/function-apply.js ***!
3011 + \***********************************************************/
3012 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3013 +
3014 +"use strict";
3015 +
3016 +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
3017 +
3018 +var FunctionPrototype = Function.prototype;
3019 +var apply = FunctionPrototype.apply;
3020 +var call = FunctionPrototype.call;
3021 +
3022 +// eslint-disable-next-line es/no-reflect -- safe
3023 +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
3024 + return call.apply(apply, arguments);
3025 +});
3026 +
3027 +
3028 +/***/ }),
3029 +
3030 +/***/ "../node_modules/core-js/internals/function-bind-native.js":
3031 +/*!*****************************************************************!*\
3032 + !*** ../node_modules/core-js/internals/function-bind-native.js ***!
3033 + \*****************************************************************/
3034 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3035 +
3036 +"use strict";
3037 +
3038 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3039 +
3040 +module.exports = !fails(function () {
3041 + // eslint-disable-next-line es/no-function-prototype-bind -- safe
3042 + var test = (function () { /* empty */ }).bind();
3043 + // eslint-disable-next-line no-prototype-builtins -- safe
3044 + return typeof test != 'function' || test.hasOwnProperty('prototype');
3045 +});
3046 +
3047 +
3048 +/***/ }),
3049 +
3050 +/***/ "../node_modules/core-js/internals/function-call.js":
3051 +/*!**********************************************************!*\
3052 + !*** ../node_modules/core-js/internals/function-call.js ***!
3053 + \**********************************************************/
3054 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3055 +
3056 +"use strict";
3057 +
3058 +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
3059 +
3060 +var call = Function.prototype.call;
3061 +
3062 +module.exports = NATIVE_BIND ? call.bind(call) : function () {
3063 + return call.apply(call, arguments);
3064 +};
3065 +
3066 +
3067 +/***/ }),
3068 +
3069 +/***/ "../node_modules/core-js/internals/function-name.js":
3070 +/*!**********************************************************!*\
3071 + !*** ../node_modules/core-js/internals/function-name.js ***!
3072 + \**********************************************************/
3073 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3074 +
3075 +"use strict";
3076 +
3077 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3078 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3079 +
3080 +var FunctionPrototype = Function.prototype;
3081 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3082 +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
3083 +
3084 +var EXISTS = hasOwn(FunctionPrototype, 'name');
3085 +// additional protection from minified / mangled / dropped function names
3086 +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
3087 +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
3088 +
3089 +module.exports = {
3090 + EXISTS: EXISTS,
3091 + PROPER: PROPER,
3092 + CONFIGURABLE: CONFIGURABLE
3093 +};
3094 +
3095 +
3096 +/***/ }),
3097 +
3098 +/***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js":
3099 +/*!***************************************************************************!*\
3100 + !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***!
3101 + \***************************************************************************/
3102 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3103 +
3104 +"use strict";
3105 +
3106 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3107 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
3108 +
3109 +module.exports = function (object, key, method) {
3110 + try {
3111 + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3112 + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
3113 + } catch (error) { /* empty */ }
3114 +};
3115 +
3116 +
3117 +/***/ }),
3118 +
3119 +/***/ "../node_modules/core-js/internals/function-uncurry-this.js":
3120 +/*!******************************************************************!*\
3121 + !*** ../node_modules/core-js/internals/function-uncurry-this.js ***!
3122 + \******************************************************************/
3123 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3124 +
3125 +"use strict";
3126 +
3127 +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
3128 +
3129 +var FunctionPrototype = Function.prototype;
3130 +var call = FunctionPrototype.call;
3131 +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
3132 +
3133 +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
3134 + return function () {
3135 + return call.apply(fn, arguments);
3136 + };
3137 +};
3138 +
3139 +
3140 +/***/ }),
3141 +
3142 +/***/ "../node_modules/core-js/internals/get-built-in.js":
3143 +/*!*********************************************************!*\
3144 + !*** ../node_modules/core-js/internals/get-built-in.js ***!
3145 + \*********************************************************/
3146 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3147 +
3148 +"use strict";
3149 +
3150 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
3151 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3152 +
3153 +var aFunction = function (argument) {
3154 + return isCallable(argument) ? argument : undefined;
3155 +};
3156 +
3157 +module.exports = function (namespace, method) {
3158 + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
3159 +};
3160 +
3161 +
3162 +/***/ }),
3163 +
3164 +/***/ "../node_modules/core-js/internals/get-method.js":
3165 +/*!*******************************************************!*\
3166 + !*** ../node_modules/core-js/internals/get-method.js ***!
3167 + \*******************************************************/
3168 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3169 +
3170 +"use strict";
3171 +
3172 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
3173 +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
3174 +
3175 +// `GetMethod` abstract operation
3176 +// https://tc39.es/ecma262/#sec-getmethod
3177 +module.exports = function (V, P) {
3178 + var func = V[P];
3179 + return isNullOrUndefined(func) ? undefined : aCallable(func);
3180 +};
3181 +
3182 +
3183 +/***/ }),
3184 +
3185 +/***/ "../node_modules/core-js/internals/global.js":
3186 +/*!***************************************************!*\
3187 + !*** ../node_modules/core-js/internals/global.js ***!
3188 + \***************************************************/
3189 +/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3190 +
3191 +"use strict";
3192 +
3193 +var check = function (it) {
3194 + return it && it.Math == Math && it;
3195 +};
3196 +
3197 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
3198 +module.exports =
3199 + // eslint-disable-next-line es/no-global-this -- safe
3200 + check(typeof globalThis == 'object' && globalThis) ||
3201 + check(typeof window == 'object' && window) ||
3202 + // eslint-disable-next-line no-restricted-globals -- safe
3203 + check(typeof self == 'object' && self) ||
3204 + check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
3205 + // eslint-disable-next-line no-new-func -- fallback
3206 + (function () { return this; })() || this || Function('return this')();
3207 +
3208 +
3209 +/***/ }),
3210 +
3211 +/***/ "../node_modules/core-js/internals/has-own-property.js":
3212 +/*!*************************************************************!*\
3213 + !*** ../node_modules/core-js/internals/has-own-property.js ***!
3214 + \*************************************************************/
3215 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3216 +
3217 +"use strict";
3218 +
3219 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3220 +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
3221 +
3222 +var hasOwnProperty = uncurryThis({}.hasOwnProperty);
3223 +
3224 +// `HasOwnProperty` abstract operation
3225 +// https://tc39.es/ecma262/#sec-hasownproperty
3226 +// eslint-disable-next-line es/no-object-hasown -- safe
3227 +module.exports = Object.hasOwn || function hasOwn(it, key) {
3228 + return hasOwnProperty(toObject(it), key);
3229 +};
3230 +
3231 +
3232 +/***/ }),
3233 +
3234 +/***/ "../node_modules/core-js/internals/hidden-keys.js":
3235 +/*!********************************************************!*\
3236 + !*** ../node_modules/core-js/internals/hidden-keys.js ***!
3237 + \********************************************************/
3238 +/***/ ((module) => {
3239 +
3240 +"use strict";
3241 +
3242 +module.exports = {};
3243 +
3244 +
3245 +/***/ }),
3246 +
3247 +/***/ "../node_modules/core-js/internals/ie8-dom-define.js":
3248 +/*!***********************************************************!*\
3249 + !*** ../node_modules/core-js/internals/ie8-dom-define.js ***!
3250 + \***********************************************************/
3251 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3252 +
3253 +"use strict";
3254 +
3255 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3256 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3257 +var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
3258 +
3259 +// Thanks to IE8 for its funny defineProperty
3260 +module.exports = !DESCRIPTORS && !fails(function () {
3261 + // eslint-disable-next-line es/no-object-defineproperty -- required for testing
3262 + return Object.defineProperty(createElement('div'), 'a', {
3263 + get: function () { return 7; }
3264 + }).a != 7;
3265 +});
3266 +
3267 +
3268 +/***/ }),
3269 +
3270 +/***/ "../node_modules/core-js/internals/indexed-object.js":
3271 +/*!***********************************************************!*\
3272 + !*** ../node_modules/core-js/internals/indexed-object.js ***!
3273 + \***********************************************************/
3274 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3275 +
3276 +"use strict";
3277 +
3278 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3279 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3280 +var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
3281 +
3282 +var $Object = Object;
3283 +var split = uncurryThis(''.split);
3284 +
3285 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
3286 +module.exports = fails(function () {
3287 + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
3288 + // eslint-disable-next-line no-prototype-builtins -- safe
3289 + return !$Object('z').propertyIsEnumerable(0);
3290 +}) ? function (it) {
3291 + return classof(it) == 'String' ? split(it, '') : $Object(it);
3292 +} : $Object;
3293 +
3294 +
3295 +/***/ }),
3296 +
3297 +/***/ "../node_modules/core-js/internals/inherit-if-required.js":
3298 +/*!****************************************************************!*\
3299 + !*** ../node_modules/core-js/internals/inherit-if-required.js ***!
3300 + \****************************************************************/
3301 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3302 +
3303 +"use strict";
3304 +
3305 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3306 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3307 +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js");
3308 +
3309 +// makes subclassing work correct for wrapped built-ins
3310 +module.exports = function ($this, dummy, Wrapper) {
3311 + var NewTarget, NewTargetPrototype;
3312 + if (
3313 + // it can work only with native `setPrototypeOf`
3314 + setPrototypeOf &&
3315 + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
3316 + isCallable(NewTarget = dummy.constructor) &&
3317 + NewTarget !== Wrapper &&
3318 + isObject(NewTargetPrototype = NewTarget.prototype) &&
3319 + NewTargetPrototype !== Wrapper.prototype
3320 + ) setPrototypeOf($this, NewTargetPrototype);
3321 + return $this;
3322 +};
3323 +
3324 +
3325 +/***/ }),
3326 +
3327 +/***/ "../node_modules/core-js/internals/inspect-source.js":
3328 +/*!***********************************************************!*\
3329 + !*** ../node_modules/core-js/internals/inspect-source.js ***!
3330 + \***********************************************************/
3331 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3332 +
3333 +"use strict";
3334 +
3335 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3336 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3337 +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
3338 +
3339 +var functionToString = uncurryThis(Function.toString);
3340 +
3341 +// this helper broken in `[email protected]`, so we can't use `shared` helper
3342 +if (!isCallable(store.inspectSource)) {
3343 + store.inspectSource = function (it) {
3344 + return functionToString(it);
3345 + };
3346 +}
3347 +
3348 +module.exports = store.inspectSource;
3349 +
3350 +
3351 +/***/ }),
3352 +
3353 +/***/ "../node_modules/core-js/internals/install-error-cause.js":
3354 +/*!****************************************************************!*\
3355 + !*** ../node_modules/core-js/internals/install-error-cause.js ***!
3356 + \****************************************************************/
3357 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3358 +
3359 +"use strict";
3360 +
3361 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3362 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
3363 +
3364 +// `InstallErrorCause` abstract operation
3365 +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
3366 +module.exports = function (O, options) {
3367 + if (isObject(options) && 'cause' in options) {
3368 + createNonEnumerableProperty(O, 'cause', options.cause);
3369 + }
3370 +};
3371 +
3372 +
3373 +/***/ }),
3374 +
3375 +/***/ "../node_modules/core-js/internals/internal-state.js":
3376 +/*!***********************************************************!*\
3377 + !*** ../node_modules/core-js/internals/internal-state.js ***!
3378 + \***********************************************************/
3379 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3380 +
3381 +"use strict";
3382 +
3383 +var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js");
3384 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
3385 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3386 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
3387 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3388 +var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
3389 +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
3390 +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
3391 +
3392 +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
3393 +var TypeError = global.TypeError;
3394 +var WeakMap = global.WeakMap;
3395 +var set, get, has;
3396 +
3397 +var enforce = function (it) {
3398 + return has(it) ? get(it) : set(it, {});
3399 +};
3400 +
3401 +var getterFor = function (TYPE) {
3402 + return function (it) {
3403 + var state;
3404 + if (!isObject(it) || (state = get(it)).type !== TYPE) {
3405 + throw TypeError('Incompatible receiver, ' + TYPE + ' required');
3406 + } return state;
3407 + };
3408 +};
3409 +
3410 +if (NATIVE_WEAK_MAP || shared.state) {
3411 + var store = shared.state || (shared.state = new WeakMap());
3412 + /* eslint-disable no-self-assign -- prototype methods protection */
3413 + store.get = store.get;
3414 + store.has = store.has;
3415 + store.set = store.set;
3416 + /* eslint-enable no-self-assign -- prototype methods protection */
3417 + set = function (it, metadata) {
3418 + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
3419 + metadata.facade = it;
3420 + store.set(it, metadata);
3421 + return metadata;
3422 + };
3423 + get = function (it) {
3424 + return store.get(it) || {};
3425 + };
3426 + has = function (it) {
3427 + return store.has(it);
3428 + };
3429 +} else {
3430 + var STATE = sharedKey('state');
3431 + hiddenKeys[STATE] = true;
3432 + set = function (it, metadata) {
3433 + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
3434 + metadata.facade = it;
3435 + createNonEnumerableProperty(it, STATE, metadata);
3436 + return metadata;
3437 + };
3438 + get = function (it) {
3439 + return hasOwn(it, STATE) ? it[STATE] : {};
3440 + };
3441 + has = function (it) {
3442 + return hasOwn(it, STATE);
3443 + };
3444 +}
3445 +
3446 +module.exports = {
3447 + set: set,
3448 + get: get,
3449 + has: has,
3450 + enforce: enforce,
3451 + getterFor: getterFor
3452 +};
3453 +
3454 +
3455 +/***/ }),
3456 +
3457 +/***/ "../node_modules/core-js/internals/is-callable.js":
3458 +/*!********************************************************!*\
3459 + !*** ../node_modules/core-js/internals/is-callable.js ***!
3460 + \********************************************************/
3461 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3462 +
3463 +"use strict";
3464 +
3465 +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js");
3466 +
3467 +var documentAll = $documentAll.all;
3468 +
3469 +// `IsCallable` abstract operation
3470 +// https://tc39.es/ecma262/#sec-iscallable
3471 +module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
3472 + return typeof argument == 'function' || argument === documentAll;
3473 +} : function (argument) {
3474 + return typeof argument == 'function';
3475 +};
3476 +
3477 +
3478 +/***/ }),
3479 +
3480 +/***/ "../node_modules/core-js/internals/is-forced.js":
3481 +/*!******************************************************!*\
3482 + !*** ../node_modules/core-js/internals/is-forced.js ***!
3483 + \******************************************************/
3484 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3485 +
3486 +"use strict";
3487 +
3488 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3489 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3490 +
3491 +var replacement = /#|\.prototype\./;
3492 +
3493 +var isForced = function (feature, detection) {
3494 + var value = data[normalize(feature)];
3495 + return value == POLYFILL ? true
3496 + : value == NATIVE ? false
3497 + : isCallable(detection) ? fails(detection)
3498 + : !!detection;
3499 +};
3500 +
3501 +var normalize = isForced.normalize = function (string) {
3502 + return String(string).replace(replacement, '.').toLowerCase();
3503 +};
3504 +
3505 +var data = isForced.data = {};
3506 +var NATIVE = isForced.NATIVE = 'N';
3507 +var POLYFILL = isForced.POLYFILL = 'P';
3508 +
3509 +module.exports = isForced;
3510 +
3511 +
3512 +/***/ }),
3513 +
3514 +/***/ "../node_modules/core-js/internals/is-null-or-undefined.js":
3515 +/*!*****************************************************************!*\
3516 + !*** ../node_modules/core-js/internals/is-null-or-undefined.js ***!
3517 + \*****************************************************************/
3518 +/***/ ((module) => {
3519 +
3520 +"use strict";
3521 +
3522 +// we can't use just `it == null` since of `document.all` special case
3523 +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
3524 +module.exports = function (it) {
3525 + return it === null || it === undefined;
3526 +};
3527 +
3528 +
3529 +/***/ }),
3530 +
3531 +/***/ "../node_modules/core-js/internals/is-object.js":
3532 +/*!******************************************************!*\
3533 + !*** ../node_modules/core-js/internals/is-object.js ***!
3534 + \******************************************************/
3535 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3536 +
3537 +"use strict";
3538 +
3539 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3540 +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js");
3541 +
3542 +var documentAll = $documentAll.all;
3543 +
3544 +module.exports = $documentAll.IS_HTMLDDA ? function (it) {
3545 + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
3546 +} : function (it) {
3547 + return typeof it == 'object' ? it !== null : isCallable(it);
3548 +};
3549 +
3550 +
3551 +/***/ }),
3552 +
3553 +/***/ "../node_modules/core-js/internals/is-pure.js":
3554 +/*!****************************************************!*\
3555 + !*** ../node_modules/core-js/internals/is-pure.js ***!
3556 + \****************************************************/
3557 +/***/ ((module) => {
3558 +
3559 +"use strict";
3560 +
3561 +module.exports = false;
3562 +
3563 +
3564 +/***/ }),
3565 +
3566 +/***/ "../node_modules/core-js/internals/is-symbol.js":
3567 +/*!******************************************************!*\
3568 + !*** ../node_modules/core-js/internals/is-symbol.js ***!
3569 + \******************************************************/
3570 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3571 +
3572 +"use strict";
3573 +
3574 +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
3575 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3576 +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
3577 +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
3578 +
3579 +var $Object = Object;
3580 +
3581 +module.exports = USE_SYMBOL_AS_UID ? function (it) {
3582 + return typeof it == 'symbol';
3583 +} : function (it) {
3584 + var $Symbol = getBuiltIn('Symbol');
3585 + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
3586 +};
3587 +
3588 +
3589 +/***/ }),
3590 +
3591 +/***/ "../node_modules/core-js/internals/length-of-array-like.js":
3592 +/*!*****************************************************************!*\
3593 + !*** ../node_modules/core-js/internals/length-of-array-like.js ***!
3594 + \*****************************************************************/
3595 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3596 +
3597 +"use strict";
3598 +
3599 +var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js");
3600 +
3601 +// `LengthOfArrayLike` abstract operation
3602 +// https://tc39.es/ecma262/#sec-lengthofarraylike
3603 +module.exports = function (obj) {
3604 + return toLength(obj.length);
3605 +};
3606 +
3607 +
3608 +/***/ }),
3609 +
3610 +/***/ "../node_modules/core-js/internals/make-built-in.js":
3611 +/*!**********************************************************!*\
3612 + !*** ../node_modules/core-js/internals/make-built-in.js ***!
3613 + \**********************************************************/
3614 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3615 +
3616 +"use strict";
3617 +
3618 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3619 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3620 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3621 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3622 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3623 +var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
3624 +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js");
3625 +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
3626 +
3627 +var enforceInternalState = InternalStateModule.enforce;
3628 +var getInternalState = InternalStateModule.get;
3629 +var $String = String;
3630 +// eslint-disable-next-line es/no-object-defineproperty -- safe
3631 +var defineProperty = Object.defineProperty;
3632 +var stringSlice = uncurryThis(''.slice);
3633 +var replace = uncurryThis(''.replace);
3634 +var join = uncurryThis([].join);
3635 +
3636 +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
3637 + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
3638 +});
3639 +
3640 +var TEMPLATE = String(String).split('String');
3641 +
3642 +var makeBuiltIn = module.exports = function (value, name, options) {
3643 + if (stringSlice($String(name), 0, 7) === 'Symbol(') {
3644 + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
3645 + }
3646 + if (options && options.getter) name = 'get ' + name;
3647 + if (options && options.setter) name = 'set ' + name;
3648 + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
3649 + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
3650 + else value.name = name;
3651 + }
3652 + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
3653 + defineProperty(value, 'length', { value: options.arity });
3654 + }
3655 + try {
3656 + if (options && hasOwn(options, 'constructor') && options.constructor) {
3657 + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
3658 + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
3659 + } else if (value.prototype) value.prototype = undefined;
3660 + } catch (error) { /* empty */ }
3661 + var state = enforceInternalState(value);
3662 + if (!hasOwn(state, 'source')) {
3663 + state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
3664 + } return value;
3665 +};
3666 +
3667 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
3668 +// eslint-disable-next-line no-extend-native -- required
3669 +Function.prototype.toString = makeBuiltIn(function toString() {
3670 + return isCallable(this) && getInternalState(this).source || inspectSource(this);
3671 +}, 'toString');
3672 +
3673 +
3674 +/***/ }),
3675 +
3676 +/***/ "../node_modules/core-js/internals/math-trunc.js":
3677 +/*!*******************************************************!*\
3678 + !*** ../node_modules/core-js/internals/math-trunc.js ***!
3679 + \*******************************************************/
3680 +/***/ ((module) => {
3681 +
3682 +"use strict";
3683 +
3684 +var ceil = Math.ceil;
3685 +var floor = Math.floor;
3686 +
3687 +// `Math.trunc` method
3688 +// https://tc39.es/ecma262/#sec-math.trunc
3689 +// eslint-disable-next-line es/no-math-trunc -- safe
3690 +module.exports = Math.trunc || function trunc(x) {
3691 + var n = +x;
3692 + return (n > 0 ? floor : ceil)(n);
3693 +};
3694 +
3695 +
3696 +/***/ }),
3697 +
3698 +/***/ "../node_modules/core-js/internals/normalize-string-argument.js":
3699 +/*!**********************************************************************!*\
3700 + !*** ../node_modules/core-js/internals/normalize-string-argument.js ***!
3701 + \**********************************************************************/
3702 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3703 +
3704 +"use strict";
3705 +
3706 +var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
3707 +
3708 +module.exports = function (argument, $default) {
3709 + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
3710 +};
3711 +
3712 +
3713 +/***/ }),
3714 +
3715 +/***/ "../node_modules/core-js/internals/object-define-property.js":
3716 +/*!*******************************************************************!*\
3717 + !*** ../node_modules/core-js/internals/object-define-property.js ***!
3718 + \*******************************************************************/
3719 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3720 +
3721 +"use strict";
3722 +
3723 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3724 +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
3725 +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
3726 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3727 +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
3728 +
3729 +var $TypeError = TypeError;
3730 +// eslint-disable-next-line es/no-object-defineproperty -- safe
3731 +var $defineProperty = Object.defineProperty;
3732 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3733 +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3734 +var ENUMERABLE = 'enumerable';
3735 +var CONFIGURABLE = 'configurable';
3736 +var WRITABLE = 'writable';
3737 +
3738 +// `Object.defineProperty` method
3739 +// https://tc39.es/ecma262/#sec-object.defineproperty
3740 +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
3741 + anObject(O);
3742 + P = toPropertyKey(P);
3743 + anObject(Attributes);
3744 + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
3745 + var current = $getOwnPropertyDescriptor(O, P);
3746 + if (current && current[WRITABLE]) {
3747 + O[P] = Attributes.value;
3748 + Attributes = {
3749 + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
3750 + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
3751 + writable: false
3752 + };
3753 + }
3754 + } return $defineProperty(O, P, Attributes);
3755 +} : $defineProperty : function defineProperty(O, P, Attributes) {
3756 + anObject(O);
3757 + P = toPropertyKey(P);
3758 + anObject(Attributes);
3759 + if (IE8_DOM_DEFINE) try {
3760 + return $defineProperty(O, P, Attributes);
3761 + } catch (error) { /* empty */ }
3762 + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
3763 + if ('value' in Attributes) O[P] = Attributes.value;
3764 + return O;
3765 +};
3766 +
3767 +
3768 +/***/ }),
3769 +
3770 +/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js":
3771 +/*!*******************************************************************************!*\
3772 + !*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
3773 + \*******************************************************************************/
3774 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3775 +
3776 +"use strict";
3777 +
3778 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3779 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
3780 +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js");
3781 +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
3782 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
3783 +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
3784 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3785 +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
3786 +
3787 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3788 +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3789 +
3790 +// `Object.getOwnPropertyDescriptor` method
3791 +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
3792 +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
3793 + O = toIndexedObject(O);
3794 + P = toPropertyKey(P);
3795 + if (IE8_DOM_DEFINE) try {
3796 + return $getOwnPropertyDescriptor(O, P);
3797 + } catch (error) { /* empty */ }
3798 + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
3799 +};
3800 +
3801 +
3802 +/***/ }),
3803 +
3804 +/***/ "../node_modules/core-js/internals/object-get-own-property-names.js":
3805 +/*!**************************************************************************!*\
3806 + !*** ../node_modules/core-js/internals/object-get-own-property-names.js ***!
3807 + \**************************************************************************/
3808 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3809 +
3810 +"use strict";
3811 +
3812 +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
3813 +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
3814 +
3815 +var hiddenKeys = enumBugKeys.concat('length', 'prototype');
3816 +
3817 +// `Object.getOwnPropertyNames` method
3818 +// https://tc39.es/ecma262/#sec-object.getownpropertynames
3819 +// eslint-disable-next-line es/no-object-getownpropertynames -- safe
3820 +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
3821 + return internalObjectKeys(O, hiddenKeys);
3822 +};
3823 +
3824 +
3825 +/***/ }),
3826 +
3827 +/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js":
3828 +/*!****************************************************************************!*\
3829 + !*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***!
3830 + \****************************************************************************/
3831 +/***/ ((__unused_webpack_module, exports) => {
3832 +
3833 +"use strict";
3834 +
3835 +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
3836 +exports.f = Object.getOwnPropertySymbols;
3837 +
3838 +
3839 +/***/ }),
3840 +
3841 +/***/ "../node_modules/core-js/internals/object-is-prototype-of.js":
3842 +/*!*******************************************************************!*\
3843 + !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***!
3844 + \*******************************************************************/
3845 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3846 +
3847 +"use strict";
3848 +
3849 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3850 +
3851 +module.exports = uncurryThis({}.isPrototypeOf);
3852 +
3853 +
3854 +/***/ }),
3855 +
3856 +/***/ "../node_modules/core-js/internals/object-keys-internal.js":
3857 +/*!*****************************************************************!*\
3858 + !*** ../node_modules/core-js/internals/object-keys-internal.js ***!
3859 + \*****************************************************************/
3860 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3861 +
3862 +"use strict";
3863 +
3864 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3865 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3866 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
3867 +var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf);
3868 +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
3869 +
3870 +var push = uncurryThis([].push);
3871 +
3872 +module.exports = function (object, names) {
3873 + var O = toIndexedObject(object);
3874 + var i = 0;
3875 + var result = [];
3876 + var key;
3877 + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
3878 + // Don't enum bug & hidden keys
3879 + while (names.length > i) if (hasOwn(O, key = names[i++])) {
3880 + ~indexOf(result, key) || push(result, key);
3881 + }
3882 + return result;
3883 +};
3884 +
3885 +
3886 +/***/ }),
3887 +
3888 +/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js":
3889 +/*!**************************************************************************!*\
3890 + !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***!
3891 + \**************************************************************************/
3892 +/***/ ((__unused_webpack_module, exports) => {
3893 +
3894 +"use strict";
3895 +
3896 +var $propertyIsEnumerable = {}.propertyIsEnumerable;
3897 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3898 +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3899 +
3900 +// Nashorn ~ JDK8 bug
3901 +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
3902 +
3903 +// `Object.prototype.propertyIsEnumerable` method implementation
3904 +// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
3905 +exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
3906 + var descriptor = getOwnPropertyDescriptor(this, V);
3907 + return !!descriptor && descriptor.enumerable;
3908 +} : $propertyIsEnumerable;
3909 +
3910 +
3911 +/***/ }),
3912 +
3913 +/***/ "../node_modules/core-js/internals/object-set-prototype-of.js":
3914 +/*!********************************************************************!*\
3915 + !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***!
3916 + \********************************************************************/
3917 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3918 +
3919 +"use strict";
3920 +
3921 +/* eslint-disable no-proto -- safe */
3922 +var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js");
3923 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3924 +var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js");
3925 +
3926 +// `Object.setPrototypeOf` method
3927 +// https://tc39.es/ecma262/#sec-object.setprototypeof
3928 +// Works with __proto__ only. Old v8 can't work with null proto objects.
3929 +// eslint-disable-next-line es/no-object-setprototypeof -- safe
3930 +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
3931 + var CORRECT_SETTER = false;
3932 + var test = {};
3933 + var setter;
3934 + try {
3935 + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
3936 + setter(test, []);
3937 + CORRECT_SETTER = test instanceof Array;
3938 + } catch (error) { /* empty */ }
3939 + return function setPrototypeOf(O, proto) {
3940 + anObject(O);
3941 + aPossiblePrototype(proto);
3942 + if (CORRECT_SETTER) setter(O, proto);
3943 + else O.__proto__ = proto;
3944 + return O;
3945 + };
3946 +}() : undefined);
3947 +
3948 +
3949 +/***/ }),
3950 +
3951 +/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js":
3952 +/*!******************************************************************!*\
3953 + !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***!
3954 + \******************************************************************/
3955 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3956 +
3957 +"use strict";
3958 +
3959 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
3960 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3961 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3962 +
3963 +var $TypeError = TypeError;
3964 +
3965 +// `OrdinaryToPrimitive` abstract operation
3966 +// https://tc39.es/ecma262/#sec-ordinarytoprimitive
3967 +module.exports = function (input, pref) {
3968 + var fn, val;
3969 + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
3970 + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
3971 + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
3972 + throw $TypeError("Can't convert object to primitive value");
3973 +};
3974 +
3975 +
3976 +/***/ }),
3977 +
3978 +/***/ "../node_modules/core-js/internals/own-keys.js":
3979 +/*!*****************************************************!*\
3980 + !*** ../node_modules/core-js/internals/own-keys.js ***!
3981 + \*****************************************************/
3982 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3983 +
3984 +"use strict";
3985 +
3986 +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
3987 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3988 +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js");
3989 +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js");
3990 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3991 +
3992 +var concat = uncurryThis([].concat);
3993 +
3994 +// all object keys, includes non-enumerable and symbols
3995 +module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
3996 + var keys = getOwnPropertyNamesModule.f(anObject(it));
3997 + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
3998 + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
3999 +};
4000 +
4001 +
4002 +/***/ }),
4003 +
4004 +/***/ "../node_modules/core-js/internals/proxy-accessor.js":
4005 +/*!***********************************************************!*\
4006 + !*** ../node_modules/core-js/internals/proxy-accessor.js ***!
4007 + \***********************************************************/
4008 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4009 +
4010 +"use strict";
4011 +
4012 +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f);
4013 +
4014 +module.exports = function (Target, Source, key) {
4015 + key in Target || defineProperty(Target, key, {
4016 + configurable: true,
4017 + get: function () { return Source[key]; },
4018 + set: function (it) { Source[key] = it; }
4019 + });
4020 +};
4021 +
4022 +
4023 +/***/ }),
4024 +
4025 +/***/ "../node_modules/core-js/internals/require-object-coercible.js":
4026 +/*!*********************************************************************!*\
4027 + !*** ../node_modules/core-js/internals/require-object-coercible.js ***!
4028 + \*********************************************************************/
4029 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4030 +
4031 +"use strict";
4032 +
4033 +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
4034 +
4035 +var $TypeError = TypeError;
4036 +
4037 +// `RequireObjectCoercible` abstract operation
4038 +// https://tc39.es/ecma262/#sec-requireobjectcoercible
4039 +module.exports = function (it) {
4040 + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
4041 + return it;
4042 +};
4043 +
4044 +
4045 +/***/ }),
4046 +
4047 +/***/ "../node_modules/core-js/internals/shared-key.js":
4048 +/*!*******************************************************!*\
4049 + !*** ../node_modules/core-js/internals/shared-key.js ***!
4050 + \*******************************************************/
4051 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4052 +
4053 +"use strict";
4054 +
4055 +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
4056 +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
4057 +
4058 +var keys = shared('keys');
4059 +
4060 +module.exports = function (key) {
4061 + return keys[key] || (keys[key] = uid(key));
4062 +};
4063 +
4064 +
4065 +/***/ }),
4066 +
4067 +/***/ "../node_modules/core-js/internals/shared-store.js":
4068 +/*!*********************************************************!*\
4069 + !*** ../node_modules/core-js/internals/shared-store.js ***!
4070 + \*********************************************************/
4071 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4072 +
4073 +"use strict";
4074 +
4075 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
4076 +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
4077 +
4078 +var SHARED = '__core-js_shared__';
4079 +var store = global[SHARED] || defineGlobalProperty(SHARED, {});
4080 +
4081 +module.exports = store;
4082 +
4083 +
4084 +/***/ }),
4085 +
4086 +/***/ "../node_modules/core-js/internals/shared.js":
4087 +/*!***************************************************!*\
4088 + !*** ../node_modules/core-js/internals/shared.js ***!
4089 + \***************************************************/
4090 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4091 +
4092 +"use strict";
4093 +
4094 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
4095 +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
4096 +
4097 +(module.exports = function (key, value) {
4098 + return store[key] || (store[key] = value !== undefined ? value : {});
4099 +})('versions', []).push({
4100 + version: '3.32.0',
4101 + mode: IS_PURE ? 'pure' : 'global',
4102 + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
4103 + license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE',
4104 + source: 'https://github.com/zloirock/core-js'
4105 +});
4106 +
4107 +
4108 +/***/ }),
4109 +
4110 +/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js":
4111 +/*!*************************************************************************!*\
4112 + !*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***!
4113 + \*************************************************************************/
4114 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4115 +
4116 +"use strict";
4117 +
4118 +/* eslint-disable es/no-symbol -- required for testing */
4119 +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js");
4120 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4121 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
4122 +
4123 +var $String = global.String;
4124 +
4125 +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
4126 +module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
4127 + var symbol = Symbol();
4128 + // Chrome 38 Symbol has incorrect toString conversion
4129 + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
4130 + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
4131 + // of course, fail.
4132 + return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
4133 + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
4134 + !Symbol.sham && V8_VERSION && V8_VERSION < 41;
4135 +});
4136 +
4137 +
4138 +/***/ }),
4139 +
4140 +/***/ "../node_modules/core-js/internals/to-absolute-index.js":
4141 +/*!**************************************************************!*\
4142 + !*** ../node_modules/core-js/internals/to-absolute-index.js ***!
4143 + \**************************************************************/
4144 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4145 +
4146 +"use strict";
4147 +
4148 +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
4149 +
4150 +var max = Math.max;
4151 +var min = Math.min;
4152 +
4153 +// Helper for a popular repeating case of the spec:
4154 +// Let integer be ? ToInteger(index).
4155 +// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
4156 +module.exports = function (index, length) {
4157 + var integer = toIntegerOrInfinity(index);
4158 + return integer < 0 ? max(integer + length, 0) : min(integer, length);
4159 +};
4160 +
4161 +
4162 +/***/ }),
4163 +
4164 +/***/ "../node_modules/core-js/internals/to-indexed-object.js":
4165 +/*!**************************************************************!*\
4166 + !*** ../node_modules/core-js/internals/to-indexed-object.js ***!
4167 + \**************************************************************/
4168 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4169 +
4170 +"use strict";
4171 +
4172 +// toObject with fallback for non-array-like ES3 strings
4173 +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js");
4174 +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
4175 +
4176 +module.exports = function (it) {
4177 + return IndexedObject(requireObjectCoercible(it));
4178 +};
4179 +
4180 +
4181 +/***/ }),
4182 +
4183 +/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js":
4184 +/*!*******************************************************************!*\
4185 + !*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***!
4186 + \*******************************************************************/
4187 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4188 +
4189 +"use strict";
4190 +
4191 +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js");
4192 +
4193 +// `ToIntegerOrInfinity` abstract operation
4194 +// https://tc39.es/ecma262/#sec-tointegerorinfinity
4195 +module.exports = function (argument) {
4196 + var number = +argument;
4197 + // eslint-disable-next-line no-self-compare -- NaN check
4198 + return number !== number || number === 0 ? 0 : trunc(number);
4199 +};
4200 +
4201 +
4202 +/***/ }),
4203 +
4204 +/***/ "../node_modules/core-js/internals/to-length.js":
4205 +/*!******************************************************!*\
4206 + !*** ../node_modules/core-js/internals/to-length.js ***!
4207 + \******************************************************/
4208 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4209 +
4210 +"use strict";
4211 +
4212 +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
4213 +
4214 +var min = Math.min;
4215 +
4216 +// `ToLength` abstract operation
4217 +// https://tc39.es/ecma262/#sec-tolength
4218 +module.exports = function (argument) {
4219 + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
4220 +};
4221 +
4222 +
4223 +/***/ }),
4224 +
4225 +/***/ "../node_modules/core-js/internals/to-object.js":
4226 +/*!******************************************************!*\
4227 + !*** ../node_modules/core-js/internals/to-object.js ***!
4228 + \******************************************************/
4229 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4230 +
4231 +"use strict";
4232 +
4233 +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
4234 +
4235 +var $Object = Object;
4236 +
4237 +// `ToObject` abstract operation
4238 +// https://tc39.es/ecma262/#sec-toobject
4239 +module.exports = function (argument) {
4240 + return $Object(requireObjectCoercible(argument));
4241 +};
4242 +
4243 +
4244 +/***/ }),
4245 +
4246 +/***/ "../node_modules/core-js/internals/to-primitive.js":
4247 +/*!*********************************************************!*\
4248 + !*** ../node_modules/core-js/internals/to-primitive.js ***!
4249 + \*********************************************************/
4250 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4251 +
4252 +"use strict";
4253 +
4254 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
4255 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
4256 +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
4257 +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
4258 +var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js");
4259 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
4260 +
4261 +var $TypeError = TypeError;
4262 +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
4263 +
4264 +// `ToPrimitive` abstract operation
4265 +// https://tc39.es/ecma262/#sec-toprimitive
4266 +module.exports = function (input, pref) {
4267 + if (!isObject(input) || isSymbol(input)) return input;
4268 + var exoticToPrim = getMethod(input, TO_PRIMITIVE);
4269 + var result;
4270 + if (exoticToPrim) {
4271 + if (pref === undefined) pref = 'default';
4272 + result = call(exoticToPrim, input, pref);
4273 + if (!isObject(result) || isSymbol(result)) return result;
4274 + throw $TypeError("Can't convert object to primitive value");
4275 + }
4276 + if (pref === undefined) pref = 'number';
4277 + return ordinaryToPrimitive(input, pref);
4278 +};
4279 +
4280 +
4281 +/***/ }),
4282 +
4283 +/***/ "../node_modules/core-js/internals/to-property-key.js":
4284 +/*!************************************************************!*\
4285 + !*** ../node_modules/core-js/internals/to-property-key.js ***!
4286 + \************************************************************/
4287 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4288 +
4289 +"use strict";
4290 +
4291 +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js");
4292 +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
4293 +
4294 +// `ToPropertyKey` abstract operation
4295 +// https://tc39.es/ecma262/#sec-topropertykey
4296 +module.exports = function (argument) {
4297 + var key = toPrimitive(argument, 'string');
4298 + return isSymbol(key) ? key : key + '';
4299 +};
4300 +
4301 +
4302 +/***/ }),
4303 +
4304 +/***/ "../node_modules/core-js/internals/to-string-tag-support.js":
4305 +/*!******************************************************************!*\
4306 + !*** ../node_modules/core-js/internals/to-string-tag-support.js ***!
4307 + \******************************************************************/
4308 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4309 +
4310 +"use strict";
4311 +
4312 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
4313 +
4314 +var TO_STRING_TAG = wellKnownSymbol('toStringTag');
4315 +var test = {};
4316 +
4317 +test[TO_STRING_TAG] = 'z';
4318 +
4319 +module.exports = String(test) === '[object z]';
4320 +
4321 +
4322 +/***/ }),
4323 +
4324 +/***/ "../node_modules/core-js/internals/to-string.js":
4325 +/*!******************************************************!*\
4326 + !*** ../node_modules/core-js/internals/to-string.js ***!
4327 + \******************************************************/
4328 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4329 +
4330 +"use strict";
4331 +
4332 +var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
4333 +
4334 +var $String = String;
4335 +
4336 +module.exports = function (argument) {
4337 + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
4338 + return $String(argument);
4339 +};
4340 +
4341 +
4342 +/***/ }),
4343 +
4344 +/***/ "../node_modules/core-js/internals/try-to-string.js":
4345 +/*!**********************************************************!*\
4346 + !*** ../node_modules/core-js/internals/try-to-string.js ***!
4347 + \**********************************************************/
4348 +/***/ ((module) => {
4349 +
4350 +"use strict";
4351 +
4352 +var $String = String;
4353 +
4354 +module.exports = function (argument) {
4355 + try {
4356 + return $String(argument);
4357 + } catch (error) {
4358 + return 'Object';
4359 + }
4360 +};
4361 +
4362 +
4363 +/***/ }),
4364 +
4365 +/***/ "../node_modules/core-js/internals/uid.js":
4366 +/*!************************************************!*\
4367 + !*** ../node_modules/core-js/internals/uid.js ***!
4368 + \************************************************/
4369 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4370 +
4371 +"use strict";
4372 +
4373 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
4374 +
4375 +var id = 0;
4376 +var postfix = Math.random();
4377 +var toString = uncurryThis(1.0.toString);
4378 +
4379 +module.exports = function (key) {
4380 + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
4381 +};
4382 +
4383 +
4384 +/***/ }),
4385 +
4386 +/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js":
4387 +/*!**************************************************************!*\
4388 + !*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***!
4389 + \**************************************************************/
4390 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4391 +
4392 +"use strict";
4393 +
4394 +/* eslint-disable es/no-symbol -- required for testing */
4395 +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
4396 +
4397 +module.exports = NATIVE_SYMBOL
4398 + && !Symbol.sham
4399 + && typeof Symbol.iterator == 'symbol';
4400 +
4401 +
4402 +/***/ }),
4403 +
4404 +/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js":
4405 +/*!********************************************************************!*\
4406 + !*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
4407 + \********************************************************************/
4408 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4409 +
4410 +"use strict";
4411 +
4412 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
4413 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4414 +
4415 +// V8 ~ Chrome 36-
4416 +// https://bugs.chromium.org/p/v8/issues/detail?id=3334
4417 +module.exports = DESCRIPTORS && fails(function () {
4418 + // eslint-disable-next-line es/no-object-defineproperty -- required for testing
4419 + return Object.defineProperty(function () { /* empty */ }, 'prototype', {
4420 + value: 42,
4421 + writable: false
4422 + }).prototype != 42;
4423 +});
4424 +
4425 +
4426 +/***/ }),
4427 +
4428 +/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js":
4429 +/*!*********************************************************************!*\
4430 + !*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***!
4431 + \*********************************************************************/
4432 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4433 +
4434 +"use strict";
4435 +
4436 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
4437 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4438 +
4439 +var WeakMap = global.WeakMap;
4440 +
4441 +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
4442 +
4443 +
4444 +/***/ }),
4445 +
4446 +/***/ "../node_modules/core-js/internals/well-known-symbol.js":
4447 +/*!**************************************************************!*\
4448 + !*** ../node_modules/core-js/internals/well-known-symbol.js ***!
4449 + \**************************************************************/
4450 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4451 +
4452 +"use strict";
4453 +
4454 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
4455 +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
4456 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
4457 +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
4458 +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
4459 +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
4460 +
4461 +var Symbol = global.Symbol;
4462 +var WellKnownSymbolsStore = shared('wks');
4463 +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
4464 +
4465 +module.exports = function (name) {
4466 + if (!hasOwn(WellKnownSymbolsStore, name)) {
4467 + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
4468 + ? Symbol[name]
4469 + : createWellKnownSymbol('Symbol.' + name);
4470 + } return WellKnownSymbolsStore[name];
4471 +};
4472 +
4473 +
4474 +/***/ }),
4475 +
4476 +/***/ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js":
4477 +/*!******************************************************************************!*\
4478 + !*** ../node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***!
4479 + \******************************************************************************/
4480 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4481 +
4482 +"use strict";
4483 +
4484 +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
4485 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
4486 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
4487 +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
4488 +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js");
4489 +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
4490 +var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "../node_modules/core-js/internals/proxy-accessor.js");
4491 +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js");
4492 +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js");
4493 +var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "../node_modules/core-js/internals/install-error-cause.js");
4494 +var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "../node_modules/core-js/internals/error-stack-install.js");
4495 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
4496 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
4497 +
4498 +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
4499 + var STACK_TRACE_LIMIT = 'stackTraceLimit';
4500 + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
4501 + var path = FULL_NAME.split('.');
4502 + var ERROR_NAME = path[path.length - 1];
4503 + var OriginalError = getBuiltIn.apply(null, path);
4504 +
4505 + if (!OriginalError) return;
4506 +
4507 + var OriginalErrorPrototype = OriginalError.prototype;
4508 +
4509 + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
4510 + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
4511 +
4512 + if (!FORCED) return OriginalError;
4513 +
4514 + var BaseError = getBuiltIn('Error');
4515 +
4516 + var WrappedError = wrapper(function (a, b) {
4517 + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
4518 + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
4519 + if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
4520 + installErrorStack(result, WrappedError, result.stack, 2);
4521 + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
4522 + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
4523 + return result;
4524 + });
4525 +
4526 + WrappedError.prototype = OriginalErrorPrototype;
4527 +
4528 + if (ERROR_NAME !== 'Error') {
4529 + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
4530 + else copyConstructorProperties(WrappedError, BaseError, { name: true });
4531 + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
4532 + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
4533 + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
4534 + }
4535 +
4536 + copyConstructorProperties(WrappedError, OriginalError);
4537 +
4538 + if (!IS_PURE) try {
4539 + // Safari 13- bug: WebAssembly errors does not have a proper `.name`
4540 + if (OriginalErrorPrototype.name !== ERROR_NAME) {
4541 + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
4542 + }
4543 + OriginalErrorPrototype.constructor = WrappedError;
4544 + } catch (error) { /* empty */ }
4545 +
4546 + return WrappedError;
4547 +};
4548 +
4549 +
4550 +/***/ }),
4551 +
4552 +/***/ "../node_modules/core-js/modules/es.error.cause.js":
4553 +/*!*********************************************************!*\
4554 + !*** ../node_modules/core-js/modules/es.error.cause.js ***!
4555 + \*********************************************************/
4556 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
4557 +
4558 +"use strict";
4559 +
4560 +/* eslint-disable no-unused-vars -- required for functions `.length` */
4561 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
4562 +var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
4563 +var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js");
4564 +var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js");
4565 +
4566 +var WEB_ASSEMBLY = 'WebAssembly';
4567 +var WebAssembly = global[WEB_ASSEMBLY];
4568 +
4569 +var FORCED = Error('e', { cause: 7 }).cause !== 7;
4570 +
4571 +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4572 + var O = {};
4573 + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
4574 + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
4575 +};
4576 +
4577 +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4578 + if (WebAssembly && WebAssembly[ERROR_NAME]) {
4579 + var O = {};
4580 + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
4581 + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
4582 + }
4583 +};
4584 +
4585 +// https://tc39.es/ecma262/#sec-nativeerror
4586 +exportGlobalErrorCauseWrapper('Error', function (init) {
4587 + return function Error(message) { return apply(init, this, arguments); };
4588 +});
4589 +exportGlobalErrorCauseWrapper('EvalError', function (init) {
4590 + return function EvalError(message) { return apply(init, this, arguments); };
4591 +});
4592 +exportGlobalErrorCauseWrapper('RangeError', function (init) {
4593 + return function RangeError(message) { return apply(init, this, arguments); };
4594 +});
4595 +exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
4596 + return function ReferenceError(message) { return apply(init, this, arguments); };
4597 +});
4598 +exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
4599 + return function SyntaxError(message) { return apply(init, this, arguments); };
4600 +});
4601 +exportGlobalErrorCauseWrapper('TypeError', function (init) {
4602 + return function TypeError(message) { return apply(init, this, arguments); };
4603 +});
4604 +exportGlobalErrorCauseWrapper('URIError', function (init) {
4605 + return function URIError(message) { return apply(init, this, arguments); };
4606 +});
4607 +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
4608 + return function CompileError(message) { return apply(init, this, arguments); };
4609 +});
4610 +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
4611 + return function LinkError(message) { return apply(init, this, arguments); };
4612 +});
4613 +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
4614 + return function RuntimeError(message) { return apply(init, this, arguments); };
4615 +});
4616 +
4617 +
4618 +/***/ }),
4619 +
4620 +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
4621 +/*!***********************************************************************!*\
4622 + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
4623 + \***********************************************************************/
4624 +/***/ ((module) => {
4625 +
4626 +function _interopRequireDefault(obj) {
4627 + return obj && obj.__esModule ? obj : {
4628 + "default": obj
4629 + };
4630 +}
4631 +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
4632 +
4633 +/***/ })
4634 +
4635 +},
4636 +/******/ __webpack_require__ => { // webpackRuntimeModules
4637 +/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
4638 +/******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js"));
4639 +/******/ }
4640 +]);
3411 4641 //# sourceMappingURL=frontend-modules.js.map