| @@ -1,142 +1,7 @@ | ||
| 1 | +/*! elementor - v3.28.0 - 10-03-2025 */ | |
| 1 | 2 | (self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend-modules"],{ |
| 2 | 3 | |
| 3 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js": | |
| 4 | -/*!************************************************************************************!*\ | |
| 5 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***! | |
| 6 | - \************************************************************************************/ | |
| 7 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 8 | - | |
| 9 | -"use strict"; | |
| 10 | - | |
| 11 | - | |
| 12 | -Object.defineProperty(exports, "__esModule", ({ | |
| 13 | - value: true | |
| 14 | -})); | |
| 15 | -exports.BaseRegistry = void 0; | |
| 16 | -__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); | |
| 17 | -__webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); | |
| 18 | -__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); | |
| 19 | -__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js"); | |
| 20 | -class BaseRegistry { | |
| 21 | - constructor() { | |
| 22 | - this.sections = new Map(); | |
| 23 | - } | |
| 24 | - register(section) { | |
| 25 | - if (!section.key || !section.title) { | |
| 26 | - throw new Error('Template type must have key and title'); | |
| 27 | - } | |
| 28 | - const existingSection = this.get(section.key); | |
| 29 | - const formattedSection = existingSection || this.formatSection(section); | |
| 30 | - if (section.children) { | |
| 31 | - // If existing section has children, merge them with new children | |
| 32 | - if (formattedSection.children) { | |
| 33 | - const existingChildrenMap = new Map(formattedSection.children.map(child => [child.key, child])); | |
| 34 | - | |
| 35 | - // Override existing children with new ones and add new children | |
| 36 | - section.children.forEach(childSection => { | |
| 37 | - const formattedChild = this.formatSection(childSection); | |
| 38 | - existingChildrenMap.set(childSection.key, formattedChild); | |
| 39 | - }); | |
| 40 | - formattedSection.children = Array.from(existingChildrenMap.values()); | |
| 41 | - } else { | |
| 42 | - formattedSection.children = section.children.map(childSection => this.formatSection(childSection)); | |
| 43 | - } | |
| 44 | - } | |
| 45 | - this.sections.set(section.key, formattedSection); | |
| 46 | - } | |
| 47 | - formatSection({ | |
| 48 | - children, | |
| 49 | - ...section | |
| 50 | - }) { | |
| 51 | - return { | |
| 52 | - key: section.key, | |
| 53 | - title: section.title, | |
| 54 | - description: section.description || '', | |
| 55 | - useParentDefault: section.useParentDefault !== false, | |
| 56 | - getInitialState: section.getInitialState || null, | |
| 57 | - component: section.component || null, | |
| 58 | - order: section.order || 10, | |
| 59 | - isAvailable: section.isAvailable || (() => true), | |
| 60 | - ...section | |
| 61 | - }; | |
| 62 | - } | |
| 63 | - getAll() { | |
| 64 | - return Array.from(this.sections.values()).filter(type => type.isAvailable()).map(type => { | |
| 65 | - if (type.children) { | |
| 66 | - return { | |
| 67 | - ...type, | |
| 68 | - children: [...type.children].sort((a, b) => a.order - b.order) | |
| 69 | - }; | |
| 70 | - } | |
| 71 | - return type; | |
| 72 | - }).sort((a, b) => a.order - b.order); | |
| 73 | - } | |
| 74 | - get(key) { | |
| 75 | - return this.sections.get(key); | |
| 76 | - } | |
| 77 | -} | |
| 78 | -exports.BaseRegistry = BaseRegistry; | |
| 79 | - | |
| 80 | -/***/ }), | |
| 81 | - | |
| 82 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js": | |
| 83 | -/*!*****************************************************************************************************!*\ | |
| 84 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js ***! | |
| 85 | - \*****************************************************************************************************/ | |
| 86 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 87 | - | |
| 88 | -"use strict"; | |
| 89 | - | |
| 90 | - | |
| 91 | -Object.defineProperty(exports, "__esModule", ({ | |
| 92 | - value: true | |
| 93 | -})); | |
| 94 | -exports.customizationDialogsRegistry = void 0; | |
| 95 | -var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js"); | |
| 96 | -const customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry(); | |
| 97 | - | |
| 98 | -/***/ }), | |
| 99 | - | |
| 100 | -/***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js": | |
| 101 | -/*!******************************************************************************************************!*\ | |
| 102 | - !*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***! | |
| 103 | - \******************************************************************************************************/ | |
| 104 | -/***/ ((__unused_webpack_module, exports) => { | |
| 105 | - | |
| 106 | -"use strict"; | |
| 107 | - | |
| 108 | - | |
| 109 | -Object.defineProperty(exports, "__esModule", ({ | |
| 110 | - value: true | |
| 111 | -})); | |
| 112 | -exports.createGetInitialState = createGetInitialState; | |
| 113 | -function createGetInitialState(exportGroup, additionalProps = {}) { | |
| 114 | - return (data, parentInitialState) => { | |
| 115 | - let isEnabled = parentInitialState; | |
| 116 | - const isImport = data.hasOwnProperty('uploadedData'); | |
| 117 | - if (isImport) { | |
| 118 | - isEnabled = false; | |
| 119 | - const templates = data.uploadedData.manifest.templates; | |
| 120 | - const exportGroups = elementorAppConfig?.['import-export-customization']?.exportGroups || {}; | |
| 121 | - for (const templateId in templates) { | |
| 122 | - const template = templates[templateId]; | |
| 123 | - const templateExportGroup = exportGroups[template.doc_type]; | |
| 124 | - if (templateExportGroup === exportGroup) { | |
| 125 | - isEnabled = true; | |
| 126 | - break; | |
| 127 | - } | |
| 128 | - } | |
| 129 | - } | |
| 130 | - return { | |
| 131 | - enabled: isEnabled, | |
| 132 | - ...additionalProps | |
| 133 | - }; | |
| 134 | - }; | |
| 135 | -} | |
| 136 | - | |
| 137 | -/***/ }), | |
| 138 | - | |
| 139 | 4 | /***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 140 | 5 | /*!******************************************************!*\ |
| 141 | 6 | !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 142 | 7 | \******************************************************/ |
| @@ -405,10 +270,10 @@ | ||
| 405 | 270 | } |
| 406 | 271 | addClassToSwiperContainer(className) { |
| 407 | 272 | this.getDefaultElements().$swiperContainer[0].classList.add(className); |
| 408 | 273 | } |
| 409 | - async onInit(...args) { | |
| 410 | - super.onInit(...args); | |
| 274 | + async onInit() { | |
| 275 | + super.onInit(...arguments); | |
| 411 | 276 | if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { |
| 412 | 277 | return; |
| 413 | 278 | } |
| 414 | 279 | await this.initSwiper(); |
| @@ -500,9 +365,10 @@ | ||
| 500 | 365 | if ('activeItemIndex' === propertyName) { |
| 501 | 366 | this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); |
| 502 | 367 | } |
| 503 | 368 | } |
| 504 | - getSpaceBetween(device = null) { | |
| 369 | + getSpaceBetween() { | |
| 370 | + let device = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 505 | 371 | const responsiveControlValue = elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), 'image_spacing_custom', 'size', device); |
| 506 | 372 | return Number(responsiveControlValue) || 0; |
| 507 | 373 | } |
| 508 | 374 | updateSpaceBetween(propertyName) { |
| @@ -514,9 +380,10 @@ | ||
| 514 | 380 | } |
| 515 | 381 | this.swiper.params.spaceBetween = newSpaceBetween; |
| 516 | 382 | this.swiper.update(); |
| 517 | 383 | } |
| 518 | - getPaginationBullets(type = 'array') { | |
| 384 | + getPaginationBullets() { | |
| 385 | + let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'array'; | |
| 519 | 386 | const paginationBullets = this.$element.find(this.getSettings('selectors').paginationBullet); |
| 520 | 387 | return 'array' === type ? Array.from(paginationBullets) : paginationBullets; |
| 521 | 388 | } |
| 522 | 389 | a11ySetPaginationTabindex() { |
| @@ -538,9 +405,10 @@ | ||
| 538 | 405 | transformValue = transformValue.split(','); |
| 539 | 406 | transformValue = parseInt(transformValue[0].replace('px', '')); |
| 540 | 407 | return !!transformValue ? transformValue : 0; |
| 541 | 408 | } |
| 542 | - a11ySetSlideAriaHidden(status = '') { | |
| 409 | + a11ySetSlideAriaHidden() { | |
| 410 | + let status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; | |
| 543 | 411 | const currentIndex = 'initialisation' === status ? 0 : this.swiper?.activeIndex; |
| 544 | 412 | if ('number' !== typeof currentIndex) { |
| 545 | 413 | return; |
| 546 | 414 | } |
| @@ -874,9 +742,10 @@ | ||
| 874 | 742 | } |
| 875 | 743 | isActive(settings) { |
| 876 | 744 | return elementorFrontend.isEditMode() || settings.$element.hasClass(this.getStretchedClass()); |
| 877 | 745 | } |
| 878 | - getStretchElementForConfig(childSelector = null) { | |
| 746 | + getStretchElementForConfig() { | |
| 747 | + let childSelector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 879 | 748 | if (childSelector) { |
| 880 | 749 | return this.$element.find(childSelector); |
| 881 | 750 | } |
| 882 | 751 | return this.$element; |
| @@ -905,14 +774,14 @@ | ||
| 905 | 774 | return; |
| 906 | 775 | } |
| 907 | 776 | this.stretchElement.stretch(); |
| 908 | 777 | } |
| 909 | - onInit(...args) { | |
| 778 | + onInit() { | |
| 910 | 779 | if (!this.isActive(this.getSettings())) { |
| 911 | 780 | return; |
| 912 | 781 | } |
| 913 | 782 | this.initStretch(); |
| 914 | - super.onInit(...args); | |
| 783 | + super.onInit(...arguments); | |
| 915 | 784 | this.stretch(); |
| 916 | 785 | } |
| 917 | 786 | onElementChange(propertyName) { |
| 918 | 787 | const stretchSettingName = this.getStretchSettingName(); |
| @@ -1118,9 +987,10 @@ | ||
| 1118 | 987 | * @param {{}} args |
| 1119 | 988 | * |
| 1120 | 989 | * @throws {Error} |
| 1121 | 990 | */ |
| 1122 | - requireArgument(property, args = this.args) { | |
| 991 | + requireArgument(property) { | |
| 992 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 1123 | 993 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| 1124 | 994 | throw Error(`${property} is required.`); |
| 1125 | 995 | } |
| 1126 | 996 | } |
| @@ -1135,9 +1005,10 @@ | ||
| 1135 | 1005 | * @param {{}} args |
| 1136 | 1006 | * |
| 1137 | 1007 | * @throws {Error} |
| 1138 | 1008 | */ |
| 1139 | - requireArgumentType(property, type, args = this.args) { | |
| 1009 | + requireArgumentType(property, type) { | |
| 1010 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1140 | 1011 | this.requireArgument(property, args); |
| 1141 | 1012 | if (typeof args[property] !== type) { |
| 1142 | 1013 | throw Error(`${property} invalid type: ${type}.`); |
| 1143 | 1014 | } |
| @@ -1153,9 +1024,10 @@ | ||
| 1153 | 1024 | * @param {{}} args |
| 1154 | 1025 | * |
| 1155 | 1026 | * @throws {Error} |
| 1156 | 1027 | */ |
| 1157 | - requireArgumentInstance(property, instance, args = this.args) { | |
| 1028 | + requireArgumentInstance(property, instance) { | |
| 1029 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1158 | 1030 | this.requireArgument(property, args); |
| 1159 | 1031 | if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 1160 | 1032 | throw Error(`${property} invalid instance.`); |
| 1161 | 1033 | } |
| @@ -1171,9 +1043,10 @@ | ||
| 1171 | 1043 | * @param {{}} args |
| 1172 | 1044 | * |
| 1173 | 1045 | * @throws {Error} |
| 1174 | 1046 | */ |
| 1175 | - requireArgumentConstructor(property, type, args = this.args) { | |
| 1047 | + requireArgumentConstructor(property, type) { | |
| 1048 | + let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 1176 | 1049 | this.requireArgument(property, args); |
| 1177 | 1050 | |
| 1178 | 1051 | // Note: Converting the constructor to string in order to avoid equation issues |
| 1179 | 1052 | // due to different memory addresses between iframes (window.Object !== window.top.Object). |
| @@ -1189,9 +1062,9 @@ | ||
| 1189 | 1062 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 1190 | 1063 | /*!***********************************************************************!*\ |
| 1191 | 1064 | !*** ../assets/dev/js/modules/imports/force-method-implementation.js ***! |
| 1192 | 1065 | \***********************************************************************/ |
| 1193 | -/***/ ((__unused_webpack_module, exports) => { | |
| 1066 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1194 | 1067 | |
| 1195 | 1068 | "use strict"; |
| 1196 | 1069 | |
| 1197 | 1070 | |
| @@ -1198,12 +1071,15 @@ | ||
| 1198 | 1071 | Object.defineProperty(exports, "__esModule", ({ |
| 1199 | 1072 | value: true |
| 1200 | 1073 | })); |
| 1201 | 1074 | exports["default"] = exports.ForceMethodImplementation = void 0; |
| 1075 | +__webpack_require__(/*! core-js/modules/es.array.includes.js */ "../node_modules/core-js/modules/es.array.includes.js"); | |
| 1202 | 1076 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 1203 | 1077 | |
| 1204 | 1078 | class ForceMethodImplementation extends Error { |
| 1205 | - constructor(info = {}, args = {}) { | |
| 1079 | + constructor() { | |
| 1080 | + let info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1081 | + let args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1206 | 1082 | super(`${info.isStatic ? 'static ' : ''}${info.fullName}() should be implemented, please provide '${info.functionName || info.fullName}' functionality.`, args); |
| 1207 | 1083 | |
| 1208 | 1084 | // Allow to pass custom properties to the error. |
| 1209 | 1085 | if (Object.keys(args).length) { |
| @@ -1556,9 +1432,10 @@ | ||
| 1556 | 1432 | let lastScrollY = 0; |
| 1557 | 1433 | |
| 1558 | 1434 | // Generating thresholds points along the animation height |
| 1559 | 1435 | // More thresholds points = more trigger points of the callback |
| 1560 | - const buildThresholds = (sensitivityPercentage = 0) => { | |
| 1436 | + const buildThresholds = function () { | |
| 1437 | + let sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | |
| 1561 | 1438 | const thresholds = []; |
| 1562 | 1439 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 1563 | 1440 | const increment = 100 / sensitivityPercentage; |
| 1564 | 1441 | for (let i = 0; i <= 100; i += increment) { |
| @@ -1595,9 +1472,10 @@ | ||
| 1595 | 1472 | * @param {Object} offsetObj |
| 1596 | 1473 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1597 | 1474 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1598 | 1475 | */ |
| 1599 | - static getElementViewportPercentage($element, offsetObj = {}) { | |
| 1476 | + static getElementViewportPercentage($element) { | |
| 1477 | + let offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 1600 | 1478 | const elementOffset = $element[0].getBoundingClientRect(), |
| 1601 | 1479 | offsetStart = offsetObj.start || 0, |
| 1602 | 1480 | offsetEnd = offsetObj.end || 0, |
| 1603 | 1481 | windowStartOffset = window.innerHeight * offsetStart / 100, |
| @@ -1615,9 +1493,11 @@ | ||
| 1615 | 1493 | * @param {number} offsetObj.start - Offset start value in percentages |
| 1616 | 1494 | * @param {number} offsetObj.end - Offset end value in percentages |
| 1617 | 1495 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 1618 | 1496 | */ |
| 1619 | - static getPageScrollPercentage(offsetObj = {}, limitPageHeight) { | |
| 1497 | + static getPageScrollPercentage() { | |
| 1498 | + let offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1499 | + let limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; | |
| 1620 | 1500 | const offsetStart = offsetObj.start || 0, |
| 1621 | 1501 | offsetEnd = offsetObj.end || 0, |
| 1622 | 1502 | initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, |
| 1623 | 1503 | heightOffset = initialPageHeight * offsetStart / 100, |
| @@ -1681,11 +1561,9 @@ | ||
| 1681 | 1561 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1682 | 1562 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1683 | 1563 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1684 | 1564 | var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); |
| 1685 | -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"); | |
| 1686 | -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"); | |
| 1687 | -const baseModules = { | |
| 1565 | +var _default = exports["default"] = window.elementorModules = { | |
| 1688 | 1566 | Module: _module.default, |
| 1689 | 1567 | ViewModule: _viewModule.default, |
| 1690 | 1568 | ArgsObject: _argsObject.default, |
| 1691 | 1569 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -1691,20 +1569,10 @@ | ||
| 1691 | 1569 | ForceMethodImplementation: _forceMethodImplementation.default, |
| 1692 | 1570 | utils: { |
| 1693 | 1571 | Masonry: _masonry.default, |
| 1694 | 1572 | Scroll: _scroll.default |
| 1695 | - }, | |
| 1696 | - importExport: { | |
| 1697 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 1698 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 1699 | 1573 | } |
| 1700 | 1574 | }; |
| 1701 | -if (!window.elementorModules) { | |
| 1702 | - window.elementorModules = baseModules; | |
| 1703 | -} else { | |
| 1704 | - Object.assign(window.elementorModules, baseModules); | |
| 1705 | -} | |
| 1706 | -var _default = exports["default"] = window.elementorModules; | |
| 1707 | 1575 | |
| 1708 | 1576 | /***/ }), |
| 1709 | 1577 | |
| 1710 | 1578 | /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| @@ -1743,8 +1611,40 @@ | ||
| 1743 | 1611 | |
| 1744 | 1612 | |
| 1745 | 1613 | /***/ }), |
| 1746 | 1614 | |
| 1615 | +/***/ "../node_modules/core-js/internals/add-to-unscopables.js": | |
| 1616 | +/*!***************************************************************!*\ | |
| 1617 | + !*** ../node_modules/core-js/internals/add-to-unscopables.js ***! | |
| 1618 | + \***************************************************************/ | |
| 1619 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1620 | + | |
| 1621 | +"use strict"; | |
| 1622 | + | |
| 1623 | +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js"); | |
| 1624 | +var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js"); | |
| 1625 | +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); | |
| 1626 | + | |
| 1627 | +var UNSCOPABLES = wellKnownSymbol('unscopables'); | |
| 1628 | +var ArrayPrototype = Array.prototype; | |
| 1629 | + | |
| 1630 | +// Array.prototype[@@unscopables] | |
| 1631 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 1632 | +if (ArrayPrototype[UNSCOPABLES] === undefined) { | |
| 1633 | + defineProperty(ArrayPrototype, UNSCOPABLES, { | |
| 1634 | + configurable: true, | |
| 1635 | + value: create(null) | |
| 1636 | + }); | |
| 1637 | +} | |
| 1638 | + | |
| 1639 | +// add a key to Array.prototype[@@unscopables] | |
| 1640 | +module.exports = function (key) { | |
| 1641 | + ArrayPrototype[UNSCOPABLES][key] = true; | |
| 1642 | +}; | |
| 1643 | + | |
| 1644 | + | |
| 1645 | +/***/ }), | |
| 1646 | + | |
| 1747 | 1647 | /***/ "../node_modules/core-js/internals/an-instance.js": |
| 1748 | 1648 | /*!********************************************************!*\ |
| 1749 | 1649 | !*** ../node_modules/core-js/internals/an-instance.js ***! |
| 1750 | 1650 | \********************************************************/ |
| @@ -2460,9 +2360,9 @@ | ||
| 2460 | 2360 | |
| 2461 | 2361 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2462 | 2362 | |
| 2463 | 2363 | var call = Function.prototype.call; |
| 2464 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2364 | + | |
| 2465 | 2365 | module.exports = NATIVE_BIND ? call.bind(call) : function () { |
| 2466 | 2366 | return call.apply(call, arguments); |
| 2467 | 2367 | }; |
| 2468 | 2368 | |
| @@ -2530,9 +2430,8 @@ | ||
| 2530 | 2430 | var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js"); |
| 2531 | 2431 | |
| 2532 | 2432 | var FunctionPrototype = Function.prototype; |
| 2533 | 2433 | var call = FunctionPrototype.call; |
| 2534 | -// eslint-disable-next-line es/no-function-prototype-bind -- safe | |
| 2535 | 2434 | var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); |
| 2536 | 2435 | |
| 2537 | 2436 | module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { |
| 2538 | 2437 | return function () { |
| @@ -2573,9 +2472,9 @@ | ||
| 2573 | 2472 | |
| 2574 | 2473 | "use strict"; |
| 2575 | 2474 | |
| 2576 | 2475 | // `GetIteratorDirect(obj)` abstract operation |
| 2577 | -// https://tc39.es/ecma262/#sec-getiteratordirect | |
| 2476 | +// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect | |
| 2578 | 2477 | module.exports = function (obj) { |
| 2579 | 2478 | return { |
| 2580 | 2479 | iterator: obj, |
| 2581 | 2480 | next: obj.next, |
| @@ -3101,9 +3000,9 @@ | ||
| 3101 | 3000 | var fn = bind(unboundFunction, that); |
| 3102 | 3001 | var iterator, iterFn, index, length, result, next, step; |
| 3103 | 3002 | |
| 3104 | 3003 | var stop = function (condition) { |
| 3105 | - if (iterator) iteratorClose(iterator, 'normal'); | |
| 3004 | + if (iterator) iteratorClose(iterator, 'normal', condition); | |
| 3106 | 3005 | return new Result(true, condition); |
| 3107 | 3006 | }; |
| 3108 | 3007 | |
| 3109 | 3008 | var callFn = function (value) { |
| @@ -3143,35 +3042,8 @@ | ||
| 3143 | 3042 | |
| 3144 | 3043 | |
| 3145 | 3044 | /***/ }), |
| 3146 | 3045 | |
| 3147 | -/***/ "../node_modules/core-js/internals/iterator-close-all.js": | |
| 3148 | -/*!***************************************************************!*\ | |
| 3149 | - !*** ../node_modules/core-js/internals/iterator-close-all.js ***! | |
| 3150 | - \***************************************************************/ | |
| 3151 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3152 | - | |
| 3153 | -"use strict"; | |
| 3154 | - | |
| 3155 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 3156 | - | |
| 3157 | -module.exports = function (iters, kind, value) { | |
| 3158 | - for (var i = iters.length - 1; i >= 0; i--) { | |
| 3159 | - if (iters[i] === undefined) continue; | |
| 3160 | - try { | |
| 3161 | - value = iteratorClose(iters[i].iterator, kind, value); | |
| 3162 | - } catch (error) { | |
| 3163 | - kind = 'throw'; | |
| 3164 | - value = error; | |
| 3165 | - } | |
| 3166 | - } | |
| 3167 | - if (kind === 'throw') throw value; | |
| 3168 | - return value; | |
| 3169 | -}; | |
| 3170 | - | |
| 3171 | - | |
| 3172 | -/***/ }), | |
| 3173 | - | |
| 3174 | 3046 | /***/ "../node_modules/core-js/internals/iterator-close.js": |
| 3175 | 3047 | /*!***********************************************************!*\ |
| 3176 | 3048 | !*** ../node_modules/core-js/internals/iterator-close.js ***! |
| 3177 | 3049 | \***********************************************************/ |
| @@ -3223,15 +3095,12 @@ | ||
| 3223 | 3095 | var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js"); |
| 3224 | 3096 | var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype); |
| 3225 | 3097 | var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js"); |
| 3226 | 3098 | var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); |
| 3227 | -var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js"); | |
| 3228 | 3099 | |
| 3229 | 3100 | var TO_STRING_TAG = wellKnownSymbol('toStringTag'); |
| 3230 | 3101 | var ITERATOR_HELPER = 'IteratorHelper'; |
| 3231 | 3102 | var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; |
| 3232 | -var NORMAL = 'normal'; | |
| 3233 | -var THROW = 'throw'; | |
| 3234 | 3103 | var setInternalState = InternalStateModule.set; |
| 3235 | 3104 | |
| 3236 | 3105 | var createIteratorProxyPrototype = function (IS_ITERATOR) { |
| 3237 | 3106 | var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); |
| @@ -3239,15 +3108,14 @@ | ||
| 3239 | 3108 | return defineBuiltIns(create(IteratorPrototype), { |
| 3240 | 3109 | next: function next() { |
| 3241 | 3110 | var state = getInternalState(this); |
| 3242 | 3111 | // for simplification: |
| 3243 | - // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject` | |
| 3112 | + // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` | |
| 3244 | 3113 | // for `%IteratorHelperPrototype%.next` - just a value |
| 3245 | 3114 | if (IS_ITERATOR) return state.nextHandler(); |
| 3246 | - if (state.done) return createIterResultObject(undefined, true); | |
| 3247 | 3115 | try { |
| 3248 | - var result = state.nextHandler(); | |
| 3249 | - return state.returnHandlerResult ? result : createIterResultObject(result, state.done); | |
| 3116 | + var result = state.done ? undefined : state.nextHandler(); | |
| 3117 | + return createIterResultObject(result, state.done); | |
| 3250 | 3118 | } catch (error) { |
| 3251 | 3119 | state.done = true; |
| 3252 | 3120 | throw error; |
| 3253 | 3121 | } |
| @@ -3260,18 +3128,13 @@ | ||
| 3260 | 3128 | var returnMethod = getMethod(iterator, 'return'); |
| 3261 | 3129 | return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); |
| 3262 | 3130 | } |
| 3263 | 3131 | if (state.inner) try { |
| 3264 | - iteratorClose(state.inner.iterator, NORMAL); | |
| 3132 | + iteratorClose(state.inner.iterator, 'normal'); | |
| 3265 | 3133 | } catch (error) { |
| 3266 | - return iteratorClose(iterator, THROW, error); | |
| 3134 | + return iteratorClose(iterator, 'throw', error); | |
| 3267 | 3135 | } |
| 3268 | - if (state.openIters) try { | |
| 3269 | - iteratorCloseAll(state.openIters, NORMAL); | |
| 3270 | - } catch (error) { | |
| 3271 | - return iteratorClose(iterator, THROW, error); | |
| 3272 | - } | |
| 3273 | - if (iterator) iteratorClose(iterator, NORMAL); | |
| 3136 | + if (iterator) iteratorClose(iterator, 'normal'); | |
| 3274 | 3137 | return createIterResultObject(undefined, true); |
| 3275 | 3138 | } |
| 3276 | 3139 | }); |
| 3277 | 3140 | }; |
| @@ -3280,9 +3143,9 @@ | ||
| 3280 | 3143 | var IteratorHelperPrototype = createIteratorProxyPrototype(false); |
| 3281 | 3144 | |
| 3282 | 3145 | createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); |
| 3283 | 3146 | |
| 3284 | -module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) { | |
| 3147 | +module.exports = function (nextHandler, IS_ITERATOR) { | |
| 3285 | 3148 | var IteratorProxy = function Iterator(record, state) { |
| 3286 | 3149 | if (state) { |
| 3287 | 3150 | state.iterator = record.iterator; |
| 3288 | 3151 | state.next = record.next; |
| @@ -3287,9 +3150,8 @@ | ||
| 3287 | 3150 | state.iterator = record.iterator; |
| 3288 | 3151 | state.next = record.next; |
| 3289 | 3152 | } else state = record; |
| 3290 | 3153 | state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; |
| 3291 | - state.returnHandlerResult = !!RETURN_HANDLER_RESULT; | |
| 3292 | 3154 | state.nextHandler = nextHandler; |
| 3293 | 3155 | state.counter = 0; |
| 3294 | 3156 | state.done = false; |
| 3295 | 3157 | setInternalState(this, state); |
| @@ -3302,65 +3164,8 @@ | ||
| 3302 | 3164 | |
| 3303 | 3165 | |
| 3304 | 3166 | /***/ }), |
| 3305 | 3167 | |
| 3306 | -/***/ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js": | |
| 3307 | -/*!***************************************************************************************!*\ | |
| 3308 | - !*** ../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***! | |
| 3309 | - \***************************************************************************************/ | |
| 3310 | -/***/ ((module) => { | |
| 3311 | - | |
| 3312 | -"use strict"; | |
| 3313 | - | |
| 3314 | -// Should throw an error on invalid iterator | |
| 3315 | -// https://issues.chromium.org/issues/336839115 | |
| 3316 | -module.exports = function (methodName, argument) { | |
| 3317 | - // eslint-disable-next-line es/no-iterator -- required for testing | |
| 3318 | - var method = typeof Iterator == 'function' && Iterator.prototype[methodName]; | |
| 3319 | - if (method) try { | |
| 3320 | - method.call({ next: null }, argument).next(); | |
| 3321 | - } catch (error) { | |
| 3322 | - return true; | |
| 3323 | - } | |
| 3324 | -}; | |
| 3325 | - | |
| 3326 | - | |
| 3327 | -/***/ }), | |
| 3328 | - | |
| 3329 | -/***/ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js": | |
| 3330 | -/*!*******************************************************************************************!*\ | |
| 3331 | - !*** ../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***! | |
| 3332 | - \*******************************************************************************************/ | |
| 3333 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3334 | - | |
| 3335 | -"use strict"; | |
| 3336 | - | |
| 3337 | -var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); | |
| 3338 | - | |
| 3339 | -// https://github.com/tc39/ecma262/pull/3467 | |
| 3340 | -module.exports = function (METHOD_NAME, ExpectedError) { | |
| 3341 | - var Iterator = globalThis.Iterator; | |
| 3342 | - var IteratorPrototype = Iterator && Iterator.prototype; | |
| 3343 | - var method = IteratorPrototype && IteratorPrototype[METHOD_NAME]; | |
| 3344 | - | |
| 3345 | - var CLOSED = false; | |
| 3346 | - | |
| 3347 | - if (method) try { | |
| 3348 | - method.call({ | |
| 3349 | - next: function () { return { done: true }; }, | |
| 3350 | - 'return': function () { CLOSED = true; } | |
| 3351 | - }, -1); | |
| 3352 | - } catch (error) { | |
| 3353 | - // https://bugs.webkit.org/show_bug.cgi?id=291195 | |
| 3354 | - if (!(error instanceof ExpectedError)) CLOSED = false; | |
| 3355 | - } | |
| 3356 | - | |
| 3357 | - if (!CLOSED) return method; | |
| 3358 | -}; | |
| 3359 | - | |
| 3360 | - | |
| 3361 | -/***/ }), | |
| 3362 | - | |
| 3363 | 3168 | /***/ "../node_modules/core-js/internals/iterators-core.js": |
| 3364 | 3169 | /*!***********************************************************!*\ |
| 3365 | 3170 | !*** ../node_modules/core-js/internals/iterators-core.js ***! |
| 3366 | 3171 | \***********************************************************/ |
| @@ -4030,12 +3835,12 @@ | ||
| 4030 | 3835 | var SHARED = '__core-js_shared__'; |
| 4031 | 3836 | var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); |
| 4032 | 3837 | |
| 4033 | 3838 | (store.versions || (store.versions = [])).push({ |
| 4034 | - version: '3.46.0', | |
| 3839 | + version: '3.39.0', | |
| 4035 | 3840 | mode: IS_PURE ? 'pure' : 'global', |
| 4036 | - copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)', | |
| 4037 | - license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE', | |
| 3841 | + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', | |
| 3842 | + license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE', | |
| 4038 | 3843 | source: 'https://github.com/zloirock/core-js' |
| 4039 | 3844 | }); |
| 4040 | 3845 | |
| 4041 | 3846 | |
| @@ -4305,9 +4110,9 @@ | ||
| 4305 | 4110 | var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); |
| 4306 | 4111 | |
| 4307 | 4112 | var id = 0; |
| 4308 | 4113 | var postfix = Math.random(); |
| 4309 | -var toString = uncurryThis(1.1.toString); | |
| 4114 | +var toString = uncurryThis(1.0.toString); | |
| 4310 | 4115 | |
| 4311 | 4116 | module.exports = function (key) { |
| 4312 | 4117 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); |
| 4313 | 4118 | }; |
| @@ -4404,8 +4209,41 @@ | ||
| 4404 | 4209 | |
| 4405 | 4210 | |
| 4406 | 4211 | /***/ }), |
| 4407 | 4212 | |
| 4213 | +/***/ "../node_modules/core-js/modules/es.array.includes.js": | |
| 4214 | +/*!************************************************************!*\ | |
| 4215 | + !*** ../node_modules/core-js/modules/es.array.includes.js ***! | |
| 4216 | + \************************************************************/ | |
| 4217 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4218 | + | |
| 4219 | +"use strict"; | |
| 4220 | + | |
| 4221 | +var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4222 | +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").includes); | |
| 4223 | +var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js"); | |
| 4224 | +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "../node_modules/core-js/internals/add-to-unscopables.js"); | |
| 4225 | + | |
| 4226 | +// FF99+ bug | |
| 4227 | +var BROKEN_ON_SPARSE = fails(function () { | |
| 4228 | + // eslint-disable-next-line es/no-array-prototype-includes -- detection | |
| 4229 | + return !Array(1).includes(); | |
| 4230 | +}); | |
| 4231 | + | |
| 4232 | +// `Array.prototype.includes` method | |
| 4233 | +// https://tc39.es/ecma262/#sec-array.prototype.includes | |
| 4234 | +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { | |
| 4235 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 4236 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 4237 | + } | |
| 4238 | +}); | |
| 4239 | + | |
| 4240 | +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables | |
| 4241 | +addToUnscopables('includes'); | |
| 4242 | + | |
| 4243 | + | |
| 4244 | +/***/ }), | |
| 4245 | + | |
| 4408 | 4246 | /***/ "../node_modules/core-js/modules/es.array.push.js": |
| 4409 | 4247 | /*!********************************************************!*\ |
| 4410 | 4248 | !*** ../node_modules/core-js/modules/es.array.push.js ***! |
| 4411 | 4249 | \********************************************************/ |
| @@ -4549,18 +4387,9 @@ | ||
| 4549 | 4387 | var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 4550 | 4388 | var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); |
| 4551 | 4389 | var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); |
| 4552 | 4390 | var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); |
| 4553 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4554 | -var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"); | |
| 4555 | -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"); | |
| 4556 | 4391 | |
| 4557 | -var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ }); | |
| 4558 | -var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR | |
| 4559 | - && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError); | |
| 4560 | - | |
| 4561 | -var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError; | |
| 4562 | - | |
| 4563 | 4392 | var IteratorProxy = createIteratorProxy(function () { |
| 4564 | 4393 | var iterator = this.iterator; |
| 4565 | 4394 | var predicate = this.predicate; |
| 4566 | 4395 | var next = this.next; |
| @@ -4575,19 +4404,12 @@ | ||
| 4575 | 4404 | }); |
| 4576 | 4405 | |
| 4577 | 4406 | // `Iterator.prototype.filter` method |
| 4578 | 4407 | // https://tc39.es/ecma262/#sec-iterator.prototype.filter |
| 4579 | -$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, { | |
| 4408 | +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { | |
| 4580 | 4409 | filter: function filter(predicate) { |
| 4581 | 4410 | anObject(this); |
| 4582 | - try { | |
| 4583 | - aCallable(predicate); | |
| 4584 | - } catch (error) { | |
| 4585 | - iteratorClose(this, 'throw', error); | |
| 4586 | - } | |
| 4587 | - | |
| 4588 | - if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate); | |
| 4589 | - | |
| 4411 | + aCallable(predicate); | |
| 4590 | 4412 | return new IteratorProxy(getIteratorDirect(this), { |
| 4591 | 4413 | predicate: predicate |
| 4592 | 4414 | }); |
| 4593 | 4415 | } |
| @@ -4604,31 +4426,19 @@ | ||
| 4604 | 4426 | |
| 4605 | 4427 | "use strict"; |
| 4606 | 4428 | |
| 4607 | 4429 | var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 4608 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4609 | 4430 | var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); |
| 4610 | 4431 | var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 4611 | 4432 | var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 4612 | 4433 | var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 4613 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4614 | -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"); | |
| 4615 | 4434 | |
| 4616 | -var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError); | |
| 4617 | - | |
| 4618 | 4435 | // `Iterator.prototype.find` method |
| 4619 | 4436 | // https://tc39.es/ecma262/#sec-iterator.prototype.find |
| 4620 | -$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, { | |
| 4437 | +$({ target: 'Iterator', proto: true, real: true }, { | |
| 4621 | 4438 | find: function find(predicate) { |
| 4622 | 4439 | anObject(this); |
| 4623 | - try { | |
| 4624 | - aCallable(predicate); | |
| 4625 | - } catch (error) { | |
| 4626 | - iteratorClose(this, 'throw', error); | |
| 4627 | - } | |
| 4628 | - | |
| 4629 | - if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate); | |
| 4630 | - | |
| 4440 | + aCallable(predicate); | |
| 4631 | 4441 | var record = getIteratorDirect(this); |
| 4632 | 4442 | var counter = 0; |
| 4633 | 4443 | return iterate(record, function (value, stop) { |
| 4634 | 4444 | if (predicate(value, counter++)) return stop(value); |
| @@ -4647,31 +4457,19 @@ | ||
| 4647 | 4457 | |
| 4648 | 4458 | "use strict"; |
| 4649 | 4459 | |
| 4650 | 4460 | var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); |
| 4651 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4652 | 4461 | var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js"); |
| 4653 | 4462 | var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); |
| 4654 | 4463 | var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); |
| 4655 | 4464 | var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); |
| 4656 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4657 | -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"); | |
| 4658 | 4465 | |
| 4659 | -var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError); | |
| 4660 | - | |
| 4661 | 4466 | // `Iterator.prototype.forEach` method |
| 4662 | 4467 | // https://tc39.es/ecma262/#sec-iterator.prototype.foreach |
| 4663 | -$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, { | |
| 4468 | +$({ target: 'Iterator', proto: true, real: true }, { | |
| 4664 | 4469 | forEach: function forEach(fn) { |
| 4665 | 4470 | anObject(this); |
| 4666 | - try { | |
| 4667 | - aCallable(fn); | |
| 4668 | - } catch (error) { | |
| 4669 | - iteratorClose(this, 'throw', error); | |
| 4670 | - } | |
| 4671 | - | |
| 4672 | - if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn); | |
| 4673 | - | |
| 4471 | + aCallable(fn); | |
| 4674 | 4472 | var record = getIteratorDirect(this); |
| 4675 | 4473 | var counter = 0; |
| 4676 | 4474 | iterate(record, function (value) { |
| 4677 | 4475 | fn(value, counter++); |
| @@ -4681,63 +4479,8 @@ | ||
| 4681 | 4479 | |
| 4682 | 4480 | |
| 4683 | 4481 | /***/ }), |
| 4684 | 4482 | |
| 4685 | -/***/ "../node_modules/core-js/modules/es.iterator.map.js": | |
| 4686 | -/*!**********************************************************!*\ | |
| 4687 | - !*** ../node_modules/core-js/modules/es.iterator.map.js ***! | |
| 4688 | - \**********************************************************/ | |
| 4689 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4690 | - | |
| 4691 | -"use strict"; | |
| 4692 | - | |
| 4693 | -var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); | |
| 4694 | -var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); | |
| 4695 | -var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); | |
| 4696 | -var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); | |
| 4697 | -var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); | |
| 4698 | -var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); | |
| 4699 | -var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); | |
| 4700 | -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js"); | |
| 4701 | -var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"); | |
| 4702 | -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"); | |
| 4703 | -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); | |
| 4704 | - | |
| 4705 | -var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ }); | |
| 4706 | -var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR | |
| 4707 | - && iteratorHelperWithoutClosingOnEarlyError('map', TypeError); | |
| 4708 | - | |
| 4709 | -var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError; | |
| 4710 | - | |
| 4711 | -var IteratorProxy = createIteratorProxy(function () { | |
| 4712 | - var iterator = this.iterator; | |
| 4713 | - var result = anObject(call(this.next, iterator)); | |
| 4714 | - var done = this.done = !!result.done; | |
| 4715 | - if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); | |
| 4716 | -}); | |
| 4717 | - | |
| 4718 | -// `Iterator.prototype.map` method | |
| 4719 | -// https://tc39.es/ecma262/#sec-iterator.prototype.map | |
| 4720 | -$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, { | |
| 4721 | - map: function map(mapper) { | |
| 4722 | - anObject(this); | |
| 4723 | - try { | |
| 4724 | - aCallable(mapper); | |
| 4725 | - } catch (error) { | |
| 4726 | - iteratorClose(this, 'throw', error); | |
| 4727 | - } | |
| 4728 | - | |
| 4729 | - if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper); | |
| 4730 | - | |
| 4731 | - return new IteratorProxy(getIteratorDirect(this), { | |
| 4732 | - mapper: mapper | |
| 4733 | - }); | |
| 4734 | - } | |
| 4735 | -}); | |
| 4736 | - | |
| 4737 | - | |
| 4738 | -/***/ }), | |
| 4739 | - | |
| 4740 | 4483 | /***/ "../node_modules/core-js/modules/esnext.iterator.constructor.js": |
| 4741 | 4484 | /*!**********************************************************************!*\ |
| 4742 | 4485 | !*** ../node_modules/core-js/modules/esnext.iterator.constructor.js ***! |
| 4743 | 4486 | \**********************************************************************/ |
| @@ -4788,22 +4531,8 @@ | ||
| 4788 | 4531 | "use strict"; |
| 4789 | 4532 | |
| 4790 | 4533 | // TODO: Remove from `core-js@4` |
| 4791 | 4534 | __webpack_require__(/*! ../modules/es.iterator.for-each */ "../node_modules/core-js/modules/es.iterator.for-each.js"); |
| 4792 | - | |
| 4793 | - | |
| 4794 | -/***/ }), | |
| 4795 | - | |
| 4796 | -/***/ "../node_modules/core-js/modules/esnext.iterator.map.js": | |
| 4797 | -/*!**************************************************************!*\ | |
| 4798 | - !*** ../node_modules/core-js/modules/esnext.iterator.map.js ***! | |
| 4799 | - \**************************************************************/ | |
| 4800 | -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4801 | - | |
| 4802 | -"use strict"; | |
| 4803 | - | |
| 4804 | -// TODO: Remove from `core-js@4` | |
| 4805 | -__webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js"); | |
| 4806 | 4535 | |
| 4807 | 4536 | |
| 4808 | 4537 | /***/ }) |
| 4809 | 4538 | |