PluginProbe
Elementor Website Builder – more than just a page builder / 3.14.0-beta4
Elementor Website Builder – more than just a page builder v3.14.0-beta4
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
elementor / assets / js / frontend-modules.js

frontend-modules.js in Elementor Website Builder – more than just a page builder 3.14.0-beta4, at assets/js/frontend-modules.js

4,059 lines 157.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.14.0 - 12-06-2023 */
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
10 "use strict";
11
12
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;
36
37 /***/ }),
38
39 /***/ "../assets/dev/js/frontend/document.js":
40 /*!*********************************************!*\
41 !*** ../assets/dev/js/frontend/document.js ***!
42 \*********************************************/
43 /***/ ((__unused_webpack_module, exports) => {
44
45 "use strict";
46
47
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;
101
102 /***/ }),
103
104 /***/ "../assets/dev/js/frontend/handlers/base-carousel.js":
105 /*!***********************************************************!*\
106 !*** ../assets/dev/js/frontend/handlers/base-carousel.js ***!
107 \***********************************************************/
108 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
109
110 "use strict";
111
112
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 _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js"));
119 class CarouselHandlerBase extends _baseSwiper.default {
120 getDefaultSettings() {
121 return {
122 selectors: {
123 carousel: `.${elementorFrontend.config.swiperClass}`,
124 slideContent: '.swiper-slide'
125 }
126 };
127 }
128 getDefaultElements() {
129 const selectors = this.getSettings('selectors'),
130 elements = {
131 $swiperContainer: this.$element.find(selectors.carousel)
132 };
133 elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
134 return elements;
135 }
136 getSwiperSettings() {
137 const elementSettings = this.getElementSettings(),
138 slidesToShow = +elementSettings.slides_to_show || 3,
139 isSingleSlide = 1 === slidesToShow,
140 elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints,
141 defaultSlidesToShowMap = {
142 mobile: 1,
143 tablet: isSingleSlide ? 1 : 2
144 };
145 const swiperOptions = {
146 slidesPerView: slidesToShow,
147 loop: 'yes' === elementSettings.infinite,
148 speed: elementSettings.speed,
149 handleElementorBreakpoints: true
150 };
151 swiperOptions.breakpoints = {};
152 let lastBreakpointSlidesToShowValue = slidesToShow;
153 Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => {
154 // Tablet has a specific default `slides_to_show`.
155 const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue;
156 swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = {
157 slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow,
158 slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1
159 };
160 if (elementSettings.image_spacing_custom) {
161 swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName);
162 }
163 lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow;
164 });
165 if ('yes' === elementSettings.autoplay) {
166 swiperOptions.autoplay = {
167 delay: elementSettings.autoplay_speed,
168 disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
169 };
170 }
171 if (isSingleSlide) {
172 swiperOptions.effect = elementSettings.effect;
173 if ('fade' === elementSettings.effect) {
174 swiperOptions.fadeEffect = {
175 crossFade: true
176 };
177 }
178 } else {
179 swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
180 }
181 if (elementSettings.image_spacing_custom) {
182 swiperOptions.spaceBetween = this.getSpaceBetween();
183 }
184 const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
185 showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation;
186 if (showArrows) {
187 swiperOptions.navigation = {
188 prevEl: '.elementor-swiper-button-prev',
189 nextEl: '.elementor-swiper-button-next'
190 };
191 }
192 if (showDots) {
193 swiperOptions.pagination = {
194 el: '.swiper-pagination',
195 type: 'bullets',
196 clickable: true
197 };
198 }
199 if ('yes' === elementSettings.lazyload) {
200 swiperOptions.lazy = {
201 loadPrevNext: true,
202 loadPrevNextAmount: 1
203 };
204 }
205 return swiperOptions;
206 }
207 async onInit() {
208 super.onInit(...arguments);
209 if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
210 return;
211 }
212 const Swiper = elementorFrontend.utils.swiper;
213 this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings());
214
215 // Expose the swiper instance in the frontend
216 this.elements.$swiperContainer.data('swiper', this.swiper);
217 const elementSettings = this.getElementSettings();
218 if ('yes' === elementSettings.pause_on_hover) {
219 this.togglePauseOnHover(true);
220 }
221 }
222 updateSwiperOption(propertyName) {
223 const elementSettings = this.getElementSettings(),
224 newSettingValue = elementSettings[propertyName],
225 params = this.swiper.params;
226
227 // Handle special cases where the value to update is not the value that the Swiper library accepts.
228 switch (propertyName) {
229 case 'autoplay_speed':
230 params.autoplay.delay = newSettingValue;
231 break;
232 case 'speed':
233 params.speed = newSettingValue;
234 break;
235 }
236 this.swiper.update();
237 }
238 getChangeableProperties() {
239 return {
240 pause_on_hover: 'pauseOnHover',
241 autoplay_speed: 'delay',
242 speed: 'speed',
243 arrows_position: 'arrows_position' // Not a Swiper setting.
244 };
245 }
246
247 onElementChange(propertyName) {
248 if (0 === propertyName.indexOf('image_spacing_custom')) {
249 this.updateSpaceBetween(propertyName);
250 return;
251 }
252 const changeableProperties = this.getChangeableProperties();
253 if (changeableProperties[propertyName]) {
254 // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library.
255 if ('pause_on_hover' === propertyName) {
256 const newSettingValue = this.getElementSettings('pause_on_hover');
257 this.togglePauseOnHover('yes' === newSettingValue);
258 } else {
259 this.updateSwiperOption(propertyName);
260 }
261 }
262 }
263 onEditSettingsChange(propertyName) {
264 if ('activeItemIndex' === propertyName) {
265 this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
266 }
267 }
268 getSpaceBetween() {
269 let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
270 return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device) || 0;
271 }
272 updateSpaceBetween(propertyName) {
273 const deviceMatch = propertyName.match('image_spacing_custom_(.*)'),
274 device = deviceMatch ? deviceMatch[1] : 'desktop',
275 newSpaceBetween = this.getSpaceBetween(device);
276 if ('desktop' !== device) {
277 this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween;
278 }
279 this.swiper.params.spaceBetween = newSpaceBetween;
280 this.swiper.update();
281 }
282 }
283 exports["default"] = CarouselHandlerBase;
284
285 /***/ }),
286
287 /***/ "../assets/dev/js/frontend/handlers/base-swiper.js":
288 /*!*********************************************************!*\
289 !*** ../assets/dev/js/frontend/handlers/base-swiper.js ***!
290 \*********************************************************/
291 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
292
293 "use strict";
294
295
296 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
297 Object.defineProperty(exports, "__esModule", ({
298 value: true
299 }));
300 exports["default"] = void 0;
301 var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js"));
302 class SwiperHandlerBase extends _base.default {
303 getInitialSlide() {
304 const editSettings = this.getEditSettings();
305 return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0;
306 }
307 getSlidesCount() {
308 return this.elements.$slides.length;
309 }
310
311 // This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel
312 togglePauseOnHover(toggleOn) {
313 if (toggleOn) {
314 this.elements.$swiperContainer.on({
315 mouseenter: () => {
316 this.swiper.autoplay.stop();
317 },
318 mouseleave: () => {
319 this.swiper.autoplay.start();
320 }
321 });
322 } else {
323 this.elements.$swiperContainer.off('mouseenter mouseleave');
324 }
325 }
326 handleKenBurns() {
327 const settings = this.getSettings();
328 if (this.$activeImageBg) {
329 this.$activeImageBg.removeClass(settings.classes.kenBurnsActive);
330 }
331 this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide();
332 if (this.swiper) {
333 this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground);
334 } else {
335 this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground);
336 }
337 this.$activeImageBg.addClass(settings.classes.kenBurnsActive);
338 }
339 }
340 exports["default"] = SwiperHandlerBase;
341
342 /***/ }),
343
344 /***/ "../assets/dev/js/frontend/handlers/base.js":
345 /*!**************************************************!*\
346 !*** ../assets/dev/js/frontend/handlers/base.js ***!
347 \**************************************************/
348 /***/ ((module) => {
349
350 "use strict";
351
352
353 module.exports = elementorModules.ViewModule.extend({
354 $element: null,
355 editorListeners: null,
356 onElementChange: null,
357 onEditSettingsChange: null,
358 onPageSettingsChange: null,
359 isEdit: null,
360 __construct(settings) {
361 if (!this.isActive(settings)) {
362 return;
363 }
364 this.$element = settings.$element;
365 this.isEdit = this.$element.hasClass('elementor-element-edit-mode');
366 if (this.isEdit) {
367 this.addEditorListeners();
368 }
369 },
370 isActive() {
371 return true;
372 },
373 isElementInTheCurrentDocument() {
374 if (!elementorFrontend.isEditMode()) {
375 return false;
376 }
377 return elementor.documents.currentDocument.id.toString() === this.$element[0].closest('.elementor').dataset.elementorId;
378 },
379 findElement(selector) {
380 var $mainElement = this.$element;
381 return $mainElement.find(selector).filter(function () {
382 // Start `closest` from parent since self can be `.elementor-element`.
383 return jQuery(this).parent().closest('.elementor-element').is($mainElement);
384 });
385 },
386 getUniqueHandlerID(cid, $element) {
387 if (!cid) {
388 cid = this.getModelCID();
389 }
390 if (!$element) {
391 $element = this.$element;
392 }
393 return cid + $element.attr('data-element_type') + this.getConstructorID();
394 },
395 initEditorListeners() {
396 var self = this;
397 self.editorListeners = [{
398 event: 'element:destroy',
399 to: elementor.channels.data,
400 callback(removedModel) {
401 if (removedModel.cid !== self.getModelCID()) {
402 return;
403 }
404 self.onDestroy();
405 }
406 }];
407 if (self.onElementChange) {
408 const elementType = self.getWidgetType() || self.getElementType();
409 let eventName = 'change';
410 if ('global' !== elementType) {
411 eventName += ':' + elementType;
412 }
413 self.editorListeners.push({
414 event: eventName,
415 to: elementor.channels.editor,
416 callback(controlView, elementView) {
417 var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el);
418 if (elementViewHandlerID !== self.getUniqueHandlerID()) {
419 return;
420 }
421 self.onElementChange(controlView.model.get('name'), controlView, elementView);
422 }
423 });
424 }
425 if (self.onEditSettingsChange) {
426 self.editorListeners.push({
427 event: 'change:editSettings',
428 to: elementor.channels.editor,
429 callback(changedModel, view) {
430 if (view.model.cid !== self.getModelCID()) {
431 return;
432 }
433 const propName = Object.keys(changedModel.changed)[0];
434 self.onEditSettingsChange(propName, changedModel.changed[propName]);
435 }
436 });
437 }
438 ['page'].forEach(function (settingsType) {
439 var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange';
440 if (self[listenerMethodName]) {
441 self.editorListeners.push({
442 event: 'change',
443 to: elementor.settings[settingsType].model,
444 callback(model) {
445 self[listenerMethodName](model.changed);
446 }
447 });
448 }
449 });
450 },
451 getEditorListeners() {
452 if (!this.editorListeners) {
453 this.initEditorListeners();
454 }
455 return this.editorListeners;
456 },
457 addEditorListeners() {
458 var uniqueHandlerID = this.getUniqueHandlerID();
459 this.getEditorListeners().forEach(function (listener) {
460 elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to);
461 });
462 },
463 removeEditorListeners() {
464 var uniqueHandlerID = this.getUniqueHandlerID();
465 this.getEditorListeners().forEach(function (listener) {
466 elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to);
467 });
468 },
469 getElementType() {
470 return this.$element.data('element_type');
471 },
472 getWidgetType() {
473 const widgetType = this.$element.data('widget_type');
474 if (!widgetType) {
475 return;
476 }
477 return widgetType.split('.')[0];
478 },
479 getID() {
480 return this.$element.data('id');
481 },
482 getModelCID() {
483 return this.$element.data('model-cid');
484 },
485 getElementSettings(setting) {
486 let elementSettings = {};
487 const modelCID = this.getModelCID();
488 if (this.isEdit && modelCID) {
489 const settings = elementorFrontend.config.elements.data[modelCID],
490 attributes = settings.attributes;
491 let type = attributes.widgetType || attributes.elType;
492 if (attributes.isInner) {
493 type = 'inner-' + type;
494 }
495 let settingsKeys = elementorFrontend.config.elements.keys[type];
496 if (!settingsKeys) {
497 settingsKeys = elementorFrontend.config.elements.keys[type] = [];
498 jQuery.each(settings.controls, (name, control) => {
499 if (control.frontend_available) {
500 settingsKeys.push(name);
501 }
502 });
503 }
504 jQuery.each(settings.getActiveControls(), function (controlKey) {
505 if (-1 !== settingsKeys.indexOf(controlKey)) {
506 let value = attributes[controlKey];
507 if (value.toJSON) {
508 value = value.toJSON();
509 }
510 elementSettings[controlKey] = value;
511 }
512 });
513 } else {
514 elementSettings = this.$element.data('settings') || {};
515 }
516 return this.getItems(elementSettings, setting);
517 },
518 getEditSettings(setting) {
519 var attributes = {};
520 if (this.isEdit) {
521 attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes;
522 }
523 return this.getItems(attributes, setting);
524 },
525 getCurrentDeviceSetting(settingKey) {
526 return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey);
527 },
528 onInit() {
529 if (this.isActive(this.getSettings())) {
530 elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
531 }
532 },
533 onDestroy() {
534 if (this.isEdit) {
535 this.removeEditorListeners();
536 }
537 if (this.unbindEvents) {
538 this.unbindEvents();
539 }
540 }
541 });
542
543 /***/ }),
544
545 /***/ "../assets/dev/js/frontend/handlers/stretched-element.js":
546 /*!***************************************************************!*\
547 !*** ../assets/dev/js/frontend/handlers/stretched-element.js ***!
548 \***************************************************************/
549 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
550
551 "use strict";
552
553
554 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
555 Object.defineProperty(exports, "__esModule", ({
556 value: true
557 }));
558 exports["default"] = void 0;
559 var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js"));
560 class StretchedElement extends _base.default {
561 getStretchedClass() {
562 return 'e-stretched';
563 }
564 getStretchSettingName() {
565 return 'stretch_element';
566 }
567 getStretchActiveValue() {
568 return 'yes';
569 }
570 bindEvents() {
571 const handlerID = this.getUniqueHandlerID();
572 elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
573 elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
574 elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
575 if (elementorFrontend.isEditMode()) {
576 this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
577 elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
578 }
579 }
580 unbindEvents() {
581 elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
582 if (elementorFrontend.isEditMode()) {
583 elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
584 }
585 }
586 isActive(settings) {
587 return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass());
588 }
589 getStretchElementForConfig() {
590 let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
591 if (childSelector) {
592 return this.$element.find(childSelector);
593 }
594 return this.$element;
595 }
596 getStretchElementConfig() {
597 return {
598 element: this.getStretchElementForConfig(),
599 selectors: {
600 container: this.getStretchContainer()
601 },
602 considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl
603 };
604 }
605 initStretch() {
606 this.stretch = this.stretch.bind(this);
607 this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig());
608 }
609 getStretchContainer() {
610 return elementorFrontend.getKitSettings('stretched_section_container') || window;
611 }
612 isStretchSettingEnabled() {
613 return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue();
614 }
615 stretch() {
616 if (!this.isStretchSettingEnabled()) {
617 return;
618 }
619 this.stretchElement.stretch();
620 }
621 onInit() {
622 if (!this.isActive(this.getSettings())) {
623 return;
624 }
625 this.initStretch();
626 super.onInit(...arguments);
627 this.stretch();
628 }
629 onElementChange(propertyName) {
630 const stretchSettingName = this.getStretchSettingName();
631 if (stretchSettingName === propertyName) {
632 if (this.isStretchSettingEnabled()) {
633 this.stretch();
634 } else {
635 this.stretchElement.reset();
636 }
637 }
638 }
639 onKitChangeStretchContainerChange() {
640 this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
641 this.stretch();
642 }
643 }
644 exports["default"] = StretchedElement;
645
646 /***/ }),
647
648 /***/ "../assets/dev/js/frontend/modules.js":
649 /*!********************************************!*\
650 !*** ../assets/dev/js/frontend/modules.js ***!
651 \********************************************/
652 /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
653
654 "use strict";
655
656
657 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
658 var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js"));
659 var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js"));
660 var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js"));
661 var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js"));
662 var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
663 var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js"));
664 var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js"));
665 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"));
666 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"));
667 _modules.default.frontend = {
668 Document: _document.default,
669 tools: {
670 StretchElement: _stretchElement.default
671 },
672 handlers: {
673 Base: _base.default,
674 StretchedElement: _stretchedElement.default,
675 SwiperBase: _baseSwiper.default,
676 CarouselBase: _baseCarousel.default,
677 NestedTabs: _nestedTabs.default,
678 NestedAccordion: _nestedAccordion.default
679 }
680 };
681
682 /***/ }),
683
684 /***/ "../assets/dev/js/frontend/tools/stretch-element.js":
685 /*!**********************************************************!*\
686 !*** ../assets/dev/js/frontend/tools/stretch-element.js ***!
687 \**********************************************************/
688 /***/ ((module) => {
689
690 "use strict";
691
692
693 module.exports = elementorModules.ViewModule.extend({
694 getDefaultSettings() {
695 return {
696 element: null,
697 direction: elementorFrontend.config.is_rtl ? 'right' : 'left',
698 selectors: {
699 container: window
700 },
701 considerScrollbar: false
702 };
703 },
704 getDefaultElements() {
705 return {
706 $element: jQuery(this.getSettings('element'))
707 };
708 },
709 stretch() {
710 const settings = this.getSettings();
711 let $container;
712 try {
713 $container = jQuery(settings.selectors.container);
714 // eslint-disable-next-line no-empty
715 } catch (e) {}
716 if (!$container || !$container.length) {
717 $container = jQuery(this.getDefaultSettings().selectors.container);
718 }
719 this.reset();
720 var $element = this.elements.$element,
721 containerWidth = $container.innerWidth(),
722 elementOffset = $element.offset().left,
723 isFixed = 'fixed' === $element.css('position'),
724 correctOffset = isFixed ? 0 : elementOffset,
725 isContainerFullScreen = window === $container[0];
726 if (!isContainerFullScreen) {
727 var containerOffset = $container.offset().left;
728 if (isFixed) {
729 correctOffset = containerOffset;
730 }
731 if (elementOffset > containerOffset) {
732 correctOffset = elementOffset - containerOffset;
733 }
734 }
735 if (settings.considerScrollbar && isContainerFullScreen) {
736 const scrollbarWidth = window.innerWidth - containerWidth;
737 correctOffset -= scrollbarWidth;
738 }
739 if (!isFixed) {
740 if (elementorFrontend.config.is_rtl) {
741 correctOffset = containerWidth - ($element.outerWidth() + correctOffset);
742 }
743 correctOffset = -correctOffset;
744 }
745
746 // Consider margin
747 if (settings.margin) {
748 correctOffset += settings.margin;
749 }
750 var css = {};
751 let width = containerWidth;
752 if (settings.margin) {
753 width -= settings.margin * 2;
754 }
755 css.width = width + 'px';
756 css[settings.direction] = correctOffset + 'px';
757 $element.css(css);
758 },
759 reset() {
760 var css = {};
761 css.width = '';
762 css[this.getSettings('direction')] = '';
763 this.elements.$element.css(css);
764 }
765 });
766
767 /***/ }),
768
769 /***/ "../assets/dev/js/modules/imports/args-object.js":
770 /*!*******************************************************!*\
771 !*** ../assets/dev/js/modules/imports/args-object.js ***!
772 \*******************************************************/
773 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
774
775 "use strict";
776
777
778 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
779 Object.defineProperty(exports, "__esModule", ({
780 value: true
781 }));
782 exports["default"] = void 0;
783 __webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js");
784 var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js"));
785 var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js"));
786 class ArgsObject extends _instanceType.default {
787 static getInstanceType() {
788 return 'ArgsObject';
789 }
790
791 /**
792 * Function constructor().
793 *
794 * Create ArgsObject.
795 *
796 * @param {{}} args
797 */
798 constructor(args) {
799 super();
800 this.args = args;
801 }
802
803 /**
804 * Function requireArgument().
805 *
806 * Validate property in args.
807 *
808 * @param {string} property
809 * @param {{}} args
810 *
811 * @throws {Error}
812 *
813 */
814 requireArgument(property) {
815 let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args;
816 if (!Object.prototype.hasOwnProperty.call(args, property)) {
817 throw Error(`${property} is required.`);
818 }
819 }
820
821 /**
822 * Function requireArgumentType().
823 *
824 * Validate property in args using `type === typeof(args.whatever)`.
825 *
826 * @param {string} property
827 * @param {string} type
828 * @param {{}} args
829 *
830 * @throws {Error}
831 *
832 */
833 requireArgumentType(property, type) {
834 let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
835 this.requireArgument(property, args);
836 if (typeof args[property] !== type) {
837 throw Error(`${property} invalid type: ${type}.`);
838 }
839 }
840
841 /**
842 * Function requireArgumentInstance().
843 *
844 * Validate property in args using `args.whatever instanceof instance`.
845 *
846 * @param {string} property
847 * @param {*} instance
848 * @param {{}} args
849 *
850 * @throws {Error}
851 *
852 */
853 requireArgumentInstance(property, instance) {
854 let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
855 this.requireArgument(property, args);
856 if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) {
857 throw Error(`${property} invalid instance.`);
858 }
859 }
860
861 /**
862 * Function requireArgumentConstructor().
863 *
864 * Validate property in args using `type === args.whatever.constructor`.
865 *
866 * @param {string} property
867 * @param {*} type
868 * @param {{}} args
869 *
870 * @throws {Error}
871 *
872 */
873 requireArgumentConstructor(property, type) {
874 let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
875 this.requireArgument(property, args);
876
877 // Note: Converting the constructor to string in order to avoid equation issues
878 // due to different memory addresses between iframes (window.Object !== window.top.Object).
879 if (args[property].constructor.toString() !== type.prototype.constructor.toString()) {
880 throw Error(`${property} invalid constructor type.`);
881 }
882 }
883 }
884 exports["default"] = ArgsObject;
885
886 /***/ }),
887
888 /***/ "../assets/dev/js/modules/imports/force-method-implementation.js":
889 /*!***********************************************************************!*\
890 !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***!
891 \***********************************************************************/
892 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
893
894 "use strict";
895
896
897 Object.defineProperty(exports, "__esModule", ({
898 value: true
899 }));
900 exports["default"] = exports.ForceMethodImplementation = void 0;
901 __webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js");
902 // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`;
903
904 class ForceMethodImplementation extends Error {
905 constructor() {
906 let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
907 let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
908 super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args);
909
910 // Allow to pass custom properties to the error.
911 if (Object.keys(args).length) {
912 // eslint-disable-next-line no-console
913 console.error(args);
914 }
915 Error.captureStackTrace(this, ForceMethodImplementation);
916 }
917 }
918 exports.ForceMethodImplementation = ForceMethodImplementation;
919 var _default = args => {
920 const stack = Error().stack,
921 caller = stack.split('\n')[2].trim(),
922 callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1],
923 info = {};
924 info.functionName = callerName;
925 info.fullName = callerName;
926 if (info.functionName.includes('.')) {
927 const parts = info.functionName.split('.');
928 info.className = parts[0];
929 info.functionName = parts[1];
930 } else {
931 info.isStatic = true;
932 }
933 throw new ForceMethodImplementation(info, args);
934 };
935 exports["default"] = _default;
936
937 /***/ }),
938
939 /***/ "../assets/dev/js/modules/imports/instance-type.js":
940 /*!*********************************************************!*\
941 !*** ../assets/dev/js/modules/imports/instance-type.js ***!
942 \*********************************************************/
943 /***/ ((__unused_webpack_module, exports) => {
944
945 "use strict";
946
947
948 Object.defineProperty(exports, "__esModule", ({
949 value: true
950 }));
951 exports["default"] = void 0;
952 class InstanceType {
953 static [Symbol.hasInstance](target) {
954 /**
955 * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
956 * its give's opportunity to mange capabilities of instanceOf operator.
957 * saving current class each time will give option later to handle instanceOf manually.
958 */
959 let result = super[Symbol.hasInstance](target);
960
961 // Act normal when validate a class, which does not have instance type.
962 if (target && !target.constructor.getInstanceType) {
963 return result;
964 }
965 if (target) {
966 if (!target.instanceTypes) {
967 target.instanceTypes = [];
968 }
969 if (!result) {
970 if (this.getInstanceType() === target.constructor.getInstanceType()) {
971 result = true;
972 }
973 }
974 if (result) {
975 const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType();
976 if (-1 === target.instanceTypes.indexOf(name)) {
977 target.instanceTypes.push(name);
978 }
979 }
980 }
981 if (!result && target) {
982 // Check if the given 'target', is instance of known types.
983 result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType());
984 }
985 return result;
986 }
987 static getInstanceType() {
988 elementorModules.ForceMethodImplementation();
989 }
990 constructor() {
991 // Since anonymous classes sometimes do not get validated by babel, do it manually.
992 let target = new.target;
993 const prototypes = [];
994 while (target.__proto__ && target.__proto__.name) {
995 prototypes.push(target.__proto__);
996 target = target.__proto__;
997 }
998 prototypes.reverse().forEach(proto => this instanceof proto);
999 }
1000 }
1001 exports["default"] = InstanceType;
1002
1003 /***/ }),
1004
1005 /***/ "../assets/dev/js/modules/imports/module.js":
1006 /*!**************************************************!*\
1007 !*** ../assets/dev/js/modules/imports/module.js ***!
1008 \**************************************************/
1009 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1010
1011 "use strict";
1012
1013
1014 __webpack_require__(/*! core-js/modules/es.error.cause.js */ "../node_modules/core-js/modules/es.error.cause.js");
1015 const Module = function () {
1016 const $ = jQuery,
1017 instanceParams = arguments,
1018 self = this,
1019 events = {};
1020 let settings;
1021 const ensureClosureMethods = function () {
1022 $.each(self, function (methodName) {
1023 const oldMethod = self[methodName];
1024 if ('function' !== typeof oldMethod) {
1025 return;
1026 }
1027 self[methodName] = function () {
1028 return oldMethod.apply(self, arguments);
1029 };
1030 });
1031 };
1032 const initSettings = function () {
1033 settings = self.getDefaultSettings();
1034 const instanceSettings = instanceParams[0];
1035 if (instanceSettings) {
1036 $.extend(true, settings, instanceSettings);
1037 }
1038 };
1039 const init = function () {
1040 self.__construct.apply(self, instanceParams);
1041 ensureClosureMethods();
1042 initSettings();
1043 self.trigger('init');
1044 };
1045 this.getItems = function (items, itemKey) {
1046 if (itemKey) {
1047 const keyStack = itemKey.split('.'),
1048 currentKey = keyStack.splice(0, 1);
1049 if (!keyStack.length) {
1050 return items[currentKey];
1051 }
1052 if (!items[currentKey]) {
1053 return;
1054 }
1055 return this.getItems(items[currentKey], keyStack.join('.'));
1056 }
1057 return items;
1058 };
1059 this.getSettings = function (setting) {
1060 return this.getItems(settings, setting);
1061 };
1062 this.setSettings = function (settingKey, value, settingsContainer) {
1063 if (!settingsContainer) {
1064 settingsContainer = settings;
1065 }
1066 if ('object' === typeof settingKey) {
1067 $.extend(settingsContainer, settingKey);
1068 return self;
1069 }
1070 const keyStack = settingKey.split('.'),
1071 currentKey = keyStack.splice(0, 1);
1072 if (!keyStack.length) {
1073 settingsContainer[currentKey] = value;
1074 return self;
1075 }
1076 if (!settingsContainer[currentKey]) {
1077 settingsContainer[currentKey] = {};
1078 }
1079 return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]);
1080 };
1081 this.getErrorMessage = function (type, functionName) {
1082 let message;
1083 switch (type) {
1084 case 'forceMethodImplementation':
1085 message = `The method '${functionName}' must to be implemented in the inheritor child.`;
1086 break;
1087 default:
1088 message = 'An error occurs';
1089 }
1090 return message;
1091 };
1092
1093 // TODO: This function should be deleted ?.
1094 this.forceMethodImplementation = function (functionName) {
1095 throw new Error(this.getErrorMessage('forceMethodImplementation', functionName));
1096 };
1097 this.on = function (eventName, callback) {
1098 if ('object' === typeof eventName) {
1099 $.each(eventName, function (singleEventName) {
1100 self.on(singleEventName, this);
1101 });
1102 return self;
1103 }
1104 const eventNames = eventName.split(' ');
1105 eventNames.forEach(function (singleEventName) {
1106 if (!events[singleEventName]) {
1107 events[singleEventName] = [];
1108 }
1109 events[singleEventName].push(callback);
1110 });
1111 return self;
1112 };
1113 this.off = function (eventName, callback) {
1114 if (!events[eventName]) {
1115 return self;
1116 }
1117 if (!callback) {
1118 delete events[eventName];
1119 return self;
1120 }
1121 const callbackIndex = events[eventName].indexOf(callback);
1122 if (-1 !== callbackIndex) {
1123 delete events[eventName][callbackIndex];
1124
1125 // Reset array index (for next off on same event).
1126 events[eventName] = events[eventName].filter(val => val);
1127 }
1128 return self;
1129 };
1130 this.trigger = function (eventName) {
1131 const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1),
1132 params = Array.prototype.slice.call(arguments, 1);
1133 if (self[methodName]) {
1134 self[methodName].apply(self, params);
1135 }
1136 const callbacks = events[eventName];
1137 if (!callbacks) {
1138 return self;
1139 }
1140 $.each(callbacks, function (index, callback) {
1141 callback.apply(self, params);
1142 });
1143 return self;
1144 };
1145 init();
1146 };
1147 Module.prototype.__construct = function () {};
1148 Module.prototype.getDefaultSettings = function () {
1149 return {};
1150 };
1151 Module.prototype.getConstructorID = function () {
1152 return this.constructor.name;
1153 };
1154 Module.extend = function (properties) {
1155 const $ = jQuery,
1156 parent = this;
1157 const child = function () {
1158 return parent.apply(this, arguments);
1159 };
1160 $.extend(child, parent);
1161 child.prototype = Object.create($.extend({}, parent.prototype, properties));
1162 child.prototype.constructor = child;
1163 child.__super__ = parent.prototype;
1164 return child;
1165 };
1166 module.exports = Module;
1167
1168 /***/ }),
1169
1170 /***/ "../assets/dev/js/modules/imports/utils/masonry.js":
1171 /*!*********************************************************!*\
1172 !*** ../assets/dev/js/modules/imports/utils/masonry.js ***!
1173 \*********************************************************/
1174 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1175
1176 "use strict";
1177
1178
1179 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1180 Object.defineProperty(exports, "__esModule", ({
1181 value: true
1182 }));
1183 exports["default"] = void 0;
1184 var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js"));
1185 var _default = _viewModule.default.extend({
1186 getDefaultSettings() {
1187 return {
1188 container: null,
1189 items: null,
1190 columnsCount: 3,
1191 verticalSpaceBetween: 30
1192 };
1193 },
1194 getDefaultElements() {
1195 return {
1196 $container: jQuery(this.getSettings('container')),
1197 $items: jQuery(this.getSettings('items'))
1198 };
1199 },
1200 run() {
1201 var heights = [],
1202 distanceFromTop = this.elements.$container.position().top,
1203 settings = this.getSettings(),
1204 columnsCount = settings.columnsCount;
1205 distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10);
1206 this.elements.$items.each(function (index) {
1207 var row = Math.floor(index / columnsCount),
1208 $item = jQuery(this),
1209 itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
1210 if (row) {
1211 var itemPosition = $item.position(),
1212 indexAtRow = index % columnsCount,
1213 pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
1214 pullHeight -= parseInt($item.css('margin-top'), 10);
1215 pullHeight *= -1;
1216 $item.css('margin-top', pullHeight + 'px');
1217 heights[indexAtRow] += itemHeight;
1218 } else {
1219 heights.push(itemHeight);
1220 }
1221 });
1222 }
1223 });
1224 exports["default"] = _default;
1225
1226 /***/ }),
1227
1228 /***/ "../assets/dev/js/modules/imports/utils/scroll.js":
1229 /*!********************************************************!*\
1230 !*** ../assets/dev/js/modules/imports/utils/scroll.js ***!
1231 \********************************************************/
1232 /***/ ((__unused_webpack_module, exports) => {
1233
1234 "use strict";
1235
1236
1237 Object.defineProperty(exports, "__esModule", ({
1238 value: true
1239 }));
1240 exports["default"] = void 0;
1241 // Moved from elementor pro: 'assets/dev/js/frontend/utils'
1242 class Scroll {
1243 /**
1244 * @param {Object} obj
1245 * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element
1246 * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom
1247 * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%'
1248 * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport
1249 */
1250 static scrollObserver(obj) {
1251 let lastScrollY = 0;
1252
1253 // Generating threshholds points along the animation height
1254 // More threshholds points = more trigger points of the callback
1255 const buildThreshholds = function () {
1256 let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
1257 const threshholds = [];
1258 if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) {
1259 const increment = 100 / sensitivityPercentage;
1260 for (let i = 0; i <= 100; i += increment) {
1261 threshholds.push(i / 100);
1262 }
1263 } else {
1264 threshholds.push(0);
1265 }
1266 return threshholds;
1267 };
1268 const options = {
1269 root: obj.root || null,
1270 rootMargin: obj.offset || '0px',
1271 threshold: buildThreshholds(obj.sensitivity)
1272 };
1273 function handleIntersect(entries) {
1274 const currentScrollY = entries[0].boundingClientRect.y,
1275 isInViewport = entries[0].isIntersecting,
1276 intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up',
1277 scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2)));
1278 obj.callback({
1279 sensitivity: obj.sensitivity,
1280 isInViewport,
1281 scrollPercentage,
1282 intersectionScrollDirection
1283 });
1284 lastScrollY = currentScrollY;
1285 }
1286 return new IntersectionObserver(handleIntersect, options);
1287 }
1288
1289 /**
1290 * @param {jQuery.Element} $element
1291 * @param {Object} offsetObj
1292 * @param {number} offsetObj.start - Offset start value in percentages
1293 * @param {number} offsetObj.end - Offset end value in percentages
1294 */
1295 static getElementViewportPercentage($element) {
1296 let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1297 const elementOffset = $element[0].getBoundingClientRect(),
1298 offsetStart = offsetObj.start || 0,
1299 offsetEnd = offsetObj.end || 0,
1300 windowStartOffset = window.innerHeight * offsetStart / 100,
1301 windowEndOffset = window.innerHeight * offsetEnd / 100,
1302 y1 = elementOffset.top - window.innerHeight,
1303 y2 = elementOffset.top + windowStartOffset + $element.height(),
1304 startPosition = 0 - y1 + windowStartOffset,
1305 endPosition = y2 - y1 + windowEndOffset,
1306 percent = Math.max(0, Math.min(startPosition / endPosition, 1));
1307 return parseFloat((percent * 100).toFixed(2));
1308 }
1309
1310 /**
1311 * @param {Object} offsetObj
1312 * @param {number} offsetObj.start - Offset start value in percentages
1313 * @param {number} offsetObj.end - Offset end value in percentages
1314 * @param {number} limitPageHeight - Will limit the page height calculation
1315 */
1316 static getPageScrollPercentage() {
1317 let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1318 let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined;
1319 const offsetStart = offsetObj.start || 0,
1320 offsetEnd = offsetObj.end || 0,
1321 initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight,
1322 heightOffset = initialPageHeight * offsetStart / 100,
1323 pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100,
1324 scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset;
1325 return scrollPos / pageRange * 100;
1326 }
1327 }
1328 exports["default"] = Scroll;
1329
1330 /***/ }),
1331
1332 /***/ "../assets/dev/js/modules/imports/view-module.js":
1333 /*!*******************************************************!*\
1334 !*** ../assets/dev/js/modules/imports/view-module.js ***!
1335 \*******************************************************/
1336 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1337
1338 "use strict";
1339
1340
1341 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1342 Object.defineProperty(exports, "__esModule", ({
1343 value: true
1344 }));
1345 exports["default"] = void 0;
1346 var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js"));
1347 var _default = _module.default.extend({
1348 elements: null,
1349 getDefaultElements() {
1350 return {};
1351 },
1352 bindEvents() {},
1353 onInit() {
1354 this.initElements();
1355 this.bindEvents();
1356 },
1357 initElements() {
1358 this.elements = this.getDefaultElements();
1359 }
1360 });
1361 exports["default"] = _default;
1362
1363 /***/ }),
1364
1365 /***/ "../assets/dev/js/modules/modules.js":
1366 /*!*******************************************!*\
1367 !*** ../assets/dev/js/modules/modules.js ***!
1368 \*******************************************/
1369 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1370
1371 "use strict";
1372
1373
1374 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1375 Object.defineProperty(exports, "__esModule", ({
1376 value: true
1377 }));
1378 exports["default"] = void 0;
1379 var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js"));
1380 var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js"));
1381 var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js"));
1382 var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js"));
1383 var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js"));
1384 var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js"));
1385 var _default = window.elementorModules = {
1386 Module: _module.default,
1387 ViewModule: _viewModule.default,
1388 ArgsObject: _argsObject.default,
1389 ForceMethodImplementation: _forceMethodImplementation.default,
1390 utils: {
1391 Masonry: _masonry.default,
1392 Scroll: _scroll.default
1393 }
1394 };
1395 exports["default"] = _default;
1396
1397 /***/ }),
1398
1399 /***/ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js":
1400 /*!***********************************************************************************!*\
1401 !*** ../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js ***!
1402 \***********************************************************************************/
1403 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1404
1405 "use strict";
1406
1407
1408 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1409 Object.defineProperty(exports, "__esModule", ({
1410 value: true
1411 }));
1412 exports["default"] = void 0;
1413 var _base = _interopRequireDefault(__webpack_require__(/*! elementor/assets/dev/js/frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
1414 class NestedAccordion extends _base.default {
1415 getDefaultSettings() {
1416 return {
1417 selectors: {
1418 accordionContentContainers: '.e-n-accordion > .e-con',
1419 accordionItems: '.e-n-accordion-item'
1420 }
1421 };
1422 }
1423 getDefaultElements() {
1424 const selectors = this.getSettings('selectors');
1425 return {
1426 $contentContainers: this.findElement(selectors.accordionContentContainers),
1427 $items: this.findElement(selectors.accordionItems)
1428 };
1429 }
1430 onInit() {
1431 super.onInit(...arguments);
1432 if (elementorFrontend.isEditMode()) {
1433 this.interlaceContainers();
1434 }
1435 }
1436 interlaceContainers() {
1437 const {
1438 $contentContainers,
1439 $items
1440 } = this.getDefaultElements();
1441 $contentContainers.each((index, element) => {
1442 $items[index].appendChild(element);
1443 });
1444 }
1445 }
1446 exports["default"] = NestedAccordion;
1447
1448 /***/ }),
1449
1450 /***/ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js":
1451 /*!*************************************************************************!*\
1452 !*** ../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js ***!
1453 \*************************************************************************/
1454 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1455
1456 "use strict";
1457
1458
1459 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1460 Object.defineProperty(exports, "__esModule", ({
1461 value: true
1462 }));
1463 exports["default"] = void 0;
1464 var _base = _interopRequireDefault(__webpack_require__(/*! ../../../../../../assets/dev/js/frontend/handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
1465 class NestedTabs extends _base.default {
1466 constructor() {
1467 super(...arguments);
1468 this.resizeListenerNestedTabs = null;
1469 }
1470
1471 /**
1472 * @param {string|number} tabIndex
1473 *
1474 * @return {string}
1475 */
1476 getTabTitleFilterSelector(tabIndex) {
1477 return `[data-tab="${tabIndex}"]`;
1478 }
1479
1480 /**
1481 * @param {string|number} tabIndex
1482 *
1483 * @return {string}
1484 */
1485 getTabContentFilterSelector(tabIndex) {
1486 // Double by 2, since each `e-con` should have 'e-collapse'.
1487 return `*:nth-child(${tabIndex * 2})`;
1488 }
1489
1490 /**
1491 * @param {HTMLElement} tabTitleElement
1492 *
1493 * @return {string}
1494 */
1495 getTabIndex(tabTitleElement) {
1496 return tabTitleElement.getAttribute('data-tab');
1497 }
1498 getDefaultSettings() {
1499 return {
1500 selectors: {
1501 tablist: '[role="tablist"]',
1502 tabTitle: '.e-n-tab-title',
1503 tabContent: '.e-con',
1504 headingContainer: '.e-n-tabs-heading',
1505 activeTabContentContainers: '.e-con.e-active',
1506 mobileTabTitle: '.e-collapse'
1507 },
1508 classes: {
1509 active: 'e-active'
1510 },
1511 showTabFn: 'show',
1512 hideTabFn: 'hide',
1513 toggleSelf: false,
1514 hidePrevious: true,
1515 autoExpand: true,
1516 keyDirection: {
1517 ArrowLeft: elementorFrontendConfig.is_rtl ? 1 : -1,
1518 ArrowUp: -1,
1519 ArrowRight: elementorFrontendConfig.is_rtl ? -1 : 1,
1520 ArrowDown: 1
1521 }
1522 };
1523 }
1524 getDefaultElements() {
1525 const selectors = this.getSettings('selectors');
1526 return {
1527 $tabTitles: this.findElement(selectors.tabTitle),
1528 $tabContents: this.findElement(selectors.tabContent),
1529 $mobileTabTitles: this.findElement(selectors.mobileTabTitle),
1530 $headingContainer: this.findElement(selectors.headingContainer)
1531 };
1532 }
1533 activateDefaultTab() {
1534 const settings = this.getSettings();
1535 const defaultActiveTab = this.getEditSettings('activeItemIndex') || 1,
1536 originalToggleMethods = {
1537 showTabFn: settings.showTabFn,
1538 hideTabFn: settings.hideTabFn
1539 };
1540
1541 // Toggle tabs without animation to avoid jumping
1542 this.setSettings({
1543 showTabFn: 'show',
1544 hideTabFn: 'hide'
1545 });
1546 this.changeActiveTab(defaultActiveTab);
1547
1548 // Return back original toggle effects
1549 this.setSettings(originalToggleMethods);
1550 }
1551 handleKeyboardNavigation(event) {
1552 const tab = event.currentTarget,
1553 $tabList = jQuery(tab.closest(this.getSettings('selectors').tablist)),
1554 // eslint-disable-next-line @wordpress/no-unused-vars-before-return
1555 $tabs = $tabList.find(this.getSettings('selectors').tabTitle),
1556 isVertical = 'vertical' === $tabList.attr('aria-orientation');
1557 switch (event.key) {
1558 case 'ArrowLeft':
1559 case 'ArrowRight':
1560 if (isVertical) {
1561 return;
1562 }
1563 break;
1564 case 'ArrowUp':
1565 case 'ArrowDown':
1566 if (!isVertical) {
1567 return;
1568 }
1569 event.preventDefault();
1570 break;
1571 case 'Home':
1572 event.preventDefault();
1573 $tabs.first().trigger('focus');
1574 return;
1575 case 'End':
1576 event.preventDefault();
1577 $tabs.last().trigger('focus');
1578 return;
1579 default:
1580 return;
1581 }
1582 const tabIndex = tab.getAttribute('data-tab') - 1,
1583 direction = this.getSettings('keyDirection')[event.key],
1584 nextTab = $tabs[tabIndex + direction];
1585 if (nextTab) {
1586 nextTab.focus();
1587 } else if (-1 === tabIndex + direction) {
1588 $tabs.last().trigger('focus');
1589 } else {
1590 $tabs.first().trigger('focus');
1591 }
1592 }
1593 deactivateActiveTab(tabIndex) {
1594 const settings = this.getSettings(),
1595 activeClass = settings.classes.active,
1596 activeTitleFilter = tabIndex ? this.getTabTitleFilterSelector(tabIndex) : '.' + activeClass,
1597 activeContentFilter = tabIndex ? this.getTabContentFilterSelector(tabIndex) : '.' + activeClass,
1598 $activeTitle = this.elements.$tabTitles.filter(activeTitleFilter),
1599 $activeContent = this.elements.$tabContents.filter(activeContentFilter);
1600 $activeTitle.add($activeContent).removeClass(activeClass);
1601 $activeTitle.attr(this.getTitleDeactivationAttributes());
1602 $activeContent[settings.hideTabFn](0, () => this.onHideTabContent($activeContent));
1603 $activeContent.attr('hidden', 'hidden');
1604 }
1605 getTitleDeactivationAttributes() {
1606 return {
1607 tabindex: '-1',
1608 'aria-selected': 'false',
1609 'aria-expanded': 'false'
1610 };
1611 }
1612 onHideTabContent($activeContent) {}
1613 activateTab(tabIndex) {
1614 const settings = this.getSettings(),
1615 activeClass = settings.classes.active,
1616 animationDuration = 'show' === settings.showTabFn ? 0 : 400;
1617 let $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(tabIndex)),
1618 $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(tabIndex));
1619
1620 // Check if the tabIndex exists.
1621 if (!$requestedTitle.length) {
1622 // Activate the previous tab and ensure that the tab index is not less than 1.
1623 const previousTabIndex = Math.max(tabIndex - 1, 1);
1624 $requestedTitle = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(previousTabIndex));
1625 $requestedContent = this.elements.$tabContents.filter(this.getTabContentFilterSelector(previousTabIndex));
1626 }
1627 $requestedTitle.add($requestedContent).addClass(activeClass);
1628 $requestedTitle.attr({
1629 tabindex: '0',
1630 'aria-selected': 'true',
1631 'aria-expanded': 'true'
1632 });
1633 $requestedContent[settings.showTabFn](animationDuration, () => this.onShowTabContent($requestedContent));
1634 $requestedContent.removeAttr('hidden');
1635 }
1636 onShowTabContent($requestedContent) {
1637 elementorFrontend.elements.$window.trigger('elementor-pro/motion-fx/recalc');
1638 elementorFrontend.elements.$window.trigger('elementor/nested-tabs/activate', $requestedContent);
1639 }
1640 isActiveTab(tabIndex) {
1641 return this.elements.$tabTitles.filter('[data-tab="' + tabIndex + '"]').hasClass(this.getSettings('classes.active'));
1642 }
1643 onTabClick(event) {
1644 event.preventDefault();
1645 this.changeActiveTab(event.currentTarget.getAttribute('data-tab'), true);
1646 }
1647 onTabKeyDown(event) {
1648 this.onKeydownAvoidUndesiredPageScrolling(event);
1649 }
1650 onTabKeyUp(event) {
1651 switch (event.code) {
1652 case 'ArrowLeft':
1653 case 'ArrowRight':
1654 this.handleKeyboardNavigation(event);
1655 break;
1656 case 'Enter':
1657 case 'Space':
1658 event.preventDefault();
1659 this.changeActiveTab(event.currentTarget.getAttribute('data-tab'), true);
1660 break;
1661 }
1662 }
1663 getTabEvents() {
1664 return {
1665 keydown: this.onTabKeyDown.bind(this),
1666 keyup: this.onTabKeyUp.bind(this),
1667 click: this.onTabClick.bind(this)
1668 };
1669 }
1670 getHeadingEvents() {
1671 return {
1672 mousedown: this.changeScrollStatus.bind(this),
1673 mouseup: this.changeScrollStatus.bind(this),
1674 mouseleave: this.changeScrollStatus.bind(this),
1675 mousemove: this.setHorizontalTabTitleScrollValues.bind(this)
1676 };
1677 }
1678 bindEvents() {
1679 this.elements.$tabTitles.on(this.getTabEvents());
1680 this.elements.$headingContainer.on(this.getHeadingEvents());
1681 this.resizeListenerNestedTabs = this.setHorizontalScrollAlignment.bind(this);
1682 elementorFrontend.elements.$window.on('resize', this.resizeListenerNestedTabs);
1683 elementorFrontend.elements.$window.on('elementor/nested-tabs/activate', this.reInitSwipers);
1684 }
1685 unbindEvents() {
1686 this.elements.$tabTitles.off();
1687 this.elements.$headingContainer.off();
1688 elementorFrontend.elements.$window.off('resize');
1689 elementorFrontend.elements.$window.off('elementor/nested-tabs/activate');
1690 }
1691 onKeydownAvoidUndesiredPageScrolling(event) {
1692 // We listen to keydowon event for these keys in order to prevent undesired page scrolling
1693 if (['End', 'Home', 'ArrowUp', 'ArrowDown'].includes(event.key)) {
1694 this.handleKeyboardNavigation(event);
1695 }
1696 }
1697
1698 /**
1699 * Fixes issues where Swipers that have been initialized while a tab is not visible are not properly rendered
1700 * and when switching to the tab the swiper will not respect any of the chosen `autoplay` related settings.
1701 *
1702 * This is triggered when switching to a nested tab, looks for Swipers in the tab content and reinitializes them.
1703 *
1704 * @param {Object} event - Incoming event.
1705 * @param {Object} content - Active nested tab dom element.
1706 */
1707 reInitSwipers(event, content) {
1708 const swiperElements = content.querySelectorAll(`.${elementorFrontend.config.swiperClass}`);
1709 for (const element of swiperElements) {
1710 if (!element.swiper) {
1711 return;
1712 }
1713 element.swiper.initialized = false;
1714 element.swiper.init();
1715 }
1716 }
1717 onInit() {
1718 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1719 args[_key] = arguments[_key];
1720 }
1721 this.createMobileTabs(args);
1722 super.onInit(...args);
1723 if (this.getSettings('autoExpand')) {
1724 this.activateDefaultTab();
1725 }
1726 this.setHorizontalScrollAlignment();
1727 }
1728 onEditSettingsChange(propertyName, value) {
1729 if ('activeItemIndex' === propertyName) {
1730 this.changeActiveTab(value, false);
1731 }
1732 }
1733 onElementChange(propertyName) {
1734 if (this.checkSliderPropsToWatch(propertyName)) {
1735 this.setHorizontalScrollAlignment();
1736 }
1737 }
1738 checkSliderPropsToWatch(propertyName) {
1739 return 0 === propertyName.indexOf('horizontal_scroll') || 0 === propertyName.indexOf('tabs_justify_horizontal') || 0 === propertyName.indexOf('tabs_title_space_between');
1740 }
1741
1742 /**
1743 * @param {string} tabIndex
1744 * @param {boolean} fromUser - Whether the call is caused by the user or internal.
1745 */
1746 changeActiveTab(tabIndex) {
1747 let fromUser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
1748 // `document/repeater/select` is used only in the editor, only when the element
1749 // is in the currently-edited document, and only when its not internal call,
1750 if (fromUser && this.isEdit && this.isElementInTheCurrentDocument()) {
1751 return window.top.$e.run('document/repeater/select', {
1752 container: elementor.getContainer(this.$element.attr('data-id')),
1753 index: parseInt(tabIndex)
1754 });
1755 }
1756 const isActiveTab = this.isActiveTab(tabIndex),
1757 settings = this.getSettings();
1758 if ((settings.toggleSelf || !isActiveTab) && settings.hidePrevious) {
1759 this.deactivateActiveTab();
1760 }
1761 if (!settings.hidePrevious && isActiveTab) {
1762 this.deactivateActiveTab(tabIndex);
1763 }
1764 if (!isActiveTab) {
1765 const isMobileVersion = 'none' === this.elements.$headingContainer.css('display');
1766 if (isMobileVersion) {
1767 this.activateMobileTab(tabIndex);
1768 return;
1769 }
1770 this.activateTab(tabIndex);
1771 }
1772 }
1773 activateMobileTab(tabIndex) {
1774 // Timeout time added to ensure that opening of the active tab starts after closing the other tab on Apple devices.
1775 setTimeout(() => {
1776 this.activateTab(tabIndex);
1777 this.forceActiveTabToBeInViewport(tabIndex);
1778 }, 10);
1779 }
1780 forceActiveTabToBeInViewport(tabIndex) {
1781 if (!elementorFrontend.isEditMode()) {
1782 return;
1783 }
1784 const $activeTabTitle = this.elements.$mobileTabTitles.filter(this.getTabTitleFilterSelector(tabIndex));
1785 if (!elementor.helpers.isInViewport($activeTabTitle[0])) {
1786 $activeTabTitle[0].scrollIntoView({
1787 block: 'center'
1788 });
1789 }
1790 }
1791 createMobileTabs(args) {
1792 const settings = this.getSettings();
1793 if (elementorFrontend.isEditMode()) {
1794 const $widget = this.$element,
1795 $removed = this.findElement('.e-collapse').remove();
1796 let index = 1;
1797 this.findElement('.e-con').each(function () {
1798 const $current = jQuery(this),
1799 $desktopTabTitle = $widget.find(`${settings.selectors.headingContainer} > *:nth-child(${index})`),
1800 mobileTitleHTML = `<div class="${settings.selectors.tabTitle.replace('.', '')} e-collapse" data-tab="${index}" role="tab">${$desktopTabTitle.html()}</div>`;
1801 $current.before(mobileTitleHTML);
1802 ++index;
1803 });
1804
1805 // On refresh since indexes are rearranged, do not call `activateDefaultTab` let editor control handle it.
1806 if ($removed.length) {
1807 return elementorModules.ViewModule.prototype.onInit.apply(this, args);
1808 }
1809 }
1810 }
1811 getActiveClass() {
1812 const settings = this.getSettings();
1813 return settings.classes.active;
1814 }
1815 getVisibleTabTitle(tabTitleFilter) {
1816 const $tabTitle = this.elements.$tabTitles.filter(tabTitleFilter),
1817 isTabTitleDesktopVisible = null !== $tabTitle[0]?.offsetParent;
1818 return isTabTitleDesktopVisible ? $tabTitle[0] : $tabTitle[1];
1819 }
1820 getKeyPressed(event) {
1821 const keyTab = 9,
1822 keyEscape = 27,
1823 isTabPressed = keyTab === event?.which,
1824 isShiftPressed = event?.shiftKey,
1825 isShiftAndTabPressed = !!isTabPressed && isShiftPressed,
1826 isOnlyTabPressed = !!isTabPressed && !isShiftPressed,
1827 isEscapePressed = keyEscape === event?.which;
1828 if (isShiftAndTabPressed) {
1829 return 'ShiftTab';
1830 } else if (isOnlyTabPressed) {
1831 return 'Tab';
1832 } else if (isEscapePressed) {
1833 return 'Escape';
1834 }
1835 }
1836 changeFocusFromContentContainerItemBackToTabTitle(event) {
1837 if (this.hasDropdownLayout()) {
1838 return;
1839 }
1840 const isShiftAndTabPressed = 'ShiftTab' === this.getKeyPressed(event),
1841 isOnlyTabPressed = 'Tab' === this.getKeyPressed(event),
1842 isEscapePressed = 'Escape' === this.getKeyPressed(event),
1843 firstItemIsInFocus = this.itemInsideContentContainerHasFocus(0),
1844 lastItemIsInFocus = this.itemInsideContentContainerHasFocus('last'),
1845 activeTabTitleFilter = `.${this.getActiveClass()}`,
1846 activeTabTitleVisible = this.getVisibleTabTitle(activeTabTitleFilter),
1847 activeTabTitleIndex = parseInt(activeTabTitleVisible?.getAttribute('data-tab')),
1848 nextTabTitleFilter = this.getTabTitleFilterSelector(activeTabTitleIndex + 1),
1849 nextTabTitleVisible = this.getVisibleTabTitle(nextTabTitleFilter),
1850 pressShiftTabOnFirstFocusableItem = isShiftAndTabPressed && firstItemIsInFocus && !!activeTabTitleVisible,
1851 pressTabOnLastFocusableItem = isOnlyTabPressed && lastItemIsInFocus && !!nextTabTitleVisible;
1852 if (pressShiftTabOnFirstFocusableItem || isEscapePressed) {
1853 event.preventDefault();
1854 activeTabTitleVisible?.focus();
1855 } else if (pressTabOnLastFocusableItem) {
1856 event.preventDefault();
1857 this.setTabindexOfActiveContainerItems('-1');
1858 nextTabTitleVisible?.focus();
1859 }
1860 }
1861 changeFocusFromActiveTabTitleToContentContainer(event) {
1862 const isOnlyTabPressed = 'Tab' === this.getKeyPressed(event),
1863 $focusableItems = this.getFocusableItemsInsideActiveContentContainer(),
1864 $firstFocusableItem = $focusableItems[0],
1865 currentTabTitle = elementorFrontend.elements.window.document.activeElement,
1866 currentTabTitleIndex = parseInt(currentTabTitle.getAttribute('data-tab'));
1867 if (isOnlyTabPressed && this.tabTitleHasActiveContentContainer(currentTabTitleIndex) && !!$firstFocusableItem) {
1868 event.preventDefault();
1869 $firstFocusableItem.trigger('focus');
1870 }
1871 }
1872 itemInsideContentContainerHasFocus(position) {
1873 const currentItem = elementorFrontend.elements.window.document.activeElement,
1874 $focusableItems = this.getFocusableItemsInsideActiveContentContainer(),
1875 itemIndex = 'last' === position ? $focusableItems.length - 1 : position;
1876 return $focusableItems[itemIndex] === currentItem;
1877 }
1878 getFocusableItemsInsideActiveContentContainer() {
1879 const settings = this.getSettings();
1880 return this.$element.find(settings.selectors.activeTabContentContainers).find(':focusable');
1881 }
1882 setTabindexOfActiveContainerItems(tabIndex) {
1883 const $focusableItems = this.getFocusableItemsInsideActiveContentContainer();
1884 $focusableItems.attr('tabindex', tabIndex);
1885 }
1886 setActiveCurrentContainerItemsToFocusable() {
1887 const currentTabTitle = elementorFrontend.elements.window.document.activeElement,
1888 currentTabTitleIndex = parseInt(currentTabTitle?.getAttribute('data-tab'));
1889 if (this.tabTitleHasActiveContentContainer(currentTabTitleIndex)) {
1890 this.setTabindexOfActiveContainerItems('0');
1891 }
1892 }
1893 tabTitleHasActiveContentContainer(index) {
1894 const $tabTitleElement = this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(index)),
1895 isTabTitleActive = $tabTitleElement[0]?.classList.contains(`${this.getActiveClass()}`),
1896 $tabTitleContainerElement = this.elements.$tabContents.filter(this.getTabContentFilterSelector(index));
1897 return !!$tabTitleContainerElement && isTabTitleActive ? true : false;
1898 }
1899
1900 // This function was written using this example https://codepen.io/thenutz/pen/VwYeYEE.
1901 changeScrollStatus(event) {
1902 const slider = this.elements.$headingContainer[0];
1903 if ('mousedown' === event.type) {
1904 slider.classList.add('e-scroll');
1905 slider.dataset.pageX = event.pageX;
1906 } else {
1907 slider.classList.remove('e-scroll');
1908 slider.classList.remove('e-scroll-active');
1909 slider.dataset.pageX = '';
1910 }
1911 }
1912 isHorizontalScroll() {
1913 const slider = this.elements.$headingContainer[0];
1914 return slider.clientWidth < this.getChildrenWidth(slider.children) && 'enable' === this.getHorizontalScrollSetting();
1915 }
1916 getChildrenWidth(children) {
1917 let totalWidth = 0;
1918 const parentContainer = children[0].parentNode,
1919 computedStyles = getComputedStyle(parentContainer),
1920 gap = parseFloat(computedStyles.gap) || 0; // Get the gap value or default to 0 if it's not specified
1921
1922 for (let i = 0; i < children.length; i++) {
1923 totalWidth += children[i].offsetWidth + gap;
1924 }
1925 return totalWidth;
1926 }
1927 setHorizontalScrollAlignment() {
1928 let event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1929 if (!this.elements) {
1930 return;
1931 }
1932 const slider = this.elements.$headingContainer[0];
1933 if (this.isHorizontalScroll()) {
1934 const tabsDirection = this.getTabsDirection();
1935 this.initialScrollPosition(slider, tabsDirection);
1936 } else {
1937 slider.style.setProperty('--n-tabs-heading-justify-content', '');
1938 }
1939 }
1940 getTabsDirection() {
1941 const currentDevice = elementorFrontend.getCurrentDeviceMode(),
1942 tabsDirection = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'tabs_justify_horizontal', '', currentDevice);
1943 return tabsDirection;
1944 }
1945 initialScrollPosition(slider, tabsDirection) {
1946 const isRTL = elementorCommon.config.isRTL;
1947 switch (tabsDirection) {
1948 case 'end':
1949 slider.style.setProperty('--n-tabs-heading-justify-content', 'start');
1950 slider.scrollLeft = isRTL ? -1 * this.getChildrenWidth(slider.children) : this.getChildrenWidth(slider.children);
1951 break;
1952 default:
1953 slider.style.setProperty('--n-tabs-heading-justify-content', 'start');
1954 slider.scrollLeft = 0;
1955 }
1956 }
1957 getHorizontalScrollSetting() {
1958 const currentDevice = elementorFrontend.getCurrentDeviceMode(),
1959 horizontalScrollSetting = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'horizontal_scroll', '', currentDevice);
1960 return horizontalScrollSetting;
1961 }
1962 setHorizontalTabTitleScrollValues(event) {
1963 const slider = this.elements.$headingContainer[0],
1964 isActiveScroll = slider.classList.contains('e-scroll'),
1965 isHorizontalScrollActive = 'enable' === this.getHorizontalScrollSetting(),
1966 headingContentIsWiderThanWrapper = slider.scrollWidth > slider.clientWidth;
1967 if (!isActiveScroll || !isHorizontalScrollActive || !headingContentIsWiderThanWrapper) {
1968 return;
1969 }
1970 event.preventDefault();
1971 const previousPositionX = parseFloat(slider.dataset.pageX),
1972 mouseMoveX = event.pageX - previousPositionX,
1973 maximumScrollValue = 5,
1974 stepLimit = 20;
1975 let toScrollDistanceX = 0;
1976 if (stepLimit < mouseMoveX) {
1977 toScrollDistanceX = maximumScrollValue;
1978 } else if (stepLimit * -1 > mouseMoveX) {
1979 toScrollDistanceX = -1 * maximumScrollValue;
1980 } else {
1981 toScrollDistanceX = mouseMoveX;
1982 }
1983 slider.scrollLeft = slider.scrollLeft - toScrollDistanceX;
1984 slider.classList.add('e-scroll-active');
1985 }
1986 }
1987 exports["default"] = NestedTabs;
1988
1989 /***/ }),
1990
1991 /***/ "../node_modules/core-js/internals/a-callable.js":
1992 /*!*******************************************************!*\
1993 !*** ../node_modules/core-js/internals/a-callable.js ***!
1994 \*******************************************************/
1995 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1996
1997 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
1998 var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
1999
2000 var $TypeError = TypeError;
2001
2002 // `Assert: IsCallable(argument) is true`
2003 module.exports = function (argument) {
2004 if (isCallable(argument)) return argument;
2005 throw $TypeError(tryToString(argument) + ' is not a function');
2006 };
2007
2008
2009 /***/ }),
2010
2011 /***/ "../node_modules/core-js/internals/a-possible-prototype.js":
2012 /*!*****************************************************************!*\
2013 !*** ../node_modules/core-js/internals/a-possible-prototype.js ***!
2014 \*****************************************************************/
2015 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2016
2017 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2018
2019 var $String = String;
2020 var $TypeError = TypeError;
2021
2022 module.exports = function (argument) {
2023 if (typeof argument == 'object' || isCallable(argument)) return argument;
2024 throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
2025 };
2026
2027
2028 /***/ }),
2029
2030 /***/ "../node_modules/core-js/internals/an-object.js":
2031 /*!******************************************************!*\
2032 !*** ../node_modules/core-js/internals/an-object.js ***!
2033 \******************************************************/
2034 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2035
2036 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2037
2038 var $String = String;
2039 var $TypeError = TypeError;
2040
2041 // `Assert: Type(argument) is Object`
2042 module.exports = function (argument) {
2043 if (isObject(argument)) return argument;
2044 throw $TypeError($String(argument) + ' is not an object');
2045 };
2046
2047
2048 /***/ }),
2049
2050 /***/ "../node_modules/core-js/internals/array-includes.js":
2051 /*!***********************************************************!*\
2052 !*** ../node_modules/core-js/internals/array-includes.js ***!
2053 \***********************************************************/
2054 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2055
2056 var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
2057 var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js");
2058 var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
2059
2060 // `Array.prototype.{ indexOf, includes }` methods implementation
2061 var createMethod = function (IS_INCLUDES) {
2062 return function ($this, el, fromIndex) {
2063 var O = toIndexedObject($this);
2064 var length = lengthOfArrayLike(O);
2065 var index = toAbsoluteIndex(fromIndex, length);
2066 var value;
2067 // Array#includes uses SameValueZero equality algorithm
2068 // eslint-disable-next-line no-self-compare -- NaN check
2069 if (IS_INCLUDES && el != el) while (length > index) {
2070 value = O[index++];
2071 // eslint-disable-next-line no-self-compare -- NaN check
2072 if (value != value) return true;
2073 // Array#indexOf ignores holes, Array#includes - not
2074 } else for (;length > index; index++) {
2075 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
2076 } return !IS_INCLUDES && -1;
2077 };
2078 };
2079
2080 module.exports = {
2081 // `Array.prototype.includes` method
2082 // https://tc39.es/ecma262/#sec-array.prototype.includes
2083 includes: createMethod(true),
2084 // `Array.prototype.indexOf` method
2085 // https://tc39.es/ecma262/#sec-array.prototype.indexof
2086 indexOf: createMethod(false)
2087 };
2088
2089
2090 /***/ }),
2091
2092 /***/ "../node_modules/core-js/internals/classof-raw.js":
2093 /*!********************************************************!*\
2094 !*** ../node_modules/core-js/internals/classof-raw.js ***!
2095 \********************************************************/
2096 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2097
2098 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2099
2100 var toString = uncurryThis({}.toString);
2101 var stringSlice = uncurryThis(''.slice);
2102
2103 module.exports = function (it) {
2104 return stringSlice(toString(it), 8, -1);
2105 };
2106
2107
2108 /***/ }),
2109
2110 /***/ "../node_modules/core-js/internals/classof.js":
2111 /*!****************************************************!*\
2112 !*** ../node_modules/core-js/internals/classof.js ***!
2113 \****************************************************/
2114 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2115
2116 var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js");
2117 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2118 var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
2119 var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
2120
2121 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2122 var $Object = Object;
2123
2124 // ES3 wrong here
2125 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
2126
2127 // fallback for IE11 Script Access Denied error
2128 var tryGet = function (it, key) {
2129 try {
2130 return it[key];
2131 } catch (error) { /* empty */ }
2132 };
2133
2134 // getting tag from ES6+ `Object.prototype.toString`
2135 module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
2136 var O, tag, result;
2137 return it === undefined ? 'Undefined' : it === null ? 'Null'
2138 // @@toStringTag case
2139 : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2140 // builtinTag case
2141 : CORRECT_ARGUMENTS ? classofRaw(O)
2142 // ES3 arguments fallback
2143 : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
2144 };
2145
2146
2147 /***/ }),
2148
2149 /***/ "../node_modules/core-js/internals/copy-constructor-properties.js":
2150 /*!************************************************************************!*\
2151 !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***!
2152 \************************************************************************/
2153 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2154
2155 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
2156 var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js");
2157 var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js");
2158 var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
2159
2160 module.exports = function (target, source, exceptions) {
2161 var keys = ownKeys(source);
2162 var defineProperty = definePropertyModule.f;
2163 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
2164 for (var i = 0; i < keys.length; i++) {
2165 var key = keys[i];
2166 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
2167 defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2168 }
2169 }
2170 };
2171
2172
2173 /***/ }),
2174
2175 /***/ "../node_modules/core-js/internals/create-non-enumerable-property.js":
2176 /*!***************************************************************************!*\
2177 !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***!
2178 \***************************************************************************/
2179 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2180
2181 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
2182 var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
2183 var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
2184
2185 module.exports = DESCRIPTORS ? function (object, key, value) {
2186 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
2187 } : function (object, key, value) {
2188 object[key] = value;
2189 return object;
2190 };
2191
2192
2193 /***/ }),
2194
2195 /***/ "../node_modules/core-js/internals/create-property-descriptor.js":
2196 /*!***********************************************************************!*\
2197 !*** ../node_modules/core-js/internals/create-property-descriptor.js ***!
2198 \***********************************************************************/
2199 /***/ ((module) => {
2200
2201 module.exports = function (bitmap, value) {
2202 return {
2203 enumerable: !(bitmap & 1),
2204 configurable: !(bitmap & 2),
2205 writable: !(bitmap & 4),
2206 value: value
2207 };
2208 };
2209
2210
2211 /***/ }),
2212
2213 /***/ "../node_modules/core-js/internals/define-built-in.js":
2214 /*!************************************************************!*\
2215 !*** ../node_modules/core-js/internals/define-built-in.js ***!
2216 \************************************************************/
2217 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2218
2219 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2220 var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
2221 var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
2222 var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
2223
2224 module.exports = function (O, key, value, options) {
2225 if (!options) options = {};
2226 var simple = options.enumerable;
2227 var name = options.name !== undefined ? options.name : key;
2228 if (isCallable(value)) makeBuiltIn(value, name, options);
2229 if (options.global) {
2230 if (simple) O[key] = value;
2231 else defineGlobalProperty(key, value);
2232 } else {
2233 try {
2234 if (!options.unsafe) delete O[key];
2235 else if (O[key]) simple = true;
2236 } catch (error) { /* empty */ }
2237 if (simple) O[key] = value;
2238 else definePropertyModule.f(O, key, {
2239 value: value,
2240 enumerable: false,
2241 configurable: !options.nonConfigurable,
2242 writable: !options.nonWritable
2243 });
2244 } return O;
2245 };
2246
2247
2248 /***/ }),
2249
2250 /***/ "../node_modules/core-js/internals/define-global-property.js":
2251 /*!*******************************************************************!*\
2252 !*** ../node_modules/core-js/internals/define-global-property.js ***!
2253 \*******************************************************************/
2254 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2255
2256 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2257
2258 // eslint-disable-next-line es/no-object-defineproperty -- safe
2259 var defineProperty = Object.defineProperty;
2260
2261 module.exports = function (key, value) {
2262 try {
2263 defineProperty(global, key, { value: value, configurable: true, writable: true });
2264 } catch (error) {
2265 global[key] = value;
2266 } return value;
2267 };
2268
2269
2270 /***/ }),
2271
2272 /***/ "../node_modules/core-js/internals/descriptors.js":
2273 /*!********************************************************!*\
2274 !*** ../node_modules/core-js/internals/descriptors.js ***!
2275 \********************************************************/
2276 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2277
2278 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2279
2280 // Detect IE8's incomplete defineProperty implementation
2281 module.exports = !fails(function () {
2282 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2283 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
2284 });
2285
2286
2287 /***/ }),
2288
2289 /***/ "../node_modules/core-js/internals/document-all.js":
2290 /*!*********************************************************!*\
2291 !*** ../node_modules/core-js/internals/document-all.js ***!
2292 \*********************************************************/
2293 /***/ ((module) => {
2294
2295 var documentAll = typeof document == 'object' && document.all;
2296
2297 // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
2298 // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
2299 var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
2300
2301 module.exports = {
2302 all: documentAll,
2303 IS_HTMLDDA: IS_HTMLDDA
2304 };
2305
2306
2307 /***/ }),
2308
2309 /***/ "../node_modules/core-js/internals/document-create-element.js":
2310 /*!********************************************************************!*\
2311 !*** ../node_modules/core-js/internals/document-create-element.js ***!
2312 \********************************************************************/
2313 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2314
2315 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2316 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2317
2318 var document = global.document;
2319 // typeof document.createElement is 'object' in old IE
2320 var EXISTS = isObject(document) && isObject(document.createElement);
2321
2322 module.exports = function (it) {
2323 return EXISTS ? document.createElement(it) : {};
2324 };
2325
2326
2327 /***/ }),
2328
2329 /***/ "../node_modules/core-js/internals/engine-user-agent.js":
2330 /*!**************************************************************!*\
2331 !*** ../node_modules/core-js/internals/engine-user-agent.js ***!
2332 \**************************************************************/
2333 /***/ ((module) => {
2334
2335 module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
2336
2337
2338 /***/ }),
2339
2340 /***/ "../node_modules/core-js/internals/engine-v8-version.js":
2341 /*!**************************************************************!*\
2342 !*** ../node_modules/core-js/internals/engine-v8-version.js ***!
2343 \**************************************************************/
2344 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2345
2346 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2347 var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "../node_modules/core-js/internals/engine-user-agent.js");
2348
2349 var process = global.process;
2350 var Deno = global.Deno;
2351 var versions = process && process.versions || Deno && Deno.version;
2352 var v8 = versions && versions.v8;
2353 var match, version;
2354
2355 if (v8) {
2356 match = v8.split('.');
2357 // in old Chrome, versions of V8 isn't V8 = Chrome / 10
2358 // but their correct versions are not interesting for us
2359 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
2360 }
2361
2362 // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
2363 // so check `userAgent` even if `.v8` exists, but 0
2364 if (!version && userAgent) {
2365 match = userAgent.match(/Edge\/(\d+)/);
2366 if (!match || match[1] >= 74) {
2367 match = userAgent.match(/Chrome\/(\d+)/);
2368 if (match) version = +match[1];
2369 }
2370 }
2371
2372 module.exports = version;
2373
2374
2375 /***/ }),
2376
2377 /***/ "../node_modules/core-js/internals/enum-bug-keys.js":
2378 /*!**********************************************************!*\
2379 !*** ../node_modules/core-js/internals/enum-bug-keys.js ***!
2380 \**********************************************************/
2381 /***/ ((module) => {
2382
2383 // IE8- don't enum bug keys
2384 module.exports = [
2385 'constructor',
2386 'hasOwnProperty',
2387 'isPrototypeOf',
2388 'propertyIsEnumerable',
2389 'toLocaleString',
2390 'toString',
2391 'valueOf'
2392 ];
2393
2394
2395 /***/ }),
2396
2397 /***/ "../node_modules/core-js/internals/error-stack-clear.js":
2398 /*!**************************************************************!*\
2399 !*** ../node_modules/core-js/internals/error-stack-clear.js ***!
2400 \**************************************************************/
2401 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2402
2403 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2404
2405 var $Error = Error;
2406 var replace = uncurryThis(''.replace);
2407
2408 var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
2409 // eslint-disable-next-line redos/no-vulnerable -- safe
2410 var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
2411 var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
2412
2413 module.exports = function (stack, dropEntries) {
2414 if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
2415 while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
2416 } return stack;
2417 };
2418
2419
2420 /***/ }),
2421
2422 /***/ "../node_modules/core-js/internals/error-stack-install.js":
2423 /*!****************************************************************!*\
2424 !*** ../node_modules/core-js/internals/error-stack-install.js ***!
2425 \****************************************************************/
2426 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2427
2428 var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
2429 var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js");
2430 var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "../node_modules/core-js/internals/error-stack-installable.js");
2431
2432 // non-standard V8
2433 var captureStackTrace = Error.captureStackTrace;
2434
2435 module.exports = function (error, C, stack, dropEntries) {
2436 if (ERROR_STACK_INSTALLABLE) {
2437 if (captureStackTrace) captureStackTrace(error, C);
2438 else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
2439 }
2440 };
2441
2442
2443 /***/ }),
2444
2445 /***/ "../node_modules/core-js/internals/error-stack-installable.js":
2446 /*!********************************************************************!*\
2447 !*** ../node_modules/core-js/internals/error-stack-installable.js ***!
2448 \********************************************************************/
2449 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2450
2451 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2452 var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
2453
2454 module.exports = !fails(function () {
2455 var error = Error('a');
2456 if (!('stack' in error)) return true;
2457 // eslint-disable-next-line es/no-object-defineproperty -- safe
2458 Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
2459 return error.stack !== 7;
2460 });
2461
2462
2463 /***/ }),
2464
2465 /***/ "../node_modules/core-js/internals/export.js":
2466 /*!***************************************************!*\
2467 !*** ../node_modules/core-js/internals/export.js ***!
2468 \***************************************************/
2469 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2470
2471 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2472 var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
2473 var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
2474 var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
2475 var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
2476 var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
2477 var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js");
2478
2479 /*
2480 options.target - name of the target object
2481 options.global - target is the global object
2482 options.stat - export as static methods of target
2483 options.proto - export as prototype methods of target
2484 options.real - real prototype method for the `pure` version
2485 options.forced - export even if the native feature is available
2486 options.bind - bind methods to the target, required for the `pure` version
2487 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
2488 options.unsafe - use the simple assignment of property instead of delete + defineProperty
2489 options.sham - add a flag to not completely full polyfills
2490 options.enumerable - export as enumerable property
2491 options.dontCallGetSet - prevent calling a getter on target
2492 options.name - the .name of the function if it does not match the key
2493 */
2494 module.exports = function (options, source) {
2495 var TARGET = options.target;
2496 var GLOBAL = options.global;
2497 var STATIC = options.stat;
2498 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2499 if (GLOBAL) {
2500 target = global;
2501 } else if (STATIC) {
2502 target = global[TARGET] || defineGlobalProperty(TARGET, {});
2503 } else {
2504 target = (global[TARGET] || {}).prototype;
2505 }
2506 if (target) for (key in source) {
2507 sourceProperty = source[key];
2508 if (options.dontCallGetSet) {
2509 descriptor = getOwnPropertyDescriptor(target, key);
2510 targetProperty = descriptor && descriptor.value;
2511 } else targetProperty = target[key];
2512 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
2513 // contained in target
2514 if (!FORCED && targetProperty !== undefined) {
2515 if (typeof sourceProperty == typeof targetProperty) continue;
2516 copyConstructorProperties(sourceProperty, targetProperty);
2517 }
2518 // add a flag to not completely full polyfills
2519 if (options.sham || (targetProperty && targetProperty.sham)) {
2520 createNonEnumerableProperty(sourceProperty, 'sham', true);
2521 }
2522 defineBuiltIn(target, key, sourceProperty, options);
2523 }
2524 };
2525
2526
2527 /***/ }),
2528
2529 /***/ "../node_modules/core-js/internals/fails.js":
2530 /*!**************************************************!*\
2531 !*** ../node_modules/core-js/internals/fails.js ***!
2532 \**************************************************/
2533 /***/ ((module) => {
2534
2535 module.exports = function (exec) {
2536 try {
2537 return !!exec();
2538 } catch (error) {
2539 return true;
2540 }
2541 };
2542
2543
2544 /***/ }),
2545
2546 /***/ "../node_modules/core-js/internals/function-apply.js":
2547 /*!***********************************************************!*\
2548 !*** ../node_modules/core-js/internals/function-apply.js ***!
2549 \***********************************************************/
2550 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2551
2552 var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
2553
2554 var FunctionPrototype = Function.prototype;
2555 var apply = FunctionPrototype.apply;
2556 var call = FunctionPrototype.call;
2557
2558 // eslint-disable-next-line es/no-reflect -- safe
2559 module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
2560 return call.apply(apply, arguments);
2561 });
2562
2563
2564 /***/ }),
2565
2566 /***/ "../node_modules/core-js/internals/function-bind-native.js":
2567 /*!*****************************************************************!*\
2568 !*** ../node_modules/core-js/internals/function-bind-native.js ***!
2569 \*****************************************************************/
2570 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2571
2572 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2573
2574 module.exports = !fails(function () {
2575 // eslint-disable-next-line es/no-function-prototype-bind -- safe
2576 var test = (function () { /* empty */ }).bind();
2577 // eslint-disable-next-line no-prototype-builtins -- safe
2578 return typeof test != 'function' || test.hasOwnProperty('prototype');
2579 });
2580
2581
2582 /***/ }),
2583
2584 /***/ "../node_modules/core-js/internals/function-call.js":
2585 /*!**********************************************************!*\
2586 !*** ../node_modules/core-js/internals/function-call.js ***!
2587 \**********************************************************/
2588 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2589
2590 var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
2591
2592 var call = Function.prototype.call;
2593
2594 module.exports = NATIVE_BIND ? call.bind(call) : function () {
2595 return call.apply(call, arguments);
2596 };
2597
2598
2599 /***/ }),
2600
2601 /***/ "../node_modules/core-js/internals/function-name.js":
2602 /*!**********************************************************!*\
2603 !*** ../node_modules/core-js/internals/function-name.js ***!
2604 \**********************************************************/
2605 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2606
2607 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
2608 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
2609
2610 var FunctionPrototype = Function.prototype;
2611 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2612 var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
2613
2614 var EXISTS = hasOwn(FunctionPrototype, 'name');
2615 // additional protection from minified / mangled / dropped function names
2616 var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
2617 var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
2618
2619 module.exports = {
2620 EXISTS: EXISTS,
2621 PROPER: PROPER,
2622 CONFIGURABLE: CONFIGURABLE
2623 };
2624
2625
2626 /***/ }),
2627
2628 /***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js":
2629 /*!***************************************************************************!*\
2630 !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***!
2631 \***************************************************************************/
2632 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2633
2634 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2635 var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
2636
2637 module.exports = function (object, key, method) {
2638 try {
2639 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2640 return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
2641 } catch (error) { /* empty */ }
2642 };
2643
2644
2645 /***/ }),
2646
2647 /***/ "../node_modules/core-js/internals/function-uncurry-this.js":
2648 /*!******************************************************************!*\
2649 !*** ../node_modules/core-js/internals/function-uncurry-this.js ***!
2650 \******************************************************************/
2651 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2652
2653 var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
2654
2655 var FunctionPrototype = Function.prototype;
2656 var call = FunctionPrototype.call;
2657 var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
2658
2659 module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
2660 return function () {
2661 return call.apply(fn, arguments);
2662 };
2663 };
2664
2665
2666 /***/ }),
2667
2668 /***/ "../node_modules/core-js/internals/get-built-in.js":
2669 /*!*********************************************************!*\
2670 !*** ../node_modules/core-js/internals/get-built-in.js ***!
2671 \*********************************************************/
2672 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2673
2674 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2675 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2676
2677 var aFunction = function (argument) {
2678 return isCallable(argument) ? argument : undefined;
2679 };
2680
2681 module.exports = function (namespace, method) {
2682 return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
2683 };
2684
2685
2686 /***/ }),
2687
2688 /***/ "../node_modules/core-js/internals/get-method.js":
2689 /*!*******************************************************!*\
2690 !*** ../node_modules/core-js/internals/get-method.js ***!
2691 \*******************************************************/
2692 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2693
2694 var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
2695 var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
2696
2697 // `GetMethod` abstract operation
2698 // https://tc39.es/ecma262/#sec-getmethod
2699 module.exports = function (V, P) {
2700 var func = V[P];
2701 return isNullOrUndefined(func) ? undefined : aCallable(func);
2702 };
2703
2704
2705 /***/ }),
2706
2707 /***/ "../node_modules/core-js/internals/global.js":
2708 /*!***************************************************!*\
2709 !*** ../node_modules/core-js/internals/global.js ***!
2710 \***************************************************/
2711 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2712
2713 var check = function (it) {
2714 return it && it.Math == Math && it;
2715 };
2716
2717 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
2718 module.exports =
2719 // eslint-disable-next-line es/no-global-this -- safe
2720 check(typeof globalThis == 'object' && globalThis) ||
2721 check(typeof window == 'object' && window) ||
2722 // eslint-disable-next-line no-restricted-globals -- safe
2723 check(typeof self == 'object' && self) ||
2724 check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
2725 // eslint-disable-next-line no-new-func -- fallback
2726 (function () { return this; })() || Function('return this')();
2727
2728
2729 /***/ }),
2730
2731 /***/ "../node_modules/core-js/internals/has-own-property.js":
2732 /*!*************************************************************!*\
2733 !*** ../node_modules/core-js/internals/has-own-property.js ***!
2734 \*************************************************************/
2735 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2736
2737 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2738 var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
2739
2740 var hasOwnProperty = uncurryThis({}.hasOwnProperty);
2741
2742 // `HasOwnProperty` abstract operation
2743 // https://tc39.es/ecma262/#sec-hasownproperty
2744 // eslint-disable-next-line es/no-object-hasown -- safe
2745 module.exports = Object.hasOwn || function hasOwn(it, key) {
2746 return hasOwnProperty(toObject(it), key);
2747 };
2748
2749
2750 /***/ }),
2751
2752 /***/ "../node_modules/core-js/internals/hidden-keys.js":
2753 /*!********************************************************!*\
2754 !*** ../node_modules/core-js/internals/hidden-keys.js ***!
2755 \********************************************************/
2756 /***/ ((module) => {
2757
2758 module.exports = {};
2759
2760
2761 /***/ }),
2762
2763 /***/ "../node_modules/core-js/internals/ie8-dom-define.js":
2764 /*!***********************************************************!*\
2765 !*** ../node_modules/core-js/internals/ie8-dom-define.js ***!
2766 \***********************************************************/
2767 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2768
2769 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
2770 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2771 var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
2772
2773 // Thanks to IE8 for its funny defineProperty
2774 module.exports = !DESCRIPTORS && !fails(function () {
2775 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2776 return Object.defineProperty(createElement('div'), 'a', {
2777 get: function () { return 7; }
2778 }).a != 7;
2779 });
2780
2781
2782 /***/ }),
2783
2784 /***/ "../node_modules/core-js/internals/indexed-object.js":
2785 /*!***********************************************************!*\
2786 !*** ../node_modules/core-js/internals/indexed-object.js ***!
2787 \***********************************************************/
2788 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2789
2790 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2791 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2792 var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
2793
2794 var $Object = Object;
2795 var split = uncurryThis(''.split);
2796
2797 // fallback for non-array-like ES3 and non-enumerable old V8 strings
2798 module.exports = fails(function () {
2799 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
2800 // eslint-disable-next-line no-prototype-builtins -- safe
2801 return !$Object('z').propertyIsEnumerable(0);
2802 }) ? function (it) {
2803 return classof(it) == 'String' ? split(it, '') : $Object(it);
2804 } : $Object;
2805
2806
2807 /***/ }),
2808
2809 /***/ "../node_modules/core-js/internals/inherit-if-required.js":
2810 /*!****************************************************************!*\
2811 !*** ../node_modules/core-js/internals/inherit-if-required.js ***!
2812 \****************************************************************/
2813 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2814
2815 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2816 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2817 var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js");
2818
2819 // makes subclassing work correct for wrapped built-ins
2820 module.exports = function ($this, dummy, Wrapper) {
2821 var NewTarget, NewTargetPrototype;
2822 if (
2823 // it can work only with native `setPrototypeOf`
2824 setPrototypeOf &&
2825 // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
2826 isCallable(NewTarget = dummy.constructor) &&
2827 NewTarget !== Wrapper &&
2828 isObject(NewTargetPrototype = NewTarget.prototype) &&
2829 NewTargetPrototype !== Wrapper.prototype
2830 ) setPrototypeOf($this, NewTargetPrototype);
2831 return $this;
2832 };
2833
2834
2835 /***/ }),
2836
2837 /***/ "../node_modules/core-js/internals/inspect-source.js":
2838 /*!***********************************************************!*\
2839 !*** ../node_modules/core-js/internals/inspect-source.js ***!
2840 \***********************************************************/
2841 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2842
2843 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
2844 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2845 var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
2846
2847 var functionToString = uncurryThis(Function.toString);
2848
2849 // this helper broken in `[email protected]`, so we can't use `shared` helper
2850 if (!isCallable(store.inspectSource)) {
2851 store.inspectSource = function (it) {
2852 return functionToString(it);
2853 };
2854 }
2855
2856 module.exports = store.inspectSource;
2857
2858
2859 /***/ }),
2860
2861 /***/ "../node_modules/core-js/internals/install-error-cause.js":
2862 /*!****************************************************************!*\
2863 !*** ../node_modules/core-js/internals/install-error-cause.js ***!
2864 \****************************************************************/
2865 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2866
2867 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2868 var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
2869
2870 // `InstallErrorCause` abstract operation
2871 // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
2872 module.exports = function (O, options) {
2873 if (isObject(options) && 'cause' in options) {
2874 createNonEnumerableProperty(O, 'cause', options.cause);
2875 }
2876 };
2877
2878
2879 /***/ }),
2880
2881 /***/ "../node_modules/core-js/internals/internal-state.js":
2882 /*!***********************************************************!*\
2883 !*** ../node_modules/core-js/internals/internal-state.js ***!
2884 \***********************************************************/
2885 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2886
2887 var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js");
2888 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
2889 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
2890 var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
2891 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
2892 var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
2893 var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
2894 var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
2895
2896 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
2897 var TypeError = global.TypeError;
2898 var WeakMap = global.WeakMap;
2899 var set, get, has;
2900
2901 var enforce = function (it) {
2902 return has(it) ? get(it) : set(it, {});
2903 };
2904
2905 var getterFor = function (TYPE) {
2906 return function (it) {
2907 var state;
2908 if (!isObject(it) || (state = get(it)).type !== TYPE) {
2909 throw TypeError('Incompatible receiver, ' + TYPE + ' required');
2910 } return state;
2911 };
2912 };
2913
2914 if (NATIVE_WEAK_MAP || shared.state) {
2915 var store = shared.state || (shared.state = new WeakMap());
2916 /* eslint-disable no-self-assign -- prototype methods protection */
2917 store.get = store.get;
2918 store.has = store.has;
2919 store.set = store.set;
2920 /* eslint-enable no-self-assign -- prototype methods protection */
2921 set = function (it, metadata) {
2922 if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
2923 metadata.facade = it;
2924 store.set(it, metadata);
2925 return metadata;
2926 };
2927 get = function (it) {
2928 return store.get(it) || {};
2929 };
2930 has = function (it) {
2931 return store.has(it);
2932 };
2933 } else {
2934 var STATE = sharedKey('state');
2935 hiddenKeys[STATE] = true;
2936 set = function (it, metadata) {
2937 if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
2938 metadata.facade = it;
2939 createNonEnumerableProperty(it, STATE, metadata);
2940 return metadata;
2941 };
2942 get = function (it) {
2943 return hasOwn(it, STATE) ? it[STATE] : {};
2944 };
2945 has = function (it) {
2946 return hasOwn(it, STATE);
2947 };
2948 }
2949
2950 module.exports = {
2951 set: set,
2952 get: get,
2953 has: has,
2954 enforce: enforce,
2955 getterFor: getterFor
2956 };
2957
2958
2959 /***/ }),
2960
2961 /***/ "../node_modules/core-js/internals/is-callable.js":
2962 /*!********************************************************!*\
2963 !*** ../node_modules/core-js/internals/is-callable.js ***!
2964 \********************************************************/
2965 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2966
2967 var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js");
2968
2969 var documentAll = $documentAll.all;
2970
2971 // `IsCallable` abstract operation
2972 // https://tc39.es/ecma262/#sec-iscallable
2973 module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
2974 return typeof argument == 'function' || argument === documentAll;
2975 } : function (argument) {
2976 return typeof argument == 'function';
2977 };
2978
2979
2980 /***/ }),
2981
2982 /***/ "../node_modules/core-js/internals/is-forced.js":
2983 /*!******************************************************!*\
2984 !*** ../node_modules/core-js/internals/is-forced.js ***!
2985 \******************************************************/
2986 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2987
2988 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
2989 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
2990
2991 var replacement = /#|\.prototype\./;
2992
2993 var isForced = function (feature, detection) {
2994 var value = data[normalize(feature)];
2995 return value == POLYFILL ? true
2996 : value == NATIVE ? false
2997 : isCallable(detection) ? fails(detection)
2998 : !!detection;
2999 };
3000
3001 var normalize = isForced.normalize = function (string) {
3002 return String(string).replace(replacement, '.').toLowerCase();
3003 };
3004
3005 var data = isForced.data = {};
3006 var NATIVE = isForced.NATIVE = 'N';
3007 var POLYFILL = isForced.POLYFILL = 'P';
3008
3009 module.exports = isForced;
3010
3011
3012 /***/ }),
3013
3014 /***/ "../node_modules/core-js/internals/is-null-or-undefined.js":
3015 /*!*****************************************************************!*\
3016 !*** ../node_modules/core-js/internals/is-null-or-undefined.js ***!
3017 \*****************************************************************/
3018 /***/ ((module) => {
3019
3020 // we can't use just `it == null` since of `document.all` special case
3021 // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
3022 module.exports = function (it) {
3023 return it === null || it === undefined;
3024 };
3025
3026
3027 /***/ }),
3028
3029 /***/ "../node_modules/core-js/internals/is-object.js":
3030 /*!******************************************************!*\
3031 !*** ../node_modules/core-js/internals/is-object.js ***!
3032 \******************************************************/
3033 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3034
3035 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3036 var $documentAll = __webpack_require__(/*! ../internals/document-all */ "../node_modules/core-js/internals/document-all.js");
3037
3038 var documentAll = $documentAll.all;
3039
3040 module.exports = $documentAll.IS_HTMLDDA ? function (it) {
3041 return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
3042 } : function (it) {
3043 return typeof it == 'object' ? it !== null : isCallable(it);
3044 };
3045
3046
3047 /***/ }),
3048
3049 /***/ "../node_modules/core-js/internals/is-pure.js":
3050 /*!****************************************************!*\
3051 !*** ../node_modules/core-js/internals/is-pure.js ***!
3052 \****************************************************/
3053 /***/ ((module) => {
3054
3055 module.exports = false;
3056
3057
3058 /***/ }),
3059
3060 /***/ "../node_modules/core-js/internals/is-symbol.js":
3061 /*!******************************************************!*\
3062 !*** ../node_modules/core-js/internals/is-symbol.js ***!
3063 \******************************************************/
3064 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3065
3066 var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
3067 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3068 var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
3069 var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
3070
3071 var $Object = Object;
3072
3073 module.exports = USE_SYMBOL_AS_UID ? function (it) {
3074 return typeof it == 'symbol';
3075 } : function (it) {
3076 var $Symbol = getBuiltIn('Symbol');
3077 return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
3078 };
3079
3080
3081 /***/ }),
3082
3083 /***/ "../node_modules/core-js/internals/length-of-array-like.js":
3084 /*!*****************************************************************!*\
3085 !*** ../node_modules/core-js/internals/length-of-array-like.js ***!
3086 \*****************************************************************/
3087 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3088
3089 var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js");
3090
3091 // `LengthOfArrayLike` abstract operation
3092 // https://tc39.es/ecma262/#sec-lengthofarraylike
3093 module.exports = function (obj) {
3094 return toLength(obj.length);
3095 };
3096
3097
3098 /***/ }),
3099
3100 /***/ "../node_modules/core-js/internals/make-built-in.js":
3101 /*!**********************************************************!*\
3102 !*** ../node_modules/core-js/internals/make-built-in.js ***!
3103 \**********************************************************/
3104 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3105
3106 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3107 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3108 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3109 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3110 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3111 var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
3112 var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js");
3113 var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
3114
3115 var enforceInternalState = InternalStateModule.enforce;
3116 var getInternalState = InternalStateModule.get;
3117 var $String = String;
3118 // eslint-disable-next-line es/no-object-defineproperty -- safe
3119 var defineProperty = Object.defineProperty;
3120 var stringSlice = uncurryThis(''.slice);
3121 var replace = uncurryThis(''.replace);
3122 var join = uncurryThis([].join);
3123
3124 var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
3125 return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
3126 });
3127
3128 var TEMPLATE = String(String).split('String');
3129
3130 var makeBuiltIn = module.exports = function (value, name, options) {
3131 if (stringSlice($String(name), 0, 7) === 'Symbol(') {
3132 name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
3133 }
3134 if (options && options.getter) name = 'get ' + name;
3135 if (options && options.setter) name = 'set ' + name;
3136 if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
3137 if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
3138 else value.name = name;
3139 }
3140 if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
3141 defineProperty(value, 'length', { value: options.arity });
3142 }
3143 try {
3144 if (options && hasOwn(options, 'constructor') && options.constructor) {
3145 if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
3146 // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
3147 } else if (value.prototype) value.prototype = undefined;
3148 } catch (error) { /* empty */ }
3149 var state = enforceInternalState(value);
3150 if (!hasOwn(state, 'source')) {
3151 state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
3152 } return value;
3153 };
3154
3155 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
3156 // eslint-disable-next-line no-extend-native -- required
3157 Function.prototype.toString = makeBuiltIn(function toString() {
3158 return isCallable(this) && getInternalState(this).source || inspectSource(this);
3159 }, 'toString');
3160
3161
3162 /***/ }),
3163
3164 /***/ "../node_modules/core-js/internals/math-trunc.js":
3165 /*!*******************************************************!*\
3166 !*** ../node_modules/core-js/internals/math-trunc.js ***!
3167 \*******************************************************/
3168 /***/ ((module) => {
3169
3170 var ceil = Math.ceil;
3171 var floor = Math.floor;
3172
3173 // `Math.trunc` method
3174 // https://tc39.es/ecma262/#sec-math.trunc
3175 // eslint-disable-next-line es/no-math-trunc -- safe
3176 module.exports = Math.trunc || function trunc(x) {
3177 var n = +x;
3178 return (n > 0 ? floor : ceil)(n);
3179 };
3180
3181
3182 /***/ }),
3183
3184 /***/ "../node_modules/core-js/internals/normalize-string-argument.js":
3185 /*!**********************************************************************!*\
3186 !*** ../node_modules/core-js/internals/normalize-string-argument.js ***!
3187 \**********************************************************************/
3188 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3189
3190 var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
3191
3192 module.exports = function (argument, $default) {
3193 return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
3194 };
3195
3196
3197 /***/ }),
3198
3199 /***/ "../node_modules/core-js/internals/object-define-property.js":
3200 /*!*******************************************************************!*\
3201 !*** ../node_modules/core-js/internals/object-define-property.js ***!
3202 \*******************************************************************/
3203 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3204
3205 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3206 var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
3207 var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
3208 var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3209 var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
3210
3211 var $TypeError = TypeError;
3212 // eslint-disable-next-line es/no-object-defineproperty -- safe
3213 var $defineProperty = Object.defineProperty;
3214 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3215 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3216 var ENUMERABLE = 'enumerable';
3217 var CONFIGURABLE = 'configurable';
3218 var WRITABLE = 'writable';
3219
3220 // `Object.defineProperty` method
3221 // https://tc39.es/ecma262/#sec-object.defineproperty
3222 exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
3223 anObject(O);
3224 P = toPropertyKey(P);
3225 anObject(Attributes);
3226 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
3227 var current = $getOwnPropertyDescriptor(O, P);
3228 if (current && current[WRITABLE]) {
3229 O[P] = Attributes.value;
3230 Attributes = {
3231 configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
3232 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
3233 writable: false
3234 };
3235 }
3236 } return $defineProperty(O, P, Attributes);
3237 } : $defineProperty : function defineProperty(O, P, Attributes) {
3238 anObject(O);
3239 P = toPropertyKey(P);
3240 anObject(Attributes);
3241 if (IE8_DOM_DEFINE) try {
3242 return $defineProperty(O, P, Attributes);
3243 } catch (error) { /* empty */ }
3244 if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
3245 if ('value' in Attributes) O[P] = Attributes.value;
3246 return O;
3247 };
3248
3249
3250 /***/ }),
3251
3252 /***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js":
3253 /*!*******************************************************************************!*\
3254 !*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
3255 \*******************************************************************************/
3256 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3257
3258 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3259 var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
3260 var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js");
3261 var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
3262 var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
3263 var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
3264 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3265 var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
3266
3267 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3268 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3269
3270 // `Object.getOwnPropertyDescriptor` method
3271 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
3272 exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
3273 O = toIndexedObject(O);
3274 P = toPropertyKey(P);
3275 if (IE8_DOM_DEFINE) try {
3276 return $getOwnPropertyDescriptor(O, P);
3277 } catch (error) { /* empty */ }
3278 if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
3279 };
3280
3281
3282 /***/ }),
3283
3284 /***/ "../node_modules/core-js/internals/object-get-own-property-names.js":
3285 /*!**************************************************************************!*\
3286 !*** ../node_modules/core-js/internals/object-get-own-property-names.js ***!
3287 \**************************************************************************/
3288 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3289
3290 var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
3291 var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
3292
3293 var hiddenKeys = enumBugKeys.concat('length', 'prototype');
3294
3295 // `Object.getOwnPropertyNames` method
3296 // https://tc39.es/ecma262/#sec-object.getownpropertynames
3297 // eslint-disable-next-line es/no-object-getownpropertynames -- safe
3298 exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
3299 return internalObjectKeys(O, hiddenKeys);
3300 };
3301
3302
3303 /***/ }),
3304
3305 /***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js":
3306 /*!****************************************************************************!*\
3307 !*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***!
3308 \****************************************************************************/
3309 /***/ ((__unused_webpack_module, exports) => {
3310
3311 // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
3312 exports.f = Object.getOwnPropertySymbols;
3313
3314
3315 /***/ }),
3316
3317 /***/ "../node_modules/core-js/internals/object-is-prototype-of.js":
3318 /*!*******************************************************************!*\
3319 !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***!
3320 \*******************************************************************/
3321 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3322
3323 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3324
3325 module.exports = uncurryThis({}.isPrototypeOf);
3326
3327
3328 /***/ }),
3329
3330 /***/ "../node_modules/core-js/internals/object-keys-internal.js":
3331 /*!*****************************************************************!*\
3332 !*** ../node_modules/core-js/internals/object-keys-internal.js ***!
3333 \*****************************************************************/
3334 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3335
3336 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3337 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3338 var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
3339 var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf);
3340 var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
3341
3342 var push = uncurryThis([].push);
3343
3344 module.exports = function (object, names) {
3345 var O = toIndexedObject(object);
3346 var i = 0;
3347 var result = [];
3348 var key;
3349 for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
3350 // Don't enum bug & hidden keys
3351 while (names.length > i) if (hasOwn(O, key = names[i++])) {
3352 ~indexOf(result, key) || push(result, key);
3353 }
3354 return result;
3355 };
3356
3357
3358 /***/ }),
3359
3360 /***/ "../node_modules/core-js/internals/object-property-is-enumerable.js":
3361 /*!**************************************************************************!*\
3362 !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***!
3363 \**************************************************************************/
3364 /***/ ((__unused_webpack_module, exports) => {
3365
3366 "use strict";
3367
3368 var $propertyIsEnumerable = {}.propertyIsEnumerable;
3369 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3370 var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3371
3372 // Nashorn ~ JDK8 bug
3373 var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
3374
3375 // `Object.prototype.propertyIsEnumerable` method implementation
3376 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
3377 exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
3378 var descriptor = getOwnPropertyDescriptor(this, V);
3379 return !!descriptor && descriptor.enumerable;
3380 } : $propertyIsEnumerable;
3381
3382
3383 /***/ }),
3384
3385 /***/ "../node_modules/core-js/internals/object-set-prototype-of.js":
3386 /*!********************************************************************!*\
3387 !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***!
3388 \********************************************************************/
3389 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3390
3391 /* eslint-disable no-proto -- safe */
3392 var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js");
3393 var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3394 var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js");
3395
3396 // `Object.setPrototypeOf` method
3397 // https://tc39.es/ecma262/#sec-object.setprototypeof
3398 // Works with __proto__ only. Old v8 can't work with null proto objects.
3399 // eslint-disable-next-line es/no-object-setprototypeof -- safe
3400 module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
3401 var CORRECT_SETTER = false;
3402 var test = {};
3403 var setter;
3404 try {
3405 setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
3406 setter(test, []);
3407 CORRECT_SETTER = test instanceof Array;
3408 } catch (error) { /* empty */ }
3409 return function setPrototypeOf(O, proto) {
3410 anObject(O);
3411 aPossiblePrototype(proto);
3412 if (CORRECT_SETTER) setter(O, proto);
3413 else O.__proto__ = proto;
3414 return O;
3415 };
3416 }() : undefined);
3417
3418
3419 /***/ }),
3420
3421 /***/ "../node_modules/core-js/internals/ordinary-to-primitive.js":
3422 /*!******************************************************************!*\
3423 !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***!
3424 \******************************************************************/
3425 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3426
3427 var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
3428 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3429 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3430
3431 var $TypeError = TypeError;
3432
3433 // `OrdinaryToPrimitive` abstract operation
3434 // https://tc39.es/ecma262/#sec-ordinarytoprimitive
3435 module.exports = function (input, pref) {
3436 var fn, val;
3437 if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
3438 if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
3439 if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
3440 throw $TypeError("Can't convert object to primitive value");
3441 };
3442
3443
3444 /***/ }),
3445
3446 /***/ "../node_modules/core-js/internals/own-keys.js":
3447 /*!*****************************************************!*\
3448 !*** ../node_modules/core-js/internals/own-keys.js ***!
3449 \*****************************************************/
3450 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3451
3452 var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
3453 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3454 var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js");
3455 var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js");
3456 var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3457
3458 var concat = uncurryThis([].concat);
3459
3460 // all object keys, includes non-enumerable and symbols
3461 module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
3462 var keys = getOwnPropertyNamesModule.f(anObject(it));
3463 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
3464 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
3465 };
3466
3467
3468 /***/ }),
3469
3470 /***/ "../node_modules/core-js/internals/proxy-accessor.js":
3471 /*!***********************************************************!*\
3472 !*** ../node_modules/core-js/internals/proxy-accessor.js ***!
3473 \***********************************************************/
3474 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3475
3476 var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f);
3477
3478 module.exports = function (Target, Source, key) {
3479 key in Target || defineProperty(Target, key, {
3480 configurable: true,
3481 get: function () { return Source[key]; },
3482 set: function (it) { Source[key] = it; }
3483 });
3484 };
3485
3486
3487 /***/ }),
3488
3489 /***/ "../node_modules/core-js/internals/require-object-coercible.js":
3490 /*!*********************************************************************!*\
3491 !*** ../node_modules/core-js/internals/require-object-coercible.js ***!
3492 \*********************************************************************/
3493 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3494
3495 var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
3496
3497 var $TypeError = TypeError;
3498
3499 // `RequireObjectCoercible` abstract operation
3500 // https://tc39.es/ecma262/#sec-requireobjectcoercible
3501 module.exports = function (it) {
3502 if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
3503 return it;
3504 };
3505
3506
3507 /***/ }),
3508
3509 /***/ "../node_modules/core-js/internals/shared-key.js":
3510 /*!*******************************************************!*\
3511 !*** ../node_modules/core-js/internals/shared-key.js ***!
3512 \*******************************************************/
3513 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3514
3515 var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
3516 var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
3517
3518 var keys = shared('keys');
3519
3520 module.exports = function (key) {
3521 return keys[key] || (keys[key] = uid(key));
3522 };
3523
3524
3525 /***/ }),
3526
3527 /***/ "../node_modules/core-js/internals/shared-store.js":
3528 /*!*********************************************************!*\
3529 !*** ../node_modules/core-js/internals/shared-store.js ***!
3530 \*********************************************************/
3531 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3532
3533 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
3534 var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
3535
3536 var SHARED = '__core-js_shared__';
3537 var store = global[SHARED] || defineGlobalProperty(SHARED, {});
3538
3539 module.exports = store;
3540
3541
3542 /***/ }),
3543
3544 /***/ "../node_modules/core-js/internals/shared.js":
3545 /*!***************************************************!*\
3546 !*** ../node_modules/core-js/internals/shared.js ***!
3547 \***************************************************/
3548 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3549
3550 var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
3551 var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
3552
3553 (module.exports = function (key, value) {
3554 return store[key] || (store[key] = value !== undefined ? value : {});
3555 })('versions', []).push({
3556 version: '3.30.1',
3557 mode: IS_PURE ? 'pure' : 'global',
3558 copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
3559 license: 'https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE',
3560 source: 'https://github.com/zloirock/core-js'
3561 });
3562
3563
3564 /***/ }),
3565
3566 /***/ "../node_modules/core-js/internals/symbol-constructor-detection.js":
3567 /*!*************************************************************************!*\
3568 !*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***!
3569 \*************************************************************************/
3570 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3571
3572 /* eslint-disable es/no-symbol -- required for testing */
3573 var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../node_modules/core-js/internals/engine-v8-version.js");
3574 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3575
3576 // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
3577 module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
3578 var symbol = Symbol();
3579 // Chrome 38 Symbol has incorrect toString conversion
3580 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
3581 return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
3582 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
3583 !Symbol.sham && V8_VERSION && V8_VERSION < 41;
3584 });
3585
3586
3587 /***/ }),
3588
3589 /***/ "../node_modules/core-js/internals/to-absolute-index.js":
3590 /*!**************************************************************!*\
3591 !*** ../node_modules/core-js/internals/to-absolute-index.js ***!
3592 \**************************************************************/
3593 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3594
3595 var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
3596
3597 var max = Math.max;
3598 var min = Math.min;
3599
3600 // Helper for a popular repeating case of the spec:
3601 // Let integer be ? ToInteger(index).
3602 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
3603 module.exports = function (index, length) {
3604 var integer = toIntegerOrInfinity(index);
3605 return integer < 0 ? max(integer + length, 0) : min(integer, length);
3606 };
3607
3608
3609 /***/ }),
3610
3611 /***/ "../node_modules/core-js/internals/to-indexed-object.js":
3612 /*!**************************************************************!*\
3613 !*** ../node_modules/core-js/internals/to-indexed-object.js ***!
3614 \**************************************************************/
3615 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3616
3617 // toObject with fallback for non-array-like ES3 strings
3618 var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js");
3619 var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
3620
3621 module.exports = function (it) {
3622 return IndexedObject(requireObjectCoercible(it));
3623 };
3624
3625
3626 /***/ }),
3627
3628 /***/ "../node_modules/core-js/internals/to-integer-or-infinity.js":
3629 /*!*******************************************************************!*\
3630 !*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***!
3631 \*******************************************************************/
3632 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3633
3634 var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js");
3635
3636 // `ToIntegerOrInfinity` abstract operation
3637 // https://tc39.es/ecma262/#sec-tointegerorinfinity
3638 module.exports = function (argument) {
3639 var number = +argument;
3640 // eslint-disable-next-line no-self-compare -- NaN check
3641 return number !== number || number === 0 ? 0 : trunc(number);
3642 };
3643
3644
3645 /***/ }),
3646
3647 /***/ "../node_modules/core-js/internals/to-length.js":
3648 /*!******************************************************!*\
3649 !*** ../node_modules/core-js/internals/to-length.js ***!
3650 \******************************************************/
3651 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3652
3653 var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
3654
3655 var min = Math.min;
3656
3657 // `ToLength` abstract operation
3658 // https://tc39.es/ecma262/#sec-tolength
3659 module.exports = function (argument) {
3660 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
3661 };
3662
3663
3664 /***/ }),
3665
3666 /***/ "../node_modules/core-js/internals/to-object.js":
3667 /*!******************************************************!*\
3668 !*** ../node_modules/core-js/internals/to-object.js ***!
3669 \******************************************************/
3670 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3671
3672 var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
3673
3674 var $Object = Object;
3675
3676 // `ToObject` abstract operation
3677 // https://tc39.es/ecma262/#sec-toobject
3678 module.exports = function (argument) {
3679 return $Object(requireObjectCoercible(argument));
3680 };
3681
3682
3683 /***/ }),
3684
3685 /***/ "../node_modules/core-js/internals/to-primitive.js":
3686 /*!*********************************************************!*\
3687 !*** ../node_modules/core-js/internals/to-primitive.js ***!
3688 \*********************************************************/
3689 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3690
3691 var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
3692 var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3693 var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
3694 var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
3695 var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js");
3696 var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
3697
3698 var $TypeError = TypeError;
3699 var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
3700
3701 // `ToPrimitive` abstract operation
3702 // https://tc39.es/ecma262/#sec-toprimitive
3703 module.exports = function (input, pref) {
3704 if (!isObject(input) || isSymbol(input)) return input;
3705 var exoticToPrim = getMethod(input, TO_PRIMITIVE);
3706 var result;
3707 if (exoticToPrim) {
3708 if (pref === undefined) pref = 'default';
3709 result = call(exoticToPrim, input, pref);
3710 if (!isObject(result) || isSymbol(result)) return result;
3711 throw $TypeError("Can't convert object to primitive value");
3712 }
3713 if (pref === undefined) pref = 'number';
3714 return ordinaryToPrimitive(input, pref);
3715 };
3716
3717
3718 /***/ }),
3719
3720 /***/ "../node_modules/core-js/internals/to-property-key.js":
3721 /*!************************************************************!*\
3722 !*** ../node_modules/core-js/internals/to-property-key.js ***!
3723 \************************************************************/
3724 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3725
3726 var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js");
3727 var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
3728
3729 // `ToPropertyKey` abstract operation
3730 // https://tc39.es/ecma262/#sec-topropertykey
3731 module.exports = function (argument) {
3732 var key = toPrimitive(argument, 'string');
3733 return isSymbol(key) ? key : key + '';
3734 };
3735
3736
3737 /***/ }),
3738
3739 /***/ "../node_modules/core-js/internals/to-string-tag-support.js":
3740 /*!******************************************************************!*\
3741 !*** ../node_modules/core-js/internals/to-string-tag-support.js ***!
3742 \******************************************************************/
3743 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3744
3745 var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
3746
3747 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
3748 var test = {};
3749
3750 test[TO_STRING_TAG] = 'z';
3751
3752 module.exports = String(test) === '[object z]';
3753
3754
3755 /***/ }),
3756
3757 /***/ "../node_modules/core-js/internals/to-string.js":
3758 /*!******************************************************!*\
3759 !*** ../node_modules/core-js/internals/to-string.js ***!
3760 \******************************************************/
3761 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3762
3763 var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
3764
3765 var $String = String;
3766
3767 module.exports = function (argument) {
3768 if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
3769 return $String(argument);
3770 };
3771
3772
3773 /***/ }),
3774
3775 /***/ "../node_modules/core-js/internals/try-to-string.js":
3776 /*!**********************************************************!*\
3777 !*** ../node_modules/core-js/internals/try-to-string.js ***!
3778 \**********************************************************/
3779 /***/ ((module) => {
3780
3781 var $String = String;
3782
3783 module.exports = function (argument) {
3784 try {
3785 return $String(argument);
3786 } catch (error) {
3787 return 'Object';
3788 }
3789 };
3790
3791
3792 /***/ }),
3793
3794 /***/ "../node_modules/core-js/internals/uid.js":
3795 /*!************************************************!*\
3796 !*** ../node_modules/core-js/internals/uid.js ***!
3797 \************************************************/
3798 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3799
3800 var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3801
3802 var id = 0;
3803 var postfix = Math.random();
3804 var toString = uncurryThis(1.0.toString);
3805
3806 module.exports = function (key) {
3807 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
3808 };
3809
3810
3811 /***/ }),
3812
3813 /***/ "../node_modules/core-js/internals/use-symbol-as-uid.js":
3814 /*!**************************************************************!*\
3815 !*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***!
3816 \**************************************************************/
3817 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3818
3819 /* eslint-disable es/no-symbol -- required for testing */
3820 var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
3821
3822 module.exports = NATIVE_SYMBOL
3823 && !Symbol.sham
3824 && typeof Symbol.iterator == 'symbol';
3825
3826
3827 /***/ }),
3828
3829 /***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js":
3830 /*!********************************************************************!*\
3831 !*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
3832 \********************************************************************/
3833 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3834
3835 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3836 var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3837
3838 // V8 ~ Chrome 36-
3839 // https://bugs.chromium.org/p/v8/issues/detail?id=3334
3840 module.exports = DESCRIPTORS && fails(function () {
3841 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
3842 return Object.defineProperty(function () { /* empty */ }, 'prototype', {
3843 value: 42,
3844 writable: false
3845 }).prototype != 42;
3846 });
3847
3848
3849 /***/ }),
3850
3851 /***/ "../node_modules/core-js/internals/weak-map-basic-detection.js":
3852 /*!*********************************************************************!*\
3853 !*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***!
3854 \*********************************************************************/
3855 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3856
3857 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
3858 var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3859
3860 var WeakMap = global.WeakMap;
3861
3862 module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
3863
3864
3865 /***/ }),
3866
3867 /***/ "../node_modules/core-js/internals/well-known-symbol.js":
3868 /*!**************************************************************!*\
3869 !*** ../node_modules/core-js/internals/well-known-symbol.js ***!
3870 \**************************************************************/
3871 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3872
3873 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
3874 var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
3875 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3876 var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
3877 var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
3878 var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
3879
3880 var Symbol = global.Symbol;
3881 var WellKnownSymbolsStore = shared('wks');
3882 var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
3883
3884 module.exports = function (name) {
3885 if (!hasOwn(WellKnownSymbolsStore, name)) {
3886 WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
3887 ? Symbol[name]
3888 : createWellKnownSymbol('Symbol.' + name);
3889 } return WellKnownSymbolsStore[name];
3890 };
3891
3892
3893 /***/ }),
3894
3895 /***/ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js":
3896 /*!******************************************************************************!*\
3897 !*** ../node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***!
3898 \******************************************************************************/
3899 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3900
3901 "use strict";
3902
3903 var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
3904 var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3905 var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
3906 var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
3907 var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js");
3908 var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
3909 var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "../node_modules/core-js/internals/proxy-accessor.js");
3910 var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js");
3911 var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js");
3912 var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "../node_modules/core-js/internals/install-error-cause.js");
3913 var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "../node_modules/core-js/internals/error-stack-install.js");
3914 var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3915 var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
3916
3917 module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
3918 var STACK_TRACE_LIMIT = 'stackTraceLimit';
3919 var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
3920 var path = FULL_NAME.split('.');
3921 var ERROR_NAME = path[path.length - 1];
3922 var OriginalError = getBuiltIn.apply(null, path);
3923
3924 if (!OriginalError) return;
3925
3926 var OriginalErrorPrototype = OriginalError.prototype;
3927
3928 // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
3929 if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
3930
3931 if (!FORCED) return OriginalError;
3932
3933 var BaseError = getBuiltIn('Error');
3934
3935 var WrappedError = wrapper(function (a, b) {
3936 var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
3937 var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
3938 if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
3939 installErrorStack(result, WrappedError, result.stack, 2);
3940 if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
3941 if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
3942 return result;
3943 });
3944
3945 WrappedError.prototype = OriginalErrorPrototype;
3946
3947 if (ERROR_NAME !== 'Error') {
3948 if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
3949 else copyConstructorProperties(WrappedError, BaseError, { name: true });
3950 } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
3951 proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
3952 proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
3953 }
3954
3955 copyConstructorProperties(WrappedError, OriginalError);
3956
3957 if (!IS_PURE) try {
3958 // Safari 13- bug: WebAssembly errors does not have a proper `.name`
3959 if (OriginalErrorPrototype.name !== ERROR_NAME) {
3960 createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
3961 }
3962 OriginalErrorPrototype.constructor = WrappedError;
3963 } catch (error) { /* empty */ }
3964
3965 return WrappedError;
3966 };
3967
3968
3969 /***/ }),
3970
3971 /***/ "../node_modules/core-js/modules/es.error.cause.js":
3972 /*!*********************************************************!*\
3973 !*** ../node_modules/core-js/modules/es.error.cause.js ***!
3974 \*********************************************************/
3975 /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
3976
3977 /* eslint-disable no-unused-vars -- required for functions `.length` */
3978 var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
3979 var global = __webpack_require__(/*! ../internals/global */ "../node_modules/core-js/internals/global.js");
3980 var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js");
3981 var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "../node_modules/core-js/internals/wrap-error-constructor-with-cause.js");
3982
3983 var WEB_ASSEMBLY = 'WebAssembly';
3984 var WebAssembly = global[WEB_ASSEMBLY];
3985
3986 var FORCED = Error('e', { cause: 7 }).cause !== 7;
3987
3988 var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
3989 var O = {};
3990 O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
3991 $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
3992 };
3993
3994 var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
3995 if (WebAssembly && WebAssembly[ERROR_NAME]) {
3996 var O = {};
3997 O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
3998 $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
3999 }
4000 };
4001
4002 // https://tc39.es/ecma262/#sec-nativeerror
4003 // https://github.com/tc39/proposal-error-cause
4004 exportGlobalErrorCauseWrapper('Error', function (init) {
4005 return function Error(message) { return apply(init, this, arguments); };
4006 });
4007 exportGlobalErrorCauseWrapper('EvalError', function (init) {
4008 return function EvalError(message) { return apply(init, this, arguments); };
4009 });
4010 exportGlobalErrorCauseWrapper('RangeError', function (init) {
4011 return function RangeError(message) { return apply(init, this, arguments); };
4012 });
4013 exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
4014 return function ReferenceError(message) { return apply(init, this, arguments); };
4015 });
4016 exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
4017 return function SyntaxError(message) { return apply(init, this, arguments); };
4018 });
4019 exportGlobalErrorCauseWrapper('TypeError', function (init) {
4020 return function TypeError(message) { return apply(init, this, arguments); };
4021 });
4022 exportGlobalErrorCauseWrapper('URIError', function (init) {
4023 return function URIError(message) { return apply(init, this, arguments); };
4024 });
4025 exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
4026 return function CompileError(message) { return apply(init, this, arguments); };
4027 });
4028 exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
4029 return function LinkError(message) { return apply(init, this, arguments); };
4030 });
4031 exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
4032 return function RuntimeError(message) { return apply(init, this, arguments); };
4033 });
4034
4035
4036 /***/ }),
4037
4038 /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
4039 /*!***********************************************************************!*\
4040 !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
4041 \***********************************************************************/
4042 /***/ ((module) => {
4043
4044 function _interopRequireDefault(obj) {
4045 return obj && obj.__esModule ? obj : {
4046 "default": obj
4047 };
4048 }
4049 module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
4050
4051 /***/ })
4052
4053 },
4054 /******/ __webpack_require__ => { // webpackRuntimeModules
4055 /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
4056 /******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js"));
4057 /******/ }
4058 ]);
4059 //# sourceMappingURL=frontend-modules.js.map