2102 lines
92 KiB
JavaScript
2102 lines
92 KiB
JavaScript
|
"use strict";
|
||
|
(self["webpackChunk_woocommerce_storybook"] = self["webpackChunk_woocommerce_storybook"] || []).push([[9550],{
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _arrayLikeToArray)
|
||
|
/* harmony export */ });
|
||
|
function _arrayLikeToArray(arr, len) {
|
||
|
if (len == null || len > arr.length) len = arr.length;
|
||
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
||
|
return arr2;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _arrayWithHoles)
|
||
|
/* harmony export */ });
|
||
|
function _arrayWithHoles(arr) {
|
||
|
if (Array.isArray(arr)) return arr;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _defineProperty)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
||
|
|
||
|
function _defineProperty(obj, key, value) {
|
||
|
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(key);
|
||
|
if (key in obj) {
|
||
|
Object.defineProperty(obj, key, {
|
||
|
value: value,
|
||
|
enumerable: true,
|
||
|
configurable: true,
|
||
|
writable: true
|
||
|
});
|
||
|
} else {
|
||
|
obj[key] = value;
|
||
|
}
|
||
|
return obj;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _iterableToArray)
|
||
|
/* harmony export */ });
|
||
|
function _iterableToArray(iter) {
|
||
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _nonIterableRest)
|
||
|
/* harmony export */ });
|
||
|
function _nonIterableRest() {
|
||
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _objectWithoutProperties)
|
||
|
});
|
||
|
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
||
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
||
|
if (source == null) return {};
|
||
|
var target = {};
|
||
|
var sourceKeys = Object.keys(source);
|
||
|
var key, i;
|
||
|
for (i = 0; i < sourceKeys.length; i++) {
|
||
|
key = sourceKeys[i];
|
||
|
if (excluded.indexOf(key) >= 0) continue;
|
||
|
target[key] = source[key];
|
||
|
}
|
||
|
return target;
|
||
|
}
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||
|
|
||
|
function _objectWithoutProperties(source, excluded) {
|
||
|
if (source == null) return {};
|
||
|
var target = _objectWithoutPropertiesLoose(source, excluded);
|
||
|
var key, i;
|
||
|
if (Object.getOwnPropertySymbols) {
|
||
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
||
|
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
||
|
key = sourceSymbolKeys[i];
|
||
|
if (excluded.indexOf(key) >= 0) continue;
|
||
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
||
|
target[key] = source[key];
|
||
|
}
|
||
|
}
|
||
|
return target;
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _slicedToArray)
|
||
|
});
|
||
|
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||
|
var arrayWithHoles = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||
|
function _iterableToArrayLimit(r, l) {
|
||
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
||
|
if (null != t) {
|
||
|
var e,
|
||
|
n,
|
||
|
i,
|
||
|
u,
|
||
|
a = [],
|
||
|
f = !0,
|
||
|
o = !1;
|
||
|
try {
|
||
|
if (i = (t = t.call(r)).next, 0 === l) {
|
||
|
if (Object(t) !== t) return;
|
||
|
f = !1;
|
||
|
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
||
|
} catch (r) {
|
||
|
o = !0, n = r;
|
||
|
} finally {
|
||
|
try {
|
||
|
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
||
|
} finally {
|
||
|
if (o) throw n;
|
||
|
}
|
||
|
}
|
||
|
return a;
|
||
|
}
|
||
|
}
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||
|
var unsupportedIterableToArray = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||
|
var nonIterableRest = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
function _slicedToArray(arr, i) {
|
||
|
return (0,arrayWithHoles/* default */.A)(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray/* default */.A)(arr, i) || (0,nonIterableRest/* default */.A)();
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _toConsumableArray)
|
||
|
});
|
||
|
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
||
|
var arrayLikeToArray = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
||
|
|
||
|
function _arrayWithoutHoles(arr) {
|
||
|
if (Array.isArray(arr)) return (0,arrayLikeToArray/* default */.A)(arr);
|
||
|
}
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
||
|
var iterableToArray = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||
|
var unsupportedIterableToArray = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||
|
function _nonIterableSpread() {
|
||
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||
|
}
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
function _toConsumableArray(arr) {
|
||
|
return _arrayWithoutHoles(arr) || (0,iterableToArray/* default */.A)(arr) || (0,unsupportedIterableToArray/* default */.A)(arr) || _nonIterableSpread();
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ _toPropertyKey)
|
||
|
});
|
||
|
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js
|
||
|
var esm_typeof = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
||
|
|
||
|
function _toPrimitive(input, hint) {
|
||
|
if ((0,esm_typeof/* default */.A)(input) !== "object" || input === null) return input;
|
||
|
var prim = input[Symbol.toPrimitive];
|
||
|
if (prim !== undefined) {
|
||
|
var res = prim.call(input, hint || "default");
|
||
|
if ((0,esm_typeof/* default */.A)(res) !== "object") return res;
|
||
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
|
}
|
||
|
return (hint === "string" ? String : Number)(input);
|
||
|
}
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
||
|
|
||
|
|
||
|
function _toPropertyKey(arg) {
|
||
|
var key = _toPrimitive(arg, "string");
|
||
|
return (0,esm_typeof/* default */.A)(key) === "symbol" ? key : String(key);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _typeof)
|
||
|
/* harmony export */ });
|
||
|
function _typeof(o) {
|
||
|
"@babel/helpers - typeof";
|
||
|
|
||
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
||
|
return typeof o;
|
||
|
} : function (o) {
|
||
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||
|
}, _typeof(o);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (/* binding */ _unsupportedIterableToArray)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
||
|
|
||
|
function _unsupportedIterableToArray(o, minLen) {
|
||
|
if (!o) return;
|
||
|
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(o, minLen);
|
||
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||
|
if (n === "Map" || n === "Set") return Array.from(o);
|
||
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(o, minLen);
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+components@19.8.5_@types+react@17.0.71_react-dom@17.0.2_react@17.0.2__react-with-d_oli5xz3n7pc4ztqokra47llglu/node_modules/@wordpress/components/build-module/checkbox-control/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// EXPORTS
|
||
|
__webpack_require__.d(__webpack_exports__, {
|
||
|
A: () => (/* binding */ CheckboxControl)
|
||
|
});
|
||
|
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/extends.js
|
||
|
var esm_extends = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/extends.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js
|
||
|
var react = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js
|
||
|
var classnames = __webpack_require__("../../node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js");
|
||
|
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js
|
||
|
var use_ref_effect = __webpack_require__("../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js
|
||
|
var use_instance_id = __webpack_require__("../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+deprecated@3.41.0/node_modules/@wordpress/deprecated/build-module/index.js
|
||
|
var build_module = __webpack_require__("../../node_modules/.pnpm/@wordpress+deprecated@3.41.0/node_modules/@wordpress/deprecated/build-module/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/icon/index.js
|
||
|
var icon = __webpack_require__("../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/icon/index.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+primitives@3.45.0/node_modules/@wordpress/primitives/build-module/svg/index.js
|
||
|
var svg = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.45.0/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/library/reset.js
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const reset_reset = (0,react.createElement)(svg/* SVG */.t4, {
|
||
|
xmlns: "http://www.w3.org/2000/svg",
|
||
|
viewBox: "0 0 24 24"
|
||
|
}, (0,react.createElement)(svg/* Path */.wA, {
|
||
|
d: "M7 11.5h10V13H7z"
|
||
|
}));
|
||
|
/* harmony default export */ const library_reset = (reset_reset);
|
||
|
//# sourceMappingURL=reset.js.map
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/library/check.js
|
||
|
var check = __webpack_require__("../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/library/check.js");
|
||
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@wordpress+components@19.8.5_@types+react@17.0.71_react-dom@17.0.2_react@17.0.2__react-with-d_oli5xz3n7pc4ztqokra47llglu/node_modules/@wordpress/components/build-module/base-control/index.js + 1 modules
|
||
|
var base_control = __webpack_require__("../../node_modules/.pnpm/@wordpress+components@19.8.5_@types+react@17.0.71_react-dom@17.0.2_react@17.0.2__react-with-d_oli5xz3n7pc4ztqokra47llglu/node_modules/@wordpress/components/build-module/base-control/index.js");
|
||
|
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@wordpress+components@19.8.5_@types+react@17.0.71_react-dom@17.0.2_react@17.0.2__react-with-d_oli5xz3n7pc4ztqokra47llglu/node_modules/@wordpress/components/build-module/checkbox-control/index.js
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* External dependencies
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Internal dependencies
|
||
|
*/
|
||
|
|
||
|
|
||
|
function CheckboxControl(_ref) {
|
||
|
let {
|
||
|
label,
|
||
|
className,
|
||
|
heading,
|
||
|
checked,
|
||
|
indeterminate,
|
||
|
help,
|
||
|
onChange,
|
||
|
...props
|
||
|
} = _ref;
|
||
|
|
||
|
if (heading) {
|
||
|
(0,build_module/* default */.A)('`heading` prop in `CheckboxControl`', {
|
||
|
alternative: 'a separate element to implement a heading',
|
||
|
since: '5.8'
|
||
|
});
|
||
|
}
|
||
|
|
||
|
const [showCheckedIcon, setShowCheckedIcon] = (0,react.useState)(false);
|
||
|
const [showIndeterminateIcon, setShowIndeterminateIcon] = (0,react.useState)(false); // Run the following callback everytime the `ref` (and the additional
|
||
|
// dependencies) change.
|
||
|
|
||
|
const ref = (0,use_ref_effect/* default */.A)(node => {
|
||
|
if (!node) {
|
||
|
return;
|
||
|
} // It cannot be set using an HTML attribute.
|
||
|
|
||
|
|
||
|
node.indeterminate = !!indeterminate;
|
||
|
setShowCheckedIcon(node.matches(':checked'));
|
||
|
setShowIndeterminateIcon(node.matches(':indeterminate'));
|
||
|
}, [checked, indeterminate]);
|
||
|
const instanceId = (0,use_instance_id/* default */.A)(CheckboxControl);
|
||
|
const id = `inspector-checkbox-control-${instanceId}`;
|
||
|
|
||
|
const onChangeValue = event => onChange(event.target.checked);
|
||
|
|
||
|
return (0,react.createElement)(base_control/* default */.Ay, {
|
||
|
label: heading,
|
||
|
id: id,
|
||
|
help: help,
|
||
|
className: classnames_default()('components-checkbox-control', className)
|
||
|
}, (0,react.createElement)("span", {
|
||
|
className: "components-checkbox-control__input-container"
|
||
|
}, (0,react.createElement)("input", (0,esm_extends/* default */.A)({
|
||
|
ref: ref,
|
||
|
id: id,
|
||
|
className: "components-checkbox-control__input",
|
||
|
type: "checkbox",
|
||
|
value: "1",
|
||
|
onChange: onChangeValue,
|
||
|
checked: checked,
|
||
|
"aria-describedby": !!help ? id + '__help' : undefined
|
||
|
}, props)), showIndeterminateIcon ? (0,react.createElement)(icon/* default */.A, {
|
||
|
icon: library_reset,
|
||
|
className: "components-checkbox-control__indeterminate",
|
||
|
role: "presentation"
|
||
|
}) : null, showCheckedIcon ? (0,react.createElement)(icon/* default */.A, {
|
||
|
icon: check/* default */.A,
|
||
|
className: "components-checkbox-control__checked",
|
||
|
role: "presentation"
|
||
|
}) : null), (0,react.createElement)("label", {
|
||
|
className: "components-checkbox-control__label",
|
||
|
htmlFor: id
|
||
|
}, label));
|
||
|
}
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+components@19.8.5_@types+react@17.0.71_react-dom@17.0.2_react@17.0.2__react-with-d_oli5xz3n7pc4ztqokra47llglu/node_modules/@wordpress/components/build-module/text-control/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/extends.js");
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js");
|
||
|
/* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+components@19.8.5_@types+react@17.0.71_react-dom@17.0.2_react@17.0.2__react-with-d_oli5xz3n7pc4ztqokra47llglu/node_modules/@wordpress/components/build-module/base-control/index.js");
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Internal dependencies
|
||
|
*/
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @typedef OwnProps
|
||
|
* @property {string} label Label for the control.
|
||
|
* @property {boolean} [hideLabelFromVision] Whether to accessibly hide the label.
|
||
|
* @property {string} value Value of the input.
|
||
|
* @property {string} [help] Optional help text for the control.
|
||
|
* @property {string} [className] Classname passed to BaseControl wrapper
|
||
|
* @property {(value: string) => void} onChange Handle changes.
|
||
|
* @property {string} [type='text'] Type of the input.
|
||
|
*/
|
||
|
|
||
|
/** @typedef {OwnProps & import('react').ComponentProps<'input'>} Props */
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @param {Props} props Props
|
||
|
* @param {import('react').ForwardedRef<HTMLInputElement>} ref
|
||
|
*/
|
||
|
|
||
|
function TextControl(_ref, ref) {
|
||
|
let {
|
||
|
label,
|
||
|
hideLabelFromVision,
|
||
|
value,
|
||
|
help,
|
||
|
className,
|
||
|
onChange,
|
||
|
type = 'text',
|
||
|
...props
|
||
|
} = _ref;
|
||
|
const instanceId = (0,_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(TextControl);
|
||
|
const id = `inspector-text-control-${instanceId}`;
|
||
|
|
||
|
const onChangeValue = (
|
||
|
/** @type {import('react').ChangeEvent<HTMLInputElement>} */
|
||
|
event) => onChange(event.target.value);
|
||
|
|
||
|
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_base_control__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay, {
|
||
|
label: label,
|
||
|
hideLabelFromVision: hideLabelFromVision,
|
||
|
id: id,
|
||
|
help: help,
|
||
|
className: className
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)({
|
||
|
className: "components-text-control__input",
|
||
|
type: type,
|
||
|
id: id,
|
||
|
value: value,
|
||
|
onChange: onChangeValue,
|
||
|
"aria-describedby": !!help ? id + '__help' : undefined,
|
||
|
ref: ref
|
||
|
}, props)));
|
||
|
}
|
||
|
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(TextControl));
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+html-entities@3.6.1/node_modules/@wordpress/html-entities/build-module/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ S: () => (/* binding */ decodeEntities)
|
||
|
/* harmony export */ });
|
||
|
/** @type {HTMLTextAreaElement} */
|
||
|
let _decodeTextArea;
|
||
|
/**
|
||
|
* Decodes the HTML entities from a given string.
|
||
|
*
|
||
|
* @param {string} html String that contain HTML entities.
|
||
|
*
|
||
|
* @example
|
||
|
* ```js
|
||
|
* const result = decodeEntities( 'á' );
|
||
|
* console.log( result ); // result will be "á"
|
||
|
* ```
|
||
|
*
|
||
|
* @return {string} The decoded string.
|
||
|
*/
|
||
|
|
||
|
|
||
|
function decodeEntities(html) {
|
||
|
// Not a string, or no entities to decode.
|
||
|
if ('string' !== typeof html || -1 === html.indexOf('&')) {
|
||
|
return html;
|
||
|
} // Create a textarea for decoding entities, that we can reuse.
|
||
|
|
||
|
|
||
|
if (undefined === _decodeTextArea) {
|
||
|
if (document.implementation && document.implementation.createHTMLDocument) {
|
||
|
_decodeTextArea = document.implementation.createHTMLDocument('').createElement('textarea');
|
||
|
} else {
|
||
|
_decodeTextArea = document.createElement('textarea');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
_decodeTextArea.innerHTML = html;
|
||
|
const decoded = _decodeTextArea.textContent;
|
||
|
_decodeTextArea.innerHTML = '';
|
||
|
/**
|
||
|
* Cast to string, HTMLTextAreaElement should always have `string` textContent.
|
||
|
*
|
||
|
* > The `textContent` property of the `Node` interface represents the text content of the
|
||
|
* > node and its descendants.
|
||
|
* >
|
||
|
* > Value: A string or `null`
|
||
|
* >
|
||
|
* > * If the node is a `document` or a Doctype, `textContent` returns `null`.
|
||
|
* > * If the node is a CDATA section, comment, processing instruction, or text node,
|
||
|
* > textContent returns the text inside the node, i.e., the `Node.nodeValue`.
|
||
|
* > * For other node types, `textContent returns the concatenation of the textContent of
|
||
|
* > every child node, excluding comments and processing instructions. (This is an empty
|
||
|
* > string if the node has no children.)
|
||
|
*
|
||
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent
|
||
|
*/
|
||
|
|
||
|
return (
|
||
|
/** @type {string} */
|
||
|
decoded
|
||
|
);
|
||
|
}
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.2.3/node_modules/@wordpress/icons/build-module/library/chevron-down.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const chevronDown = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .SVG */ .t4, {
|
||
|
viewBox: "0 0 24 24",
|
||
|
xmlns: "http://www.w3.org/2000/svg"
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .Path */ .wA, {
|
||
|
d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
|
||
|
}));
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chevronDown);
|
||
|
//# sourceMappingURL=chevron-down.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.2.3/node_modules/@wordpress/icons/build-module/library/chevron-up.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const chevronUp = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .SVG */ .t4, {
|
||
|
viewBox: "0 0 24 24",
|
||
|
xmlns: "http://www.w3.org/2000/svg"
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .Path */ .wA, {
|
||
|
d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
|
||
|
}));
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chevronUp);
|
||
|
//# sourceMappingURL=chevron-up.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.2.3/node_modules/@wordpress/icons/build-module/library/plus.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const plus = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .SVG */ .t4, {
|
||
|
xmlns: "http://www.w3.org/2000/svg",
|
||
|
viewBox: "0 0 24 24"
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .Path */ .wA, {
|
||
|
d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
|
||
|
}));
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (plus);
|
||
|
//# sourceMappingURL=plus.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/icon/index.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
|
||
|
|
||
|
/**
|
||
|
* Return an SVG icon.
|
||
|
*
|
||
|
* @param {IconProps} props icon is the SVG component to render
|
||
|
* size is a number specifiying the icon size in pixels
|
||
|
* Other props will be passed to wrapped SVG component
|
||
|
*
|
||
|
* @return {JSX.Element} Icon component
|
||
|
*/
|
||
|
|
||
|
function Icon(_ref) {
|
||
|
let {
|
||
|
icon,
|
||
|
size = 24,
|
||
|
...props
|
||
|
} = _ref;
|
||
|
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(icon, {
|
||
|
width: size,
|
||
|
height: size,
|
||
|
...props
|
||
|
});
|
||
|
}
|
||
|
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
||
|
//# sourceMappingURL=index.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/@wordpress+icons@8.4.0/node_modules/@wordpress/icons/build-module/library/check.js":
|
||
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
||
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
||
|
/* harmony export */ });
|
||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
|
||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.45.0/node_modules/@wordpress/primitives/build-module/svg/index.js");
|
||
|
|
||
|
|
||
|
/**
|
||
|
* WordPress dependencies
|
||
|
*/
|
||
|
|
||
|
const check = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .SVG */ .t4, {
|
||
|
xmlns: "http://www.w3.org/2000/svg",
|
||
|
viewBox: "0 0 24 24"
|
||
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__/* .Path */ .wA, {
|
||
|
d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
|
||
|
}));
|
||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (check);
|
||
|
//# sourceMappingURL=check.js.map
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/advance-string-index.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var charAt = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/string-multibyte.js").charAt);
|
||
|
|
||
|
// `AdvanceStringIndex` abstract operation
|
||
|
// https://tc39.es/ecma262/#sec-advancestringindex
|
||
|
module.exports = function (S, index, unicode) {
|
||
|
return index + (unicode ? charAt(S, index).length : 1);
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-for-each.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $forEach = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").forEach);
|
||
|
var arrayMethodIsStrict = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-is-strict.js");
|
||
|
|
||
|
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
||
|
|
||
|
// `Array.prototype.forEach` method implementation
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
||
|
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
||
|
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
||
|
} : [].forEach;
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-from.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var bind = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-bind-context.js");
|
||
|
var call = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-call.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
var callWithSafeIterationClosing = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/call-with-safe-iteration-closing.js");
|
||
|
var isArrayIteratorMethod = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-array-iterator-method.js");
|
||
|
var isConstructor = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-constructor.js");
|
||
|
var lengthOfArrayLike = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/length-of-array-like.js");
|
||
|
var createProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-property.js");
|
||
|
var getIterator = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/get-iterator.js");
|
||
|
var getIteratorMethod = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/get-iterator-method.js");
|
||
|
|
||
|
var $Array = Array;
|
||
|
|
||
|
// `Array.from` method implementation
|
||
|
// https://tc39.es/ecma262/#sec-array.from
|
||
|
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
|
||
|
var O = toObject(arrayLike);
|
||
|
var IS_CONSTRUCTOR = isConstructor(this);
|
||
|
var argumentsLength = arguments.length;
|
||
|
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
|
||
|
var mapping = mapfn !== undefined;
|
||
|
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
|
||
|
var iteratorMethod = getIteratorMethod(O);
|
||
|
var index = 0;
|
||
|
var length, result, step, iterator, next, value;
|
||
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
||
|
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
||
|
iterator = getIterator(O, iteratorMethod);
|
||
|
next = iterator.next;
|
||
|
result = IS_CONSTRUCTOR ? new this() : [];
|
||
|
for (;!(step = call(next, iterator)).done; index++) {
|
||
|
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
|
||
|
createProperty(result, index, value);
|
||
|
}
|
||
|
} else {
|
||
|
length = lengthOfArrayLike(O);
|
||
|
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
||
|
for (;length > index; index++) {
|
||
|
value = mapping ? mapfn(O[index], index) : O[index];
|
||
|
createProperty(result, index, value);
|
||
|
}
|
||
|
}
|
||
|
result.length = index;
|
||
|
return result;
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var V8_VERSION = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/engine-v8-version.js");
|
||
|
|
||
|
var SPECIES = wellKnownSymbol('species');
|
||
|
|
||
|
module.exports = function (METHOD_NAME) {
|
||
|
// We can't use this feature detection in V8 since it causes
|
||
|
// deoptimization and serious performance degradation
|
||
|
// https://github.com/zloirock/core-js/issues/677
|
||
|
return V8_VERSION >= 51 || !fails(function () {
|
||
|
var array = [];
|
||
|
var constructor = array.constructor = {};
|
||
|
constructor[SPECIES] = function () {
|
||
|
return { foo: 1 };
|
||
|
};
|
||
|
return array[METHOD_NAME](Boolean).foo !== 1;
|
||
|
});
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-is-strict.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
|
||
|
module.exports = function (METHOD_NAME, argument) {
|
||
|
var method = [][METHOD_NAME];
|
||
|
return !!method && fails(function () {
|
||
|
// eslint-disable-next-line no-useless-call -- required for testing
|
||
|
method.call(null, argument || function () { return 1; }, 1);
|
||
|
});
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-reduce.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var aCallable = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/a-callable.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
var IndexedObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/indexed-object.js");
|
||
|
var lengthOfArrayLike = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/length-of-array-like.js");
|
||
|
|
||
|
var $TypeError = TypeError;
|
||
|
|
||
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
||
|
var createMethod = function (IS_RIGHT) {
|
||
|
return function (that, callbackfn, argumentsLength, memo) {
|
||
|
var O = toObject(that);
|
||
|
var self = IndexedObject(O);
|
||
|
var length = lengthOfArrayLike(O);
|
||
|
aCallable(callbackfn);
|
||
|
var index = IS_RIGHT ? length - 1 : 0;
|
||
|
var i = IS_RIGHT ? -1 : 1;
|
||
|
if (argumentsLength < 2) while (true) {
|
||
|
if (index in self) {
|
||
|
memo = self[index];
|
||
|
index += i;
|
||
|
break;
|
||
|
}
|
||
|
index += i;
|
||
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
||
|
throw new $TypeError('Reduce of empty array with no initial value');
|
||
|
}
|
||
|
}
|
||
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
||
|
memo = callbackfn(memo, self[index], index, O);
|
||
|
}
|
||
|
return memo;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
module.exports = {
|
||
|
// `Array.prototype.reduce` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
||
|
left: createMethod(false),
|
||
|
// `Array.prototype.reduceRight` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
||
|
right: createMethod(true)
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/call-with-safe-iteration-closing.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var anObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/an-object.js");
|
||
|
var iteratorClose = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/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/.pnpm/core-js@3.34.0/node_modules/core-js/internals/does-not-exceed-safe-integer.js":
|
||
|
/***/ ((module) => {
|
||
|
|
||
|
|
||
|
var $TypeError = TypeError;
|
||
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
||
|
|
||
|
module.exports = function (it) {
|
||
|
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
||
|
return it;
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
||
|
__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.regexp.exec.js");
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this-clause.js");
|
||
|
var defineBuiltIn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in.js");
|
||
|
var regexpExec = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-exec.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var createNonEnumerableProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
|
|
||
|
var SPECIES = wellKnownSymbol('species');
|
||
|
var RegExpPrototype = RegExp.prototype;
|
||
|
|
||
|
module.exports = function (KEY, exec, FORCED, SHAM) {
|
||
|
var SYMBOL = wellKnownSymbol(KEY);
|
||
|
|
||
|
var DELEGATES_TO_SYMBOL = !fails(function () {
|
||
|
// String methods call symbol-named RegEp methods
|
||
|
var O = {};
|
||
|
O[SYMBOL] = function () { return 7; };
|
||
|
return ''[KEY](O) !== 7;
|
||
|
});
|
||
|
|
||
|
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
||
|
// Symbol-named RegExp methods call .exec
|
||
|
var execCalled = false;
|
||
|
var re = /a/;
|
||
|
|
||
|
if (KEY === 'split') {
|
||
|
// We can't use real regex here since it causes deoptimization
|
||
|
// and serious performance degradation in V8
|
||
|
// https://github.com/zloirock/core-js/issues/306
|
||
|
re = {};
|
||
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
||
|
// a new one. We need to return the patched regex when creating the new one.
|
||
|
re.constructor = {};
|
||
|
re.constructor[SPECIES] = function () { return re; };
|
||
|
re.flags = '';
|
||
|
re[SYMBOL] = /./[SYMBOL];
|
||
|
}
|
||
|
|
||
|
re.exec = function () {
|
||
|
execCalled = true;
|
||
|
return null;
|
||
|
};
|
||
|
|
||
|
re[SYMBOL]('');
|
||
|
return !execCalled;
|
||
|
});
|
||
|
|
||
|
if (
|
||
|
!DELEGATES_TO_SYMBOL ||
|
||
|
!DELEGATES_TO_EXEC ||
|
||
|
FORCED
|
||
|
) {
|
||
|
var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
|
||
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
||
|
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
||
|
var $exec = regexp.exec;
|
||
|
if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
|
||
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
||
|
// The native String method already delegates to @@method (this
|
||
|
// polyfilled function), leasing to infinite recursion.
|
||
|
// We avoid it by directly calling the native @@method method.
|
||
|
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
|
||
|
}
|
||
|
return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
|
||
|
}
|
||
|
return { done: false };
|
||
|
});
|
||
|
|
||
|
defineBuiltIn(String.prototype, KEY, methods[0]);
|
||
|
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
||
|
}
|
||
|
|
||
|
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/get-substitution.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
|
||
|
var floor = Math.floor;
|
||
|
var charAt = uncurryThis(''.charAt);
|
||
|
var replace = uncurryThis(''.replace);
|
||
|
var stringSlice = uncurryThis(''.slice);
|
||
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
||
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
||
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
||
|
|
||
|
// `GetSubstitution` abstract operation
|
||
|
// https://tc39.es/ecma262/#sec-getsubstitution
|
||
|
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
||
|
var tailPos = position + matched.length;
|
||
|
var m = captures.length;
|
||
|
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
||
|
if (namedCaptures !== undefined) {
|
||
|
namedCaptures = toObject(namedCaptures);
|
||
|
symbols = SUBSTITUTION_SYMBOLS;
|
||
|
}
|
||
|
return replace(replacement, symbols, function (match, ch) {
|
||
|
var capture;
|
||
|
switch (charAt(ch, 0)) {
|
||
|
case '$': return '$';
|
||
|
case '&': return matched;
|
||
|
case '`': return stringSlice(str, 0, position);
|
||
|
case "'": return stringSlice(str, tailPos);
|
||
|
case '<':
|
||
|
capture = namedCaptures[stringSlice(ch, 1, -1)];
|
||
|
break;
|
||
|
default: // \d\d?
|
||
|
var n = +ch;
|
||
|
if (n === 0) return match;
|
||
|
if (n > m) {
|
||
|
var f = floor(n / 10);
|
||
|
if (f === 0) return match;
|
||
|
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
||
|
return match;
|
||
|
}
|
||
|
capture = captures[n - 1];
|
||
|
}
|
||
|
return capture === undefined ? '' : capture;
|
||
|
});
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/inherit-if-required.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var isCallable = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-callable.js");
|
||
|
var isObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-object.js");
|
||
|
var setPrototypeOf = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-set-prototype-of.js");
|
||
|
|
||
|
// makes subclassing work correct for wrapped built-ins
|
||
|
module.exports = function ($this, dummy, Wrapper) {
|
||
|
var NewTarget, NewTargetPrototype;
|
||
|
if (
|
||
|
// it can work only with native `setPrototypeOf`
|
||
|
setPrototypeOf &&
|
||
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
||
|
isCallable(NewTarget = dummy.constructor) &&
|
||
|
NewTarget !== Wrapper &&
|
||
|
isObject(NewTargetPrototype = NewTarget.prototype) &&
|
||
|
NewTargetPrototype !== Wrapper.prototype
|
||
|
) setPrototypeOf($this, NewTargetPrototype);
|
||
|
return $this;
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-regexp.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var isObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-object.js");
|
||
|
var classof = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/classof-raw.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
|
||
|
var MATCH = wellKnownSymbol('match');
|
||
|
|
||
|
// `IsRegExp` abstract operation
|
||
|
// https://tc39.es/ecma262/#sec-isregexp
|
||
|
module.exports = function (it) {
|
||
|
var isRegExp;
|
||
|
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/proxy-accessor.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var defineProperty = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-define-property.js").f);
|
||
|
|
||
|
module.exports = function (Target, Source, key) {
|
||
|
key in Target || defineProperty(Target, key, {
|
||
|
configurable: true,
|
||
|
get: function () { return Source[key]; },
|
||
|
set: function (it) { Source[key] = it; }
|
||
|
});
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-exec-abstract.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var call = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-call.js");
|
||
|
var anObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/an-object.js");
|
||
|
var isCallable = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-callable.js");
|
||
|
var classof = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/classof-raw.js");
|
||
|
var regexpExec = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-exec.js");
|
||
|
|
||
|
var $TypeError = TypeError;
|
||
|
|
||
|
// `RegExpExec` abstract operation
|
||
|
// https://tc39.es/ecma262/#sec-regexpexec
|
||
|
module.exports = function (R, S) {
|
||
|
var exec = R.exec;
|
||
|
if (isCallable(exec)) {
|
||
|
var result = call(exec, R, S);
|
||
|
if (result !== null) anObject(result);
|
||
|
return result;
|
||
|
}
|
||
|
if (classof(R) === 'RegExp') return call(regexpExec, R, S);
|
||
|
throw new $TypeError('RegExp#exec called on incompatible receiver');
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-get-flags.js":
|
||
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var call = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-call.js");
|
||
|
var hasOwn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/has-own-property.js");
|
||
|
var isPrototypeOf = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-is-prototype-of.js");
|
||
|
var regExpFlags = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-flags.js");
|
||
|
|
||
|
var RegExpPrototype = RegExp.prototype;
|
||
|
|
||
|
module.exports = function (R) {
|
||
|
var flags = R.flags;
|
||
|
return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)
|
||
|
? call(regExpFlags, R) : flags;
|
||
|
};
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.concat.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var isArray = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-array.js");
|
||
|
var isObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-object.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
var lengthOfArrayLike = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/length-of-array-like.js");
|
||
|
var doesNotExceedSafeInteger = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/does-not-exceed-safe-integer.js");
|
||
|
var createProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-property.js");
|
||
|
var arraySpeciesCreate = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-species-create.js");
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var V8_VERSION = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/engine-v8-version.js");
|
||
|
|
||
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
||
|
|
||
|
// We can't use this feature detection in V8 since it causes
|
||
|
// deoptimization and serious performance degradation
|
||
|
// https://github.com/zloirock/core-js/issues/679
|
||
|
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
||
|
var array = [];
|
||
|
array[IS_CONCAT_SPREADABLE] = false;
|
||
|
return array.concat()[0] !== array;
|
||
|
});
|
||
|
|
||
|
var isConcatSpreadable = function (O) {
|
||
|
if (!isObject(O)) return false;
|
||
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
||
|
return spreadable !== undefined ? !!spreadable : isArray(O);
|
||
|
};
|
||
|
|
||
|
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
|
||
|
|
||
|
// `Array.prototype.concat` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
||
|
// with adding support of @@isConcatSpreadable and @@species
|
||
|
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
||
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
||
|
concat: function concat(arg) {
|
||
|
var O = toObject(this);
|
||
|
var A = arraySpeciesCreate(O, 0);
|
||
|
var n = 0;
|
||
|
var i, k, length, len, E;
|
||
|
for (i = -1, length = arguments.length; i < length; i++) {
|
||
|
E = i === -1 ? O : arguments[i];
|
||
|
if (isConcatSpreadable(E)) {
|
||
|
len = lengthOfArrayLike(E);
|
||
|
doesNotExceedSafeInteger(n + len);
|
||
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
||
|
} else {
|
||
|
doesNotExceedSafeInteger(n + 1);
|
||
|
createProperty(A, n++, E);
|
||
|
}
|
||
|
}
|
||
|
A.length = n;
|
||
|
return A;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.filter.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var $filter = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").filter);
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
|
||
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
||
|
|
||
|
// `Array.prototype.filter` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
||
|
// with adding support of @@species
|
||
|
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
||
|
filter: function filter(callbackfn /* , thisArg */) {
|
||
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.for-each.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var forEach = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-for-each.js");
|
||
|
|
||
|
// `Array.prototype.forEach` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
||
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
||
|
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
|
||
|
forEach: forEach
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.from.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var from = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-from.js");
|
||
|
var checkCorrectnessOfIteration = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/check-correctness-of-iteration.js");
|
||
|
|
||
|
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
|
||
|
// eslint-disable-next-line es/no-array-from -- required for testing
|
||
|
Array.from(iterable);
|
||
|
});
|
||
|
|
||
|
// `Array.from` method
|
||
|
// https://tc39.es/ecma262/#sec-array.from
|
||
|
$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
||
|
from: from
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.is-array.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var isArray = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-array.js");
|
||
|
|
||
|
// `Array.isArray` method
|
||
|
// https://tc39.es/ecma262/#sec-array.isarray
|
||
|
$({ target: 'Array', stat: true }, {
|
||
|
isArray: isArray
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.map.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var $map = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").map);
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
|
||
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
||
|
|
||
|
// `Array.prototype.map` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
||
|
// with adding support of @@species
|
||
|
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
||
|
map: function map(callbackfn /* , thisArg */) {
|
||
|
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.reduce.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var $reduce = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-reduce.js").left);
|
||
|
var arrayMethodIsStrict = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-is-strict.js");
|
||
|
var CHROME_VERSION = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/engine-v8-version.js");
|
||
|
var IS_NODE = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/engine-is-node.js");
|
||
|
|
||
|
// Chrome 80-82 has a critical bug
|
||
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
||
|
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
||
|
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
|
||
|
|
||
|
// `Array.prototype.reduce` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
||
|
$({ target: 'Array', proto: true, forced: FORCED }, {
|
||
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
||
|
var length = arguments.length;
|
||
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.slice.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var isArray = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-array.js");
|
||
|
var isConstructor = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-constructor.js");
|
||
|
var isObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-object.js");
|
||
|
var toAbsoluteIndex = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-absolute-index.js");
|
||
|
var lengthOfArrayLike = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/length-of-array-like.js");
|
||
|
var toIndexedObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-indexed-object.js");
|
||
|
var createProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-property.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var arrayMethodHasSpeciesSupport = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-has-species-support.js");
|
||
|
var nativeSlice = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-slice.js");
|
||
|
|
||
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
|
||
|
|
||
|
var SPECIES = wellKnownSymbol('species');
|
||
|
var $Array = Array;
|
||
|
var max = Math.max;
|
||
|
|
||
|
// `Array.prototype.slice` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.slice
|
||
|
// fallback for not array-like ES3 strings and DOM objects
|
||
|
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
||
|
slice: function slice(start, end) {
|
||
|
var O = toIndexedObject(this);
|
||
|
var length = lengthOfArrayLike(O);
|
||
|
var k = toAbsoluteIndex(start, length);
|
||
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
||
|
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
|
||
|
var Constructor, result, n;
|
||
|
if (isArray(O)) {
|
||
|
Constructor = O.constructor;
|
||
|
// cross-realm fallback
|
||
|
if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {
|
||
|
Constructor = undefined;
|
||
|
} else if (isObject(Constructor)) {
|
||
|
Constructor = Constructor[SPECIES];
|
||
|
if (Constructor === null) Constructor = undefined;
|
||
|
}
|
||
|
if (Constructor === $Array || Constructor === undefined) {
|
||
|
return nativeSlice(O, k, fin);
|
||
|
}
|
||
|
}
|
||
|
result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
|
||
|
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
|
||
|
result.length = n;
|
||
|
return result;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.some.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var $some = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-iteration.js").some);
|
||
|
var arrayMethodIsStrict = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-method-is-strict.js");
|
||
|
|
||
|
var STRICT_METHOD = arrayMethodIsStrict('some');
|
||
|
|
||
|
// `Array.prototype.some` method
|
||
|
// https://tc39.es/ecma262/#sec-array.prototype.some
|
||
|
$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {
|
||
|
some: function some(callbackfn /* , thisArg */) {
|
||
|
return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.date.to-string.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
// TODO: Remove from `core-js@4`
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var defineBuiltIn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in.js");
|
||
|
|
||
|
var DatePrototype = Date.prototype;
|
||
|
var INVALID_DATE = 'Invalid Date';
|
||
|
var TO_STRING = 'toString';
|
||
|
var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);
|
||
|
var thisTimeValue = uncurryThis(DatePrototype.getTime);
|
||
|
|
||
|
// `Date.prototype.toString` method
|
||
|
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
||
|
if (String(new Date(NaN)) !== INVALID_DATE) {
|
||
|
defineBuiltIn(DatePrototype, TO_STRING, function toString() {
|
||
|
var value = thisTimeValue(this);
|
||
|
// eslint-disable-next-line no-self-compare -- NaN check
|
||
|
return value === value ? nativeDateToString(this) : INVALID_DATE;
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.function.name.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var FUNCTION_NAME_EXISTS = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-name.js").EXISTS);
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var defineBuiltInAccessor = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in-accessor.js");
|
||
|
|
||
|
var FunctionPrototype = Function.prototype;
|
||
|
var functionToString = uncurryThis(FunctionPrototype.toString);
|
||
|
var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
|
||
|
var regExpExec = uncurryThis(nameRE.exec);
|
||
|
var NAME = 'name';
|
||
|
|
||
|
// Function instances `.name` property
|
||
|
// https://tc39.es/ecma262/#sec-function-instances-name
|
||
|
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
||
|
defineBuiltInAccessor(FunctionPrototype, NAME, {
|
||
|
configurable: true,
|
||
|
get: function () {
|
||
|
try {
|
||
|
return regExpExec(nameRE, functionToString(this))[1];
|
||
|
} catch (error) {
|
||
|
return '';
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.define-properties.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var defineProperties = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-define-properties.js").f);
|
||
|
|
||
|
// `Object.defineProperties` method
|
||
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
||
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
||
|
$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {
|
||
|
defineProperties: defineProperties
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.define-property.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var defineProperty = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-define-property.js").f);
|
||
|
|
||
|
// `Object.defineProperty` method
|
||
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
||
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
||
|
$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {
|
||
|
defineProperty: defineProperty
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.get-own-property-descriptor.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var toIndexedObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-indexed-object.js");
|
||
|
var nativeGetOwnPropertyDescriptor = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
|
||
|
var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });
|
||
|
|
||
|
// `Object.getOwnPropertyDescriptor` method
|
||
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
||
|
$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
|
||
|
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
|
||
|
return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.get-own-property-descriptors.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var ownKeys = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/own-keys.js");
|
||
|
var toIndexedObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-indexed-object.js");
|
||
|
var getOwnPropertyDescriptorModule = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
||
|
var createProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-property.js");
|
||
|
|
||
|
// `Object.getOwnPropertyDescriptors` method
|
||
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
||
|
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
|
||
|
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
|
||
|
var O = toIndexedObject(object);
|
||
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
||
|
var keys = ownKeys(O);
|
||
|
var result = {};
|
||
|
var index = 0;
|
||
|
var key, descriptor;
|
||
|
while (keys.length > index) {
|
||
|
descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
|
||
|
if (descriptor !== undefined) createProperty(result, key, descriptor);
|
||
|
}
|
||
|
return result;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.keys.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var toObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-object.js");
|
||
|
var nativeKeys = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-keys.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
|
||
|
var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
|
||
|
|
||
|
// `Object.keys` method
|
||
|
// https://tc39.es/ecma262/#sec-object.keys
|
||
|
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
||
|
keys: function keys(it) {
|
||
|
return nativeKeys(toObject(it));
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.regexp.constructor.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var global = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/global.js");
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var isForced = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-forced.js");
|
||
|
var inheritIfRequired = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/inherit-if-required.js");
|
||
|
var createNonEnumerableProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
|
var create = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-create.js");
|
||
|
var getOwnPropertyNames = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-get-own-property-names.js").f);
|
||
|
var isPrototypeOf = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-is-prototype-of.js");
|
||
|
var isRegExp = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-regexp.js");
|
||
|
var toString = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-string.js");
|
||
|
var getRegExpFlags = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-get-flags.js");
|
||
|
var stickyHelpers = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-sticky-helpers.js");
|
||
|
var proxyAccessor = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/proxy-accessor.js");
|
||
|
var defineBuiltIn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var hasOwn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/has-own-property.js");
|
||
|
var enforceInternalState = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/internal-state.js").enforce);
|
||
|
var setSpecies = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/set-species.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
var UNSUPPORTED_DOT_ALL = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-unsupported-dot-all.js");
|
||
|
var UNSUPPORTED_NCG = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-unsupported-ncg.js");
|
||
|
|
||
|
var MATCH = wellKnownSymbol('match');
|
||
|
var NativeRegExp = global.RegExp;
|
||
|
var RegExpPrototype = NativeRegExp.prototype;
|
||
|
var SyntaxError = global.SyntaxError;
|
||
|
var exec = uncurryThis(RegExpPrototype.exec);
|
||
|
var charAt = uncurryThis(''.charAt);
|
||
|
var replace = uncurryThis(''.replace);
|
||
|
var stringIndexOf = uncurryThis(''.indexOf);
|
||
|
var stringSlice = uncurryThis(''.slice);
|
||
|
// TODO: Use only proper RegExpIdentifierName
|
||
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
||
|
var re1 = /a/g;
|
||
|
var re2 = /a/g;
|
||
|
|
||
|
// "new" should create a new object, old webkit bug
|
||
|
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
||
|
|
||
|
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
||
|
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
||
|
|
||
|
var BASE_FORCED = DESCRIPTORS &&
|
||
|
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
||
|
re2[MATCH] = false;
|
||
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
||
|
return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
|
||
|
}));
|
||
|
|
||
|
var handleDotAll = function (string) {
|
||
|
var length = string.length;
|
||
|
var index = 0;
|
||
|
var result = '';
|
||
|
var brackets = false;
|
||
|
var chr;
|
||
|
for (; index <= length; index++) {
|
||
|
chr = charAt(string, index);
|
||
|
if (chr === '\\') {
|
||
|
result += chr + charAt(string, ++index);
|
||
|
continue;
|
||
|
}
|
||
|
if (!brackets && chr === '.') {
|
||
|
result += '[\\s\\S]';
|
||
|
} else {
|
||
|
if (chr === '[') {
|
||
|
brackets = true;
|
||
|
} else if (chr === ']') {
|
||
|
brackets = false;
|
||
|
} result += chr;
|
||
|
}
|
||
|
} return result;
|
||
|
};
|
||
|
|
||
|
var handleNCG = function (string) {
|
||
|
var length = string.length;
|
||
|
var index = 0;
|
||
|
var result = '';
|
||
|
var named = [];
|
||
|
var names = create(null);
|
||
|
var brackets = false;
|
||
|
var ncg = false;
|
||
|
var groupid = 0;
|
||
|
var groupname = '';
|
||
|
var chr;
|
||
|
for (; index <= length; index++) {
|
||
|
chr = charAt(string, index);
|
||
|
if (chr === '\\') {
|
||
|
chr += charAt(string, ++index);
|
||
|
} else if (chr === ']') {
|
||
|
brackets = false;
|
||
|
} else if (!brackets) switch (true) {
|
||
|
case chr === '[':
|
||
|
brackets = true;
|
||
|
break;
|
||
|
case chr === '(':
|
||
|
if (exec(IS_NCG, stringSlice(string, index + 1))) {
|
||
|
index += 2;
|
||
|
ncg = true;
|
||
|
}
|
||
|
result += chr;
|
||
|
groupid++;
|
||
|
continue;
|
||
|
case chr === '>' && ncg:
|
||
|
if (groupname === '' || hasOwn(names, groupname)) {
|
||
|
throw new SyntaxError('Invalid capture group name');
|
||
|
}
|
||
|
names[groupname] = true;
|
||
|
named[named.length] = [groupname, groupid];
|
||
|
ncg = false;
|
||
|
groupname = '';
|
||
|
continue;
|
||
|
}
|
||
|
if (ncg) groupname += chr;
|
||
|
else result += chr;
|
||
|
} return [result, named];
|
||
|
};
|
||
|
|
||
|
// `RegExp` constructor
|
||
|
// https://tc39.es/ecma262/#sec-regexp-constructor
|
||
|
if (isForced('RegExp', BASE_FORCED)) {
|
||
|
var RegExpWrapper = function RegExp(pattern, flags) {
|
||
|
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
|
||
|
var patternIsRegExp = isRegExp(pattern);
|
||
|
var flagsAreUndefined = flags === undefined;
|
||
|
var groups = [];
|
||
|
var rawPattern = pattern;
|
||
|
var rawFlags, dotAll, sticky, handled, result, state;
|
||
|
|
||
|
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
|
||
|
return pattern;
|
||
|
}
|
||
|
|
||
|
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
|
||
|
pattern = pattern.source;
|
||
|
if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
|
||
|
}
|
||
|
|
||
|
pattern = pattern === undefined ? '' : toString(pattern);
|
||
|
flags = flags === undefined ? '' : toString(flags);
|
||
|
rawPattern = pattern;
|
||
|
|
||
|
if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
|
||
|
dotAll = !!flags && stringIndexOf(flags, 's') > -1;
|
||
|
if (dotAll) flags = replace(flags, /s/g, '');
|
||
|
}
|
||
|
|
||
|
rawFlags = flags;
|
||
|
|
||
|
if (MISSED_STICKY && 'sticky' in re1) {
|
||
|
sticky = !!flags && stringIndexOf(flags, 'y') > -1;
|
||
|
if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
|
||
|
}
|
||
|
|
||
|
if (UNSUPPORTED_NCG) {
|
||
|
handled = handleNCG(pattern);
|
||
|
pattern = handled[0];
|
||
|
groups = handled[1];
|
||
|
}
|
||
|
|
||
|
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
|
||
|
|
||
|
if (dotAll || sticky || groups.length) {
|
||
|
state = enforceInternalState(result);
|
||
|
if (dotAll) {
|
||
|
state.dotAll = true;
|
||
|
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
|
||
|
}
|
||
|
if (sticky) state.sticky = true;
|
||
|
if (groups.length) state.groups = groups;
|
||
|
}
|
||
|
|
||
|
if (pattern !== rawPattern) try {
|
||
|
// fails in old engines, but we have no alternatives for unsupported regex syntax
|
||
|
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
||
|
} catch (error) { /* empty */ }
|
||
|
|
||
|
return result;
|
||
|
};
|
||
|
|
||
|
for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
|
||
|
proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
|
||
|
}
|
||
|
|
||
|
RegExpPrototype.constructor = RegExpWrapper;
|
||
|
RegExpWrapper.prototype = RegExpPrototype;
|
||
|
defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true });
|
||
|
}
|
||
|
|
||
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
||
|
setSpecies('RegExp');
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.regexp.to-string.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var PROPER_FUNCTION_NAME = (__webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-name.js").PROPER);
|
||
|
var defineBuiltIn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in.js");
|
||
|
var anObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/an-object.js");
|
||
|
var $toString = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-string.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var getRegExpFlags = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-get-flags.js");
|
||
|
|
||
|
var TO_STRING = 'toString';
|
||
|
var RegExpPrototype = RegExp.prototype;
|
||
|
var nativeToString = RegExpPrototype[TO_STRING];
|
||
|
|
||
|
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
||
|
// FF44- RegExp#toString has a wrong name
|
||
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
||
|
|
||
|
// `RegExp.prototype.toString` method
|
||
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
||
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
||
|
defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
|
||
|
var R = anObject(this);
|
||
|
var pattern = $toString(R.source);
|
||
|
var flags = $toString(getRegExpFlags(R));
|
||
|
return '/' + pattern + '/' + flags;
|
||
|
}, { unsafe: true });
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.string.replace.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var apply = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-apply.js");
|
||
|
var call = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-call.js");
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var fixRegExpWellKnownSymbolLogic = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js");
|
||
|
var fails = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/fails.js");
|
||
|
var anObject = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/an-object.js");
|
||
|
var isCallable = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-callable.js");
|
||
|
var isNullOrUndefined = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-null-or-undefined.js");
|
||
|
var toIntegerOrInfinity = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-integer-or-infinity.js");
|
||
|
var toLength = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-length.js");
|
||
|
var toString = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-string.js");
|
||
|
var requireObjectCoercible = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/require-object-coercible.js");
|
||
|
var advanceStringIndex = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/advance-string-index.js");
|
||
|
var getMethod = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/get-method.js");
|
||
|
var getSubstitution = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/get-substitution.js");
|
||
|
var regExpExec = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/regexp-exec-abstract.js");
|
||
|
var wellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol.js");
|
||
|
|
||
|
var REPLACE = wellKnownSymbol('replace');
|
||
|
var max = Math.max;
|
||
|
var min = Math.min;
|
||
|
var concat = uncurryThis([].concat);
|
||
|
var push = uncurryThis([].push);
|
||
|
var stringIndexOf = uncurryThis(''.indexOf);
|
||
|
var stringSlice = uncurryThis(''.slice);
|
||
|
|
||
|
var maybeToString = function (it) {
|
||
|
return it === undefined ? it : String(it);
|
||
|
};
|
||
|
|
||
|
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
||
|
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
||
|
var REPLACE_KEEPS_$0 = (function () {
|
||
|
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
||
|
return 'a'.replace(/./, '$0') === '$0';
|
||
|
})();
|
||
|
|
||
|
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
||
|
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
||
|
if (/./[REPLACE]) {
|
||
|
return /./[REPLACE]('a', '$0') === '';
|
||
|
}
|
||
|
return false;
|
||
|
})();
|
||
|
|
||
|
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
||
|
var re = /./;
|
||
|
re.exec = function () {
|
||
|
var result = [];
|
||
|
result.groups = { a: '7' };
|
||
|
return result;
|
||
|
};
|
||
|
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
||
|
return ''.replace(re, '$<a>') !== '7';
|
||
|
});
|
||
|
|
||
|
// @@replace logic
|
||
|
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
||
|
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
||
|
|
||
|
return [
|
||
|
// `String.prototype.replace` method
|
||
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
||
|
function replace(searchValue, replaceValue) {
|
||
|
var O = requireObjectCoercible(this);
|
||
|
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
|
||
|
return replacer
|
||
|
? call(replacer, searchValue, O, replaceValue)
|
||
|
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
||
|
},
|
||
|
// `RegExp.prototype[@@replace]` method
|
||
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
||
|
function (string, replaceValue) {
|
||
|
var rx = anObject(this);
|
||
|
var S = toString(string);
|
||
|
|
||
|
if (
|
||
|
typeof replaceValue == 'string' &&
|
||
|
stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
|
||
|
stringIndexOf(replaceValue, '$<') === -1
|
||
|
) {
|
||
|
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
||
|
if (res.done) return res.value;
|
||
|
}
|
||
|
|
||
|
var functionalReplace = isCallable(replaceValue);
|
||
|
if (!functionalReplace) replaceValue = toString(replaceValue);
|
||
|
|
||
|
var global = rx.global;
|
||
|
var fullUnicode;
|
||
|
if (global) {
|
||
|
fullUnicode = rx.unicode;
|
||
|
rx.lastIndex = 0;
|
||
|
}
|
||
|
|
||
|
var results = [];
|
||
|
var result;
|
||
|
while (true) {
|
||
|
result = regExpExec(rx, S);
|
||
|
if (result === null) break;
|
||
|
|
||
|
push(results, result);
|
||
|
if (!global) break;
|
||
|
|
||
|
var matchStr = toString(result[0]);
|
||
|
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
||
|
}
|
||
|
|
||
|
var accumulatedResult = '';
|
||
|
var nextSourcePosition = 0;
|
||
|
for (var i = 0; i < results.length; i++) {
|
||
|
result = results[i];
|
||
|
|
||
|
var matched = toString(result[0]);
|
||
|
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
||
|
var captures = [];
|
||
|
var replacement;
|
||
|
// NOTE: This is equivalent to
|
||
|
// captures = result.slice(1).map(maybeToString)
|
||
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
||
|
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
||
|
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
||
|
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
|
||
|
var namedCaptures = result.groups;
|
||
|
if (functionalReplace) {
|
||
|
var replacerArgs = concat([matched], captures, position, S);
|
||
|
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
||
|
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
||
|
} else {
|
||
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
||
|
}
|
||
|
if (position >= nextSourcePosition) {
|
||
|
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
||
|
nextSourcePosition = position + matched.length;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
||
|
}
|
||
|
];
|
||
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.symbol.description.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
// `Symbol.prototype.description` getter
|
||
|
// https://tc39.es/ecma262/#sec-symbol.prototype.description
|
||
|
|
||
|
var $ = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/export.js");
|
||
|
var DESCRIPTORS = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/descriptors.js");
|
||
|
var global = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/global.js");
|
||
|
var uncurryThis = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/function-uncurry-this.js");
|
||
|
var hasOwn = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/has-own-property.js");
|
||
|
var isCallable = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/is-callable.js");
|
||
|
var isPrototypeOf = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/object-is-prototype-of.js");
|
||
|
var toString = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/to-string.js");
|
||
|
var defineBuiltInAccessor = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/define-built-in-accessor.js");
|
||
|
var copyConstructorProperties = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/copy-constructor-properties.js");
|
||
|
|
||
|
var NativeSymbol = global.Symbol;
|
||
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
||
|
|
||
|
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
||
|
// Safari 12 bug
|
||
|
NativeSymbol().description !== undefined
|
||
|
)) {
|
||
|
var EmptyStringDescriptionStore = {};
|
||
|
// wrap Symbol constructor for correct work with undefined description
|
||
|
var SymbolWrapper = function Symbol() {
|
||
|
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
||
|
var result = isPrototypeOf(SymbolPrototype, this)
|
||
|
? new NativeSymbol(description)
|
||
|
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
||
|
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
||
|
if (description === '') EmptyStringDescriptionStore[result] = true;
|
||
|
return result;
|
||
|
};
|
||
|
|
||
|
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
||
|
SymbolWrapper.prototype = SymbolPrototype;
|
||
|
SymbolPrototype.constructor = SymbolWrapper;
|
||
|
|
||
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
||
|
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
||
|
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
||
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
||
|
var replace = uncurryThis(''.replace);
|
||
|
var stringSlice = uncurryThis(''.slice);
|
||
|
|
||
|
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
||
|
configurable: true,
|
||
|
get: function description() {
|
||
|
var symbol = thisSymbolValue(this);
|
||
|
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
||
|
var string = symbolDescriptiveString(symbol);
|
||
|
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
||
|
return desc === '' ? undefined : desc;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
$({ global: true, constructor: true, forced: true }, {
|
||
|
Symbol: SymbolWrapper
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.symbol.iterator.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var defineWellKnownSymbol = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/well-known-symbol-define.js");
|
||
|
|
||
|
// `Symbol.iterator` well-known symbol
|
||
|
// https://tc39.es/ecma262/#sec-symbol.iterator
|
||
|
defineWellKnownSymbol('iterator');
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.dom-collections.for-each.js":
|
||
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||
|
|
||
|
|
||
|
var global = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/global.js");
|
||
|
var DOMIterables = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/dom-iterables.js");
|
||
|
var DOMTokenListPrototype = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/dom-token-list-prototype.js");
|
||
|
var forEach = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/array-for-each.js");
|
||
|
var createNonEnumerableProperty = __webpack_require__("../../node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/internals/create-non-enumerable-property.js");
|
||
|
|
||
|
var handlePrototype = function (CollectionPrototype) {
|
||
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
||
|
if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
|
||
|
createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
|
||
|
} catch (error) {
|
||
|
CollectionPrototype.forEach = forEach;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
for (var COLLECTION_NAME in DOMIterables) {
|
||
|
if (DOMIterables[COLLECTION_NAME]) {
|
||
|
handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
handlePrototype(DOMTokenListPrototype);
|
||
|
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
}]);
|