mirror of
https://github.com/proelements/proelements.git
synced 2026-05-05 17:15:58 +00:00
5016 lines
191 KiB
JavaScript
5016 lines
191 KiB
JavaScript
/*! pro-elements - v4.0.0 - 28-04-2026 */
|
||
/******/ (() => { // webpackBootstrap
|
||
/******/ var __webpack_modules__ = ({
|
||
|
||
/***/ "../license/assets/js/admin.js"
|
||
/*!*************************************!*\
|
||
!*** ../license/assets/js/admin.js ***!
|
||
\*************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
|
||
class Module extends elementorModules.Module {
|
||
#actionLinks = [{
|
||
href: 'elementor_pro_renew_license_menu_link',
|
||
external_url: 'https://go.elementor.com/wp-menu-renew/'
|
||
}, {
|
||
href: 'elementor_pro_upgrade_license_menu_link',
|
||
external_url: 'https://go.elementor.com/go-pro-advanced-elementor-menu/'
|
||
}];
|
||
onInit() {
|
||
this.assignMenuItemActions();
|
||
this.assignProLicenseActivateEvent();
|
||
}
|
||
assignMenuItemActions() {
|
||
window.addEventListener('DOMContentLoaded', () => {
|
||
this.#actionLinks.forEach(item => {
|
||
const link = document.querySelector(`a[href="${item.href}"]`);
|
||
if (!link) {
|
||
return;
|
||
}
|
||
link.addEventListener('click', e => {
|
||
e.preventDefault();
|
||
window.open(item.external_url, '_blank');
|
||
});
|
||
});
|
||
});
|
||
}
|
||
assignProLicenseActivateEvent() {
|
||
window.addEventListener('DOMContentLoaded', () => {
|
||
const activateButton = document.querySelector('.button-primary[href*="elementor-connect"]');
|
||
if (activateButton) {
|
||
activateButton.addEventListener('click', () => {
|
||
if (!window.elementorCommon?.config?.experimentalFeatures?.editor_events) {
|
||
return;
|
||
}
|
||
const eventsManager = window.elementorCommon?.eventsManager || {};
|
||
const dispatchEvent = eventsManager.dispatchEvent?.bind(eventsManager);
|
||
const eventName = 'pro_license_activate';
|
||
const eventData = {
|
||
app_type: 'editor',
|
||
location: 'Elementor WP-admin pages',
|
||
secondaryLocation: 'license page',
|
||
trigger: 'click'
|
||
};
|
||
dispatchEvent?.(eventName, eventData);
|
||
});
|
||
}
|
||
});
|
||
}
|
||
}
|
||
exports["default"] = Module;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin.js"
|
||
/*!****************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin.js ***!
|
||
\****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
||
var _elementorFontManager = _interopRequireDefault(__webpack_require__(/*! ./admin/elementor-font-manager */ "../modules/assets-manager/assets/js/admin/elementor-font-manager.js"));
|
||
var _elementorCustomIcons = _interopRequireDefault(__webpack_require__(/*! ./admin/elementor-custom-icons */ "../modules/assets-manager/assets/js/admin/elementor-custom-icons.js"));
|
||
module.exports = function () {
|
||
const TypekitAdmin = __webpack_require__(/*! ./admin/typekit */ "../modules/assets-manager/assets/js/admin/typekit.js"),
|
||
CustomIcon = _elementorCustomIcons.default,
|
||
FontAwesomeProAdmin = (__webpack_require__(/*! ./admin/font-awesome-pro */ "../modules/assets-manager/assets/js/admin/font-awesome-pro.js")["default"]);
|
||
this.fontManager = new _elementorFontManager.default();
|
||
this.typekit = new TypekitAdmin();
|
||
this.fontAwesomePro = new FontAwesomeProAdmin();
|
||
this.customIcons = new CustomIcon();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/custom-assets-base.js"
|
||
/*!***********************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/custom-assets-base.js ***!
|
||
\***********************************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
"use strict";
|
||
|
||
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
class CustomAssetsBase extends elementorModules.ViewModule {
|
||
showAlertDialog(id, message, onConfirm = false, onHide = false) {
|
||
const alertData = {
|
||
id,
|
||
message
|
||
};
|
||
if (onConfirm) {
|
||
alertData.onConfirm = onConfirm;
|
||
}
|
||
if (onHide) {
|
||
alertData.onHide = onHide;
|
||
}
|
||
|
||
// Save the instance of the alert dialog to check for its visibility later
|
||
if (!this.alertWidget) {
|
||
this.alertWidget = elementorCommon.dialogsManager.createWidget('alert', alertData);
|
||
}
|
||
this.alertWidget.show();
|
||
}
|
||
onDialogDismiss() {
|
||
// WP's publish button gets a disabled class on submit attempt
|
||
this.elements.$publishButton.removeClass('disabled');
|
||
|
||
// Prevent WP's publish spinner from appearing on publish attempt
|
||
this.elements.$publishButtonSpinner.removeClass('is-active');
|
||
}
|
||
handleSubmit(event) {
|
||
// If we know there is a file already, return to continue submission normally
|
||
if (this.fileWasUploaded) {
|
||
return;
|
||
}
|
||
const hasValue = this.checkInputsForValues(); // Method exists in the child classes
|
||
|
||
// If the file input is not empty, continue the submission process
|
||
if (hasValue) {
|
||
this.fileWasUploaded = true;
|
||
this.elements.$postForm.trigger('submit');
|
||
return;
|
||
}
|
||
event.preventDefault(); // Prevent new asset submission
|
||
|
||
// If no value was found, stop submission and display a notice modal
|
||
this.showAlertDialog('noData', this.getSettings('notice'), () => this.onDialogDismiss(),
|
||
// OnConfirm
|
||
() => this.onDialogDismiss() // OnHide
|
||
);
|
||
return false;
|
||
}
|
||
bindEvents() {
|
||
this.elements.$postForm.on('submit', this.handleSubmit.bind(this));
|
||
}
|
||
}
|
||
var _default = exports["default"] = CustomAssetsBase;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/elementor-custom-icons.js"
|
||
/*!***************************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/elementor-custom-icons.js ***!
|
||
\***************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
|
||
|
||
|
||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
__webpack_require__(/*! core-js/modules/es.json.stringify.js */ "../node_modules/core-js/modules/es.json.stringify.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js");
|
||
var _customAssetsBase = _interopRequireDefault(__webpack_require__(/*! ./custom-assets-base */ "../modules/assets-manager/assets/js/admin/custom-assets-base.js"));
|
||
var _elementorProDropzone = _interopRequireDefault(__webpack_require__(/*! ./fields/elementor-pro-dropzone */ "../modules/assets-manager/assets/js/admin/fields/elementor-pro-dropzone.js"));
|
||
class CustomIcons extends _customAssetsBase.default {
|
||
getDefaultSettings() {
|
||
return {
|
||
fields: {
|
||
dropzone: _elementorProDropzone.default
|
||
},
|
||
classes: {
|
||
editPageClass: 'post-type-elementor_icons',
|
||
editPhp: 'edit-php',
|
||
hasIcons: 'elementor--has-icons'
|
||
},
|
||
selectors: {
|
||
editPageClass: 'post-type-elementor_icons',
|
||
title: '#title',
|
||
metaboxContainer: '#elementor-custom-icons-metabox',
|
||
metabox: '.elementor-custom-icons-metabox',
|
||
closeHandle: 'button.handlediv',
|
||
iconsTemplate: '#elementor-icons-template',
|
||
dataInput: '#elementor_custom_icon_set_config',
|
||
dropzone: '.zip_upload',
|
||
submitDelete: '.submitdelete',
|
||
dayInput: '#hidden_jj',
|
||
mmInput: '#hidden_mm',
|
||
yearInput: '#hidden_aa',
|
||
hourInput: '#hidden_hh',
|
||
minuteInput: '#hidden_mn',
|
||
publishButton: '#publish',
|
||
publishButtonSpinner: '#publishing-action > .spinner',
|
||
submitMetabox: '#postbox-container-1',
|
||
postForm: '#post',
|
||
fileInput: '#zip_upload',
|
||
iconSetConfigInput: '#elementor_custom_icon_set_config'
|
||
},
|
||
templates: {
|
||
icon: '<li><div class="icon"><i class="{{icon}}"></i><div class="icon-name">{{label}}</div></div></li>',
|
||
header: jQuery('#elementor-custom-icons-template-header').html(),
|
||
footer: jQuery('#elementor-custom-icons-template-footer').html(),
|
||
duplicatePrefix: jQuery('#elementor-custom-icons-template-duplicate-prefix').html()
|
||
},
|
||
notice: __('Upload an icon set to publish.', 'elementor-pro')
|
||
};
|
||
}
|
||
getDefaultElements() {
|
||
const elements = {},
|
||
selectors = this.getSettings('selectors');
|
||
jQuery.each(selectors, (element, selector) => {
|
||
elements['$' + element] = jQuery(selector);
|
||
});
|
||
return elements;
|
||
}
|
||
bindEvents() {
|
||
super.bindEvents();
|
||
if ('' !== this.getData()) {
|
||
this.bindOnTitleChange();
|
||
}
|
||
}
|
||
bindOnTitleChange() {
|
||
const {
|
||
$title
|
||
} = this.elements,
|
||
onTitleInput = event => this.onTitleInput(event);
|
||
$title.on('input change', onTitleInput);
|
||
}
|
||
removeCloseHandle() {
|
||
const {
|
||
$metaboxContainer
|
||
} = this.elements;
|
||
$metaboxContainer.find('h2').remove();
|
||
$metaboxContainer.find('button').remove();
|
||
$metaboxContainer.removeClass('closed').removeClass('postbox');
|
||
}
|
||
prepareIconName(icon) {
|
||
const iconName = icon.replace('_', ' ').replace('-', ' ');
|
||
return elementorCommon.helpers.upperCaseWords(iconName);
|
||
}
|
||
getCreatedOn() {
|
||
const {
|
||
$dayInput,
|
||
$mmInput,
|
||
$yearInput,
|
||
$hourInput,
|
||
$minuteInput
|
||
} = this.elements;
|
||
return {
|
||
day: $dayInput.val(),
|
||
mm: $mmInput.val(),
|
||
year: $yearInput.val(),
|
||
hour: $hourInput.val(),
|
||
minute: $minuteInput.val()
|
||
};
|
||
}
|
||
enqueueCSS(url) {
|
||
if (!elementorCommon.elements.$document.find('link[href="' + url + '"]').length) {
|
||
elementorCommon.elements.$document.find('link').last().after('<link href="' + url + '" rel="stylesheet" type="text/css">');
|
||
}
|
||
}
|
||
setData(data) {
|
||
this.elements.$dataInput.val(JSON.stringify(data));
|
||
}
|
||
getData() {
|
||
const value = this.elements.$dataInput.val();
|
||
return '' === value ? '' : JSON.parse(value);
|
||
}
|
||
renderIconList(config) {
|
||
const iconTemplate = this.getSettings('templates.icon');
|
||
return config.icons.map(icon => {
|
||
const data = {
|
||
icon: config.displayPrefix + ' ' + config.prefix + icon,
|
||
label: this.prepareIconName(icon)
|
||
};
|
||
return elementorCommon.compileTemplate(iconTemplate, data);
|
||
}).join('\n');
|
||
}
|
||
renderIcons(config) {
|
||
const {
|
||
$metaboxContainer,
|
||
$metabox,
|
||
$submitMetabox
|
||
} = this.elements;
|
||
const {
|
||
header,
|
||
footer
|
||
} = this.getSettings('templates');
|
||
$metaboxContainer.addClass(this.getSettings('classes.hasIcons'));
|
||
$submitMetabox.show();
|
||
this.setData(config);
|
||
this.enqueueCSS(config.url);
|
||
$metabox.html('');
|
||
$metaboxContainer.prepend(elementorCommon.compileTemplate(header, config));
|
||
$metabox.append('<ul>' + this.renderIconList(config) + '</ul>');
|
||
$metaboxContainer.append(elementorCommon.compileTemplate(footer, this.getCreatedOn()));
|
||
}
|
||
onTitleInput(event) {
|
||
const data = this.getData();
|
||
data.label = event.target.value;
|
||
this.setData(data);
|
||
}
|
||
checkInputsForValues() {
|
||
// If creating new icon set - check the file input for a value
|
||
// If editing an existing icon set - check the icon set config input for a value
|
||
if ('' !== this.elements.$fileInput.val() || '' !== this.elements.$iconSetConfigInput.val()) {
|
||
return true;
|
||
}
|
||
return false;
|
||
}
|
||
onSuccess(data) {
|
||
// It is possible to add a `dropzoneElement` param to this method for implementing upload progress bar
|
||
if (data.data.errors) {
|
||
let id, message;
|
||
jQuery.each(data.data.errors, (errorId, errorMessage) => {
|
||
id = errorId;
|
||
message = errorMessage;
|
||
return false;
|
||
});
|
||
return this.showAlertDialog(id, message);
|
||
}
|
||
if (data.data.config.duplicate_prefix) {
|
||
delete data.data.config.duplicatePrefix;
|
||
return this.showAlertDialog('duplicate-prefix', this.getSettings('templates.duplicatePrefix'), () => this.saveInitialUpload(data.data.config));
|
||
}
|
||
this.saveInitialUpload(data.data.config);
|
||
}
|
||
saveInitialUpload(config) {
|
||
this.setData(config);
|
||
const {
|
||
$publishButton,
|
||
$title,
|
||
$submitMetabox
|
||
} = this.elements;
|
||
$submitMetabox.show();
|
||
if ('' === $title.val()) {
|
||
$title.val(config.name);
|
||
}
|
||
this.fileWasUploaded = true; // Flag to prevent infinite loop in the handleSubmit() method
|
||
$publishButton.trigger('click');
|
||
}
|
||
onInit() {
|
||
const {
|
||
$body
|
||
} = elementorCommon.elements,
|
||
{
|
||
editPageClass,
|
||
editPhp
|
||
} = this.getSettings('classes');
|
||
if (!$body.hasClass(editPageClass) || $body.hasClass(editPhp)) {
|
||
return;
|
||
}
|
||
super.onInit();
|
||
this.removeCloseHandle();
|
||
const dropzoneFieldClass = this.getSettings('fields.dropzone'),
|
||
dropzoneField = new dropzoneFieldClass(),
|
||
config = this.getData(),
|
||
{
|
||
$dropzone,
|
||
$metaboxContainer
|
||
} = this.elements;
|
||
if ('' === config) {
|
||
$dropzone.show('fast');
|
||
dropzoneField.setSettings('onSuccess', (...args) => this.onSuccess(...args));
|
||
} else {
|
||
this.renderIcons(config);
|
||
}
|
||
$metaboxContainer.show('fast');
|
||
}
|
||
}
|
||
var _default = exports["default"] = CustomIcons;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/elementor-font-manager.js"
|
||
/*!***************************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/elementor-font-manager.js ***!
|
||
\***************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
|
||
|
||
|
||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
var _customAssetsBase = _interopRequireDefault(__webpack_require__(/*! ./custom-assets-base */ "../modules/assets-manager/assets/js/admin/custom-assets-base.js"));
|
||
var _elementorProUpload = _interopRequireDefault(__webpack_require__(/*! ./fields/elementor-pro-upload */ "../modules/assets-manager/assets/js/admin/fields/elementor-pro-upload.js"));
|
||
var _elementorProRepeater = _interopRequireDefault(__webpack_require__(/*! ./fields/elementor-pro-repeater */ "../modules/assets-manager/assets/js/admin/fields/elementor-pro-repeater.js"));
|
||
class CustomFontsManager extends _customAssetsBase.default {
|
||
getDefaultSettings() {
|
||
return {
|
||
fields: {
|
||
upload: _elementorProUpload.default,
|
||
repeater: _elementorProRepeater.default
|
||
},
|
||
selectors: {
|
||
editPageClass: 'post-type-elementor_font',
|
||
title: '#title',
|
||
repeaterBlock: '.repeater-block',
|
||
repeaterTitle: '.repeater-title',
|
||
removeRowBtn: '.remove-repeater-row',
|
||
editRowBtn: '.toggle-repeater-row',
|
||
closeRowBtn: '.close-repeater-row',
|
||
styleInput: '.font_style',
|
||
weightInput: '.font_weight',
|
||
customFontsMetaBox: '#elementor-font-custommetabox',
|
||
closeHandle: 'button.handlediv',
|
||
toolbar: '.elementor-field-toolbar',
|
||
inlinePreview: '.inline-preview',
|
||
fileUrlInput: '.elementor-field-file input[type="text"]',
|
||
postForm: '#post',
|
||
publishButton: '#publish',
|
||
publishButtonSpinner: '#publishing-action > .spinner'
|
||
},
|
||
notice: __('Choose a font to publish.', 'elementor-pro'),
|
||
fontLabelTemplate: '<ul class="row-font-label">' + '<li class="row-font-weight">{{weight}}</li>' + '<li class="row-font-style">{{style}}</li>' + '<li class="row-font-preview">{{preview}}</li>' + '{{toolbar}}' + '</ul>'
|
||
};
|
||
}
|
||
getDefaultElements() {
|
||
const selectors = this.getSettings('selectors');
|
||
return {
|
||
$postForm: jQuery(selectors.postForm),
|
||
$publishButton: jQuery(selectors.publishButton),
|
||
$publishButtonSpinner: jQuery(selectors.publishButtonSpinner),
|
||
$closeHandle: jQuery(selectors.closeHandle),
|
||
$customFontsMetaBox: jQuery(selectors.customFontsMetaBox),
|
||
$title: jQuery(selectors.title)
|
||
};
|
||
}
|
||
renderTemplate(tpl, data) {
|
||
const re = /{{([^}}]+)?}}/g;
|
||
let match;
|
||
while (match = re.exec(tpl)) {
|
||
// eslint-disable-line no-cond-assign
|
||
tpl = tpl.replace(match[0], data[match[1]]);
|
||
}
|
||
return tpl;
|
||
}
|
||
ucFirst(string) {
|
||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||
}
|
||
getPreviewStyle($table) {
|
||
const selectors = this.getSettings('selectors'),
|
||
fontFamily = this.elements.$title.val(),
|
||
style = $table.find('select' + selectors.styleInput).first().val(),
|
||
weight = $table.find('select' + selectors.weightInput).first().val();
|
||
return {
|
||
style: this.ucFirst(style),
|
||
weight: this.ucFirst(weight),
|
||
styleAttribute: 'font-family: ' + fontFamily + ' ;font-style: ' + style + '; font-weight: ' + weight + ';'
|
||
};
|
||
}
|
||
updateRowLabel(event, $table) {
|
||
const selectors = this.getSettings('selectors'),
|
||
fontLabelTemplate = this.getSettings('fontLabelTemplate'),
|
||
$block = $table.closest(selectors.repeaterBlock),
|
||
$deleteBtn = $block.find(selectors.removeRowBtn).first(),
|
||
$editBtn = $block.find(selectors.editRowBtn).first(),
|
||
$closeBtn = $block.find(selectors.closeRowBtn).first(),
|
||
$toolbar = $table.find(selectors.toolbar).last().clone(),
|
||
previewStyle = this.getPreviewStyle($table);
|
||
if ($editBtn.length > 0) {
|
||
$editBtn.not(selectors.toolbar + ' ' + selectors.editRowBtn).remove();
|
||
}
|
||
if ($closeBtn.length > 0) {
|
||
$closeBtn.not(selectors.toolbar + ' ' + selectors.closeRowBtn).remove();
|
||
}
|
||
if ($deleteBtn.length > 0) {
|
||
$deleteBtn.not(selectors.toolbar + ' ' + selectors.removeRowBtn).remove();
|
||
}
|
||
const toolbarHtml = jQuery('<li class="row-font-actions">').append($toolbar)[0].outerHTML;
|
||
return this.renderTemplate(fontLabelTemplate, {
|
||
weight: '<span class="label">Weight:</span>' + previewStyle.weight,
|
||
style: '<span class="label">Style:</span>' + previewStyle.style,
|
||
preview: '<span style="' + previewStyle.styleAttribute + '">Elementor is making the web beautiful</span>',
|
||
toolbar: toolbarHtml
|
||
});
|
||
}
|
||
onRepeaterToggleVisible(event, $btn, $table) {
|
||
const selectors = this.getSettings('selectors'),
|
||
$previewElement = $table.find(selectors.inlinePreview),
|
||
previewStyle = this.getPreviewStyle($table);
|
||
$previewElement.attr('style', previewStyle.styleAttribute);
|
||
}
|
||
onRepeaterNewRow(event, $btn, $block) {
|
||
const selectors = this.getSettings('selectors');
|
||
$block.find(selectors.removeRowBtn).first().remove();
|
||
$block.find(selectors.editRowBtn).first().remove();
|
||
$block.find(selectors.closeRowBtn).first().remove();
|
||
}
|
||
maybeToggle(event) {
|
||
event.preventDefault();
|
||
const selectors = this.getSettings('selectors');
|
||
if (jQuery(this).is(':visible') && !jQuery(event.target).hasClass(selectors.editRowBtn)) {
|
||
jQuery(this).find(selectors.editRowBtn).trigger('click');
|
||
}
|
||
}
|
||
onInputChange(event) {
|
||
const $el = jQuery(event.target).next(),
|
||
fields = this.getSettings('fields');
|
||
fields.upload.setFields($el);
|
||
fields.upload.setLabels($el);
|
||
fields.upload.replaceButtonClass($el);
|
||
}
|
||
bindEvents() {
|
||
const selectors = this.getSettings('selectors');
|
||
jQuery(document).on('repeaterComputedLabel', this.updateRowLabel.bind(this)).on('onRepeaterToggleVisible', this.onRepeaterToggleVisible.bind(this)).on('onRepeaterNewRow', this.onRepeaterNewRow.bind(this)).on('click', selectors.repeaterTitle, this.maybeToggle.bind(this)).on('input', selectors.fileUrlInput, this.onInputChange.bind(this));
|
||
super.bindEvents();
|
||
}
|
||
checkInputsForValues() {
|
||
const selectors = this.getSettings('selectors');
|
||
let hasValue = false;
|
||
|
||
// Check the file inputs for a value
|
||
jQuery(selectors.fileUrlInput).each((index, element) => {
|
||
if ('' !== jQuery(element).val()) {
|
||
hasValue = true;
|
||
return false; // If a value was found, break the loop
|
||
}
|
||
});
|
||
return hasValue;
|
||
}
|
||
removeCloseHandle() {
|
||
this.elements.$closeHandle.remove();
|
||
this.elements.$customFontsMetaBox.removeClass('closed').removeClass('postbox');
|
||
}
|
||
titleRequired() {
|
||
this.elements.$title.prop('required', true);
|
||
}
|
||
onInit(...args) {
|
||
const settings = this.getSettings();
|
||
if (!jQuery('body').hasClass(settings.selectors.editPageClass)) {
|
||
return;
|
||
}
|
||
super.onInit(...args);
|
||
this.removeCloseHandle();
|
||
this.titleRequired();
|
||
settings.fields.upload.init();
|
||
settings.fields.repeater.init();
|
||
const $document = jQuery(document);
|
||
const markMetaboxIfVariableFont = this.markMetaboxIfVariableFont.bind(this);
|
||
jQuery('#add-variable-font').on('click', () => {
|
||
jQuery(document).one('onRepeaterNewRow', (event, $repeaterBtn, $repeaterBlock) => {
|
||
$repeaterBlock.find('input[name$="font_type]"]').val('variable');
|
||
markMetaboxIfVariableFont();
|
||
});
|
||
jQuery('#elementor-font-custommetabox').find('.add-repeater-row').trigger('click');
|
||
});
|
||
$document.on('onRepeaterNewRow', markMetaboxIfVariableFont);
|
||
$document.on('onRepeaterRemoveRow', markMetaboxIfVariableFont);
|
||
$document.on('change', 'input[name$="variable_width]"], input[name$="variable_weight]"]', this.onFontVariableTypeChange);
|
||
markMetaboxIfVariableFont();
|
||
}
|
||
markMetaboxIfVariableFont() {
|
||
const $fontType = jQuery('input[name$="font_type]"]');
|
||
const $metaboxContent = jQuery('.elementor-metabox-content');
|
||
$metaboxContent.removeClass('has-font-variable has-font-static');
|
||
if (!$fontType.length) {
|
||
return;
|
||
}
|
||
const hasVariableRow = 'variable' === $fontType.val();
|
||
if (hasVariableRow) {
|
||
$metaboxContent.addClass('has-font-variable', hasVariableRow);
|
||
} else {
|
||
$metaboxContent.addClass('has-font-static');
|
||
}
|
||
jQuery('input[name$="variable_width]"], input[name$="variable_weight]"]').each(this.onFontVariableTypeChange);
|
||
}
|
||
onFontVariableTypeChange() {
|
||
const $this = jQuery(this);
|
||
const wrapDiv = $this.parents().eq(1);
|
||
wrapDiv.toggleClass('e-font-variable-hidden', !$this.is(':checked'));
|
||
}
|
||
}
|
||
exports["default"] = CustomFontsManager;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/fields/elementor-pro-dropzone.js"
|
||
/*!**********************************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/fields/elementor-pro-dropzone.js ***!
|
||
\**********************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
__webpack_require__(/*! core-js/modules/es.json.stringify.js */ "../node_modules/core-js/modules/es.json.stringify.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
|
||
class DropZoneField extends elementorModules.ViewModule {
|
||
getDefaultSettings() {
|
||
const baseSelector = '.elementor-dropzone-field';
|
||
return {
|
||
droppedFiles: false,
|
||
selectors: {
|
||
dropZone: baseSelector,
|
||
input: baseSelector + ' [type="file"]',
|
||
label: baseSelector + 'label',
|
||
errorMsg: baseSelector + '.box__error span',
|
||
restart: baseSelector + '.box__restart',
|
||
browseButton: baseSelector + ' .elementor--dropzone--upload__browse',
|
||
postId: '#post_ID'
|
||
},
|
||
classes: {
|
||
drag: 'is-dragover',
|
||
error: 'is-error',
|
||
success: 'is-success',
|
||
upload: 'is-uploading'
|
||
},
|
||
onSuccess: null,
|
||
onError: null
|
||
};
|
||
}
|
||
getDefaultElements() {
|
||
const elements = {};
|
||
const selectors = this.getSettings('selectors');
|
||
jQuery.each(selectors, (element, selector) => {
|
||
elements['$' + element] = jQuery(selector);
|
||
});
|
||
return elements;
|
||
}
|
||
bindEvents() {
|
||
const {
|
||
$dropZone,
|
||
$browseButton,
|
||
$input
|
||
} = this.elements;
|
||
const {
|
||
drag
|
||
} = this.getSettings('classes');
|
||
$browseButton.on('click', () => $input.trigger('click'));
|
||
$dropZone.on('drag dragstart dragend dragover dragenter dragleave drop', event => {
|
||
event.preventDefault();
|
||
event.stopPropagation();
|
||
}).on('dragover dragenter', () => {
|
||
$dropZone.addClass(drag);
|
||
}).on('dragleave dragend drop', () => {
|
||
$dropZone.removeClass(drag);
|
||
}).on('drop change', event => {
|
||
if ('change' === event.type) {
|
||
this.setSettings('droppedFiles', event.originalEvent.target.files);
|
||
} else {
|
||
this.setSettings('droppedFiles', event.originalEvent.dataTransfer.files);
|
||
}
|
||
this.handleUpload();
|
||
});
|
||
}
|
||
handleUpload() {
|
||
const droppedFiles = this.getSettings('droppedFiles');
|
||
if (!droppedFiles) {
|
||
return;
|
||
}
|
||
const {
|
||
$input,
|
||
$dropZone,
|
||
$postId,
|
||
$errorMsg
|
||
} = this.elements,
|
||
{
|
||
error,
|
||
success,
|
||
upload
|
||
} = this.getSettings('classes'),
|
||
{
|
||
onSuccess,
|
||
onError
|
||
} = this.getSettings(),
|
||
ajaxData = new FormData(),
|
||
fieldName = $input.attr('name'),
|
||
actionKey = 'pro_assets_manager_custom_icon_upload',
|
||
self = this;
|
||
Object.entries(droppedFiles).forEach(file => {
|
||
ajaxData.append(fieldName, file[1]);
|
||
});
|
||
ajaxData.append('actions', JSON.stringify({
|
||
pro_assets_manager_custom_icon_upload: {
|
||
action: actionKey,
|
||
data: {
|
||
post_id: $postId.val()
|
||
}
|
||
}
|
||
}));
|
||
$dropZone.removeClass(success).removeClass(error);
|
||
elementorCommon.ajax.send('ajax', {
|
||
data: ajaxData,
|
||
cache: false,
|
||
enctype: 'multipart/form-data',
|
||
contentType: false,
|
||
processData: false,
|
||
// TODO: Do something with upload progress
|
||
/* xhr: () => {
|
||
const xhr = jQuery.ajaxSettings.xhr();
|
||
xhr.upload.onprogress = ( evt ) => {
|
||
if ( evt.lengthComputable ) {
|
||
const percentComplete = Math.round( ( evt.loaded * 100 / evt.total ) );
|
||
}
|
||
};
|
||
return xhr;
|
||
},*/
|
||
complete: () => {
|
||
$dropZone.removeClass(upload);
|
||
},
|
||
success: response => {
|
||
const data = response.responses[actionKey];
|
||
$dropZone.addClass(data.success ? success : error);
|
||
if (data.success) {
|
||
if (onSuccess) {
|
||
onSuccess(data, self);
|
||
}
|
||
} else {
|
||
$errorMsg.text(data.error);
|
||
if (onError) {
|
||
onError(self, arguments);
|
||
}
|
||
}
|
||
},
|
||
error: () => {
|
||
if ('function' === typeof onError) {
|
||
onError(self, arguments);
|
||
}
|
||
}
|
||
});
|
||
}
|
||
onInit() {
|
||
super.onInit();
|
||
elementorCommon.elements.$document.trigger('onDropzoneLoaded', [this]);
|
||
}
|
||
}
|
||
var _default = exports["default"] = DropZoneField;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/fields/elementor-pro-repeater.js"
|
||
/*!**********************************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/fields/elementor-pro-repeater.js ***!
|
||
\**********************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
module.exports = {
|
||
selectors: {
|
||
add: '.add-repeater-row',
|
||
remove: '.remove-repeater-row',
|
||
toggle: '.toggle-repeater-row',
|
||
close: '.close-repeater-row',
|
||
sort: '.sort-repeater-row',
|
||
table: '.form-table',
|
||
block: '.repeater-block',
|
||
repeaterLabel: '.repeater-title',
|
||
repeaterField: '.elementor-field-repeater'
|
||
},
|
||
counters: [],
|
||
trigger(eventName, params) {
|
||
jQuery(document).trigger(eventName, params);
|
||
},
|
||
triggerHandler(eventName, params) {
|
||
return jQuery(document).triggerHandler(eventName, params);
|
||
},
|
||
countBlocks($btn) {
|
||
return $btn.closest(this.selectors.repeaterField).find(this.selectors.block).length || 0;
|
||
},
|
||
add(btn) {
|
||
var self = this,
|
||
$btn = jQuery(btn),
|
||
id = $btn.data('template-id'),
|
||
repeaterBlock;
|
||
if (!Object.prototype.hasOwnProperty.call(self.counters, id)) {
|
||
self.counters[id] = self.countBlocks($btn);
|
||
}
|
||
self.counters[id] += 1;
|
||
repeaterBlock = jQuery('#' + id).html();
|
||
repeaterBlock = self.replaceAll('__counter__', self.counters[id], repeaterBlock);
|
||
$btn.before(repeaterBlock);
|
||
self.trigger('onRepeaterNewRow', [$btn, $btn.prev()]);
|
||
},
|
||
remove(btn) {
|
||
var self = this;
|
||
jQuery(btn).closest(self.selectors.block).remove();
|
||
self.trigger('onRepeaterRemoveRow', [btn]);
|
||
},
|
||
toggle(btn) {
|
||
var self = this,
|
||
$btn = jQuery(btn),
|
||
$table = $btn.closest(self.selectors.block).find(self.selectors.table),
|
||
$toggleLabel = $btn.closest(self.selectors.block).find(self.selectors.repeaterLabel);
|
||
$table.toggle(0, function () {
|
||
if ($table.is(':visible')) {
|
||
$table.closest(self.selectors.block).addClass('block-visible');
|
||
self.trigger('onRepeaterToggleVisible', [$btn, $table, $toggleLabel]);
|
||
} else {
|
||
$table.closest(self.selectors.block).removeClass('block-visible');
|
||
self.trigger('onRepeaterToggleHidden', [$btn, $table, $toggleLabel]);
|
||
}
|
||
});
|
||
$toggleLabel.toggle();
|
||
|
||
// Update row label
|
||
self.updateRowLabel(btn);
|
||
},
|
||
close(btn) {
|
||
var self = this,
|
||
$btn = jQuery(btn),
|
||
$table = $btn.closest(self.selectors.block).find(self.selectors.table),
|
||
$toggleLabel = $btn.closest(self.selectors.block).find(self.selectors.repeaterLabel);
|
||
$table.closest(self.selectors.block).removeClass('block-visible');
|
||
$table.hide();
|
||
self.trigger('onRepeaterToggleHidden', [$btn, $table, $toggleLabel]);
|
||
$toggleLabel.show();
|
||
self.updateRowLabel(btn);
|
||
},
|
||
updateRowLabel(btn) {
|
||
var self = this,
|
||
$btn = jQuery(btn),
|
||
$table = $btn.closest(self.selectors.block).find(self.selectors.table),
|
||
$toggleLabel = $btn.closest(self.selectors.block).find(self.selectors.repeaterLabel);
|
||
var selector = $toggleLabel.data('selector');
|
||
// For some browsers, `attr` is undefined; for others, `attr` is false. Check for both.
|
||
if (typeof selector !== typeof undefined && false !== selector) {
|
||
var value = false,
|
||
std = $toggleLabel.data('default');
|
||
if ($table.find(selector).length) {
|
||
value = $table.find(selector).val();
|
||
}
|
||
|
||
// Filter hook
|
||
var computedLabel = self.triggerHandler('repeaterComputedLabel', [$table, $toggleLabel, value]);
|
||
|
||
// For some browsers, `attr` is undefined; for others, `attr` is false. Check for both.
|
||
if (undefined !== computedLabel && false !== computedLabel) {
|
||
value = computedLabel;
|
||
}
|
||
|
||
// Fallback to default row label
|
||
if (undefined === value || false === value) {
|
||
value = std;
|
||
}
|
||
$toggleLabel.html(value);
|
||
}
|
||
},
|
||
replaceAll(search, replace, string) {
|
||
return string.replace(new RegExp(search, 'g'), replace);
|
||
},
|
||
init() {
|
||
var self = this;
|
||
jQuery(document).on('click', this.selectors.add, function (event) {
|
||
event.preventDefault();
|
||
self.add(jQuery(this), event);
|
||
}).on('click', this.selectors.remove, function (event) {
|
||
event.preventDefault();
|
||
// eslint-disable-next-line no-alert
|
||
var result = confirm(jQuery(this).data('confirm').toString());
|
||
if (!result) {
|
||
return;
|
||
}
|
||
self.remove(jQuery(this), event);
|
||
}).on('click', this.selectors.toggle, function (event) {
|
||
event.preventDefault();
|
||
event.stopPropagation();
|
||
self.toggle(jQuery(this), event);
|
||
}).on('click', this.selectors.close, function (event) {
|
||
event.preventDefault();
|
||
event.stopPropagation();
|
||
self.close(jQuery(this), event);
|
||
});
|
||
jQuery(this.selectors.toggle).each(function () {
|
||
self.updateRowLabel(jQuery(this));
|
||
});
|
||
this.trigger('onRepeaterLoaded', [this]);
|
||
}
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/fields/elementor-pro-upload.js"
|
||
/*!********************************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/fields/elementor-pro-upload.js ***!
|
||
\********************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
module.exports = {
|
||
$btn: null,
|
||
fileId: null,
|
||
fileUrl: null,
|
||
fileFrame: [],
|
||
selectors: {
|
||
uploadBtnClass: 'elementor-upload-btn',
|
||
clearBtnClass: 'elementor-upload-clear-btn',
|
||
uploadBtn: '.elementor-upload-btn',
|
||
clearBtn: '.elementor-upload-clear-btn',
|
||
inputURLField: '.elementor-field-file input[type="text"]'
|
||
},
|
||
hasValue() {
|
||
return '' !== jQuery(this.fileUrl).val();
|
||
},
|
||
setLabels($el) {
|
||
if (!this.hasValue()) {
|
||
$el.val($el.data('upload_text'));
|
||
} else {
|
||
$el.val($el.data('remove_text'));
|
||
}
|
||
},
|
||
setFields(el) {
|
||
const self = this;
|
||
self.fileUrl = jQuery(el).prev();
|
||
self.fileId = jQuery(self.fileUrl).prev();
|
||
},
|
||
setUploadParams(ext, name) {
|
||
const uploader = this.fileFrame[name].uploader.uploader;
|
||
uploader.param('uploadType', ext);
|
||
uploader.param('uploadTypeCaller', 'elementor-admin-font-upload');
|
||
uploader.param('post_id', this.getPostId());
|
||
},
|
||
setUploadMimeType(frame, ext) {
|
||
// Set {ext} as only allowed upload extensions
|
||
const oldExtensions = _wpPluploadSettings.defaults.filters.mime_types[0].extensions,
|
||
self = this;
|
||
frame.on('ready', () => {
|
||
_wpPluploadSettings.defaults.filters.mime_types[0].extensions = ext;
|
||
});
|
||
frame.on('close', () => {
|
||
// Restore allowed upload extensions
|
||
_wpPluploadSettings.defaults.filters.mime_types[0].extensions = oldExtensions;
|
||
self.replaceButtonClass(self.$btn);
|
||
});
|
||
},
|
||
replaceButtonClass(el) {
|
||
if (this.hasValue()) {
|
||
jQuery(el).removeClass(this.selectors.uploadBtnClass).addClass(this.selectors.clearBtnClass);
|
||
} else {
|
||
jQuery(el).removeClass(this.selectors.clearBtnClass).addClass(this.selectors.uploadBtnClass);
|
||
}
|
||
this.setLabels(el);
|
||
},
|
||
uploadFile(el) {
|
||
const self = this,
|
||
$el = jQuery(el),
|
||
mime = $el.attr('data-mime_type') || '',
|
||
ext = $el.attr('data-ext') || false,
|
||
name = $el.attr('id');
|
||
// If the media frame already exists, reopen it.
|
||
if ('undefined' !== typeof self.fileFrame[name]) {
|
||
if (ext) {
|
||
self.setUploadParams(ext, name);
|
||
}
|
||
self.fileFrame[name].open();
|
||
return;
|
||
}
|
||
|
||
// Create the media frame.
|
||
self.fileFrame[name] = wp.media({
|
||
library: {
|
||
type: [...mime.split(','), mime.split(',').join('')]
|
||
},
|
||
title: $el.data('box_title'),
|
||
button: {
|
||
text: $el.data('box_action')
|
||
},
|
||
multiple: false
|
||
});
|
||
|
||
// When an file is selected, run a callback.
|
||
self.fileFrame[name].on('select', function () {
|
||
// We set multiple to false so only get one image from the uploader
|
||
const attachment = self.fileFrame[name].state().get('selection').first().toJSON();
|
||
// Do something with attachment.id and/or attachment.url here
|
||
jQuery(self.fileId).val(attachment.id);
|
||
jQuery(self.fileUrl).val(attachment.url);
|
||
self.replaceButtonClass(el);
|
||
self.updatePreview(el);
|
||
});
|
||
self.fileFrame[name].on('open', () => {
|
||
const selectedId = this.fileId.val();
|
||
if (!selectedId) {
|
||
return;
|
||
}
|
||
const selection = self.fileFrame[name].state().get('selection');
|
||
selection.add(wp.media.attachment(selectedId));
|
||
});
|
||
self.setUploadMimeType(self.fileFrame[name], ext);
|
||
|
||
// Finally, open the modal
|
||
self.fileFrame[name].open();
|
||
if (ext) {
|
||
self.setUploadParams(ext, name);
|
||
}
|
||
},
|
||
updatePreview(el) {
|
||
const self = this,
|
||
$ul = jQuery(el).parent().find('ul'),
|
||
$li = jQuery('<li>'),
|
||
showUrlType = jQuery(el).data('preview_anchor') || 'full';
|
||
$ul.html('');
|
||
if (self.hasValue() && 'none' !== showUrlType) {
|
||
let anchor = jQuery(self.fileUrl).val();
|
||
if ('full' !== showUrlType) {
|
||
anchor = anchor.substring(anchor.lastIndexOf('/') + 1);
|
||
}
|
||
$li.html('<a href="' + jQuery(self.fileUrl).val() + '" download>' + anchor + '</a>');
|
||
$ul.append($li);
|
||
}
|
||
},
|
||
setup() {
|
||
const self = this;
|
||
jQuery(self.selectors.uploadBtn + ', ' + self.selectors.clearBtn).each(function () {
|
||
self.setFields(jQuery(this));
|
||
self.updatePreview(jQuery(this));
|
||
self.setLabels(jQuery(this));
|
||
self.replaceButtonClass(jQuery(this));
|
||
});
|
||
},
|
||
getPostId() {
|
||
return jQuery('#post_ID').val();
|
||
},
|
||
handleUploadClick(event) {
|
||
event.preventDefault();
|
||
const $element = jQuery(event.target);
|
||
if ('text' === $element.attr('type')) {
|
||
return $element.next().removeClass(this.selectors.clearBtnClass).addClass(this.selectors.uploadBtnClass).trigger('click');
|
||
}
|
||
this.$btn = $element;
|
||
this.setFields($element);
|
||
this.uploadFile($element);
|
||
},
|
||
init() {
|
||
const self = this,
|
||
{
|
||
uploadBtn,
|
||
inputURLField,
|
||
clearBtn
|
||
} = this.selectors,
|
||
handleUpload = event => this.handleUploadClick(event);
|
||
jQuery(document).on('click', uploadBtn, handleUpload);
|
||
jQuery(document).on('click', inputURLField, event => {
|
||
if ('' !== event.target.value) {
|
||
handleUpload(event);
|
||
}
|
||
});
|
||
jQuery(document).on('click', clearBtn, function (event) {
|
||
event.preventDefault();
|
||
const $element = jQuery(this);
|
||
self.setFields($element);
|
||
jQuery(self.fileUrl).val('');
|
||
jQuery(self.fileId).val('');
|
||
self.updatePreview($element);
|
||
self.replaceButtonClass($element);
|
||
});
|
||
this.setup();
|
||
jQuery(document).on('onRepeaterNewRow', function () {
|
||
self.setup();
|
||
});
|
||
}
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/font-awesome-pro.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/font-awesome-pro.js ***!
|
||
\*********************************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
"use strict";
|
||
|
||
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
class _default extends elementorModules.ViewModule {
|
||
getDefaultSettings() {
|
||
return {
|
||
selectors: {
|
||
button: '#elementor_pro_fa_pro_validate_button',
|
||
kitIdField: '#elementor_font_awesome_pro_kit_id'
|
||
}
|
||
};
|
||
}
|
||
getDefaultElements() {
|
||
const elements = {};
|
||
const selectors = this.getSettings('selectors');
|
||
jQuery.each(selectors, (element, selector) => {
|
||
elements['$' + element] = jQuery(selector);
|
||
});
|
||
return elements;
|
||
}
|
||
bindEvents() {
|
||
const {
|
||
$button,
|
||
$kitIdField
|
||
} = this.elements;
|
||
$button.on('click', event => {
|
||
event.preventDefault();
|
||
this.testKitUrl();
|
||
});
|
||
$kitIdField.on('change', () => {
|
||
this.setState('clear');
|
||
});
|
||
}
|
||
setState(type) {
|
||
const classes = ['loading', 'success', 'error'],
|
||
{
|
||
$button
|
||
} = this.elements;
|
||
let currentClass, classIndex;
|
||
for (classIndex in classes) {
|
||
currentClass = classes[classIndex];
|
||
if (type === currentClass) {
|
||
$button.addClass(currentClass);
|
||
} else {
|
||
$button.removeClass(currentClass);
|
||
}
|
||
}
|
||
}
|
||
testKitUrl() {
|
||
this.setState('loading');
|
||
const self = this,
|
||
kitID = this.elements.$kitIdField.val();
|
||
if ('' === kitID) {
|
||
this.setState('clear');
|
||
return;
|
||
}
|
||
jQuery.ajax({
|
||
url: 'https://kit.fontawesome.com/' + kitID + '.js',
|
||
method: 'GET',
|
||
complete: xhr => {
|
||
if (200 !== xhr.status) {
|
||
self.setState('error');
|
||
} else {
|
||
self.setState('success');
|
||
}
|
||
}
|
||
});
|
||
}
|
||
}
|
||
exports["default"] = _default;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/assets-manager/assets/js/admin/typekit.js"
|
||
/*!************************************************************!*\
|
||
!*** ../modules/assets-manager/assets/js/admin/typekit.js ***!
|
||
\************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function () {
|
||
var self = this;
|
||
self.cacheElements = function () {
|
||
this.cache = {
|
||
$button: jQuery('#elementor_pro_typekit_validate_button'),
|
||
$kitIdField: jQuery('#elementor_typekit-kit-id'),
|
||
$dataLabelSpan: jQuery('.elementor-pro-typekit-data')
|
||
};
|
||
};
|
||
self.bindEvents = function () {
|
||
this.cache.$button.on('click', function (event) {
|
||
event.preventDefault();
|
||
self.fetchFonts();
|
||
});
|
||
this.cache.$kitIdField.on('change', function () {
|
||
self.setState('clear');
|
||
});
|
||
};
|
||
self.fetchFonts = function () {
|
||
this.setState('loading');
|
||
this.cache.$dataLabelSpan.addClass('hidden');
|
||
var kitID = this.cache.$kitIdField.val();
|
||
if ('' === kitID) {
|
||
this.setState('clear');
|
||
return;
|
||
}
|
||
jQuery.post(ajaxurl, {
|
||
action: 'elementor_pro_admin_fetch_fonts',
|
||
kit_id: kitID,
|
||
_nonce: self.cache.$button.data('nonce')
|
||
}).done(function (data) {
|
||
if (data.success) {
|
||
var template = self.cache.$button.data('found');
|
||
template = template.replace('{{count}}', data.data.count);
|
||
self.cache.$dataLabelSpan.html(template).removeClass('hidden');
|
||
self.setState('success');
|
||
} else {
|
||
self.setState('error');
|
||
}
|
||
}).fail(function () {
|
||
self.setState();
|
||
});
|
||
};
|
||
self.setState = function (type) {
|
||
var classes = ['loading', 'success', 'error'],
|
||
currentClass,
|
||
classIndex;
|
||
for (classIndex in classes) {
|
||
currentClass = classes[classIndex];
|
||
if (type === currentClass) {
|
||
this.cache.$button.addClass(currentClass);
|
||
} else {
|
||
this.cache.$button.removeClass(currentClass);
|
||
}
|
||
}
|
||
};
|
||
self.init = function () {
|
||
this.cacheElements();
|
||
this.bindEvents();
|
||
};
|
||
self.init();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/forms/assets/js/admin.js"
|
||
/*!*******************************************!*\
|
||
!*** ../modules/forms/assets/js/admin.js ***!
|
||
\*******************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function () {
|
||
var ApiValidations = __webpack_require__(/*! ./admin/api-validations */ "../modules/forms/assets/js/admin/api-validations.js");
|
||
this.dripButton = new ApiValidations('drip_api_token');
|
||
this.getResponse = new ApiValidations('getresponse_api_key');
|
||
this.convertKit = new ApiValidations('convertkit_api_key');
|
||
this.mailChimp = new ApiValidations('mailchimp_api_key');
|
||
this.mailerLite = new ApiValidations('mailerlite_api_key');
|
||
this.activeCcampaign = new ApiValidations('activecampaign_api_key', 'activecampaign_api_url');
|
||
document.querySelector('.e-notice--cta.e-notice--dismissible[data-notice_id="site_mailer_forms_submissions_notice"] a.e-button--cta')?.addEventListener('click', function () {
|
||
const $notice = $(this).closest('.e-notice');
|
||
const source = $notice.data('source') || 'sm-submission-install';
|
||
elementorCommon.ajax.addRequest('elementor_site_mailer_campaign', {
|
||
data: {
|
||
source
|
||
}
|
||
});
|
||
});
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/forms/assets/js/admin/api-validations.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../modules/forms/assets/js/admin/api-validations.js ***!
|
||
\***********************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function (key, fieldID) {
|
||
var self = this;
|
||
self.cacheElements = function () {
|
||
this.cache = {
|
||
$button: jQuery('#elementor_pro_' + key + '_button'),
|
||
$apiKeyField: jQuery('#elementor_pro_' + key),
|
||
$apiUrlField: jQuery('#elementor_pro_' + fieldID)
|
||
};
|
||
};
|
||
self.bindEvents = function () {
|
||
this.cache.$button.on('click', function (event) {
|
||
event.preventDefault();
|
||
self.validateApi();
|
||
});
|
||
this.cache.$apiKeyField.on('change', function () {
|
||
self.setState('clear');
|
||
});
|
||
};
|
||
self.validateApi = function () {
|
||
this.setState('loading');
|
||
var apiKey = this.cache.$apiKeyField.val();
|
||
if ('' === apiKey) {
|
||
this.setState('clear');
|
||
return;
|
||
}
|
||
if (this.cache.$apiUrlField.length && '' === this.cache.$apiUrlField.val()) {
|
||
this.setState('clear');
|
||
return;
|
||
}
|
||
jQuery.post(ajaxurl, {
|
||
action: self.cache.$button.data('action'),
|
||
api_key: apiKey,
|
||
api_url: this.cache.$apiUrlField.val(),
|
||
_nonce: self.cache.$button.data('nonce')
|
||
}).done(function (data) {
|
||
if (data.success) {
|
||
self.setState('success');
|
||
} else {
|
||
self.setState('error');
|
||
}
|
||
}).fail(function () {
|
||
self.setState();
|
||
});
|
||
};
|
||
self.setState = function (type) {
|
||
var classes = ['loading', 'success', 'error'],
|
||
currentClass,
|
||
classIndex;
|
||
for (classIndex in classes) {
|
||
currentClass = classes[classIndex];
|
||
if (type === currentClass) {
|
||
this.cache.$button.addClass(currentClass);
|
||
} else {
|
||
this.cache.$button.removeClass(currentClass);
|
||
}
|
||
}
|
||
};
|
||
self.init = function () {
|
||
this.cacheElements();
|
||
this.bindEvents();
|
||
};
|
||
self.init();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/library/assets/js/admin.js"
|
||
/*!*********************************************!*\
|
||
!*** ../modules/library/assets/js/admin.js ***!
|
||
\*********************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function () {
|
||
var EditButton = __webpack_require__(/*! ./admin/edit-button */ "../modules/library/assets/js/admin/edit-button.js");
|
||
var ShortcodeTextarea = __webpack_require__(/*! ./admin/shortcode-textarea */ "../modules/library/assets/js/admin/shortcode-textarea.js");
|
||
this.editButton = new EditButton();
|
||
this.shortcodeTextarea = new ShortcodeTextarea();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/library/assets/js/admin/edit-button.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../modules/library/assets/js/admin/edit-button.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
module.exports = function () {
|
||
var self = this;
|
||
self.init = function () {
|
||
jQuery(document).on('change', '.elementor-widget-template-select', function () {
|
||
var $this = jQuery(this),
|
||
templateID = $this.val(),
|
||
$editButton = $this.parents('p').find('.elementor-edit-template'),
|
||
type = $this.find('[value="' + templateID + '"]').data('type');
|
||
if ('page' !== type) {
|
||
// 'widget' is editable only from Elementor page
|
||
$editButton.hide();
|
||
return;
|
||
}
|
||
var editUrl = elementorAdmin.config.home_url + '?p=' + templateID + '&elementor';
|
||
$editButton.prop('href', editUrl).show();
|
||
});
|
||
};
|
||
self.init();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/library/assets/js/admin/shortcode-textarea.js"
|
||
/*!****************************************************************!*\
|
||
!*** ../modules/library/assets/js/admin/shortcode-textarea.js ***!
|
||
\****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js");
|
||
module.exports = function () {
|
||
const resizeAllTextareas = () => {
|
||
const textareas = document.querySelectorAll('.elementor-shortcode-textarea');
|
||
textareas.forEach(textarea => {
|
||
textarea.style.height = 'auto';
|
||
textarea.style.height = textarea.scrollHeight + 5 + 'px';
|
||
});
|
||
};
|
||
const init = () => {
|
||
resizeAllTextareas();
|
||
window.addEventListener('resize', () => {
|
||
resizeAllTextareas();
|
||
});
|
||
document.addEventListener('click', event => {
|
||
if (event.target.matches('button.toggle-row')) {
|
||
resizeAllTextareas();
|
||
}
|
||
});
|
||
};
|
||
init();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/payments/assets/js/admin.js"
|
||
/*!**********************************************!*\
|
||
!*** ../modules/payments/assets/js/admin.js ***!
|
||
\**********************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function () {
|
||
const ApiValidations = __webpack_require__(/*! ./admin/api-validations */ "../modules/payments/assets/js/admin/api-validations.js");
|
||
this.stripeTestSecretKey = new ApiValidations('stripe_test_secret_key');
|
||
this.stripeLiveSecretKey = new ApiValidations('stripe_live_secret_key');
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/payments/assets/js/admin/api-validations.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../modules/payments/assets/js/admin/api-validations.js ***!
|
||
\**************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function (key) {
|
||
var self = this;
|
||
self.cacheElements = function () {
|
||
this.cache = {
|
||
$button: jQuery('#elementor_pro_' + key + '_button'),
|
||
$apiKeyField: jQuery('#elementor_pro_' + key)
|
||
};
|
||
};
|
||
self.bindEvents = function () {
|
||
this.cache.$button.on('click', function (event) {
|
||
event.preventDefault();
|
||
self.validateApi();
|
||
});
|
||
this.cache.$apiKeyField.on('change', function () {
|
||
self.setState('clear');
|
||
});
|
||
};
|
||
self.validateApi = function () {
|
||
this.setState('loading');
|
||
var apiKey = this.cache.$apiKeyField.val();
|
||
if ('' === apiKey) {
|
||
this.setState('clear');
|
||
return;
|
||
}
|
||
jQuery.post(ajaxurl, {
|
||
action: self.cache.$button.data('action'),
|
||
secret_key: apiKey,
|
||
_nonce: self.cache.$button.data('nonce')
|
||
}).done(function (data) {
|
||
if (data.success) {
|
||
self.setState('success');
|
||
} else {
|
||
self.setState('error');
|
||
}
|
||
}).fail(function () {
|
||
self.setState();
|
||
});
|
||
};
|
||
self.setState = function (type) {
|
||
var classes = ['loading', 'success', 'error'],
|
||
currentClass,
|
||
classIndex;
|
||
for (classIndex in classes) {
|
||
currentClass = classes[classIndex];
|
||
if (type === currentClass) {
|
||
this.cache.$button.addClass(currentClass);
|
||
} else {
|
||
this.cache.$button.removeClass(currentClass);
|
||
}
|
||
}
|
||
};
|
||
self.init = function () {
|
||
this.cacheElements();
|
||
this.bindEvents();
|
||
};
|
||
self.init();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/popup/assets/js/admin/admin.js"
|
||
/*!*************************************************!*\
|
||
!*** ../modules/popup/assets/js/admin/admin.js ***!
|
||
\*************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
"use strict";
|
||
|
||
|
||
Object.defineProperty(exports, "__esModule", ({
|
||
value: true
|
||
}));
|
||
exports["default"] = void 0;
|
||
class _default extends elementorModules.Module {
|
||
constructor() {
|
||
super();
|
||
if (!elementorModules.admin?.MenuHandler) {
|
||
return;
|
||
}
|
||
new elementorModules.admin.MenuHandler({
|
||
path: 'edit.php?post_type=elementor_library&tabs_group=popup&elementor_library_type=popup'
|
||
});
|
||
}
|
||
}
|
||
exports["default"] = _default;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/role-manager/assets/js/admin.js"
|
||
/*!**************************************************!*\
|
||
!*** ../modules/role-manager/assets/js/admin.js ***!
|
||
\**************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function () {
|
||
var AdvancedRoleManager = __webpack_require__(/*! ./admin/role-mananger */ "../modules/role-manager/assets/js/admin/role-mananger.js");
|
||
this.advancedRoleManager = new AdvancedRoleManager();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/role-manager/assets/js/admin/role-mananger.js"
|
||
/*!****************************************************************!*\
|
||
!*** ../modules/role-manager/assets/js/admin/role-mananger.js ***!
|
||
\****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
module.exports = function () {
|
||
var self = this;
|
||
self.cacheElements = function () {
|
||
this.cache = {
|
||
$checkBox: jQuery('input[name="elementor_exclude_user_roles[]"]'),
|
||
$advanced: jQuery('#elementor_advanced_role_manager')
|
||
};
|
||
};
|
||
self.bindEvents = function () {
|
||
this.cache.$checkBox.on('change', function (event) {
|
||
event.preventDefault();
|
||
self.checkBoxUpdate(jQuery(this));
|
||
});
|
||
};
|
||
self.checkBoxUpdate = function ($element) {
|
||
var role = $element.val();
|
||
if ($element.is(':checked')) {
|
||
self.cache.$advanced.find('div.' + role).addClass('hidden');
|
||
} else {
|
||
self.cache.$advanced.find('div.' + role).removeClass('hidden');
|
||
}
|
||
};
|
||
self.init = function () {
|
||
if (!jQuery('body').hasClass('elementor_page_elementor-role-manager')) {
|
||
return;
|
||
}
|
||
this.cacheElements();
|
||
this.bindEvents();
|
||
};
|
||
self.init();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/theme-builder/assets/js/admin/admin.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../modules/theme-builder/assets/js/admin/admin.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
module.exports = function () {
|
||
var CreateTemplateDialog = __webpack_require__(/*! ./create-template-dialog */ "../modules/theme-builder/assets/js/admin/create-template-dialog.js");
|
||
this.createTemplateDialog = new CreateTemplateDialog();
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "../modules/theme-builder/assets/js/admin/create-template-dialog.js"
|
||
/*!**************************************************************************!*\
|
||
!*** ../modules/theme-builder/assets/js/admin/create-template-dialog.js ***!
|
||
\**************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js");
|
||
__webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js");
|
||
module.exports = function () {
|
||
var selectors = {
|
||
templateTypeInput: '#elementor-new-template__form__template-type',
|
||
locationWrapper: '#elementor-new-template__form__location__wrapper',
|
||
postTypeWrapper: '#elementor-new-template__form__post-type__wrapper'
|
||
};
|
||
var elements = {
|
||
$templateTypeInput: null,
|
||
$locationWrapper: null,
|
||
$postTypeWrapper: null
|
||
};
|
||
var setElements = function () {
|
||
jQuery.each(selectors, function (key, selector) {
|
||
key = '$' + key;
|
||
elements[key] = elementorNewTemplate.layout.getModal().getElements('content').find(selector);
|
||
});
|
||
};
|
||
var setLocationFieldVisibility = function () {
|
||
elements.$locationWrapper.toggle('section' === elements.$templateTypeInput.val());
|
||
elements.$postTypeWrapper.toggle('single' === elements.$templateTypeInput.val());
|
||
};
|
||
const setPostType = () => {
|
||
const postTypeMap = {
|
||
'error-404': 'not_found404'
|
||
};
|
||
const postType = postTypeMap[elements.$templateTypeInput.val()] || '';
|
||
elements.$postTypeWrapper.find('select').val(postType);
|
||
};
|
||
var run = function () {
|
||
setElements();
|
||
setLocationFieldVisibility();
|
||
elements.$templateTypeInput.on('change', () => {
|
||
setLocationFieldVisibility();
|
||
setPostType();
|
||
});
|
||
};
|
||
this.init = function () {
|
||
if (!window.elementorNewTemplate) {
|
||
return;
|
||
}
|
||
|
||
// Make sure the modal has already been initialized
|
||
elementorNewTemplate.layout.getModal();
|
||
run();
|
||
};
|
||
jQuery(setTimeout.bind(window, this.init));
|
||
};
|
||
|
||
/***/ },
|
||
|
||
/***/ "@wordpress/i18n"
|
||
/*!**************************!*\
|
||
!*** external "wp.i18n" ***!
|
||
\**************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
module.exports = wp.i18n;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"
|
||
/*!***********************************************************************!*\
|
||
!*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
|
||
\***********************************************************************/
|
||
(module) {
|
||
|
||
function _interopRequireDefault(e) {
|
||
return e && e.__esModule ? e : {
|
||
"default": e
|
||
};
|
||
}
|
||
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/a-callable.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/a-callable.js ***!
|
||
\*******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// `Assert: IsCallable(argument) is true`
|
||
module.exports = function (argument) {
|
||
if (isCallable(argument)) return argument;
|
||
throw new $TypeError(tryToString(argument) + ' is not a function');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/an-instance.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/an-instance.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
module.exports = function (it, Prototype) {
|
||
if (isPrototypeOf(Prototype, it)) return it;
|
||
throw new $TypeError('Incorrect invocation');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/an-object.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/an-object.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
|
||
var $String = String;
|
||
var $TypeError = TypeError;
|
||
|
||
// `Assert: Type(argument) is Object`
|
||
module.exports = function (argument) {
|
||
if (isObject(argument)) return argument;
|
||
throw new $TypeError($String(argument) + ' is not an object');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/array-includes.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/array-includes.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../node_modules/core-js/internals/to-absolute-index.js");
|
||
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
|
||
|
||
// `Array.prototype.{ indexOf, includes }` methods implementation
|
||
var createMethod = function (IS_INCLUDES) {
|
||
return function ($this, el, fromIndex) {
|
||
var O = toIndexedObject($this);
|
||
var length = lengthOfArrayLike(O);
|
||
if (length === 0) return !IS_INCLUDES && -1;
|
||
var index = toAbsoluteIndex(fromIndex, length);
|
||
var value;
|
||
// Array#includes uses SameValueZero equality algorithm
|
||
// eslint-disable-next-line no-self-compare -- NaN check
|
||
if (IS_INCLUDES && el !== el) while (length > index) {
|
||
value = O[index++];
|
||
// eslint-disable-next-line no-self-compare -- NaN check
|
||
if (value !== value) return true;
|
||
// Array#indexOf ignores holes, Array#includes - not
|
||
} else for (;length > index; index++) {
|
||
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
||
} return !IS_INCLUDES && -1;
|
||
};
|
||
};
|
||
|
||
module.exports = {
|
||
// `Array.prototype.includes` method
|
||
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
||
includes: createMethod(true),
|
||
// `Array.prototype.indexOf` method
|
||
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
||
indexOf: createMethod(false)
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/array-slice.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/array-slice.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
module.exports = uncurryThis([].slice);
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"
|
||
/*!*****************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!
|
||
\*****************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
|
||
// call something on iterator step with safe closing on error
|
||
module.exports = function (iterator, fn, value, ENTRIES) {
|
||
try {
|
||
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
|
||
} catch (error) {
|
||
iteratorClose(iterator, 'throw', error);
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/classof-raw.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/classof-raw.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
var toString = uncurryThis({}.toString);
|
||
var stringSlice = uncurryThis(''.slice);
|
||
|
||
module.exports = function (it) {
|
||
return stringSlice(toString(it), 8, -1);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/classof.js"
|
||
/*!****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/classof.js ***!
|
||
\****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../node_modules/core-js/internals/to-string-tag-support.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
var $Object = Object;
|
||
|
||
// ES3 wrong here
|
||
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
||
|
||
// fallback for IE11 Script Access Denied error
|
||
var tryGet = function (it, key) {
|
||
try {
|
||
return it[key];
|
||
} catch (error) { /* empty */ }
|
||
};
|
||
|
||
// getting tag from ES6+ `Object.prototype.toString`
|
||
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
||
var O, tag, result;
|
||
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
||
// @@toStringTag case
|
||
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
||
// builtinTag case
|
||
: CORRECT_ARGUMENTS ? classofRaw(O)
|
||
// ES3 arguments fallback
|
||
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/copy-constructor-properties.js"
|
||
/*!************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/copy-constructor-properties.js ***!
|
||
\************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../node_modules/core-js/internals/own-keys.js");
|
||
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
|
||
module.exports = function (target, source, exceptions) {
|
||
var keys = ownKeys(source);
|
||
var defineProperty = definePropertyModule.f;
|
||
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
||
for (var i = 0; i < keys.length; i++) {
|
||
var key = keys[i];
|
||
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
||
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
||
}
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/correct-prototype-getter.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/correct-prototype-getter.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
module.exports = !fails(function () {
|
||
function F() { /* empty */ }
|
||
F.prototype.constructor = null;
|
||
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
||
return Object.getPrototypeOf(new F()) !== F.prototype;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-iter-result-object.js"
|
||
/*!**********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-iter-result-object.js ***!
|
||
\**********************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
// `CreateIterResultObject` abstract operation
|
||
// https://tc39.es/ecma262/#sec-createiterresultobject
|
||
module.exports = function (value, done) {
|
||
return { value: value, done: done };
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-non-enumerable-property.js"
|
||
/*!***************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-non-enumerable-property.js ***!
|
||
\***************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
|
||
|
||
module.exports = DESCRIPTORS ? function (object, key, value) {
|
||
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
||
} : function (object, key, value) {
|
||
object[key] = value;
|
||
return object;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-property-descriptor.js"
|
||
/*!***********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-property-descriptor.js ***!
|
||
\***********************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
module.exports = function (bitmap, value) {
|
||
return {
|
||
enumerable: !(bitmap & 1),
|
||
configurable: !(bitmap & 2),
|
||
writable: !(bitmap & 4),
|
||
value: value
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/create-property.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/create-property.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
|
||
|
||
module.exports = function (object, key, value) {
|
||
if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
||
else object[key] = value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-built-in-accessor.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-built-in-accessor.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
|
||
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
|
||
module.exports = function (target, name, descriptor) {
|
||
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
||
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
||
return defineProperty.f(target, name, descriptor);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-built-in.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-built-in.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../node_modules/core-js/internals/make-built-in.js");
|
||
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
|
||
|
||
module.exports = function (O, key, value, options) {
|
||
if (!options) options = {};
|
||
var simple = options.enumerable;
|
||
var name = options.name !== undefined ? options.name : key;
|
||
if (isCallable(value)) makeBuiltIn(value, name, options);
|
||
if (options.global) {
|
||
if (simple) O[key] = value;
|
||
else defineGlobalProperty(key, value);
|
||
} else {
|
||
try {
|
||
if (!options.unsafe) delete O[key];
|
||
else if (O[key]) simple = true;
|
||
} catch (error) { /* empty */ }
|
||
if (simple) O[key] = value;
|
||
else definePropertyModule.f(O, key, {
|
||
value: value,
|
||
enumerable: false,
|
||
configurable: !options.nonConfigurable,
|
||
writable: !options.nonWritable
|
||
});
|
||
} return O;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-built-ins.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-built-ins.js ***!
|
||
\*************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
|
||
|
||
module.exports = function (target, src, options) {
|
||
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
||
return target;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/define-global-property.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/define-global-property.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
var defineProperty = Object.defineProperty;
|
||
|
||
module.exports = function (key, value) {
|
||
try {
|
||
defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
|
||
} catch (error) {
|
||
globalThis[key] = value;
|
||
} return value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/descriptors.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/descriptors.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
// Detect IE8's incomplete defineProperty implementation
|
||
module.exports = !fails(function () {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
||
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/document-create-element.js"
|
||
/*!********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/document-create-element.js ***!
|
||
\********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
|
||
var document = globalThis.document;
|
||
// typeof document.createElement is 'object' in old IE
|
||
var EXISTS = isObject(document) && isObject(document.createElement);
|
||
|
||
module.exports = function (it) {
|
||
return EXISTS ? document.createElement(it) : {};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/enum-bug-keys.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/enum-bug-keys.js ***!
|
||
\**********************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
// IE8- don't enum bug keys
|
||
module.exports = [
|
||
'constructor',
|
||
'hasOwnProperty',
|
||
'isPrototypeOf',
|
||
'propertyIsEnumerable',
|
||
'toLocaleString',
|
||
'toString',
|
||
'valueOf'
|
||
];
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/environment-user-agent.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/environment-user-agent.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
var navigator = globalThis.navigator;
|
||
var userAgent = navigator && navigator.userAgent;
|
||
|
||
module.exports = userAgent ? String(userAgent) : '';
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/environment-v8-version.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/environment-v8-version.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "../node_modules/core-js/internals/environment-user-agent.js");
|
||
|
||
var process = globalThis.process;
|
||
var Deno = globalThis.Deno;
|
||
var versions = process && process.versions || Deno && Deno.version;
|
||
var v8 = versions && versions.v8;
|
||
var match, version;
|
||
|
||
if (v8) {
|
||
match = v8.split('.');
|
||
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
||
// but their correct versions are not interesting for us
|
||
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
||
}
|
||
|
||
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
||
// so check `userAgent` even if `.v8` exists, but 0
|
||
if (!version && userAgent) {
|
||
match = userAgent.match(/Edge\/(\d+)/);
|
||
if (!match || match[1] >= 74) {
|
||
match = userAgent.match(/Chrome\/(\d+)/);
|
||
if (match) version = +match[1];
|
||
}
|
||
}
|
||
|
||
module.exports = version;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/export.js"
|
||
/*!***************************************************!*\
|
||
!*** ../node_modules/core-js/internals/export.js ***!
|
||
\***************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
||
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
|
||
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
|
||
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../node_modules/core-js/internals/copy-constructor-properties.js");
|
||
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../node_modules/core-js/internals/is-forced.js");
|
||
|
||
/*
|
||
options.target - name of the target object
|
||
options.global - target is the global object
|
||
options.stat - export as static methods of target
|
||
options.proto - export as prototype methods of target
|
||
options.real - real prototype method for the `pure` version
|
||
options.forced - export even if the native feature is available
|
||
options.bind - bind methods to the target, required for the `pure` version
|
||
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
||
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
||
options.sham - add a flag to not completely full polyfills
|
||
options.enumerable - export as enumerable property
|
||
options.dontCallGetSet - prevent calling a getter on target
|
||
options.name - the .name of the function if it does not match the key
|
||
*/
|
||
module.exports = function (options, source) {
|
||
var TARGET = options.target;
|
||
var GLOBAL = options.global;
|
||
var STATIC = options.stat;
|
||
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
||
if (GLOBAL) {
|
||
target = globalThis;
|
||
} else if (STATIC) {
|
||
target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
|
||
} else {
|
||
target = globalThis[TARGET] && globalThis[TARGET].prototype;
|
||
}
|
||
if (target) for (key in source) {
|
||
sourceProperty = source[key];
|
||
if (options.dontCallGetSet) {
|
||
descriptor = getOwnPropertyDescriptor(target, key);
|
||
targetProperty = descriptor && descriptor.value;
|
||
} else targetProperty = target[key];
|
||
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
||
// contained in target
|
||
if (!FORCED && targetProperty !== undefined) {
|
||
if (typeof sourceProperty == typeof targetProperty) continue;
|
||
copyConstructorProperties(sourceProperty, targetProperty);
|
||
}
|
||
// add a flag to not completely full polyfills
|
||
if (options.sham || (targetProperty && targetProperty.sham)) {
|
||
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
||
}
|
||
defineBuiltIn(target, key, sourceProperty, options);
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/fails.js"
|
||
/*!**************************************************!*\
|
||
!*** ../node_modules/core-js/internals/fails.js ***!
|
||
\**************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
module.exports = function (exec) {
|
||
try {
|
||
return !!exec();
|
||
} catch (error) {
|
||
return true;
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-apply.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-apply.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var FunctionPrototype = Function.prototype;
|
||
var apply = FunctionPrototype.apply;
|
||
var call = FunctionPrototype.call;
|
||
|
||
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
||
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
||
return call.apply(apply, arguments);
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-bind-context.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-bind-context.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "../node_modules/core-js/internals/function-uncurry-this-clause.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var bind = uncurryThis(uncurryThis.bind);
|
||
|
||
// optional / simple context binding
|
||
module.exports = function (fn, that) {
|
||
aCallable(fn);
|
||
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
||
return fn.apply(that, arguments);
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-bind-native.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-bind-native.js ***!
|
||
\*****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
module.exports = !fails(function () {
|
||
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
||
var test = (function () { /* empty */ }).bind();
|
||
// eslint-disable-next-line no-prototype-builtins -- safe
|
||
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-call.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-call.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var call = Function.prototype.call;
|
||
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
||
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
||
return call.apply(call, arguments);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-name.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-name.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
|
||
var FunctionPrototype = Function.prototype;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
||
|
||
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
||
// additional protection from minified / mangled / dropped function names
|
||
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
||
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
||
|
||
module.exports = {
|
||
EXISTS: EXISTS,
|
||
PROPER: PROPER,
|
||
CONFIGURABLE: CONFIGURABLE
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-uncurry-this-clause.js"
|
||
/*!*************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-uncurry-this-clause.js ***!
|
||
\*************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
module.exports = function (fn) {
|
||
// Nashorn bug:
|
||
// https://github.com/zloirock/core-js/issues/1128
|
||
// https://github.com/zloirock/core-js/issues/1130
|
||
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/function-uncurry-this.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/function-uncurry-this.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../node_modules/core-js/internals/function-bind-native.js");
|
||
|
||
var FunctionPrototype = Function.prototype;
|
||
var call = FunctionPrototype.call;
|
||
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
||
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
||
|
||
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
||
return function () {
|
||
return call.apply(fn, arguments);
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-built-in.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-built-in.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
var aFunction = function (argument) {
|
||
return isCallable(argument) ? argument : undefined;
|
||
};
|
||
|
||
module.exports = function (namespace, method) {
|
||
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-iterator-direct.js"
|
||
/*!****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-iterator-direct.js ***!
|
||
\****************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
// `GetIteratorDirect(obj)` abstract operation
|
||
// https://tc39.es/ecma262/#sec-getiteratordirect
|
||
module.exports = function (obj) {
|
||
return {
|
||
iterator: obj,
|
||
next: obj.next,
|
||
done: false
|
||
};
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-iterator-method.js"
|
||
/*!****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-iterator-method.js ***!
|
||
\****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
|
||
var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var ITERATOR = wellKnownSymbol('iterator');
|
||
|
||
module.exports = function (it) {
|
||
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
||
|| getMethod(it, '@@iterator')
|
||
|| Iterators[classof(it)];
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-iterator.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-iterator.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
|
||
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
module.exports = function (argument, usingIterator) {
|
||
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
||
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
||
throw new $TypeError(tryToString(argument) + ' is not iterable');
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/get-method.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/get-method.js ***!
|
||
\*******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
|
||
|
||
// `GetMethod` abstract operation
|
||
// https://tc39.es/ecma262/#sec-getmethod
|
||
module.exports = function (V, P) {
|
||
var func = V[P];
|
||
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/global-this.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/global-this.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var check = function (it) {
|
||
return it && it.Math === Math && it;
|
||
};
|
||
|
||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
||
module.exports =
|
||
// eslint-disable-next-line es/no-global-this -- safe
|
||
check(typeof globalThis == 'object' && globalThis) ||
|
||
check(typeof window == 'object' && window) ||
|
||
// eslint-disable-next-line no-restricted-globals -- safe
|
||
check(typeof self == 'object' && self) ||
|
||
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
|
||
check(typeof this == 'object' && this) ||
|
||
// eslint-disable-next-line no-new-func -- fallback
|
||
(function () { return this; })() || Function('return this')();
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/has-own-property.js"
|
||
/*!*************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/has-own-property.js ***!
|
||
\*************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
|
||
|
||
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
||
|
||
// `HasOwnProperty` abstract operation
|
||
// https://tc39.es/ecma262/#sec-hasownproperty
|
||
// eslint-disable-next-line es/no-object-hasown -- safe
|
||
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
||
return hasOwnProperty(toObject(it), key);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/hidden-keys.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/hidden-keys.js ***!
|
||
\********************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
module.exports = {};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/html.js"
|
||
/*!*************************************************!*\
|
||
!*** ../node_modules/core-js/internals/html.js ***!
|
||
\*************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
|
||
module.exports = getBuiltIn('document', 'documentElement');
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/ie8-dom-define.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/ie8-dom-define.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
|
||
|
||
// Thanks to IE8 for its funny defineProperty
|
||
module.exports = !DESCRIPTORS && !fails(function () {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
||
return Object.defineProperty(createElement('div'), 'a', {
|
||
get: function () { return 7; }
|
||
}).a !== 7;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/indexed-object.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/indexed-object.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
|
||
var $Object = Object;
|
||
var split = uncurryThis(''.split);
|
||
|
||
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
||
module.exports = fails(function () {
|
||
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
||
// eslint-disable-next-line no-prototype-builtins -- safe
|
||
return !$Object('z').propertyIsEnumerable(0);
|
||
}) ? function (it) {
|
||
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
||
} : $Object;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/inspect-source.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/inspect-source.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
|
||
|
||
var functionToString = uncurryThis(Function.toString);
|
||
|
||
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
||
if (!isCallable(store.inspectSource)) {
|
||
store.inspectSource = function (it) {
|
||
return functionToString(it);
|
||
};
|
||
}
|
||
|
||
module.exports = store.inspectSource;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/internal-state.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/internal-state.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "../node_modules/core-js/internals/weak-map-basic-detection.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var shared = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
|
||
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
|
||
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
|
||
|
||
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
||
var TypeError = globalThis.TypeError;
|
||
var WeakMap = globalThis.WeakMap;
|
||
var set, get, has;
|
||
|
||
var enforce = function (it) {
|
||
return has(it) ? get(it) : set(it, {});
|
||
};
|
||
|
||
var getterFor = function (TYPE) {
|
||
return function (it) {
|
||
var state;
|
||
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
||
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
|
||
} return state;
|
||
};
|
||
};
|
||
|
||
if (NATIVE_WEAK_MAP || shared.state) {
|
||
var store = shared.state || (shared.state = new WeakMap());
|
||
/* eslint-disable no-self-assign -- prototype methods protection */
|
||
store.get = store.get;
|
||
store.has = store.has;
|
||
store.set = store.set;
|
||
/* eslint-enable no-self-assign -- prototype methods protection */
|
||
set = function (it, metadata) {
|
||
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
||
metadata.facade = it;
|
||
store.set(it, metadata);
|
||
return metadata;
|
||
};
|
||
get = function (it) {
|
||
return store.get(it) || {};
|
||
};
|
||
has = function (it) {
|
||
return store.has(it);
|
||
};
|
||
} else {
|
||
var STATE = sharedKey('state');
|
||
hiddenKeys[STATE] = true;
|
||
set = function (it, metadata) {
|
||
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
||
metadata.facade = it;
|
||
createNonEnumerableProperty(it, STATE, metadata);
|
||
return metadata;
|
||
};
|
||
get = function (it) {
|
||
return hasOwn(it, STATE) ? it[STATE] : {};
|
||
};
|
||
has = function (it) {
|
||
return hasOwn(it, STATE);
|
||
};
|
||
}
|
||
|
||
module.exports = {
|
||
set: set,
|
||
get: get,
|
||
has: has,
|
||
enforce: enforce,
|
||
getterFor: getterFor
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-array-iterator-method.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-array-iterator-method.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var Iterators = __webpack_require__(/*! ../internals/iterators */ "../node_modules/core-js/internals/iterators.js");
|
||
|
||
var ITERATOR = wellKnownSymbol('iterator');
|
||
var ArrayPrototype = Array.prototype;
|
||
|
||
// check on default Array iterator
|
||
module.exports = function (it) {
|
||
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-array.js"
|
||
/*!*****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-array.js ***!
|
||
\*****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
|
||
// `IsArray` abstract operation
|
||
// https://tc39.es/ecma262/#sec-isarray
|
||
// eslint-disable-next-line es/no-array-isarray -- safe
|
||
module.exports = Array.isArray || function isArray(argument) {
|
||
return classof(argument) === 'Array';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-callable.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-callable.js ***!
|
||
\********************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
||
var documentAll = typeof document == 'object' && document.all;
|
||
|
||
// `IsCallable` abstract operation
|
||
// https://tc39.es/ecma262/#sec-iscallable
|
||
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
||
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
||
return typeof argument == 'function' || argument === documentAll;
|
||
} : function (argument) {
|
||
return typeof argument == 'function';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-forced.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-forced.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
var replacement = /#|\.prototype\./;
|
||
|
||
var isForced = function (feature, detection) {
|
||
var value = data[normalize(feature)];
|
||
return value === POLYFILL ? true
|
||
: value === NATIVE ? false
|
||
: isCallable(detection) ? fails(detection)
|
||
: !!detection;
|
||
};
|
||
|
||
var normalize = isForced.normalize = function (string) {
|
||
return String(string).replace(replacement, '.').toLowerCase();
|
||
};
|
||
|
||
var data = isForced.data = {};
|
||
var NATIVE = isForced.NATIVE = 'N';
|
||
var POLYFILL = isForced.POLYFILL = 'P';
|
||
|
||
module.exports = isForced;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-null-or-undefined.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-null-or-undefined.js ***!
|
||
\*****************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
// we can't use just `it == null` since of `document.all` special case
|
||
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
||
module.exports = function (it) {
|
||
return it === null || it === undefined;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-object.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-object.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
module.exports = function (it) {
|
||
return typeof it == 'object' ? it !== null : isCallable(it);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-pure.js"
|
||
/*!****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-pure.js ***!
|
||
\****************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
module.exports = false;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-raw-json.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-raw-json.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js").get);
|
||
|
||
module.exports = function isRawJSON(O) {
|
||
if (!isObject(O)) return false;
|
||
var state = getInternalState(O);
|
||
return !!state && state.type === 'RawJSON';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/is-symbol.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/is-symbol.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
|
||
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
|
||
|
||
var $Object = Object;
|
||
|
||
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
||
return typeof it == 'symbol';
|
||
} : function (it) {
|
||
var $Symbol = getBuiltIn('Symbol');
|
||
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterate.js"
|
||
/*!****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterate.js ***!
|
||
\****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../node_modules/core-js/internals/function-bind-context.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../node_modules/core-js/internals/try-to-string.js");
|
||
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../node_modules/core-js/internals/is-array-iterator-method.js");
|
||
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../node_modules/core-js/internals/length-of-array-like.js");
|
||
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../node_modules/core-js/internals/object-is-prototype-of.js");
|
||
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../node_modules/core-js/internals/get-iterator.js");
|
||
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../node_modules/core-js/internals/get-iterator-method.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
var Result = function (stopped, result) {
|
||
this.stopped = stopped;
|
||
this.result = result;
|
||
};
|
||
|
||
var ResultPrototype = Result.prototype;
|
||
|
||
module.exports = function (iterable, unboundFunction, options) {
|
||
var that = options && options.that;
|
||
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
||
var IS_RECORD = !!(options && options.IS_RECORD);
|
||
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
||
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
||
var fn = bind(unboundFunction, that);
|
||
var iterator, iterFn, index, length, result, next, step;
|
||
|
||
var stop = function (condition) {
|
||
if (iterator) iteratorClose(iterator, 'normal');
|
||
return new Result(true, condition);
|
||
};
|
||
|
||
var callFn = function (value) {
|
||
if (AS_ENTRIES) {
|
||
anObject(value);
|
||
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
||
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
||
};
|
||
|
||
if (IS_RECORD) {
|
||
iterator = iterable.iterator;
|
||
} else if (IS_ITERATOR) {
|
||
iterator = iterable;
|
||
} else {
|
||
iterFn = getIteratorMethod(iterable);
|
||
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
||
// optimisation for array iterators
|
||
if (isArrayIteratorMethod(iterFn)) {
|
||
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
||
result = callFn(iterable[index]);
|
||
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
||
} return new Result(false);
|
||
}
|
||
iterator = getIterator(iterable, iterFn);
|
||
}
|
||
|
||
next = IS_RECORD ? iterable.next : iterator.next;
|
||
while (!(step = call(next, iterator)).done) {
|
||
try {
|
||
result = callFn(step.value);
|
||
} catch (error) {
|
||
iteratorClose(iterator, 'throw', error);
|
||
}
|
||
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
||
} return new Result(false);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-close-all.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-close-all.js ***!
|
||
\***************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
|
||
module.exports = function (iters, kind, value) {
|
||
for (var i = iters.length - 1; i >= 0; i--) {
|
||
if (iters[i] === undefined) continue;
|
||
try {
|
||
value = iteratorClose(iters[i].iterator, kind, value);
|
||
} catch (error) {
|
||
kind = 'throw';
|
||
value = error;
|
||
}
|
||
}
|
||
if (kind === 'throw') throw value;
|
||
return value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-close.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-close.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
|
||
module.exports = function (iterator, kind, value) {
|
||
var innerResult, innerError;
|
||
anObject(iterator);
|
||
try {
|
||
innerResult = getMethod(iterator, 'return');
|
||
if (!innerResult) {
|
||
if (kind === 'throw') throw value;
|
||
return value;
|
||
}
|
||
innerResult = call(innerResult, iterator);
|
||
} catch (error) {
|
||
innerError = true;
|
||
innerResult = error;
|
||
}
|
||
if (kind === 'throw') throw value;
|
||
if (innerError) throw innerResult;
|
||
anObject(innerResult);
|
||
return value;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-create-proxy.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-create-proxy.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js");
|
||
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "../node_modules/core-js/internals/define-built-ins.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
|
||
var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "../node_modules/core-js/internals/create-iter-result-object.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
var iteratorCloseAll = __webpack_require__(/*! ../internals/iterator-close-all */ "../node_modules/core-js/internals/iterator-close-all.js");
|
||
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
var ITERATOR_HELPER = 'IteratorHelper';
|
||
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
||
var NORMAL = 'normal';
|
||
var THROW = 'throw';
|
||
var setInternalState = InternalStateModule.set;
|
||
|
||
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
||
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
||
|
||
return defineBuiltIns(create(IteratorPrototype), {
|
||
next: function next() {
|
||
var state = getInternalState(this);
|
||
// for simplification:
|
||
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
|
||
// for `%IteratorHelperPrototype%.next` - just a value
|
||
if (IS_ITERATOR) return state.nextHandler();
|
||
if (state.done) return createIterResultObject(undefined, true);
|
||
try {
|
||
var result = state.nextHandler();
|
||
return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
|
||
} catch (error) {
|
||
state.done = true;
|
||
throw error;
|
||
}
|
||
},
|
||
'return': function () {
|
||
var state = getInternalState(this);
|
||
var iterator = state.iterator;
|
||
state.done = true;
|
||
if (IS_ITERATOR) {
|
||
var returnMethod = getMethod(iterator, 'return');
|
||
return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
|
||
}
|
||
if (state.inner) try {
|
||
iteratorClose(state.inner.iterator, NORMAL);
|
||
} catch (error) {
|
||
return iteratorClose(iterator, THROW, error);
|
||
}
|
||
if (state.openIters) try {
|
||
iteratorCloseAll(state.openIters, NORMAL);
|
||
} catch (error) {
|
||
return iteratorClose(iterator, THROW, error);
|
||
}
|
||
if (iterator) iteratorClose(iterator, NORMAL);
|
||
return createIterResultObject(undefined, true);
|
||
}
|
||
});
|
||
};
|
||
|
||
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
||
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
||
|
||
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
||
|
||
module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
|
||
var IteratorProxy = function Iterator(record, state) {
|
||
if (state) {
|
||
state.iterator = record.iterator;
|
||
state.next = record.next;
|
||
} else state = record;
|
||
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
||
state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
|
||
state.nextHandler = nextHandler;
|
||
state.counter = 0;
|
||
state.done = false;
|
||
setInternalState(this, state);
|
||
};
|
||
|
||
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
||
|
||
return IteratorProxy;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"
|
||
/*!***************************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***!
|
||
\***************************************************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
// Should throw an error on invalid iterator
|
||
// https://issues.chromium.org/issues/336839115
|
||
module.exports = function (methodName, argument) {
|
||
// eslint-disable-next-line es/no-iterator -- required for testing
|
||
var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
|
||
if (method) try {
|
||
method.call({ next: null }, argument).next();
|
||
} catch (error) {
|
||
return true;
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"
|
||
/*!*******************************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***!
|
||
\*******************************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
// https://github.com/tc39/ecma262/pull/3467
|
||
module.exports = function (METHOD_NAME, ExpectedError) {
|
||
var Iterator = globalThis.Iterator;
|
||
var IteratorPrototype = Iterator && Iterator.prototype;
|
||
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
||
|
||
var CLOSED = false;
|
||
|
||
if (method) try {
|
||
method.call({
|
||
next: function () { return { done: true }; },
|
||
'return': function () { CLOSED = true; }
|
||
}, -1);
|
||
} catch (error) {
|
||
// https://bugs.webkit.org/show_bug.cgi?id=291195
|
||
if (!(error instanceof ExpectedError)) CLOSED = false;
|
||
}
|
||
|
||
if (!CLOSED) return method;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterators-core.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterators-core.js ***!
|
||
\***********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var create = __webpack_require__(/*! ../internals/object-create */ "../node_modules/core-js/internals/object-create.js");
|
||
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js");
|
||
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../node_modules/core-js/internals/define-built-in.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
|
||
var ITERATOR = wellKnownSymbol('iterator');
|
||
var BUGGY_SAFARI_ITERATORS = false;
|
||
|
||
// `%IteratorPrototype%` object
|
||
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
||
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
||
|
||
/* eslint-disable es/no-array-prototype-keys -- safe */
|
||
if ([].keys) {
|
||
arrayIterator = [].keys();
|
||
// Safari 8 has buggy iterators w/o `next`
|
||
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
|
||
else {
|
||
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
|
||
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
|
||
}
|
||
}
|
||
|
||
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
|
||
var test = {};
|
||
// FF44- legacy iterators case
|
||
return IteratorPrototype[ITERATOR].call(test) !== test;
|
||
});
|
||
|
||
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
|
||
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
|
||
|
||
// `%IteratorPrototype%[@@iterator]()` method
|
||
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
||
if (!isCallable(IteratorPrototype[ITERATOR])) {
|
||
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
|
||
return this;
|
||
});
|
||
}
|
||
|
||
module.exports = {
|
||
IteratorPrototype: IteratorPrototype,
|
||
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/iterators.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/iterators.js ***!
|
||
\******************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
module.exports = {};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/length-of-array-like.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/length-of-array-like.js ***!
|
||
\*****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var toLength = __webpack_require__(/*! ../internals/to-length */ "../node_modules/core-js/internals/to-length.js");
|
||
|
||
// `LengthOfArrayLike` abstract operation
|
||
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
||
module.exports = function (obj) {
|
||
return toLength(obj.length);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/make-built-in.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/make-built-in.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
||
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../node_modules/core-js/internals/inspect-source.js");
|
||
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../node_modules/core-js/internals/internal-state.js");
|
||
|
||
var enforceInternalState = InternalStateModule.enforce;
|
||
var getInternalState = InternalStateModule.get;
|
||
var $String = String;
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
var defineProperty = Object.defineProperty;
|
||
var stringSlice = uncurryThis(''.slice);
|
||
var replace = uncurryThis(''.replace);
|
||
var join = uncurryThis([].join);
|
||
|
||
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
||
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
||
});
|
||
|
||
var TEMPLATE = String(String).split('String');
|
||
|
||
var makeBuiltIn = module.exports = function (value, name, options) {
|
||
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
||
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
||
}
|
||
if (options && options.getter) name = 'get ' + name;
|
||
if (options && options.setter) name = 'set ' + name;
|
||
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
||
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
||
else value.name = name;
|
||
}
|
||
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
||
defineProperty(value, 'length', { value: options.arity });
|
||
}
|
||
try {
|
||
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
||
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
||
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
||
} else if (value.prototype) value.prototype = undefined;
|
||
} catch (error) { /* empty */ }
|
||
var state = enforceInternalState(value);
|
||
if (!hasOwn(state, 'source')) {
|
||
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
||
} return value;
|
||
};
|
||
|
||
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
||
// eslint-disable-next-line no-extend-native -- required
|
||
Function.prototype.toString = makeBuiltIn(function toString() {
|
||
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
||
}, 'toString');
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/math-trunc.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/math-trunc.js ***!
|
||
\*******************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
var ceil = Math.ceil;
|
||
var floor = Math.floor;
|
||
|
||
// `Math.trunc` method
|
||
// https://tc39.es/ecma262/#sec-math.trunc
|
||
// eslint-disable-next-line es/no-math-trunc -- safe
|
||
module.exports = Math.trunc || function trunc(x) {
|
||
var n = +x;
|
||
return (n > 0 ? floor : ceil)(n);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/native-raw-json.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/native-raw-json.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
/* eslint-disable es/no-json -- safe */
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
module.exports = !fails(function () {
|
||
var unsafeInt = '9007199254740993';
|
||
// eslint-disable-next-line es/no-json-rawjson -- feature detection
|
||
var raw = JSON.rawJSON(unsafeInt);
|
||
// eslint-disable-next-line es/no-json-israwjson -- feature detection
|
||
return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-create.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-create.js ***!
|
||
\**********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
/* global ActiveXObject -- old IE, WSH */
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "../node_modules/core-js/internals/object-define-properties.js");
|
||
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
|
||
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
|
||
var html = __webpack_require__(/*! ../internals/html */ "../node_modules/core-js/internals/html.js");
|
||
var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "../node_modules/core-js/internals/document-create-element.js");
|
||
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
|
||
|
||
var GT = '>';
|
||
var LT = '<';
|
||
var PROTOTYPE = 'prototype';
|
||
var SCRIPT = 'script';
|
||
var IE_PROTO = sharedKey('IE_PROTO');
|
||
|
||
var EmptyConstructor = function () { /* empty */ };
|
||
|
||
var scriptTag = function (content) {
|
||
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
||
};
|
||
|
||
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
||
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
||
activeXDocument.write(scriptTag(''));
|
||
activeXDocument.close();
|
||
var temp = activeXDocument.parentWindow.Object;
|
||
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
||
activeXDocument = null;
|
||
return temp;
|
||
};
|
||
|
||
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
||
var NullProtoObjectViaIFrame = function () {
|
||
// Thrash, waste and sodomy: IE GC bug
|
||
var iframe = documentCreateElement('iframe');
|
||
var JS = 'java' + SCRIPT + ':';
|
||
var iframeDocument;
|
||
iframe.style.display = 'none';
|
||
html.appendChild(iframe);
|
||
// https://github.com/zloirock/core-js/issues/475
|
||
iframe.src = String(JS);
|
||
iframeDocument = iframe.contentWindow.document;
|
||
iframeDocument.open();
|
||
iframeDocument.write(scriptTag('document.F=Object'));
|
||
iframeDocument.close();
|
||
return iframeDocument.F;
|
||
};
|
||
|
||
// Check for document.domain and active x support
|
||
// No need to use active x approach when document.domain is not set
|
||
// see https://github.com/es-shims/es5-shim/issues/150
|
||
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
||
// avoid IE GC bug
|
||
var activeXDocument;
|
||
var NullProtoObject = function () {
|
||
try {
|
||
activeXDocument = new ActiveXObject('htmlfile');
|
||
} catch (error) { /* ignore */ }
|
||
NullProtoObject = typeof document != 'undefined'
|
||
? document.domain && activeXDocument
|
||
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
||
: NullProtoObjectViaIFrame()
|
||
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
||
var length = enumBugKeys.length;
|
||
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
||
return NullProtoObject();
|
||
};
|
||
|
||
hiddenKeys[IE_PROTO] = true;
|
||
|
||
// `Object.create` method
|
||
// https://tc39.es/ecma262/#sec-object.create
|
||
// eslint-disable-next-line es/no-object-create -- safe
|
||
module.exports = Object.create || function create(O, Properties) {
|
||
var result;
|
||
if (O !== null) {
|
||
EmptyConstructor[PROTOTYPE] = anObject(O);
|
||
result = new EmptyConstructor();
|
||
EmptyConstructor[PROTOTYPE] = null;
|
||
// add "__proto__" for Object.getPrototypeOf polyfill
|
||
result[IE_PROTO] = O;
|
||
} else result = NullProtoObject();
|
||
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-define-properties.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-define-properties.js ***!
|
||
\*********************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
||
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "../node_modules/core-js/internals/object-keys.js");
|
||
|
||
// `Object.defineProperties` method
|
||
// https://tc39.es/ecma262/#sec-object.defineproperties
|
||
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
||
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
||
anObject(O);
|
||
var props = toIndexedObject(Properties);
|
||
var keys = objectKeys(Properties);
|
||
var length = keys.length;
|
||
var index = 0;
|
||
var key;
|
||
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
||
return O;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-define-property.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-define-property.js ***!
|
||
\*******************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
|
||
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
|
||
|
||
var $TypeError = TypeError;
|
||
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
var $defineProperty = Object.defineProperty;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
var ENUMERABLE = 'enumerable';
|
||
var CONFIGURABLE = 'configurable';
|
||
var WRITABLE = 'writable';
|
||
|
||
// `Object.defineProperty` method
|
||
// https://tc39.es/ecma262/#sec-object.defineproperty
|
||
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
||
anObject(O);
|
||
P = toPropertyKey(P);
|
||
anObject(Attributes);
|
||
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
||
var current = $getOwnPropertyDescriptor(O, P);
|
||
if (current && current[WRITABLE]) {
|
||
O[P] = Attributes.value;
|
||
Attributes = {
|
||
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
||
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
||
writable: false
|
||
};
|
||
}
|
||
} return $defineProperty(O, P, Attributes);
|
||
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
||
anObject(O);
|
||
P = toPropertyKey(P);
|
||
anObject(Attributes);
|
||
if (IE8_DOM_DEFINE) try {
|
||
return $defineProperty(O, P, Attributes);
|
||
} catch (error) { /* empty */ }
|
||
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
|
||
if ('value' in Attributes) O[P] = Attributes.value;
|
||
return O;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-own-property-descriptor.js"
|
||
/*!*******************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
|
||
\*******************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../node_modules/core-js/internals/object-property-is-enumerable.js");
|
||
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js");
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../node_modules/core-js/internals/to-property-key.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../node_modules/core-js/internals/ie8-dom-define.js");
|
||
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
|
||
// `Object.getOwnPropertyDescriptor` method
|
||
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
||
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
||
O = toIndexedObject(O);
|
||
P = toPropertyKey(P);
|
||
if (IE8_DOM_DEFINE) try {
|
||
return $getOwnPropertyDescriptor(O, P);
|
||
} catch (error) { /* empty */ }
|
||
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-own-property-names.js"
|
||
/*!**************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-own-property-names.js ***!
|
||
\**************************************************************************/
|
||
(__unused_webpack_module, exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
|
||
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
|
||
|
||
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
||
|
||
// `Object.getOwnPropertyNames` method
|
||
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
||
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
||
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
||
return internalObjectKeys(O, hiddenKeys);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-own-property-symbols.js"
|
||
/*!****************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-own-property-symbols.js ***!
|
||
\****************************************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
"use strict";
|
||
|
||
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
||
exports.f = Object.getOwnPropertySymbols;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-get-prototype-of.js"
|
||
/*!********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-get-prototype-of.js ***!
|
||
\********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var toObject = __webpack_require__(/*! ../internals/to-object */ "../node_modules/core-js/internals/to-object.js");
|
||
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../node_modules/core-js/internals/shared-key.js");
|
||
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "../node_modules/core-js/internals/correct-prototype-getter.js");
|
||
|
||
var IE_PROTO = sharedKey('IE_PROTO');
|
||
var $Object = Object;
|
||
var ObjectPrototype = $Object.prototype;
|
||
|
||
// `Object.getPrototypeOf` method
|
||
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
||
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
||
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
||
var object = toObject(O);
|
||
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
|
||
var constructor = object.constructor;
|
||
if (isCallable(constructor) && object instanceof constructor) {
|
||
return constructor.prototype;
|
||
} return object instanceof $Object ? ObjectPrototype : null;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-is-prototype-of.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-is-prototype-of.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
module.exports = uncurryThis({}.isPrototypeOf);
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-keys-internal.js"
|
||
/*!*****************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-keys-internal.js ***!
|
||
\*****************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../node_modules/core-js/internals/to-indexed-object.js");
|
||
var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../node_modules/core-js/internals/array-includes.js").indexOf);
|
||
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../node_modules/core-js/internals/hidden-keys.js");
|
||
|
||
var push = uncurryThis([].push);
|
||
|
||
module.exports = function (object, names) {
|
||
var O = toIndexedObject(object);
|
||
var i = 0;
|
||
var result = [];
|
||
var key;
|
||
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
||
// Don't enum bug & hidden keys
|
||
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
||
~indexOf(result, key) || push(result, key);
|
||
}
|
||
return result;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-keys.js"
|
||
/*!********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-keys.js ***!
|
||
\********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "../node_modules/core-js/internals/object-keys-internal.js");
|
||
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "../node_modules/core-js/internals/enum-bug-keys.js");
|
||
|
||
// `Object.keys` method
|
||
// https://tc39.es/ecma262/#sec-object.keys
|
||
// eslint-disable-next-line es/no-object-keys -- safe
|
||
module.exports = Object.keys || function keys(O) {
|
||
return internalObjectKeys(O, enumBugKeys);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/object-property-is-enumerable.js"
|
||
/*!**************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/object-property-is-enumerable.js ***!
|
||
\**************************************************************************/
|
||
(__unused_webpack_module, exports) {
|
||
|
||
"use strict";
|
||
|
||
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
||
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
||
|
||
// Nashorn ~ JDK8 bug
|
||
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
||
|
||
// `Object.prototype.propertyIsEnumerable` method implementation
|
||
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
||
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
||
var descriptor = getOwnPropertyDescriptor(this, V);
|
||
return !!descriptor && descriptor.enumerable;
|
||
} : $propertyIsEnumerable;
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/ordinary-to-primitive.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/ordinary-to-primitive.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// `OrdinaryToPrimitive` abstract operation
|
||
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
||
module.exports = function (input, pref) {
|
||
var fn, val;
|
||
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
||
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
||
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
||
throw new $TypeError("Can't convert object to primitive value");
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/own-keys.js"
|
||
/*!*****************************************************!*\
|
||
!*** ../node_modules/core-js/internals/own-keys.js ***!
|
||
\*****************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../node_modules/core-js/internals/object-get-own-property-names.js");
|
||
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../node_modules/core-js/internals/object-get-own-property-symbols.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
|
||
var concat = uncurryThis([].concat);
|
||
|
||
// all object keys, includes non-enumerable and symbols
|
||
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
||
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
||
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
||
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/parse-json-string.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/parse-json-string.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
|
||
var $SyntaxError = SyntaxError;
|
||
var $parseInt = parseInt;
|
||
var fromCharCode = String.fromCharCode;
|
||
var at = uncurryThis(''.charAt);
|
||
var slice = uncurryThis(''.slice);
|
||
var exec = uncurryThis(/./.exec);
|
||
|
||
var codePoints = {
|
||
'\\"': '"',
|
||
'\\\\': '\\',
|
||
'\\/': '/',
|
||
'\\b': '\b',
|
||
'\\f': '\f',
|
||
'\\n': '\n',
|
||
'\\r': '\r',
|
||
'\\t': '\t'
|
||
};
|
||
|
||
var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
|
||
// eslint-disable-next-line regexp/no-control-character -- safe
|
||
var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
|
||
|
||
module.exports = function (source, i) {
|
||
var unterminated = true;
|
||
var value = '';
|
||
while (i < source.length) {
|
||
var chr = at(source, i);
|
||
if (chr === '\\') {
|
||
var twoChars = slice(source, i, i + 2);
|
||
if (hasOwn(codePoints, twoChars)) {
|
||
value += codePoints[twoChars];
|
||
i += 2;
|
||
} else if (twoChars === '\\u') {
|
||
i += 2;
|
||
var fourHexDigits = slice(source, i, i + 4);
|
||
if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
|
||
value += fromCharCode($parseInt(fourHexDigits, 16));
|
||
i += 4;
|
||
} else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
|
||
} else if (chr === '"') {
|
||
unterminated = false;
|
||
i++;
|
||
break;
|
||
} else {
|
||
if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
|
||
value += chr;
|
||
i++;
|
||
}
|
||
}
|
||
if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
|
||
return { value: value, end: i };
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/require-object-coercible.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/require-object-coercible.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "../node_modules/core-js/internals/is-null-or-undefined.js");
|
||
|
||
var $TypeError = TypeError;
|
||
|
||
// `RequireObjectCoercible` abstract operation
|
||
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
||
module.exports = function (it) {
|
||
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
||
return it;
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/shared-key.js"
|
||
/*!*******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/shared-key.js ***!
|
||
\*******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
|
||
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
|
||
|
||
var keys = shared('keys');
|
||
|
||
module.exports = function (key) {
|
||
return keys[key] || (keys[key] = uid(key));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/shared-store.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/shared-store.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../node_modules/core-js/internals/define-global-property.js");
|
||
|
||
var SHARED = '__core-js_shared__';
|
||
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
||
|
||
(store.versions || (store.versions = [])).push({
|
||
version: '3.48.0',
|
||
mode: IS_PURE ? 'pure' : 'global',
|
||
copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
|
||
license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
|
||
source: 'https://github.com/zloirock/core-js'
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/shared.js"
|
||
/*!***************************************************!*\
|
||
!*** ../node_modules/core-js/internals/shared.js ***!
|
||
\***************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var store = __webpack_require__(/*! ../internals/shared-store */ "../node_modules/core-js/internals/shared-store.js");
|
||
|
||
module.exports = function (key, value) {
|
||
return store[key] || (store[key] = value || {});
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/symbol-constructor-detection.js"
|
||
/*!*************************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/symbol-constructor-detection.js ***!
|
||
\*************************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
/* eslint-disable es/no-symbol -- required for testing */
|
||
var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "../node_modules/core-js/internals/environment-v8-version.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
|
||
var $String = globalThis.String;
|
||
|
||
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
||
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
||
var symbol = Symbol('symbol detection');
|
||
// Chrome 38 Symbol has incorrect toString conversion
|
||
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
||
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
||
// of course, fail.
|
||
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
||
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
||
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-absolute-index.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-absolute-index.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
|
||
|
||
var max = Math.max;
|
||
var min = Math.min;
|
||
|
||
// Helper for a popular repeating case of the spec:
|
||
// Let integer be ? ToInteger(index).
|
||
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
||
module.exports = function (index, length) {
|
||
var integer = toIntegerOrInfinity(index);
|
||
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-indexed-object.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-indexed-object.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
// toObject with fallback for non-array-like ES3 strings
|
||
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "../node_modules/core-js/internals/indexed-object.js");
|
||
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
|
||
|
||
module.exports = function (it) {
|
||
return IndexedObject(requireObjectCoercible(it));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-integer-or-infinity.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
||
\*******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../node_modules/core-js/internals/math-trunc.js");
|
||
|
||
// `ToIntegerOrInfinity` abstract operation
|
||
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
||
module.exports = function (argument) {
|
||
var number = +argument;
|
||
// eslint-disable-next-line no-self-compare -- NaN check
|
||
return number !== number || number === 0 ? 0 : trunc(number);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-length.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-length.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../node_modules/core-js/internals/to-integer-or-infinity.js");
|
||
|
||
var min = Math.min;
|
||
|
||
// `ToLength` abstract operation
|
||
// https://tc39.es/ecma262/#sec-tolength
|
||
module.exports = function (argument) {
|
||
var len = toIntegerOrInfinity(argument);
|
||
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-object.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-object.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js");
|
||
|
||
var $Object = Object;
|
||
|
||
// `ToObject` abstract operation
|
||
// https://tc39.es/ecma262/#sec-toobject
|
||
module.exports = function (argument) {
|
||
return $Object(requireObjectCoercible(argument));
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-primitive.js"
|
||
/*!*********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-primitive.js ***!
|
||
\*********************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js");
|
||
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
|
||
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../node_modules/core-js/internals/get-method.js");
|
||
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../node_modules/core-js/internals/ordinary-to-primitive.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var $TypeError = TypeError;
|
||
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
||
|
||
// `ToPrimitive` abstract operation
|
||
// https://tc39.es/ecma262/#sec-toprimitive
|
||
module.exports = function (input, pref) {
|
||
if (!isObject(input) || isSymbol(input)) return input;
|
||
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
||
var result;
|
||
if (exoticToPrim) {
|
||
if (pref === undefined) pref = 'default';
|
||
result = call(exoticToPrim, input, pref);
|
||
if (!isObject(result) || isSymbol(result)) return result;
|
||
throw new $TypeError("Can't convert object to primitive value");
|
||
}
|
||
if (pref === undefined) pref = 'number';
|
||
return ordinaryToPrimitive(input, pref);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-property-key.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-property-key.js ***!
|
||
\************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "../node_modules/core-js/internals/to-primitive.js");
|
||
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
|
||
|
||
// `ToPropertyKey` abstract operation
|
||
// https://tc39.es/ecma262/#sec-topropertykey
|
||
module.exports = function (argument) {
|
||
var key = toPrimitive(argument, 'string');
|
||
return isSymbol(key) ? key : key + '';
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-string-tag-support.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-string-tag-support.js ***!
|
||
\******************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
var test = {};
|
||
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
||
test[TO_STRING_TAG] = 'z';
|
||
|
||
module.exports = String(test) === '[object z]';
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/to-string.js"
|
||
/*!******************************************************!*\
|
||
!*** ../node_modules/core-js/internals/to-string.js ***!
|
||
\******************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js");
|
||
|
||
var $String = String;
|
||
|
||
module.exports = function (argument) {
|
||
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
||
return $String(argument);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/try-to-string.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/internals/try-to-string.js ***!
|
||
\**********************************************************/
|
||
(module) {
|
||
|
||
"use strict";
|
||
|
||
var $String = String;
|
||
|
||
module.exports = function (argument) {
|
||
try {
|
||
return $String(argument);
|
||
} catch (error) {
|
||
return 'Object';
|
||
}
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/uid.js"
|
||
/*!************************************************!*\
|
||
!*** ../node_modules/core-js/internals/uid.js ***!
|
||
\************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
||
var id = 0;
|
||
var postfix = Math.random();
|
||
var toString = uncurryThis(1.1.toString);
|
||
|
||
module.exports = function (key) {
|
||
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/use-symbol-as-uid.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/use-symbol-as-uid.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
/* eslint-disable es/no-symbol -- required for testing */
|
||
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
|
||
|
||
module.exports = NATIVE_SYMBOL &&
|
||
!Symbol.sham &&
|
||
typeof Symbol.iterator == 'symbol';
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/v8-prototype-define-bug.js"
|
||
/*!********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
|
||
\********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
|
||
// V8 ~ Chrome 36-
|
||
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
||
module.exports = DESCRIPTORS && fails(function () {
|
||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
||
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
||
value: 42,
|
||
writable: false
|
||
}).prototype !== 42;
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/weak-map-basic-detection.js"
|
||
/*!*********************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/weak-map-basic-detection.js ***!
|
||
\*********************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
|
||
var WeakMap = globalThis.WeakMap;
|
||
|
||
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/internals/well-known-symbol.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/internals/well-known-symbol.js ***!
|
||
\**************************************************************/
|
||
(module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var shared = __webpack_require__(/*! ../internals/shared */ "../node_modules/core-js/internals/shared.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
|
||
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
|
||
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../node_modules/core-js/internals/use-symbol-as-uid.js");
|
||
|
||
var Symbol = globalThis.Symbol;
|
||
var WellKnownSymbolsStore = shared('wks');
|
||
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
||
|
||
module.exports = function (name) {
|
||
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
||
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
||
? Symbol[name]
|
||
: createWellKnownSymbol('Symbol.' + name);
|
||
} return WellKnownSymbolsStore[name];
|
||
};
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.constructor.js"
|
||
/*!******************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.constructor.js ***!
|
||
\******************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js");
|
||
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "../node_modules/core-js/internals/object-get-prototype-of.js");
|
||
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "../node_modules/core-js/internals/define-built-in-accessor.js");
|
||
var createProperty = __webpack_require__(/*! ../internals/create-property */ "../node_modules/core-js/internals/create-property.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js");
|
||
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../node_modules/core-js/internals/well-known-symbol.js");
|
||
var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "../node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
|
||
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
|
||
var CONSTRUCTOR = 'constructor';
|
||
var ITERATOR = 'Iterator';
|
||
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
||
|
||
var $TypeError = TypeError;
|
||
var NativeIterator = globalThis[ITERATOR];
|
||
|
||
// FF56- have non-standard global helper `Iterator`
|
||
var FORCED = IS_PURE
|
||
|| !isCallable(NativeIterator)
|
||
|| NativeIterator.prototype !== IteratorPrototype
|
||
// FF44- non-standard `Iterator` passes previous tests
|
||
|| !fails(function () { NativeIterator({}); });
|
||
|
||
var IteratorConstructor = function Iterator() {
|
||
anInstance(this, IteratorPrototype);
|
||
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
|
||
};
|
||
|
||
var defineIteratorPrototypeAccessor = function (key, value) {
|
||
if (DESCRIPTORS) {
|
||
defineBuiltInAccessor(IteratorPrototype, key, {
|
||
configurable: true,
|
||
get: function () {
|
||
return value;
|
||
},
|
||
set: function (replacement) {
|
||
anObject(this);
|
||
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
|
||
if (hasOwn(this, key)) this[key] = replacement;
|
||
else createProperty(this, key, replacement);
|
||
}
|
||
});
|
||
} else IteratorPrototype[key] = value;
|
||
};
|
||
|
||
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
|
||
|
||
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
||
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
||
}
|
||
|
||
IteratorConstructor.prototype = IteratorPrototype;
|
||
|
||
// `Iterator` constructor
|
||
// https://tc39.es/ecma262/#sec-iterator
|
||
$({ global: true, constructor: true, forced: FORCED }, {
|
||
Iterator: IteratorConstructor
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.find.js"
|
||
/*!***********************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.find.js ***!
|
||
\***********************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
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");
|
||
|
||
var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
|
||
|
||
// `Iterator.prototype.find` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
||
$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
||
find: function find(predicate) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(predicate);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
|
||
|
||
var record = getIteratorDirect(this);
|
||
var counter = 0;
|
||
return iterate(record, function (value, stop) {
|
||
if (predicate(value, counter++)) return stop(value);
|
||
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.for-each.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.for-each.js ***!
|
||
\***************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var iterate = __webpack_require__(/*! ../internals/iterate */ "../node_modules/core-js/internals/iterate.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
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");
|
||
|
||
var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
|
||
|
||
// `Iterator.prototype.forEach` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
||
$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
||
forEach: function forEach(fn) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(fn);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
|
||
|
||
var record = getIteratorDirect(this);
|
||
var counter = 0;
|
||
iterate(record, function (value) {
|
||
fn(value, counter++);
|
||
}, { IS_RECORD: true });
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.iterator.map.js"
|
||
/*!**********************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.iterator.map.js ***!
|
||
\**********************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js");
|
||
var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js");
|
||
var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js");
|
||
var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js");
|
||
var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js");
|
||
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../node_modules/core-js/internals/iterator-close.js");
|
||
var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(/*! ../internals/iterator-helper-throws-on-invalid-iterator */ "../node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js");
|
||
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");
|
||
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js");
|
||
|
||
var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
|
||
var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
||
&& iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
|
||
|
||
var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
|
||
|
||
var IteratorProxy = createIteratorProxy(function () {
|
||
var iterator = this.iterator;
|
||
var result = anObject(call(this.next, iterator));
|
||
var done = this.done = !!result.done;
|
||
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
||
});
|
||
|
||
// `Iterator.prototype.map` method
|
||
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
||
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
||
map: function map(mapper) {
|
||
anObject(this);
|
||
try {
|
||
aCallable(mapper);
|
||
} catch (error) {
|
||
iteratorClose(this, 'throw', error);
|
||
}
|
||
|
||
if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
|
||
|
||
return new IteratorProxy(getIteratorDirect(this), {
|
||
mapper: mapper
|
||
});
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/es.json.stringify.js"
|
||
/*!************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/es.json.stringify.js ***!
|
||
\************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js");
|
||
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js");
|
||
var apply = __webpack_require__(/*! ../internals/function-apply */ "../node_modules/core-js/internals/function-apply.js");
|
||
var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js");
|
||
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js");
|
||
var fails = __webpack_require__(/*! ../internals/fails */ "../node_modules/core-js/internals/fails.js");
|
||
var isArray = __webpack_require__(/*! ../internals/is-array */ "../node_modules/core-js/internals/is-array.js");
|
||
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js");
|
||
var isRawJSON = __webpack_require__(/*! ../internals/is-raw-json */ "../node_modules/core-js/internals/is-raw-json.js");
|
||
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../node_modules/core-js/internals/is-symbol.js");
|
||
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../node_modules/core-js/internals/classof-raw.js");
|
||
var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js");
|
||
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../node_modules/core-js/internals/array-slice.js");
|
||
var parseJSONString = __webpack_require__(/*! ../internals/parse-json-string */ "../node_modules/core-js/internals/parse-json-string.js");
|
||
var uid = __webpack_require__(/*! ../internals/uid */ "../node_modules/core-js/internals/uid.js");
|
||
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "../node_modules/core-js/internals/symbol-constructor-detection.js");
|
||
var NATIVE_RAW_JSON = __webpack_require__(/*! ../internals/native-raw-json */ "../node_modules/core-js/internals/native-raw-json.js");
|
||
|
||
var $String = String;
|
||
var $stringify = getBuiltIn('JSON', 'stringify');
|
||
var exec = uncurryThis(/./.exec);
|
||
var charAt = uncurryThis(''.charAt);
|
||
var charCodeAt = uncurryThis(''.charCodeAt);
|
||
var replace = uncurryThis(''.replace);
|
||
var slice = uncurryThis(''.slice);
|
||
var push = uncurryThis([].push);
|
||
var numberToString = uncurryThis(1.1.toString);
|
||
|
||
var surrogates = /[\uD800-\uDFFF]/g;
|
||
var lowSurrogates = /^[\uD800-\uDBFF]$/;
|
||
var hiSurrogates = /^[\uDC00-\uDFFF]$/;
|
||
|
||
var MARK = uid();
|
||
var MARK_LENGTH = MARK.length;
|
||
|
||
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
|
||
var symbol = getBuiltIn('Symbol')('stringify detection');
|
||
// MS Edge converts symbol values to JSON as {}
|
||
return $stringify([symbol]) !== '[null]'
|
||
// WebKit converts symbol values to JSON as null
|
||
|| $stringify({ a: symbol }) !== '{}'
|
||
// V8 throws on boxed symbols
|
||
|| $stringify(Object(symbol)) !== '{}';
|
||
});
|
||
|
||
// https://github.com/tc39/proposal-well-formed-stringify
|
||
var ILL_FORMED_UNICODE = fails(function () {
|
||
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|
||
|| $stringify('\uDEAD') !== '"\\udead"';
|
||
});
|
||
|
||
var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
|
||
var args = arraySlice(arguments);
|
||
var $replacer = getReplacerFunction(replacer);
|
||
if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
||
args[1] = function (key, value) {
|
||
// some old implementations (like WebKit) could pass numbers as keys
|
||
if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
|
||
if (!isSymbol(value)) return value;
|
||
};
|
||
return apply($stringify, null, args);
|
||
} : $stringify;
|
||
|
||
var fixIllFormedJSON = function (match, offset, string) {
|
||
var prev = charAt(string, offset - 1);
|
||
var next = charAt(string, offset + 1);
|
||
if ((exec(lowSurrogates, match) && !exec(hiSurrogates, next)) || (exec(hiSurrogates, match) && !exec(lowSurrogates, prev))) {
|
||
return '\\u' + numberToString(charCodeAt(match, 0), 16);
|
||
} return match;
|
||
};
|
||
|
||
var getReplacerFunction = function (replacer) {
|
||
if (isCallable(replacer)) return replacer;
|
||
if (!isArray(replacer)) return;
|
||
var rawLength = replacer.length;
|
||
var keys = [];
|
||
for (var i = 0; i < rawLength; i++) {
|
||
var element = replacer[i];
|
||
if (typeof element == 'string') push(keys, element);
|
||
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
|
||
}
|
||
var keysLength = keys.length;
|
||
var root = true;
|
||
return function (key, value) {
|
||
if (root) {
|
||
root = false;
|
||
return value;
|
||
}
|
||
if (isArray(this)) return value;
|
||
for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
|
||
};
|
||
};
|
||
|
||
// `JSON.stringify` method
|
||
// https://tc39.es/ecma262/#sec-json.stringify
|
||
// https://github.com/tc39/proposal-json-parse-with-source
|
||
if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
|
||
stringify: function stringify(text, replacer, space) {
|
||
var replacerFunction = getReplacerFunction(replacer);
|
||
var rawStrings = [];
|
||
|
||
var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
|
||
// some old implementations (like WebKit) could pass numbers as keys
|
||
var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
|
||
return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
|
||
}, space);
|
||
|
||
if (typeof json != 'string') return json;
|
||
|
||
if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
|
||
|
||
if (NATIVE_RAW_JSON) return json;
|
||
|
||
var result = '';
|
||
var length = json.length;
|
||
|
||
for (var i = 0; i < length; i++) {
|
||
var chr = charAt(json, i);
|
||
if (chr === '"') {
|
||
var end = parseJSONString(json, ++i).end - 1;
|
||
var string = slice(json, i, end);
|
||
result += slice(string, 0, MARK_LENGTH) === MARK
|
||
? rawStrings[slice(string, MARK_LENGTH)]
|
||
: '"' + string + '"';
|
||
i = end;
|
||
} else result += chr;
|
||
}
|
||
|
||
return result;
|
||
}
|
||
});
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.constructor.js"
|
||
/*!**********************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.constructor.js ***!
|
||
\**********************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.constructor */ "../node_modules/core-js/modules/es.iterator.constructor.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.find.js"
|
||
/*!***************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.find.js ***!
|
||
\***************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.find */ "../node_modules/core-js/modules/es.iterator.find.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.for-each.js"
|
||
/*!*******************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.for-each.js ***!
|
||
\*******************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.for-each */ "../node_modules/core-js/modules/es.iterator.for-each.js");
|
||
|
||
|
||
/***/ },
|
||
|
||
/***/ "../node_modules/core-js/modules/esnext.iterator.map.js"
|
||
/*!**************************************************************!*\
|
||
!*** ../node_modules/core-js/modules/esnext.iterator.map.js ***!
|
||
\**************************************************************/
|
||
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
||
|
||
"use strict";
|
||
|
||
// TODO: Remove from `core-js@4`
|
||
__webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js");
|
||
|
||
|
||
/***/ }
|
||
|
||
/******/ });
|
||
/************************************************************************/
|
||
/******/ // The module cache
|
||
/******/ var __webpack_module_cache__ = {};
|
||
/******/
|
||
/******/ // The require function
|
||
/******/ function __webpack_require__(moduleId) {
|
||
/******/ // Check if module is in cache
|
||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||
/******/ if (cachedModule !== undefined) {
|
||
/******/ return cachedModule.exports;
|
||
/******/ }
|
||
/******/ // Create a new module (and put it into the cache)
|
||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
||
/******/ // no module.id needed
|
||
/******/ // no module.loaded needed
|
||
/******/ exports: {}
|
||
/******/ };
|
||
/******/
|
||
/******/ // Execute the module function
|
||
/******/ if (!(moduleId in __webpack_modules__)) {
|
||
/******/ delete __webpack_module_cache__[moduleId];
|
||
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
||
/******/ e.code = 'MODULE_NOT_FOUND';
|
||
/******/ throw e;
|
||
/******/ }
|
||
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||
/******/
|
||
/******/ // Return the exports of the module
|
||
/******/ return module.exports;
|
||
/******/ }
|
||
/******/
|
||
/************************************************************************/
|
||
/******/ /* webpack/runtime/global */
|
||
/******/ (() => {
|
||
/******/ __webpack_require__.g = (function() {
|
||
/******/ if (typeof globalThis === 'object') return globalThis;
|
||
/******/ try {
|
||
/******/ return this || new Function('return this')();
|
||
/******/ } catch (e) {
|
||
/******/ if (typeof window === 'object') return window;
|
||
/******/ }
|
||
/******/ })();
|
||
/******/ })();
|
||
/******/
|
||
/************************************************************************/
|
||
var __webpack_exports__ = {};
|
||
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
||
(() => {
|
||
"use strict";
|
||
/*!***************************************!*\
|
||
!*** ../assets/dev/js/admin/admin.js ***!
|
||
\***************************************/
|
||
|
||
|
||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
||
var _admin = _interopRequireDefault(__webpack_require__(/*! modules/popup/assets/js/admin/admin */ "../modules/popup/assets/js/admin/admin.js"));
|
||
var _admin2 = _interopRequireDefault(__webpack_require__(/*! ../../../../license/assets/js/admin */ "../license/assets/js/admin.js"));
|
||
const modules = {
|
||
widget_template_edit_button: __webpack_require__(/*! modules/library/assets/js/admin */ "../modules/library/assets/js/admin.js"),
|
||
forms_integrations: __webpack_require__(/*! modules/forms/assets/js/admin */ "../modules/forms/assets/js/admin.js"),
|
||
AssetsManager: __webpack_require__(/*! modules/assets-manager/assets/js/admin */ "../modules/assets-manager/assets/js/admin.js"),
|
||
RoleManager: __webpack_require__(/*! modules/role-manager/assets/js/admin */ "../modules/role-manager/assets/js/admin.js"),
|
||
ThemeBuilder: __webpack_require__(/*! modules/theme-builder/assets/js/admin/admin */ "../modules/theme-builder/assets/js/admin/admin.js"),
|
||
StripeIntegration: __webpack_require__(/*! modules/payments/assets/js/admin */ "../modules/payments/assets/js/admin.js"),
|
||
License: _admin2.default
|
||
};
|
||
window.elementorProAdmin = {
|
||
widget_template_edit_button: new modules.widget_template_edit_button(),
|
||
forms_integrations: new modules.forms_integrations(),
|
||
assetsManager: new modules.AssetsManager(),
|
||
roleManager: new modules.RoleManager(),
|
||
themeBuilder: new modules.ThemeBuilder(),
|
||
StripeIntegration: new modules.StripeIntegration(),
|
||
popup: new _admin.default(),
|
||
license: new modules.License()
|
||
};
|
||
jQuery(function () {
|
||
elementorProAdmin.roleManager.advancedRoleManager.init();
|
||
});
|
||
})();
|
||
|
||
/******/ })()
|
||
;
|
||
//# sourceMappingURL=admin.js.map
|