UNPKG

@turbox3d/shared

Version:

turbox shared internal utility

257 lines (192 loc) 94.7 kB
/* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("THREE")); else if(typeof define === 'function' && define.amd) define(["THREE"], factory); else if(typeof exports === 'object') exports["@turbox3d/shared"] = factory(require("THREE")); else root["Shared"] = factory(root["THREE"]); })(self, (__WEBPACK_EXTERNAL_MODULE_three__) => { return /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js": /*!******************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***! \******************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _arrayLikeToArray)\n/* harmony export */ });\nfunction _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js": /*!****************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***! \****************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _arrayWithHoles)\n/* harmony export */ });\nfunction _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js": /*!*******************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***! \*******************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _arrayWithoutHoles)\n/* harmony export */ });\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r);\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js": /*!******************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***! \******************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _asyncToGenerator)\n/* harmony export */ });\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) {\n try {\n var i = n[a](c),\n u = i.value;\n } catch (n) {\n return void e(n);\n }\n i.done ? t(u) : Promise.resolve(u).then(r, o);\n}\nfunction _asyncToGenerator(n) {\n return function () {\n var t = this,\n e = arguments;\n return new Promise(function (r, o) {\n var a = n.apply(t, e);\n function _next(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n);\n }\n function _throw(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n);\n }\n _next(void 0);\n });\n };\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js": /*!****************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! \****************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _classCallCheck)\n/* harmony export */ });\nfunction _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/createClass.js": /*!*************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/createClass.js ***! \*************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _createClass)\n/* harmony export */ });\n/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js\");\n\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/createClass.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js": /*!*****************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! \*****************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _iterableToArray)\n/* harmony export */ });\nfunction _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js": /*!**********************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***! \**********************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _iterableToArrayLimit)\n/* harmony export */ });\nfunction _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js": /*!*****************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***! \*****************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _nonIterableRest)\n/* harmony export */ });\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js": /*!*******************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***! \*******************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _nonIterableSpread)\n/* harmony export */ });\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/slicedToArray.js": /*!***************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***! \***************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _slicedToArray)\n/* harmony export */ });\n/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js\");\n/* harmony import */ var _iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArrayLimit.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js\");\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\");\n/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js\");\n\n\n\n\nfunction _slicedToArray(r, e) {\n return (0,_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r) || (0,_iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(r, e) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(r, e) || (0,_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/slicedToArray.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js": /*!*******************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***! \*******************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _toConsumableArray)\n/* harmony export */ });\n/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js\");\n/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js\");\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\");\n/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js\");\n\n\n\n\nfunction _toConsumableArray(r) {\n return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(r) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(r) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js": /*!*************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***! \*************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ toPrimitive)\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js\");\n\nfunction toPrimitive(t, r) {\n if (\"object\" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js": /*!***************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***! \***************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ toPropertyKey)\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js\");\n\n\nfunction toPropertyKey(t) {\n var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(t, \"string\");\n return \"symbol\" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(i) ? i : i + \"\";\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js": /*!********************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js ***! \********************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _typeof)\n/* harmony export */ });\nfunction _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js": /*!****************************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***! \****************************************************************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _unsupportedIterableToArray)\n/* harmony export */ });\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r, a) : void 0;\n }\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/regeneratorRuntime.js": /*!****************************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! \****************************************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var _typeof = (__webpack_require__(/*! ./typeof.js */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/typeof.js\")[\"default\"]);\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return r;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var t,\n r = {},\n e = Object.prototype,\n n = e.hasOwnProperty,\n o = \"function\" == typeof Symbol ? Symbol : {},\n i = o.iterator || \"@@iterator\",\n a = o.asyncIterator || \"@@asyncIterator\",\n u = o.toStringTag || \"@@toStringTag\";\n function c(t, r, e, n) {\n return Object.defineProperty(t, r, {\n value: e,\n enumerable: !n,\n configurable: !n,\n writable: !n\n });\n }\n try {\n c({}, \"\");\n } catch (t) {\n c = function c(t, r, e) {\n return t[r] = e;\n };\n }\n function h(r, e, n, o) {\n var i = e && e.prototype instanceof Generator ? e : Generator,\n a = Object.create(i.prototype);\n return c(a, \"_invoke\", function (r, e, n) {\n var o = 1;\n return function (i, a) {\n if (3 === o) throw Error(\"Generator is already running\");\n if (4 === o) {\n if (\"throw\" === i) throw a;\n return {\n value: t,\n done: !0\n };\n }\n for (n.method = i, n.arg = a;;) {\n var u = n.delegate;\n if (u) {\n var c = d(u, n);\n if (c) {\n if (c === f) continue;\n return c;\n }\n }\n if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) {\n if (1 === o) throw o = 4, n.arg;\n n.dispatchException(n.arg);\n } else \"return\" === n.method && n.abrupt(\"return\", n.arg);\n o = 3;\n var h = s(r, e, n);\n if (\"normal\" === h.type) {\n if (o = n.done ? 4 : 2, h.arg === f) continue;\n return {\n value: h.arg,\n done: n.done\n };\n }\n \"throw\" === h.type && (o = 4, n.method = \"throw\", n.arg = h.arg);\n }\n };\n }(r, n, new Context(o || [])), !0), a;\n }\n function s(t, r, e) {\n try {\n return {\n type: \"normal\",\n arg: t.call(r, e)\n };\n } catch (t) {\n return {\n type: \"throw\",\n arg: t\n };\n }\n }\n r.wrap = h;\n var f = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var l = {};\n c(l, i, function () {\n return this;\n });\n var p = Object.getPrototypeOf,\n y = p && p(p(x([])));\n y && y !== e && n.call(y, i) && (l = y);\n var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);\n function g(t) {\n [\"next\", \"throw\", \"return\"].forEach(function (r) {\n c(t, r, function (t) {\n return this._invoke(r, t);\n });\n });\n }\n function AsyncIterator(t, r) {\n function e(o, i, a, u) {\n var c = s(t[o], t, i);\n if (\"throw\" !== c.type) {\n var h = c.arg,\n f = h.value;\n return f && \"object\" == _typeof(f) && n.call(f, \"__await\") ? r.resolve(f.__await).then(function (t) {\n e(\"next\", t, a, u);\n }, function (t) {\n e(\"throw\", t, a, u);\n }) : r.resolve(f).then(function (t) {\n h.value = t, a(h);\n }, function (t) {\n return e(\"throw\", t, a, u);\n });\n }\n u(c.arg);\n }\n var o;\n c(this, \"_invoke\", function (t, n) {\n function i() {\n return new r(function (r, o) {\n e(t, n, r, o);\n });\n }\n return o = o ? o.then(i, i) : i();\n }, !0);\n }\n function d(r, e) {\n var n = e.method,\n o = r.i[n];\n if (o === t) return e.delegate = null, \"throw\" === n && r.i[\"return\"] && (e.method = \"return\", e.arg = t, d(r, e), \"throw\" === e.method) || \"return\" !== n && (e.method = \"throw\", e.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), f;\n var i = s(o, r.i, e.arg);\n if (\"throw\" === i.type) return e.method = \"throw\", e.arg = i.arg, e.delegate = null, f;\n var a = i.arg;\n return a ? a.done ? (e[r.r] = a.value, e.next = r.n, \"return\" !== e.method && (e.method = \"next\", e.arg = t), e.delegate = null, f) : a : (e.method = \"throw\", e.arg = new TypeError(\"iterator result is not an object\"), e.delegate = null, f);\n }\n function w(t) {\n this.tryEntries.push(t);\n }\n function m(r) {\n var e = r[4] || {};\n e.type = \"normal\", e.arg = t, r[4] = e;\n }\n function Context(t) {\n this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0);\n }\n function x(r) {\n if (null != r) {\n var e = r[i];\n if (e) return e.call(r);\n if (\"function\" == typeof r.next) return r;\n if (!isNaN(r.length)) {\n var o = -1,\n a = function e() {\n for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e;\n return e.value = t, e.done = !0, e;\n };\n return a.next = a;\n }\n }\n throw new TypeError(_typeof(r) + \" is not iterable\");\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, \"constructor\", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), r.isGeneratorFunction = function (t) {\n var r = \"function\" == typeof t && t.constructor;\n return !!r && (r === GeneratorFunction || \"GeneratorFunction\" === (r.displayName || r.name));\n }, r.mark = function (t) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, \"GeneratorFunction\")), t.prototype = Object.create(v), t;\n }, r.awrap = function (t) {\n return {\n __await: t\n };\n }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () {\n return this;\n }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) {\n void 0 === i && (i = Promise);\n var a = new AsyncIterator(h(t, e, n, o), i);\n return r.isGeneratorFunction(e) ? a : a.next().then(function (t) {\n return t.done ? t.value : a.next();\n });\n }, g(v), c(v, u, \"Generator\"), c(v, i, function () {\n return this;\n }), c(v, \"toString\", function () {\n return \"[object Generator]\";\n }), r.keys = function (t) {\n var r = Object(t),\n e = [];\n for (var n in r) e.unshift(n);\n return function t() {\n for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t;\n return t.done = !0, t;\n };\n }, r.values = x, Context.prototype = {\n constructor: Context,\n reset: function reset(r) {\n if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) \"t\" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t);\n },\n stop: function stop() {\n this.done = !0;\n var t = this.tryEntries[0][4];\n if (\"throw\" === t.type) throw t.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(r) {\n if (this.done) throw r;\n var e = this;\n function n(t) {\n a.type = \"throw\", a.arg = r, e.next = t;\n }\n for (var o = e.tryEntries.length - 1; o >= 0; --o) {\n var i = this.tryEntries[o],\n a = i[4],\n u = this.prev,\n c = i[1],\n h = i[2];\n if (-1 === i[0]) return n(\"end\"), !1;\n if (!c && !h) throw Error(\"try statement without catch or finally\");\n if (null != i[0] && i[0] <= u) {\n if (u < c) return this.method = \"next\", this.arg = t, n(c), !0;\n if (u < h) return n(h), !1;\n }\n }\n },\n abrupt: function abrupt(t, r) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var n = this.tryEntries[e];\n if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) {\n var o = n;\n break;\n }\n }\n o && (\"break\" === t || \"continue\" === t) && o[0] <= r && r <= o[2] && (o = null);\n var i = o ? o[4] : {};\n return i.type = t, i.arg = r, o ? (this.method = \"next\", this.next = o[2], f) : this.complete(i);\n },\n complete: function complete(t, r) {\n if (\"throw\" === t.type) throw t.arg;\n return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && r && (this.next = r), f;\n },\n finish: function finish(t) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var e = this.tryEntries[r];\n if (e[2] === t) return this.complete(e[4], e[3]), m(e), f;\n }\n },\n \"catch\": function _catch(t) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var e = this.tryEntries[r];\n if (e[0] === t) {\n var n = e[4];\n if (\"throw\" === n.type) {\n var o = n.arg;\n m(e);\n }\n return o;\n }\n }\n throw Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(r, e, n) {\n return this.delegate = {\n i: x(r),\n r: e,\n n: n\n }, \"next\" === this.method && (this.arg = t), f;\n }\n }, r;\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/regeneratorRuntime.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/typeof.js": /*!****************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/typeof.js ***! \****************************************************************************************************/ /***/ ((module) => { eval("function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/typeof.js?"); /***/ }), /***/ "../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/regenerator/index.js": /*!*******************************************************************************************************!*\ !*** ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/regenerator/index.js ***! \*******************************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("// TODO(Babel 8): Remove this file.\n\nvar runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/regeneratorRuntime.js\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n\n\n//# sourceURL=webpack://Shared/../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/regenerator/index.js?"); /***/ }), /***/ "./es/common.js": /*!**********************!*\ !*** ./es/common.js ***! \**********************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ batchRemove: () => (/* binding */ batchRemove),\n/* harmony export */ batchRemoveFromSet: () => (/* binding */ batchRemoveFromSet),\n/* harmony export */ bind: () => (/* binding */ bind),\n/* harmony export */ convert2UniqueString: () => (/* binding */ convert2UniqueString),\n/* harmony export */ deduplicate: () => (/* binding */ deduplicate),\n/* harmony export */ dummy: () => (/* binding */ dummy),\n/* harmony export */ getContextEnv: () => (/* binding */ getContextEnv),\n/* harmony export */ getContextParam: () => (/* binding */ getContextParam),\n/* harmony export */ hasOwn: () => (/* binding */ hasOwn),\n/* harmony export */ includes: () => (/* binding */ includes),\n/* harmony export */ is: () => (/* binding */ is),\n/* harmony export */ isObject: () => (/* binding */ isObject),\n/* harmony export */ isPlainObject: () => (/* binding */ isPlainObject),\n/* harmony export */ isPrimitive: () => (/* binding */ isPrimitive),\n/* harmony export */ isPromise: () => (/* binding */ isPromise),\n/* harmony export */ loadJSON: () => (/* binding */ loadJSON),\n/* harmony export */ nextTick: () => (/* binding */ nextTick),\n/* harmony export */ remove: () => (/* binding */ remove),\n/* harmony export */ shallowEqual: () => (/* binding */ shallowEqual),\n/* harmony export */ sortBy: () => (/* binding */ sortBy),\n/* harmony export */ updateQueryStringParameter: () => (/* binding */ updateQueryStringParameter)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ \"../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lang */ \"./es/lang.js\");\n/* harmony import */ var _uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./uuid */ \"./es/uuid.js\");\n\n\n\nfunction isObject(value) {\n return value !== null && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(value) === 'object';\n}\nfunction isPromise(value) {\n return value && typeof value.then === 'function';\n}\n// {}\nfunction isPlainObject(value) {\n if (value === null || (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(value) !== 'object') return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\n/**\n * 对数组从小到大排序\n */\nfunction sortBy(arr, func) {\n var length = arr.length;\n for (var i = 0; i < length; i++) {\n for (var j = i + 1; j < length; j++) {\n var itemI = arr[i];\n var itemJ = arr[j];\n var indicatorI = func ? func(itemI) : itemI;\n var indicatorJ = func ? func(itemJ) : itemJ;\n if (indicatorJ < indicatorI) {\n arr[i] = itemJ;\n arr[j] = itemI;\n }\n }\n }\n return arr;\n}\nfunction includes(array, item) {\n return array.indexOf(item) > -1;\n}\nfunction remove(array, item) {\n var index = array.indexOf(item);\n if (index > -1) {\n array.splice(index, 1);\n }\n}\nfunction batchRemove(array, items) {\n items.forEach(function (item) {\n var index = array.indexOf(item);\n if (index > -1) {\n array.splice(index, 1);\n }\n });\n}\nfunction batchRemoveFromSet(set, items) {\n items.forEach(function (item) {\n set[\"delete\"](item);\n });\n}\n// boolean, string, number, undefined, null\nfunction isPrimitive(value) {\n return value === null || (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(value) !== 'object' && typeof value !== 'function';\n}\nfunction convert2UniqueString(key) {\n if (!(0,_lang__WEBPACK_IMPORTED_MODULE_1__.isSymbol)(key)) {\n return key.toString();\n }\n return key.toString() + (0,_uuid__WEBPACK_IMPORTED_MODULE_2__.generateUUID)();\n}\nvar deduplicate = function deduplicate(array) {\n return Array.from(new Set(array));\n};\nvar promise = Promise.resolve();\n/**\n * nextTick would flush promise micro task\n */\nfunction nextTick(fn) {\n return fn ? promise.then(fn) : promise;\n}\nvar hasOwn = function hasOwn(val, key) {\n return Object.prototype.hasOwnProperty.call(val, key);\n};\n// From: https://github.com/facebook/fbjs/blob/c69904a511b900266935168223063dd8772dfc40/packages/fbjs/src/core/shallowEqual.js\nfunction is(x, y) {\n if (x === y) {\n return x !== 0 || 1 / x === 1 / y;\n }\n // eslint-disable-next-line no-self-compare\n return x !== x && y !== y;\n}\nfunction bind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n // eslint-disable-next-line no-nested-ternary\n return l ? l > 1\n // eslint-disable-next-line prefer-rest-params\n ? fn.apply(ctx, arguments) : fn.call(ctx, a) : fn.call(ctx);\n }\n return boundFn;\n}\n// From: https://github.com/facebook/fbjs/blob/c69904a511b900266935168223063dd8772dfc40/packages/fbjs/src/core/shallowEqual.js\nfunction shallowEqual(objA, objB) {\n var ignoreKeys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n if (is(objA, objB)) return true;\n if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(objA) !== 'object' || objA === null || (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(objB) !== 'object' || objB === null) {\n return false;\n }\n var keysA = [];\n var keysB = [];\n if (ignoreKeys && ignoreKeys.length > 0) {\n var ignoreSet = new Set(ignoreKeys);\n keysA = Object.keys(objA).filter(function (key) {\n return !ignoreSet.has(key);\n });\n keysB = Object.keys(objB).filter(function (key) {\n return !ignoreSet.has(key);\n });\n } else {\n keysA = Object.keys(objA);\n keysB = Object.keys(objB);\n }\n if (keysA.length !== keysB.length) return false;\n for (var i = 0; i < keysA.length; i++) {\n if (!objB.hasOwnProperty(keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n return true;\n}\nvar dummy = function dummy() {\n //\n};\nfunction loadJSON(url) {\n return new Promise(function (resolve) {\n var xhr = new XMLHttpRequest();\n xhr.overrideMimeType('application/json');\n xhr.open('GET', url, true);\n xhr.onreadystatechange = function () {\n if (xhr.readyState === 4 && xhr.status === 200) {\n resolve(JSON.parse(xhr.responseText || '{}'));\n }\n };\n xhr.send(null);\n });\n}\nfunction updateQueryStringParameter(url, key, value) {\n if (!value) {\n return url;\n }\n var re = new RegExp(\"([?&])\".concat(key, \"=.*?(&|$)\"), 'i');\n var separator = url.indexOf('?') !== -1 ? '&' : '?';\n if (url.match(re)) {\n return url.replace(re, \"$1\".concat(key, \"=\").concat(value, \"$2\"));\n }\n return \"\".concat(url).concat(separator).concat(key, \"=\").concat(value);\n}\nfunction getContextEnv() {\n return typeof window !== 'undefined' ? 'browser' : 'vm';\n}\nfunction getContextParam(key) {\n var value;\n var env = getContextEnv();\n if (env === 'browser') {\n value = window[key];\n }\n if (env === 'vm') {\n value = __webpack_require__.g[key];\n }\n return value;\n}\n\n//# sourceURL=webpack://Shared/./es/common.js?"); /***/ }), /***/ "./es/compose.js": /*!***********************!*\ !*** ./es/compose.js ***! \***********************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compose: () => (/* binding */ compose)\n/* harmony export */ });\n/**\n * from redux compose\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n if (funcs.length === 1) {\n return funcs[0];\n }\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n//# sourceURL=webpack://Shared/./es/compose.js?"); /***/ }), /***/ "./es/debounce.js": /*!************************!*\ !*** ./es/debounce.js ***! \************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ debounce: () => (/* binding */ debounce)\n/* harmony export */ });\nvar now = Date.now;\nfunction debounce(func) {\n var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n var lastArgs;\n var lastThis;\n var maxWait;\n var result;\n var timerId;\n var lastCallTime;\n var lastInvokeTime = 0;\n var leading = false;\n var maxing = false;\n var trailing = true;\n if (typeof func !== 'function') {\n throw new TypeError('Expected a function');\n }\n function invokeFunc(time) {\n var args = lastArgs;\n var thisArg = lastThis;\n // eslint-disable-next-line no-multi-assign\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime;\n var timeSinceLastInvoke = time - lastInvokeTime;\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime;\n var timeSinceLastInvoke = time - lastInvokeTime;\n var timeWaiting = wait - timeSinceLastCall;\n return maxing ? Math.min(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n }\n function trailingEdge(time) {\n timerId = undefined;\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n // eslint-disable-next-line no-multi-assign\n lastArgs = lastThis = undefined;\n return result;\n }\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n // eslint-disable-next-line no-multi-assign\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n function debounced() {\n var time = now();\n var isInvoking = shouldInvoke(time);\n // eslint-disable-next-line prefer-rest-params\n lastArgs = arguments;\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n lastThis = this;\n lastCallTime = time;\n if (is