PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.0-dev2
Elementor Website Builder – more than just a page builder v3.35.0-dev2
4.3.2 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 All 455 releases
← All changes | assets/js/frontend-modules.js +6632 -3268 4.3.0-beta2 → 3.35.0-dev2 View file →
@@ -1,3411 +1,6775 @@
1 +(self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{
2 +
3 +/***/ "../app/assets/js/event-track/apps-event-tracking.js":
4 +/*!***********************************************************!*\
5 + !*** ../app/assets/js/event-track/apps-event-tracking.js ***!
6 + \***********************************************************/
7 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
8 +
1 9 "use strict";
2 10
3 -(function() {
4 11
5 -//#region \0rolldown/runtime.js
6 - var __defProp = Object.defineProperty;
7 - var __name = (target, value) => __defProp(target, "name", {
8 - value,
9 - configurable: true
10 - });
11 - var __esmMin = (fn, res, err) => () => {
12 - if (err) throw err[0];
13 - try {
14 - return fn && (res = fn(fn = 0)), res;
15 - } catch (e) {
16 - throw err = [e], e;
17 - }
18 - };
19 - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
12 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
13 +Object.defineProperty(exports, "__esModule", ({
14 + value: true
15 +}));
16 +exports.appsEventTrackingDispatch = exports.AppsEventTracking = void 0;
17 +var _eventsConfig = _interopRequireDefault(__webpack_require__(/*! ../../../../core/common/modules/events-manager/assets/js/events-config */ "../core/common/modules/events-manager/assets/js/events-config.js"));
18 +const EVENTS_MAP = {
19 + PAGE_VIEWS_WEBSITE_TEMPLATES: 'page_views_website_templates',
20 + KITS_CLOUD_UPGRADE_CLICKED: 'kits_cloud_upgrade_clicked',
21 + EXPORT_KIT_CUSTOMIZATION: 'export_kit_customization',
22 + IMPORT_KIT_CUSTOMIZATION: 'import_kit_customization',
23 + KIT_IMPORT_STATUS: 'kit_import_status',
24 + KIT_CLOUD_LIBRARY_APPLY: 'kit_cloud_library_apply',
25 + KIT_CLOUD_LIBRARY_DELETE: 'kit_cloud_library_delete',
26 + IMPORT_EXPORT_ADMIN_ACTION: 'ie_admin_action',
27 + KIT_IMPORT_UPLOAD_FILE: 'kit_import_upload_file'
28 +};
29 +const appsEventTrackingDispatch = (command, eventParams) => {
30 + // Add existing eventParams key value pair to the data/details object.
31 + const objectCreator = (array, obj) => {
32 + for (const key of array) {
33 + if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) {
34 + obj[key] = eventParams[key];
35 + }
36 + }
37 + return obj;
38 + };
39 + const dataKeys = [];
40 + const detailsKeys = ['layout', 'site_part', 'error', 'document_name', 'document_type', 'view_type_clicked', 'tag', 'sort_direction', 'sort_type', 'action', 'grid_location', 'kit_name', 'page_source', 'element_position', 'element', 'event_type', 'modal_type', 'method', 'status', 'step', 'item', 'category', 'element_location', 'search_term', 'section', 'site_area'];
41 + const data = {};
42 + const details = {};
43 + const init = () => {
44 + objectCreator(detailsKeys, details);
45 + objectCreator(dataKeys, data);
46 + const commandSplit = command.split('/');
47 + data.placement = commandSplit[0];
48 + data.event = commandSplit[1];
20 49
21 -//#endregion
50 + // If 'details' is not empty, add the details object to the data object.
51 + if (Object.keys(details).length) {
52 + data.details = details;
53 + }
54 + };
55 + init();
56 + $e.run(command, data);
57 +};
58 +exports.appsEventTrackingDispatch = appsEventTrackingDispatch;
59 +class AppsEventTracking {
60 + static dispatchEvent(eventName, payload) {
61 + return elementorCommon.eventsManager.dispatchEvent(eventName, payload);
62 + }
63 + static sendPageViewsWebsiteTemplates(page) {
64 + return this.dispatchEvent(EVENTS_MAP.PAGE_VIEWS_WEBSITE_TEMPLATES, {
65 + trigger: _eventsConfig.default.triggers.pageLoaded,
66 + page_loaded: page,
67 + secondary_location: page
68 + });
69 + }
70 + static sendKitsCloudUpgradeClicked(upgradeLocation) {
71 + return this.dispatchEvent(EVENTS_MAP.KITS_CLOUD_UPGRADE_CLICKED, {
72 + trigger: _eventsConfig.default.triggers.click,
73 + secondary_location: upgradeLocation,
74 + upgrade_location: upgradeLocation
75 + });
76 + }
77 + static sendExportKitCustomization(payload) {
78 + return this.dispatchEvent(EVENTS_MAP.EXPORT_KIT_CUSTOMIZATION, {
79 + trigger: _eventsConfig.default.triggers.click,
80 + ...payload
81 + });
82 + }
83 + static sendImportKitCustomization(payload) {
84 + return this.dispatchEvent(EVENTS_MAP.IMPORT_KIT_CUSTOMIZATION, {
85 + trigger: _eventsConfig.default.triggers.click,
86 + ...payload
87 + });
88 + }
89 + static sendKitImportStatus(error = null) {
90 + const isError = !!error;
91 + return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_STATUS, {
92 + kit_import_status: !isError,
93 + ...(isError && {
94 + kit_import_error: error.message
95 + })
96 + });
97 + }
98 + static sendKitCloudLibraryApply(kitId, kitApplyUrl) {
99 + return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_APPLY, {
100 + trigger: _eventsConfig.default.triggers.click,
101 + kit_cloud_id: kitId,
102 + ...(kitApplyUrl && {
103 + kit_apply_url: kitApplyUrl
104 + })
105 + });
106 + }
107 + static sendKitCloudLibraryDelete() {
108 + return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_DELETE, {
109 + trigger: _eventsConfig.default.triggers.click
110 + });
111 + }
112 + static sendImportExportAdminAction(actionType) {
113 + return this.dispatchEvent(EVENTS_MAP.IMPORT_EXPORT_ADMIN_ACTION, {
114 + trigger: _eventsConfig.default.triggers.click,
115 + action_type: actionType
116 + });
117 + }
118 + static sendKitImportUploadFile(status) {
119 + return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_UPLOAD_FILE, {
120 + kit_import_upload_file_status: status
121 + });
122 + }
123 +}
124 +exports.AppsEventTracking = AppsEventTracking;
22 125
23 -//#region node_modules/@babel/runtime/helpers/interopRequireDefault.js
24 - var require_interopRequireDefault = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25 - function _interopRequireDefault(e) {
26 - return e && e.__esModule ? e : { "default": e };
27 - }
28 - module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
29 - }));
126 +/***/ }),
30 127
31 -//#endregion
32 -//#region node_modules/core-js/internals/global-this.js
33 - var require_global_this = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34 - var check = function(it) {
35 - return it && it.Math === Math && it;
36 - };
37 - module.exports = check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || check(typeof self == "object" && self) || check(typeof global == "object" && global) || check(typeof exports == "object" && exports) || (function() {
38 - return this;
39 - })() || Function("return this")();
40 - }));
128 +/***/ "../app/assets/js/event-track/dashboard/action-controls.js":
129 +/*!*****************************************************************!*\
130 + !*** ../app/assets/js/event-track/dashboard/action-controls.js ***!
131 + \*****************************************************************/
132 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
41 133
42 -//#endregion
43 -//#region node_modules/core-js/internals/fails.js
44 - var require_fails = /* @__PURE__ */ __commonJSMin(((exports, module) => {
45 - module.exports = function(exec) {
46 - try {
47 - return !!exec();
48 - } catch (error) {
49 - return true;
50 - }
51 - };
52 - }));
134 +"use strict";
53 135
54 -//#endregion
55 -//#region node_modules/core-js/internals/descriptors.js
56 - var require_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
57 - var fails = require_fails();
58 - module.exports = !fails(function() {
59 - return Object.defineProperty({}, 1, { get: function() {
60 - return 7;
61 - } })[1] !== 7;
62 - });
63 - }));
64 136
65 -//#endregion
66 -//#region node_modules/core-js/internals/function-bind-native.js
67 - var require_function_bind_native = /* @__PURE__ */ __commonJSMin(((exports, module) => {
68 - var fails = require_fails();
69 - module.exports = !fails(function() {
70 - var test = (function() {}).bind();
71 - return typeof test != "function" || test.hasOwnProperty("prototype");
72 - });
73 - }));
137 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
138 +Object.defineProperty(exports, "__esModule", ({
139 + value: true
140 +}));
141 +exports["default"] = void 0;
142 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
143 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
144 +var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
145 +var _utils = __webpack_require__(/*! ./utils */ "../app/assets/js/event-track/dashboard/utils.js");
146 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
147 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
148 +const EXCLUDED_SELECTORS = {
149 + ADMIN_MENU: '#adminmenu',
150 + TOP_BAR: '.e-admin-top-bar',
151 + TOP_BAR_EDITOR_ONE: '#editor-one-top-bar',
152 + WP_ADMIN_BAR: '#wpadminbar',
153 + SUBMENU: '.wp-submenu',
154 + PROMO_PAGE: '.e-feature-promotion',
155 + PROMO_BLANK_STATE: '.elementor-blank_state',
156 + APP: '.e-app',
157 + SIDEBAR_NAVIGATION: '#editor-one-sidebar-navigation',
158 + FLYOUT_MENU: '.elementor-submenu-flyout'
159 +};
160 +class ActionControlTracking extends _baseTracking.default {
161 + static init() {
162 + if (!_utils.DashboardUtils.isElementorPage()) {
163 + return;
164 + }
165 + this.attachDelegatedHandlers();
166 + this.addTrackingAttributesToFilterButtons();
167 + this.initializeLinkDataIds();
168 + }
169 + static initializeLinkDataIds() {
170 + const initializeLinks = () => {
171 + const links = document.querySelectorAll('a[href]');
172 + links.forEach(link => {
173 + if (this.isExcludedElement(link) || this.isNavigationLink(link) || link.hasAttribute('data-id')) {
174 + return;
175 + }
176 + const href = link.getAttribute('href');
177 + if (!href) {
178 + return;
179 + }
180 + const cleanedHref = this.removeNonceFromUrl(href);
181 + if (cleanedHref) {
182 + link.setAttribute('data-id', cleanedHref);
183 + }
184 + });
185 + };
186 + if ('loading' === document.readyState) {
187 + document.addEventListener('DOMContentLoaded', initializeLinks);
188 + } else {
189 + initializeLinks();
190 + }
191 + }
192 + static addTrackingAttributesToFilterButtons() {
193 + const body = document.body;
194 + if (!body) {
195 + return;
196 + }
197 + let screenPrefix = '';
198 + switch (true) {
199 + case body.classList.contains('post-type-elementor_library'):
200 + screenPrefix = 'elementor_library-library';
201 + break;
202 + case body.classList.contains('post-type-e-floating-buttons'):
203 + screenPrefix = 'e-floating-buttons';
204 + break;
205 + default:
206 + return;
207 + }
208 + const addDataIdToListTableButtons = () => {
209 + const buttonConfigs = [{
210 + id: 'post-query-submit',
211 + suffix: 'filter'
212 + }, {
213 + id: 'search-submit',
214 + suffix: 'search'
215 + }, {
216 + id: 'doaction',
217 + suffix: 'apply'
218 + }, {
219 + id: 'doaction2',
220 + suffix: 'apply-bottom'
221 + }];
222 + buttonConfigs.forEach(config => {
223 + const button = document.getElementById(config.id);
224 + if (!button || button.hasAttribute('data-id')) {
225 + return;
226 + }
227 + button.setAttribute('data-id', `${screenPrefix}-button-${config.suffix}`);
228 + });
229 + };
230 + if ('loading' === document.readyState) {
231 + document.addEventListener('DOMContentLoaded', addDataIdToListTableButtons);
232 + } else {
233 + addDataIdToListTableButtons();
234 + }
235 + }
236 + static isExcludedElement(element) {
237 + for (const selector of Object.values(EXCLUDED_SELECTORS)) {
238 + if (element.closest(selector)) {
239 + return true;
240 + }
241 + }
242 + if (element.classList.contains('go-pro')) {
243 + return true;
244 + }
245 + return false;
246 + }
247 + static attachDelegatedHandlers() {
248 + const FILTER_BUTTON_IDS = ['search-submit', 'post-query-submit'];
249 + this.addEventListenerTracked(document, 'click', event => {
250 + const base = event.target && 1 === event.target.nodeType ? event.target : event.target?.parentElement;
251 + if (!base) {
252 + return;
253 + }
254 + const toggle = base.closest('.elementor-role-toggle');
255 + if (toggle && !this.isExcludedElement(toggle)) {
256 + this.trackControl(toggle, _wpDashboardTracking.CONTROL_TYPES.TOGGLE);
257 + return;
258 + }
259 + const button = base.closest('button, input[type="submit"], input[type="button"], .button, .e-btn');
260 + if (button && !this.isExcludedElement(button)) {
261 + if (FILTER_BUTTON_IDS.includes(button.id)) {
262 + this.trackControl(button, _wpDashboardTracking.CONTROL_TYPES.FILTER);
263 + return;
264 + }
265 + this.trackControl(button, _wpDashboardTracking.CONTROL_TYPES.BUTTON);
266 + return;
267 + }
268 + const link = base.closest('a');
269 + if (link && !this.isExcludedElement(link) && !this.isNavigationLink(link)) {
270 + this.trackControl(link, _wpDashboardTracking.CONTROL_TYPES.LINK);
271 + }
272 + }, {
273 + capture: false
274 + });
275 + this.addEventListenerTracked(document, 'change', event => {
276 + const base = event.target && 1 === event.target.nodeType ? event.target : event.target?.parentElement;
277 + if (!base) {
278 + return;
279 + }
280 + let toggle = null;
281 + if (_wpDashboardTracking.default.isEditorOneActive()) {
282 + toggle = base.closest('.MuiSwitch-switchBase');
283 + } else {
284 + toggle = base.closest('.components-toggle-control');
285 + }
286 + if (toggle && !this.isExcludedElement(toggle)) {
287 + this.trackControl(toggle, _wpDashboardTracking.CONTROL_TYPES.TOGGLE);
288 + return;
289 + }
290 + const checkbox = base.closest('input[type="checkbox"]');
291 + if (checkbox && !this.isExcludedElement(checkbox)) {
292 + this.trackControl(checkbox, _wpDashboardTracking.CONTROL_TYPES.CHECKBOX);
293 + return;
294 + }
295 + const radio = base.closest('input[type="radio"]');
296 + if (radio && !this.isExcludedElement(radio)) {
297 + this.trackControl(radio, _wpDashboardTracking.CONTROL_TYPES.RADIO);
298 + return;
299 + }
300 + const select = base.closest('select');
301 + if (select && !this.isExcludedElement(select)) {
302 + this.trackControl(select, _wpDashboardTracking.CONTROL_TYPES.SELECT);
303 + }
304 + });
305 + }
306 + static isNavigationLink(link) {
307 + const href = link.getAttribute('href');
308 + if (!href) {
309 + return false;
310 + }
311 + if (href.startsWith('#') && href.includes('tab')) {
312 + return true;
313 + }
314 + if (link.classList.contains('nav-tab')) {
315 + return true;
316 + }
317 + const isInNavigation = link.closest('.wp-submenu, #adminmenu, .e-admin-top-bar, #wpadminbar');
318 + return !!isInNavigation;
319 + }
320 + static trackControl(element, controlType) {
321 + const controlIdentifier = this.extractControlIdentifier(element, controlType);
322 + if (!controlIdentifier) {
323 + return;
324 + }
325 + _wpDashboardTracking.default.trackActionControl(controlIdentifier, controlType);
326 + }
327 + static extractControlIdentifier(element, controlType) {
328 + if (_wpDashboardTracking.CONTROL_TYPES.RADIO === controlType) {
329 + const name = element.getAttribute('name');
330 + const value = element.value || element.getAttribute('value');
331 + if (name && value) {
332 + return `${name}-${value}`;
333 + }
334 + if (name) {
335 + return name;
336 + }
337 + }
338 + if (_wpDashboardTracking.CONTROL_TYPES.SELECT === controlType) {
339 + const name = element.getAttribute('name');
340 + if (name) {
341 + return name;
342 + }
343 + }
344 + if (_wpDashboardTracking.CONTROL_TYPES.CHECKBOX === controlType) {
345 + const name = element.getAttribute('name');
346 + if (name) {
347 + const checkboxesWithSameName = document.querySelectorAll(`input[type="checkbox"][name="${CSS.escape(name)}"]`);
348 + if (checkboxesWithSameName.length > 1) {
349 + const value = element.value || element.getAttribute('value');
350 + if (value) {
351 + return `${name}-${value}`;
352 + }
353 + }
354 + return name;
355 + }
356 + }
357 + if (_wpDashboardTracking.CONTROL_TYPES.LINK === controlType) {
358 + const dataId = element.getAttribute('data-id');
359 + if (dataId) {
360 + return dataId;
361 + }
362 + const href = element.getAttribute('href');
363 + if (href) {
364 + return this.removeNonceFromUrl(href);
365 + }
366 + }
367 + if (_wpDashboardTracking.CONTROL_TYPES.BUTTON === controlType || _wpDashboardTracking.CONTROL_TYPES.TOGGLE === controlType || _wpDashboardTracking.CONTROL_TYPES.FILTER === controlType) {
368 + const dataId = element.getAttribute('data-id');
369 + if (dataId) {
370 + return dataId;
371 + }
372 + const classIdMatch = this.extractClassId(element);
373 + if (classIdMatch) {
374 + return classIdMatch;
375 + }
376 + }
377 + return '';
378 + }
379 + static extractClassId(element) {
380 + const classes = element.className;
381 + if (!classes || 'string' !== typeof classes) {
382 + return '';
383 + }
384 + const classList = classes.split(' ');
385 + for (const cls of classList) {
386 + if (cls.startsWith('e-id-')) {
387 + return cls.substring(5);
388 + }
389 + }
390 + return '';
391 + }
392 + static removeNonceFromUrl(url) {
393 + try {
394 + const urlObj = new URL(url, window.location.origin);
395 + urlObj.searchParams.delete('_wpnonce');
396 + const postParam = urlObj.searchParams.get('post');
397 + if (postParam !== null && /^[0-9]+$/.test(postParam)) {
398 + urlObj.searchParams.delete('post');
399 + }
400 + return urlObj.pathname + urlObj.search + urlObj.hash;
401 + } catch (e) {
402 + return url;
403 + }
404 + }
405 +}
406 +var _default = exports["default"] = ActionControlTracking;
74 407
75 -//#endregion
76 -//#region node_modules/core-js/internals/function-call.js
77 - var require_function_call = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78 - var NATIVE_BIND = require_function_bind_native();
79 - var call = Function.prototype.call;
80 - module.exports = NATIVE_BIND ? call.bind(call) : function() {
81 - return call.apply(call, arguments);
82 - };
83 - }));
408 +/***/ }),
84 409
85 -//#endregion
86 -//#region node_modules/core-js/internals/object-property-is-enumerable.js
87 - var require_object_property_is_enumerable = /* @__PURE__ */ __commonJSMin(((exports) => {
88 - var $propertyIsEnumerable = {}.propertyIsEnumerable;
89 - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
90 - var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
91 - exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
92 - var descriptor = getOwnPropertyDescriptor(this, V);
93 - return !!descriptor && descriptor.enumerable;
94 - } : $propertyIsEnumerable;
95 - }));
410 +/***/ "../app/assets/js/event-track/dashboard/base-tracking.js":
411 +/*!***************************************************************!*\
412 + !*** ../app/assets/js/event-track/dashboard/base-tracking.js ***!
413 + \***************************************************************/
414 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
96 415
97 -//#endregion
98 -//#region node_modules/core-js/internals/create-property-descriptor.js
99 - var require_create_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
100 - module.exports = function(bitmap, value) {
101 - return {
102 - enumerable: !(bitmap & 1),
103 - configurable: !(bitmap & 2),
104 - writable: !(bitmap & 4),
105 - value
106 - };
107 - };
108 - }));
416 +"use strict";
109 417
110 -//#endregion
111 -//#region node_modules/core-js/internals/function-uncurry-this.js
112 - var require_function_uncurry_this = /* @__PURE__ */ __commonJSMin(((exports, module) => {
113 - var NATIVE_BIND = require_function_bind_native();
114 - var FunctionPrototype = Function.prototype;
115 - var call = FunctionPrototype.call;
116 - var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
117 - module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
118 - return function() {
119 - return call.apply(fn, arguments);
120 - };
121 - };
122 - }));
123 418
124 -//#endregion
125 -//#region node_modules/core-js/internals/classof-raw.js
126 - var require_classof_raw = /* @__PURE__ */ __commonJSMin(((exports, module) => {
127 - var uncurryThis = require_function_uncurry_this();
128 - var toString = uncurryThis({}.toString);
129 - var stringSlice = uncurryThis("".slice);
130 - module.exports = function(it) {
131 - return stringSlice(toString(it), 8, -1);
132 - };
133 - }));
419 +Object.defineProperty(exports, "__esModule", ({
420 + value: true
421 +}));
422 +exports["default"] = void 0;
423 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
424 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
425 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
426 +class BaseTracking {
427 + static ensureOwnArrays() {
428 + if (!Object.prototype.hasOwnProperty.call(this, 'observers')) {
429 + this.observers = [];
430 + }
431 + if (!Object.prototype.hasOwnProperty.call(this, 'eventListeners')) {
432 + this.eventListeners = [];
433 + }
434 + }
435 + static destroy() {
436 + this.ensureOwnArrays();
437 + this.observers.forEach(observer => observer.disconnect());
438 + this.observers = [];
439 + this.eventListeners.forEach(({
440 + target,
441 + type,
442 + handler,
443 + options
444 + }) => {
445 + target.removeEventListener(type, handler, options);
446 + });
447 + this.eventListeners = [];
448 + }
449 + static addObserver(target, options, callback) {
450 + this.ensureOwnArrays();
451 + const observer = new MutationObserver(callback);
452 + observer.observe(target, options);
453 + this.observers.push(observer);
454 + return observer;
455 + }
456 + static addEventListenerTracked(target, type, handler, options = {}) {
457 + this.ensureOwnArrays();
458 + target.addEventListener(type, handler, options);
459 + this.eventListeners.push({
460 + target,
461 + type,
462 + handler,
463 + options
464 + });
465 + }
466 +}
467 +var _default = exports["default"] = BaseTracking;
134 468
135 -//#endregion
136 -//#region node_modules/core-js/internals/indexed-object.js
137 - var require_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
138 - var uncurryThis = require_function_uncurry_this();
139 - var fails = require_fails();
140 - var classof = require_classof_raw();
141 - var $Object = Object;
142 - var split = uncurryThis("".split);
143 - module.exports = fails(function() {
144 - return !$Object("z").propertyIsEnumerable(0);
145 - }) ? function(it) {
146 - return classof(it) === "String" ? split(it, "") : $Object(it);
147 - } : $Object;
148 - }));
469 +/***/ }),
149 470
150 -//#endregion
151 -//#region node_modules/core-js/internals/is-null-or-undefined.js
152 - var require_is_null_or_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => {
153 - module.exports = function(it) {
154 - return it === null || it === void 0;
155 - };
156 - }));
471 +/***/ "../app/assets/js/event-track/dashboard/menu-promotion.js":
472 +/*!****************************************************************!*\
473 + !*** ../app/assets/js/event-track/dashboard/menu-promotion.js ***!
474 + \****************************************************************/
475 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
157 476
158 -//#endregion
159 -//#region node_modules/core-js/internals/require-object-coercible.js
160 - var require_require_object_coercible = /* @__PURE__ */ __commonJSMin(((exports, module) => {
161 - var isNullOrUndefined = require_is_null_or_undefined();
162 - var $TypeError = TypeError;
163 - module.exports = function(it) {
164 - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
165 - return it;
166 - };
167 - }));
477 +"use strict";
168 478
169 -//#endregion
170 -//#region node_modules/core-js/internals/to-indexed-object.js
171 - var require_to_indexed_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
172 - var IndexedObject = require_indexed_object();
173 - var requireObjectCoercible = require_require_object_coercible();
174 - module.exports = function(it) {
175 - return IndexedObject(requireObjectCoercible(it));
176 - };
177 - }));
178 479
179 -//#endregion
180 -//#region node_modules/core-js/internals/is-callable.js
181 - var require_is_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
182 - var documentAll = typeof document == "object" && document.all;
183 - module.exports = typeof documentAll == "undefined" && documentAll !== void 0 ? function(argument) {
184 - return typeof argument == "function" || argument === documentAll;
185 - } : function(argument) {
186 - return typeof argument == "function";
187 - };
188 - }));
480 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
481 +Object.defineProperty(exports, "__esModule", ({
482 + value: true
483 +}));
484 +exports["default"] = void 0;
485 +var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
486 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
487 +const PROMO_MENU_ITEMS = {
488 + go_elementor_pro: 'Upgrade'
489 +};
490 +class MenuPromotionTracking extends _baseTracking.default {
491 + static init() {
492 + this.attachDelegatedTracking();
493 + }
494 + static attachDelegatedTracking() {
495 + this.addEventListenerTracked(document, 'click', event => {
496 + const target = event.target;
497 + if (!target) {
498 + return;
499 + }
500 + const link = target.closest('a');
501 + if (!link) {
502 + return;
503 + }
504 + const href = link.getAttribute('href');
505 + if (!href) {
506 + return;
507 + }
508 + const menuItemKey = this.extractPromoMenuKey(href);
509 + if (!menuItemKey) {
510 + return;
511 + }
512 + this.handleMenuPromoClick(link, menuItemKey);
513 + }, {
514 + capture: true
515 + });
516 + }
517 + static extractPromoMenuKey(href) {
518 + for (const menuItemKey of Object.keys(PROMO_MENU_ITEMS)) {
519 + if (href.includes(`page=${menuItemKey}`)) {
520 + return menuItemKey;
521 + }
522 + }
523 + return null;
524 + }
525 + static handleMenuPromoClick(menuItem, menuItemKey) {
526 + const destination = menuItem.getAttribute('href');
527 + const promoName = PROMO_MENU_ITEMS[menuItemKey];
528 + const path = menuItemKey.replace('elementor_', '').replace(/_/g, '/');
529 + _wpDashboardTracking.default.trackPromoClicked(promoName, destination, path);
530 + }
531 +}
532 +var _default = exports["default"] = MenuPromotionTracking;
189 533
190 -//#endregion
191 -//#region node_modules/core-js/internals/is-object.js
192 - var require_is_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
193 - var isCallable = require_is_callable();
194 - module.exports = function(it) {
195 - return typeof it == "object" ? it !== null : isCallable(it);
196 - };
197 - }));
534 +/***/ }),
198 535
199 -//#endregion
200 -//#region node_modules/core-js/internals/get-built-in.js
201 - var require_get_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => {
202 - var globalThis = require_global_this();
203 - var isCallable = require_is_callable();
204 - var aFunction = function(argument) {
205 - return isCallable(argument) ? argument : void 0;
206 - };
207 - module.exports = function(namespace, method) {
208 - return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
209 - };
210 - }));
536 +/***/ "../app/assets/js/event-track/dashboard/navigation.js":
537 +/*!************************************************************!*\
538 + !*** ../app/assets/js/event-track/dashboard/navigation.js ***!
539 + \************************************************************/
540 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
211 541
212 -//#endregion
213 -//#region node_modules/core-js/internals/object-is-prototype-of.js
214 - var require_object_is_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => {
215 - var uncurryThis = require_function_uncurry_this();
216 - module.exports = uncurryThis({}.isPrototypeOf);
217 - }));
542 +"use strict";
218 543
219 -//#endregion
220 -//#region node_modules/core-js/internals/environment-user-agent.js
221 - var require_environment_user_agent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
222 - var navigator = require_global_this().navigator;
223 - var userAgent = navigator && navigator.userAgent;
224 - module.exports = userAgent ? String(userAgent) : "";
225 - }));
226 544
227 -//#endregion
228 -//#region node_modules/core-js/internals/environment-v8-version.js
229 - var require_environment_v8_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
230 - var globalThis = require_global_this();
231 - var userAgent = require_environment_user_agent();
232 - var process = globalThis.process;
233 - var Deno = globalThis.Deno;
234 - var versions = process && process.versions || Deno && Deno.version;
235 - var v8 = versions && versions.v8;
236 - var match;
237 - var version;
238 - if (v8) {
239 - match = v8.split(".");
240 - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
241 - }
242 - if (!version && userAgent) {
243 - match = userAgent.match(/Edge\/(\d+)/);
244 - if (!match || match[1] >= 74) {
245 - match = userAgent.match(/Chrome\/(\d+)/);
246 - if (match) version = +match[1];
247 - }
248 - }
249 - module.exports = version;
250 - }));
545 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
546 +Object.defineProperty(exports, "__esModule", ({
547 + value: true
548 +}));
549 +exports["default"] = void 0;
550 +var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
551 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
552 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
553 +const ELEMENTOR_MENU_SELECTORS = {
554 + ELEMENTOR_TOP_LEVEL: 'li#toplevel_page_elementor',
555 + TEMPLATES_TOP_LEVEL: 'li#menu-posts-elementor_library',
556 + ELEMENTOR_HOME_TOP_LEVEL: 'li#toplevel_page_elementor-home',
557 + ADMIN_MENU: '#adminmenu',
558 + TOP_LEVEL_LINK: '.wp-menu-name',
559 + SUBMENU_CONTAINER: '.wp-submenu',
560 + SUBMENU_ITEM: '.wp-submenu li a',
561 + SUBMENU_ITEM_TOP_LEVEL: '.wp-has-submenu',
562 + SIDEBAR_NAVIGATION: '#editor-one-sidebar-navigation'
563 +};
564 +class NavigationTracking extends _baseTracking.default {
565 + static init() {
566 + if (_wpDashboardTracking.default.isEditorOneActive()) {
567 + this.attachSidebarNavigationTracking();
568 + this.attachElementorHomeMenuTracking();
569 + } else {
570 + this.attachElementorMenuTracking();
571 + this.attachTemplatesMenuTracking();
572 + }
573 + }
574 + static attachTemplatesMenuTracking() {
575 + const templatesMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.TEMPLATES_TOP_LEVEL);
576 + if (!templatesMenu) {
577 + return;
578 + }
579 + this.attachMenuTracking(templatesMenu, 'Templates');
580 + }
581 + static attachElementorHomeMenuTracking() {
582 + const elementorHomeMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.ELEMENTOR_HOME_TOP_LEVEL);
583 + if (!elementorHomeMenu) {
584 + return;
585 + }
586 + this.attachMenuTracking(elementorHomeMenu, 'Elementor');
587 + }
588 + static attachElementorMenuTracking() {
589 + const elementorMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.ELEMENTOR_TOP_LEVEL);
590 + if (!elementorMenu) {
591 + return;
592 + }
593 + this.attachMenuTracking(elementorMenu, 'Elementor');
594 + }
595 + static attachSidebarNavigationTracking() {
596 + const sidebar = document.querySelector(ELEMENTOR_MENU_SELECTORS.SIDEBAR_NAVIGATION);
597 + if (sidebar) {
598 + this.attachSidebarClickListener(sidebar);
599 + }
600 + }
601 + static attachSidebarClickListener(sidebar) {
602 + this.addEventListenerTracked(sidebar, 'click', event => {
603 + this.handleSidebarClick(event);
604 + }, {
605 + capture: true
606 + });
607 + }
608 + static attachMenuTracking(menuElement, menuName) {
609 + this.addEventListenerTracked(menuElement, 'click', event => {
610 + this.handleMenuClick(event, menuName);
611 + });
612 + }
613 + static handleMenuClick(event, menuName) {
614 + const link = event.target.closest('a');
615 + if (!link) {
616 + return;
617 + }
618 + const isTopLevel = link.classList.contains('menu-top');
619 + const itemId = this.extractItemId(link);
620 + const area = this.determineNavArea(link);
621 + _wpDashboardTracking.default.trackNavClicked(itemId, isTopLevel ? null : menuName, area);
622 + }
623 + static handleSidebarClick(event) {
624 + const clickedElement = event.target.closest('a, button, [role="button"]');
625 + if (!clickedElement) {
626 + return;
627 + }
628 + const itemId = this.extractSidebarItemId(clickedElement);
629 + _wpDashboardTracking.default.trackNavClicked(itemId, null, _wpDashboardTracking.NAV_AREAS.SIDEBAR_MENU);
630 + }
631 + static extractSidebarItemId(element) {
632 + const paragraph = element.querySelector('p');
633 + if (paragraph) {
634 + return paragraph.textContent.trim();
635 + }
636 + const textContent = element.textContent.trim();
637 + if (textContent) {
638 + return textContent;
639 + }
640 + return 'unknown';
641 + }
642 + static extractPageFromUrl(href) {
643 + const urlParams = new URLSearchParams(href.split('?')[1] || '');
644 + const page = urlParams.get('page');
645 + if (page) {
646 + return page;
647 + }
648 + const postType = urlParams.get('post_type');
649 + if (postType) {
650 + return postType;
651 + }
652 + return 'unknown';
653 + }
654 + static extractItemId(link) {
655 + const textContent = link.textContent.trim();
656 + if (textContent) {
657 + return textContent;
658 + }
659 + const href = link.getAttribute('href');
660 + if (href) {
661 + return this.extractPageFromUrl(href);
662 + }
663 + const linkId = link.getAttribute('id');
664 + if (linkId) {
665 + return linkId;
666 + }
667 + return 'unknown';
668 + }
669 + static determineNavArea(link) {
670 + const parentMenu = link.closest('li.menu-top');
671 + if (parentMenu) {
672 + const isSubmenuItem = link.closest(ELEMENTOR_MENU_SELECTORS.SUBMENU_CONTAINER);
673 + if (isSubmenuItem) {
674 + const submenuElement = link.closest(ELEMENTOR_MENU_SELECTORS.SUBMENU_ITEM_TOP_LEVEL);
675 + if (submenuElement.classList.contains('wp-not-current-submenu')) {
676 + return _wpDashboardTracking.NAV_AREAS.HOVER_MENU;
677 + }
678 + return _wpDashboardTracking.NAV_AREAS.SUBMENU;
679 + }
680 + return _wpDashboardTracking.NAV_AREAS.LEFT_MENU;
681 + }
682 + return _wpDashboardTracking.NAV_AREAS.LEFT_MENU;
683 + }
684 +}
685 +var _default = exports["default"] = NavigationTracking;
251 686
252 -//#endregion
253 -//#region node_modules/core-js/internals/symbol-constructor-detection.js
254 - var require_symbol_constructor_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
255 - var V8_VERSION = require_environment_v8_version();
256 - var fails = require_fails();
257 - var $String = require_global_this().String;
258 - module.exports = !!Object.getOwnPropertySymbols && !fails(function() {
259 - var symbol = Symbol("symbol detection");
260 - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41;
261 - });
262 - }));
687 +/***/ }),
263 688
264 -//#endregion
265 -//#region node_modules/core-js/internals/use-symbol-as-uid.js
266 - var require_use_symbol_as_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
267 - var NATIVE_SYMBOL = require_symbol_constructor_detection();
268 - module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol";
269 - }));
689 +/***/ "../app/assets/js/event-track/dashboard/plugin-actions.js":
690 +/*!****************************************************************!*\
691 + !*** ../app/assets/js/event-track/dashboard/plugin-actions.js ***!
692 + \****************************************************************/
693 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
270 694
271 -//#endregion
272 -//#region node_modules/core-js/internals/is-symbol.js
273 - var require_is_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
274 - var getBuiltIn = require_get_built_in();
275 - var isCallable = require_is_callable();
276 - var isPrototypeOf = require_object_is_prototype_of();
277 - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
278 - var $Object = Object;
279 - module.exports = USE_SYMBOL_AS_UID ? function(it) {
280 - return typeof it == "symbol";
281 - } : function(it) {
282 - var $Symbol = getBuiltIn("Symbol");
283 - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
284 - };
285 - }));
695 +"use strict";
286 696
287 -//#endregion
288 -//#region node_modules/core-js/internals/try-to-string.js
289 - var require_try_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
290 - var $String = String;
291 - module.exports = function(argument) {
292 - try {
293 - return $String(argument);
294 - } catch (error) {
295 - return "Object";
296 - }
297 - };
298 - }));
299 697
300 -//#endregion
301 -//#region node_modules/core-js/internals/a-callable.js
302 - var require_a_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
303 - var isCallable = require_is_callable();
304 - var tryToString = require_try_to_string();
305 - var $TypeError = TypeError;
306 - module.exports = function(argument) {
307 - if (isCallable(argument)) return argument;
308 - throw new $TypeError(tryToString(argument) + " is not a function");
309 - };
310 - }));
698 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
699 +Object.defineProperty(exports, "__esModule", ({
700 + value: true
701 +}));
702 +exports["default"] = void 0;
703 +var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
704 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
705 +const PLUGIN_TYPE = {
706 + ELEMENTOR: 'core',
707 + ELEMENTOR_PRO: 'pro'
708 +};
709 +class PluginActions extends _baseTracking.default {
710 + static selectedReason = null;
711 + static init() {
712 + this.attachCoreDeactivationTracking();
713 + this.attachProDeactivationTracking();
714 + this.attachProDeletionTracking();
715 + }
716 + static attachCoreDeactivationTracking() {
717 + const dialogForm = document.querySelector('#elementor-deactivate-feedback-dialog-form');
718 + if (!dialogForm) {
719 + return;
720 + }
721 + this.addEventListenerTracked(dialogForm, 'change', event => {
722 + const target = event.target;
723 + if (target.classList.contains('elementor-deactivate-feedback-dialog-input')) {
724 + this.selectedReason = target.value;
725 + }
726 + });
727 + this.observeModalButtons();
728 + }
729 + static attachProDeactivationTracking() {
730 + const pluginsTable = document.querySelector('.plugins');
731 + if (!pluginsTable) {
732 + return;
733 + }
734 + this.addEventListenerTracked(pluginsTable, 'click', event => {
735 + const link = event.target.closest('a');
736 + if (link && 'deactivate-elementor-pro' === link.id) {
737 + this.trackProDeactivation();
738 + }
739 + }, {
740 + capture: true
741 + });
742 + }
743 + static observeModalButtons() {
744 + const checkAndAttachDelegation = () => {
745 + const modal = document.querySelector('#elementor-deactivate-feedback-modal');
746 + if (!modal) {
747 + return false;
748 + }
749 + this.addEventListenerTracked(modal, 'click', event => {
750 + const submitButton = event.target.closest('.dialog-submit');
751 + const skipButton = event.target.closest('.dialog-skip');
752 + if (submitButton) {
753 + this.trackCoreDeactivation('submit&deactivate');
754 + } else if (skipButton) {
755 + this.trackCoreDeactivation('skip&deactivate');
756 + }
757 + }, {
758 + capture: true
759 + });
760 + return true;
761 + };
762 + if (checkAndAttachDelegation()) {
763 + return;
764 + }
765 + this.addObserver(document.body, {
766 + childList: true,
767 + subtree: true
768 + }, (mutations, observer) => {
769 + if (checkAndAttachDelegation()) {
770 + observer.disconnect();
771 + }
772 + });
773 + }
774 + static getUserInput() {
775 + const reasonsWithInput = ['found_a_better_plugin', 'other'];
776 + if (!this.selectedReason || !reasonsWithInput.includes(this.selectedReason)) {
777 + return null;
778 + }
779 + const inputField = document.querySelector(`input[name="reason_${this.selectedReason}"]`);
780 + if (inputField && inputField.value) {
781 + return inputField.value;
782 + }
783 + return null;
784 + }
785 + static trackCoreDeactivation(action) {
786 + const properties = {
787 + deactivate_form_submit: action,
788 + deactivate_plugin_type: PLUGIN_TYPE.ELEMENTOR
789 + };
790 + if (this.selectedReason) {
791 + properties.deactivate_feedback_reason = this.selectedReason;
792 + }
793 + const userInput = this.getUserInput();
794 + if (userInput) {
795 + properties.deactivate_feedback_reason += `/${userInput}`;
796 + }
797 + _wpDashboardTracking.default.dispatchEvent('wpdash_deactivate_plugin', properties, {
798 + send_immediately: true
799 + });
800 + }
801 + static trackProDeactivation() {
802 + this.trackProAction('deactivate');
803 + }
804 + static attachProDeletionTracking() {
805 + if ('undefined' === typeof jQuery) {
806 + return;
807 + }
808 + jQuery(document).on('wp-plugin-deleting', (event, args) => {
809 + if ('elementor-pro' === args?.slug) {
810 + this.trackProAction('delete');
811 + }
812 + });
813 + }
814 + static destroy() {
815 + if ('undefined' !== typeof jQuery) {
816 + jQuery(document).off('wp-plugin-deleting');
817 + }
818 + _baseTracking.default.destroy.call(this);
819 + }
820 + static trackProAction(action) {
821 + const eventMap = {
822 + deactivate: {
823 + eventName: 'wpdash_deactivate_plugin',
824 + propertyKey: 'deactivate_plugin_type'
825 + },
826 + delete: {
827 + eventName: 'wpdash_delete_plugin',
828 + propertyKey: 'plugin_delete'
829 + }
830 + };
831 + const config = eventMap[action];
832 + if (!config) {
833 + return;
834 + }
835 + const properties = {
836 + [config.propertyKey]: PLUGIN_TYPE.ELEMENTOR_PRO
837 + };
838 + _wpDashboardTracking.default.dispatchEvent(config.eventName, properties, {
839 + send_immediately: true
840 + });
841 + }
842 +}
843 +var _default = exports["default"] = PluginActions;
311 844
312 -//#endregion
313 -//#region node_modules/core-js/internals/get-method.js
314 - var require_get_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
315 - var aCallable = require_a_callable();
316 - var isNullOrUndefined = require_is_null_or_undefined();
317 - module.exports = function(V, P) {
318 - var func = V[P];
319 - return isNullOrUndefined(func) ? void 0 : aCallable(func);
320 - };
321 - }));
845 +/***/ }),
322 846
323 -//#endregion
324 -//#region node_modules/core-js/internals/ordinary-to-primitive.js
325 - var require_ordinary_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
326 - var call = require_function_call();
327 - var isCallable = require_is_callable();
328 - var isObject = require_is_object();
329 - var $TypeError = TypeError;
330 - module.exports = function(input, pref) {
331 - var fn;
332 - var val;
333 - if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
334 - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
335 - if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
336 - throw new $TypeError("Can't convert object to primitive value");
337 - };
338 - }));
847 +/***/ "../app/assets/js/event-track/dashboard/promotion.js":
848 +/*!***********************************************************!*\
849 + !*** ../app/assets/js/event-track/dashboard/promotion.js ***!
850 + \***********************************************************/
851 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
339 852
340 -//#endregion
341 -//#region node_modules/core-js/internals/is-pure.js
342 - var require_is_pure = /* @__PURE__ */ __commonJSMin(((exports, module) => {
343 - module.exports = false;
344 - }));
853 +"use strict";
345 854
346 -//#endregion
347 -//#region node_modules/core-js/internals/define-global-property.js
348 - var require_define_global_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
349 - var globalThis = require_global_this();
350 - var defineProperty = Object.defineProperty;
351 - module.exports = function(key, value) {
352 - try {
353 - defineProperty(globalThis, key, {
354 - value,
355 - configurable: true,
356 - writable: true
357 - });
358 - } catch (error) {
359 - globalThis[key] = value;
360 - }
361 - return value;
362 - };
363 - }));
364 855
365 -//#endregion
366 -//#region node_modules/core-js/internals/shared-store.js
367 - var require_shared_store = /* @__PURE__ */ __commonJSMin(((exports, module) => {
368 - var IS_PURE = require_is_pure();
369 - var globalThis = require_global_this();
370 - var defineGlobalProperty = require_define_global_property();
371 - var SHARED = "__core-js_shared__";
372 - var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
373 - (store.versions || (store.versions = [])).push({
374 - version: "3.46.0",
375 - mode: IS_PURE ? "pure" : "global",
376 - copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",
377 - license: "https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",
378 - source: "https://github.com/zloirock/core-js"
379 - });
380 - }));
856 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
857 +Object.defineProperty(exports, "__esModule", ({
858 + value: true
859 +}));
860 +exports["default"] = void 0;
861 +var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
862 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
863 +const PROMO_SELECTORS = {
864 + PROMO_PAGE: '.e-feature-promotion, .elementor-settings-form-page, #elementor-element-manager-wrap',
865 + PROMO_BLANK_STATE: '.elementor-blank_state',
866 + CTA_BUTTON: '.go-pro',
867 + TITLE: 'h3'
868 +};
869 +class PromotionTracking extends _baseTracking.default {
870 + static init() {
871 + this.attachDelegatedTracking();
872 + }
873 + static attachDelegatedTracking() {
874 + this.addEventListenerTracked(document, 'click', event => {
875 + const target = event.target;
876 + if (!target) {
877 + return;
878 + }
879 + const button = target.closest(`a${PROMO_SELECTORS.CTA_BUTTON}`);
880 + if (!button) {
881 + return;
882 + }
883 + const promoPage = button.closest(`${PROMO_SELECTORS.PROMO_PAGE}, ${PROMO_SELECTORS.PROMO_BLANK_STATE}`);
884 + if (!promoPage) {
885 + return;
886 + }
887 + this.handlePromoClick(button, promoPage);
888 + }, {
889 + capture: true
890 + });
891 + }
892 + static handlePromoClick(button, promoPage) {
893 + const promoTitle = this.extractPromoTitle(promoPage, button);
894 + const destination = button.getAttribute('href');
895 + const path = this.extractPromoPath();
896 + _wpDashboardTracking.default.trackPromoClicked(promoTitle, destination, path);
897 + }
898 + static extractPromoTitle(promoPage, button) {
899 + const titleElement = promoPage.querySelector(PROMO_SELECTORS.TITLE);
900 + return titleElement ? titleElement.textContent.trim() : button.textContent.trim();
901 + }
902 + static extractPromoPath() {
903 + const urlParams = new URLSearchParams(window.location.search);
904 + const page = urlParams.get('page');
905 + if (!page) {
906 + return 'elementor';
907 + }
908 + return page.replace('elementor_', '').replace(/_/g, '/');
909 + }
910 +}
911 +var _default = exports["default"] = PromotionTracking;
381 912
382 -//#endregion
383 -//#region node_modules/core-js/internals/shared.js
384 - var require_shared = /* @__PURE__ */ __commonJSMin(((exports, module) => {
385 - var store = require_shared_store();
386 - module.exports = function(key, value) {
387 - return store[key] || (store[key] = value || {});
388 - };
389 - }));
913 +/***/ }),
390 914
391 -//#endregion
392 -//#region node_modules/core-js/internals/to-object.js
393 - var require_to_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
394 - var requireObjectCoercible = require_require_object_coercible();
395 - var $Object = Object;
396 - module.exports = function(argument) {
397 - return $Object(requireObjectCoercible(argument));
398 - };
399 - }));
915 +/***/ "../app/assets/js/event-track/dashboard/screen-view.js":
916 +/*!*************************************************************!*\
917 + !*** ../app/assets/js/event-track/dashboard/screen-view.js ***!
918 + \*************************************************************/
919 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
400 920
401 -//#endregion
402 -//#region node_modules/core-js/internals/has-own-property.js
403 - var require_has_own_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
404 - var uncurryThis = require_function_uncurry_this();
405 - var toObject = require_to_object();
406 - var hasOwnProperty = uncurryThis({}.hasOwnProperty);
407 - module.exports = Object.hasOwn || function hasOwn(it, key) {
408 - return hasOwnProperty(toObject(it), key);
409 - };
410 - }));
921 +"use strict";
411 922
412 -//#endregion
413 -//#region node_modules/core-js/internals/uid.js
414 - var require_uid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
415 - var uncurryThis = require_function_uncurry_this();
416 - var id = 0;
417 - var postfix = Math.random();
418 - var toString = uncurryThis(1.1.toString);
419 - module.exports = function(key) {
420 - return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString(++id + postfix, 36);
421 - };
422 - }));
423 923
424 -//#endregion
425 -//#region node_modules/core-js/internals/well-known-symbol.js
426 - var require_well_known_symbol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
427 - var globalThis = require_global_this();
428 - var shared = require_shared();
429 - var hasOwn = require_has_own_property();
430 - var uid = require_uid();
431 - var NATIVE_SYMBOL = require_symbol_constructor_detection();
432 - var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
433 - var Symbol = globalThis.Symbol;
434 - var WellKnownSymbolsStore = shared("wks");
435 - var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol["for"] || Symbol : Symbol && Symbol.withoutSetter || uid;
436 - module.exports = function(name) {
437 - if (!hasOwn(WellKnownSymbolsStore, name)) WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) ? Symbol[name] : createWellKnownSymbol("Symbol." + name);
438 - return WellKnownSymbolsStore[name];
439 - };
440 - }));
924 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
925 +Object.defineProperty(exports, "__esModule", ({
926 + value: true
927 +}));
928 +exports["default"] = void 0;
929 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
930 +__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
931 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
932 +var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
933 +var _utils = __webpack_require__(/*! ./utils */ "../app/assets/js/event-track/dashboard/utils.js");
934 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
935 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
936 +const SCREEN_SELECTORS = {
937 + NAV_TAB_WRAPPER: '.nav-tab-wrapper',
938 + NAV_TAB: '.nav-tab',
939 + NAV_TAB_ACTIVE: '.nav-tab-active',
940 + SETTINGS_FORM_PAGE: '.elementor-settings-form-page',
941 + SETTINGS_FORM_PAGE_ACTIVE: '.elementor-settings-form-page.elementor-active',
942 + FLOATING_ELEMENTS_MODAL: '#elementor-new-floating-elements-modal',
943 + TEMPLATE_DIALOG_MODAL: '#elementor-new-template-dialog-content'
944 +};
945 +const TRACKED_MODALS = [SCREEN_SELECTORS.FLOATING_ELEMENTS_MODAL, SCREEN_SELECTORS.TEMPLATE_DIALOG_MODAL];
946 +class ScreenViewTracking extends _baseTracking.default {
947 + static trackedScreens = new Set();
948 + static init() {
949 + if (!_utils.DashboardUtils.isElementorPage()) {
950 + return;
951 + }
952 + this.attachTabChangeTracking();
953 + }
954 + static destroy() {
955 + super.destroy();
956 + this.trackedScreens.clear();
957 + }
958 + static getScreenData() {
959 + const urlParams = new URLSearchParams(window.location.search);
960 + const page = urlParams.get('page');
961 + const postType = urlParams.get('post_type');
962 + const hash = window.location.hash;
963 + let screenId = '';
964 + let screenType = '';
965 + if (page) {
966 + screenId = page;
967 + } else if (postType) {
968 + screenId = postType;
969 + } else {
970 + screenId = this.getScreenIdFromBody();
971 + }
972 + if (this.isElementorAppPage()) {
973 + const appScreenData = this.getAppScreenData(hash);
974 + if (appScreenData) {
975 + return appScreenData;
976 + }
977 + }
978 + const hasNavTabs = document.querySelector(SCREEN_SELECTORS.NAV_TAB_WRAPPER);
979 + const hasSettingsTabs = document.querySelectorAll(SCREEN_SELECTORS.SETTINGS_FORM_PAGE).length > 1;
980 + if (hasNavTabs || hasSettingsTabs || hash && !this.isElementorAppPage()) {
981 + screenType = _wpDashboardTracking.SCREEN_TYPES.TAB;
982 + if (hash) {
983 + const tabId = hash.replace(/^#(tab-)?/, '');
984 + screenId = `${screenId}-${tabId}`;
985 + } else if (hasNavTabs) {
986 + const activeTab = document.querySelector(SCREEN_SELECTORS.NAV_TAB_ACTIVE);
987 + if (activeTab) {
988 + const tabText = activeTab.textContent.trim();
989 + const tabHref = activeTab.getAttribute('href');
990 + if (tabText) {
991 + screenId = `${screenId}-${this.sanitizeScreenId(tabText)}`;
992 + } else if (tabHref && tabHref.includes('#')) {
993 + const tabId = tabHref.split('#')[1];
994 + screenId = `${screenId}-${tabId}`;
995 + }
996 + }
997 + } else if (hasSettingsTabs) {
998 + const activeSettingsTab = document.querySelector(SCREEN_SELECTORS.SETTINGS_FORM_PAGE_ACTIVE);
999 + if (activeSettingsTab) {
1000 + const tabId = activeSettingsTab.id;
1001 + if (tabId) {
1002 + screenId = `${screenId}-${tabId}`;
1003 + }
1004 + }
1005 + }
1006 + }
1007 + return {
1008 + screenId,
1009 + screenType
1010 + };
1011 + }
1012 + static isElementorAppPage() {
1013 + const urlParams = new URLSearchParams(window.location.search);
1014 + return 'elementor-app' === urlParams.get('page');
1015 + }
1016 + static getAppScreenData(hash) {
1017 + if (!hash) {
1018 + return null;
1019 + }
1020 + const cleanHash = hash.replace(/^#/, '');
1021 + if (!cleanHash.startsWith('/')) {
1022 + return null;
1023 + }
1024 + const pathParts = cleanHash.split('/').filter(Boolean);
1025 + if (0 === pathParts.length) {
1026 + return null;
1027 + }
1028 + const screenId = pathParts.join('/');
1029 + const screenType = _wpDashboardTracking.SCREEN_TYPES.APP_SCREEN;
1030 + return {
1031 + screenId,
1032 + screenType
1033 + };
1034 + }
1035 + static getScreenIdFromBody() {
1036 + const body = document.body;
1037 + const bodyClasses = body.className.split(' ');
1038 + for (const cls of bodyClasses) {
1039 + if (cls.startsWith('elementor') && (cls.includes('page') || cls.includes('post-type'))) {
1040 + return cls;
1041 + }
1042 + }
1043 + return 'elementor-unknown';
1044 + }
1045 + static sanitizeScreenId(text) {
1046 + return text.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '');
1047 + }
1048 + static attachTabChangeTracking() {
1049 + this.attachNavTabTracking();
1050 + this.attachHashChangeTracking();
1051 + this.attachSettingsTabTracking();
1052 + this.attachModalTracking();
1053 + }
1054 + static attachNavTabTracking() {
1055 + const wrapper = document.querySelector(SCREEN_SELECTORS.NAV_TAB_WRAPPER);
1056 + if (!wrapper) {
1057 + return;
1058 + }
1059 + this.addEventListenerTracked(wrapper, 'click', event => {
1060 + const navTab = event.target.closest(SCREEN_SELECTORS.NAV_TAB);
1061 + if (navTab && !navTab.classList.contains('nav-tab-active')) {
1062 + const screenData = this.getScreenData();
1063 + if (screenData) {
1064 + this.trackScreen(screenData.screenId, screenData.screenType);
1065 + }
1066 + }
1067 + });
1068 + }
1069 + static attachHashChangeTracking() {
1070 + this.addEventListenerTracked(window, 'hashchange', () => {
1071 + const screenData = this.getScreenData();
1072 + if (screenData) {
1073 + this.trackScreen(screenData.screenId, screenData.screenType);
1074 + }
1075 + });
1076 + }
1077 + static attachSettingsTabTracking() {
1078 + const settingsPages = document.querySelectorAll(SCREEN_SELECTORS.SETTINGS_FORM_PAGE);
1079 + if (0 === settingsPages.length) {
1080 + return;
1081 + }
1082 + settingsPages.forEach(page => {
1083 + this.addObserver(page, {
1084 + attributes: true,
1085 + attributeFilter: ['class']
1086 + }, () => {
1087 + const screenData = this.getScreenData();
1088 + if (screenData) {
1089 + this.trackScreen(screenData.screenId, screenData.screenType);
1090 + }
1091 + });
1092 + });
1093 + }
1094 + static attachModalTracking() {
1095 + this.addObserver(document.body, {
1096 + childList: true,
1097 + subtree: true
1098 + }, mutations => {
1099 + for (const mutation of mutations) {
1100 + if ('childList' === mutation.type) {
1101 + TRACKED_MODALS.forEach(modalSelector => {
1102 + const modal = document.querySelector(modalSelector);
1103 + if (modal && this.isModalVisible(modal)) {
1104 + const modalId = modalSelector.replace('#', '');
1105 + this.trackScreen(modalId, _wpDashboardTracking.SCREEN_TYPES.POPUP);
1106 + }
1107 + });
1108 + }
1109 + }
1110 + });
1111 + }
1112 + static isModalVisible(element) {
1113 + if (!element) {
1114 + return false;
1115 + }
1116 + const style = window.getComputedStyle(element);
1117 + return 'none' !== style.display && 0 !== parseFloat(style.opacity);
1118 + }
1119 + static trackScreen(screenId, screenType = _wpDashboardTracking.SCREEN_TYPES.TOP_LEVEL_PAGE) {
1120 + const trackingKey = `${screenId}-${screenType}`;
1121 + if (this.trackedScreens.has(trackingKey)) {
1122 + return;
1123 + }
1124 + this.trackedScreens.add(trackingKey);
1125 + _wpDashboardTracking.default.trackScreenViewed(screenId, screenType);
1126 + }
1127 +}
1128 +var _default = exports["default"] = ScreenViewTracking;
441 1129
442 -//#endregion
443 -//#region node_modules/core-js/internals/to-primitive.js
444 - var require_to_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
445 - var call = require_function_call();
446 - var isObject = require_is_object();
447 - var isSymbol = require_is_symbol();
448 - var getMethod = require_get_method();
449 - var ordinaryToPrimitive = require_ordinary_to_primitive();
450 - var wellKnownSymbol = require_well_known_symbol();
451 - var $TypeError = TypeError;
452 - var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
453 - module.exports = function(input, pref) {
454 - if (!isObject(input) || isSymbol(input)) return input;
455 - var exoticToPrim = getMethod(input, TO_PRIMITIVE);
456 - var result;
457 - if (exoticToPrim) {
458 - if (pref === void 0) pref = "default";
459 - result = call(exoticToPrim, input, pref);
460 - if (!isObject(result) || isSymbol(result)) return result;
461 - throw new $TypeError("Can't convert object to primitive value");
462 - }
463 - if (pref === void 0) pref = "number";
464 - return ordinaryToPrimitive(input, pref);
465 - };
466 - }));
1130 +/***/ }),
467 1131
468 -//#endregion
469 -//#region node_modules/core-js/internals/to-property-key.js
470 - var require_to_property_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
471 - var toPrimitive = require_to_primitive();
472 - var isSymbol = require_is_symbol();
473 - module.exports = function(argument) {
474 - var key = toPrimitive(argument, "string");
475 - return isSymbol(key) ? key : key + "";
476 - };
477 - }));
1132 +/***/ "../app/assets/js/event-track/dashboard/top-bar.js":
1133 +/*!*********************************************************!*\
1134 + !*** ../app/assets/js/event-track/dashboard/top-bar.js ***!
1135 + \*********************************************************/
1136 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
478 1137
479 -//#endregion
480 -//#region node_modules/core-js/internals/document-create-element.js
481 - var require_document_create_element = /* @__PURE__ */ __commonJSMin(((exports, module) => {
482 - var globalThis = require_global_this();
483 - var isObject = require_is_object();
484 - var document = globalThis.document;
485 - var EXISTS = isObject(document) && isObject(document.createElement);
486 - module.exports = function(it) {
487 - return EXISTS ? document.createElement(it) : {};
488 - };
489 - }));
1138 +"use strict";
490 1139
491 -//#endregion
492 -//#region node_modules/core-js/internals/ie8-dom-define.js
493 - var require_ie8_dom_define = /* @__PURE__ */ __commonJSMin(((exports, module) => {
494 - var DESCRIPTORS = require_descriptors();
495 - var fails = require_fails();
496 - var createElement = require_document_create_element();
497 - module.exports = !DESCRIPTORS && !fails(function() {
498 - return Object.defineProperty(createElement("div"), "a", { get: function() {
499 - return 7;
500 - } }).a !== 7;
501 - });
502 - }));
503 1140
504 -//#endregion
505 -//#region node_modules/core-js/internals/object-get-own-property-descriptor.js
506 - var require_object_get_own_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports) => {
507 - var DESCRIPTORS = require_descriptors();
508 - var call = require_function_call();
509 - var propertyIsEnumerableModule = require_object_property_is_enumerable();
510 - var createPropertyDescriptor = require_create_property_descriptor();
511 - var toIndexedObject = require_to_indexed_object();
512 - var toPropertyKey = require_to_property_key();
513 - var hasOwn = require_has_own_property();
514 - var IE8_DOM_DEFINE = require_ie8_dom_define();
515 - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
516 - exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
517 - O = toIndexedObject(O);
518 - P = toPropertyKey(P);
519 - if (IE8_DOM_DEFINE) try {
520 - return $getOwnPropertyDescriptor(O, P);
521 - } catch (error) {}
522 - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
523 - };
524 - }));
1141 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1142 +Object.defineProperty(exports, "__esModule", ({
1143 + value: true
1144 +}));
1145 +exports["default"] = void 0;
1146 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1147 +__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
1148 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1149 +var _wpDashboardTracking = _interopRequireWildcard(__webpack_require__(/*! ../wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
1150 +var _baseTracking = _interopRequireDefault(__webpack_require__(/*! ./base-tracking */ "../app/assets/js/event-track/dashboard/base-tracking.js"));
1151 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
1152 +const TOP_BAR_SELECTORS = {
1153 + TOP_BAR_ROOT: '.e-admin-top-bar',
1154 + BAR_BUTTON: '.e-admin-top-bar__bar-button',
1155 + BUTTON_TITLE: '.e-admin-top-bar__bar-button-title',
1156 + MAIN_AREA: '.e-admin-top-bar__main-area',
1157 + SECONDARY_AREA: '.e-admin-top-bar__secondary-area'
1158 +};
1159 +class TopBarTracking extends _baseTracking.default {
1160 + static init() {
1161 + this.waitForTopBar();
1162 + }
1163 + static waitForTopBar() {
1164 + const topBar = document.querySelector(TOP_BAR_SELECTORS.TOP_BAR_ROOT);
1165 + if (topBar) {
1166 + this.attachTopBarTracking(topBar);
1167 + return;
1168 + }
1169 + const observer = this.addObserver(document.body, {
1170 + childList: true,
1171 + subtree: true
1172 + }, () => {
1173 + const foundTopBar = document.querySelector(TOP_BAR_SELECTORS.TOP_BAR_ROOT);
1174 + if (foundTopBar) {
1175 + this.attachTopBarTracking(foundTopBar);
1176 + observer.disconnect();
1177 + clearTimeout(timeoutId);
1178 + }
1179 + });
1180 + const timeoutId = setTimeout(() => {
1181 + observer.disconnect();
1182 + }, 10000);
1183 + }
1184 + static attachTopBarTracking(topBar) {
1185 + const buttons = topBar.querySelectorAll(TOP_BAR_SELECTORS.BAR_BUTTON);
1186 + buttons.forEach(button => {
1187 + this.addEventListenerTracked(button, 'click', event => {
1188 + this.handleTopBarClick(event);
1189 + });
1190 + });
1191 + this.observeTopBarChanges(topBar);
1192 + }
1193 + static observeTopBarChanges(topBar) {
1194 + this.addObserver(topBar, {
1195 + childList: true,
1196 + subtree: true
1197 + }, mutations => {
1198 + mutations.forEach(mutation => {
1199 + if ('childList' === mutation.type) {
1200 + mutation.addedNodes.forEach(node => {
1201 + if (1 === node.nodeType) {
1202 + if (node.matches && node.matches(TOP_BAR_SELECTORS.BAR_BUTTON)) {
1203 + this.addEventListenerTracked(node, 'click', event => {
1204 + this.handleTopBarClick(event);
1205 + });
1206 + } else {
1207 + const buttons = node.querySelectorAll ? node.querySelectorAll(TOP_BAR_SELECTORS.BAR_BUTTON) : [];
1208 + buttons.forEach(button => {
1209 + this.addEventListenerTracked(button, 'click', event => {
1210 + this.handleTopBarClick(event);
1211 + });
1212 + });
1213 + }
1214 + }
1215 + });
1216 + }
1217 + });
1218 + });
1219 + }
1220 + static handleTopBarClick(event) {
1221 + const button = event.currentTarget;
1222 + const itemId = this.extractItemId(button);
1223 + _wpDashboardTracking.default.trackNavClicked(itemId, null, _wpDashboardTracking.NAV_AREAS.TOP_BAR);
1224 + }
1225 + static extractItemId(button) {
1226 + const titleElement = button.querySelector(TOP_BAR_SELECTORS.BUTTON_TITLE);
1227 + if (titleElement && titleElement.textContent.trim()) {
1228 + return titleElement.textContent.trim();
1229 + }
1230 + const textContent = button.textContent.trim();
1231 + if (textContent) {
1232 + return textContent;
1233 + }
1234 + const href = button.getAttribute('href');
1235 + if (href) {
1236 + const urlParams = new URLSearchParams(href.split('?')[1] || '');
1237 + const page = urlParams.get('page');
1238 + if (page) {
1239 + return page;
1240 + }
1241 + if (href.includes('/wp-admin/')) {
1242 + const pathParts = href.split('/wp-admin/')[1];
1243 + if (pathParts) {
1244 + return pathParts.split('?')[0];
1245 + }
1246 + }
1247 + try {
1248 + const url = new URL(href, window.location.origin);
1249 + return url.pathname.split('/').filter(Boolean).pop() || url.hostname;
1250 + } catch (error) {
1251 + return href;
1252 + }
1253 + }
1254 + const dataInfo = button.getAttribute('data-info');
1255 + if (dataInfo) {
1256 + return dataInfo;
1257 + }
1258 + const classes = button.className.split(' ').filter(cls => cls && 'e-admin-top-bar__bar-button' !== cls);
1259 + if (classes.length > 0) {
1260 + return classes.join('-');
1261 + }
1262 + return 'unknown-top-bar-button';
1263 + }
1264 +}
1265 +var _default = exports["default"] = TopBarTracking;
525 1266
526 -//#endregion
527 -//#region node_modules/core-js/internals/v8-prototype-define-bug.js
528 - var require_v8_prototype_define_bug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
529 - var DESCRIPTORS = require_descriptors();
530 - var fails = require_fails();
531 - module.exports = DESCRIPTORS && fails(function() {
532 - return Object.defineProperty(function() {}, "prototype", {
533 - value: 42,
534 - writable: false
535 - }).prototype !== 42;
536 - });
537 - }));
1267 +/***/ }),
538 1268
539 -//#endregion
540 -//#region node_modules/core-js/internals/an-object.js
541 - var require_an_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
542 - var isObject = require_is_object();
543 - var $String = String;
544 - var $TypeError = TypeError;
545 - module.exports = function(argument) {
546 - if (isObject(argument)) return argument;
547 - throw new $TypeError($String(argument) + " is not an object");
548 - };
549 - }));
1269 +/***/ "../app/assets/js/event-track/dashboard/utils.js":
1270 +/*!*******************************************************!*\
1271 + !*** ../app/assets/js/event-track/dashboard/utils.js ***!
1272 + \*******************************************************/
1273 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
550 1274
551 -//#endregion
552 -//#region node_modules/core-js/internals/object-define-property.js
553 - var require_object_define_property = /* @__PURE__ */ __commonJSMin(((exports) => {
554 - var DESCRIPTORS = require_descriptors();
555 - var IE8_DOM_DEFINE = require_ie8_dom_define();
556 - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
557 - var anObject = require_an_object();
558 - var toPropertyKey = require_to_property_key();
559 - var $TypeError = TypeError;
560 - var $defineProperty = Object.defineProperty;
561 - var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
562 - var ENUMERABLE = "enumerable";
563 - var CONFIGURABLE = "configurable";
564 - var WRITABLE = "writable";
565 - exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
566 - anObject(O);
567 - P = toPropertyKey(P);
568 - anObject(Attributes);
569 - if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
570 - var current = $getOwnPropertyDescriptor(O, P);
571 - if (current && current[WRITABLE]) {
572 - O[P] = Attributes.value;
573 - Attributes = {
574 - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
575 - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
576 - writable: false
577 - };
578 - }
579 - }
580 - return $defineProperty(O, P, Attributes);
581 - } : $defineProperty : function defineProperty(O, P, Attributes) {
582 - anObject(O);
583 - P = toPropertyKey(P);
584 - anObject(Attributes);
585 - if (IE8_DOM_DEFINE) try {
586 - return $defineProperty(O, P, Attributes);
587 - } catch (error) {}
588 - if ("get" in Attributes || "set" in Attributes) throw new $TypeError("Accessors not supported");
589 - if ("value" in Attributes) O[P] = Attributes.value;
590 - return O;
591 - };
592 - }));
1275 +"use strict";
593 1276
594 -//#endregion
595 -//#region node_modules/core-js/internals/create-non-enumerable-property.js
596 - var require_create_non_enumerable_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
597 - var DESCRIPTORS = require_descriptors();
598 - var definePropertyModule = require_object_define_property();
599 - var createPropertyDescriptor = require_create_property_descriptor();
600 - module.exports = DESCRIPTORS ? function(object, key, value) {
601 - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
602 - } : function(object, key, value) {
603 - object[key] = value;
604 - return object;
605 - };
606 - }));
607 1277
608 -//#endregion
609 -//#region node_modules/core-js/internals/function-name.js
610 - var require_function_name = /* @__PURE__ */ __commonJSMin(((exports, module) => {
611 - var DESCRIPTORS = require_descriptors();
612 - var hasOwn = require_has_own_property();
613 - var FunctionPrototype = Function.prototype;
614 - var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
615 - var EXISTS = hasOwn(FunctionPrototype, "name");
616 - var PROPER = EXISTS && (function something() {}).name === "something";
617 - var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
618 - module.exports = {
619 - EXISTS,
620 - PROPER,
621 - CONFIGURABLE
622 - };
623 - }));
1278 +Object.defineProperty(exports, "__esModule", ({
1279 + value: true
1280 +}));
1281 +exports.DashboardUtils = void 0;
1282 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1283 +__webpack_require__(/*! core-js/modules/esnext.iterator.some.js */ "../node_modules/core-js/modules/esnext.iterator.some.js");
1284 +const DashboardUtils = exports.DashboardUtils = {
1285 + isElementorPage() {
1286 + const urlParams = new URLSearchParams(window.location.search);
1287 + const page = urlParams.get('page');
1288 + if (page && (page.startsWith('elementor') || page.includes('elementor'))) {
1289 + return true;
1290 + }
1291 + const postType = urlParams.get('post_type');
1292 + if ('elementor_library' === postType || 'e-floating-buttons' === postType) {
1293 + return true;
1294 + }
1295 + const body = document.body;
1296 + const bodyClasses = body.className.split(' ');
1297 + return bodyClasses.some(cls => cls.includes('elementor') && (cls.includes('page') || cls.includes('post-type')));
1298 + }
1299 +};
624 1300
625 -//#endregion
626 -//#region node_modules/core-js/internals/inspect-source.js
627 - var require_inspect_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
628 - var uncurryThis = require_function_uncurry_this();
629 - var isCallable = require_is_callable();
630 - var store = require_shared_store();
631 - var functionToString = uncurryThis(Function.toString);
632 - if (!isCallable(store.inspectSource)) store.inspectSource = function(it) {
633 - return functionToString(it);
634 - };
635 - module.exports = store.inspectSource;
636 - }));
1301 +/***/ }),
637 1302
638 -//#endregion
639 -//#region node_modules/core-js/internals/weak-map-basic-detection.js
640 - var require_weak_map_basic_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
641 - var globalThis = require_global_this();
642 - var isCallable = require_is_callable();
643 - var WeakMap = globalThis.WeakMap;
644 - module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
645 - }));
1303 +/***/ "../app/assets/js/event-track/wp-dashboard-tracking.js":
1304 +/*!*************************************************************!*\
1305 + !*** ../app/assets/js/event-track/wp-dashboard-tracking.js ***!
1306 + \*************************************************************/
1307 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
646 1308
647 -//#endregion
648 -//#region node_modules/core-js/internals/shared-key.js
649 - var require_shared_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
650 - var shared = require_shared();
651 - var uid = require_uid();
652 - var keys = shared("keys");
653 - module.exports = function(key) {
654 - return keys[key] || (keys[key] = uid(key));
655 - };
656 - }));
1309 +"use strict";
657 1310
658 -//#endregion
659 -//#region node_modules/core-js/internals/hidden-keys.js
660 - var require_hidden_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
661 - module.exports = {};
662 - }));
663 1311
664 -//#endregion
665 -//#region node_modules/core-js/internals/internal-state.js
666 - var require_internal_state = /* @__PURE__ */ __commonJSMin(((exports, module) => {
667 - var NATIVE_WEAK_MAP = require_weak_map_basic_detection();
668 - var globalThis = require_global_this();
669 - var isObject = require_is_object();
670 - var createNonEnumerableProperty = require_create_non_enumerable_property();
671 - var hasOwn = require_has_own_property();
672 - var shared = require_shared_store();
673 - var sharedKey = require_shared_key();
674 - var hiddenKeys = require_hidden_keys();
675 - var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
676 - var TypeError = globalThis.TypeError;
677 - var WeakMap = globalThis.WeakMap;
678 - var set;
679 - var get;
680 - var has;
681 - var enforce = function(it) {
682 - return has(it) ? get(it) : set(it, {});
683 - };
684 - var getterFor = function(TYPE) {
685 - return function(it) {
686 - var state;
687 - if (!isObject(it) || (state = get(it)).type !== TYPE) throw new TypeError("Incompatible receiver, " + TYPE + " required");
688 - return state;
689 - };
690 - };
691 - if (NATIVE_WEAK_MAP || shared.state) {
692 - var store = shared.state || (shared.state = new WeakMap());
693 - store.get = store.get;
694 - store.has = store.has;
695 - store.set = store.set;
696 - set = function(it, metadata) {
697 - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
698 - metadata.facade = it;
699 - store.set(it, metadata);
700 - return metadata;
701 - };
702 - get = function(it) {
703 - return store.get(it) || {};
704 - };
705 - has = function(it) {
706 - return store.has(it);
707 - };
708 - } else {
709 - var STATE = sharedKey("state");
710 - hiddenKeys[STATE] = true;
711 - set = function(it, metadata) {
712 - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
713 - metadata.facade = it;
714 - createNonEnumerableProperty(it, STATE, metadata);
715 - return metadata;
716 - };
717 - get = function(it) {
718 - return hasOwn(it, STATE) ? it[STATE] : {};
719 - };
720 - has = function(it) {
721 - return hasOwn(it, STATE);
722 - };
723 - }
724 - module.exports = {
725 - set,
726 - get,
727 - has,
728 - enforce,
729 - getterFor
730 - };
731 - }));
1312 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1313 +Object.defineProperty(exports, "__esModule", ({
1314 + value: true
1315 +}));
1316 +exports["default"] = exports.SCREEN_TYPES = exports.NAV_AREAS = exports.CONTROL_TYPES = void 0;
1317 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
1318 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1319 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1320 +var _navigation = _interopRequireDefault(__webpack_require__(/*! ./dashboard/navigation */ "../app/assets/js/event-track/dashboard/navigation.js"));
1321 +var _pluginActions = _interopRequireDefault(__webpack_require__(/*! ./dashboard/plugin-actions */ "../app/assets/js/event-track/dashboard/plugin-actions.js"));
1322 +var _promotion = _interopRequireDefault(__webpack_require__(/*! ./dashboard/promotion */ "../app/assets/js/event-track/dashboard/promotion.js"));
1323 +var _screenView = _interopRequireDefault(__webpack_require__(/*! ./dashboard/screen-view */ "../app/assets/js/event-track/dashboard/screen-view.js"));
1324 +var _menuPromotion = _interopRequireDefault(__webpack_require__(/*! ./dashboard/menu-promotion */ "../app/assets/js/event-track/dashboard/menu-promotion.js"));
1325 +var _actionControls = _interopRequireDefault(__webpack_require__(/*! ./dashboard/action-controls */ "../app/assets/js/event-track/dashboard/action-controls.js"));
1326 +var _topBar = _interopRequireDefault(__webpack_require__(/*! ./dashboard/top-bar */ "../app/assets/js/event-track/dashboard/top-bar.js"));
1327 +const SESSION_TIMEOUT_MINUTES = 30;
1328 +const MINUTE_MS = 60 * 1000;
1329 +const SESSION_TIMEOUT = SESSION_TIMEOUT_MINUTES * MINUTE_MS;
1330 +const ACTIVITY_CHECK_INTERVAL = 1 * MINUTE_MS;
1331 +const SESSION_STORAGE_KEY = 'elementor_wpdash_session';
1332 +const PENDING_NAV_CLICK_KEY = 'elementor_wpdash_pending_nav';
1333 +const CONTROL_TYPES = exports.CONTROL_TYPES = {
1334 + BUTTON: 'button',
1335 + CHECKBOX: 'checkbox',
1336 + RADIO: 'radio',
1337 + LINK: 'link',
1338 + SELECT: 'select',
1339 + TOGGLE: 'toggle',
1340 + FILTER: 'filter'
1341 +};
1342 +const NAV_AREAS = exports.NAV_AREAS = {
1343 + LEFT_MENU: 'left_menu',
1344 + SUBMENU: 'submenu',
1345 + HOVER_MENU: 'hover_menu',
1346 + TOP_BAR: 'top_bar',
1347 + SIDEBAR_MENU: 'sidebar'
1348 +};
1349 +const SCREEN_TYPES = exports.SCREEN_TYPES = {
1350 + TAB: 'tab',
1351 + POPUP: 'popup',
1352 + APP_SCREEN: 'app_screen'
1353 +};
1354 +class WpDashboardTracking {
1355 + static sessionStartTime = Date.now();
1356 + static lastActivityTime = Date.now();
1357 + static sessionEnded = false;
1358 + static navItemsVisited = new Set();
1359 + static activityCheckInterval = null;
1360 + static initialized = false;
1361 + static navigationListeners = [];
1362 + static isNavigatingToElementor = false;
1363 + static init() {
1364 + if (this.initialized) {
1365 + return;
1366 + }
1367 + this.restoreOrCreateSession();
1368 + if (this.isEventsManagerAvailable()) {
1369 + this.startSessionMonitoring();
1370 + this.attachActivityListeners();
1371 + this.attachNavigationListener();
1372 + this.initialized = true;
1373 + }
1374 + }
1375 + static restoreOrCreateSession() {
1376 + const storedSession = this.getStoredSession();
1377 + if (storedSession) {
1378 + this.sessionStartTime = storedSession.sessionStartTime;
1379 + this.navItemsVisited = new Set(storedSession.navItemsVisited);
1380 + this.lastActivityTime = Date.now();
1381 + this.sessionEnded = false;
1382 + } else {
1383 + this.sessionStartTime = Date.now();
1384 + this.lastActivityTime = Date.now();
1385 + this.sessionEnded = false;
1386 + this.navItemsVisited = new Set();
1387 + }
1388 + this.processPendingNavClick();
1389 + this.saveSessionToStorage();
1390 + }
1391 + static isEditorOneActive() {
1392 + return elementorCommon?.config?.editor_events?.isEditorOneActive ?? false;
1393 + }
1394 + static processPendingNavClick() {
1395 + try {
1396 + const pendingNav = sessionStorage.getItem(PENDING_NAV_CLICK_KEY);
1397 + if (pendingNav) {
1398 + const {
1399 + itemId,
1400 + rootItem,
1401 + area
1402 + } = JSON.parse(pendingNav);
1403 + this.navItemsVisited.add(itemId);
1404 + const properties = {
1405 + wpdash_nav_item_id: itemId,
1406 + wpdash_nav_area: area
1407 + };
1408 + if (rootItem) {
1409 + properties.wpdash_nav_item_root = rootItem;
1410 + }
1411 + this.dispatchEvent('wpdash_nav_clicked', properties, {
1412 + send_immediately: true
1413 + });
1414 + sessionStorage.removeItem(PENDING_NAV_CLICK_KEY);
1415 + }
1416 + } catch (error) {
1417 + sessionStorage.removeItem(PENDING_NAV_CLICK_KEY);
1418 + }
1419 + }
1420 + static getStoredSession() {
1421 + try {
1422 + const stored = sessionStorage.getItem(SESSION_STORAGE_KEY);
1423 + return stored ? JSON.parse(stored) : null;
1424 + } catch (error) {
1425 + return null;
1426 + }
1427 + }
1428 + static saveSessionToStorage() {
1429 + const sessionData = {
1430 + sessionStartTime: this.sessionStartTime,
1431 + navItemsVisited: Array.from(this.navItemsVisited)
1432 + };
1433 + sessionStorage.setItem(SESSION_STORAGE_KEY, JSON.stringify(sessionData));
1434 + }
1435 + static clearStoredSession() {
1436 + sessionStorage.removeItem(SESSION_STORAGE_KEY);
1437 + }
1438 + static isEventsManagerAvailable() {
1439 + return elementorCommon?.eventsManager && 'function' === typeof elementorCommon.eventsManager.dispatchEvent;
1440 + }
1441 + static canSendEvents() {
1442 + return elementorCommon?.config?.editor_events?.can_send_events || false;
1443 + }
1444 + static dispatchEvent(eventName, properties = {}, options = {}) {
1445 + if (!this.isEventsManagerAvailable() || !this.canSendEvents()) {
1446 + return;
1447 + }
1448 + elementorCommon.eventsManager.dispatchEvent(eventName, properties, options);
1449 + }
1450 + static updateActivity() {
1451 + this.lastActivityTime = Date.now();
1452 + }
1453 + static startSessionMonitoring() {
1454 + this.activityCheckInterval = setInterval(() => {
1455 + this.checkSessionTimeout();
1456 + }, ACTIVITY_CHECK_INTERVAL);
1457 + window.addEventListener('beforeunload', () => {
1458 + if (!this.sessionEnded && !this.isNavigatingToElementor) {
1459 + this.trackSessionEnd('tab_closed');
1460 + }
1461 + });
1462 + document.addEventListener('visibilitychange', () => {
1463 + if (!this.sessionEnded && document.hidden) {
1464 + const timeSinceLastActivity = Date.now() - this.lastActivityTime;
1465 + if (timeSinceLastActivity > SESSION_TIMEOUT) {
1466 + this.trackSessionEnd('tab_inactive');
1467 + }
1468 + }
1469 + });
1470 + }
1471 + static isElementorPage(url) {
1472 + try {
1473 + const urlObj = new URL(url, window.location.origin);
1474 + const params = urlObj.searchParams;
1475 + const page = params.get('page');
1476 + const postType = params.get('post_type');
1477 + const action = params.get('action');
1478 + const elementorPages = ['elementor', 'go_knowledge_base_site', 'e-form-submissions'];
1479 + const elementorPostTypes = ['elementor_library', 'e-floating-buttons'];
1480 + return page && elementorPages.some(p => page.includes(p)) || postType && elementorPostTypes.includes(postType) || action && action.includes('elementor');
1481 + } catch (error) {
1482 + return false;
1483 + }
1484 + }
1485 + static isPluginsPage(url) {
1486 + try {
1487 + const urlObj = new URL(url, window.location.origin);
1488 + return urlObj.pathname.includes('plugins.php');
1489 + } catch (error) {
1490 + return false;
1491 + }
1492 + }
1493 + static isNavigatingAwayFromElementor(targetUrl) {
1494 + if (!targetUrl) {
1495 + return false;
1496 + }
1497 + if (targetUrl.startsWith('#')) {
1498 + return false;
1499 + }
1500 + return !this.isElementorPage(targetUrl);
1501 + }
1502 + static isLinkOpeningInNewTab(link) {
1503 + const target = link.getAttribute('target');
1504 + return '_blank' === target || '_new' === target;
1505 + }
1506 + static attachNavigationListener() {
1507 + const handleLinkClick = event => {
1508 + const link = event.target.closest('a');
1509 + if (link && link.href) {
1510 + if (this.isLinkOpeningInNewTab(link)) {
1511 + return;
1512 + }
1513 + if (!this.sessionEnded && this.isNavigatingAwayFromElementor(link.href)) {
1514 + this.trackSessionEnd('navigate_away');
1515 + } else if (this.isElementorPage(link.href)) {
1516 + this.isNavigatingToElementor = true;
1517 + }
1518 + }
1519 + const isSidebar = event.target.closest('#editor-one-sidebar-navigation');
1520 + if (isSidebar) {
1521 + this.isNavigatingToElementor = true;
1522 + }
1523 + };
1524 + const handleFormSubmit = event => {
1525 + const form = event.target;
1526 + if (form.action) {
1527 + if (!this.sessionEnded && this.isNavigatingAwayFromElementor(form.action)) {
1528 + this.trackSessionEnd('navigate_away');
1529 + } else if (this.isElementorPage(form.action)) {
1530 + this.isNavigatingToElementor = true;
1531 + }
1532 + }
1533 + };
1534 + document.addEventListener('click', handleLinkClick, true);
1535 + document.addEventListener('submit', handleFormSubmit, true);
1536 + this.navigationListeners.push({
1537 + type: 'click',
1538 + handler: handleLinkClick
1539 + }, {
1540 + type: 'submit',
1541 + handler: handleFormSubmit
1542 + });
1543 + }
1544 + static checkSessionTimeout() {
1545 + const timeSinceLastActivity = Date.now() - this.lastActivityTime;
1546 + if (timeSinceLastActivity > SESSION_TIMEOUT && !this.sessionEnded) {
1547 + this.trackSessionEnd('timeout');
1548 + }
1549 + }
1550 + static attachActivityListeners() {
1551 + const events = ['mousedown', 'keydown', 'scroll', 'touchstart', 'click'];
1552 + events.forEach(event => {
1553 + document.addEventListener(event, () => {
1554 + this.updateActivity();
1555 + }, {
1556 + capture: true,
1557 + passive: true
1558 + });
1559 + });
1560 + }
1561 + static formatDuration(milliseconds) {
1562 + const totalSeconds = Math.floor(milliseconds / 1000);
1563 + return Number(totalSeconds.toFixed(2));
1564 + }
1565 + static trackNavClicked(itemId, rootItem = null, area = NAV_AREAS.LEFT_MENU) {
1566 + if (!this.initialized) {
1567 + const pendingNav = {
1568 + itemId,
1569 + rootItem,
1570 + area
1571 + };
1572 + sessionStorage.setItem(PENDING_NAV_CLICK_KEY, JSON.stringify(pendingNav));
1573 + return;
1574 + }
1575 + this.updateActivity();
1576 + this.navItemsVisited.add(itemId);
1577 + this.saveSessionToStorage();
1578 + const properties = {
1579 + wpdash_nav_item_id: itemId,
1580 + wpdash_nav_area: area
1581 + };
1582 + if (rootItem) {
1583 + properties.wpdash_nav_item_root = rootItem;
1584 + }
1585 + this.dispatchEvent('wpdash_nav_clicked', properties);
1586 + }
1587 + static trackScreenViewed(screenId, screenType = SCREEN_TYPES.TAB) {
1588 + this.updateActivity();
1589 + const properties = {
1590 + wpdash_screen_id: screenId,
1591 + wpdash_screen_type: screenType
1592 + };
1593 + this.dispatchEvent('wpdash_screen_viewed', properties);
1594 + }
1595 + static trackActionControl(controlIdentifier, controlType) {
1596 + this.updateActivity();
1597 + const properties = {
1598 + wpdash_action_control_interacted: controlIdentifier,
1599 + wpdash_control_type: controlType
1600 + };
1601 + this.dispatchEvent('wpdash_action_control', properties);
1602 + }
1603 + static trackPromoClicked(promoName, destination, clickPath) {
1604 + this.updateActivity();
1605 + const properties = {
1606 + wpdash_promo_name: promoName,
1607 + wpdash_promo_destination: destination,
1608 + wpdash_promo_clicked_path: clickPath
1609 + };
1610 + this.dispatchEvent('wpdash_promo_clicked', properties);
1611 + }
1612 + static trackSessionEnd(reason = 'timeout') {
1613 + if (this.sessionEnded) {
1614 + return;
1615 + }
1616 + this.sessionEnded = true;
1617 + if (this.activityCheckInterval) {
1618 + clearInterval(this.activityCheckInterval);
1619 + this.activityCheckInterval = null;
1620 + }
1621 + const duration = Date.now() - this.sessionStartTime;
1622 + const properties = {
1623 + wpdash_endstate_nav_summary: Array.from(this.navItemsVisited),
1624 + wpdash_endstate_nav_count: this.navItemsVisited.size,
1625 + wpdash_endstate_duration: this.formatDuration(duration),
1626 + reason
1627 + };
1628 + this.dispatchEvent('wpdash_session_end_state', properties);
1629 + this.clearStoredSession();
1630 + }
1631 + static destroy() {
1632 + if (this.activityCheckInterval) {
1633 + clearInterval(this.activityCheckInterval);
1634 + }
1635 + this.navigationListeners.forEach(({
1636 + type,
1637 + handler
1638 + }) => {
1639 + document.removeEventListener(type, handler, true);
1640 + });
1641 + this.navigationListeners = [];
1642 + _screenView.default.destroy();
1643 + _promotion.default.destroy();
1644 + _menuPromotion.default.destroy();
1645 + _actionControls.default.destroy();
1646 + if (!WpDashboardTracking.isEditorOneActive()) {
1647 + _topBar.default.destroy();
1648 + }
1649 + this.initialized = false;
1650 + }
1651 +}
1652 +exports["default"] = WpDashboardTracking;
1653 +window.addEventListener('elementor/admin/init', () => {
1654 + const currentUrl = window.location.href;
1655 + const isPluginsPage = WpDashboardTracking.isPluginsPage(currentUrl);
1656 + const isElementorPage = WpDashboardTracking.isElementorPage(currentUrl);
1657 + if (isPluginsPage) {
1658 + _pluginActions.default.init();
1659 + }
1660 + _navigation.default.init();
1661 + if (isElementorPage) {
1662 + WpDashboardTracking.init();
1663 + _screenView.default.init();
1664 + _promotion.default.init();
1665 + _menuPromotion.default.init();
1666 + _actionControls.default.init();
1667 + if (!WpDashboardTracking.isEditorOneActive()) {
1668 + _topBar.default.init();
1669 + }
1670 + }
1671 +});
1672 +window.addEventListener('beforeunload', () => {
1673 + _navigation.default.destroy();
1674 + _pluginActions.default.destroy();
1675 + WpDashboardTracking.destroy();
1676 +});
732 1677
733 -//#endregion
734 -//#region node_modules/core-js/internals/make-built-in.js
735 - var require_make_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => {
736 - var uncurryThis = require_function_uncurry_this();
737 - var fails = require_fails();
738 - var isCallable = require_is_callable();
739 - var hasOwn = require_has_own_property();
740 - var DESCRIPTORS = require_descriptors();
741 - var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
742 - var inspectSource = require_inspect_source();
743 - var InternalStateModule = require_internal_state();
744 - var enforceInternalState = InternalStateModule.enforce;
745 - var getInternalState = InternalStateModule.get;
746 - var $String = String;
747 - var defineProperty = Object.defineProperty;
748 - var stringSlice = uncurryThis("".slice);
749 - var replace = uncurryThis("".replace);
750 - var join = uncurryThis([].join);
751 - var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() {
752 - return defineProperty(function() {}, "length", { value: 8 }).length !== 8;
753 - });
754 - var TEMPLATE = String(String).split("String");
755 - var makeBuiltIn = module.exports = function(value, name, options) {
756 - if (stringSlice($String(name), 0, 7) === "Symbol(") name = "[" + replace($String(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]";
757 - if (options && options.getter) name = "get " + name;
758 - if (options && options.setter) name = "set " + name;
759 - if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) if (DESCRIPTORS) defineProperty(value, "name", {
760 - value: name,
761 - configurable: true
762 - });
763 - else value.name = name;
764 - if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) defineProperty(value, "length", { value: options.arity });
765 - try {
766 - if (options && hasOwn(options, "constructor") && options.constructor) {
767 - if (DESCRIPTORS) defineProperty(value, "prototype", { writable: false });
768 - } else if (value.prototype) value.prototype = void 0;
769 - } catch (error) {}
770 - var state = enforceInternalState(value);
771 - if (!hasOwn(state, "source")) state.source = join(TEMPLATE, typeof name == "string" ? name : "");
772 - return value;
773 - };
774 - Function.prototype.toString = makeBuiltIn(function toString() {
775 - return isCallable(this) && getInternalState(this).source || inspectSource(this);
776 - }, "toString");
777 - }));
1678 +/***/ }),
778 1679
779 -//#endregion
780 -//#region node_modules/core-js/internals/define-built-in.js
781 - var require_define_built_in = /* @__PURE__ */ __commonJSMin(((exports, module) => {
782 - var isCallable = require_is_callable();
783 - var definePropertyModule = require_object_define_property();
784 - var makeBuiltIn = require_make_built_in();
785 - var defineGlobalProperty = require_define_global_property();
786 - module.exports = function(O, key, value, options) {
787 - if (!options) options = {};
788 - var simple = options.enumerable;
789 - var name = options.name !== void 0 ? options.name : key;
790 - if (isCallable(value)) makeBuiltIn(value, name, options);
791 - if (options.global) if (simple) O[key] = value;
792 - else defineGlobalProperty(key, value);
793 - else {
794 - try {
795 - if (!options.unsafe) delete O[key];
796 - else if (O[key]) simple = true;
797 - } catch (error) {}
798 - if (simple) O[key] = value;
799 - else definePropertyModule.f(O, key, {
800 - value,
801 - enumerable: false,
802 - configurable: !options.nonConfigurable,
803 - writable: !options.nonWritable
804 - });
805 - }
806 - return O;
807 - };
808 - }));
1680 +/***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js":
1681 +/*!************************************************************************************!*\
1682 + !*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***!
1683 + \************************************************************************************/
1684 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
809 1685
810 -//#endregion
811 -//#region node_modules/core-js/internals/math-trunc.js
812 - var require_math_trunc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
813 - var ceil = Math.ceil;
814 - var floor = Math.floor;
815 - module.exports = Math.trunc || function trunc(x) {
816 - var n = +x;
817 - return (n > 0 ? floor : ceil)(n);
818 - };
819 - }));
1686 +"use strict";
820 1687
821 -//#endregion
822 -//#region node_modules/core-js/internals/to-integer-or-infinity.js
823 - var require_to_integer_or_infinity = /* @__PURE__ */ __commonJSMin(((exports, module) => {
824 - var trunc = require_math_trunc();
825 - module.exports = function(argument) {
826 - var number = +argument;
827 - return number !== number || number === 0 ? 0 : trunc(number);
828 - };
829 - }));
830 1688
831 -//#endregion
832 -//#region node_modules/core-js/internals/to-absolute-index.js
833 - var require_to_absolute_index = /* @__PURE__ */ __commonJSMin(((exports, module) => {
834 - var toIntegerOrInfinity = require_to_integer_or_infinity();
835 - var max = Math.max;
836 - var min = Math.min;
837 - module.exports = function(index, length) {
838 - var integer = toIntegerOrInfinity(index);
839 - return integer < 0 ? max(integer + length, 0) : min(integer, length);
840 - };
841 - }));
1689 +Object.defineProperty(exports, "__esModule", ({
1690 + value: true
1691 +}));
1692 +exports.BaseRegistry = void 0;
1693 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1694 +__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
1695 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1696 +__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js");
1697 +class BaseRegistry {
1698 + constructor() {
1699 + this.sections = new Map();
1700 + }
1701 + register(section) {
1702 + if (!section.key || !section.title) {
1703 + throw new Error('Template type must have key and title');
1704 + }
1705 + const existingSection = this.get(section.key);
1706 + const formattedSection = existingSection || this.formatSection(section);
1707 + if (section.children) {
1708 + // If existing section has children, merge them with new children
1709 + if (formattedSection.children) {
1710 + const existingChildrenMap = new Map(formattedSection.children.map(child => [child.key, child]));
842 1711
843 -//#endregion
844 -//#region node_modules/core-js/internals/to-length.js
845 - var require_to_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
846 - var toIntegerOrInfinity = require_to_integer_or_infinity();
847 - var min = Math.min;
848 - module.exports = function(argument) {
849 - var len = toIntegerOrInfinity(argument);
850 - return len > 0 ? min(len, 9007199254740991) : 0;
851 - };
852 - }));
1712 + // Override existing children with new ones and add new children
1713 + section.children.forEach(childSection => {
1714 + const formattedChild = this.formatSection(childSection);
1715 + existingChildrenMap.set(childSection.key, formattedChild);
1716 + });
1717 + formattedSection.children = Array.from(existingChildrenMap.values());
1718 + } else {
1719 + formattedSection.children = section.children.map(childSection => this.formatSection(childSection));
1720 + }
1721 + }
1722 + this.sections.set(section.key, formattedSection);
1723 + }
1724 + formatSection({
1725 + children,
1726 + ...section
1727 + }) {
1728 + return {
1729 + key: section.key,
1730 + title: section.title,
1731 + description: section.description || '',
1732 + useParentDefault: section.useParentDefault !== false,
1733 + getInitialState: section.getInitialState || null,
1734 + component: section.component || null,
1735 + order: section.order || 10,
1736 + isAvailable: section.isAvailable || (() => true),
1737 + ...section
1738 + };
1739 + }
1740 + getAll() {
1741 + return Array.from(this.sections.values()).filter(type => type.isAvailable()).map(type => {
1742 + if (type.children) {
1743 + return {
1744 + ...type,
1745 + children: [...type.children].sort((a, b) => a.order - b.order)
1746 + };
1747 + }
1748 + return type;
1749 + }).sort((a, b) => a.order - b.order);
1750 + }
1751 + get(key) {
1752 + return this.sections.get(key);
1753 + }
1754 +}
1755 +exports.BaseRegistry = BaseRegistry;
853 1756
854 -//#endregion
855 -//#region node_modules/core-js/internals/length-of-array-like.js
856 - var require_length_of_array_like = /* @__PURE__ */ __commonJSMin(((exports, module) => {
857 - var toLength = require_to_length();
858 - module.exports = function(obj) {
859 - return toLength(obj.length);
860 - };
861 - }));
1757 +/***/ }),
862 1758
863 -//#endregion
864 -//#region node_modules/core-js/internals/array-includes.js
865 - var require_array_includes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
866 - var toIndexedObject = require_to_indexed_object();
867 - var toAbsoluteIndex = require_to_absolute_index();
868 - var lengthOfArrayLike = require_length_of_array_like();
869 - var createMethod = function(IS_INCLUDES) {
870 - return function($this, el, fromIndex) {
871 - var O = toIndexedObject($this);
872 - var length = lengthOfArrayLike(O);
873 - if (length === 0) return !IS_INCLUDES && -1;
874 - var index = toAbsoluteIndex(fromIndex, length);
875 - var value;
876 - if (IS_INCLUDES && el !== el) while (length > index) {
877 - value = O[index++];
878 - if (value !== value) return true;
879 - }
880 - else for (; length > index; index++) if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
881 - return !IS_INCLUDES && -1;
882 - };
883 - };
884 - module.exports = {
885 - includes: createMethod(true),
886 - indexOf: createMethod(false)
887 - };
888 - }));
1759 +/***/ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js":
1760 +/*!*****************************************************************************************************!*\
1761 + !*** ../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js ***!
1762 + \*****************************************************************************************************/
1763 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
889 1764
890 -//#endregion
891 -//#region node_modules/core-js/internals/object-keys-internal.js
892 - var require_object_keys_internal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
893 - var uncurryThis = require_function_uncurry_this();
894 - var hasOwn = require_has_own_property();
895 - var toIndexedObject = require_to_indexed_object();
896 - var indexOf = require_array_includes().indexOf;
897 - var hiddenKeys = require_hidden_keys();
898 - var push = uncurryThis([].push);
899 - module.exports = function(object, names) {
900 - var O = toIndexedObject(object);
901 - var i = 0;
902 - var result = [];
903 - var key;
904 - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
905 - while (names.length > i) if (hasOwn(O, key = names[i++])) ~indexOf(result, key) || push(result, key);
906 - return result;
907 - };
908 - }));
1765 +"use strict";
909 1766
910 -//#endregion
911 -//#region node_modules/core-js/internals/enum-bug-keys.js
912 - var require_enum_bug_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
913 - module.exports = [
914 - "constructor",
915 - "hasOwnProperty",
916 - "isPrototypeOf",
917 - "propertyIsEnumerable",
918 - "toLocaleString",
919 - "toString",
920 - "valueOf"
921 - ];
922 - }));
923 1767
924 -//#endregion
925 -//#region node_modules/core-js/internals/object-get-own-property-names.js
926 - var require_object_get_own_property_names = /* @__PURE__ */ __commonJSMin(((exports) => {
927 - var internalObjectKeys = require_object_keys_internal();
928 - var hiddenKeys = require_enum_bug_keys().concat("length", "prototype");
929 - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
930 - return internalObjectKeys(O, hiddenKeys);
931 - };
932 - }));
1768 +Object.defineProperty(exports, "__esModule", ({
1769 + value: true
1770 +}));
1771 +exports.customizationDialogsRegistry = void 0;
1772 +var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js");
1773 +const customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry();
933 1774
934 -//#endregion
935 -//#region node_modules/core-js/internals/object-get-own-property-symbols.js
936 - var require_object_get_own_property_symbols = /* @__PURE__ */ __commonJSMin(((exports) => {
937 - exports.f = Object.getOwnPropertySymbols;
938 - }));
1775 +/***/ }),
939 1776
940 -//#endregion
941 -//#region node_modules/core-js/internals/own-keys.js
942 - var require_own_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
943 - var getBuiltIn = require_get_built_in();
944 - var uncurryThis = require_function_uncurry_this();
945 - var getOwnPropertyNamesModule = require_object_get_own_property_names();
946 - var getOwnPropertySymbolsModule = require_object_get_own_property_symbols();
947 - var anObject = require_an_object();
948 - var concat = uncurryThis([].concat);
949 - module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) {
950 - var keys = getOwnPropertyNamesModule.f(anObject(it));
951 - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
952 - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
953 - };
954 - }));
1777 +/***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js":
1778 +/*!******************************************************************************************************!*\
1779 + !*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***!
1780 + \******************************************************************************************************/
1781 +/***/ ((__unused_webpack_module, exports) => {
955 1782
956 -//#endregion
957 -//#region node_modules/core-js/internals/copy-constructor-properties.js
958 - var require_copy_constructor_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
959 - var hasOwn = require_has_own_property();
960 - var ownKeys = require_own_keys();
961 - var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor();
962 - var definePropertyModule = require_object_define_property();
963 - module.exports = function(target, source, exceptions) {
964 - var keys = ownKeys(source);
965 - var defineProperty = definePropertyModule.f;
966 - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
967 - for (var i = 0; i < keys.length; i++) {
968 - var key = keys[i];
969 - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
970 - }
971 - };
972 - }));
1783 +"use strict";
973 1784
974 -//#endregion
975 -//#region node_modules/core-js/internals/is-forced.js
976 - var require_is_forced = /* @__PURE__ */ __commonJSMin(((exports, module) => {
977 - var fails = require_fails();
978 - var isCallable = require_is_callable();
979 - var replacement = /#|\.prototype\./;
980 - var isForced = function(feature, detection) {
981 - var value = data[normalize(feature)];
982 - return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection;
983 - };
984 - var normalize = isForced.normalize = function(string) {
985 - return String(string).replace(replacement, ".").toLowerCase();
986 - };
987 - var data = isForced.data = {};
988 - var NATIVE = isForced.NATIVE = "N";
989 - var POLYFILL = isForced.POLYFILL = "P";
990 - module.exports = isForced;
991 - }));
992 1785
993 -//#endregion
994 -//#region node_modules/core-js/internals/export.js
995 - var require_export = /* @__PURE__ */ __commonJSMin(((exports, module) => {
996 - var globalThis = require_global_this();
997 - var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f;
998 - var createNonEnumerableProperty = require_create_non_enumerable_property();
999 - var defineBuiltIn = require_define_built_in();
1000 - var defineGlobalProperty = require_define_global_property();
1001 - var copyConstructorProperties = require_copy_constructor_properties();
1002 - var isForced = require_is_forced();
1003 - module.exports = function(options, source) {
1004 - var TARGET = options.target;
1005 - var GLOBAL = options.global;
1006 - var STATIC = options.stat;
1007 - var FORCED;
1008 - var target;
1009 - var key;
1010 - var targetProperty;
1011 - var sourceProperty;
1012 - var descriptor;
1013 - if (GLOBAL) target = globalThis;
1014 - else if (STATIC) target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
1015 - else target = globalThis[TARGET] && globalThis[TARGET].prototype;
1016 - if (target) for (key in source) {
1017 - sourceProperty = source[key];
1018 - if (options.dontCallGetSet) {
1019 - descriptor = getOwnPropertyDescriptor(target, key);
1020 - targetProperty = descriptor && descriptor.value;
1021 - } else targetProperty = target[key];
1022 - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
1023 - if (!FORCED && targetProperty !== void 0) {
1024 - if (typeof sourceProperty == typeof targetProperty) continue;
1025 - copyConstructorProperties(sourceProperty, targetProperty);
1026 - }
1027 - if (options.sham || targetProperty && targetProperty.sham) createNonEnumerableProperty(sourceProperty, "sham", true);
1028 - defineBuiltIn(target, key, sourceProperty, options);
1029 - }
1030 - };
1031 - }));
1786 +Object.defineProperty(exports, "__esModule", ({
1787 + value: true
1788 +}));
1789 +exports.createGetInitialState = createGetInitialState;
1790 +function createGetInitialState(exportGroup, additionalProps = {}) {
1791 + return (data, parentInitialState) => {
1792 + let isEnabled = parentInitialState;
1793 + const isImport = data.hasOwnProperty('uploadedData');
1794 + if (isImport) {
1795 + isEnabled = false;
1796 + const templates = data.uploadedData.manifest.templates;
1797 + const exportGroups = elementorAppConfig?.['import-export-customization']?.exportGroups || {};
1798 + for (const templateId in templates) {
1799 + const template = templates[templateId];
1800 + const templateExportGroup = exportGroups[template.doc_type];
1801 + if (templateExportGroup === exportGroup) {
1802 + isEnabled = true;
1803 + break;
1804 + }
1805 + }
1806 + }
1807 + return {
1808 + enabled: isEnabled,
1809 + ...additionalProps
1810 + };
1811 + };
1812 +}
1032 1813
1033 -//#endregion
1034 -//#region node_modules/core-js/internals/is-array.js
1035 - var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1036 - var classof = require_classof_raw();
1037 - module.exports = Array.isArray || function isArray(argument) {
1038 - return classof(argument) === "Array";
1039 - };
1040 - }));
1814 +/***/ }),
1041 1815
1042 -//#endregion
1043 -//#region node_modules/core-js/internals/array-set-length.js
1044 - var require_array_set_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1045 - var DESCRIPTORS = require_descriptors();
1046 - var isArray = require_is_array();
1047 - var $TypeError = TypeError;
1048 - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1049 - var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() {
1050 - if (this !== void 0) return true;
1051 - try {
1052 - Object.defineProperty([], "length", { writable: false }).length = 1;
1053 - } catch (error) {
1054 - return error instanceof TypeError;
1055 - }
1056 - }();
1057 - module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) {
1058 - if (isArray(O) && !getOwnPropertyDescriptor(O, "length").writable) throw new $TypeError("Cannot set read only .length");
1059 - return O.length = length;
1060 - } : function(O, length) {
1061 - return O.length = length;
1062 - };
1063 - }));
1816 +/***/ "../assets/dev/js/editor/utils/is-instanceof.js":
1817 +/*!******************************************************!*\
1818 + !*** ../assets/dev/js/editor/utils/is-instanceof.js ***!
1819 + \******************************************************/
1820 +/***/ ((__unused_webpack_module, exports) => {
1064 1821
1065 -//#endregion
1066 -//#region node_modules/core-js/internals/does-not-exceed-safe-integer.js
1067 - var require_does_not_exceed_safe_integer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1068 - var $TypeError = TypeError;
1069 - var MAX_SAFE_INTEGER = 9007199254740991;
1070 - module.exports = function(it) {
1071 - if (it > MAX_SAFE_INTEGER) throw $TypeError("Maximum allowed index exceeded");
1072 - return it;
1073 - };
1074 - }));
1822 +"use strict";
1075 1823
1076 -//#endregion
1077 -//#region node_modules/core-js/modules/es.array.push.js
1078 - var require_es_array_push = /* @__PURE__ */ __commonJSMin((() => {
1079 - var $ = require_export();
1080 - var toObject = require_to_object();
1081 - var lengthOfArrayLike = require_length_of_array_like();
1082 - var setArrayLength = require_array_set_length();
1083 - var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer();
1084 - var INCORRECT_TO_LENGTH = require_fails()(function() {
1085 - return [].push.call({ length: 4294967296 }, 1) !== 4294967297;
1086 - });
1087 - var properErrorOnNonWritableLength = function() {
1088 - try {
1089 - Object.defineProperty([], "length", { writable: false }).push();
1090 - } catch (error) {
1091 - return error instanceof TypeError;
1092 - }
1093 - };
1094 - $({
1095 - target: "Array",
1096 - proto: true,
1097 - arity: 1,
1098 - forced: INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength()
1099 - }, { push: function push(item) {
1100 - var O = toObject(this);
1101 - var len = lengthOfArrayLike(O);
1102 - var argCount = arguments.length;
1103 - doesNotExceedSafeInteger(len + argCount);
1104 - for (var i = 0; i < argCount; i++) {
1105 - O[len] = arguments[i];
1106 - len++;
1107 - }
1108 - setArrayLength(O, len);
1109 - return len;
1110 - } });
1111 - }));
1112 1824
1113 -//#endregion
1114 -//#region node_modules/core-js/internals/an-instance.js
1115 - var require_an_instance = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1116 - var isPrototypeOf = require_object_is_prototype_of();
1117 - var $TypeError = TypeError;
1118 - module.exports = function(it, Prototype) {
1119 - if (isPrototypeOf(Prototype, it)) return it;
1120 - throw new $TypeError("Incorrect invocation");
1121 - };
1122 - }));
1825 +Object.defineProperty(exports, "__esModule", ({
1826 + value: true
1827 +}));
1828 +exports["default"] = void 0;
1829 +/**
1830 + * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved
1831 + * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can
1832 + * check whether it's instanceof by using the objects constructor and prototype names.
1833 + *
1834 + * @param object
1835 + * @param constructors
1836 + * @return {boolean}
1837 + */
1838 +var _default = (object, constructors) => {
1839 + constructors = Array.isArray(constructors) ? constructors : [constructors];
1840 + for (const constructor of constructors) {
1841 + if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) {
1842 + return true;
1843 + }
1844 + }
1845 + return false;
1846 +};
1847 +exports["default"] = _default;
1123 1848
1124 -//#endregion
1125 -//#region node_modules/core-js/internals/correct-prototype-getter.js
1126 - var require_correct_prototype_getter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1127 - var fails = require_fails();
1128 - module.exports = !fails(function() {
1129 - function F() {}
1130 - F.prototype.constructor = null;
1131 - return Object.getPrototypeOf(new F()) !== F.prototype;
1132 - });
1133 - }));
1849 +/***/ }),
1134 1850
1135 -//#endregion
1136 -//#region node_modules/core-js/internals/object-get-prototype-of.js
1137 - var require_object_get_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1138 - var hasOwn = require_has_own_property();
1139 - var isCallable = require_is_callable();
1140 - var toObject = require_to_object();
1141 - var sharedKey = require_shared_key();
1142 - var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter();
1143 - var IE_PROTO = sharedKey("IE_PROTO");
1144 - var $Object = Object;
1145 - var ObjectPrototype = $Object.prototype;
1146 - module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) {
1147 - var object = toObject(O);
1148 - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
1149 - var constructor = object.constructor;
1150 - if (isCallable(constructor) && object instanceof constructor) return constructor.prototype;
1151 - return object instanceof $Object ? ObjectPrototype : null;
1152 - };
1153 - }));
1851 +/***/ "../assets/dev/js/frontend/document.js":
1852 +/*!*********************************************!*\
1853 + !*** ../assets/dev/js/frontend/document.js ***!
1854 + \*********************************************/
1855 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1154 1856
1155 -//#endregion
1156 -//#region node_modules/core-js/internals/define-built-in-accessor.js
1157 - var require_define_built_in_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1158 - var makeBuiltIn = require_make_built_in();
1159 - var defineProperty = require_object_define_property();
1160 - module.exports = function(target, name, descriptor) {
1161 - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1162 - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1163 - return defineProperty.f(target, name, descriptor);
1164 - };
1165 - }));
1857 +"use strict";
1166 1858
1167 -//#endregion
1168 -//#region node_modules/core-js/internals/create-property.js
1169 - var require_create_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1170 - var DESCRIPTORS = require_descriptors();
1171 - var definePropertyModule = require_object_define_property();
1172 - var createPropertyDescriptor = require_create_property_descriptor();
1173 - module.exports = function(object, key, value) {
1174 - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
1175 - else object[key] = value;
1176 - };
1177 - }));
1178 1859
1179 -//#endregion
1180 -//#region node_modules/core-js/internals/object-keys.js
1181 - var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1182 - var internalObjectKeys = require_object_keys_internal();
1183 - var enumBugKeys = require_enum_bug_keys();
1184 - module.exports = Object.keys || function keys(O) {
1185 - return internalObjectKeys(O, enumBugKeys);
1186 - };
1187 - }));
1860 +Object.defineProperty(exports, "__esModule", ({
1861 + value: true
1862 +}));
1863 +exports["default"] = void 0;
1864 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1865 +__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
1866 +class _default extends elementorModules.ViewModule {
1867 + getDefaultSettings() {
1868 + return {
1869 + selectors: {
1870 + elements: '.elementor-element',
1871 + nestedDocumentElements: '.elementor .elementor-element'
1872 + },
1873 + classes: {
1874 + editMode: 'elementor-edit-mode'
1875 + }
1876 + };
1877 + }
1878 + getDefaultElements() {
1879 + const selectors = this.getSettings('selectors');
1880 + return {
1881 + $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements))
1882 + };
1883 + }
1884 + getDocumentSettings(setting) {
1885 + let elementSettings;
1886 + if (this.isEdit) {
1887 + elementSettings = {};
1888 + const settings = elementor.settings.page.model;
1889 + jQuery.each(settings.getActiveControls(), controlKey => {
1890 + elementSettings[controlKey] = settings.attributes[controlKey];
1891 + });
1892 + } else {
1893 + elementSettings = this.$element.data('elementor-settings') || {};
1894 + }
1895 + return this.getItems(elementSettings, setting);
1896 + }
1897 + runElementsHandlers() {
1898 + this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element)));
1899 + }
1900 + onInit() {
1901 + this.$element = this.getSettings('$element');
1902 + super.onInit();
1903 + this.isEdit = this.$element.hasClass(this.getSettings('classes.editMode'));
1904 + if (this.isEdit) {
1905 + elementor.on('document:loaded', () => {
1906 + elementor.settings.page.model.on('change', this.onSettingsChange.bind(this));
1907 + });
1908 + } else {
1909 + this.runElementsHandlers();
1910 + }
1911 + }
1912 + onSettingsChange() {}
1913 +}
1914 +exports["default"] = _default;
1188 1915
1189 -//#endregion
1190 -//#region node_modules/core-js/internals/object-define-properties.js
1191 - var require_object_define_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
1192 - var DESCRIPTORS = require_descriptors();
1193 - var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
1194 - var definePropertyModule = require_object_define_property();
1195 - var anObject = require_an_object();
1196 - var toIndexedObject = require_to_indexed_object();
1197 - var objectKeys = require_object_keys();
1198 - exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1199 - anObject(O);
1200 - var props = toIndexedObject(Properties);
1201 - var keys = objectKeys(Properties);
1202 - var length = keys.length;
1203 - var index = 0;
1204 - var key;
1205 - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1206 - return O;
1207 - };
1208 - }));
1916 +/***/ }),
1209 1917
1210 -//#endregion
1211 -//#region node_modules/core-js/internals/html.js
1212 - var require_html = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1213 - var getBuiltIn = require_get_built_in();
1214 - module.exports = getBuiltIn("document", "documentElement");
1215 - }));
1918 +/***/ "../assets/dev/js/frontend/handlers/base-carousel.js":
1919 +/*!***********************************************************!*\
1920 + !*** ../assets/dev/js/frontend/handlers/base-carousel.js ***!
1921 + \***********************************************************/
1922 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1216 1923
1217 -//#endregion
1218 -//#region node_modules/core-js/internals/object-create.js
1219 - var require_object_create = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1220 - var anObject = require_an_object();
1221 - var definePropertiesModule = require_object_define_properties();
1222 - var enumBugKeys = require_enum_bug_keys();
1223 - var hiddenKeys = require_hidden_keys();
1224 - var html = require_html();
1225 - var documentCreateElement = require_document_create_element();
1226 - var sharedKey = require_shared_key();
1227 - var GT = ">";
1228 - var LT = "<";
1229 - var PROTOTYPE = "prototype";
1230 - var SCRIPT = "script";
1231 - var IE_PROTO = sharedKey("IE_PROTO");
1232 - var EmptyConstructor = function() {};
1233 - var scriptTag = function(content) {
1234 - return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
1235 - };
1236 - var NullProtoObjectViaActiveX = function(activeXDocument) {
1237 - activeXDocument.write(scriptTag(""));
1238 - activeXDocument.close();
1239 - var temp = activeXDocument.parentWindow.Object;
1240 - activeXDocument = null;
1241 - return temp;
1242 - };
1243 - var NullProtoObjectViaIFrame = function() {
1244 - var iframe = documentCreateElement("iframe");
1245 - var JS = "java" + SCRIPT + ":";
1246 - var iframeDocument;
1247 - iframe.style.display = "none";
1248 - html.appendChild(iframe);
1249 - iframe.src = String(JS);
1250 - iframeDocument = iframe.contentWindow.document;
1251 - iframeDocument.open();
1252 - iframeDocument.write(scriptTag("document.F=Object"));
1253 - iframeDocument.close();
1254 - return iframeDocument.F;
1255 - };
1256 - var activeXDocument;
1257 - var NullProtoObject = function() {
1258 - try {
1259 - activeXDocument = new ActiveXObject("htmlfile");
1260 - } catch (error) {}
1261 - NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
1262 - var length = enumBugKeys.length;
1263 - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1264 - return NullProtoObject();
1265 - };
1266 - hiddenKeys[IE_PROTO] = true;
1267 - module.exports = Object.create || function create(O, Properties) {
1268 - var result;
1269 - if (O !== null) {
1270 - EmptyConstructor[PROTOTYPE] = anObject(O);
1271 - result = new EmptyConstructor();
1272 - EmptyConstructor[PROTOTYPE] = null;
1273 - result[IE_PROTO] = O;
1274 - } else result = NullProtoObject();
1275 - return Properties === void 0 ? result : definePropertiesModule.f(result, Properties);
1276 - };
1277 - }));
1924 +"use strict";
1278 1925
1279 -//#endregion
1280 -//#region node_modules/core-js/internals/iterators-core.js
1281 - var require_iterators_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1282 - var fails = require_fails();
1283 - var isCallable = require_is_callable();
1284 - var isObject = require_is_object();
1285 - var create = require_object_create();
1286 - var getPrototypeOf = require_object_get_prototype_of();
1287 - var defineBuiltIn = require_define_built_in();
1288 - var wellKnownSymbol = require_well_known_symbol();
1289 - var IS_PURE = require_is_pure();
1290 - var ITERATOR = wellKnownSymbol("iterator");
1291 - var BUGGY_SAFARI_ITERATORS = false;
1292 - var IteratorPrototype;
1293 - var PrototypeOfArrayIteratorPrototype;
1294 - var arrayIterator;
1295 - if ([].keys) {
1296 - arrayIterator = [].keys();
1297 - if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1298 - else {
1299 - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
1300 - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
1301 - }
1302 - }
1303 - if (!isObject(IteratorPrototype) || fails(function() {
1304 - var test = {};
1305 - return IteratorPrototype[ITERATOR].call(test) !== test;
1306 - })) IteratorPrototype = {};
1307 - else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
1308 - if (!isCallable(IteratorPrototype[ITERATOR])) defineBuiltIn(IteratorPrototype, ITERATOR, function() {
1309 - return this;
1310 - });
1311 - module.exports = {
1312 - IteratorPrototype,
1313 - BUGGY_SAFARI_ITERATORS
1314 - };
1315 - }));
1316 1926
1317 -//#endregion
1318 -//#region node_modules/core-js/modules/es.iterator.constructor.js
1319 - var require_es_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => {
1320 - var $ = require_export();
1321 - var globalThis = require_global_this();
1322 - var anInstance = require_an_instance();
1323 - var anObject = require_an_object();
1324 - var isCallable = require_is_callable();
1325 - var getPrototypeOf = require_object_get_prototype_of();
1326 - var defineBuiltInAccessor = require_define_built_in_accessor();
1327 - var createProperty = require_create_property();
1328 - var fails = require_fails();
1329 - var hasOwn = require_has_own_property();
1330 - var wellKnownSymbol = require_well_known_symbol();
1331 - var IteratorPrototype = require_iterators_core().IteratorPrototype;
1332 - var DESCRIPTORS = require_descriptors();
1333 - var IS_PURE = require_is_pure();
1334 - var CONSTRUCTOR = "constructor";
1335 - var ITERATOR = "Iterator";
1336 - var TO_STRING_TAG = wellKnownSymbol("toStringTag");
1337 - var $TypeError = TypeError;
1338 - var NativeIterator = globalThis[ITERATOR];
1339 - var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() {
1340 - NativeIterator({});
1341 - });
1342 - var IteratorConstructor = function Iterator() {
1343 - anInstance(this, IteratorPrototype);
1344 - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError("Abstract class Iterator not directly constructable");
1345 - };
1346 - var defineIteratorPrototypeAccessor = function(key, value) {
1347 - if (DESCRIPTORS) defineBuiltInAccessor(IteratorPrototype, key, {
1348 - configurable: true,
1349 - get: function() {
1350 - return value;
1351 - },
1352 - set: function(replacement) {
1353 - anObject(this);
1354 - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
1355 - if (hasOwn(this, key)) this[key] = replacement;
1356 - else createProperty(this, key, replacement);
1357 - }
1358 - });
1359 - else IteratorPrototype[key] = value;
1360 - };
1361 - if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
1362 - if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1363 - IteratorConstructor.prototype = IteratorPrototype;
1364 - $({
1365 - global: true,
1366 - constructor: true,
1367 - forced: FORCED
1368 - }, { Iterator: IteratorConstructor });
1369 - }));
1927 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1928 +Object.defineProperty(exports, "__esModule", ({
1929 + value: true
1930 +}));
1931 +exports["default"] = void 0;
1932 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
1933 +__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
1934 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
1935 +var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js"));
1936 +class CarouselHandlerBase extends _baseSwiper.default {
1937 + getDefaultSettings() {
1938 + return {
1939 + selectors: {
1940 + carousel: '.swiper',
1941 + swiperWrapper: '.swiper-wrapper',
1942 + slideContent: '.swiper-slide',
1943 + swiperArrow: '.elementor-swiper-button',
1944 + paginationWrapper: '.swiper-pagination',
1945 + paginationBullet: '.swiper-pagination-bullet',
1946 + paginationBulletWrapper: '.swiper-pagination-bullets'
1947 + }
1948 + };
1949 + }
1950 + getDefaultElements() {
1951 + const selectors = this.getSettings('selectors'),
1952 + elements = {
1953 + $swiperContainer: this.$element.find(selectors.carousel),
1954 + $swiperWrapper: this.$element.find(selectors.swiperWrapper),
1955 + $swiperArrows: this.$element.find(selectors.swiperArrow),
1956 + $paginationWrapper: this.$element.find(selectors.paginationWrapper),
1957 + $paginationBullets: this.$element.find(selectors.paginationBullet),
1958 + $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper)
1959 + };
1960 + elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
1961 + return elements;
1962 + }
1963 + getSwiperSettings() {
1964 + const elementSettings = this.getElementSettings(),
1965 + slidesToShow = +elementSettings.slides_to_show || 3,
1966 + isSingleSlide = 1 === slidesToShow,
1967 + elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints,
1968 + defaultSlidesToShowMap = {
1969 + mobile: 1,
1970 + tablet: isSingleSlide ? 1 : 2
1971 + };
1972 + const swiperOptions = {
1973 + slidesPerView: slidesToShow,
1974 + loop: 'yes' === elementSettings.infinite,
1975 + speed: elementSettings.speed,
1976 + handleElementorBreakpoints: true
1977 + };
1978 + swiperOptions.breakpoints = {};
1979 + let lastBreakpointSlidesToShowValue = slidesToShow;
1980 + Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => {
1981 + // Tablet has a specific default `slides_to_show`.
1982 + const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue;
1983 + swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = {
1984 + slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow,
1985 + slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1
1986 + };
1987 + if (elementSettings.image_spacing_custom) {
1988 + swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName);
1989 + }
1990 + lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow;
1991 + });
1992 + if ('yes' === elementSettings.autoplay) {
1993 + swiperOptions.autoplay = {
1994 + delay: elementSettings.autoplay_speed,
1995 + disableOnInteraction: 'yes' === elementSettings.pause_on_interaction
1996 + };
1997 + }
1998 + if (isSingleSlide) {
1999 + swiperOptions.effect = elementSettings.effect;
2000 + if ('fade' === elementSettings.effect) {
2001 + swiperOptions.fadeEffect = {
2002 + crossFade: true
2003 + };
2004 + }
2005 + } else {
2006 + swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
2007 + }
2008 + if (elementSettings.image_spacing_custom) {
2009 + swiperOptions.spaceBetween = this.getSpaceBetween();
2010 + }
2011 + const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation,
2012 + showPagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation || elementSettings.pagination;
2013 + if (showArrows) {
2014 + swiperOptions.navigation = {
2015 + prevEl: '.elementor-swiper-button-prev',
2016 + nextEl: '.elementor-swiper-button-next'
2017 + };
2018 + }
2019 + if (showPagination) {
2020 + swiperOptions.pagination = {
2021 + el: `.elementor-element-${this.getID()} .swiper-pagination`,
2022 + type: !!elementSettings.pagination ? elementSettings.pagination : 'bullets',
2023 + clickable: true,
2024 + renderBullet: (index, classname) => {
2025 + return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`;
2026 + }
2027 + };
2028 + }
2029 + if ('yes' === elementSettings.lazyload) {
2030 + swiperOptions.lazy = {
2031 + loadPrevNext: true,
2032 + loadPrevNextAmount: 1
2033 + };
2034 + }
2035 + swiperOptions.a11y = {
2036 + enabled: true,
2037 + prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,
2038 + nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,
2039 + firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,
2040 + lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage
2041 + };
2042 + swiperOptions.on = {
2043 + slideChange: () => {
2044 + this.a11ySetPaginationTabindex();
2045 + this.handleElementHandlers();
2046 + this.a11ySetSlideAriaHidden();
2047 + },
2048 + init: () => {
2049 + this.a11ySetPaginationTabindex();
2050 + this.a11ySetSlideAriaHidden('initialisation');
2051 + }
2052 + };
2053 + this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow);
2054 + return swiperOptions;
2055 + }
2056 + getOffsetWidth() {
2057 + const currentDevice = elementorFrontend.getCurrentDeviceMode();
2058 + return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'offset_width', 'size', currentDevice) || 0;
2059 + }
2060 + applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) {
2061 + const offsetSide = elementSettings.offset_sides,
2062 + isNestedCarouselInEditMode = elementorFrontend.isEditMode() && 'NestedCarousel' === this.constructor.name;
2063 + if (isNestedCarouselInEditMode || !offsetSide || 'none' === offsetSide) {
2064 + return;
2065 + }
2066 + switch (offsetSide) {
2067 + case 'right':
2068 + this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
2069 + this.addClassToSwiperContainer('offset-right');
2070 + break;
2071 + case 'left':
2072 + this.addClassToSwiperContainer('offset-left');
2073 + break;
2074 + case 'both':
2075 + this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
2076 + this.addClassToSwiperContainer('offset-both');
2077 + break;
2078 + }
2079 + }
2080 + forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) {
2081 + swiperOptions.slidesPerView = slidesToShow + 0.001;
2082 + }
2083 + addClassToSwiperContainer(className) {
2084 + this.getDefaultElements().$swiperContainer[0].classList.add(className);
2085 + }
2086 + async onInit(...args) {
2087 + super.onInit(...args);
2088 + if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) {
2089 + return;
2090 + }
2091 + await this.initSwiper();
2092 + const elementSettings = this.getElementSettings();
2093 + if ('yes' === elementSettings.pause_on_hover) {
2094 + this.togglePauseOnHover(true);
2095 + }
2096 + }
2097 + async initSwiper() {
2098 + const Swiper = elementorFrontend.utils.swiper;
2099 + this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings());
1370 2100
1371 -//#endregion
1372 -//#region node_modules/core-js/modules/esnext.iterator.constructor.js
1373 - var require_esnext_iterator_constructor = /* @__PURE__ */ __commonJSMin((() => {
1374 - require_es_iterator_constructor();
1375 - }));
2101 + // Expose the swiper instance in the frontend
2102 + this.elements.$swiperContainer.data('swiper', this.swiper);
2103 + }
2104 + bindEvents() {
2105 + this.elements.$swiperArrows.on('keydown', this.onDirectionArrowKeydown.bind(this));
2106 + this.elements.$paginationWrapper.on('keydown', '.swiper-pagination-bullet', this.onDirectionArrowKeydown.bind(this));
2107 + this.elements.$swiperContainer.on('keydown', '.swiper-slide', this.onDirectionArrowKeydown.bind(this));
2108 + this.$element.find(':focusable').on('focus', this.onFocusDisableAutoplay.bind(this));
2109 + elementorFrontend.elements.$window.on('resize', this.getSwiperSettings.bind(this));
2110 + }
2111 + unbindEvents() {
2112 + this.elements.$swiperArrows.off();
2113 + this.elements.$paginationWrapper.off();
2114 + this.elements.$swiperContainer.off();
2115 + this.$element.find(':focusable').off();
2116 + elementorFrontend.elements.$window.off('resize');
2117 + }
2118 + onDirectionArrowKeydown(event) {
2119 + const isRTL = elementorFrontend.config.is_rtl,
2120 + inlineDirectionArrows = ['ArrowLeft', 'ArrowRight'],
2121 + currentKeydown = event.originalEvent.code,
2122 + isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown),
2123 + directionStart = isRTL ? 'ArrowRight' : 'ArrowLeft',
2124 + directionEnd = isRTL ? 'ArrowLeft' : 'ArrowRight';
2125 + if (!isDirectionInlineKeydown) {
2126 + return true;
2127 + } else if (directionStart === currentKeydown) {
2128 + this.swiper.slidePrev();
2129 + } else if (directionEnd === currentKeydown) {
2130 + this.swiper.slideNext();
2131 + }
2132 + }
2133 + onFocusDisableAutoplay() {
2134 + this.swiper.autoplay.stop();
2135 + }
2136 + updateSwiperOption(propertyName) {
2137 + const elementSettings = this.getElementSettings(),
2138 + newSettingValue = elementSettings[propertyName],
2139 + params = this.swiper.params;
1376 2140
1377 -//#endregion
1378 -//#region node_modules/core-js/internals/get-iterator-direct.js
1379 - var require_get_iterator_direct = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1380 - module.exports = function(obj) {
1381 - return {
1382 - iterator: obj,
1383 - next: obj.next,
1384 - done: false
1385 - };
1386 - };
1387 - }));
2141 + // Handle special cases where the value to update is not the value that the Swiper library accepts.
2142 + switch (propertyName) {
2143 + case 'autoplay_speed':
2144 + params.autoplay.delay = newSettingValue;
2145 + break;
2146 + case 'speed':
2147 + params.speed = newSettingValue;
2148 + break;
2149 + }
2150 + this.swiper.update();
2151 + }
2152 + getChangeableProperties() {
2153 + return {
2154 + pause_on_hover: 'pauseOnHover',
2155 + autoplay_speed: 'delay',
2156 + speed: 'speed',
2157 + arrows_position: 'arrows_position' // Not a Swiper setting.
2158 + };
2159 + }
2160 + onElementChange(propertyName) {
2161 + if (0 === propertyName.indexOf('image_spacing_custom')) {
2162 + this.updateSpaceBetween(propertyName);
2163 + return;
2164 + }
2165 + const changeableProperties = this.getChangeableProperties();
2166 + if (changeableProperties[propertyName]) {
2167 + // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library.
2168 + if ('pause_on_hover' === propertyName) {
2169 + const newSettingValue = this.getElementSettings('pause_on_hover');
2170 + this.togglePauseOnHover('yes' === newSettingValue);
2171 + } else {
2172 + this.updateSwiperOption(propertyName);
2173 + }
2174 + }
2175 + }
2176 + onEditSettingsChange(propertyName) {
2177 + if ('activeItemIndex' === propertyName) {
2178 + this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1);
2179 + }
2180 + }
2181 + getSpaceBetween(device = null) {
2182 + const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device);
2183 + return Number(responsiveControlValue) || 0;
2184 + }
2185 + updateSpaceBetween(propertyName) {
2186 + const deviceMatch = propertyName.match('image_spacing_custom_(.*)'),
2187 + device = deviceMatch ? deviceMatch[1] : 'desktop',
2188 + newSpaceBetween = this.getSpaceBetween(device);
2189 + if ('desktop' !== device) {
2190 + this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween;
2191 + }
2192 + this.swiper.params.spaceBetween = newSpaceBetween;
2193 + this.swiper.update();
2194 + }
2195 + getPaginationBullets(type = 'array') {
2196 + const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet);
2197 + return 'array' === type ? Array.from(paginationBullets) : paginationBullets;
2198 + }
2199 + a11ySetPaginationTabindex() {
2200 + const bulletClass = this.swiper?.params?.pagination.bulletClass,
2201 + activeBulletClass = this.swiper?.params?.pagination.bulletActiveClass;
2202 + this.getPaginationBullets().forEach(bullet => {
2203 + if (!bullet.classList?.contains(activeBulletClass)) {
2204 + bullet.removeAttribute('tabindex');
2205 + }
2206 + });
2207 + const isDirectionInlineArrowKey = 'ArrowLeft' === event?.code || 'ArrowRight' === event?.code;
2208 + if (event?.target?.classList?.contains(bulletClass) && isDirectionInlineArrowKey) {
2209 + this.$element.find(`.${activeBulletClass}`).trigger('focus');
2210 + }
2211 + }
2212 + getSwiperWrapperTranformXValue() {
2213 + let transformValue = this.elements.$swiperWrapper[0]?.style.transform;
2214 + transformValue = transformValue.replace('translate3d(', '');
2215 + transformValue = transformValue.split(',');
2216 + transformValue = parseInt(transformValue[0].replace('px', ''));
2217 + return !!transformValue ? transformValue : 0;
2218 + }
2219 + a11ySetSlideAriaHidden(status = '') {
2220 + const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex;
2221 + if ('number' !== typeof currentIndex) {
2222 + return;
2223 + }
2224 + const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue(),
2225 + swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth,
2226 + $slides = this.elements.$swiperContainer.find(this.getSettings('selectors').slideContent);
2227 + $slides.each((index, slide) => {
2228 + const isSlideInsideWrapper = 0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue;
2229 + if (!isSlideInsideWrapper) {
2230 + slide.setAttribute('aria-hidden', true);
2231 + slide.setAttribute('inert', '');
2232 + } else {
2233 + slide.removeAttribute('aria-hidden');
2234 + slide.removeAttribute('inert');
2235 + }
2236 + });
2237 + }
1388 2238
1389 -//#endregion
1390 -//#region node_modules/core-js/internals/define-built-ins.js
1391 - var require_define_built_ins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1392 - var defineBuiltIn = require_define_built_in();
1393 - module.exports = function(target, src, options) {
1394 - for (var key in src) defineBuiltIn(target, key, src[key], options);
1395 - return target;
1396 - };
1397 - }));
2239 + // Empty method which can be overwritten by child methods.
2240 + handleElementHandlers() {}
2241 +}
2242 +exports["default"] = CarouselHandlerBase;
1398 2243
1399 -//#endregion
1400 -//#region node_modules/core-js/internals/create-iter-result-object.js
1401 - var require_create_iter_result_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1402 - module.exports = function(value, done) {
1403 - return {
1404 - value,
1405 - done
1406 - };
1407 - };
1408 - }));
2244 +/***/ }),
1409 2245
1410 -//#endregion
1411 -//#region node_modules/core-js/internals/iterator-close.js
1412 - var require_iterator_close = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1413 - var call = require_function_call();
1414 - var anObject = require_an_object();
1415 - var getMethod = require_get_method();
1416 - module.exports = function(iterator, kind, value) {
1417 - var innerResult;
1418 - var innerError;
1419 - anObject(iterator);
1420 - try {
1421 - innerResult = getMethod(iterator, "return");
1422 - if (!innerResult) {
1423 - if (kind === "throw") throw value;
1424 - return value;
1425 - }
1426 - innerResult = call(innerResult, iterator);
1427 - } catch (error) {
1428 - innerError = true;
1429 - innerResult = error;
1430 - }
1431 - if (kind === "throw") throw value;
1432 - if (innerError) throw innerResult;
1433 - anObject(innerResult);
1434 - return value;
1435 - };
1436 - }));
2246 +/***/ "../assets/dev/js/frontend/handlers/base-swiper.js":
2247 +/*!*********************************************************!*\
2248 + !*** ../assets/dev/js/frontend/handlers/base-swiper.js ***!
2249 + \*********************************************************/
2250 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1437 2251
1438 -//#endregion
1439 -//#region node_modules/core-js/internals/iterator-close-all.js
1440 - var require_iterator_close_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1441 - var iteratorClose = require_iterator_close();
1442 - module.exports = function(iters, kind, value) {
1443 - for (var i = iters.length - 1; i >= 0; i--) {
1444 - if (iters[i] === void 0) continue;
1445 - try {
1446 - value = iteratorClose(iters[i].iterator, kind, value);
1447 - } catch (error) {
1448 - kind = "throw";
1449 - value = error;
1450 - }
1451 - }
1452 - if (kind === "throw") throw value;
1453 - return value;
1454 - };
1455 - }));
2252 +"use strict";
1456 2253
1457 -//#endregion
1458 -//#region node_modules/core-js/internals/iterator-create-proxy.js
1459 - var require_iterator_create_proxy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1460 - var call = require_function_call();
1461 - var create = require_object_create();
1462 - var createNonEnumerableProperty = require_create_non_enumerable_property();
1463 - var defineBuiltIns = require_define_built_ins();
1464 - var wellKnownSymbol = require_well_known_symbol();
1465 - var InternalStateModule = require_internal_state();
1466 - var getMethod = require_get_method();
1467 - var IteratorPrototype = require_iterators_core().IteratorPrototype;
1468 - var createIterResultObject = require_create_iter_result_object();
1469 - var iteratorClose = require_iterator_close();
1470 - var iteratorCloseAll = require_iterator_close_all();
1471 - var TO_STRING_TAG = wellKnownSymbol("toStringTag");
1472 - var ITERATOR_HELPER = "IteratorHelper";
1473 - var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator";
1474 - var NORMAL = "normal";
1475 - var THROW = "throw";
1476 - var setInternalState = InternalStateModule.set;
1477 - var createIteratorProxyPrototype = function(IS_ITERATOR) {
1478 - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
1479 - return defineBuiltIns(create(IteratorPrototype), {
1480 - next: function next() {
1481 - var state = getInternalState(this);
1482 - if (IS_ITERATOR) return state.nextHandler();
1483 - if (state.done) return createIterResultObject(void 0, true);
1484 - try {
1485 - var result = state.nextHandler();
1486 - return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
1487 - } catch (error) {
1488 - state.done = true;
1489 - throw error;
1490 - }
1491 - },
1492 - "return": function() {
1493 - var state = getInternalState(this);
1494 - var iterator = state.iterator;
1495 - state.done = true;
1496 - if (IS_ITERATOR) {
1497 - var returnMethod = getMethod(iterator, "return");
1498 - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true);
1499 - }
1500 - if (state.inner) try {
1501 - iteratorClose(state.inner.iterator, NORMAL);
1502 - } catch (error) {
1503 - return iteratorClose(iterator, THROW, error);
1504 - }
1505 - if (state.openIters) try {
1506 - iteratorCloseAll(state.openIters, NORMAL);
1507 - } catch (error) {
1508 - return iteratorClose(iterator, THROW, error);
1509 - }
1510 - if (iterator) iteratorClose(iterator, NORMAL);
1511 - return createIterResultObject(void 0, true);
1512 - }
1513 - });
1514 - };
1515 - var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
1516 - var IteratorHelperPrototype = createIteratorProxyPrototype(false);
1517 - createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper");
1518 - module.exports = function(nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
1519 - var IteratorProxy = function Iterator(record, state) {
1520 - if (state) {
1521 - state.iterator = record.iterator;
1522 - state.next = record.next;
1523 - } else state = record;
1524 - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
1525 - state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
1526 - state.nextHandler = nextHandler;
1527 - state.counter = 0;
1528 - state.done = false;
1529 - setInternalState(this, state);
1530 - };
1531 - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
1532 - return IteratorProxy;
1533 - };
1534 - }));
1535 2254
1536 -//#endregion
1537 -//#region node_modules/core-js/internals/call-with-safe-iteration-closing.js
1538 - var require_call_with_safe_iteration_closing = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1539 - var anObject = require_an_object();
1540 - var iteratorClose = require_iterator_close();
1541 - module.exports = function(iterator, fn, value, ENTRIES) {
1542 - try {
1543 - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
1544 - } catch (error) {
1545 - iteratorClose(iterator, "throw", error);
1546 - }
1547 - };
1548 - }));
2255 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2256 +Object.defineProperty(exports, "__esModule", ({
2257 + value: true
2258 +}));
2259 +exports["default"] = void 0;
2260 +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js"));
2261 +class SwiperHandlerBase extends _base.default {
2262 + getInitialSlide() {
2263 + const editSettings = this.getEditSettings();
2264 + return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0;
2265 + }
2266 + getSlidesCount() {
2267 + return this.elements.$slides.length;
2268 + }
1549 2269
1550 -//#endregion
1551 -//#region node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js
1552 - var require_iterator_helper_throws_on_invalid_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1553 - module.exports = function(methodName, argument) {
1554 - var method = typeof Iterator == "function" && Iterator.prototype[methodName];
1555 - if (method) try {
1556 - method.call({ next: null }, argument).next();
1557 - } catch (error) {
1558 - return true;
1559 - }
1560 - };
1561 - }));
2270 + // This method live-handles the 'Pause On Hover' control's value being changed in the Editor Panel
2271 + togglePauseOnHover(toggleOn) {
2272 + if (toggleOn) {
2273 + this.elements.$swiperContainer.on({
2274 + mouseenter: () => {
2275 + this.swiper.autoplay.stop();
2276 + },
2277 + mouseleave: () => {
2278 + this.swiper.autoplay.start();
2279 + }
2280 + });
2281 + } else {
2282 + this.elements.$swiperContainer.off('mouseenter mouseleave');
2283 + }
2284 + }
2285 + handleKenBurns() {
2286 + const settings = this.getSettings();
2287 + if (this.$activeImageBg) {
2288 + this.$activeImageBg.removeClass(settings.classes.kenBurnsActive);
2289 + }
2290 + this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide();
2291 + if (this.swiper) {
2292 + this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children('.' + settings.classes.slideBackground);
2293 + } else {
2294 + this.$activeImageBg = jQuery(this.elements.$slides[0]).children('.' + settings.classes.slideBackground);
2295 + }
2296 + this.$activeImageBg.addClass(settings.classes.kenBurnsActive);
2297 + }
2298 +}
2299 +exports["default"] = SwiperHandlerBase;
1562 2300
1563 -//#endregion
1564 -//#region node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js
1565 - var require_iterator_helper_without_closing_on_early_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1566 - var globalThis = require_global_this();
1567 - module.exports = function(METHOD_NAME, ExpectedError) {
1568 - var Iterator = globalThis.Iterator;
1569 - var IteratorPrototype = Iterator && Iterator.prototype;
1570 - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1571 - var CLOSED = false;
1572 - if (method) try {
1573 - method.call({
1574 - next: function() {
1575 - return { done: true };
1576 - },
1577 - "return": function() {
1578 - CLOSED = true;
1579 - }
1580 - }, -1);
1581 - } catch (error) {
1582 - if (!(error instanceof ExpectedError)) CLOSED = false;
1583 - }
1584 - if (!CLOSED) return method;
1585 - };
1586 - }));
2301 +/***/ }),
1587 2302
1588 -//#endregion
1589 -//#region node_modules/core-js/modules/es.iterator.filter.js
1590 - var require_es_iterator_filter = /* @__PURE__ */ __commonJSMin((() => {
1591 - var $ = require_export();
1592 - var call = require_function_call();
1593 - var aCallable = require_a_callable();
1594 - var anObject = require_an_object();
1595 - var getIteratorDirect = require_get_iterator_direct();
1596 - var createIteratorProxy = require_iterator_create_proxy();
1597 - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing();
1598 - var IS_PURE = require_is_pure();
1599 - var iteratorClose = require_iterator_close();
1600 - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator();
1601 - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error();
1602 - var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("filter", function() {});
1603 - var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("filter", TypeError);
1604 - var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
1605 - var IteratorProxy = createIteratorProxy(function() {
1606 - var iterator = this.iterator;
1607 - var predicate = this.predicate;
1608 - var next = this.next;
1609 - var result;
1610 - var done;
1611 - var value;
1612 - while (true) {
1613 - result = anObject(call(next, iterator));
1614 - done = this.done = !!result.done;
1615 - if (done) return;
1616 - value = result.value;
1617 - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
1618 - }
1619 - });
1620 - $({
1621 - target: "Iterator",
1622 - proto: true,
1623 - real: true,
1624 - forced: FORCED
1625 - }, { filter: function filter(predicate) {
1626 - anObject(this);
1627 - try {
1628 - aCallable(predicate);
1629 - } catch (error) {
1630 - iteratorClose(this, "throw", error);
1631 - }
1632 - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
1633 - return new IteratorProxy(getIteratorDirect(this), { predicate });
1634 - } });
1635 - }));
2303 +/***/ "../assets/dev/js/frontend/handlers/base.js":
2304 +/*!**************************************************!*\
2305 + !*** ../assets/dev/js/frontend/handlers/base.js ***!
2306 + \**************************************************/
2307 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1636 2308
1637 -//#endregion
1638 -//#region node_modules/core-js/modules/esnext.iterator.filter.js
1639 - var require_esnext_iterator_filter = /* @__PURE__ */ __commonJSMin((() => {
1640 - require_es_iterator_filter();
1641 - }));
2309 +"use strict";
1642 2310
1643 -//#endregion
1644 -//#region node_modules/core-js/internals/function-uncurry-this-clause.js
1645 - var require_function_uncurry_this_clause = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1646 - var classofRaw = require_classof_raw();
1647 - var uncurryThis = require_function_uncurry_this();
1648 - module.exports = function(fn) {
1649 - if (classofRaw(fn) === "Function") return uncurryThis(fn);
1650 - };
1651 - }));
1652 2311
1653 -//#endregion
1654 -//#region node_modules/core-js/internals/function-bind-context.js
1655 - var require_function_bind_context = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1656 - var uncurryThis = require_function_uncurry_this_clause();
1657 - var aCallable = require_a_callable();
1658 - var NATIVE_BIND = require_function_bind_native();
1659 - var bind = uncurryThis(uncurryThis.bind);
1660 - module.exports = function(fn, that) {
1661 - aCallable(fn);
1662 - return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() {
1663 - return fn.apply(that, arguments);
1664 - };
1665 - };
1666 - }));
2312 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
2313 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
2314 +__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
2315 +__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
2316 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
2317 +module.exports = elementorModules.ViewModule.extend({
2318 + $element: null,
2319 + editorListeners: null,
2320 + onElementChange: null,
2321 + onEditSettingsChange: null,
2322 + onPageSettingsChange: null,
2323 + isEdit: null,
2324 + __construct(settings) {
2325 + if (!this.isActive(settings)) {
2326 + return;
2327 + }
2328 + this.$element = settings.$element;
2329 + this.isEdit = this.$element.hasClass('elementor-element-edit-mode');
2330 + if (this.isEdit) {
2331 + this.addEditorListeners();
2332 + }
2333 + },
2334 + isActive() {
2335 + return true;
2336 + },
2337 + isElementInTheCurrentDocument() {
2338 + if (!elementorFrontend.isEditMode()) {
2339 + return false;
2340 + }
2341 + return elementor.documents.currentDocument.id.toString() === this.$element[0].closest('.elementor').dataset.elementorId;
2342 + },
2343 + findElement(selector) {
2344 + var $mainElement = this.$element;
2345 + return $mainElement.find(selector).filter(function () {
2346 + // Start `closest` from parent since self can be `.elementor-element`.
2347 + return jQuery(this).parent().closest('.elementor-element').is($mainElement);
2348 + });
2349 + },
2350 + getUniqueHandlerID(cid, $element) {
2351 + if (!cid) {
2352 + cid = this.getModelCID();
2353 + }
2354 + if (!$element) {
2355 + $element = this.$element;
2356 + }
2357 + return cid + $element.attr('data-element_type') + this.getConstructorID();
2358 + },
2359 + initEditorListeners() {
2360 + var self = this;
2361 + self.editorListeners = [{
2362 + event: 'element:destroy',
2363 + to: elementor.channels.data,
2364 + callback(removedModel) {
2365 + if (removedModel.cid !== self.getModelCID()) {
2366 + return;
2367 + }
2368 + self.onDestroy();
2369 + }
2370 + }];
2371 + if (self.onElementChange) {
2372 + const elementType = self.getWidgetType() || self.getElementType();
2373 + let eventName = 'change';
2374 + if ('global' !== elementType) {
2375 + eventName += ':' + elementType;
2376 + }
2377 + self.editorListeners.push({
2378 + event: eventName,
2379 + to: elementor.channels.editor,
2380 + callback(controlView, elementView) {
2381 + var elementViewHandlerID = self.getUniqueHandlerID(elementView.model.cid, elementView.$el);
2382 + if (elementViewHandlerID !== self.getUniqueHandlerID()) {
2383 + return;
2384 + }
2385 + self.onElementChange(controlView.model.get('name'), controlView, elementView);
2386 + }
2387 + });
2388 + }
2389 + if (self.onEditSettingsChange) {
2390 + self.editorListeners.push({
2391 + event: 'change:editSettings',
2392 + to: elementor.channels.editor,
2393 + callback(changedModel, view) {
2394 + if (view.model.cid !== self.getModelCID()) {
2395 + return;
2396 + }
2397 + const propName = Object.keys(changedModel.changed)[0];
2398 + self.onEditSettingsChange(propName, changedModel.changed[propName]);
2399 + }
2400 + });
2401 + }
2402 + ['page'].forEach(function (settingsType) {
2403 + var listenerMethodName = 'on' + settingsType[0].toUpperCase() + settingsType.slice(1) + 'SettingsChange';
2404 + if (self[listenerMethodName]) {
2405 + self.editorListeners.push({
2406 + event: 'change',
2407 + to: elementor.settings[settingsType].model,
2408 + callback(model) {
2409 + self[listenerMethodName](model.changed);
2410 + }
2411 + });
2412 + }
2413 + });
2414 + },
2415 + getEditorListeners() {
2416 + if (!this.editorListeners) {
2417 + this.initEditorListeners();
2418 + }
2419 + return this.editorListeners;
2420 + },
2421 + addEditorListeners() {
2422 + var uniqueHandlerID = this.getUniqueHandlerID();
2423 + this.getEditorListeners().forEach(function (listener) {
2424 + elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to);
2425 + });
2426 + },
2427 + removeEditorListeners() {
2428 + var uniqueHandlerID = this.getUniqueHandlerID();
2429 + this.getEditorListeners().forEach(function (listener) {
2430 + elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to);
2431 + });
2432 + },
2433 + getElementType() {
2434 + return this.$element.data('element_type');
2435 + },
2436 + getWidgetType() {
2437 + const widgetType = this.$element.data('widget_type');
2438 + if (!widgetType) {
2439 + return;
2440 + }
2441 + return widgetType.split('.')[0];
2442 + },
2443 + getID() {
2444 + return this.$element.data('id');
2445 + },
2446 + getModelCID() {
2447 + return this.$element.data('model-cid');
2448 + },
2449 + getElementSettings(setting) {
2450 + let elementSettings = {};
2451 + const modelCID = this.getModelCID();
2452 + if (this.isEdit && modelCID) {
2453 + const settings = elementorFrontend.config.elements.data[modelCID],
2454 + attributes = settings.attributes;
2455 + let type = attributes.widgetType || attributes.elType;
2456 + if (attributes.isInner) {
2457 + type = 'inner-' + type;
2458 + }
2459 + let settingsKeys = elementorFrontend.config.elements.keys[type];
2460 + if (!settingsKeys) {
2461 + settingsKeys = elementorFrontend.config.elements.keys[type] = [];
2462 + jQuery.each(settings.controls, (name, control) => {
2463 + if (control.frontend_available || control.editor_available) {
2464 + settingsKeys.push(name);
2465 + }
2466 + });
2467 + }
2468 + jQuery.each(settings.getActiveControls(), function (controlKey) {
2469 + if (-1 !== settingsKeys.indexOf(controlKey)) {
2470 + let value = attributes[controlKey];
2471 + if (value.toJSON) {
2472 + value = value.toJSON();
2473 + }
2474 + elementSettings[controlKey] = value;
2475 + }
2476 + });
2477 + } else {
2478 + elementSettings = this.$element.data('settings') || {};
2479 + }
2480 + return this.getItems(elementSettings, setting);
2481 + },
2482 + getEditSettings(setting) {
2483 + var attributes = {};
2484 + if (this.isEdit) {
2485 + attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes;
2486 + }
2487 + return this.getItems(attributes, setting);
2488 + },
2489 + getCurrentDeviceSetting(settingKey) {
2490 + return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey);
2491 + },
2492 + onInit() {
2493 + if (this.isActive(this.getSettings())) {
2494 + elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
2495 + }
2496 + },
2497 + onDestroy() {
2498 + if (this.isEdit) {
2499 + this.removeEditorListeners();
2500 + }
2501 + if (this.unbindEvents) {
2502 + this.unbindEvents();
2503 + }
2504 + }
2505 +});
1667 2506
1668 -//#endregion
1669 -//#region node_modules/core-js/internals/iterators.js
1670 - var require_iterators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1671 - module.exports = {};
1672 - }));
2507 +/***/ }),
1673 2508
1674 -//#endregion
1675 -//#region node_modules/core-js/internals/is-array-iterator-method.js
1676 - var require_is_array_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1677 - var wellKnownSymbol = require_well_known_symbol();
1678 - var Iterators = require_iterators();
1679 - var ITERATOR = wellKnownSymbol("iterator");
1680 - var ArrayPrototype = Array.prototype;
1681 - module.exports = function(it) {
1682 - return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
1683 - };
1684 - }));
2509 +/***/ "../assets/dev/js/frontend/handlers/stretched-element.js":
2510 +/*!***************************************************************!*\
2511 + !*** ../assets/dev/js/frontend/handlers/stretched-element.js ***!
2512 + \***************************************************************/
2513 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1685 2514
1686 -//#endregion
1687 -//#region node_modules/core-js/internals/to-string-tag-support.js
1688 - var require_to_string_tag_support = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1689 - var TO_STRING_TAG = require_well_known_symbol()("toStringTag");
1690 - var test = {};
1691 - test[TO_STRING_TAG] = "z";
1692 - module.exports = String(test) === "[object z]";
1693 - }));
2515 +"use strict";
1694 2516
1695 -//#endregion
1696 -//#region node_modules/core-js/internals/classof.js
1697 - var require_classof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1698 - var TO_STRING_TAG_SUPPORT = require_to_string_tag_support();
1699 - var isCallable = require_is_callable();
1700 - var classofRaw = require_classof_raw();
1701 - var TO_STRING_TAG = require_well_known_symbol()("toStringTag");
1702 - var $Object = Object;
1703 - var CORRECT_ARGUMENTS = classofRaw(function() {
1704 - return arguments;
1705 - }()) === "Arguments";
1706 - var tryGet = function(it, key) {
1707 - try {
1708 - return it[key];
1709 - } catch (error) {}
1710 - };
1711 - module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
1712 - var O;
1713 - var tag;
1714 - var result;
1715 - return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable(O.callee) ? "Arguments" : result;
1716 - };
1717 - }));
1718 2517
1719 -//#endregion
1720 -//#region node_modules/core-js/internals/get-iterator-method.js
1721 - var require_get_iterator_method = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1722 - var classof = require_classof();
1723 - var getMethod = require_get_method();
1724 - var isNullOrUndefined = require_is_null_or_undefined();
1725 - var Iterators = require_iterators();
1726 - var ITERATOR = require_well_known_symbol()("iterator");
1727 - module.exports = function(it) {
1728 - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)];
1729 - };
1730 - }));
2518 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2519 +Object.defineProperty(exports, "__esModule", ({
2520 + value: true
2521 +}));
2522 +exports["default"] = void 0;
2523 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
2524 +__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
2525 +var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../assets/dev/js/frontend/handlers/base.js"));
2526 +class StretchedElement extends _base.default {
2527 + getStretchedClass() {
2528 + return 'e-stretched';
2529 + }
2530 + getStretchSettingName() {
2531 + return 'stretch_element';
2532 + }
2533 + getStretchActiveValue() {
2534 + return 'yes';
2535 + }
2536 + bindEvents() {
2537 + const handlerID = this.getUniqueHandlerID();
2538 + elementorFrontend.addListenerOnce(handlerID, 'resize', this.stretch);
2539 + elementorFrontend.addListenerOnce(handlerID, 'sticky:stick', this.stretch, this.$element);
2540 + elementorFrontend.addListenerOnce(handlerID, 'sticky:unstick', this.stretch, this.$element);
2541 + if (elementorFrontend.isEditMode()) {
2542 + this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
2543 + elementor.channels.editor.on('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
2544 + }
2545 + }
2546 + unbindEvents() {
2547 + elementorFrontend.removeListeners(this.getUniqueHandlerID(), 'resize', this.stretch);
2548 + if (elementorFrontend.isEditMode()) {
2549 + elementor.channels.editor.off('kit:change:stretchContainer', this.onKitChangeStretchContainerChange);
2550 + }
2551 + }
2552 + isActive(settings) {
2553 + return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass());
2554 + }
2555 + getStretchElementForConfig(childSelector = null) {
2556 + if (childSelector) {
2557 + return this.$element.find(childSelector);
2558 + }
2559 + return this.$element;
2560 + }
2561 + getStretchElementConfig() {
2562 + return {
2563 + element: this.getStretchElementForConfig(),
2564 + selectors: {
2565 + container: this.getStretchContainer()
2566 + },
2567 + considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl
2568 + };
2569 + }
2570 + initStretch() {
2571 + this.stretch = this.stretch.bind(this);
2572 + this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig());
2573 + }
2574 + getStretchContainer() {
2575 + return elementorFrontend.getKitSettings('stretched_section_container') || window;
2576 + }
2577 + isStretchSettingEnabled() {
2578 + return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue();
2579 + }
2580 + stretch() {
2581 + if (!this.isStretchSettingEnabled()) {
2582 + return;
2583 + }
2584 + this.stretchElement.stretch();
2585 + }
2586 + onInit(...args) {
2587 + if (!this.isActive(this.getSettings())) {
2588 + return;
2589 + }
2590 + this.initStretch();
2591 + super.onInit(...args);
2592 + this.stretch();
2593 + }
2594 + onElementChange(propertyName) {
2595 + const stretchSettingName = this.getStretchSettingName();
2596 + if (stretchSettingName === propertyName) {
2597 + if (this.isStretchSettingEnabled()) {
2598 + this.stretch();
2599 + } else {
2600 + this.stretchElement.reset();
2601 + }
2602 + }
2603 + }
2604 + onKitChangeStretchContainerChange() {
2605 + this.stretchElement.setSettings('selectors.container', this.getStretchContainer());
2606 + this.stretch();
2607 + }
2608 +}
2609 +exports["default"] = StretchedElement;
1731 2610
1732 -//#endregion
1733 -//#region node_modules/core-js/internals/get-iterator.js
1734 - var require_get_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1735 - var call = require_function_call();
1736 - var aCallable = require_a_callable();
1737 - var anObject = require_an_object();
1738 - var tryToString = require_try_to_string();
1739 - var getIteratorMethod = require_get_iterator_method();
1740 - var $TypeError = TypeError;
1741 - module.exports = function(argument, usingIterator) {
1742 - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
1743 - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
1744 - throw new $TypeError(tryToString(argument) + " is not iterable");
1745 - };
1746 - }));
2611 +/***/ }),
1747 2612
1748 -//#endregion
1749 -//#region node_modules/core-js/internals/iterate.js
1750 - var require_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1751 - var bind = require_function_bind_context();
1752 - var call = require_function_call();
1753 - var anObject = require_an_object();
1754 - var tryToString = require_try_to_string();
1755 - var isArrayIteratorMethod = require_is_array_iterator_method();
1756 - var lengthOfArrayLike = require_length_of_array_like();
1757 - var isPrototypeOf = require_object_is_prototype_of();
1758 - var getIterator = require_get_iterator();
1759 - var getIteratorMethod = require_get_iterator_method();
1760 - var iteratorClose = require_iterator_close();
1761 - var $TypeError = TypeError;
1762 - var Result = function(stopped, result) {
1763 - this.stopped = stopped;
1764 - this.result = result;
1765 - };
1766 - var ResultPrototype = Result.prototype;
1767 - module.exports = function(iterable, unboundFunction, options) {
1768 - var that = options && options.that;
1769 - var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1770 - var IS_RECORD = !!(options && options.IS_RECORD);
1771 - var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1772 - var INTERRUPTED = !!(options && options.INTERRUPTED);
1773 - var fn = bind(unboundFunction, that);
1774 - var iterator;
1775 - var iterFn;
1776 - var index;
1777 - var length;
1778 - var result;
1779 - var next;
1780 - var step;
1781 - var stop = function(condition) {
1782 - if (iterator) iteratorClose(iterator, "normal");
1783 - return new Result(true, condition);
1784 - };
1785 - var callFn = function(value) {
1786 - if (AS_ENTRIES) {
1787 - anObject(value);
1788 - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1789 - }
1790 - return INTERRUPTED ? fn(value, stop) : fn(value);
1791 - };
1792 - if (IS_RECORD) iterator = iterable.iterator;
1793 - else if (IS_ITERATOR) iterator = iterable;
1794 - else {
1795 - iterFn = getIteratorMethod(iterable);
1796 - if (!iterFn) throw new $TypeError(tryToString(iterable) + " is not iterable");
1797 - if (isArrayIteratorMethod(iterFn)) {
1798 - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
1799 - result = callFn(iterable[index]);
1800 - if (result && isPrototypeOf(ResultPrototype, result)) return result;
1801 - }
1802 - return new Result(false);
1803 - }
1804 - iterator = getIterator(iterable, iterFn);
1805 - }
1806 - next = IS_RECORD ? iterable.next : iterator.next;
1807 - while (!(step = call(next, iterator)).done) {
1808 - try {
1809 - result = callFn(step.value);
1810 - } catch (error) {
1811 - iteratorClose(iterator, "throw", error);
1812 - }
1813 - if (typeof result == "object" && result && isPrototypeOf(ResultPrototype, result)) return result;
1814 - }
1815 - return new Result(false);
1816 - };
1817 - }));
2613 +/***/ "../assets/dev/js/frontend/modules.js":
2614 +/*!********************************************!*\
2615 + !*** ../assets/dev/js/frontend/modules.js ***!
2616 + \********************************************/
2617 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
1818 2618
1819 -//#endregion
1820 -//#region node_modules/core-js/modules/es.iterator.for-each.js
1821 - var require_es_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => {
1822 - var $ = require_export();
1823 - var call = require_function_call();
1824 - var iterate = require_iterate();
1825 - var aCallable = require_a_callable();
1826 - var anObject = require_an_object();
1827 - var getIteratorDirect = require_get_iterator_direct();
1828 - var iteratorClose = require_iterator_close();
1829 - var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError);
1830 - $({
1831 - target: "Iterator",
1832 - proto: true,
1833 - real: true,
1834 - forced: forEachWithoutClosingOnEarlyError
1835 - }, { forEach: function forEach(fn) {
1836 - anObject(this);
1837 - try {
1838 - aCallable(fn);
1839 - } catch (error) {
1840 - iteratorClose(this, "throw", error);
1841 - }
1842 - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
1843 - var record = getIteratorDirect(this);
1844 - var counter = 0;
1845 - iterate(record, function(value) {
1846 - fn(value, counter++);
1847 - }, { IS_RECORD: true });
1848 - } });
1849 - }));
2619 +"use strict";
1850 2620
1851 -//#endregion
1852 -//#region node_modules/core-js/modules/esnext.iterator.for-each.js
1853 - var require_esnext_iterator_for_each = /* @__PURE__ */ __commonJSMin((() => {
1854 - require_es_iterator_for_each();
1855 - }));
1856 2621
1857 -//#endregion
1858 -//#region assets/dev/js/modules/imports/module.js
1859 - var require_module = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1860 - require_es_array_push();
1861 - require_esnext_iterator_constructor();
1862 - require_esnext_iterator_filter();
1863 - require_esnext_iterator_for_each();
1864 - var Module = function() {
1865 - const $ = jQuery;
1866 - const instanceParams = arguments;
1867 - const self = this;
1868 - const events = {};
1869 - let settings;
1870 - const ensureClosureMethods = function() {
1871 - $.each(self, function(methodName) {
1872 - const oldMethod = self[methodName];
1873 - if ("function" !== typeof oldMethod) return;
1874 - self[methodName] = function() {
1875 - return oldMethod.apply(self, arguments);
1876 - };
1877 - });
1878 - };
1879 - const initSettings = function() {
1880 - settings = self.getDefaultSettings();
1881 - const instanceSettings = instanceParams[0];
1882 - if (instanceSettings) $.extend(true, settings, instanceSettings);
1883 - };
1884 - const init = function() {
1885 - self.__construct.apply(self, instanceParams);
1886 - ensureClosureMethods();
1887 - initSettings();
1888 - self.trigger("init");
1889 - };
1890 - this.getItems = function(items, itemKey) {
1891 - if (itemKey) {
1892 - const keyStack = itemKey.split(".");
1893 - const currentKey = keyStack.splice(0, 1);
1894 - if (!keyStack.length) return items[currentKey];
1895 - if (!items[currentKey]) return;
1896 - return this.getItems(items[currentKey], keyStack.join("."));
1897 - }
1898 - return items;
1899 - };
1900 - this.getSettings = function(setting) {
1901 - return this.getItems(settings, setting);
1902 - };
1903 - this.setSettings = function(settingKey, value, settingsContainer) {
1904 - if (!settingsContainer) settingsContainer = settings;
1905 - if ("object" === typeof settingKey) {
1906 - $.extend(settingsContainer, settingKey);
1907 - return self;
1908 - }
1909 - const keyStack = settingKey.split(".");
1910 - const currentKey = keyStack.splice(0, 1);
1911 - if (!keyStack.length) {
1912 - settingsContainer[currentKey] = value;
1913 - return self;
1914 - }
1915 - if (!settingsContainer[currentKey]) settingsContainer[currentKey] = {};
1916 - return self.setSettings(keyStack.join("."), value, settingsContainer[currentKey]);
1917 - };
1918 - this.getErrorMessage = function(type, functionName) {
1919 - let message;
1920 - switch (type) {
1921 - case "forceMethodImplementation":
1922 - message = `The method '${functionName}' must to be implemented in the inheritor child.`;
1923 - break;
1924 - default: message = "An error occurs";
1925 - }
1926 - return message;
1927 - };
1928 - this.forceMethodImplementation = function(functionName) {
1929 - throw new Error(this.getErrorMessage("forceMethodImplementation", functionName));
1930 - };
1931 - this.on = function(eventName, callback) {
1932 - if ("object" === typeof eventName) {
1933 - $.each(eventName, function(singleEventName) {
1934 - self.on(singleEventName, this);
1935 - });
1936 - return self;
1937 - }
1938 - eventName.split(" ").forEach(function(singleEventName) {
1939 - if (!events[singleEventName]) events[singleEventName] = [];
1940 - events[singleEventName].push(callback);
1941 - });
1942 - return self;
1943 - };
1944 - this.off = function(eventName, callback) {
1945 - if (!events[eventName]) return self;
1946 - if (!callback) {
1947 - delete events[eventName];
1948 - return self;
1949 - }
1950 - const callbackIndex = events[eventName].indexOf(callback);
1951 - if (-1 !== callbackIndex) {
1952 - delete events[eventName][callbackIndex];
1953 - events[eventName] = events[eventName].filter((val) => val);
1954 - }
1955 - return self;
1956 - };
1957 - this.trigger = function(eventName) {
1958 - const methodName = "on" + eventName[0].toUpperCase() + eventName.slice(1);
1959 - const params = Array.prototype.slice.call(arguments, 1);
1960 - if (self[methodName]) self[methodName].apply(self, params);
1961 - const callbacks = events[eventName];
1962 - if (!callbacks) return self;
1963 - $.each(callbacks, function(index, callback) {
1964 - callback.apply(self, params);
1965 - });
1966 - return self;
1967 - };
1968 - init();
1969 - };
1970 - Module.prototype.__construct = function() {};
1971 - Module.prototype.getDefaultSettings = function() {
1972 - return {};
1973 - };
1974 - Module.prototype.getConstructorID = function() {
1975 - return this.constructor.name;
1976 - };
1977 - Module.extend = function(properties) {
1978 - const $ = jQuery;
1979 - const parent = this;
1980 - const child = function() {
1981 - return parent.apply(this, arguments);
1982 - };
1983 - $.extend(child, parent);
1984 - child.prototype = Object.create($.extend({}, parent.prototype, properties));
1985 - child.prototype.constructor = child;
1986 - child.__super__ = parent.prototype;
1987 - return child;
1988 - };
1989 - module.exports = Module;
1990 - }));
2622 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2623 +var _modules = _interopRequireDefault(__webpack_require__(/*! ../modules/modules */ "../assets/dev/js/modules/modules.js"));
2624 +var _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js"));
2625 +var _stretchElement = _interopRequireDefault(__webpack_require__(/*! ./tools/stretch-element */ "../assets/dev/js/frontend/tools/stretch-element.js"));
2626 +var _stretchedElement = _interopRequireDefault(__webpack_require__(/*! ./handlers/stretched-element */ "../assets/dev/js/frontend/handlers/stretched-element.js"));
2627 +var _base = _interopRequireDefault(__webpack_require__(/*! ./handlers/base */ "../assets/dev/js/frontend/handlers/base.js"));
2628 +var _baseSwiper = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-swiper */ "../assets/dev/js/frontend/handlers/base-swiper.js"));
2629 +var _baseCarousel = _interopRequireDefault(__webpack_require__(/*! ./handlers/base-carousel */ "../assets/dev/js/frontend/handlers/base-carousel.js"));
2630 +_modules.default.frontend = {
2631 + Document: _document.default,
2632 + tools: {
2633 + StretchElement: _stretchElement.default
2634 + },
2635 + handlers: {
2636 + Base: _base.default,
2637 + StretchedElement: _stretchedElement.default,
2638 + SwiperBase: _baseSwiper.default,
2639 + CarouselBase: _baseCarousel.default
2640 + }
2641 +};
1991 2642
1992 -//#endregion
1993 -//#region assets/dev/js/modules/imports/view-module.js
1994 - var require_view_module = /* @__PURE__ */ __commonJSMin(((exports) => {
1995 - var _interopRequireDefault = require_interopRequireDefault();
1996 - Object.defineProperty(exports, "__esModule", { value: true });
1997 - exports.default = void 0;
1998 - var _module = _interopRequireDefault(require_module());
1999 - exports.default = _module.default.extend({
2000 - elements: null,
2001 - getDefaultElements() {
2002 - return {};
2003 - },
2004 - bindEvents() {},
2005 - onInit() {
2006 - this.initElements();
2007 - this.bindEvents();
2008 - },
2009 - initElements() {
2010 - this.elements = this.getDefaultElements();
2011 - }
2012 - });
2013 - }));
2643 +/***/ }),
2014 2644
2015 -//#endregion
2016 -//#region assets/dev/js/modules/imports/instance-type.js
2017 - var require_instance_type = /* @__PURE__ */ __commonJSMin(((exports) => {
2018 - Object.defineProperty(exports, "__esModule", { value: true });
2019 - exports.default = void 0;
2020 - require_es_array_push();
2021 - require_esnext_iterator_constructor();
2022 - require_esnext_iterator_for_each();
2023 - var InstanceType = class InstanceType {
2024 - static [Symbol.hasInstance](target) {
2025 - /**
2026 - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
2027 - * its give's opportunity to mange capabilities of instanceOf operator.
2028 - * saving current class each time will give option later to handle instanceOf manually.
2029 - */
2030 - let result = super[Symbol.hasInstance](target);
2031 - if (target && !target.constructor.getInstanceType) return result;
2032 - if (target) {
2033 - if (!target.instanceTypes) target.instanceTypes = [];
2034 - if (!result) {
2035 - if (this.getInstanceType() === target.constructor.getInstanceType()) result = true;
2036 - }
2037 - if (result) {
2038 - const name = this.getInstanceType === InstanceType.getInstanceType ? "BaseInstanceType" : this.getInstanceType();
2039 - if (-1 === target.instanceTypes.indexOf(name)) target.instanceTypes.push(name);
2040 - }
2041 - }
2042 - if (!result && target) result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType());
2043 - return result;
2044 - }
2045 - static getInstanceType() {
2046 - elementorModules.ForceMethodImplementation();
2047 - }
2048 - constructor() {
2049 - let target = new.target;
2050 - const prototypes = [];
2051 - while (target.__proto__ && target.__proto__.name) {
2052 - prototypes.push(target.__proto__);
2053 - target = target.__proto__;
2054 - }
2055 - prototypes.reverse().forEach((proto) => this instanceof proto);
2056 - }
2057 - };
2058 - exports.default = InstanceType;
2059 - }));
2645 +/***/ "../assets/dev/js/frontend/tools/stretch-element.js":
2646 +/*!**********************************************************!*\
2647 + !*** ../assets/dev/js/frontend/tools/stretch-element.js ***!
2648 + \**********************************************************/
2649 +/***/ ((module) => {
2060 2650
2061 -//#endregion
2062 -//#region assets/dev/js/editor/utils/is-instanceof.js
2063 - var require_is_instanceof = /* @__PURE__ */ __commonJSMin(((exports) => {
2064 - Object.defineProperty(exports, "__esModule", { value: true });
2065 - exports.default = void 0;
2066 - /**
2067 - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved
2068 - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can
2069 - * check whether it's instanceof by using the objects constructor and prototype names.
2070 - *
2071 - * @param object
2072 - * @param constructors
2073 - * @return {boolean}
2074 - */
2075 - var _default = (object, constructors) => {
2076 - constructors = Array.isArray(constructors) ? constructors : [constructors];
2077 - for (const constructor of constructors) if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) return true;
2078 - return false;
2079 - };
2080 - exports.default = _default;
2081 - }));
2651 +"use strict";
2082 2652
2083 -//#endregion
2084 -//#region assets/dev/js/modules/imports/args-object.js
2085 - var require_args_object = /* @__PURE__ */ __commonJSMin(((exports) => {
2086 - var _interopRequireDefault = require_interopRequireDefault();
2087 - Object.defineProperty(exports, "__esModule", { value: true });
2088 - exports.default = void 0;
2089 - var _instanceType = _interopRequireDefault(require_instance_type());
2090 - var _isInstanceof = _interopRequireDefault(require_is_instanceof());
2091 - var ArgsObject = class extends _instanceType.default {
2092 - static getInstanceType() {
2093 - return "ArgsObject";
2094 - }
2095 - /**
2096 - * Function constructor().
2097 - *
2098 - * Create ArgsObject.
2099 - *
2100 - * @param {{}} args
2101 - */
2102 - constructor(args) {
2103 - super();
2104 - this.args = args;
2105 - }
2106 - /**
2107 - * Function requireArgument().
2108 - *
2109 - * Validate property in args.
2110 - *
2111 - * @param {string} property
2112 - * @param {{}} args
2113 - *
2114 - * @throws {Error}
2115 - */
2116 - requireArgument(property, args = this.args) {
2117 - if (!Object.prototype.hasOwnProperty.call(args, property)) throw Error(`${property} is required.`);
2118 - }
2119 - /**
2120 - * Function requireArgumentType().
2121 - *
2122 - * Validate property in args using `type === typeof(args.whatever)`.
2123 - *
2124 - * @param {string} property
2125 - * @param {string} type
2126 - * @param {{}} args
2127 - *
2128 - * @throws {Error}
2129 - */
2130 - requireArgumentType(property, type, args = this.args) {
2131 - this.requireArgument(property, args);
2132 - if (typeof args[property] !== type) throw Error(`${property} invalid type: ${type}.`);
2133 - }
2134 - /**
2135 - * Function requireArgumentInstance().
2136 - *
2137 - * Validate property in args using `args.whatever instanceof instance`.
2138 - *
2139 - * @param {string} property
2140 - * @param {*} instance
2141 - * @param {{}} args
2142 - *
2143 - * @throws {Error}
2144 - */
2145 - requireArgumentInstance(property, instance, args = this.args) {
2146 - this.requireArgument(property, args);
2147 - if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) throw Error(`${property} invalid instance.`);
2148 - }
2149 - /**
2150 - * Function requireArgumentConstructor().
2151 - *
2152 - * Validate property in args using `type === args.whatever.constructor`.
2153 - *
2154 - * @param {string} property
2155 - * @param {*} type
2156 - * @param {{}} args
2157 - *
2158 - * @throws {Error}
2159 - */
2160 - requireArgumentConstructor(property, type, args = this.args) {
2161 - this.requireArgument(property, args);
2162 - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) throw Error(`${property} invalid constructor type.`);
2163 - }
2164 - };
2165 - exports.default = ArgsObject;
2166 - }));
2167 2653
2168 -//#endregion
2169 -//#region assets/dev/js/modules/imports/utils/masonry.js
2170 - var require_masonry = /* @__PURE__ */ __commonJSMin(((exports) => {
2171 - var _interopRequireDefault = require_interopRequireDefault();
2172 - Object.defineProperty(exports, "__esModule", { value: true });
2173 - exports.default = void 0;
2174 - require_es_array_push();
2175 - var _viewModule = _interopRequireDefault(require_view_module());
2176 - exports.default = _viewModule.default.extend({
2177 - getDefaultSettings() {
2178 - return {
2179 - container: null,
2180 - items: null,
2181 - columnsCount: 3,
2182 - verticalSpaceBetween: 30
2183 - };
2184 - },
2185 - getDefaultElements() {
2186 - return {
2187 - $container: jQuery(this.getSettings("container")),
2188 - $items: jQuery(this.getSettings("items"))
2189 - };
2190 - },
2191 - run() {
2192 - var heights = [];
2193 - var distanceFromTop = this.elements.$container.position().top;
2194 - var settings = this.getSettings();
2195 - var columnsCount = settings.columnsCount;
2196 - distanceFromTop += parseInt(this.elements.$container.css("margin-top"), 10);
2197 - this.elements.$items.each(function(index) {
2198 - var row = Math.floor(index / columnsCount);
2199 - var $item = jQuery(this);
2200 - var itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
2201 - if (row) {
2202 - var itemPosition = $item.position();
2203 - var indexAtRow = index % columnsCount;
2204 - var pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
2205 - pullHeight -= parseInt($item.css("margin-top"), 10);
2206 - pullHeight *= -1;
2207 - $item.css("margin-top", pullHeight + "px");
2208 - heights[indexAtRow] += itemHeight;
2209 - } else heights.push(itemHeight);
2210 - });
2211 - }
2212 - });
2213 - }));
2654 +module.exports = elementorModules.ViewModule.extend({
2655 + getDefaultSettings() {
2656 + return {
2657 + element: null,
2658 + direction: elementorFrontend.config.is_rtl ? 'right' : 'left',
2659 + selectors: {
2660 + container: window
2661 + },
2662 + considerScrollbar: false,
2663 + cssOutput: 'inline'
2664 + };
2665 + },
2666 + getDefaultElements() {
2667 + return {
2668 + $element: jQuery(this.getSettings('element'))
2669 + };
2670 + },
2671 + stretch() {
2672 + const settings = this.getSettings();
2673 + let $container;
2674 + try {
2675 + $container = jQuery(settings.selectors.container);
2676 + // eslint-disable-next-line no-empty
2677 + } catch (e) {}
2678 + if (!$container || !$container.length) {
2679 + $container = jQuery(this.getDefaultSettings().selectors.container);
2680 + }
2681 + this.reset();
2682 + var $element = this.elements.$element,
2683 + containerWidth = $container.innerWidth(),
2684 + elementOffset = $element.offset().left,
2685 + isFixed = 'fixed' === $element.css('position'),
2686 + correctOffset = isFixed ? 0 : elementOffset,
2687 + isContainerFullScreen = window === $container[0];
2688 + if (!isContainerFullScreen) {
2689 + var containerOffset = $container.offset().left;
2690 + if (isFixed) {
2691 + correctOffset = containerOffset;
2692 + }
2693 + if (elementOffset > containerOffset) {
2694 + correctOffset = elementOffset - containerOffset;
2695 + }
2696 + }
2697 + if (settings.considerScrollbar && isContainerFullScreen) {
2698 + const scrollbarWidth = window.innerWidth - containerWidth;
2699 + correctOffset -= scrollbarWidth;
2700 + }
2701 + if (!isFixed) {
2702 + if (elementorFrontend.config.is_rtl) {
2703 + correctOffset = containerWidth - ($element.outerWidth() + correctOffset);
2704 + }
2705 + correctOffset = -correctOffset;
2706 + }
2214 2707
2215 -//#endregion
2216 -//#region assets/dev/js/modules/imports/utils/scroll.js
2217 - var require_scroll = /* @__PURE__ */ __commonJSMin(((exports) => {
2218 - Object.defineProperty(exports, "__esModule", { value: true });
2219 - exports.default = void 0;
2220 - require_es_array_push();
2221 - var Scroll = class {
2222 - /**
2223 - * @param {Object} obj
2224 - * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element
2225 - * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom
2226 - * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%'
2227 - * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport
2228 - */
2229 - static scrollObserver(obj) {
2230 - let lastScrollY = 0;
2231 - const buildThresholds = (sensitivityPercentage = 0) => {
2232 - const thresholds = [];
2233 - if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) {
2234 - const increment = 100 / sensitivityPercentage;
2235 - for (let i = 0; i <= 100; i += increment) thresholds.push(i / 100);
2236 - } else thresholds.push(0);
2237 - return thresholds;
2238 - };
2239 - const options = {
2240 - root: obj.root || null,
2241 - rootMargin: obj.offset || "0px",
2242 - threshold: buildThresholds(obj.sensitivity)
2243 - };
2244 - function handleIntersect(entries) {
2245 - const currentScrollY = entries[0].boundingClientRect.y;
2246 - const isInViewport = entries[0].isIntersecting;
2247 - const intersectionScrollDirection = currentScrollY < lastScrollY ? "down" : "up";
2248 - const scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2)));
2249 - obj.callback({
2250 - sensitivity: obj.sensitivity,
2251 - isInViewport,
2252 - scrollPercentage,
2253 - intersectionScrollDirection
2254 - });
2255 - lastScrollY = currentScrollY;
2256 - }
2257 - return new IntersectionObserver(handleIntersect, options);
2258 - }
2259 - /**
2260 - * @param {jQuery.Element} $element
2261 - * @param {Object} offsetObj
2262 - * @param {number} offsetObj.start - Offset start value in percentages
2263 - * @param {number} offsetObj.end - Offset end value in percentages
2264 - */
2265 - static getElementViewportPercentage($element, offsetObj = {}) {
2266 - const elementOffset = $element[0].getBoundingClientRect();
2267 - const offsetStart = offsetObj.start || 0;
2268 - const offsetEnd = offsetObj.end || 0;
2269 - const windowStartOffset = window.innerHeight * offsetStart / 100;
2270 - const windowEndOffset = window.innerHeight * offsetEnd / 100;
2271 - const y1 = elementOffset.top - window.innerHeight;
2272 - const y2 = elementOffset.top + windowStartOffset + $element.height();
2273 - const startPosition = 0 - y1 + windowStartOffset;
2274 - const endPosition = y2 - y1 + windowEndOffset;
2275 - const percent = Math.max(0, Math.min(startPosition / endPosition, 1));
2276 - return parseFloat((percent * 100).toFixed(2));
2277 - }
2278 - /**
2279 - * @param {Object} offsetObj
2280 - * @param {number} offsetObj.start - Offset start value in percentages
2281 - * @param {number} offsetObj.end - Offset end value in percentages
2282 - * @param {number} limitPageHeight - Will limit the page height calculation
2283 - */
2284 - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) {
2285 - const offsetStart = offsetObj.start || 0;
2286 - const offsetEnd = offsetObj.end || 0;
2287 - const initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight;
2288 - const heightOffset = initialPageHeight * offsetStart / 100;
2289 - const pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100;
2290 - return (document.documentElement.scrollTop + document.body.scrollTop + heightOffset) / pageRange * 100;
2291 - }
2292 - };
2293 - exports.default = Scroll;
2294 - }));
2708 + // Consider margin
2709 + if (settings.margin) {
2710 + correctOffset += settings.margin;
2711 + }
2712 + var css = {};
2713 + let width = containerWidth;
2714 + if (settings.margin) {
2715 + width -= settings.margin * 2;
2716 + }
2717 + css.width = width + 'px';
2718 + css[settings.direction] = correctOffset + 'px';
2719 + if ('variables' === settings.cssOutput) {
2720 + this.applyCssVariables($element, css);
2721 + return;
2722 + }
2723 + $element.css(css);
2724 + },
2725 + reset() {
2726 + const css = {},
2727 + settings = this.getSettings(),
2728 + $element = this.elements.$element;
2729 + if ('variables' === settings.cssOutput) {
2730 + this.resetCssVariables($element);
2731 + return;
2732 + }
2733 + css.width = '';
2734 + css[settings.direction] = '';
2735 + $element.css(css);
2736 + },
2737 + applyCssVariables($element, css) {
2738 + $element.css('--stretch-width', css.width);
2739 + if (!!css.left) {
2740 + $element.css('--stretch-left', css.left);
2741 + } else {
2742 + $element.css('--stretch-right', css.right);
2743 + }
2744 + },
2745 + resetCssVariables($element) {
2746 + $element.css({
2747 + '--stretch-width': '',
2748 + '--stretch-left': '',
2749 + '--stretch-right': ''
2750 + });
2751 + }
2752 +});
2295 2753
2296 -//#endregion
2297 -//#region node_modules/core-js/internals/add-to-unscopables.js
2298 - var require_add_to_unscopables = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2299 - var wellKnownSymbol = require_well_known_symbol();
2300 - var create = require_object_create();
2301 - var defineProperty = require_object_define_property().f;
2302 - var UNSCOPABLES = wellKnownSymbol("unscopables");
2303 - var ArrayPrototype = Array.prototype;
2304 - if (ArrayPrototype[UNSCOPABLES] === void 0) defineProperty(ArrayPrototype, UNSCOPABLES, {
2305 - configurable: true,
2306 - value: create(null)
2307 - });
2308 - module.exports = function(key) {
2309 - ArrayPrototype[UNSCOPABLES][key] = true;
2310 - };
2311 - }));
2754 +/***/ }),
2312 2755
2313 -//#endregion
2314 -//#region node_modules/core-js/modules/es.array.includes.js
2315 - var require_es_array_includes = /* @__PURE__ */ __commonJSMin((() => {
2316 - var $ = require_export();
2317 - var $includes = require_array_includes().includes;
2318 - var fails = require_fails();
2319 - var addToUnscopables = require_add_to_unscopables();
2320 - $({
2321 - target: "Array",
2322 - proto: true,
2323 - forced: fails(function() {
2324 - return !Array(1).includes();
2325 - })
2326 - }, { includes: function includes(el) {
2327 - return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
2328 - } });
2329 - addToUnscopables("includes");
2330 - }));
2756 +/***/ "../assets/dev/js/modules/imports/args-object.js":
2757 +/*!*******************************************************!*\
2758 + !*** ../assets/dev/js/modules/imports/args-object.js ***!
2759 + \*******************************************************/
2760 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2331 2761
2332 -//#endregion
2333 -//#region assets/dev/js/modules/imports/force-method-implementation.js
2334 - var require_force_method_implementation = /* @__PURE__ */ __commonJSMin(((exports) => {
2335 - Object.defineProperty(exports, "__esModule", { value: true });
2336 - exports.default = exports.ForceMethodImplementation = void 0;
2337 - require_es_array_includes();
2338 - var ForceMethodImplementation = class ForceMethodImplementation extends Error {
2339 - constructor(info = {}, args = {}) {
2340 - super(`${info.isStatic ? "static " : ""}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args);
2341 - if (Object.keys(args).length) console.error(args);
2342 - Error.captureStackTrace(this, ForceMethodImplementation);
2343 - }
2344 - };
2345 - exports.ForceMethodImplementation = ForceMethodImplementation;
2346 - var _default = (args) => {
2347 - const caller = Error().stack.split("\n")[2].trim();
2348 - const callerName = caller.startsWith("at new") ? "constructor" : caller.split(" ")[1];
2349 - const info = {};
2350 - info.functionName = callerName;
2351 - info.fullName = callerName;
2352 - if (info.functionName.includes(".")) {
2353 - const parts = info.functionName.split(".");
2354 - info.className = parts[0];
2355 - info.functionName = parts[1];
2356 - } else info.isStatic = true;
2357 - throw new ForceMethodImplementation(info, args);
2358 - };
2359 - exports.default = _default;
2360 - }));
2762 +"use strict";
2361 2763
2362 -//#endregion
2363 -//#region \0@[email protected]/helpers/esm/typeof.js
2364 - function _typeof(o) {
2365 - "@babel/helpers - typeof";
2366 - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
2367 - return typeof o;
2368 - } : function(o) {
2369 - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2370 - }, _typeof(o);
2371 - }
2372 - var init_typeof = __esmMin((() => {}));
2373 2764
2374 -//#endregion
2375 -//#region \0@[email protected]/helpers/esm/toPrimitive.js
2376 - function toPrimitive(t, r) {
2377 - if ("object" != _typeof(t) || !t) return t;
2378 - var e = t[Symbol.toPrimitive];
2379 - if (void 0 !== e) {
2380 - var i = e.call(t, r || "default");
2381 - if ("object" != _typeof(i)) return i;
2382 - throw new TypeError("@@toPrimitive must return a primitive value.");
2383 - }
2384 - return ("string" === r ? String : Number)(t);
2385 - }
2386 - var init_toPrimitive = __esmMin((() => {
2387 - init_typeof();
2388 - }));
2765 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2766 +Object.defineProperty(exports, "__esModule", ({
2767 + value: true
2768 +}));
2769 +exports["default"] = void 0;
2770 +var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js"));
2771 +var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js"));
2772 +class ArgsObject extends _instanceType.default {
2773 + static getInstanceType() {
2774 + return 'ArgsObject';
2775 + }
2389 2776
2390 -//#endregion
2391 -//#region \0@[email protected]/helpers/esm/toPropertyKey.js
2392 - function toPropertyKey(t) {
2393 - var i = toPrimitive(t, "string");
2394 - return "symbol" == _typeof(i) ? i : i + "";
2395 - }
2396 - var init_toPropertyKey = __esmMin((() => {
2397 - init_typeof();
2398 - init_toPrimitive();
2399 - }));
2777 + /**
2778 + * Function constructor().
2779 + *
2780 + * Create ArgsObject.
2781 + *
2782 + * @param {{}} args
2783 + */
2784 + constructor(args) {
2785 + super();
2786 + this.args = args;
2787 + }
2400 2788
2401 -//#endregion
2402 -//#region \0@[email protected]/helpers/esm/defineProperty.js
2403 - function _defineProperty(e, r, t) {
2404 - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2405 - value: t,
2406 - enumerable: !0,
2407 - configurable: !0,
2408 - writable: !0
2409 - }) : e[r] = t, e;
2410 - }
2411 - var init_defineProperty = __esmMin((() => {
2412 - init_toPropertyKey();
2413 - }));
2789 + /**
2790 + * Function requireArgument().
2791 + *
2792 + * Validate property in args.
2793 + *
2794 + * @param {string} property
2795 + * @param {{}} args
2796 + *
2797 + * @throws {Error}
2798 + */
2799 + requireArgument(property, args = this.args) {
2800 + if (!Object.prototype.hasOwnProperty.call(args, property)) {
2801 + throw Error(`${property} is required.`);
2802 + }
2803 + }
2414 2804
2415 -//#endregion
2416 -//#region \0@[email protected]/helpers/esm/objectSpread2.js
2417 - function ownKeys(e, r) {
2418 - var t = Object.keys(e);
2419 - if (Object.getOwnPropertySymbols) {
2420 - var o = Object.getOwnPropertySymbols(e);
2421 - r && (o = o.filter(function(r) {
2422 - return Object.getOwnPropertyDescriptor(e, r).enumerable;
2423 - })), t.push.apply(t, o);
2424 - }
2425 - return t;
2426 - }
2427 - function _objectSpread2(e) {
2428 - for (var r = 1; r < arguments.length; r++) {
2429 - var t = null != arguments[r] ? arguments[r] : {};
2430 - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
2431 - _defineProperty(e, r, t[r]);
2432 - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
2433 - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2434 - });
2435 - }
2436 - return e;
2437 - }
2438 - var init_objectSpread2 = __esmMin((() => {
2439 - init_defineProperty();
2440 - }));
2805 + /**
2806 + * Function requireArgumentType().
2807 + *
2808 + * Validate property in args using `type === typeof(args.whatever)`.
2809 + *
2810 + * @param {string} property
2811 + * @param {string} type
2812 + * @param {{}} args
2813 + *
2814 + * @throws {Error}
2815 + */
2816 + requireArgumentType(property, type, args = this.args) {
2817 + this.requireArgument(property, args);
2818 + if (typeof args[property] !== type) {
2819 + throw Error(`${property} invalid type: ${type}.`);
2820 + }
2821 + }
2441 2822
2442 -//#endregion
2443 -//#region app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js
2444 - var require_template_registry_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
2445 - init_objectSpread2();
2446 - Object.defineProperty(exports, "__esModule", { value: true });
2447 - exports.createGetInitialState = createGetInitialState;
2448 - function createGetInitialState(exportGroup, additionalProps = {}) {
2449 - return (data, parentInitialState) => {
2450 - let isEnabled = parentInitialState;
2451 - if (data.hasOwnProperty("uploadedData")) {
2452 - var _elementorAppConfig;
2453 - isEnabled = false;
2454 - const templates = data.uploadedData.manifest.templates;
2455 - const exportGroups = ((_elementorAppConfig = elementorAppConfig) === null || _elementorAppConfig === void 0 || (_elementorAppConfig = _elementorAppConfig["import-export-customization"]) === null || _elementorAppConfig === void 0 ? void 0 : _elementorAppConfig.exportGroups) || {};
2456 - for (const templateId in templates) if (exportGroups[templates[templateId].doc_type] === exportGroup) {
2457 - isEnabled = true;
2458 - break;
2459 - }
2460 - }
2461 - return _objectSpread2({ enabled: isEnabled }, additionalProps);
2462 - };
2463 - }
2464 - }));
2823 + /**
2824 + * Function requireArgumentInstance().
2825 + *
2826 + * Validate property in args using `args.whatever instanceof instance`.
2827 + *
2828 + * @param {string} property
2829 + * @param {*} instance
2830 + * @param {{}} args
2831 + *
2832 + * @throws {Error}
2833 + */
2834 + requireArgumentInstance(property, instance, args = this.args) {
2835 + this.requireArgument(property, args);
2836 + if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) {
2837 + throw Error(`${property} invalid instance.`);
2838 + }
2839 + }
2465 2840
2466 -//#endregion
2467 -//#region \0@[email protected]/helpers/esm/objectWithoutPropertiesLoose.js
2468 - function _objectWithoutPropertiesLoose(r, e) {
2469 - if (null == r) return {};
2470 - var t = {};
2471 - for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
2472 - if (e.includes(n)) continue;
2473 - t[n] = r[n];
2474 - }
2475 - return t;
2476 - }
2477 - var init_objectWithoutPropertiesLoose = __esmMin((() => {}));
2841 + /**
2842 + * Function requireArgumentConstructor().
2843 + *
2844 + * Validate property in args using `type === args.whatever.constructor`.
2845 + *
2846 + * @param {string} property
2847 + * @param {*} type
2848 + * @param {{}} args
2849 + *
2850 + * @throws {Error}
2851 + */
2852 + requireArgumentConstructor(property, type, args = this.args) {
2853 + this.requireArgument(property, args);
2478 2854
2479 -//#endregion
2480 -//#region \0@[email protected]/helpers/esm/objectWithoutProperties.js
2481 - function _objectWithoutProperties(e, t) {
2482 - if (null == e) return {};
2483 - var o;
2484 - var r;
2485 - var i = _objectWithoutPropertiesLoose(e, t);
2486 - if (Object.getOwnPropertySymbols) {
2487 - var s = Object.getOwnPropertySymbols(e);
2488 - for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
2489 - }
2490 - return i;
2491 - }
2492 - var init_objectWithoutProperties = __esmMin((() => {
2493 - init_objectWithoutPropertiesLoose();
2494 - }));
2855 + // Note: Converting the constructor to string in order to avoid equation issues
2856 + // due to different memory addresses between iframes (window.Object !== window.top.Object).
2857 + if (args[property].constructor.toString() !== type.prototype.constructor.toString()) {
2858 + throw Error(`${property} invalid constructor type.`);
2859 + }
2860 + }
2861 +}
2862 +exports["default"] = ArgsObject;
2495 2863
2496 -//#endregion
2497 -//#region node_modules/core-js/modules/es.iterator.map.js
2498 - var require_es_iterator_map = /* @__PURE__ */ __commonJSMin((() => {
2499 - var $ = require_export();
2500 - var call = require_function_call();
2501 - var aCallable = require_a_callable();
2502 - var anObject = require_an_object();
2503 - var getIteratorDirect = require_get_iterator_direct();
2504 - var createIteratorProxy = require_iterator_create_proxy();
2505 - var callWithSafeIterationClosing = require_call_with_safe_iteration_closing();
2506 - var iteratorClose = require_iterator_close();
2507 - var iteratorHelperThrowsOnInvalidIterator = require_iterator_helper_throws_on_invalid_iterator();
2508 - var iteratorHelperWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error();
2509 - var IS_PURE = require_is_pure();
2510 - var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator("map", function() {});
2511 - var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError("map", TypeError);
2512 - var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
2513 - var IteratorProxy = createIteratorProxy(function() {
2514 - var iterator = this.iterator;
2515 - var result = anObject(call(this.next, iterator));
2516 - if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
2517 - });
2518 - $({
2519 - target: "Iterator",
2520 - proto: true,
2521 - real: true,
2522 - forced: FORCED
2523 - }, { map: function map(mapper) {
2524 - anObject(this);
2525 - try {
2526 - aCallable(mapper);
2527 - } catch (error) {
2528 - iteratorClose(this, "throw", error);
2529 - }
2530 - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
2531 - return new IteratorProxy(getIteratorDirect(this), { mapper });
2532 - } });
2533 - }));
2864 +/***/ }),
2534 2865
2535 -//#endregion
2536 -//#region node_modules/core-js/modules/esnext.iterator.map.js
2537 - var require_esnext_iterator_map = /* @__PURE__ */ __commonJSMin((() => {
2538 - require_es_iterator_map();
2539 - }));
2866 +/***/ "../assets/dev/js/modules/imports/force-method-implementation.js":
2867 +/*!***********************************************************************!*\
2868 + !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***!
2869 + \***********************************************************************/
2870 +/***/ ((__unused_webpack_module, exports) => {
2540 2871
2541 -//#endregion
2542 -//#region app/modules/import-export-customization/assets/js/shared/registry/base.js
2543 - var require_base$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2544 - init_objectWithoutProperties();
2545 - init_objectSpread2();
2546 - var _excluded = ["children"];
2547 - Object.defineProperty(exports, "__esModule", { value: true });
2548 - exports.BaseRegistry = void 0;
2549 - require_esnext_iterator_constructor();
2550 - require_esnext_iterator_filter();
2551 - require_esnext_iterator_for_each();
2552 - require_esnext_iterator_map();
2553 - var BaseRegistry = class {
2554 - constructor() {
2555 - this.sections = /* @__PURE__ */ new Map();
2556 - }
2557 - register(section) {
2558 - if (!section.key || !section.title) throw new Error("Template type must have key and title");
2559 - const formattedSection = this.get(section.key) || this.formatSection(section);
2560 - if (section.children) if (formattedSection.children) {
2561 - const existingChildrenMap = new Map(formattedSection.children.map((child) => [child.key, child]));
2562 - section.children.forEach((childSection) => {
2563 - const formattedChild = this.formatSection(childSection);
2564 - existingChildrenMap.set(childSection.key, formattedChild);
2565 - });
2566 - formattedSection.children = Array.from(existingChildrenMap.values());
2567 - } else formattedSection.children = section.children.map((childSection) => this.formatSection(childSection));
2568 - this.sections.set(section.key, formattedSection);
2569 - }
2570 - formatSection(_ref) {
2571 - let { children } = _ref, section = _objectWithoutProperties(_ref, _excluded);
2572 - return _objectSpread2({
2573 - key: section.key,
2574 - title: section.title,
2575 - description: section.description || "",
2576 - useParentDefault: section.useParentDefault !== false,
2577 - getInitialState: section.getInitialState || null,
2578 - component: section.component || null,
2579 - order: section.order || 10,
2580 - isAvailable: section.isAvailable || (() => true)
2581 - }, section);
2582 - }
2583 - getAll() {
2584 - return Array.from(this.sections.values()).filter((type) => type.isAvailable()).map((type) => {
2585 - if (type.children) return _objectSpread2(_objectSpread2({}, type), {}, { children: [...type.children].sort((a, b) => a.order - b.order) });
2586 - return type;
2587 - }).sort((a, b) => a.order - b.order);
2588 - }
2589 - get(key) {
2590 - return this.sections.get(key);
2591 - }
2592 - };
2593 - exports.BaseRegistry = BaseRegistry;
2594 - }));
2872 +"use strict";
2595 2873
2596 -//#endregion
2597 -//#region app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js
2598 - var require_customization_dialogs = /* @__PURE__ */ __commonJSMin(((exports) => {
2599 - Object.defineProperty(exports, "__esModule", { value: true });
2600 - exports.customizationDialogsRegistry = void 0;
2601 - var _base = require_base$1();
2602 - exports.customizationDialogsRegistry = new _base.BaseRegistry();
2603 - }));
2604 2874
2605 -//#endregion
2606 -//#region assets/dev/js/modules/modules.js
2607 - var require_modules = /* @__PURE__ */ __commonJSMin(((exports) => {
2608 - var _interopRequireDefault = require_interopRequireDefault();
2609 - Object.defineProperty(exports, "__esModule", { value: true });
2610 - exports.default = void 0;
2611 - var _module = _interopRequireDefault(require_module());
2612 - var _viewModule = _interopRequireDefault(require_view_module());
2613 - var _argsObject = _interopRequireDefault(require_args_object());
2614 - var _masonry = _interopRequireDefault(require_masonry());
2615 - var _scroll = _interopRequireDefault(require_scroll());
2616 - var _forceMethodImplementation = _interopRequireDefault(require_force_method_implementation());
2617 - var _templateRegistryHelpers = require_template_registry_helpers();
2618 - var _customizationDialogs = require_customization_dialogs();
2619 - var baseModules = {
2620 - Module: _module.default,
2621 - ViewModule: _viewModule.default,
2622 - ArgsObject: _argsObject.default,
2623 - ForceMethodImplementation: _forceMethodImplementation.default,
2624 - utils: {
2625 - Masonry: _masonry.default,
2626 - Scroll: _scroll.default
2627 - },
2628 - importExport: {
2629 - createGetInitialState: _templateRegistryHelpers.createGetInitialState,
2630 - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry
2631 - }
2632 - };
2633 - if (!window.elementorModules) window.elementorModules = baseModules;
2634 - else Object.assign(window.elementorModules, baseModules);
2635 - exports.default = window.elementorModules;
2636 - }));
2875 +Object.defineProperty(exports, "__esModule", ({
2876 + value: true
2877 +}));
2878 +exports["default"] = exports.ForceMethodImplementation = void 0;
2879 +// TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`;
2637 2880
2638 -//#endregion
2639 -//#region node_modules/core-js/modules/es.iterator.find.js
2640 - var require_es_iterator_find = /* @__PURE__ */ __commonJSMin((() => {
2641 - var $ = require_export();
2642 - var call = require_function_call();
2643 - var iterate = require_iterate();
2644 - var aCallable = require_a_callable();
2645 - var anObject = require_an_object();
2646 - var getIteratorDirect = require_get_iterator_direct();
2647 - var iteratorClose = require_iterator_close();
2648 - var findWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("find", TypeError);
2649 - $({
2650 - target: "Iterator",
2651 - proto: true,
2652 - real: true,
2653 - forced: findWithoutClosingOnEarlyError
2654 - }, { find: function find(predicate) {
2655 - anObject(this);
2656 - try {
2657 - aCallable(predicate);
2658 - } catch (error) {
2659 - iteratorClose(this, "throw", error);
2660 - }
2661 - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
2662 - var record = getIteratorDirect(this);
2663 - var counter = 0;
2664 - return iterate(record, function(value, stop) {
2665 - if (predicate(value, counter++)) return stop(value);
2666 - }, {
2667 - IS_RECORD: true,
2668 - INTERRUPTED: true
2669 - }).result;
2670 - } });
2671 - }));
2881 +class ForceMethodImplementation extends Error {
2882 + constructor(info = {}, args = {}) {
2883 + super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args);
2672 2884
2673 -//#endregion
2674 -//#region node_modules/core-js/modules/esnext.iterator.find.js
2675 - var require_esnext_iterator_find = /* @__PURE__ */ __commonJSMin((() => {
2676 - require_es_iterator_find();
2677 - }));
2885 + // Allow to pass custom properties to the error.
2886 + if (Object.keys(args).length) {
2887 + // eslint-disable-next-line no-console
2888 + console.error(args);
2889 + }
2890 + Error.captureStackTrace(this, ForceMethodImplementation);
2891 + }
2892 +}
2893 +exports.ForceMethodImplementation = ForceMethodImplementation;
2894 +var _default = args => {
2895 + const stack = Error().stack,
2896 + caller = stack.split('\n')[2].trim(),
2897 + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1],
2898 + info = {};
2899 + info.functionName = callerName;
2900 + info.fullName = callerName;
2901 + if (info.functionName.includes('.')) {
2902 + const parts = info.functionName.split('.');
2903 + info.className = parts[0];
2904 + info.functionName = parts[1];
2905 + } else {
2906 + info.isStatic = true;
2907 + }
2908 + throw new ForceMethodImplementation(info, args);
2909 +};
2910 +exports["default"] = _default;
2678 2911
2679 -//#endregion
2680 -//#region assets/dev/js/frontend/document.js
2681 - var require_document = /* @__PURE__ */ __commonJSMin(((exports) => {
2682 - Object.defineProperty(exports, "__esModule", { value: true });
2683 - exports.default = void 0;
2684 - require_esnext_iterator_constructor();
2685 - require_esnext_iterator_find();
2686 - var _default = class extends elementorModules.ViewModule {
2687 - getDefaultSettings() {
2688 - return {
2689 - selectors: {
2690 - elements: ".elementor-element",
2691 - nestedDocumentElements: ".elementor .elementor-element"
2692 - },
2693 - classes: { editMode: "elementor-edit-mode" }
2694 - };
2695 - }
2696 - getDefaultElements() {
2697 - const selectors = this.getSettings("selectors");
2698 - return { $elements: this.$element.find(selectors.elements).not(this.$element.find(selectors.nestedDocumentElements)) };
2699 - }
2700 - getDocumentSettings(setting) {
2701 - let elementSettings;
2702 - if (this.isEdit) {
2703 - elementSettings = {};
2704 - const settings = elementor.settings.page.model;
2705 - jQuery.each(settings.getActiveControls(), (controlKey) => {
2706 - elementSettings[controlKey] = settings.attributes[controlKey];
2707 - });
2708 - } else elementSettings = this.$element.data("elementor-settings") || {};
2709 - return this.getItems(elementSettings, setting);
2710 - }
2711 - runElementsHandlers() {
2712 - this.elements.$elements.each((index, element) => setTimeout(() => elementorFrontend.elementsHandler.runReadyTrigger(element)));
2713 - }
2714 - onInit() {
2715 - this.$element = this.getSettings("$element");
2716 - super.onInit();
2717 - this.isEdit = this.$element.hasClass(this.getSettings("classes.editMode"));
2718 - if (this.isEdit) elementor.on("document:loaded", () => {
2719 - elementor.settings.page.model.on("change", this.onSettingsChange.bind(this));
2720 - });
2721 - else this.runElementsHandlers();
2722 - }
2723 - onSettingsChange() {}
2724 - };
2725 - exports.default = _default;
2726 - }));
2912 +/***/ }),
2727 2913
2728 -//#endregion
2729 -//#region assets/dev/js/frontend/tools/stretch-element.js
2730 - var require_stretch_element = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2731 - module.exports = elementorModules.ViewModule.extend({
2732 - getDefaultSettings() {
2733 - return {
2734 - element: null,
2735 - direction: elementorFrontend.config.is_rtl ? "right" : "left",
2736 - selectors: { container: window },
2737 - considerScrollbar: false,
2738 - cssOutput: "inline"
2739 - };
2740 - },
2741 - getDefaultElements() {
2742 - return { $element: jQuery(this.getSettings("element")) };
2743 - },
2744 - stretch() {
2745 - const settings = this.getSettings();
2746 - let $container;
2747 - try {
2748 - $container = jQuery(settings.selectors.container);
2749 - } catch (e) {}
2750 - if (!$container || !$container.length) $container = jQuery(this.getDefaultSettings().selectors.container);
2751 - this.reset();
2752 - var $element = this.elements.$element;
2753 - var containerWidth = $container.innerWidth();
2754 - var elementOffset = $element.offset().left;
2755 - var isFixed = "fixed" === $element.css("position");
2756 - var correctOffset = isFixed ? 0 : elementOffset;
2757 - var isContainerFullScreen = window === $container[0];
2758 - if (!isContainerFullScreen) {
2759 - var containerOffset = $container.offset().left;
2760 - if (isFixed) correctOffset = containerOffset;
2761 - if (elementOffset > containerOffset) correctOffset = elementOffset - containerOffset;
2762 - }
2763 - if (settings.considerScrollbar && isContainerFullScreen) {
2764 - const scrollbarWidth = window.innerWidth - containerWidth;
2765 - correctOffset -= scrollbarWidth;
2766 - }
2767 - if (!isFixed) {
2768 - if (elementorFrontend.config.is_rtl) correctOffset = containerWidth - ($element.outerWidth() + correctOffset);
2769 - correctOffset = -correctOffset;
2770 - }
2771 - if (settings.margin) correctOffset += settings.margin;
2772 - var css = {};
2773 - let width = containerWidth;
2774 - if (settings.margin) width -= settings.margin * 2;
2775 - css.width = width + "px";
2776 - css[settings.direction] = correctOffset + "px";
2777 - if ("variables" === settings.cssOutput) {
2778 - this.applyCssVariables($element, css);
2779 - return;
2780 - }
2781 - $element.css(css);
2782 - },
2783 - reset() {
2784 - const css = {};
2785 - const settings = this.getSettings();
2786 - const $element = this.elements.$element;
2787 - if ("variables" === settings.cssOutput) {
2788 - this.resetCssVariables($element);
2789 - return;
2790 - }
2791 - css.width = "";
2792 - css[settings.direction] = "";
2793 - $element.css(css);
2794 - },
2795 - applyCssVariables($element, css) {
2796 - $element.css("--stretch-width", css.width);
2797 - if (!!css.left) $element.css("--stretch-left", css.left);
2798 - else $element.css("--stretch-right", css.right);
2799 - },
2800 - resetCssVariables($element) {
2801 - $element.css({
2802 - "--stretch-width": "",
2803 - "--stretch-left": "",
2804 - "--stretch-right": ""
2805 - });
2806 - }
2807 - });
2808 - }));
2914 +/***/ "../assets/dev/js/modules/imports/instance-type.js":
2915 +/*!*********************************************************!*\
2916 + !*** ../assets/dev/js/modules/imports/instance-type.js ***!
2917 + \*********************************************************/
2918 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2809 2919
2810 -//#endregion
2811 -//#region assets/dev/js/frontend/handlers/base.js
2812 - var require_base = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2813 - require_es_array_push();
2814 - require_esnext_iterator_constructor();
2815 - require_esnext_iterator_filter();
2816 - require_esnext_iterator_find();
2817 - require_esnext_iterator_for_each();
2818 - module.exports = elementorModules.ViewModule.extend({
2819 - $element: null,
2820 - editorListeners: null,
2821 - onElementChange: null,
2822 - onEditSettingsChange: null,
2823 - onPageSettingsChange: null,
2824 - isEdit: null,
2825 - __construct(settings) {
2826 - if (!this.isActive(settings)) return;
2827 - this.$element = settings.$element;
2828 - this.isEdit = this.$element.hasClass("elementor-element-edit-mode");
2829 - if (this.isEdit) this.addEditorListeners();
2830 - },
2831 - isActive() {
2832 - return true;
2833 - },
2834 - isElementInTheCurrentDocument() {
2835 - if (!elementorFrontend.isEditMode()) return false;
2836 - return elementor.documents.currentDocument.id.toString() === this.$element[0].closest(".elementor").dataset.elementorId;
2837 - },
2838 - findElement(selector) {
2839 - var $mainElement = this.$element;
2840 - return $mainElement.find(selector).filter(function() {
2841 - return jQuery(this).parent().closest(".elementor-element").is($mainElement);
2842 - });
2843 - },
2844 - getUniqueHandlerID(cid, $element) {
2845 - if (!cid) cid = this.getModelCID();
2846 - if (!$element) $element = this.$element;
2847 - return cid + $element.attr("data-element_type") + this.getConstructorID();
2848 - },
2849 - initEditorListeners() {
2850 - var self = this;
2851 - self.editorListeners = [{
2852 - event: "element:destroy",
2853 - to: elementor.channels.data,
2854 - callback(removedModel) {
2855 - if (removedModel.cid !== self.getModelCID()) return;
2856 - self.onDestroy();
2857 - }
2858 - }];
2859 - if (self.onElementChange) {
2860 - const elementType = self.getWidgetType() || self.getElementType();
2861 - let eventName = "change";
2862 - if ("global" !== elementType) eventName += ":" + elementType;
2863 - self.editorListeners.push({
2864 - event: eventName,
2865 - to: elementor.channels.editor,
2866 - callback(controlView, elementView) {
2867 - if (self.getUniqueHandlerID(elementView.model.cid, elementView.$el) !== self.getUniqueHandlerID()) return;
2868 - self.onElementChange(controlView.model.get("name"), controlView, elementView);
2869 - }
2870 - });
2871 - }
2872 - if (self.onEditSettingsChange) self.editorListeners.push({
2873 - event: "change:editSettings",
2874 - to: elementor.channels.editor,
2875 - callback(changedModel, view) {
2876 - if (view.model.cid !== self.getModelCID()) return;
2877 - const propName = Object.keys(changedModel.changed)[0];
2878 - self.onEditSettingsChange(propName, changedModel.changed[propName]);
2879 - }
2880 - });
2881 - ["page"].forEach(function(settingsType) {
2882 - var listenerMethodName = "on" + settingsType[0].toUpperCase() + settingsType.slice(1) + "SettingsChange";
2883 - if (self[listenerMethodName]) self.editorListeners.push({
2884 - event: "change",
2885 - to: elementor.settings[settingsType].model,
2886 - callback(model) {
2887 - self[listenerMethodName](model.changed);
2888 - }
2889 - });
2890 - });
2891 - },
2892 - getEditorListeners() {
2893 - if (!this.editorListeners) this.initEditorListeners();
2894 - return this.editorListeners;
2895 - },
2896 - addEditorListeners() {
2897 - var uniqueHandlerID = this.getUniqueHandlerID();
2898 - this.getEditorListeners().forEach(function(listener) {
2899 - elementorFrontend.addListenerOnce(uniqueHandlerID, listener.event, listener.callback, listener.to);
2900 - });
2901 - },
2902 - removeEditorListeners() {
2903 - var uniqueHandlerID = this.getUniqueHandlerID();
2904 - this.getEditorListeners().forEach(function(listener) {
2905 - elementorFrontend.removeListeners(uniqueHandlerID, listener.event, null, listener.to);
2906 - });
2907 - },
2908 - getElementType() {
2909 - return this.$element.data("element_type");
2910 - },
2911 - getWidgetType() {
2912 - const widgetType = this.$element.data("widget_type");
2913 - if (!widgetType) return;
2914 - return widgetType.split(".")[0];
2915 - },
2916 - getID() {
2917 - return this.$element.data("id");
2918 - },
2919 - getModelCID() {
2920 - return this.$element.data("model-cid");
2921 - },
2922 - getElementSettings(setting) {
2923 - let elementSettings = {};
2924 - const modelCID = this.getModelCID();
2925 - if (this.isEdit && modelCID) {
2926 - const settings = elementorFrontend.config.elements.data[modelCID];
2927 - const attributes = settings.attributes;
2928 - let type = attributes.widgetType || attributes.elType;
2929 - if (attributes.isInner) type = "inner-" + type;
2930 - let settingsKeys = elementorFrontend.config.elements.keys[type];
2931 - if (!settingsKeys) {
2932 - settingsKeys = elementorFrontend.config.elements.keys[type] = [];
2933 - jQuery.each(settings.controls, (name, control) => {
2934 - if (control.frontend_available || control.editor_available) settingsKeys.push(name);
2935 - });
2936 - }
2937 - jQuery.each(settings.getActiveControls(), function(controlKey) {
2938 - if (-1 !== settingsKeys.indexOf(controlKey)) {
2939 - let value = attributes[controlKey];
2940 - if (value.toJSON) value = value.toJSON();
2941 - elementSettings[controlKey] = value;
2942 - }
2943 - });
2944 - } else elementSettings = this.$element.data("settings") || {};
2945 - return this.getItems(elementSettings, setting);
2946 - },
2947 - getEditSettings(setting) {
2948 - var attributes = {};
2949 - if (this.isEdit) attributes = elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes;
2950 - return this.getItems(attributes, setting);
2951 - },
2952 - getCurrentDeviceSetting(settingKey) {
2953 - return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(), settingKey);
2954 - },
2955 - onInit() {
2956 - if (this.isActive(this.getSettings())) elementorModules.ViewModule.prototype.onInit.apply(this, arguments);
2957 - },
2958 - onDestroy() {
2959 - if (this.isEdit) this.removeEditorListeners();
2960 - if (this.unbindEvents) this.unbindEvents();
2961 - }
2962 - });
2963 - }));
2920 +"use strict";
2964 2921
2965 -//#endregion
2966 -//#region assets/dev/js/frontend/handlers/stretched-element.js
2967 - var require_stretched_element = /* @__PURE__ */ __commonJSMin(((exports) => {
2968 - var _interopRequireDefault = require_interopRequireDefault();
2969 - Object.defineProperty(exports, "__esModule", { value: true });
2970 - exports.default = void 0;
2971 - require_esnext_iterator_constructor();
2972 - require_esnext_iterator_find();
2973 - var _base = _interopRequireDefault(require_base());
2974 - var StretchedElement = class extends _base.default {
2975 - getStretchedClass() {
2976 - return "e-stretched";
2977 - }
2978 - getStretchSettingName() {
2979 - return "stretch_element";
2980 - }
2981 - getStretchActiveValue() {
2982 - return "yes";
2983 - }
2984 - bindEvents() {
2985 - const handlerID = this.getUniqueHandlerID();
2986 - elementorFrontend.addListenerOnce(handlerID, "resize", this.stretch);
2987 - elementorFrontend.addListenerOnce(handlerID, "sticky:stick", this.stretch, this.$element);
2988 - elementorFrontend.addListenerOnce(handlerID, "sticky:unstick", this.stretch, this.$element);
2989 - if (elementorFrontend.isEditMode()) {
2990 - this.onKitChangeStretchContainerChange = this.onKitChangeStretchContainerChange.bind(this);
2991 - elementor.channels.editor.on("kit:change:stretchContainer", this.onKitChangeStretchContainerChange);
2992 - }
2993 - }
2994 - unbindEvents() {
2995 - elementorFrontend.removeListeners(this.getUniqueHandlerID(), "resize", this.stretch);
2996 - if (elementorFrontend.isEditMode()) elementor.channels.editor.off("kit:change:stretchContainer", this.onKitChangeStretchContainerChange);
2997 - }
2998 - isActive(settings) {
2999 - return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass());
3000 - }
3001 - getStretchElementForConfig(childSelector = null) {
3002 - if (childSelector) return this.$element.find(childSelector);
3003 - return this.$element;
3004 - }
3005 - getStretchElementConfig() {
3006 - return {
3007 - element: this.getStretchElementForConfig(),
3008 - selectors: { container: this.getStretchContainer() },
3009 - considerScrollbar: elementorFrontend.isEditMode() && elementorFrontend.config.is_rtl
3010 - };
3011 - }
3012 - initStretch() {
3013 - this.stretch = this.stretch.bind(this);
3014 - this.stretchElement = new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig());
3015 - }
3016 - getStretchContainer() {
3017 - return elementorFrontend.getKitSettings("stretched_section_container") || window;
3018 - }
3019 - isStretchSettingEnabled() {
3020 - return this.getElementSettings(this.getStretchSettingName()) === this.getStretchActiveValue();
3021 - }
3022 - stretch() {
3023 - if (!this.isStretchSettingEnabled()) return;
3024 - this.stretchElement.stretch();
3025 - }
3026 - onInit(...args) {
3027 - if (!this.isActive(this.getSettings())) return;
3028 - this.initStretch();
3029 - super.onInit(...args);
3030 - this.stretch();
3031 - }
3032 - onElementChange(propertyName) {
3033 - if (this.getStretchSettingName() === propertyName) if (this.isStretchSettingEnabled()) this.stretch();
3034 - else this.stretchElement.reset();
3035 - }
3036 - onKitChangeStretchContainerChange() {
3037 - this.stretchElement.setSettings("selectors.container", this.getStretchContainer());
3038 - this.stretch();
3039 - }
3040 - };
3041 - exports.default = StretchedElement;
3042 - }));
3043 2922
3044 -//#endregion
3045 -//#region assets/dev/js/frontend/handlers/base-swiper.js
3046 - var require_base_swiper = /* @__PURE__ */ __commonJSMin(((exports) => {
3047 - var _interopRequireDefault = require_interopRequireDefault();
3048 - Object.defineProperty(exports, "__esModule", { value: true });
3049 - exports.default = void 0;
3050 - var _base = _interopRequireDefault(require_base());
3051 - var SwiperHandlerBase = class extends _base.default {
3052 - getInitialSlide() {
3053 - const editSettings = this.getEditSettings();
3054 - return editSettings.activeItemIndex ? editSettings.activeItemIndex - 1 : 0;
3055 - }
3056 - getSlidesCount() {
3057 - return this.elements.$slides.length;
3058 - }
3059 - togglePauseOnHover(toggleOn) {
3060 - if (toggleOn) this.elements.$swiperContainer.on({
3061 - mouseenter: () => {
3062 - this.swiper.autoplay.stop();
3063 - },
3064 - mouseleave: () => {
3065 - this.swiper.autoplay.start();
3066 - }
3067 - });
3068 - else this.elements.$swiperContainer.off("mouseenter mouseleave");
3069 - }
3070 - handleKenBurns() {
3071 - const settings = this.getSettings();
3072 - if (this.$activeImageBg) this.$activeImageBg.removeClass(settings.classes.kenBurnsActive);
3073 - this.activeItemIndex = this.swiper ? this.swiper.activeIndex : this.getInitialSlide();
3074 - if (this.swiper) this.$activeImageBg = jQuery(this.swiper.slides[this.activeItemIndex]).children("." + settings.classes.slideBackground);
3075 - else this.$activeImageBg = jQuery(this.elements.$slides[0]).children("." + settings.classes.slideBackground);
3076 - this.$activeImageBg.addClass(settings.classes.kenBurnsActive);
3077 - }
3078 - };
3079 - exports.default = SwiperHandlerBase;
3080 - }));
2923 +Object.defineProperty(exports, "__esModule", ({
2924 + value: true
2925 +}));
2926 +exports["default"] = void 0;
2927 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
2928 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
2929 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
2930 +class InstanceType {
2931 + static [Symbol.hasInstance](target) {
2932 + /**
2933 + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
2934 + * its give's opportunity to mange capabilities of instanceOf operator.
2935 + * saving current class each time will give option later to handle instanceOf manually.
2936 + */
2937 + let result = super[Symbol.hasInstance](target);
3081 2938
3082 -//#endregion
3083 -//#region \0@[email protected]/helpers/esm/asyncToGenerator.js
3084 - function asyncGeneratorStep(n, t, e, r, o, a, c) {
3085 - try {
3086 - var i = n[a](c);
3087 - var u = i.value;
3088 - } catch (n) {
3089 - e(n);
3090 - return;
3091 - }
3092 - i.done ? t(u) : Promise.resolve(u).then(r, o);
3093 - }
3094 - function _asyncToGenerator(n) {
3095 - return function() {
3096 - var t = this;
3097 - var e = arguments;
3098 - return new Promise(function(r, o) {
3099 - var a = n.apply(t, e);
3100 - function _next(n) {
3101 - asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
3102 - }
3103 - function _throw(n) {
3104 - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
3105 - }
3106 - _next(void 0);
3107 - });
3108 - };
3109 - }
3110 - var init_asyncToGenerator = __esmMin((() => {}));
2939 + // Act normal when validate a class, which does not have instance type.
2940 + if (target && !target.constructor.getInstanceType) {
2941 + return result;
2942 + }
2943 + if (target) {
2944 + if (!target.instanceTypes) {
2945 + target.instanceTypes = [];
2946 + }
2947 + if (!result) {
2948 + if (this.getInstanceType() === target.constructor.getInstanceType()) {
2949 + result = true;
2950 + }
2951 + }
2952 + if (result) {
2953 + const name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType();
2954 + if (-1 === target.instanceTypes.indexOf(name)) {
2955 + target.instanceTypes.push(name);
2956 + }
2957 + }
2958 + }
2959 + if (!result && target) {
2960 + // Check if the given 'target', is instance of known types.
2961 + result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType());
2962 + }
2963 + return result;
2964 + }
2965 + static getInstanceType() {
2966 + elementorModules.ForceMethodImplementation();
2967 + }
2968 + constructor() {
2969 + // Since anonymous classes sometimes do not get validated by babel, do it manually.
2970 + let target = new.target;
2971 + const prototypes = [];
2972 + while (target.__proto__ && target.__proto__.name) {
2973 + prototypes.push(target.__proto__);
2974 + target = target.__proto__;
2975 + }
2976 + prototypes.reverse().forEach(proto => this instanceof proto);
2977 + }
2978 +}
2979 +exports["default"] = InstanceType;
3111 2980
3112 -//#endregion
3113 -//#region assets/dev/js/frontend/handlers/base-carousel.js
3114 - var require_base_carousel = /* @__PURE__ */ __commonJSMin(((exports) => {
3115 - init_asyncToGenerator();
3116 - var _interopRequireDefault = require_interopRequireDefault();
3117 - Object.defineProperty(exports, "__esModule", { value: true });
3118 - exports.default = void 0;
3119 - require_esnext_iterator_constructor();
3120 - require_esnext_iterator_find();
3121 - require_esnext_iterator_for_each();
3122 - var _baseSwiper = _interopRequireDefault(require_base_swiper());
3123 - var CarouselHandlerBase = class extends _baseSwiper.default {
3124 - getDefaultSettings() {
3125 - return { selectors: {
3126 - carousel: ".swiper",
3127 - swiperWrapper: ".swiper-wrapper",
3128 - slideContent: ".swiper-slide",
3129 - swiperArrow: ".elementor-swiper-button",
3130 - paginationWrapper: ".swiper-pagination",
3131 - paginationBullet: ".swiper-pagination-bullet",
3132 - paginationBulletWrapper: ".swiper-pagination-bullets"
3133 - } };
3134 - }
3135 - getDefaultElements() {
3136 - const selectors = this.getSettings("selectors");
3137 - const elements = {
3138 - $swiperContainer: this.$element.find(selectors.carousel),
3139 - $swiperWrapper: this.$element.find(selectors.swiperWrapper),
3140 - $swiperArrows: this.$element.find(selectors.swiperArrow),
3141 - $paginationWrapper: this.$element.find(selectors.paginationWrapper),
3142 - $paginationBullets: this.$element.find(selectors.paginationBullet),
3143 - $paginationBulletWrapper: this.$element.find(selectors.paginationBulletWrapper)
3144 - };
3145 - elements.$slides = elements.$swiperContainer.find(selectors.slideContent);
3146 - return elements;
3147 - }
3148 - getSwiperSettings() {
3149 - const elementSettings = this.getElementSettings();
3150 - const slidesToShow = +elementSettings.slides_to_show || 3;
3151 - const isSingleSlide = 1 === slidesToShow;
3152 - const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints;
3153 - const defaultSlidesToShowMap = {
3154 - mobile: 1,
3155 - tablet: isSingleSlide ? 1 : 2
3156 - };
3157 - const swiperOptions = {
3158 - slidesPerView: slidesToShow,
3159 - loop: "yes" === elementSettings.infinite,
3160 - speed: elementSettings.speed,
3161 - handleElementorBreakpoints: true
3162 - };
3163 - swiperOptions.breakpoints = {};
3164 - let lastBreakpointSlidesToShowValue = slidesToShow;
3165 - Object.keys(elementorBreakpoints).reverse().forEach((breakpointName) => {
3166 - const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue;
3167 - swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = {
3168 - slidesPerView: +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow,
3169 - slidesPerGroup: +elementSettings["slides_to_scroll_" + breakpointName] || 1
3170 - };
3171 - if (elementSettings.image_spacing_custom) swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value].spaceBetween = this.getSpaceBetween(breakpointName);
3172 - lastBreakpointSlidesToShowValue = +elementSettings["slides_to_show_" + breakpointName] || defaultSlidesToShow;
3173 - });
3174 - if ("yes" === elementSettings.autoplay) swiperOptions.autoplay = {
3175 - delay: elementSettings.autoplay_speed,
3176 - disableOnInteraction: "yes" === elementSettings.pause_on_interaction
3177 - };
3178 - if (isSingleSlide) {
3179 - swiperOptions.effect = elementSettings.effect;
3180 - if ("fade" === elementSettings.effect) swiperOptions.fadeEffect = { crossFade: true };
3181 - } else swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1;
3182 - if (elementSettings.image_spacing_custom) swiperOptions.spaceBetween = this.getSpaceBetween();
3183 - const showArrows = "arrows" === elementSettings.navigation || "both" === elementSettings.navigation;
3184 - const showPagination = "dots" === elementSettings.navigation || "both" === elementSettings.navigation || elementSettings.pagination;
3185 - if (showArrows) swiperOptions.navigation = {
3186 - prevEl: ".elementor-swiper-button-prev",
3187 - nextEl: ".elementor-swiper-button-next"
3188 - };
3189 - if (showPagination) swiperOptions.pagination = {
3190 - el: `.elementor-element-${this.getID()} .swiper-pagination`,
3191 - type: !!elementSettings.pagination ? elementSettings.pagination : "bullets",
3192 - clickable: true,
3193 - renderBullet: (index, classname) => {
3194 - return `<span class="${classname}" role="button" tabindex="0" data-bullet-index="${index}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${index + 1}"></span>`;
3195 - }
3196 - };
3197 - if ("yes" === elementSettings.lazyload) swiperOptions.lazy = {
3198 - loadPrevNext: true,
3199 - loadPrevNextAmount: 1
3200 - };
3201 - swiperOptions.a11y = {
3202 - enabled: true,
3203 - prevSlideMessage: elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,
3204 - nextSlideMessage: elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,
3205 - firstSlideMessage: elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,
3206 - lastSlideMessage: elementorFrontend.config.i18n.a11yCarouselLastSlideMessage
3207 - };
3208 - swiperOptions.on = {
3209 - slideChange: () => {
3210 - this.a11ySetPaginationTabindex();
3211 - this.handleElementHandlers();
3212 - this.a11ySetSlideAriaHidden();
3213 - },
3214 - init: () => {
3215 - this.a11ySetPaginationTabindex();
3216 - this.a11ySetSlideAriaHidden("initialisation");
3217 - }
3218 - };
3219 - this.applyOffsetSettings(elementSettings, swiperOptions, slidesToShow);
3220 - return swiperOptions;
3221 - }
3222 - getOffsetWidth() {
3223 - const currentDevice = elementorFrontend.getCurrentDeviceMode();
3224 - return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "offset_width", "size", currentDevice) || 0;
3225 - }
3226 - applyOffsetSettings(elementSettings, swiperOptions, slidesToShow) {
3227 - const offsetSide = elementSettings.offset_sides;
3228 - if (elementorFrontend.isEditMode() && "NestedCarousel" === this.constructor.name || !offsetSide || "none" === offsetSide) return;
3229 - switch (offsetSide) {
3230 - case "right":
3231 - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
3232 - this.addClassToSwiperContainer("offset-right");
3233 - break;
3234 - case "left":
3235 - this.addClassToSwiperContainer("offset-left");
3236 - break;
3237 - case "both":
3238 - this.forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow);
3239 - this.addClassToSwiperContainer("offset-both");
3240 - break;
3241 - }
3242 - }
3243 - forceSliderToShowNextSlideWhenOnLast(swiperOptions, slidesToShow) {
3244 - swiperOptions.slidesPerView = slidesToShow + .001;
3245 - }
3246 - addClassToSwiperContainer(className) {
3247 - this.getDefaultElements().$swiperContainer[0].classList.add(className);
3248 - }
3249 - onInit(...args) {
3250 - var _superprop_getOnInit = () => super.onInit;
3251 - var _this = this;
3252 - return _asyncToGenerator(function* () {
3253 - _superprop_getOnInit().call(_this, ...args);
3254 - if (!_this.elements.$swiperContainer.length || 2 > _this.elements.$slides.length) return;
3255 - yield _this.initSwiper();
3256 - if ("yes" === _this.getElementSettings().pause_on_hover) _this.togglePauseOnHover(true);
3257 - })();
3258 - }
3259 - initSwiper() {
3260 - var _this2 = this;
3261 - return _asyncToGenerator(function* () {
3262 - const Swiper = elementorFrontend.utils.swiper;
3263 - _this2.swiper = yield new Swiper(_this2.elements.$swiperContainer, _this2.getSwiperSettings());
3264 - _this2.elements.$swiperContainer.data("swiper", _this2.swiper);
3265 - })();
3266 - }
3267 - bindEvents() {
3268 - this.elements.$swiperArrows.on("keydown", this.onDirectionArrowKeydown.bind(this));
3269 - this.elements.$paginationWrapper.on("keydown", ".swiper-pagination-bullet", this.onDirectionArrowKeydown.bind(this));
3270 - this.elements.$swiperContainer.on("keydown", ".swiper-slide", this.onDirectionArrowKeydown.bind(this));
3271 - this.$element.find(":focusable").on("focus", this.onFocusDisableAutoplay.bind(this));
3272 - elementorFrontend.elements.$window.on("resize", this.getSwiperSettings.bind(this));
3273 - }
3274 - unbindEvents() {
3275 - this.elements.$swiperArrows.off();
3276 - this.elements.$paginationWrapper.off();
3277 - this.elements.$swiperContainer.off();
3278 - this.$element.find(":focusable").off();
3279 - elementorFrontend.elements.$window.off("resize");
3280 - }
3281 - onDirectionArrowKeydown(event) {
3282 - const isRTL = elementorFrontend.config.is_rtl;
3283 - const inlineDirectionArrows = ["ArrowLeft", "ArrowRight"];
3284 - const currentKeydown = event.originalEvent.code;
3285 - const isDirectionInlineKeydown = -1 !== inlineDirectionArrows.indexOf(currentKeydown);
3286 - const directionStart = isRTL ? "ArrowRight" : "ArrowLeft";
3287 - const directionEnd = isRTL ? "ArrowLeft" : "ArrowRight";
3288 - if (!isDirectionInlineKeydown) return true;
3289 - else if (directionStart === currentKeydown) this.swiper.slidePrev();
3290 - else if (directionEnd === currentKeydown) this.swiper.slideNext();
3291 - }
3292 - onFocusDisableAutoplay() {
3293 - this.swiper.autoplay.stop();
3294 - }
3295 - updateSwiperOption(propertyName) {
3296 - const newSettingValue = this.getElementSettings()[propertyName];
3297 - const params = this.swiper.params;
3298 - switch (propertyName) {
3299 - case "autoplay_speed":
3300 - params.autoplay.delay = newSettingValue;
3301 - break;
3302 - case "speed":
3303 - params.speed = newSettingValue;
3304 - break;
3305 - }
3306 - this.swiper.update();
3307 - }
3308 - getChangeableProperties() {
3309 - return {
3310 - pause_on_hover: "pauseOnHover",
3311 - autoplay_speed: "delay",
3312 - speed: "speed",
3313 - arrows_position: "arrows_position"
3314 - };
3315 - }
3316 - onElementChange(propertyName) {
3317 - if (0 === propertyName.indexOf("image_spacing_custom")) {
3318 - this.updateSpaceBetween(propertyName);
3319 - return;
3320 - }
3321 - if (this.getChangeableProperties()[propertyName]) if ("pause_on_hover" === propertyName) {
3322 - const newSettingValue = this.getElementSettings("pause_on_hover");
3323 - this.togglePauseOnHover("yes" === newSettingValue);
3324 - } else this.updateSwiperOption(propertyName);
3325 - }
3326 - onEditSettingsChange(propertyName) {
3327 - if ("activeItemIndex" === propertyName) this.swiper.slideToLoop(this.getEditSettings("activeItemIndex") - 1);
3328 - }
3329 - getSpaceBetween(device = null) {
3330 - const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), "image_spacing_custom", "size", device);
3331 - return Number(responsiveControlValue) || 0;
3332 - }
3333 - updateSpaceBetween(propertyName) {
3334 - const deviceMatch = propertyName.match("image_spacing_custom_(.*)");
3335 - const device = deviceMatch ? deviceMatch[1] : "desktop";
3336 - const newSpaceBetween = this.getSpaceBetween(device);
3337 - if ("desktop" !== device) this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[device].value].spaceBetween = newSpaceBetween;
3338 - this.swiper.params.spaceBetween = newSpaceBetween;
3339 - this.swiper.update();
3340 - }
3341 - getPaginationBullets(type = "array") {
3342 - const paginationBullets = this.$element.find(this.getSettings("selectors").paginationBullet);
3343 - return "array" === type ? Array.from(paginationBullets) : paginationBullets;
3344 - }
3345 - a11ySetPaginationTabindex() {
3346 - var _this$swiper;
3347 - var _this$swiper2;
3348 - var _event;
3349 - var _event2;
3350 - var _event3;
3351 - const bulletClass = (_this$swiper = this.swiper) === null || _this$swiper === void 0 || (_this$swiper = _this$swiper.params) === null || _this$swiper === void 0 ? void 0 : _this$swiper.pagination.bulletClass;
3352 - const activeBulletClass = (_this$swiper2 = this.swiper) === null || _this$swiper2 === void 0 || (_this$swiper2 = _this$swiper2.params) === null || _this$swiper2 === void 0 ? void 0 : _this$swiper2.pagination.bulletActiveClass;
3353 - this.getPaginationBullets().forEach((bullet) => {
3354 - var _bullet$classList;
3355 - if (!((_bullet$classList = bullet.classList) === null || _bullet$classList === void 0 ? void 0 : _bullet$classList.contains(activeBulletClass))) bullet.removeAttribute("tabindex");
3356 - });
3357 - const isDirectionInlineArrowKey = "ArrowLeft" === ((_event = event) === null || _event === void 0 ? void 0 : _event.code) || "ArrowRight" === ((_event2 = event) === null || _event2 === void 0 ? void 0 : _event2.code);
3358 - if (((_event3 = event) === null || _event3 === void 0 || (_event3 = _event3.target) === null || _event3 === void 0 || (_event3 = _event3.classList) === null || _event3 === void 0 ? void 0 : _event3.contains(bulletClass)) && isDirectionInlineArrowKey) this.$element.find(`.${activeBulletClass}`).trigger("focus");
3359 - }
3360 - getSwiperWrapperTranformXValue() {
3361 - var _this$elements$$swipe;
3362 - let transformValue = (_this$elements$$swipe = this.elements.$swiperWrapper[0]) === null || _this$elements$$swipe === void 0 ? void 0 : _this$elements$$swipe.style.transform;
3363 - transformValue = transformValue.replace("translate3d(", "");
3364 - transformValue = transformValue.split(",");
3365 - transformValue = parseInt(transformValue[0].replace("px", ""));
3366 - return !!transformValue ? transformValue : 0;
3367 - }
3368 - a11ySetSlideAriaHidden(status = "") {
3369 - var _this$swiper3;
3370 - if ("number" !== typeof ("initialisation" === status ? 0 : (_this$swiper3 = this.swiper) === null || _this$swiper3 === void 0 ? void 0 : _this$swiper3.activeIndex)) return;
3371 - const swiperWrapperTransformXValue = this.getSwiperWrapperTranformXValue();
3372 - const swiperWrapperWidth = this.elements.$swiperWrapper[0].clientWidth;
3373 - this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((index, slide) => {
3374 - if (!(0 <= slide.offsetLeft + swiperWrapperTransformXValue && swiperWrapperWidth > slide.offsetLeft + swiperWrapperTransformXValue)) {
3375 - slide.setAttribute("aria-hidden", true);
3376 - slide.setAttribute("inert", "");
3377 - } else {
3378 - slide.removeAttribute("aria-hidden");
3379 - slide.removeAttribute("inert");
3380 - }
3381 - });
3382 - }
3383 - handleElementHandlers() {}
3384 - };
3385 - exports.default = CarouselHandlerBase;
3386 - }));
2981 +/***/ }),
3387 2982
3388 -//#endregion
3389 -//#region assets/dev/js/frontend/modules.js
3390 - var _interopRequireDefault = require_interopRequireDefault();
3391 - var _modules = _interopRequireDefault(require_modules());
3392 - var _document = _interopRequireDefault(require_document());
3393 - var _stretchElement = _interopRequireDefault(require_stretch_element());
3394 - var _stretchedElement = _interopRequireDefault(require_stretched_element());
3395 - var _base = _interopRequireDefault(require_base());
3396 - var _baseSwiper = _interopRequireDefault(require_base_swiper());
3397 - var _baseCarousel = _interopRequireDefault(require_base_carousel());
3398 - _modules.default.frontend = {
3399 - Document: _document.default,
3400 - tools: { StretchElement: _stretchElement.default },
3401 - handlers: {
3402 - Base: _base.default,
3403 - StretchedElement: _stretchedElement.default,
3404 - SwiperBase: _baseSwiper.default,
3405 - CarouselBase: _baseCarousel.default
3406 - }
3407 - };
2983 +/***/ "../assets/dev/js/modules/imports/module.js":
2984 +/*!**************************************************!*\
2985 + !*** ../assets/dev/js/modules/imports/module.js ***!
2986 + \**************************************************/
2987 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3408 2988
3409 -//#endregion
3410 -})();
2989 +"use strict";
2990 +
2991 +
2992 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
2993 +__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
2994 +__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js");
2995 +__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
2996 +const Module = function () {
2997 + const $ = jQuery,
2998 + instanceParams = arguments,
2999 + self = this,
3000 + events = {};
3001 + let settings;
3002 + const ensureClosureMethods = function () {
3003 + $.each(self, function (methodName) {
3004 + const oldMethod = self[methodName];
3005 + if ('function' !== typeof oldMethod) {
3006 + return;
3007 + }
3008 + self[methodName] = function () {
3009 + return oldMethod.apply(self, arguments);
3010 + };
3011 + });
3012 + };
3013 + const initSettings = function () {
3014 + settings = self.getDefaultSettings();
3015 + const instanceSettings = instanceParams[0];
3016 + if (instanceSettings) {
3017 + $.extend(true, settings, instanceSettings);
3018 + }
3019 + };
3020 + const init = function () {
3021 + self.__construct.apply(self, instanceParams);
3022 + ensureClosureMethods();
3023 + initSettings();
3024 + self.trigger('init');
3025 + };
3026 + this.getItems = function (items, itemKey) {
3027 + if (itemKey) {
3028 + const keyStack = itemKey.split('.'),
3029 + currentKey = keyStack.splice(0, 1);
3030 + if (!keyStack.length) {
3031 + return items[currentKey];
3032 + }
3033 + if (!items[currentKey]) {
3034 + return;
3035 + }
3036 + return this.getItems(items[currentKey], keyStack.join('.'));
3037 + }
3038 + return items;
3039 + };
3040 + this.getSettings = function (setting) {
3041 + return this.getItems(settings, setting);
3042 + };
3043 + this.setSettings = function (settingKey, value, settingsContainer) {
3044 + if (!settingsContainer) {
3045 + settingsContainer = settings;
3046 + }
3047 + if ('object' === typeof settingKey) {
3048 + $.extend(settingsContainer, settingKey);
3049 + return self;
3050 + }
3051 + const keyStack = settingKey.split('.'),
3052 + currentKey = keyStack.splice(0, 1);
3053 + if (!keyStack.length) {
3054 + settingsContainer[currentKey] = value;
3055 + return self;
3056 + }
3057 + if (!settingsContainer[currentKey]) {
3058 + settingsContainer[currentKey] = {};
3059 + }
3060 + return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]);
3061 + };
3062 + this.getErrorMessage = function (type, functionName) {
3063 + let message;
3064 + switch (type) {
3065 + case 'forceMethodImplementation':
3066 + message = `The method '${functionName}' must to be implemented in the inheritor child.`;
3067 + break;
3068 + default:
3069 + message = 'An error occurs';
3070 + }
3071 + return message;
3072 + };
3073 +
3074 + // TODO: This function should be deleted ?.
3075 + this.forceMethodImplementation = function (functionName) {
3076 + throw new Error(this.getErrorMessage('forceMethodImplementation', functionName));
3077 + };
3078 + this.on = function (eventName, callback) {
3079 + if ('object' === typeof eventName) {
3080 + $.each(eventName, function (singleEventName) {
3081 + self.on(singleEventName, this);
3082 + });
3083 + return self;
3084 + }
3085 + const eventNames = eventName.split(' ');
3086 + eventNames.forEach(function (singleEventName) {
3087 + if (!events[singleEventName]) {
3088 + events[singleEventName] = [];
3089 + }
3090 + events[singleEventName].push(callback);
3091 + });
3092 + return self;
3093 + };
3094 + this.off = function (eventName, callback) {
3095 + if (!events[eventName]) {
3096 + return self;
3097 + }
3098 + if (!callback) {
3099 + delete events[eventName];
3100 + return self;
3101 + }
3102 + const callbackIndex = events[eventName].indexOf(callback);
3103 + if (-1 !== callbackIndex) {
3104 + delete events[eventName][callbackIndex];
3105 +
3106 + // Reset array index (for next off on same event).
3107 + events[eventName] = events[eventName].filter(val => val);
3108 + }
3109 + return self;
3110 + };
3111 + this.trigger = function (eventName) {
3112 + const methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1),
3113 + params = Array.prototype.slice.call(arguments, 1);
3114 + if (self[methodName]) {
3115 + self[methodName].apply(self, params);
3116 + }
3117 + const callbacks = events[eventName];
3118 + if (!callbacks) {
3119 + return self;
3120 + }
3121 + $.each(callbacks, function (index, callback) {
3122 + callback.apply(self, params);
3123 + });
3124 + return self;
3125 + };
3126 + init();
3127 +};
3128 +Module.prototype.__construct = function () {};
3129 +Module.prototype.getDefaultSettings = function () {
3130 + return {};
3131 +};
3132 +Module.prototype.getConstructorID = function () {
3133 + return this.constructor.name;
3134 +};
3135 +Module.extend = function (properties) {
3136 + const $ = jQuery,
3137 + parent = this;
3138 + const child = function () {
3139 + return parent.apply(this, arguments);
3140 + };
3141 + $.extend(child, parent);
3142 + child.prototype = Object.create($.extend({}, parent.prototype, properties));
3143 + child.prototype.constructor = child;
3144 + child.__super__ = parent.prototype;
3145 + return child;
3146 +};
3147 +module.exports = Module;
3148 +
3149 +/***/ }),
3150 +
3151 +/***/ "../assets/dev/js/modules/imports/utils/masonry.js":
3152 +/*!*********************************************************!*\
3153 + !*** ../assets/dev/js/modules/imports/utils/masonry.js ***!
3154 + \*********************************************************/
3155 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3156 +
3157 +"use strict";
3158 +
3159 +
3160 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
3161 +Object.defineProperty(exports, "__esModule", ({
3162 + value: true
3163 +}));
3164 +exports["default"] = void 0;
3165 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
3166 +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js"));
3167 +var _default = exports["default"] = _viewModule.default.extend({
3168 + getDefaultSettings() {
3169 + return {
3170 + container: null,
3171 + items: null,
3172 + columnsCount: 3,
3173 + verticalSpaceBetween: 30
3174 + };
3175 + },
3176 + getDefaultElements() {
3177 + return {
3178 + $container: jQuery(this.getSettings('container')),
3179 + $items: jQuery(this.getSettings('items'))
3180 + };
3181 + },
3182 + run() {
3183 + var heights = [],
3184 + distanceFromTop = this.elements.$container.position().top,
3185 + settings = this.getSettings(),
3186 + columnsCount = settings.columnsCount;
3187 + distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10);
3188 + this.elements.$items.each(function (index) {
3189 + var row = Math.floor(index / columnsCount),
3190 + $item = jQuery(this),
3191 + itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
3192 + if (row) {
3193 + var itemPosition = $item.position(),
3194 + indexAtRow = index % columnsCount,
3195 + pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
3196 + pullHeight -= parseInt($item.css('margin-top'), 10);
3197 + pullHeight *= -1;
3198 + $item.css('margin-top', pullHeight + 'px');
3199 + heights[indexAtRow] += itemHeight;
3200 + } else {
3201 + heights.push(itemHeight);
3202 + }
3203 + });
3204 + }
3205 +});
3206 +
3207 +/***/ }),
3208 +
3209 +/***/ "../assets/dev/js/modules/imports/utils/scroll.js":
3210 +/*!********************************************************!*\
3211 + !*** ../assets/dev/js/modules/imports/utils/scroll.js ***!
3212 + \********************************************************/
3213 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3214 +
3215 +"use strict";
3216 +
3217 +
3218 +Object.defineProperty(exports, "__esModule", ({
3219 + value: true
3220 +}));
3221 +exports["default"] = void 0;
3222 +__webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js");
3223 +// Moved from elementor pro: 'assets/dev/js/frontend/utils'
3224 +class Scroll {
3225 + /**
3226 + * @param {Object} obj
3227 + * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element
3228 + * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom
3229 + * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%'
3230 + * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport
3231 + */
3232 + static scrollObserver(obj) {
3233 + let lastScrollY = 0;
3234 +
3235 + // Generating thresholds points along the animation height
3236 + // More thresholds points = more trigger points of the callback
3237 + const buildThresholds = (sensitivityPercentage = 0) => {
3238 + const thresholds = [];
3239 + if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) {
3240 + const increment = 100 / sensitivityPercentage;
3241 + for (let i = 0; i <= 100; i += increment) {
3242 + thresholds.push(i / 100);
3243 + }
3244 + } else {
3245 + thresholds.push(0);
3246 + }
3247 + return thresholds;
3248 + };
3249 + const options = {
3250 + root: obj.root || null,
3251 + rootMargin: obj.offset || '0px',
3252 + threshold: buildThresholds(obj.sensitivity)
3253 + };
3254 + function handleIntersect(entries) {
3255 + const currentScrollY = entries[0].boundingClientRect.y,
3256 + isInViewport = entries[0].isIntersecting,
3257 + intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up',
3258 + scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2)));
3259 + obj.callback({
3260 + sensitivity: obj.sensitivity,
3261 + isInViewport,
3262 + scrollPercentage,
3263 + intersectionScrollDirection
3264 + });
3265 + lastScrollY = currentScrollY;
3266 + }
3267 + return new IntersectionObserver(handleIntersect, options);
3268 + }
3269 +
3270 + /**
3271 + * @param {jQuery.Element} $element
3272 + * @param {Object} offsetObj
3273 + * @param {number} offsetObj.start - Offset start value in percentages
3274 + * @param {number} offsetObj.end - Offset end value in percentages
3275 + */
3276 + static getElementViewportPercentage($element, offsetObj = {}) {
3277 + const elementOffset = $element[0].getBoundingClientRect(),
3278 + offsetStart = offsetObj.start || 0,
3279 + offsetEnd = offsetObj.end || 0,
3280 + windowStartOffset = window.innerHeight * offsetStart / 100,
3281 + windowEndOffset = window.innerHeight * offsetEnd / 100,
3282 + y1 = elementOffset.top - window.innerHeight,
3283 + y2 = elementOffset.top + windowStartOffset + $element.height(),
3284 + startPosition = 0 - y1 + windowStartOffset,
3285 + endPosition = y2 - y1 + windowEndOffset,
3286 + percent = Math.max(0, Math.min(startPosition / endPosition, 1));
3287 + return parseFloat((percent * 100).toFixed(2));
3288 + }
3289 +
3290 + /**
3291 + * @param {Object} offsetObj
3292 + * @param {number} offsetObj.start - Offset start value in percentages
3293 + * @param {number} offsetObj.end - Offset end value in percentages
3294 + * @param {number} limitPageHeight - Will limit the page height calculation
3295 + */
3296 + static getPageScrollPercentage(offsetObj = {}, limitPageHeight) {
3297 + const offsetStart = offsetObj.start || 0,
3298 + offsetEnd = offsetObj.end || 0,
3299 + initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight,
3300 + heightOffset = initialPageHeight * offsetStart / 100,
3301 + pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100,
3302 + scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset;
3303 + return scrollPos / pageRange * 100;
3304 + }
3305 +}
3306 +exports["default"] = Scroll;
3307 +
3308 +/***/ }),
3309 +
3310 +/***/ "../assets/dev/js/modules/imports/view-module.js":
3311 +/*!*******************************************************!*\
3312 + !*** ../assets/dev/js/modules/imports/view-module.js ***!
3313 + \*******************************************************/
3314 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3315 +
3316 +"use strict";
3317 +
3318 +
3319 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
3320 +Object.defineProperty(exports, "__esModule", ({
3321 + value: true
3322 +}));
3323 +exports["default"] = void 0;
3324 +var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js"));
3325 +var _default = exports["default"] = _module.default.extend({
3326 + elements: null,
3327 + getDefaultElements() {
3328 + return {};
3329 + },
3330 + bindEvents() {},
3331 + onInit() {
3332 + this.initElements();
3333 + this.bindEvents();
3334 + },
3335 + initElements() {
3336 + this.elements = this.getDefaultElements();
3337 + }
3338 +});
3339 +
3340 +/***/ }),
3341 +
3342 +/***/ "../assets/dev/js/modules/modules.js":
3343 +/*!*******************************************!*\
3344 + !*** ../assets/dev/js/modules/modules.js ***!
3345 + \*******************************************/
3346 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3347 +
3348 +"use strict";
3349 +
3350 +
3351 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
3352 +Object.defineProperty(exports, "__esModule", ({
3353 + value: true
3354 +}));
3355 +exports["default"] = void 0;
3356 +var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js"));
3357 +var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js"));
3358 +var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js"));
3359 +var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js"));
3360 +var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js"));
3361 +var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js"));
3362 +var _templateRegistryHelpers = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers */ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js");
3363 +var _customizationDialogs = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs */ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js");
3364 +var _appsEventTracking = __webpack_require__(/*! elementor-app/event-track/apps-event-tracking */ "../app/assets/js/event-track/apps-event-tracking.js");
3365 +var _wpDashboardTracking = _interopRequireDefault(__webpack_require__(/*! elementor-app/event-track/wp-dashboard-tracking */ "../app/assets/js/event-track/wp-dashboard-tracking.js"));
3366 +var _default = exports["default"] = window.elementorModules = {
3367 + Module: _module.default,
3368 + ViewModule: _viewModule.default,
3369 + ArgsObject: _argsObject.default,
3370 + ForceMethodImplementation: _forceMethodImplementation.default,
3371 + utils: {
3372 + Masonry: _masonry.default,
3373 + Scroll: _scroll.default
3374 + },
3375 + importExport: {
3376 + createGetInitialState: _templateRegistryHelpers.createGetInitialState,
3377 + customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry
3378 + },
3379 + appsEventTracking: {
3380 + AppsEventTracking: _appsEventTracking.AppsEventTracking
3381 + },
3382 + wpDashboardTracking: {
3383 + WpDashboardTracking: _wpDashboardTracking.default
3384 + }
3385 +};
3386 +
3387 +/***/ }),
3388 +
3389 +/***/ "../core/common/modules/events-manager/assets/js/events-config.js":
3390 +/*!************************************************************************!*\
3391 + !*** ../core/common/modules/events-manager/assets/js/events-config.js ***!
3392 + \************************************************************************/
3393 +/***/ ((__unused_webpack_module, exports) => {
3394 +
3395 +"use strict";
3396 +
3397 +
3398 +Object.defineProperty(exports, "__esModule", ({
3399 + value: true
3400 +}));
3401 +exports["default"] = void 0;
3402 +const eventsConfig = {
3403 + triggers: {
3404 + click: 'Click',
3405 + rightClick: 'Right Click',
3406 + doubleClick: 'Double Click',
3407 + accordionClick: 'Accordion Click',
3408 + toggleClick: 'Toggle Click',
3409 + dropdownClick: 'Click Dropdown',
3410 + editorLoaded: 'Editor Loaded',
3411 + visible: 'Visible',
3412 + pageLoaded: 'Page Loaded'
3413 + },
3414 + locations: {
3415 + widgetPanel: 'Widget Panel',
3416 + topBar: 'Top Bar',
3417 + elementorEditor: 'Elementor Editor',
3418 + templatesLibrary: {
3419 + library: 'Templates Library'
3420 + },
3421 + app: {
3422 + import: 'Import Kit',
3423 + export: 'Export Kit',
3424 + kitLibrary: 'Kit Library',
3425 + cloudKitLibrary: 'Cloud Kit Library'
3426 + },
3427 + variables: 'Variables Panel',
3428 + variablesManager: 'Variables Manager',
3429 + admin: 'WP admin',
3430 + structurePanel: 'Structure Panel',
3431 + canvas: 'Canvas'
3432 + },
3433 + secondaryLocations: {
3434 + layout: 'Layout Section',
3435 + basic: 'Basic Section',
3436 + 'pro-elements': 'Pro Section',
3437 + general: 'General Section',
3438 + 'theme-elements': 'Site Section',
3439 + 'theme-elements-single': 'Single Section',
3440 + 'woocommerce-elements': 'WooCommerce Section',
3441 + wordpress: 'WordPress Section',
3442 + categories: 'Widgets Tab',
3443 + global: 'Globals Tab',
3444 + 'whats-new': 'What\'s New',
3445 + 'document-settings': 'Document Settings icon',
3446 + 'preview-page': 'Preview Page',
3447 + 'publish-button': 'Publish Button',
3448 + 'widget-panel': 'Widget Panel Icon',
3449 + finder: 'Finder',
3450 + help: 'Help',
3451 + elementorLogoDropdown: 'top_bar_elementor_logo_dropdown',
3452 + elementorLogo: 'Elementor Logo',
3453 + eLogoMenu: 'E-logo Menu',
3454 + notes: 'Notes',
3455 + siteSettings: 'Site Settings',
3456 + structure: 'Structure',
3457 + documentNameDropdown: 'Document Name dropdown',
3458 + responsiveControls: 'Responsive controls',
3459 + launchpad: 'launchpad',
3460 + checklistHeader: 'Checklist Header',
3461 + checklistSteps: 'Checklist Steps',
3462 + userPreferences: 'User Preferences',
3463 + contextMenu: 'Context Menu',
3464 + templateLibrary: {
3465 + saveModal: 'Save to Modal',
3466 + moveModal: 'Move to Modal',
3467 + bulkMoveModal: 'Bulk Move to Modal',
3468 + copyModal: 'Copy to Modal',
3469 + bulkCopyModal: 'Bulk Copy to Modal',
3470 + saveModalSelectFolder: 'Save to Modal - select folder',
3471 + saveModalSelectConnect: 'Save to Modal - connect',
3472 + saveModalSelectUpgrade: 'Save to Modal - upgrade',
3473 + importModal: 'Import Modal',
3474 + newFolderModal: 'New Folder Modal',
3475 + deleteDialog: 'Delete Dialog',
3476 + deleteFolderDialog: 'Delete Folder Dialog',
3477 + renameDialog: 'Rename Dialog',
3478 + createFolderDialog: 'Create Folder Dialog',
3479 + applySettingsDialog: 'Apply Settings Dialog',
3480 + cloudTab: 'Cloud Tab',
3481 + siteTab: 'Site Tab',
3482 + cloudTabFolder: 'Cloud Tab - Folder',
3483 + cloudTabConnect: 'Cloud Tab - Connect',
3484 + cloudTabUpgrade: 'Cloud Tab - Upgrade',
3485 + morePopup: 'Context Menu',
3486 + quotaBar: 'Quota Bar'
3487 + },
3488 + kitLibrary: {
3489 + cloudKitLibrary: 'kits_cloud_library',
3490 + cloudKitLibraryConnect: 'kits_cloud_library_connect',
3491 + cloudKitLibraryUpgrade: 'kits_cloud_library_upgrade',
3492 + kitExportCustomization: 'kit_export_customization',
3493 + kitExport: 'kit_export',
3494 + kitExportCustomizationEdit: 'kit_export_customization_edit',
3495 + kitExportSummary: 'kit_export_summary',
3496 + kitImportUploadBox: 'kit_import_upload_box',
3497 + kitImportCustomization: 'kit_import_customization',
3498 + kitImportSummary: 'kit_import_summary'
3499 + },
3500 + variablesPopover: 'Variables Popover',
3501 + admin: {
3502 + pluginToolsTab: 'plugin_tools_tab',
3503 + pluginWebsiteTemplatesTab: 'plugin_website_templates_tab'
3504 + },
3505 + componentsTab: 'Components Tab',
3506 + canvasElement: 'Canvas Element'
3507 + },
3508 + elements: {
3509 + accordionSection: 'Accordion section',
3510 + buttonIcon: 'Button Icon',
3511 + mainCta: 'Main CTA',
3512 + button: 'Button',
3513 + link: 'Link',
3514 + dropdown: 'Dropdown',
3515 + toggle: 'Toggle',
3516 + launchpadChecklist: 'Checklist popup'
3517 + },
3518 + names: {
3519 + v1: {
3520 + layout: 'v1_widgets_tab_layout_section',
3521 + basic: 'v1_widgets_tab_basic_section',
3522 + 'pro-elements': 'v1_widgets_tab_pro_section',
3523 + general: 'v1_widgets_tab_general_section',
3524 + 'theme-elements': 'v1_widgets_tab_site_section',
3525 + 'theme-elements-single': 'v1_widgets_tab_single_section',
3526 + 'woocommerce-elements': 'v1_widgets_tab_woocommerce_section',
3527 + wordpress: 'v1_widgets_tab_wordpress_section',
3528 + categories: 'v1_widgets_tab',
3529 + global: 'v1_globals_tab'
3530 + },
3531 + topBar: {
3532 + whatsNew: 'top_bar_whats_new',
3533 + documentSettings: 'top_bar_document_settings_icon',
3534 + previewPage: 'top_bar_preview_page',
3535 + publishButton: 'top_bar_publish_button',
3536 + widgetPanel: 'top_bar_widget_panel_icon',
3537 + finder: 'top_bar_finder',
3538 + help: 'top_bar_help',
3539 + history: 'top_bar_elementor_logo_dropdown_history',
3540 + userPreferences: 'top_bar_elementor_logo_dropdown_user_preferences',
3541 + keyboardShortcuts: 'top_bar_elementor_logo_dropdown_keyboard_shortcuts',
3542 + exitToWordpress: 'top_bar_elementor_logo_dropdown_exit_to_wordpress',
3543 + themeBuilder: 'top_bar_elementor_logo_dropdown_theme_builder',
3544 + notes: 'top_bar_notes',
3545 + siteSettings: 'top_bar_site_setting',
3546 + structure: 'top_bar_structure',
3547 + documentNameDropdown: 'top_bar_document_name_dropdown',
3548 + responsiveControls: 'top_bar_responsive_controls',
3549 + launchpadOn: 'top_bar_checklist_icon_show',
3550 + launchpadOff: 'top_bar_checklist_icon_hide',
3551 + elementorLogoDropdown: 'open_e_menu',
3552 + connectAccount: 'connect_account',
3553 + accountConnected: 'account_connected'
3554 + },
3555 + // ChecklistSteps event names are generated dynamically, based on stepId and action type taken: title, action, done, undone, upgrade
3556 + elementorEditor: {
3557 + checklist: {
3558 + checklistHeaderClose: 'checklist_header_close_icon',
3559 + checklistFirstPopup: 'checklist popup triggered'
3560 + },
3561 + userPreferences: {
3562 + checklistShow: 'checklist_userpreferences_toggle_show',
3563 + checklistHide: 'checklist_userpreferences_toggle_hide'
3564 + }
3565 + },
3566 + variables: {
3567 + open: 'open_variables_popover',
3568 + add: 'add_new_variable',
3569 + connect: 'connect_variable',
3570 + save: 'save_new_variable',
3571 + openManager: 'open_variables_manager',
3572 + saveChanges: 'save_variables_changes',
3573 + delete: 'delete_variable'
3574 + },
3575 + components: {
3576 + createClicked: 'component_create_clicked',
3577 + createCancelled: 'component_creation_cancelled',
3578 + created: 'component_created',
3579 + instanceAdded: 'component_instance_added',
3580 + edited: 'component_edited',
3581 + propertiesPanelOpened: 'component_properties_panel_opened',
3582 + propertiesGroupCreated: 'component_properties_group_created',
3583 + propertyExposed: 'component_property_exposed',
3584 + propertyRemoved: 'component_property_removed'
3585 + },
3586 + global_classes: {
3587 + classApplied: 'class_applied',
3588 + classRemoved: 'class_removed',
3589 + classManagerFilterCleared: 'class_manager_filter_cleared',
3590 + classDeleted: 'class_deleted',
3591 + classPublishConflict: 'class_publish_conflict',
3592 + classRenamed: 'class_renamed',
3593 + classCreated: 'class_created',
3594 + classManagerSearched: 'class_manager_searched',
3595 + classManagerFiltersOpened: 'class_manager_filters_opened',
3596 + classManagerOpened: 'class_manager_opened',
3597 + classManagerReorder: 'class_manager_reorder',
3598 + classManagerFilterUsed: 'class_manager_filter_used',
3599 + classUsageLocate: 'class_usage_locate',
3600 + classUsageHovered: 'class_usage_hovered',
3601 + classStyled: 'class_styled',
3602 + classStateClicked: 'class_state_clicked',
3603 + classUsageClicked: 'class_usage_clicked',
3604 + classDuplicate: 'class_duplicate'
3605 + }
3606 + }
3607 +};
3608 +var _default = exports["default"] = eventsConfig;
3609 +
3610 +/***/ }),
3611 +
3612 +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
3613 +/*!***********************************************************************!*\
3614 + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
3615 + \***********************************************************************/
3616 +/***/ ((module) => {
3617 +
3618 +function _interopRequireDefault(e) {
3619 + return e && e.__esModule ? e : {
3620 + "default": e
3621 + };
3622 +}
3623 +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
3624 +
3625 +/***/ }),
3626 +
3627 +/***/ "../node_modules/core-js/internals/a-callable.js":
3628 +/*!*******************************************************!*\
3629 + !*** ../node_modules/core-js/internals/a-callable.js ***!
3630 + \*******************************************************/
3631 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3632 +
3633 +"use strict";
3634 +
3635 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3636 +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
3637 +
3638 +var $TypeError = TypeError;
3639 +
3640 +// `Assert: IsCallable(argument) is true`
3641 +module.exports = function (argument) {
3642 + if (isCallable(argument)) return argument;
3643 + throw new $TypeError(tryToString(argument) + ' is not a function');
3644 +};
3645 +
3646 +
3647 +/***/ }),
3648 +
3649 +/***/ "../node_modules/core-js/internals/an-instance.js":
3650 +/*!********************************************************!*\
3651 + !*** ../node_modules/core-js/internals/an-instance.js ***!
3652 + \********************************************************/
3653 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3654 +
3655 +"use strict";
3656 +
3657 +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
3658 +
3659 +var $TypeError = TypeError;
3660 +
3661 +module.exports = function (it, Prototype) {
3662 + if (isPrototypeOf(Prototype, it)) return it;
3663 + throw new $TypeError('Incorrect invocation');
3664 +};
3665 +
3666 +
3667 +/***/ }),
3668 +
3669 +/***/ "../node_modules/core-js/internals/an-object.js":
3670 +/*!******************************************************!*\
3671 + !*** ../node_modules/core-js/internals/an-object.js ***!
3672 + \******************************************************/
3673 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3674 +
3675 +"use strict";
3676 +
3677 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
3678 +
3679 +var $String = String;
3680 +var $TypeError = TypeError;
3681 +
3682 +// `Assert: Type(argument) is Object`
3683 +module.exports = function (argument) {
3684 + if (isObject(argument)) return argument;
3685 + throw new $TypeError($String(argument) + ' is not an object');
3686 +};
3687 +
3688 +
3689 +/***/ }),
3690 +
3691 +/***/ "../node_modules/core-js/internals/array-includes.js":
3692 +/*!***********************************************************!*\
3693 + !*** ../node_modules/core-js/internals/array-includes.js ***!
3694 + \***********************************************************/
3695 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3696 +
3697 +"use strict";
3698 +
3699 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
3700 +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js");
3701 +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
3702 +
3703 +// `Array.prototype.{ indexOf, includes }` methods implementation
3704 +var createMethod = function (IS_INCLUDES) {
3705 + return function ($this, el, fromIndex) {
3706 + var O = toIndexedObject($this);
3707 + var length = lengthOfArrayLike(O);
3708 + if (length === 0) return !IS_INCLUDES && -1;
3709 + var index = toAbsoluteIndex(fromIndex, length);
3710 + var value;
3711 + // Array#includes uses SameValueZero equality algorithm
3712 + // eslint-disable-next-line no-self-compare -- NaN check
3713 + if (IS_INCLUDES && el !== el) while (length > index) {
3714 + value = O[index++];
3715 + // eslint-disable-next-line no-self-compare -- NaN check
3716 + if (value !== value) return true;
3717 + // Array#indexOf ignores holes, Array#includes - not
3718 + } else for (;length > index; index++) {
3719 + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
3720 + } return !IS_INCLUDES && -1;
3721 + };
3722 +};
3723 +
3724 +module.exports = {
3725 + // `Array.prototype.includes` method
3726 + // https://tc39.es/ecma262/#sec-array.prototype.includes
3727 + includes: createMethod(true),
3728 + // `Array.prototype.indexOf` method
3729 + // https://tc39.es/ecma262/#sec-array.prototype.indexof
3730 + indexOf: createMethod(false)
3731 +};
3732 +
3733 +
3734 +/***/ }),
3735 +
3736 +/***/ "../node_modules/core-js/internals/array-set-length.js":
3737 +/*!*************************************************************!*\
3738 + !*** ../node_modules/core-js/internals/array-set-length.js ***!
3739 + \*************************************************************/
3740 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3741 +
3742 +"use strict";
3743 +
3744 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3745 +var isArray = __webpack_require__(/*! ../internals/is-array */ "../node_modules/core-js/internals/is-array.js");
3746 +
3747 +var $TypeError = TypeError;
3748 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3749 +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3750 +
3751 +// Safari < 13 does not throw an error in this case
3752 +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
3753 + // makes no sense without proper strict mode support
3754 + if (this !== undefined) return true;
3755 + try {
3756 + // eslint-disable-next-line es/no-object-defineproperty -- safe
3757 + Object.defineProperty([], 'length', { writable: false }).length = 1;
3758 + } catch (error) {
3759 + return error instanceof TypeError;
3760 + }
3761 +}();
3762 +
3763 +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
3764 + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
3765 + throw new $TypeError('Cannot set read only .length');
3766 + } return O.length = length;
3767 +} : function (O, length) {
3768 + return O.length = length;
3769 +};
3770 +
3771 +
3772 +/***/ }),
3773 +
3774 +/***/ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js":
3775 +/*!*****************************************************************************!*\
3776 + !*** ../node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!
3777 + \*****************************************************************************/
3778 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3779 +
3780 +"use strict";
3781 +
3782 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
3783 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
3784 +
3785 +// call something on iterator step with safe closing on error
3786 +module.exports = function (iterator, fn, value, ENTRIES) {
3787 + try {
3788 + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
3789 + } catch (error) {
3790 + iteratorClose(iterator, 'throw', error);
3791 + }
3792 +};
3793 +
3794 +
3795 +/***/ }),
3796 +
3797 +/***/ "../node_modules/core-js/internals/classof-raw.js":
3798 +/*!********************************************************!*\
3799 + !*** ../node_modules/core-js/internals/classof-raw.js ***!
3800 + \********************************************************/
3801 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3802 +
3803 +"use strict";
3804 +
3805 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
3806 +
3807 +var toString = uncurryThis({}.toString);
3808 +var stringSlice = uncurryThis(''.slice);
3809 +
3810 +module.exports = function (it) {
3811 + return stringSlice(toString(it), 8, -1);
3812 +};
3813 +
3814 +
3815 +/***/ }),
3816 +
3817 +/***/ "../node_modules/core-js/internals/classof.js":
3818 +/*!****************************************************!*\
3819 + !*** ../node_modules/core-js/internals/classof.js ***!
3820 + \****************************************************/
3821 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3822 +
3823 +"use strict";
3824 +
3825 +var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js");
3826 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
3827 +var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
3828 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
3829 +
3830 +var TO_STRING_TAG = wellKnownSymbol('toStringTag');
3831 +var $Object = Object;
3832 +
3833 +// ES3 wrong here
3834 +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
3835 +
3836 +// fallback for IE11 Script Access Denied error
3837 +var tryGet = function (it, key) {
3838 + try {
3839 + return it[key];
3840 + } catch (error) { /* empty */ }
3841 +};
3842 +
3843 +// getting tag from ES6+ `Object.prototype.toString`
3844 +module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
3845 + var O, tag, result;
3846 + return it === undefined ? 'Undefined' : it === null ? 'Null'
3847 + // @@toStringTag case
3848 + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
3849 + // builtinTag case
3850 + : CORRECT_ARGUMENTS ? classofRaw(O)
3851 + // ES3 arguments fallback
3852 + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
3853 +};
3854 +
3855 +
3856 +/***/ }),
3857 +
3858 +/***/ "../node_modules/core-js/internals/copy-constructor-properties.js":
3859 +/*!************************************************************************!*\
3860 + !*** ../node_modules/core-js/internals/copy-constructor-properties.js ***!
3861 + \************************************************************************/
3862 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3863 +
3864 +"use strict";
3865 +
3866 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
3867 +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js");
3868 +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js");
3869 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
3870 +
3871 +module.exports = function (target, source, exceptions) {
3872 + var keys = ownKeys(source);
3873 + var defineProperty = definePropertyModule.f;
3874 + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
3875 + for (var i = 0; i < keys.length; i++) {
3876 + var key = keys[i];
3877 + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
3878 + defineProperty(target, key, getOwnPropertyDescriptor(source, key));
3879 + }
3880 + }
3881 +};
3882 +
3883 +
3884 +/***/ }),
3885 +
3886 +/***/ "../node_modules/core-js/internals/correct-prototype-getter.js":
3887 +/*!*********************************************************************!*\
3888 + !*** ../node_modules/core-js/internals/correct-prototype-getter.js ***!
3889 + \*********************************************************************/
3890 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3891 +
3892 +"use strict";
3893 +
3894 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
3895 +
3896 +module.exports = !fails(function () {
3897 + function F() { /* empty */ }
3898 + F.prototype.constructor = null;
3899 + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
3900 + return Object.getPrototypeOf(new F()) !== F.prototype;
3901 +});
3902 +
3903 +
3904 +/***/ }),
3905 +
3906 +/***/ "../node_modules/core-js/internals/create-iter-result-object.js":
3907 +/*!**********************************************************************!*\
3908 + !*** ../node_modules/core-js/internals/create-iter-result-object.js ***!
3909 + \**********************************************************************/
3910 +/***/ ((module) => {
3911 +
3912 +"use strict";
3913 +
3914 +// `CreateIterResultObject` abstract operation
3915 +// https://tc39.es/ecma262/#sec-createiterresultobject
3916 +module.exports = function (value, done) {
3917 + return { value: value, done: done };
3918 +};
3919 +
3920 +
3921 +/***/ }),
3922 +
3923 +/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js":
3924 +/*!***************************************************************************!*\
3925 + !*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***!
3926 + \***************************************************************************/
3927 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3928 +
3929 +"use strict";
3930 +
3931 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3932 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
3933 +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
3934 +
3935 +module.exports = DESCRIPTORS ? function (object, key, value) {
3936 + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
3937 +} : function (object, key, value) {
3938 + object[key] = value;
3939 + return object;
3940 +};
3941 +
3942 +
3943 +/***/ }),
3944 +
3945 +/***/ "../node_modules/core-js/internals/create-property-descriptor.js":
3946 +/*!***********************************************************************!*\
3947 + !*** ../node_modules/core-js/internals/create-property-descriptor.js ***!
3948 + \***********************************************************************/
3949 +/***/ ((module) => {
3950 +
3951 +"use strict";
3952 +
3953 +module.exports = function (bitmap, value) {
3954 + return {
3955 + enumerable: !(bitmap & 1),
3956 + configurable: !(bitmap & 2),
3957 + writable: !(bitmap & 4),
3958 + value: value
3959 + };
3960 +};
3961 +
3962 +
3963 +/***/ }),
3964 +
3965 +/***/ "../node_modules/core-js/internals/create-property.js":
3966 +/*!************************************************************!*\
3967 + !*** ../node_modules/core-js/internals/create-property.js ***!
3968 + \************************************************************/
3969 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3970 +
3971 +"use strict";
3972 +
3973 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
3974 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
3975 +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
3976 +
3977 +module.exports = function (object, key, value) {
3978 + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
3979 + else object[key] = value;
3980 +};
3981 +
3982 +
3983 +/***/ }),
3984 +
3985 +/***/ "../node_modules/core-js/internals/define-built-in-accessor.js":
3986 +/*!*********************************************************************!*\
3987 + !*** ../node_modules/core-js/internals/define-built-in-accessor.js ***!
3988 + \*********************************************************************/
3989 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3990 +
3991 +"use strict";
3992 +
3993 +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
3994 +var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
3995 +
3996 +module.exports = function (target, name, descriptor) {
3997 + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
3998 + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
3999 + return defineProperty.f(target, name, descriptor);
4000 +};
4001 +
4002 +
4003 +/***/ }),
4004 +
4005 +/***/ "../node_modules/core-js/internals/define-built-in.js":
4006 +/*!************************************************************!*\
4007 + !*** ../node_modules/core-js/internals/define-built-in.js ***!
4008 + \************************************************************/
4009 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4010 +
4011 +"use strict";
4012 +
4013 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4014 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
4015 +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
4016 +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
4017 +
4018 +module.exports = function (O, key, value, options) {
4019 + if (!options) options = {};
4020 + var simple = options.enumerable;
4021 + var name = options.name !== undefined ? options.name : key;
4022 + if (isCallable(value)) makeBuiltIn(value, name, options);
4023 + if (options.global) {
4024 + if (simple) O[key] = value;
4025 + else defineGlobalProperty(key, value);
4026 + } else {
4027 + try {
4028 + if (!options.unsafe) delete O[key];
4029 + else if (O[key]) simple = true;
4030 + } catch (error) { /* empty */ }
4031 + if (simple) O[key] = value;
4032 + else definePropertyModule.f(O, key, {
4033 + value: value,
4034 + enumerable: false,
4035 + configurable: !options.nonConfigurable,
4036 + writable: !options.nonWritable
4037 + });
4038 + } return O;
4039 +};
4040 +
4041 +
4042 +/***/ }),
4043 +
4044 +/***/ "../node_modules/core-js/internals/define-built-ins.js":
4045 +/*!*************************************************************!*\
4046 + !*** ../node_modules/core-js/internals/define-built-ins.js ***!
4047 + \*************************************************************/
4048 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4049 +
4050 +"use strict";
4051 +
4052 +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
4053 +
4054 +module.exports = function (target, src, options) {
4055 + for (var key in src) defineBuiltIn(target, key, src[key], options);
4056 + return target;
4057 +};
4058 +
4059 +
4060 +/***/ }),
4061 +
4062 +/***/ "../node_modules/core-js/internals/define-global-property.js":
4063 +/*!*******************************************************************!*\
4064 + !*** ../node_modules/core-js/internals/define-global-property.js ***!
4065 + \*******************************************************************/
4066 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4067 +
4068 +"use strict";
4069 +
4070 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4071 +
4072 +// eslint-disable-next-line es/no-object-defineproperty -- safe
4073 +var defineProperty = Object.defineProperty;
4074 +
4075 +module.exports = function (key, value) {
4076 + try {
4077 + defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
4078 + } catch (error) {
4079 + globalThis[key] = value;
4080 + } return value;
4081 +};
4082 +
4083 +
4084 +/***/ }),
4085 +
4086 +/***/ "../node_modules/core-js/internals/descriptors.js":
4087 +/*!********************************************************!*\
4088 + !*** ../node_modules/core-js/internals/descriptors.js ***!
4089 + \********************************************************/
4090 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4091 +
4092 +"use strict";
4093 +
4094 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4095 +
4096 +// Detect IE8's incomplete defineProperty implementation
4097 +module.exports = !fails(function () {
4098 + // eslint-disable-next-line es/no-object-defineproperty -- required for testing
4099 + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
4100 +});
4101 +
4102 +
4103 +/***/ }),
4104 +
4105 +/***/ "../node_modules/core-js/internals/document-create-element.js":
4106 +/*!********************************************************************!*\
4107 + !*** ../node_modules/core-js/internals/document-create-element.js ***!
4108 + \********************************************************************/
4109 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4110 +
4111 +"use strict";
4112 +
4113 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4114 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
4115 +
4116 +var document = globalThis.document;
4117 +// typeof document.createElement is 'object' in old IE
4118 +var EXISTS = isObject(document) && isObject(document.createElement);
4119 +
4120 +module.exports = function (it) {
4121 + return EXISTS ? document.createElement(it) : {};
4122 +};
4123 +
4124 +
4125 +/***/ }),
4126 +
4127 +/***/ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js":
4128 +/*!*************************************************************************!*\
4129 + !*** ../node_modules/core-js/internals/does-not-exceed-safe-integer.js ***!
4130 + \*************************************************************************/
4131 +/***/ ((module) => {
4132 +
4133 +"use strict";
4134 +
4135 +var $TypeError = TypeError;
4136 +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
4137 +
4138 +module.exports = function (it) {
4139 + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
4140 + return it;
4141 +};
4142 +
4143 +
4144 +/***/ }),
4145 +
4146 +/***/ "../node_modules/core-js/internals/enum-bug-keys.js":
4147 +/*!**********************************************************!*\
4148 + !*** ../node_modules/core-js/internals/enum-bug-keys.js ***!
4149 + \**********************************************************/
4150 +/***/ ((module) => {
4151 +
4152 +"use strict";
4153 +
4154 +// IE8- don't enum bug keys
4155 +module.exports = [
4156 + 'constructor',
4157 + 'hasOwnProperty',
4158 + 'isPrototypeOf',
4159 + 'propertyIsEnumerable',
4160 + 'toLocaleString',
4161 + 'toString',
4162 + 'valueOf'
4163 +];
4164 +
4165 +
4166 +/***/ }),
4167 +
4168 +/***/ "../node_modules/core-js/internals/environment-user-agent.js":
4169 +/*!*******************************************************************!*\
4170 + !*** ../node_modules/core-js/internals/environment-user-agent.js ***!
4171 + \*******************************************************************/
4172 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4173 +
4174 +"use strict";
4175 +
4176 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4177 +
4178 +var navigator = globalThis.navigator;
4179 +var userAgent = navigator && navigator.userAgent;
4180 +
4181 +module.exports = userAgent ? String(userAgent) : '';
4182 +
4183 +
4184 +/***/ }),
4185 +
4186 +/***/ "../node_modules/core-js/internals/environment-v8-version.js":
4187 +/*!*******************************************************************!*\
4188 + !*** ../node_modules/core-js/internals/environment-v8-version.js ***!
4189 + \*******************************************************************/
4190 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4191 +
4192 +"use strict";
4193 +
4194 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4195 +var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "../node_modules/core-js/internals/environment-user-agent.js");
4196 +
4197 +var process = globalThis.process;
4198 +var Deno = globalThis.Deno;
4199 +var versions = process && process.versions || Deno && Deno.version;
4200 +var v8 = versions && versions.v8;
4201 +var match, version;
4202 +
4203 +if (v8) {
4204 + match = v8.split('.');
4205 + // in old Chrome, versions of V8 isn't V8 = Chrome / 10
4206 + // but their correct versions are not interesting for us
4207 + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
4208 +}
4209 +
4210 +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
4211 +// so check `userAgent` even if `.v8` exists, but 0
4212 +if (!version && userAgent) {
4213 + match = userAgent.match(/Edge\/(\d+)/);
4214 + if (!match || match[1] >= 74) {
4215 + match = userAgent.match(/Chrome\/(\d+)/);
4216 + if (match) version = +match[1];
4217 + }
4218 +}
4219 +
4220 +module.exports = version;
4221 +
4222 +
4223 +/***/ }),
4224 +
4225 +/***/ "../node_modules/core-js/internals/export.js":
4226 +/*!***************************************************!*\
4227 + !*** ../node_modules/core-js/internals/export.js ***!
4228 + \***************************************************/
4229 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4230 +
4231 +"use strict";
4232 +
4233 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4234 +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
4235 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
4236 +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
4237 +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
4238 +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
4239 +var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js");
4240 +
4241 +/*
4242 + options.target - name of the target object
4243 + options.global - target is the global object
4244 + options.stat - export as static methods of target
4245 + options.proto - export as prototype methods of target
4246 + options.real - real prototype method for the `pure` version
4247 + options.forced - export even if the native feature is available
4248 + options.bind - bind methods to the target, required for the `pure` version
4249 + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
4250 + options.unsafe - use the simple assignment of property instead of delete + defineProperty
4251 + options.sham - add a flag to not completely full polyfills
4252 + options.enumerable - export as enumerable property
4253 + options.dontCallGetSet - prevent calling a getter on target
4254 + options.name - the .name of the function if it does not match the key
4255 +*/
4256 +module.exports = function (options, source) {
4257 + var TARGET = options.target;
4258 + var GLOBAL = options.global;
4259 + var STATIC = options.stat;
4260 + var FORCED, target, key, targetProperty, sourceProperty, descriptor;
4261 + if (GLOBAL) {
4262 + target = globalThis;
4263 + } else if (STATIC) {
4264 + target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
4265 + } else {
4266 + target = globalThis[TARGET] && globalThis[TARGET].prototype;
4267 + }
4268 + if (target) for (key in source) {
4269 + sourceProperty = source[key];
4270 + if (options.dontCallGetSet) {
4271 + descriptor = getOwnPropertyDescriptor(target, key);
4272 + targetProperty = descriptor && descriptor.value;
4273 + } else targetProperty = target[key];
4274 + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
4275 + // contained in target
4276 + if (!FORCED && targetProperty !== undefined) {
4277 + if (typeof sourceProperty == typeof targetProperty) continue;
4278 + copyConstructorProperties(sourceProperty, targetProperty);
4279 + }
4280 + // add a flag to not completely full polyfills
4281 + if (options.sham || (targetProperty && targetProperty.sham)) {
4282 + createNonEnumerableProperty(sourceProperty, 'sham', true);
4283 + }
4284 + defineBuiltIn(target, key, sourceProperty, options);
4285 + }
4286 +};
4287 +
4288 +
4289 +/***/ }),
4290 +
4291 +/***/ "../node_modules/core-js/internals/fails.js":
4292 +/*!**************************************************!*\
4293 + !*** ../node_modules/core-js/internals/fails.js ***!
4294 + \**************************************************/
4295 +/***/ ((module) => {
4296 +
4297 +"use strict";
4298 +
4299 +module.exports = function (exec) {
4300 + try {
4301 + return !!exec();
4302 + } catch (error) {
4303 + return true;
4304 + }
4305 +};
4306 +
4307 +
4308 +/***/ }),
4309 +
4310 +/***/ "../node_modules/core-js/internals/function-bind-context.js":
4311 +/*!******************************************************************!*\
4312 + !*** ../node_modules/core-js/internals/function-bind-context.js ***!
4313 + \******************************************************************/
4314 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4315 +
4316 +"use strict";
4317 +
4318 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "../node_modules/core-js/internals/function-uncurry-this-clause.js");
4319 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
4320 +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
4321 +
4322 +var bind = uncurryThis(uncurryThis.bind);
4323 +
4324 +// optional / simple context binding
4325 +module.exports = function (fn, that) {
4326 + aCallable(fn);
4327 + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
4328 + return fn.apply(that, arguments);
4329 + };
4330 +};
4331 +
4332 +
4333 +/***/ }),
4334 +
4335 +/***/ "../node_modules/core-js/internals/function-bind-native.js":
4336 +/*!*****************************************************************!*\
4337 + !*** ../node_modules/core-js/internals/function-bind-native.js ***!
4338 + \*****************************************************************/
4339 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4340 +
4341 +"use strict";
4342 +
4343 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4344 +
4345 +module.exports = !fails(function () {
4346 + // eslint-disable-next-line es/no-function-prototype-bind -- safe
4347 + var test = (function () { /* empty */ }).bind();
4348 + // eslint-disable-next-line no-prototype-builtins -- safe
4349 + return typeof test != 'function' || test.hasOwnProperty('prototype');
4350 +});
4351 +
4352 +
4353 +/***/ }),
4354 +
4355 +/***/ "../node_modules/core-js/internals/function-call.js":
4356 +/*!**********************************************************!*\
4357 + !*** ../node_modules/core-js/internals/function-call.js ***!
4358 + \**********************************************************/
4359 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4360 +
4361 +"use strict";
4362 +
4363 +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
4364 +
4365 +var call = Function.prototype.call;
4366 +// eslint-disable-next-line es/no-function-prototype-bind -- safe
4367 +module.exports = NATIVE_BIND ? call.bind(call) : function () {
4368 + return call.apply(call, arguments);
4369 +};
4370 +
4371 +
4372 +/***/ }),
4373 +
4374 +/***/ "../node_modules/core-js/internals/function-name.js":
4375 +/*!**********************************************************!*\
4376 + !*** ../node_modules/core-js/internals/function-name.js ***!
4377 + \**********************************************************/
4378 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4379 +
4380 +"use strict";
4381 +
4382 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
4383 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
4384 +
4385 +var FunctionPrototype = Function.prototype;
4386 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4387 +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
4388 +
4389 +var EXISTS = hasOwn(FunctionPrototype, 'name');
4390 +// additional protection from minified / mangled / dropped function names
4391 +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
4392 +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
4393 +
4394 +module.exports = {
4395 + EXISTS: EXISTS,
4396 + PROPER: PROPER,
4397 + CONFIGURABLE: CONFIGURABLE
4398 +};
4399 +
4400 +
4401 +/***/ }),
4402 +
4403 +/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js":
4404 +/*!*************************************************************************!*\
4405 + !*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***!
4406 + \*************************************************************************/
4407 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4408 +
4409 +"use strict";
4410 +
4411 +var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
4412 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
4413 +
4414 +module.exports = function (fn) {
4415 + // Nashorn bug:
4416 + // https://github.com/zloirock/core-js/issues/1128
4417 + // https://github.com/zloirock/core-js/issues/1130
4418 + if (classofRaw(fn) === 'Function') return uncurryThis(fn);
4419 +};
4420 +
4421 +
4422 +/***/ }),
4423 +
4424 +/***/ "../node_modules/core-js/internals/function-uncurry-this.js":
4425 +/*!******************************************************************!*\
4426 + !*** ../node_modules/core-js/internals/function-uncurry-this.js ***!
4427 + \******************************************************************/
4428 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4429 +
4430 +"use strict";
4431 +
4432 +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
4433 +
4434 +var FunctionPrototype = Function.prototype;
4435 +var call = FunctionPrototype.call;
4436 +// eslint-disable-next-line es/no-function-prototype-bind -- safe
4437 +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
4438 +
4439 +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
4440 + return function () {
4441 + return call.apply(fn, arguments);
4442 + };
4443 +};
4444 +
4445 +
4446 +/***/ }),
4447 +
4448 +/***/ "../node_modules/core-js/internals/get-built-in.js":
4449 +/*!*********************************************************!*\
4450 + !*** ../node_modules/core-js/internals/get-built-in.js ***!
4451 + \*********************************************************/
4452 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4453 +
4454 +"use strict";
4455 +
4456 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4457 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4458 +
4459 +var aFunction = function (argument) {
4460 + return isCallable(argument) ? argument : undefined;
4461 +};
4462 +
4463 +module.exports = function (namespace, method) {
4464 + return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
4465 +};
4466 +
4467 +
4468 +/***/ }),
4469 +
4470 +/***/ "../node_modules/core-js/internals/get-iterator-direct.js":
4471 +/*!****************************************************************!*\
4472 + !*** ../node_modules/core-js/internals/get-iterator-direct.js ***!
4473 + \****************************************************************/
4474 +/***/ ((module) => {
4475 +
4476 +"use strict";
4477 +
4478 +// `GetIteratorDirect(obj)` abstract operation
4479 +// https://tc39.es/ecma262/#sec-getiteratordirect
4480 +module.exports = function (obj) {
4481 + return {
4482 + iterator: obj,
4483 + next: obj.next,
4484 + done: false
4485 + };
4486 +};
4487 +
4488 +
4489 +/***/ }),
4490 +
4491 +/***/ "../node_modules/core-js/internals/get-iterator-method.js":
4492 +/*!****************************************************************!*\
4493 + !*** ../node_modules/core-js/internals/get-iterator-method.js ***!
4494 + \****************************************************************/
4495 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4496 +
4497 +"use strict";
4498 +
4499 +var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
4500 +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
4501 +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
4502 +var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js");
4503 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
4504 +
4505 +var ITERATOR = wellKnownSymbol('iterator');
4506 +
4507 +module.exports = function (it) {
4508 + if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
4509 + || getMethod(it, '@@iterator')
4510 + || Iterators[classof(it)];
4511 +};
4512 +
4513 +
4514 +/***/ }),
4515 +
4516 +/***/ "../node_modules/core-js/internals/get-iterator.js":
4517 +/*!*********************************************************!*\
4518 + !*** ../node_modules/core-js/internals/get-iterator.js ***!
4519 + \*********************************************************/
4520 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4521 +
4522 +"use strict";
4523 +
4524 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
4525 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
4526 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
4527 +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
4528 +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js");
4529 +
4530 +var $TypeError = TypeError;
4531 +
4532 +module.exports = function (argument, usingIterator) {
4533 + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
4534 + if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
4535 + throw new $TypeError(tryToString(argument) + ' is not iterable');
4536 +};
4537 +
4538 +
4539 +/***/ }),
4540 +
4541 +/***/ "../node_modules/core-js/internals/get-method.js":
4542 +/*!*******************************************************!*\
4543 + !*** ../node_modules/core-js/internals/get-method.js ***!
4544 + \*******************************************************/
4545 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4546 +
4547 +"use strict";
4548 +
4549 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
4550 +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
4551 +
4552 +// `GetMethod` abstract operation
4553 +// https://tc39.es/ecma262/#sec-getmethod
4554 +module.exports = function (V, P) {
4555 + var func = V[P];
4556 + return isNullOrUndefined(func) ? undefined : aCallable(func);
4557 +};
4558 +
4559 +
4560 +/***/ }),
4561 +
4562 +/***/ "../node_modules/core-js/internals/global-this.js":
4563 +/*!********************************************************!*\
4564 + !*** ../node_modules/core-js/internals/global-this.js ***!
4565 + \********************************************************/
4566 +/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4567 +
4568 +"use strict";
4569 +
4570 +var check = function (it) {
4571 + return it && it.Math === Math && it;
4572 +};
4573 +
4574 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
4575 +module.exports =
4576 + // eslint-disable-next-line es/no-global-this -- safe
4577 + check(typeof globalThis == 'object' && globalThis) ||
4578 + check(typeof window == 'object' && window) ||
4579 + // eslint-disable-next-line no-restricted-globals -- safe
4580 + check(typeof self == 'object' && self) ||
4581 + check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
4582 + check(typeof this == 'object' && this) ||
4583 + // eslint-disable-next-line no-new-func -- fallback
4584 + (function () { return this; })() || Function('return this')();
4585 +
4586 +
4587 +/***/ }),
4588 +
4589 +/***/ "../node_modules/core-js/internals/has-own-property.js":
4590 +/*!*************************************************************!*\
4591 + !*** ../node_modules/core-js/internals/has-own-property.js ***!
4592 + \*************************************************************/
4593 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4594 +
4595 +"use strict";
4596 +
4597 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
4598 +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
4599 +
4600 +var hasOwnProperty = uncurryThis({}.hasOwnProperty);
4601 +
4602 +// `HasOwnProperty` abstract operation
4603 +// https://tc39.es/ecma262/#sec-hasownproperty
4604 +// eslint-disable-next-line es/no-object-hasown -- safe
4605 +module.exports = Object.hasOwn || function hasOwn(it, key) {
4606 + return hasOwnProperty(toObject(it), key);
4607 +};
4608 +
4609 +
4610 +/***/ }),
4611 +
4612 +/***/ "../node_modules/core-js/internals/hidden-keys.js":
4613 +/*!********************************************************!*\
4614 + !*** ../node_modules/core-js/internals/hidden-keys.js ***!
4615 + \********************************************************/
4616 +/***/ ((module) => {
4617 +
4618 +"use strict";
4619 +
4620 +module.exports = {};
4621 +
4622 +
4623 +/***/ }),
4624 +
4625 +/***/ "../node_modules/core-js/internals/html.js":
4626 +/*!*************************************************!*\
4627 + !*** ../node_modules/core-js/internals/html.js ***!
4628 + \*************************************************/
4629 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4630 +
4631 +"use strict";
4632 +
4633 +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
4634 +
4635 +module.exports = getBuiltIn('document', 'documentElement');
4636 +
4637 +
4638 +/***/ }),
4639 +
4640 +/***/ "../node_modules/core-js/internals/ie8-dom-define.js":
4641 +/*!***********************************************************!*\
4642 + !*** ../node_modules/core-js/internals/ie8-dom-define.js ***!
4643 + \***********************************************************/
4644 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4645 +
4646 +"use strict";
4647 +
4648 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
4649 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4650 +var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
4651 +
4652 +// Thanks to IE8 for its funny defineProperty
4653 +module.exports = !DESCRIPTORS && !fails(function () {
4654 + // eslint-disable-next-line es/no-object-defineproperty -- required for testing
4655 + return Object.defineProperty(createElement('div'), 'a', {
4656 + get: function () { return 7; }
4657 + }).a !== 7;
4658 +});
4659 +
4660 +
4661 +/***/ }),
4662 +
4663 +/***/ "../node_modules/core-js/internals/indexed-object.js":
4664 +/*!***********************************************************!*\
4665 + !*** ../node_modules/core-js/internals/indexed-object.js ***!
4666 + \***********************************************************/
4667 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4668 +
4669 +"use strict";
4670 +
4671 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
4672 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4673 +var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
4674 +
4675 +var $Object = Object;
4676 +var split = uncurryThis(''.split);
4677 +
4678 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
4679 +module.exports = fails(function () {
4680 + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
4681 + // eslint-disable-next-line no-prototype-builtins -- safe
4682 + return !$Object('z').propertyIsEnumerable(0);
4683 +}) ? function (it) {
4684 + return classof(it) === 'String' ? split(it, '') : $Object(it);
4685 +} : $Object;
4686 +
4687 +
4688 +/***/ }),
4689 +
4690 +/***/ "../node_modules/core-js/internals/inspect-source.js":
4691 +/*!***********************************************************!*\
4692 + !*** ../node_modules/core-js/internals/inspect-source.js ***!
4693 + \***********************************************************/
4694 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4695 +
4696 +"use strict";
4697 +
4698 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
4699 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4700 +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
4701 +
4702 +var functionToString = uncurryThis(Function.toString);
4703 +
4704 +// this helper broken in `[email protected]`, so we can't use `shared` helper
4705 +if (!isCallable(store.inspectSource)) {
4706 + store.inspectSource = function (it) {
4707 + return functionToString(it);
4708 + };
4709 +}
4710 +
4711 +module.exports = store.inspectSource;
4712 +
4713 +
4714 +/***/ }),
4715 +
4716 +/***/ "../node_modules/core-js/internals/internal-state.js":
4717 +/*!***********************************************************!*\
4718 + !*** ../node_modules/core-js/internals/internal-state.js ***!
4719 + \***********************************************************/
4720 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4721 +
4722 +"use strict";
4723 +
4724 +var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js");
4725 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
4726 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
4727 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
4728 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
4729 +var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
4730 +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
4731 +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
4732 +
4733 +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
4734 +var TypeError = globalThis.TypeError;
4735 +var WeakMap = globalThis.WeakMap;
4736 +var set, get, has;
4737 +
4738 +var enforce = function (it) {
4739 + return has(it) ? get(it) : set(it, {});
4740 +};
4741 +
4742 +var getterFor = function (TYPE) {
4743 + return function (it) {
4744 + var state;
4745 + if (!isObject(it) || (state = get(it)).type !== TYPE) {
4746 + throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
4747 + } return state;
4748 + };
4749 +};
4750 +
4751 +if (NATIVE_WEAK_MAP || shared.state) {
4752 + var store = shared.state || (shared.state = new WeakMap());
4753 + /* eslint-disable no-self-assign -- prototype methods protection */
4754 + store.get = store.get;
4755 + store.has = store.has;
4756 + store.set = store.set;
4757 + /* eslint-enable no-self-assign -- prototype methods protection */
4758 + set = function (it, metadata) {
4759 + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
4760 + metadata.facade = it;
4761 + store.set(it, metadata);
4762 + return metadata;
4763 + };
4764 + get = function (it) {
4765 + return store.get(it) || {};
4766 + };
4767 + has = function (it) {
4768 + return store.has(it);
4769 + };
4770 +} else {
4771 + var STATE = sharedKey('state');
4772 + hiddenKeys[STATE] = true;
4773 + set = function (it, metadata) {
4774 + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
4775 + metadata.facade = it;
4776 + createNonEnumerableProperty(it, STATE, metadata);
4777 + return metadata;
4778 + };
4779 + get = function (it) {
4780 + return hasOwn(it, STATE) ? it[STATE] : {};
4781 + };
4782 + has = function (it) {
4783 + return hasOwn(it, STATE);
4784 + };
4785 +}
4786 +
4787 +module.exports = {
4788 + set: set,
4789 + get: get,
4790 + has: has,
4791 + enforce: enforce,
4792 + getterFor: getterFor
4793 +};
4794 +
4795 +
4796 +/***/ }),
4797 +
4798 +/***/ "../node_modules/core-js/internals/is-array-iterator-method.js":
4799 +/*!*********************************************************************!*\
4800 + !*** ../node_modules/core-js/internals/is-array-iterator-method.js ***!
4801 + \*********************************************************************/
4802 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4803 +
4804 +"use strict";
4805 +
4806 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
4807 +var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js");
4808 +
4809 +var ITERATOR = wellKnownSymbol('iterator');
4810 +var ArrayPrototype = Array.prototype;
4811 +
4812 +// check on default Array iterator
4813 +module.exports = function (it) {
4814 + return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
4815 +};
4816 +
4817 +
4818 +/***/ }),
4819 +
4820 +/***/ "../node_modules/core-js/internals/is-array.js":
4821 +/*!*****************************************************!*\
4822 + !*** ../node_modules/core-js/internals/is-array.js ***!
4823 + \*****************************************************/
4824 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4825 +
4826 +"use strict";
4827 +
4828 +var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
4829 +
4830 +// `IsArray` abstract operation
4831 +// https://tc39.es/ecma262/#sec-isarray
4832 +// eslint-disable-next-line es/no-array-isarray -- safe
4833 +module.exports = Array.isArray || function isArray(argument) {
4834 + return classof(argument) === 'Array';
4835 +};
4836 +
4837 +
4838 +/***/ }),
4839 +
4840 +/***/ "../node_modules/core-js/internals/is-callable.js":
4841 +/*!********************************************************!*\
4842 + !*** ../node_modules/core-js/internals/is-callable.js ***!
4843 + \********************************************************/
4844 +/***/ ((module) => {
4845 +
4846 +"use strict";
4847 +
4848 +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
4849 +var documentAll = typeof document == 'object' && document.all;
4850 +
4851 +// `IsCallable` abstract operation
4852 +// https://tc39.es/ecma262/#sec-iscallable
4853 +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
4854 +module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
4855 + return typeof argument == 'function' || argument === documentAll;
4856 +} : function (argument) {
4857 + return typeof argument == 'function';
4858 +};
4859 +
4860 +
4861 +/***/ }),
4862 +
4863 +/***/ "../node_modules/core-js/internals/is-forced.js":
4864 +/*!******************************************************!*\
4865 + !*** ../node_modules/core-js/internals/is-forced.js ***!
4866 + \******************************************************/
4867 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4868 +
4869 +"use strict";
4870 +
4871 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
4872 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4873 +
4874 +var replacement = /#|\.prototype\./;
4875 +
4876 +var isForced = function (feature, detection) {
4877 + var value = data[normalize(feature)];
4878 + return value === POLYFILL ? true
4879 + : value === NATIVE ? false
4880 + : isCallable(detection) ? fails(detection)
4881 + : !!detection;
4882 +};
4883 +
4884 +var normalize = isForced.normalize = function (string) {
4885 + return String(string).replace(replacement, '.').toLowerCase();
4886 +};
4887 +
4888 +var data = isForced.data = {};
4889 +var NATIVE = isForced.NATIVE = 'N';
4890 +var POLYFILL = isForced.POLYFILL = 'P';
4891 +
4892 +module.exports = isForced;
4893 +
4894 +
4895 +/***/ }),
4896 +
4897 +/***/ "../node_modules/core-js/internals/is-null-or-undefined.js":
4898 +/*!*****************************************************************!*\
4899 + !*** ../node_modules/core-js/internals/is-null-or-undefined.js ***!
4900 + \*****************************************************************/
4901 +/***/ ((module) => {
4902 +
4903 +"use strict";
4904 +
4905 +// we can't use just `it == null` since of `document.all` special case
4906 +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
4907 +module.exports = function (it) {
4908 + return it === null || it === undefined;
4909 +};
4910 +
4911 +
4912 +/***/ }),
4913 +
4914 +/***/ "../node_modules/core-js/internals/is-object.js":
4915 +/*!******************************************************!*\
4916 + !*** ../node_modules/core-js/internals/is-object.js ***!
4917 + \******************************************************/
4918 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4919 +
4920 +"use strict";
4921 +
4922 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4923 +
4924 +module.exports = function (it) {
4925 + return typeof it == 'object' ? it !== null : isCallable(it);
4926 +};
4927 +
4928 +
4929 +/***/ }),
4930 +
4931 +/***/ "../node_modules/core-js/internals/is-pure.js":
4932 +/*!****************************************************!*\
4933 + !*** ../node_modules/core-js/internals/is-pure.js ***!
4934 + \****************************************************/
4935 +/***/ ((module) => {
4936 +
4937 +"use strict";
4938 +
4939 +module.exports = false;
4940 +
4941 +
4942 +/***/ }),
4943 +
4944 +/***/ "../node_modules/core-js/internals/is-symbol.js":
4945 +/*!******************************************************!*\
4946 + !*** ../node_modules/core-js/internals/is-symbol.js ***!
4947 + \******************************************************/
4948 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4949 +
4950 +"use strict";
4951 +
4952 +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
4953 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
4954 +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
4955 +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
4956 +
4957 +var $Object = Object;
4958 +
4959 +module.exports = USE_SYMBOL_AS_UID ? function (it) {
4960 + return typeof it == 'symbol';
4961 +} : function (it) {
4962 + var $Symbol = getBuiltIn('Symbol');
4963 + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
4964 +};
4965 +
4966 +
4967 +/***/ }),
4968 +
4969 +/***/ "../node_modules/core-js/internals/iterate.js":
4970 +/*!****************************************************!*\
4971 + !*** ../node_modules/core-js/internals/iterate.js ***!
4972 + \****************************************************/
4973 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4974 +
4975 +"use strict";
4976 +
4977 +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../node_modules/core-js/internals/function-bind-context.js");
4978 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
4979 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
4980 +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
4981 +var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../node_modules/core-js/internals/is-array-iterator-method.js");
4982 +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
4983 +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
4984 +var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../node_modules/core-js/internals/get-iterator.js");
4985 +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js");
4986 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
4987 +
4988 +var $TypeError = TypeError;
4989 +
4990 +var Result = function (stopped, result) {
4991 + this.stopped = stopped;
4992 + this.result = result;
4993 +};
4994 +
4995 +var ResultPrototype = Result.prototype;
4996 +
4997 +module.exports = function (iterable, unboundFunction, options) {
4998 + var that = options && options.that;
4999 + var AS_ENTRIES = !!(options && options.AS_ENTRIES);
5000 + var IS_RECORD = !!(options && options.IS_RECORD);
5001 + var IS_ITERATOR = !!(options && options.IS_ITERATOR);
5002 + var INTERRUPTED = !!(options && options.INTERRUPTED);
5003 + var fn = bind(unboundFunction, that);
5004 + var iterator, iterFn, index, length, result, next, step;
5005 +
5006 + var stop = function (condition) {
5007 + if (iterator) iteratorClose(iterator, 'normal');
5008 + return new Result(true, condition);
5009 + };
5010 +
5011 + var callFn = function (value) {
5012 + if (AS_ENTRIES) {
5013 + anObject(value);
5014 + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
5015 + } return INTERRUPTED ? fn(value, stop) : fn(value);
5016 + };
5017 +
5018 + if (IS_RECORD) {
5019 + iterator = iterable.iterator;
5020 + } else if (IS_ITERATOR) {
5021 + iterator = iterable;
5022 + } else {
5023 + iterFn = getIteratorMethod(iterable);
5024 + if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
5025 + // optimisation for array iterators
5026 + if (isArrayIteratorMethod(iterFn)) {
5027 + for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
5028 + result = callFn(iterable[index]);
5029 + if (result && isPrototypeOf(ResultPrototype, result)) return result;
5030 + } return new Result(false);
5031 + }
5032 + iterator = getIterator(iterable, iterFn);
5033 + }
5034 +
5035 + next = IS_RECORD ? iterable.next : iterator.next;
5036 + while (!(step = call(next, iterator)).done) {
5037 + try {
5038 + result = callFn(step.value);
5039 + } catch (error) {
5040 + iteratorClose(iterator, 'throw', error);
5041 + }
5042 + if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
5043 + } return new Result(false);
5044 +};
5045 +
5046 +
5047 +/***/ }),
5048 +
5049 +/***/ "../node_modules/core-js/internals/iterator-close-all.js":
5050 +/*!***************************************************************!*\
5051 + !*** ../node_modules/core-js/internals/iterator-close-all.js ***!
5052 + \***************************************************************/
5053 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5054 +
5055 +"use strict";
5056 +
5057 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
5058 +
5059 +module.exports = function (iters, kind, value) {
5060 + for (var i = iters.length - 1; i >= 0; i--) {
5061 + if (iters[i] === undefined) continue;
5062 + try {
5063 + value = iteratorClose(iters[i].iterator, kind, value);
5064 + } catch (error) {
5065 + kind = 'throw';
5066 + value = error;
5067 + }
5068 + }
5069 + if (kind === 'throw') throw value;
5070 + return value;
5071 +};
5072 +
5073 +
5074 +/***/ }),
5075 +
5076 +/***/ "../node_modules/core-js/internals/iterator-close.js":
5077 +/*!***********************************************************!*\
5078 + !*** ../node_modules/core-js/internals/iterator-close.js ***!
5079 + \***********************************************************/
5080 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5081 +
5082 +"use strict";
5083 +
5084 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
5085 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
5086 +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
5087 +
5088 +module.exports = function (iterator, kind, value) {
5089 + var innerResult, innerError;
5090 + anObject(iterator);
5091 + try {
5092 + innerResult = getMethod(iterator, 'return');
5093 + if (!innerResult) {
5094 + if (kind === 'throw') throw value;
5095 + return value;
5096 + }
5097 + innerResult = call(innerResult, iterator);
5098 + } catch (error) {
5099 + innerError = true;
5100 + innerResult = error;
5101 + }
5102 + if (kind === 'throw') throw value;
5103 + if (innerError) throw innerResult;
5104 + anObject(innerResult);
5105 + return value;
5106 +};
5107 +
5108 +
5109 +/***/ }),
5110 +
5111 +/***/ "../node_modules/core-js/internals/iterator-create-proxy.js":
5112 +/*!******************************************************************!*\
5113 + !*** ../node_modules/core-js/internals/iterator-create-proxy.js ***!
5114 + \******************************************************************/
5115 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5116 +
5117 +"use strict";
5118 +
5119 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
5120 +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js");
5121 +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
5122 +var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "../node_modules/core-js/internals/define-built-ins.js");
5123 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
5124 +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
5125 +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
5126 +var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
5127 +var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js");
5128 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
5129 +var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js");
5130 +
5131 +var TO_STRING_TAG = wellKnownSymbol('toStringTag');
5132 +var ITERATOR_HELPER = 'IteratorHelper';
5133 +var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
5134 +var NORMAL = 'normal';
5135 +var THROW = 'throw';
5136 +var setInternalState = InternalStateModule.set;
5137 +
5138 +var createIteratorProxyPrototype = function (IS_ITERATOR) {
5139 + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
5140 +
5141 + return defineBuiltIns(create(IteratorPrototype), {
5142 + next: function next() {
5143 + var state = getInternalState(this);
5144 + // for simplification:
5145 + // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
5146 + // for `%IteratorHelperPrototype%.next` - just a value
5147 + if (IS_ITERATOR) return state.nextHandler();
5148 + if (state.done) return createIterResultObject(undefined, true);
5149 + try {
5150 + var result = state.nextHandler();
5151 + return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
5152 + } catch (error) {
5153 + state.done = true;
5154 + throw error;
5155 + }
5156 + },
5157 + 'return': function () {
5158 + var state = getInternalState(this);
5159 + var iterator = state.iterator;
5160 + state.done = true;
5161 + if (IS_ITERATOR) {
5162 + var returnMethod = getMethod(iterator, 'return');
5163 + return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
5164 + }
5165 + if (state.inner) try {
5166 + iteratorClose(state.inner.iterator, NORMAL);
5167 + } catch (error) {
5168 + return iteratorClose(iterator, THROW, error);
5169 + }
5170 + if (state.openIters) try {
5171 + iteratorCloseAll(state.openIters, NORMAL);
5172 + } catch (error) {
5173 + return iteratorClose(iterator, THROW, error);
5174 + }
5175 + if (iterator) iteratorClose(iterator, NORMAL);
5176 + return createIterResultObject(undefined, true);
5177 + }
5178 + });
5179 +};
5180 +
5181 +var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
5182 +var IteratorHelperPrototype = createIteratorProxyPrototype(false);
5183 +
5184 +createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
5185 +
5186 +module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
5187 + var IteratorProxy = function Iterator(record, state) {
5188 + if (state) {
5189 + state.iterator = record.iterator;
5190 + state.next = record.next;
5191 + } else state = record;
5192 + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
5193 + state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
5194 + state.nextHandler = nextHandler;
5195 + state.counter = 0;
5196 + state.done = false;
5197 + setInternalState(this, state);
5198 + };
5199 +
5200 + IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
5201 +
5202 + return IteratorProxy;
5203 +};
5204 +
5205 +
5206 +/***/ }),
5207 +
5208 +/***/ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js":
5209 +/*!***************************************************************************************!*\
5210 + !*** ../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***!
5211 + \***************************************************************************************/
5212 +/***/ ((module) => {
5213 +
5214 +"use strict";
5215 +
5216 +// Should throw an error on invalid iterator
5217 +// https://issues.chromium.org/issues/336839115
5218 +module.exports = function (methodName, argument) {
5219 + // eslint-disable-next-line es/no-iterator -- required for testing
5220 + var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
5221 + if (method) try {
5222 + method.call({ next: null }, argument).next();
5223 + } catch (error) {
5224 + return true;
5225 + }
5226 +};
5227 +
5228 +
5229 +/***/ }),
5230 +
5231 +/***/ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js":
5232 +/*!*******************************************************************************************!*\
5233 + !*** ../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***!
5234 + \*******************************************************************************************/
5235 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5236 +
5237 +"use strict";
5238 +
5239 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
5240 +
5241 +// https://github.com/tc39/ecma262/pull/3467
5242 +module.exports = function (METHOD_NAME, ExpectedError) {
5243 + var Iterator = globalThis.Iterator;
5244 + var IteratorPrototype = Iterator && Iterator.prototype;
5245 + var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
5246 +
5247 + var CLOSED = false;
5248 +
5249 + if (method) try {
5250 + method.call({
5251 + next: function () { return { done: true }; },
5252 + 'return': function () { CLOSED = true; }
5253 + }, -1);
5254 + } catch (error) {
5255 + // https://bugs.webkit.org/show_bug.cgi?id=291195
5256 + if (!(error instanceof ExpectedError)) CLOSED = false;
5257 + }
5258 +
5259 + if (!CLOSED) return method;
5260 +};
5261 +
5262 +
5263 +/***/ }),
5264 +
5265 +/***/ "../node_modules/core-js/internals/iterators-core.js":
5266 +/*!***********************************************************!*\
5267 + !*** ../node_modules/core-js/internals/iterators-core.js ***!
5268 + \***********************************************************/
5269 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5270 +
5271 +"use strict";
5272 +
5273 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
5274 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
5275 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
5276 +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js");
5277 +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js");
5278 +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
5279 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
5280 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
5281 +
5282 +var ITERATOR = wellKnownSymbol('iterator');
5283 +var BUGGY_SAFARI_ITERATORS = false;
5284 +
5285 +// `%IteratorPrototype%` object
5286 +// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
5287 +var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
5288 +
5289 +/* eslint-disable es/no-array-prototype-keys -- safe */
5290 +if ([].keys) {
5291 + arrayIterator = [].keys();
5292 + // Safari 8 has buggy iterators w/o `next`
5293 + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
5294 + else {
5295 + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
5296 + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
5297 + }
5298 +}
5299 +
5300 +var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
5301 + var test = {};
5302 + // FF44- legacy iterators case
5303 + return IteratorPrototype[ITERATOR].call(test) !== test;
5304 +});
5305 +
5306 +if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
5307 +else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
5308 +
5309 +// `%IteratorPrototype%[@@iterator]()` method
5310 +// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
5311 +if (!isCallable(IteratorPrototype[ITERATOR])) {
5312 + defineBuiltIn(IteratorPrototype, ITERATOR, function () {
5313 + return this;
5314 + });
5315 +}
5316 +
5317 +module.exports = {
5318 + IteratorPrototype: IteratorPrototype,
5319 + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
5320 +};
5321 +
5322 +
5323 +/***/ }),
5324 +
5325 +/***/ "../node_modules/core-js/internals/iterators.js":
5326 +/*!******************************************************!*\
5327 + !*** ../node_modules/core-js/internals/iterators.js ***!
5328 + \******************************************************/
5329 +/***/ ((module) => {
5330 +
5331 +"use strict";
5332 +
5333 +module.exports = {};
5334 +
5335 +
5336 +/***/ }),
5337 +
5338 +/***/ "../node_modules/core-js/internals/length-of-array-like.js":
5339 +/*!*****************************************************************!*\
5340 + !*** ../node_modules/core-js/internals/length-of-array-like.js ***!
5341 + \*****************************************************************/
5342 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5343 +
5344 +"use strict";
5345 +
5346 +var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js");
5347 +
5348 +// `LengthOfArrayLike` abstract operation
5349 +// https://tc39.es/ecma262/#sec-lengthofarraylike
5350 +module.exports = function (obj) {
5351 + return toLength(obj.length);
5352 +};
5353 +
5354 +
5355 +/***/ }),
5356 +
5357 +/***/ "../node_modules/core-js/internals/make-built-in.js":
5358 +/*!**********************************************************!*\
5359 + !*** ../node_modules/core-js/internals/make-built-in.js ***!
5360 + \**********************************************************/
5361 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5362 +
5363 +"use strict";
5364 +
5365 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
5366 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
5367 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
5368 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
5369 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
5370 +var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
5371 +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js");
5372 +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
5373 +
5374 +var enforceInternalState = InternalStateModule.enforce;
5375 +var getInternalState = InternalStateModule.get;
5376 +var $String = String;
5377 +// eslint-disable-next-line es/no-object-defineproperty -- safe
5378 +var defineProperty = Object.defineProperty;
5379 +var stringSlice = uncurryThis(''.slice);
5380 +var replace = uncurryThis(''.replace);
5381 +var join = uncurryThis([].join);
5382 +
5383 +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
5384 + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
5385 +});
5386 +
5387 +var TEMPLATE = String(String).split('String');
5388 +
5389 +var makeBuiltIn = module.exports = function (value, name, options) {
5390 + if (stringSlice($String(name), 0, 7) === 'Symbol(') {
5391 + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
5392 + }
5393 + if (options && options.getter) name = 'get ' + name;
5394 + if (options && options.setter) name = 'set ' + name;
5395 + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
5396 + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
5397 + else value.name = name;
5398 + }
5399 + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
5400 + defineProperty(value, 'length', { value: options.arity });
5401 + }
5402 + try {
5403 + if (options && hasOwn(options, 'constructor') && options.constructor) {
5404 + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
5405 + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
5406 + } else if (value.prototype) value.prototype = undefined;
5407 + } catch (error) { /* empty */ }
5408 + var state = enforceInternalState(value);
5409 + if (!hasOwn(state, 'source')) {
5410 + state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
5411 + } return value;
5412 +};
5413 +
5414 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
5415 +// eslint-disable-next-line no-extend-native -- required
5416 +Function.prototype.toString = makeBuiltIn(function toString() {
5417 + return isCallable(this) && getInternalState(this).source || inspectSource(this);
5418 +}, 'toString');
5419 +
5420 +
5421 +/***/ }),
5422 +
5423 +/***/ "../node_modules/core-js/internals/math-trunc.js":
5424 +/*!*******************************************************!*\
5425 + !*** ../node_modules/core-js/internals/math-trunc.js ***!
5426 + \*******************************************************/
5427 +/***/ ((module) => {
5428 +
5429 +"use strict";
5430 +
5431 +var ceil = Math.ceil;
5432 +var floor = Math.floor;
5433 +
5434 +// `Math.trunc` method
5435 +// https://tc39.es/ecma262/#sec-math.trunc
5436 +// eslint-disable-next-line es/no-math-trunc -- safe
5437 +module.exports = Math.trunc || function trunc(x) {
5438 + var n = +x;
5439 + return (n > 0 ? floor : ceil)(n);
5440 +};
5441 +
5442 +
5443 +/***/ }),
5444 +
5445 +/***/ "../node_modules/core-js/internals/object-create.js":
5446 +/*!**********************************************************!*\
5447 + !*** ../node_modules/core-js/internals/object-create.js ***!
5448 + \**********************************************************/
5449 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5450 +
5451 +"use strict";
5452 +
5453 +/* global ActiveXObject -- old IE, WSH */
5454 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
5455 +var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js");
5456 +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
5457 +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
5458 +var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js");
5459 +var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
5460 +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
5461 +
5462 +var GT = '>';
5463 +var LT = '<';
5464 +var PROTOTYPE = 'prototype';
5465 +var SCRIPT = 'script';
5466 +var IE_PROTO = sharedKey('IE_PROTO');
5467 +
5468 +var EmptyConstructor = function () { /* empty */ };
5469 +
5470 +var scriptTag = function (content) {
5471 + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
5472 +};
5473 +
5474 +// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
5475 +var NullProtoObjectViaActiveX = function (activeXDocument) {
5476 + activeXDocument.write(scriptTag(''));
5477 + activeXDocument.close();
5478 + var temp = activeXDocument.parentWindow.Object;
5479 + // eslint-disable-next-line no-useless-assignment -- avoid memory leak
5480 + activeXDocument = null;
5481 + return temp;
5482 +};
5483 +
5484 +// Create object with fake `null` prototype: use iframe Object with cleared prototype
5485 +var NullProtoObjectViaIFrame = function () {
5486 + // Thrash, waste and sodomy: IE GC bug
5487 + var iframe = documentCreateElement('iframe');
5488 + var JS = 'java' + SCRIPT + ':';
5489 + var iframeDocument;
5490 + iframe.style.display = 'none';
5491 + html.appendChild(iframe);
5492 + // https://github.com/zloirock/core-js/issues/475
5493 + iframe.src = String(JS);
5494 + iframeDocument = iframe.contentWindow.document;
5495 + iframeDocument.open();
5496 + iframeDocument.write(scriptTag('document.F=Object'));
5497 + iframeDocument.close();
5498 + return iframeDocument.F;
5499 +};
5500 +
5501 +// Check for document.domain and active x support
5502 +// No need to use active x approach when document.domain is not set
5503 +// see https://github.com/es-shims/es5-shim/issues/150
5504 +// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
5505 +// avoid IE GC bug
5506 +var activeXDocument;
5507 +var NullProtoObject = function () {
5508 + try {
5509 + activeXDocument = new ActiveXObject('htmlfile');
5510 + } catch (error) { /* ignore */ }
5511 + NullProtoObject = typeof document != 'undefined'
5512 + ? document.domain && activeXDocument
5513 + ? NullProtoObjectViaActiveX(activeXDocument) // old IE
5514 + : NullProtoObjectViaIFrame()
5515 + : NullProtoObjectViaActiveX(activeXDocument); // WSH
5516 + var length = enumBugKeys.length;
5517 + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
5518 + return NullProtoObject();
5519 +};
5520 +
5521 +hiddenKeys[IE_PROTO] = true;
5522 +
5523 +// `Object.create` method
5524 +// https://tc39.es/ecma262/#sec-object.create
5525 +// eslint-disable-next-line es/no-object-create -- safe
5526 +module.exports = Object.create || function create(O, Properties) {
5527 + var result;
5528 + if (O !== null) {
5529 + EmptyConstructor[PROTOTYPE] = anObject(O);
5530 + result = new EmptyConstructor();
5531 + EmptyConstructor[PROTOTYPE] = null;
5532 + // add "__proto__" for Object.getPrototypeOf polyfill
5533 + result[IE_PROTO] = O;
5534 + } else result = NullProtoObject();
5535 + return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
5536 +};
5537 +
5538 +
5539 +/***/ }),
5540 +
5541 +/***/ "../node_modules/core-js/internals/object-define-properties.js":
5542 +/*!*********************************************************************!*\
5543 + !*** ../node_modules/core-js/internals/object-define-properties.js ***!
5544 + \*********************************************************************/
5545 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5546 +
5547 +"use strict";
5548 +
5549 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
5550 +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
5551 +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
5552 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
5553 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
5554 +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js");
5555 +
5556 +// `Object.defineProperties` method
5557 +// https://tc39.es/ecma262/#sec-object.defineproperties
5558 +// eslint-disable-next-line es/no-object-defineproperties -- safe
5559 +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
5560 + anObject(O);
5561 + var props = toIndexedObject(Properties);
5562 + var keys = objectKeys(Properties);
5563 + var length = keys.length;
5564 + var index = 0;
5565 + var key;
5566 + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
5567 + return O;
5568 +};
5569 +
5570 +
5571 +/***/ }),
5572 +
5573 +/***/ "../node_modules/core-js/internals/object-define-property.js":
5574 +/*!*******************************************************************!*\
5575 + !*** ../node_modules/core-js/internals/object-define-property.js ***!
5576 + \*******************************************************************/
5577 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5578 +
5579 +"use strict";
5580 +
5581 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
5582 +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
5583 +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
5584 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
5585 +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
5586 +
5587 +var $TypeError = TypeError;
5588 +// eslint-disable-next-line es/no-object-defineproperty -- safe
5589 +var $defineProperty = Object.defineProperty;
5590 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5591 +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5592 +var ENUMERABLE = 'enumerable';
5593 +var CONFIGURABLE = 'configurable';
5594 +var WRITABLE = 'writable';
5595 +
5596 +// `Object.defineProperty` method
5597 +// https://tc39.es/ecma262/#sec-object.defineproperty
5598 +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
5599 + anObject(O);
5600 + P = toPropertyKey(P);
5601 + anObject(Attributes);
5602 + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
5603 + var current = $getOwnPropertyDescriptor(O, P);
5604 + if (current && current[WRITABLE]) {
5605 + O[P] = Attributes.value;
5606 + Attributes = {
5607 + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
5608 + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
5609 + writable: false
5610 + };
5611 + }
5612 + } return $defineProperty(O, P, Attributes);
5613 +} : $defineProperty : function defineProperty(O, P, Attributes) {
5614 + anObject(O);
5615 + P = toPropertyKey(P);
5616 + anObject(Attributes);
5617 + if (IE8_DOM_DEFINE) try {
5618 + return $defineProperty(O, P, Attributes);
5619 + } catch (error) { /* empty */ }
5620 + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
5621 + if ('value' in Attributes) O[P] = Attributes.value;
5622 + return O;
5623 +};
5624 +
5625 +
5626 +/***/ }),
5627 +
5628 +/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js":
5629 +/*!*******************************************************************************!*\
5630 + !*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
5631 + \*******************************************************************************/
5632 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5633 +
5634 +"use strict";
5635 +
5636 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
5637 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
5638 +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js");
5639 +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
5640 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
5641 +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
5642 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
5643 +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
5644 +
5645 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5646 +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5647 +
5648 +// `Object.getOwnPropertyDescriptor` method
5649 +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
5650 +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
5651 + O = toIndexedObject(O);
5652 + P = toPropertyKey(P);
5653 + if (IE8_DOM_DEFINE) try {
5654 + return $getOwnPropertyDescriptor(O, P);
5655 + } catch (error) { /* empty */ }
5656 + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
5657 +};
5658 +
5659 +
5660 +/***/ }),
5661 +
5662 +/***/ "../node_modules/core-js/internals/object-get-own-property-names.js":
5663 +/*!**************************************************************************!*\
5664 + !*** ../node_modules/core-js/internals/object-get-own-property-names.js ***!
5665 + \**************************************************************************/
5666 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5667 +
5668 +"use strict";
5669 +
5670 +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
5671 +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
5672 +
5673 +var hiddenKeys = enumBugKeys.concat('length', 'prototype');
5674 +
5675 +// `Object.getOwnPropertyNames` method
5676 +// https://tc39.es/ecma262/#sec-object.getownpropertynames
5677 +// eslint-disable-next-line es/no-object-getownpropertynames -- safe
5678 +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
5679 + return internalObjectKeys(O, hiddenKeys);
5680 +};
5681 +
5682 +
5683 +/***/ }),
5684 +
5685 +/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js":
5686 +/*!****************************************************************************!*\
5687 + !*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***!
5688 + \****************************************************************************/
5689 +/***/ ((__unused_webpack_module, exports) => {
5690 +
5691 +"use strict";
5692 +
5693 +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
5694 +exports.f = Object.getOwnPropertySymbols;
5695 +
5696 +
5697 +/***/ }),
5698 +
5699 +/***/ "../node_modules/core-js/internals/object-get-prototype-of.js":
5700 +/*!********************************************************************!*\
5701 + !*** ../node_modules/core-js/internals/object-get-prototype-of.js ***!
5702 + \********************************************************************/
5703 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5704 +
5705 +"use strict";
5706 +
5707 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
5708 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
5709 +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
5710 +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
5711 +var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "../node_modules/core-js/internals/correct-prototype-getter.js");
5712 +
5713 +var IE_PROTO = sharedKey('IE_PROTO');
5714 +var $Object = Object;
5715 +var ObjectPrototype = $Object.prototype;
5716 +
5717 +// `Object.getPrototypeOf` method
5718 +// https://tc39.es/ecma262/#sec-object.getprototypeof
5719 +// eslint-disable-next-line es/no-object-getprototypeof -- safe
5720 +module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
5721 + var object = toObject(O);
5722 + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
5723 + var constructor = object.constructor;
5724 + if (isCallable(constructor) && object instanceof constructor) {
5725 + return constructor.prototype;
5726 + } return object instanceof $Object ? ObjectPrototype : null;
5727 +};
5728 +
5729 +
5730 +/***/ }),
5731 +
5732 +/***/ "../node_modules/core-js/internals/object-is-prototype-of.js":
5733 +/*!*******************************************************************!*\
5734 + !*** ../node_modules/core-js/internals/object-is-prototype-of.js ***!
5735 + \*******************************************************************/
5736 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5737 +
5738 +"use strict";
5739 +
5740 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
5741 +
5742 +module.exports = uncurryThis({}.isPrototypeOf);
5743 +
5744 +
5745 +/***/ }),
5746 +
5747 +/***/ "../node_modules/core-js/internals/object-keys-internal.js":
5748 +/*!*****************************************************************!*\
5749 + !*** ../node_modules/core-js/internals/object-keys-internal.js ***!
5750 + \*****************************************************************/
5751 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5752 +
5753 +"use strict";
5754 +
5755 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
5756 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
5757 +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
5758 +var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf);
5759 +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
5760 +
5761 +var push = uncurryThis([].push);
5762 +
5763 +module.exports = function (object, names) {
5764 + var O = toIndexedObject(object);
5765 + var i = 0;
5766 + var result = [];
5767 + var key;
5768 + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
5769 + // Don't enum bug & hidden keys
5770 + while (names.length > i) if (hasOwn(O, key = names[i++])) {
5771 + ~indexOf(result, key) || push(result, key);
5772 + }
5773 + return result;
5774 +};
5775 +
5776 +
5777 +/***/ }),
5778 +
5779 +/***/ "../node_modules/core-js/internals/object-keys.js":
5780 +/*!********************************************************!*\
5781 + !*** ../node_modules/core-js/internals/object-keys.js ***!
5782 + \********************************************************/
5783 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5784 +
5785 +"use strict";
5786 +
5787 +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
5788 +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
5789 +
5790 +// `Object.keys` method
5791 +// https://tc39.es/ecma262/#sec-object.keys
5792 +// eslint-disable-next-line es/no-object-keys -- safe
5793 +module.exports = Object.keys || function keys(O) {
5794 + return internalObjectKeys(O, enumBugKeys);
5795 +};
5796 +
5797 +
5798 +/***/ }),
5799 +
5800 +/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js":
5801 +/*!**************************************************************************!*\
5802 + !*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***!
5803 + \**************************************************************************/
5804 +/***/ ((__unused_webpack_module, exports) => {
5805 +
5806 +"use strict";
5807 +
5808 +var $propertyIsEnumerable = {}.propertyIsEnumerable;
5809 +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5810 +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5811 +
5812 +// Nashorn ~ JDK8 bug
5813 +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
5814 +
5815 +// `Object.prototype.propertyIsEnumerable` method implementation
5816 +// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
5817 +exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
5818 + var descriptor = getOwnPropertyDescriptor(this, V);
5819 + return !!descriptor && descriptor.enumerable;
5820 +} : $propertyIsEnumerable;
5821 +
5822 +
5823 +/***/ }),
5824 +
5825 +/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js":
5826 +/*!******************************************************************!*\
5827 + !*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***!
5828 + \******************************************************************/
5829 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5830 +
5831 +"use strict";
5832 +
5833 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
5834 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
5835 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
5836 +
5837 +var $TypeError = TypeError;
5838 +
5839 +// `OrdinaryToPrimitive` abstract operation
5840 +// https://tc39.es/ecma262/#sec-ordinarytoprimitive
5841 +module.exports = function (input, pref) {
5842 + var fn, val;
5843 + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
5844 + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
5845 + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
5846 + throw new $TypeError("Can't convert object to primitive value");
5847 +};
5848 +
5849 +
5850 +/***/ }),
5851 +
5852 +/***/ "../node_modules/core-js/internals/own-keys.js":
5853 +/*!*****************************************************!*\
5854 + !*** ../node_modules/core-js/internals/own-keys.js ***!
5855 + \*****************************************************/
5856 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5857 +
5858 +"use strict";
5859 +
5860 +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
5861 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
5862 +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js");
5863 +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js");
5864 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
5865 +
5866 +var concat = uncurryThis([].concat);
5867 +
5868 +// all object keys, includes non-enumerable and symbols
5869 +module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
5870 + var keys = getOwnPropertyNamesModule.f(anObject(it));
5871 + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
5872 + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
5873 +};
5874 +
5875 +
5876 +/***/ }),
5877 +
5878 +/***/ "../node_modules/core-js/internals/require-object-coercible.js":
5879 +/*!*********************************************************************!*\
5880 + !*** ../node_modules/core-js/internals/require-object-coercible.js ***!
5881 + \*********************************************************************/
5882 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5883 +
5884 +"use strict";
5885 +
5886 +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
5887 +
5888 +var $TypeError = TypeError;
5889 +
5890 +// `RequireObjectCoercible` abstract operation
5891 +// https://tc39.es/ecma262/#sec-requireobjectcoercible
5892 +module.exports = function (it) {
5893 + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
5894 + return it;
5895 +};
5896 +
5897 +
5898 +/***/ }),
5899 +
5900 +/***/ "../node_modules/core-js/internals/shared-key.js":
5901 +/*!*******************************************************!*\
5902 + !*** ../node_modules/core-js/internals/shared-key.js ***!
5903 + \*******************************************************/
5904 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5905 +
5906 +"use strict";
5907 +
5908 +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
5909 +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
5910 +
5911 +var keys = shared('keys');
5912 +
5913 +module.exports = function (key) {
5914 + return keys[key] || (keys[key] = uid(key));
5915 +};
5916 +
5917 +
5918 +/***/ }),
5919 +
5920 +/***/ "../node_modules/core-js/internals/shared-store.js":
5921 +/*!*********************************************************!*\
5922 + !*** ../node_modules/core-js/internals/shared-store.js ***!
5923 + \*********************************************************/
5924 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5925 +
5926 +"use strict";
5927 +
5928 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
5929 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
5930 +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
5931 +
5932 +var SHARED = '__core-js_shared__';
5933 +var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
5934 +
5935 +(store.versions || (store.versions = [])).push({
5936 + version: '3.46.0',
5937 + mode: IS_PURE ? 'pure' : 'global',
5938 + copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)',
5939 + license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE',
5940 + source: 'https://github.com/zloirock/core-js'
5941 +});
5942 +
5943 +
5944 +/***/ }),
5945 +
5946 +/***/ "../node_modules/core-js/internals/shared.js":
5947 +/*!***************************************************!*\
5948 + !*** ../node_modules/core-js/internals/shared.js ***!
5949 + \***************************************************/
5950 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5951 +
5952 +"use strict";
5953 +
5954 +var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
5955 +
5956 +module.exports = function (key, value) {
5957 + return store[key] || (store[key] = value || {});
5958 +};
5959 +
5960 +
5961 +/***/ }),
5962 +
5963 +/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js":
5964 +/*!*************************************************************************!*\
5965 + !*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***!
5966 + \*************************************************************************/
5967 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5968 +
5969 +"use strict";
5970 +
5971 +/* eslint-disable es/no-symbol -- required for testing */
5972 +var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "../node_modules/core-js/internals/environment-v8-version.js");
5973 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
5974 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
5975 +
5976 +var $String = globalThis.String;
5977 +
5978 +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
5979 +module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
5980 + var symbol = Symbol('symbol detection');
5981 + // Chrome 38 Symbol has incorrect toString conversion
5982 + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
5983 + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
5984 + // of course, fail.
5985 + return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
5986 + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
5987 + !Symbol.sham && V8_VERSION && V8_VERSION < 41;
5988 +});
5989 +
5990 +
5991 +/***/ }),
5992 +
5993 +/***/ "../node_modules/core-js/internals/to-absolute-index.js":
5994 +/*!**************************************************************!*\
5995 + !*** ../node_modules/core-js/internals/to-absolute-index.js ***!
5996 + \**************************************************************/
5997 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5998 +
5999 +"use strict";
6000 +
6001 +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
6002 +
6003 +var max = Math.max;
6004 +var min = Math.min;
6005 +
6006 +// Helper for a popular repeating case of the spec:
6007 +// Let integer be ? ToInteger(index).
6008 +// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
6009 +module.exports = function (index, length) {
6010 + var integer = toIntegerOrInfinity(index);
6011 + return integer < 0 ? max(integer + length, 0) : min(integer, length);
6012 +};
6013 +
6014 +
6015 +/***/ }),
6016 +
6017 +/***/ "../node_modules/core-js/internals/to-indexed-object.js":
6018 +/*!**************************************************************!*\
6019 + !*** ../node_modules/core-js/internals/to-indexed-object.js ***!
6020 + \**************************************************************/
6021 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6022 +
6023 +"use strict";
6024 +
6025 +// toObject with fallback for non-array-like ES3 strings
6026 +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js");
6027 +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
6028 +
6029 +module.exports = function (it) {
6030 + return IndexedObject(requireObjectCoercible(it));
6031 +};
6032 +
6033 +
6034 +/***/ }),
6035 +
6036 +/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js":
6037 +/*!*******************************************************************!*\
6038 + !*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***!
6039 + \*******************************************************************/
6040 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6041 +
6042 +"use strict";
6043 +
6044 +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js");
6045 +
6046 +// `ToIntegerOrInfinity` abstract operation
6047 +// https://tc39.es/ecma262/#sec-tointegerorinfinity
6048 +module.exports = function (argument) {
6049 + var number = +argument;
6050 + // eslint-disable-next-line no-self-compare -- NaN check
6051 + return number !== number || number === 0 ? 0 : trunc(number);
6052 +};
6053 +
6054 +
6055 +/***/ }),
6056 +
6057 +/***/ "../node_modules/core-js/internals/to-length.js":
6058 +/*!******************************************************!*\
6059 + !*** ../node_modules/core-js/internals/to-length.js ***!
6060 + \******************************************************/
6061 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6062 +
6063 +"use strict";
6064 +
6065 +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
6066 +
6067 +var min = Math.min;
6068 +
6069 +// `ToLength` abstract operation
6070 +// https://tc39.es/ecma262/#sec-tolength
6071 +module.exports = function (argument) {
6072 + var len = toIntegerOrInfinity(argument);
6073 + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
6074 +};
6075 +
6076 +
6077 +/***/ }),
6078 +
6079 +/***/ "../node_modules/core-js/internals/to-object.js":
6080 +/*!******************************************************!*\
6081 + !*** ../node_modules/core-js/internals/to-object.js ***!
6082 + \******************************************************/
6083 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6084 +
6085 +"use strict";
6086 +
6087 +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
6088 +
6089 +var $Object = Object;
6090 +
6091 +// `ToObject` abstract operation
6092 +// https://tc39.es/ecma262/#sec-toobject
6093 +module.exports = function (argument) {
6094 + return $Object(requireObjectCoercible(argument));
6095 +};
6096 +
6097 +
6098 +/***/ }),
6099 +
6100 +/***/ "../node_modules/core-js/internals/to-primitive.js":
6101 +/*!*********************************************************!*\
6102 + !*** ../node_modules/core-js/internals/to-primitive.js ***!
6103 + \*********************************************************/
6104 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6105 +
6106 +"use strict";
6107 +
6108 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
6109 +var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
6110 +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
6111 +var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
6112 +var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js");
6113 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
6114 +
6115 +var $TypeError = TypeError;
6116 +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
6117 +
6118 +// `ToPrimitive` abstract operation
6119 +// https://tc39.es/ecma262/#sec-toprimitive
6120 +module.exports = function (input, pref) {
6121 + if (!isObject(input) || isSymbol(input)) return input;
6122 + var exoticToPrim = getMethod(input, TO_PRIMITIVE);
6123 + var result;
6124 + if (exoticToPrim) {
6125 + if (pref === undefined) pref = 'default';
6126 + result = call(exoticToPrim, input, pref);
6127 + if (!isObject(result) || isSymbol(result)) return result;
6128 + throw new $TypeError("Can't convert object to primitive value");
6129 + }
6130 + if (pref === undefined) pref = 'number';
6131 + return ordinaryToPrimitive(input, pref);
6132 +};
6133 +
6134 +
6135 +/***/ }),
6136 +
6137 +/***/ "../node_modules/core-js/internals/to-property-key.js":
6138 +/*!************************************************************!*\
6139 + !*** ../node_modules/core-js/internals/to-property-key.js ***!
6140 + \************************************************************/
6141 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6142 +
6143 +"use strict";
6144 +
6145 +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js");
6146 +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
6147 +
6148 +// `ToPropertyKey` abstract operation
6149 +// https://tc39.es/ecma262/#sec-topropertykey
6150 +module.exports = function (argument) {
6151 + var key = toPrimitive(argument, 'string');
6152 + return isSymbol(key) ? key : key + '';
6153 +};
6154 +
6155 +
6156 +/***/ }),
6157 +
6158 +/***/ "../node_modules/core-js/internals/to-string-tag-support.js":
6159 +/*!******************************************************************!*\
6160 + !*** ../node_modules/core-js/internals/to-string-tag-support.js ***!
6161 + \******************************************************************/
6162 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6163 +
6164 +"use strict";
6165 +
6166 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
6167 +
6168 +var TO_STRING_TAG = wellKnownSymbol('toStringTag');
6169 +var test = {};
6170 +
6171 +test[TO_STRING_TAG] = 'z';
6172 +
6173 +module.exports = String(test) === '[object z]';
6174 +
6175 +
6176 +/***/ }),
6177 +
6178 +/***/ "../node_modules/core-js/internals/try-to-string.js":
6179 +/*!**********************************************************!*\
6180 + !*** ../node_modules/core-js/internals/try-to-string.js ***!
6181 + \**********************************************************/
6182 +/***/ ((module) => {
6183 +
6184 +"use strict";
6185 +
6186 +var $String = String;
6187 +
6188 +module.exports = function (argument) {
6189 + try {
6190 + return $String(argument);
6191 + } catch (error) {
6192 + return 'Object';
6193 + }
6194 +};
6195 +
6196 +
6197 +/***/ }),
6198 +
6199 +/***/ "../node_modules/core-js/internals/uid.js":
6200 +/*!************************************************!*\
6201 + !*** ../node_modules/core-js/internals/uid.js ***!
6202 + \************************************************/
6203 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6204 +
6205 +"use strict";
6206 +
6207 +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
6208 +
6209 +var id = 0;
6210 +var postfix = Math.random();
6211 +var toString = uncurryThis(1.1.toString);
6212 +
6213 +module.exports = function (key) {
6214 + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
6215 +};
6216 +
6217 +
6218 +/***/ }),
6219 +
6220 +/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js":
6221 +/*!**************************************************************!*\
6222 + !*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***!
6223 + \**************************************************************/
6224 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6225 +
6226 +"use strict";
6227 +
6228 +/* eslint-disable es/no-symbol -- required for testing */
6229 +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
6230 +
6231 +module.exports = NATIVE_SYMBOL &&
6232 + !Symbol.sham &&
6233 + typeof Symbol.iterator == 'symbol';
6234 +
6235 +
6236 +/***/ }),
6237 +
6238 +/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js":
6239 +/*!********************************************************************!*\
6240 + !*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
6241 + \********************************************************************/
6242 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6243 +
6244 +"use strict";
6245 +
6246 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
6247 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
6248 +
6249 +// V8 ~ Chrome 36-
6250 +// https://bugs.chromium.org/p/v8/issues/detail?id=3334
6251 +module.exports = DESCRIPTORS && fails(function () {
6252 + // eslint-disable-next-line es/no-object-defineproperty -- required for testing
6253 + return Object.defineProperty(function () { /* empty */ }, 'prototype', {
6254 + value: 42,
6255 + writable: false
6256 + }).prototype !== 42;
6257 +});
6258 +
6259 +
6260 +/***/ }),
6261 +
6262 +/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js":
6263 +/*!*********************************************************************!*\
6264 + !*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***!
6265 + \*********************************************************************/
6266 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6267 +
6268 +"use strict";
6269 +
6270 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
6271 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
6272 +
6273 +var WeakMap = globalThis.WeakMap;
6274 +
6275 +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
6276 +
6277 +
6278 +/***/ }),
6279 +
6280 +/***/ "../node_modules/core-js/internals/well-known-symbol.js":
6281 +/*!**************************************************************!*\
6282 + !*** ../node_modules/core-js/internals/well-known-symbol.js ***!
6283 + \**************************************************************/
6284 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6285 +
6286 +"use strict";
6287 +
6288 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
6289 +var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
6290 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
6291 +var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
6292 +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
6293 +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
6294 +
6295 +var Symbol = globalThis.Symbol;
6296 +var WellKnownSymbolsStore = shared('wks');
6297 +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
6298 +
6299 +module.exports = function (name) {
6300 + if (!hasOwn(WellKnownSymbolsStore, name)) {
6301 + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
6302 + ? Symbol[name]
6303 + : createWellKnownSymbol('Symbol.' + name);
6304 + } return WellKnownSymbolsStore[name];
6305 +};
6306 +
6307 +
6308 +/***/ }),
6309 +
6310 +/***/ "../node_modules/core-js/modules/es.array.push.js":
6311 +/*!********************************************************!*\
6312 + !*** ../node_modules/core-js/modules/es.array.push.js ***!
6313 + \********************************************************/
6314 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6315 +
6316 +"use strict";
6317 +
6318 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6319 +var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
6320 +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
6321 +var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "../node_modules/core-js/internals/array-set-length.js");
6322 +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "../node_modules/core-js/internals/does-not-exceed-safe-integer.js");
6323 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
6324 +
6325 +var INCORRECT_TO_LENGTH = fails(function () {
6326 + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
6327 +});
6328 +
6329 +// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
6330 +// https://bugs.chromium.org/p/v8/issues/detail?id=12681
6331 +var properErrorOnNonWritableLength = function () {
6332 + try {
6333 + // eslint-disable-next-line es/no-object-defineproperty -- safe
6334 + Object.defineProperty([], 'length', { writable: false }).push();
6335 + } catch (error) {
6336 + return error instanceof TypeError;
6337 + }
6338 +};
6339 +
6340 +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
6341 +
6342 +// `Array.prototype.push` method
6343 +// https://tc39.es/ecma262/#sec-array.prototype.push
6344 +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
6345 + // eslint-disable-next-line no-unused-vars -- required for `.length`
6346 + push: function push(item) {
6347 + var O = toObject(this);
6348 + var len = lengthOfArrayLike(O);
6349 + var argCount = arguments.length;
6350 + doesNotExceedSafeInteger(len + argCount);
6351 + for (var i = 0; i < argCount; i++) {
6352 + O[len] = arguments[i];
6353 + len++;
6354 + }
6355 + setArrayLength(O, len);
6356 + return len;
6357 + }
6358 +});
6359 +
6360 +
6361 +/***/ }),
6362 +
6363 +/***/ "../node_modules/core-js/modules/es.iterator.constructor.js":
6364 +/*!******************************************************************!*\
6365 + !*** ../node_modules/core-js/modules/es.iterator.constructor.js ***!
6366 + \******************************************************************/
6367 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6368 +
6369 +"use strict";
6370 +
6371 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6372 +var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
6373 +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js");
6374 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
6375 +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
6376 +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js");
6377 +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "../node_modules/core-js/internals/define-built-in-accessor.js");
6378 +var createProperty = __webpack_require__(/*! ../internals/create-property */ "../node_modules/core-js/internals/create-property.js");
6379 +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
6380 +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
6381 +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
6382 +var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
6383 +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
6384 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
6385 +
6386 +var CONSTRUCTOR = 'constructor';
6387 +var ITERATOR = 'Iterator';
6388 +var TO_STRING_TAG = wellKnownSymbol('toStringTag');
6389 +
6390 +var $TypeError = TypeError;
6391 +var NativeIterator = globalThis[ITERATOR];
6392 +
6393 +// FF56- have non-standard global helper `Iterator`
6394 +var FORCED = IS_PURE
6395 + || !isCallable(NativeIterator)
6396 + || NativeIterator.prototype !== IteratorPrototype
6397 + // FF44- non-standard `Iterator` passes previous tests
6398 + || !fails(function () { NativeIterator({}); });
6399 +
6400 +var IteratorConstructor = function Iterator() {
6401 + anInstance(this, IteratorPrototype);
6402 + if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
6403 +};
6404 +
6405 +var defineIteratorPrototypeAccessor = function (key, value) {
6406 + if (DESCRIPTORS) {
6407 + defineBuiltInAccessor(IteratorPrototype, key, {
6408 + configurable: true,
6409 + get: function () {
6410 + return value;
6411 + },
6412 + set: function (replacement) {
6413 + anObject(this);
6414 + if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
6415 + if (hasOwn(this, key)) this[key] = replacement;
6416 + else createProperty(this, key, replacement);
6417 + }
6418 + });
6419 + } else IteratorPrototype[key] = value;
6420 +};
6421 +
6422 +if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
6423 +
6424 +if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
6425 + defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
6426 +}
6427 +
6428 +IteratorConstructor.prototype = IteratorPrototype;
6429 +
6430 +// `Iterator` constructor
6431 +// https://tc39.es/ecma262/#sec-iterator
6432 +$({ global: true, constructor: true, forced: FORCED }, {
6433 + Iterator: IteratorConstructor
6434 +});
6435 +
6436 +
6437 +/***/ }),
6438 +
6439 +/***/ "../node_modules/core-js/modules/es.iterator.filter.js":
6440 +/*!*************************************************************!*\
6441 + !*** ../node_modules/core-js/modules/es.iterator.filter.js ***!
6442 + \*************************************************************/
6443 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6444 +
6445 +"use strict";
6446 +
6447 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6448 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
6449 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
6450 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
6451 +var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
6452 +var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js");
6453 +var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js");
6454 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
6455 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
6456 +var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js");
6457 +var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js");
6458 +
6459 +var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
6460 +var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
6461 + && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError);
6462 +
6463 +var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
6464 +
6465 +var IteratorProxy = createIteratorProxy(function () {
6466 + var iterator = this.iterator;
6467 + var predicate = this.predicate;
6468 + var next = this.next;
6469 + var result, done, value;
6470 + while (true) {
6471 + result = anObject(call(next, iterator));
6472 + done = this.done = !!result.done;
6473 + if (done) return;
6474 + value = result.value;
6475 + if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
6476 + }
6477 +});
6478 +
6479 +// `Iterator.prototype.filter` method
6480 +// https://tc39.es/ecma262/#sec-iterator.prototype.filter
6481 +$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
6482 + filter: function filter(predicate) {
6483 + anObject(this);
6484 + try {
6485 + aCallable(predicate);
6486 + } catch (error) {
6487 + iteratorClose(this, 'throw', error);
6488 + }
6489 +
6490 + if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
6491 +
6492 + return new IteratorProxy(getIteratorDirect(this), {
6493 + predicate: predicate
6494 + });
6495 + }
6496 +});
6497 +
6498 +
6499 +/***/ }),
6500 +
6501 +/***/ "../node_modules/core-js/modules/es.iterator.find.js":
6502 +/*!***********************************************************!*\
6503 + !*** ../node_modules/core-js/modules/es.iterator.find.js ***!
6504 + \***********************************************************/
6505 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6506 +
6507 +"use strict";
6508 +
6509 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6510 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
6511 +var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
6512 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
6513 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
6514 +var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
6515 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
6516 +var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js");
6517 +
6518 +var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
6519 +
6520 +// `Iterator.prototype.find` method
6521 +// https://tc39.es/ecma262/#sec-iterator.prototype.find
6522 +$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
6523 + find: function find(predicate) {
6524 + anObject(this);
6525 + try {
6526 + aCallable(predicate);
6527 + } catch (error) {
6528 + iteratorClose(this, 'throw', error);
6529 + }
6530 +
6531 + if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
6532 +
6533 + var record = getIteratorDirect(this);
6534 + var counter = 0;
6535 + return iterate(record, function (value, stop) {
6536 + if (predicate(value, counter++)) return stop(value);
6537 + }, { IS_RECORD: true, INTERRUPTED: true }).result;
6538 + }
6539 +});
6540 +
6541 +
6542 +/***/ }),
6543 +
6544 +/***/ "../node_modules/core-js/modules/es.iterator.for-each.js":
6545 +/*!***************************************************************!*\
6546 + !*** ../node_modules/core-js/modules/es.iterator.for-each.js ***!
6547 + \***************************************************************/
6548 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6549 +
6550 +"use strict";
6551 +
6552 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6553 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
6554 +var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
6555 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
6556 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
6557 +var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
6558 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
6559 +var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js");
6560 +
6561 +var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
6562 +
6563 +// `Iterator.prototype.forEach` method
6564 +// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
6565 +$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
6566 + forEach: function forEach(fn) {
6567 + anObject(this);
6568 + try {
6569 + aCallable(fn);
6570 + } catch (error) {
6571 + iteratorClose(this, 'throw', error);
6572 + }
6573 +
6574 + if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
6575 +
6576 + var record = getIteratorDirect(this);
6577 + var counter = 0;
6578 + iterate(record, function (value) {
6579 + fn(value, counter++);
6580 + }, { IS_RECORD: true });
6581 + }
6582 +});
6583 +
6584 +
6585 +/***/ }),
6586 +
6587 +/***/ "../node_modules/core-js/modules/es.iterator.map.js":
6588 +/*!**********************************************************!*\
6589 + !*** ../node_modules/core-js/modules/es.iterator.map.js ***!
6590 + \**********************************************************/
6591 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6592 +
6593 +"use strict";
6594 +
6595 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6596 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
6597 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
6598 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
6599 +var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
6600 +var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js");
6601 +var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js");
6602 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
6603 +var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js");
6604 +var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js");
6605 +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
6606 +
6607 +var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
6608 +var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
6609 + && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
6610 +
6611 +var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
6612 +
6613 +var IteratorProxy = createIteratorProxy(function () {
6614 + var iterator = this.iterator;
6615 + var result = anObject(call(this.next, iterator));
6616 + var done = this.done = !!result.done;
6617 + if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
6618 +});
6619 +
6620 +// `Iterator.prototype.map` method
6621 +// https://tc39.es/ecma262/#sec-iterator.prototype.map
6622 +$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
6623 + map: function map(mapper) {
6624 + anObject(this);
6625 + try {
6626 + aCallable(mapper);
6627 + } catch (error) {
6628 + iteratorClose(this, 'throw', error);
6629 + }
6630 +
6631 + if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
6632 +
6633 + return new IteratorProxy(getIteratorDirect(this), {
6634 + mapper: mapper
6635 + });
6636 + }
6637 +});
6638 +
6639 +
6640 +/***/ }),
6641 +
6642 +/***/ "../node_modules/core-js/modules/es.iterator.some.js":
6643 +/*!***********************************************************!*\
6644 + !*** ../node_modules/core-js/modules/es.iterator.some.js ***!
6645 + \***********************************************************/
6646 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6647 +
6648 +"use strict";
6649 +
6650 +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
6651 +var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
6652 +var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
6653 +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
6654 +var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
6655 +var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
6656 +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
6657 +var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(/*! ../internals/iterator-helper-without-closing-on-early-error */ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js");
6658 +
6659 +var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
6660 +
6661 +// `Iterator.prototype.some` method
6662 +// https://tc39.es/ecma262/#sec-iterator.prototype.some
6663 +$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
6664 + some: function some(predicate) {
6665 + anObject(this);
6666 + try {
6667 + aCallable(predicate);
6668 + } catch (error) {
6669 + iteratorClose(this, 'throw', error);
6670 + }
6671 +
6672 + if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
6673 +
6674 + var record = getIteratorDirect(this);
6675 + var counter = 0;
6676 + return iterate(record, function (value, stop) {
6677 + if (predicate(value, counter++)) return stop();
6678 + }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
6679 + }
6680 +});
6681 +
6682 +
6683 +/***/ }),
6684 +
6685 +/***/ "../node_modules/core-js/modules/esnext.iterator.constructor.js":
6686 +/*!**********************************************************************!*\
6687 + !*** ../node_modules/core-js/modules/esnext.iterator.constructor.js ***!
6688 + \**********************************************************************/
6689 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6690 +
6691 +"use strict";
6692 +
6693 +// TODO: Remove from `core-js@4`
6694 +__webpack_require__(/*! ../modules/es.iterator.constructor */ "../node_modules/core-js/modules/es.iterator.constructor.js");
6695 +
6696 +
6697 +/***/ }),
6698 +
6699 +/***/ "../node_modules/core-js/modules/esnext.iterator.filter.js":
6700 +/*!*****************************************************************!*\
6701 + !*** ../node_modules/core-js/modules/esnext.iterator.filter.js ***!
6702 + \*****************************************************************/
6703 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6704 +
6705 +"use strict";
6706 +
6707 +// TODO: Remove from `core-js@4`
6708 +__webpack_require__(/*! ../modules/es.iterator.filter */ "../node_modules/core-js/modules/es.iterator.filter.js");
6709 +
6710 +
6711 +/***/ }),
6712 +
6713 +/***/ "../node_modules/core-js/modules/esnext.iterator.find.js":
6714 +/*!***************************************************************!*\
6715 + !*** ../node_modules/core-js/modules/esnext.iterator.find.js ***!
6716 + \***************************************************************/
6717 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6718 +
6719 +"use strict";
6720 +
6721 +// TODO: Remove from `core-js@4`
6722 +__webpack_require__(/*! ../modules/es.iterator.find */ "../node_modules/core-js/modules/es.iterator.find.js");
6723 +
6724 +
6725 +/***/ }),
6726 +
6727 +/***/ "../node_modules/core-js/modules/esnext.iterator.for-each.js":
6728 +/*!*******************************************************************!*\
6729 + !*** ../node_modules/core-js/modules/esnext.iterator.for-each.js ***!
6730 + \*******************************************************************/
6731 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6732 +
6733 +"use strict";
6734 +
6735 +// TODO: Remove from `core-js@4`
6736 +__webpack_require__(/*! ../modules/es.iterator.for-each */ "../node_modules/core-js/modules/es.iterator.for-each.js");
6737 +
6738 +
6739 +/***/ }),
6740 +
6741 +/***/ "../node_modules/core-js/modules/esnext.iterator.map.js":
6742 +/*!**************************************************************!*\
6743 + !*** ../node_modules/core-js/modules/esnext.iterator.map.js ***!
6744 + \**************************************************************/
6745 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6746 +
6747 +"use strict";
6748 +
6749 +// TODO: Remove from `core-js@4`
6750 +__webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js");
6751 +
6752 +
6753 +/***/ }),
6754 +
6755 +/***/ "../node_modules/core-js/modules/esnext.iterator.some.js":
6756 +/*!***************************************************************!*\
6757 + !*** ../node_modules/core-js/modules/esnext.iterator.some.js ***!
6758 + \***************************************************************/
6759 +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6760 +
6761 +"use strict";
6762 +
6763 +// TODO: Remove from `core-js@4`
6764 +__webpack_require__(/*! ../modules/es.iterator.some */ "../node_modules/core-js/modules/es.iterator.some.js");
6765 +
6766 +
6767 +/***/ })
6768 +
6769 +},
6770 +/******/ __webpack_require__ => { // webpackRuntimeModules
6771 +/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
6772 +/******/ var __webpack_exports__ = (__webpack_exec__("../assets/dev/js/frontend/modules.js"));
6773 +/******/ }
6774 +]);
3411 6775 //# sourceMappingURL=frontend-modules.js.map